2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
703 TOPLEVEL_CONFIGURE_ARGUMENTS
731 program_transform_name
742 ac_subst_files
='serialization_dependencies
748 enable_option_checking
753 enable_libquadmath_support
757 enable_static_libjava
779 enable_isl_version_check
782 enable_cloog_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
789 with_debug_prefix_map
792 enable_serial_configure
793 with_build_time_tools
794 enable_maintainer_mode
795 enable_stage1_checking
799 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1135 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1140 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1141 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1145 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1146 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site |
--site |
--sit)
1152 -site=* |
--site=* |
--sit=*)
1155 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1157 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1161 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1164 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1168 ac_prev
=target_alias
;;
1169 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1175 -version |
--version |
--versio |
--versi |
--vers |
-V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* |
--without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1215 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1218 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1222 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1225 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information."
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1237 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1299 If a cross compiler is detected then cross compile mode will be used." >&2
1300 elif test "x$build_alias" != "x$host_alias"; then
1306 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1308 test "$silent" = yes && exec 6>/dev
/null
1311 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1312 ac_ls_di
=`ls -di .` &&
1313 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1314 as_fn_error
"working directory cannot be determined"
1315 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1316 as_fn_error
"pwd does not report name of working directory"
1319 # Find the source files, if location was not specified.
1320 if test -z "$srcdir"; then
1321 ac_srcdir_defaulted
=yes
1322 # Try the directory containing this script, then the parent directory.
1323 ac_confdir
=`$as_dirname -- "$as_myself" ||
1324 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1325 X"$as_myself" : 'X\(//\)[^/]' \| \
1326 X"$as_myself" : 'X\(//\)$' \| \
1327 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1328 $as_echo X"$as_myself" |
1329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1351 ac_srcdir_defaulted
=no
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1354 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1355 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1357 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1361 # When building in place, set srcdir=.
1362 if test "$ac_abs_confdir" = "$ac_pwd"; then
1365 # Remove unnecessary trailing slashes from srcdir.
1366 # Double slashes in file names in object file debugging info
1367 # mess up M-x gdb in Emacs.
1369 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373 as_fn_error
"path to source, $srcdir, contains spaces"
1376 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures this package to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1457 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1461 if test -n "$ac_init_help"; then
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1470 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1471 --disable-libquadmath do not build libquadmath directory
1472 --disable-libquadmath-support
1473 disable libquadmath support
for Fortran
1474 --enable-libada build libada directory
1475 --enable-libssp build libssp directory
1476 --disable-libstdcxx do not build libstdc
++-v3 directory
1477 --enable-static-libjava[=ARG
]
1478 build static libjava
[default
=no
]
1479 --enable-bootstrap enable bootstrapping
[yes if native build
]
1480 --disable-isl-version-check
1481 disable check
for ISL version
1482 --disable-cloog-version-check
1483 disable check
for CLooG version
1484 --enable-lto enable link
time optimization support
1485 --enable-linker-plugin-configure-flags=FLAGS
1486 additional flags
for configuring linker plugins
1488 --enable-linker-plugin-flags=FLAGS
1489 additional flags
for configuring and building linker
1491 --enable-stage1-languages[=all
]
1492 choose additional languages to build during stage1.
1493 Mostly useful
for compiler development
1494 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1496 --enable-vtable-verify Enable vtable verification feature
1497 --enable-serial-[{host,target,build}-]configure
1498 force sequential configuration of sub-packages for
1499 the host, target or build machine, or all
1501 --enable-maintainer-mode
1502 enable make rules and dependencies not useful (and
1503 sometimes confusing) to the casual installer
1504 --enable-stage1-checking[=all]
1505 choose additional checking for stage1 of the
1507 --enable-werror enable -Werror in bootstrap stage2 and later
1508 --enable-host-shared build host code as shared libraries
1511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513 --with-build-libsubdir=DIR Directory where to find libraries for build system
1514 --with-mpc=PATH specify prefix directory for installed MPC package.
1515 Equivalent to --with-mpc-include=PATH/include plus
1516 --with-mpc-lib=PATH/lib
1517 --with-mpc-include=PATH specify directory for installed MPC include files
1518 --with-mpc-lib=PATH specify directory for the installed MPC library
1519 --with-mpfr-dir=PATH this option has been REMOVED
1520 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1521 Equivalent to --with-mpfr-include=PATH/include plus
1522 --with-mpfr-lib=PATH/lib
1523 --with-mpfr-include=PATH
1524 specify directory for installed MPFR include files
1525 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1526 --with-gmp-dir=PATH this option has been REMOVED
1527 --with-gmp=PATH specify prefix directory for the installed GMP
1528 package. Equivalent to
1529 --with-gmp-include=PATH/include plus
1530 --with-gmp-lib=PATH/lib
1531 --with-gmp-include=PATH specify directory for installed GMP include files
1532 --with-gmp-lib=PATH specify directory for the installed GMP library
1533 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1535 --with-stage1-libs=LIBS libraries for stage1
1536 --with-stage1-ldflags=FLAGS
1537 linker flags for stage1
1538 --with-boot-libs=LIBS libraries for stage2 and later
1539 --with-boot-ldflags=FLAGS
1540 linker flags for stage2 and later
1541 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1542 package. Equivalent to
1543 --with-cloog-include=PATH/include plus
1544 --with-cloog-lib=PATH/lib
1545 --with-isl=PATH Specify prefix directory for the installed ISL
1546 package. Equivalent to
1547 --with-isl-include=PATH/include plus
1548 --with-isl-lib=PATH/lib
1549 --with-isl-include=PATH Specify directory for installed ISL include files
1550 --with-isl-lib=PATH Specify the directory for the installed ISL library
1551 --with-cloog-include=PATH
1552 Specify directory for installed CLooG include files
1553 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1575 additional configure arguments for build directories
1577 additional configure arguments for host directories
1579 additional configure arguments for target directories
1582 DLLTOOL DLLTOOL for the host
1584 LIPO LIPO for the host
1586 RANLIB RANLIB for the host
1587 STRIP STRIP for the host
1588 WINDRES WINDRES for the host
1589 WINDMC WINDMC for the host
1590 OBJCOPY OBJCOPY for the host
1591 OBJDUMP OBJDUMP for the host
1592 READELF READELF for the host
1602 GFORTRAN for the target
1610 DLLTOOL for the target
1618 OBJDUMP for the target
1620 RANLIB for the target
1622 READELF for the target
1624 STRIP for the target
1626 WINDRES for the target
1628 WINDMC for the target
1630 Use these variables to override the choices made by `configure' or to
help
1631 it to
find libraries and programs with nonstandard names
/locations.
1633 Report bugs to the package provider.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1647 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1649 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1654 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir
=$ac_pwd
1658 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir
=$ac_top_build_prefix
1663 .
) # We are building in place.
1665 ac_top_srcdir
=$ac_top_builddir_sub
1666 ac_abs_top_srcdir
=$ac_pwd ;;
1667 [\\/]* | ?
:[\\/]* ) # Absolute name.
1668 ac_srcdir
=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir
=$srcdir
1670 ac_abs_top_srcdir
=$srcdir ;;
1672 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1697 generated by GNU Autoconf
2.64
1699 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1700 This configure
script is free software
; the Free Software Foundation
1701 gives unlimited permission to copy
, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile
()
1715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1716 rm -f conftest.
$ac_objext
1717 if { { ac_try
="$ac_compile"
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 } # ac_fn_c_try_compile
1748 # ac_fn_cxx_try_compile LINENO
1749 # ----------------------------
1750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_cxx_try_compile ()
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 rm -f conftest.$ac_objext
1755 if { { ac_try="$ac_compile"
1757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1758 *) ac_try_echo
=$ac_try;;
1760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_compile") 2>conftest.err
1764 if test -s conftest.err
; then
1765 grep -v '^ *+' conftest.err
>conftest.er1
1766 cat conftest.er1
>&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_cxx_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest.
$ac_objext; then :
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.
$ac_ext >&5
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1784 } # ac_fn_cxx_try_compile
1786 # ac_fn_cxx_try_link LINENO
1787 # -------------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_cxx_try_link
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 rm -f conftest.
$ac_objext conftest
$ac_exeext
1793 if { { ac_try
="$ac_link"
1795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_cxx_try_link
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest
$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 $as_test_x conftest
$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.
$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1876 } # ac_fn_c_try_link
1878 # ac_fn_c_try_run LINENO
1879 # ----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1881 # that executables *can* be run.
1884 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1885 if { { ac_try
="$ac_link"
1887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1888 *) ac_try_echo=$ac_try;;
1890 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_link") 2>&5
1894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1895 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1896 { { case "(($ac_try" in
1897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1898 *) ac_try_echo
=$ac_try;;
1900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_try") 2>&5
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; }; }; then :
1908 $as_echo "$as_me: program exited with status $ac_status" >&5
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.
$ac_ext >&5
1912 ac_retval
=$ac_status
1914 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1915 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1919 cat >config.log
<<_ACEOF
1920 This file contains any messages produced by compilers while
1921 running configure, to aid debugging if configure makes a mistake.
1923 It was created by $as_me, which was
1924 generated by GNU Autoconf 2.64. Invocation command line was
1936 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1937 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1938 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1939 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1940 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1942 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1943 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1945 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1946 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1947 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1948 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1949 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1950 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1951 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1959 test -z "$as_dir" && as_dir
=.
1960 $as_echo "PATH: $as_dir"
1976 # Keep a trace of the command line.
1977 # Strip out --no-create and --no-recursion so they do not pile up.
1978 # Strip out --silent because we don't want to record it for future runs.
1979 # Also quote any args containing shell meta-characters.
1980 # Make two passes to allow for proper duplicate-argument suppression.
1984 ac_must_keep_next
=false
1990 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1991 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1992 |
-silent |
--silent |
--silen |
--sile |
--sil)
1995 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1998 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2000 as_fn_append ac_configure_args1
" '$ac_arg'"
2001 if test $ac_must_keep_next = true
; then
2002 ac_must_keep_next
=false
# Got value, back to normal.
2005 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2006 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2007 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2008 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2009 case "$ac_configure_args0 " in
2010 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2013 -* ) ac_must_keep_next
=true
;;
2016 as_fn_append ac_configure_args
" '$ac_arg'"
2021 { ac_configure_args0
=; unset ac_configure_args0
;}
2022 { ac_configure_args1
=; unset ac_configure_args1
;}
2024 # When interrupted or exit'd, cleanup temporary files, and complete
2025 # config.log. We remove comments because anyway the quotes in there
2026 # would cause problems or look ugly.
2027 # WARNING: Use '\'' to represent an apostrophe within the trap.
2028 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2029 trap 'exit_status=$?
2030 # Save into config.log some information that might help in debugging.
2035 ## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##
2040 # The following way of writing the cache mishandles newlines in values,
2042 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2043 eval ac_val=\$$ac_var
2047 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2048 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2051 _ | IFS | as_nl) ;; #(
2052 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2053 *) { eval $ac_var=; unset $ac_var;} ;;
2058 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2059 *${as_nl}ac_space=\ *)
2061 "s/'\''/'\''\\\\'\'''\''/g;
2062 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2065 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2073 ## ----------------- ##
2074 ## Output variables. ##
2075 ## ----------------- ##
2078 for ac_var in $ac_subst_vars
2080 eval ac_val=\$$ac_var
2082 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2084 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -n "$ac_subst_files"; then
2090 ## ------------------- ##
2091 ## File substitutions. ##
2092 ## ------------------- ##
2095 for ac_var
in $ac_subst_files
2097 eval ac_val
=\$
$ac_var
2099 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2101 $as_echo "$ac_var='\''$ac_val'\''"
2106 if test -s confdefs.h; then
2116 test "$ac_signal" != 0 &&
2117 $as_echo "$as_me: caught signal $ac_signal"
2118 $as_echo "$as_me: exit $exit_status"
2120 rm -f core *.core core.conftest.* &&
2121 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2124 for ac_signal
in 1 2 13 15; do
2125 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2129 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2130 rm -f -r conftest
* confdefs.h
2132 $as_echo "/* confdefs.h */" > confdefs.h
2134 # Predefined preprocessor variables.
2136 cat >>confdefs.h
<<_ACEOF
2137 #define PACKAGE_NAME "$PACKAGE_NAME"
2140 cat >>confdefs.h
<<_ACEOF
2141 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2144 cat >>confdefs.h
<<_ACEOF
2145 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2148 cat >>confdefs.h
<<_ACEOF
2149 #define PACKAGE_STRING "$PACKAGE_STRING"
2152 cat >>confdefs.h
<<_ACEOF
2153 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2156 cat >>confdefs.h
<<_ACEOF
2157 #define PACKAGE_URL "$PACKAGE_URL"
2161 # Let the site file select an alternate cache file if it wants to.
2162 # Prefer an explicitly selected file to automatically selected ones.
2165 if test -n "$CONFIG_SITE"; then
2166 ac_site_file1
=$CONFIG_SITE
2167 elif test "x$prefix" != xNONE
; then
2168 ac_site_file1
=$prefix/share
/config.site
2169 ac_site_file2
=$prefix/etc
/config.site
2171 ac_site_file1
=$ac_default_prefix/share
/config.site
2172 ac_site_file2
=$ac_default_prefix/etc
/config.site
2174 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2176 test "x$ac_site_file" = xNONE
&& continue
2177 if test -r "$ac_site_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2179 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2180 sed 's/^/| /' "$ac_site_file" >&5
2185 if test -r "$cache_file"; then
2186 # Some versions of bash will fail to source /dev/null (special
2187 # files actually), so we avoid doing that.
2188 if test -f "$cache_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2193 *) .
"./$cache_file";;
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202 # Check that the precious variables saved in the cache have kept the same
2204 ac_cache_corrupted
=false
2205 for ac_var
in $ac_precious_vars; do
2206 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2207 eval ac_new_set
=\
$ac_env_${ac_var}_set
2208 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2209 eval ac_new_val
=\
$ac_env_${ac_var}_value
2210 case $ac_old_set,$ac_new_set in
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214 ac_cache_corrupted
=: ;;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218 ac_cache_corrupted
=: ;;
2221 if test "x$ac_old_val" != "x$ac_new_val"; then
2222 # differences in whitespace do not lead to failure.
2223 ac_old_val_w
=`echo x $ac_old_val`
2224 ac_new_val_w
=`echo x $ac_new_val`
2225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228 ac_cache_corrupted
=:
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232 eval $ac_var=\
$ac_old_val
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg
=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2264 ac_cpp
='$CPP $CPPFLAGS'
2265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2278 # if PWD already has a value, it is probably wrong.
2279 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2281 # Export original configure arguments for use by sub-configures.
2282 # Quote arguments with shell meta charatcers.
2283 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2284 set -- "$progname" "$@"
2288 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2289 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2290 # if the argument is of the form -foo=baz, quote the baz part only
2291 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2294 # Add the quoted argument to the list.
2295 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2297 if test "$silent" = yes; then
2298 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2300 # Remove the initial space we just introduced and, as these will be
2301 # expanded by make, quote '$'.
2302 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2305 # Find the build, host, and target systems.
2307 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2308 for ac_t
in install-sh
install.sh shtool
; do
2309 if test -f "$ac_dir/$ac_t"; then
2311 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2316 if test -z "$ac_aux_dir"; then
2317 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2320 # These three variables are undocumented and unsupported,
2321 # and are intended to be withdrawn in a future Autoconf release.
2322 # They can cause serious problems if a builder's source tree is in a directory
2323 # whose full name contains unusual characters.
2324 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2325 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2326 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2329 # Make sure we can run config.sub.
2330 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2331 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2334 $as_echo_n "checking build system type... " >&6; }
2335 if test "${ac_cv_build+set}" = set; then :
2336 $as_echo_n "(cached) " >&6
2338 ac_build_alias
=$build_alias
2339 test "x$ac_build_alias" = x
&&
2340 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2341 test "x$ac_build_alias" = x
&&
2342 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2343 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2344 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2348 $as_echo "$ac_cv_build" >&6; }
2349 case $ac_cv_build in
2351 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2354 ac_save_IFS
=$IFS; IFS
='-'
2360 # Remember, the first character of IFS is used to create $*,
2361 # except with old shells:
2364 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2367 case ${build_alias} in
2368 "") build_noncanonical
=${build} ;;
2369 *) build_noncanonical
=${build_alias} ;;
2374 case ${host_alias} in
2375 "") host_noncanonical
=${build_noncanonical} ;;
2376 *) host_noncanonical
=${host_alias} ;;
2381 case ${target_alias} in
2382 "") target_noncanonical
=${host_noncanonical} ;;
2383 *) target_noncanonical
=${target_alias} ;;
2389 test "$host_noncanonical" = "$target_noncanonical" &&
2390 test "$program_prefix$program_suffix$program_transform_name" = \
2392 program_transform_name
=s
,y
,y
,
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2395 $as_echo_n "checking host system type... " >&6; }
2396 if test "${ac_cv_host+set}" = set; then :
2397 $as_echo_n "(cached) " >&6
2399 if test "x$host_alias" = x
; then
2400 ac_cv_host
=$ac_cv_build
2402 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2403 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2408 $as_echo "$ac_cv_host" >&6; }
2411 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2414 ac_save_IFS
=$IFS; IFS
='-'
2420 # Remember, the first character of IFS is used to create $*,
2421 # except with old shells:
2424 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2428 $as_echo_n "checking target system type... " >&6; }
2429 if test "${ac_cv_target+set}" = set; then :
2430 $as_echo_n "(cached) " >&6
2432 if test "x$target_alias" = x
; then
2433 ac_cv_target
=$ac_cv_host
2435 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2436 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2441 $as_echo "$ac_cv_target" >&6; }
2442 case $ac_cv_target in
2444 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2446 target
=$ac_cv_target
2447 ac_save_IFS
=$IFS; IFS
='-'
2453 # Remember, the first character of IFS is used to create $*,
2454 # except with old shells:
2457 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2460 # The aliases save the names the user supplied, while $host etc.
2461 # will get canonicalized.
2462 test -n "$target_alias" &&
2463 test "$program_prefix$program_suffix$program_transform_name" = \
2465 program_prefix
=${target_alias}-
2467 test "$program_prefix" != NONE
&&
2468 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2469 # Use a double $ so make ignores it.
2470 test "$program_suffix" != NONE
&&
2471 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2472 # Double any \ or $.
2473 # By default was `s,x,x', remove it if useless.
2474 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2475 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2479 # Get 'install' or 'install-sh' and its variants.
2480 # Find a good install program. We prefer a C program (faster),
2481 # so one script is as good as another. But avoid the broken or
2482 # incompatible versions:
2483 # SysV /etc/install, /usr/sbin/install
2484 # SunOS /usr/etc/install
2485 # IRIX /sbin/install
2487 # AmigaOS /C/install, which installs bootblocks on floppy discs
2488 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2489 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2490 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2491 # OS/2's system install, which has a completely different semantic
2492 # ./install, which can be erroneously created by make from ./install.sh.
2493 # Reject install programs that cannot install multiple files.
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2495 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2496 if test -z "$INSTALL"; then
2497 if test "${ac_cv_path_install+set}" = set; then :
2498 $as_echo_n "(cached) " >&6
2500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir
=.
2505 # Account for people who put trailing slashes in PATH elements.
2506 case $as_dir/ in #((
2507 .
/ | .
// |
/[cC
]/* | \
2508 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2509 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2512 # OSF1 and SCO ODT 3.0 have their own names for install.
2513 # Don't use installbsd from OSF since it installs stuff as root
2515 for ac_prog
in ginstall scoinst
install; do
2516 for ac_exec_ext
in '' $ac_executable_extensions; do
2517 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2518 if test $ac_prog = install &&
2519 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2520 # AIX install. It has an incompatible calling convention.
2522 elif test $ac_prog = install &&
2523 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2524 # program-specific install script used by HP pwplus--don't use.
2527 rm -rf conftest.one conftest.two conftest.dir
2528 echo one
> conftest.one
2529 echo two
> conftest.two
2531 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2532 test -s conftest.one
&& test -s conftest.two
&&
2533 test -s conftest.dir
/conftest.one
&&
2534 test -s conftest.dir
/conftest.two
2536 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2549 rm -rf conftest.one conftest.two conftest.dir
2552 if test "${ac_cv_path_install+set}" = set; then
2553 INSTALL
=$ac_cv_path_install
2555 # As a last resort, use the slow shell script. Don't cache a
2556 # value for INSTALL within a source directory, because that will
2557 # break other packages using the cache if that directory is
2558 # removed, or if the value is a relative name.
2559 INSTALL
=$ac_install_sh
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2563 $as_echo "$INSTALL" >&6; }
2565 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2566 # It thinks the first close brace ends the variable substitution.
2567 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2569 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2571 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2574 $as_echo_n "checking whether ln works... " >&6; }
2575 if test "${acx_cv_prog_LN+set}" = set; then :
2576 $as_echo_n "(cached) " >&6
2578 rm -f conftestdata_t
2579 echo >conftestdata_f
2580 if ln conftestdata_f conftestdata_t
2>/dev
/null
2586 rm -f conftestdata_f conftestdata_t
2589 if test $acx_cv_prog_LN = no
; then
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2592 $as_echo "no, using $LN" >&6; }
2594 LN
="$acx_cv_prog_LN"
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596 $as_echo "yes" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2600 $as_echo_n "checking whether ln -s works... " >&6; }
2602 if test "$LN_S" = "ln -s"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2604 $as_echo "yes" >&6; }
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2607 $as_echo "no, using $LN_S" >&6; }
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2611 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2612 if test "${ac_cv_path_SED+set}" = set; then :
2613 $as_echo_n "(cached) " >&6
2615 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2616 for ac_i
in 1 2 3 4 5 6 7; do
2617 ac_script
="$ac_script$as_nl$ac_script"
2619 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2620 { ac_script
=; unset ac_script
;}
2621 if test -z "$SED"; then
2622 ac_path_SED_found
=false
2623 # Loop through the user's path and test for each of PROGNAME-LIST
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_prog
in sed gsed
; do
2630 for ac_exec_ext
in '' $ac_executable_extensions; do
2631 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2632 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2633 # Check for GNU ac_path_SED and select it if it is found.
2634 # Check for GNU $ac_path_SED
2635 case `"$ac_path_SED" --version 2>&1` in
2637 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2640 $as_echo_n 0123456789 >"conftest.in"
2643 cat "conftest.in" "conftest.in" >"conftest.tmp"
2644 mv "conftest.tmp" "conftest.in"
2645 cp "conftest.in" "conftest.nl"
2646 $as_echo '' >> "conftest.nl"
2647 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2648 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2649 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2650 if test $ac_count -gt ${ac_path_SED_max-0}; then
2651 # Best one so far, save it but keep looking for a better one
2652 ac_cv_path_SED
="$ac_path_SED"
2653 ac_path_SED_max
=$ac_count
2655 # 10*(2^10) chars as input seems more than enough
2656 test $ac_count -gt 10 && break
2658 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2661 $ac_path_SED_found && break 3
2666 if test -z "$ac_cv_path_SED"; then
2667 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2675 $as_echo "$ac_cv_path_SED" >&6; }
2676 SED
="$ac_cv_path_SED"
2679 for ac_prog
in gawk mawk nawk
awk
2681 # Extract the first word of "$ac_prog", so it can be a program name with args.
2682 set dummy
$ac_prog; ac_word
=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if test "${ac_cv_prog_AWK+set}" = set; then :
2686 $as_echo_n "(cached) " >&6
2688 if test -n "$AWK"; then
2689 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2695 test -z "$as_dir" && as_dir
=.
2696 for ac_exec_ext
in '' $ac_executable_extensions; do
2697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698 ac_cv_prog_AWK
="$ac_prog"
2699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2709 if test -n "$AWK"; then
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2711 $as_echo "$AWK" >&6; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2718 test -n "$AWK" && break
2722 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2724 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2726 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2727 INSTALL
="${srcpwd}/install-sh -c"
2730 # Set srcdir to "." if that's what it is.
2731 # This is important for multilib support.
2733 if test "${pwd}" = "${srcpwd}" ; then
2741 ### To add a new directory to the tree, first choose whether it is a target
2742 ### or a host dependent tool. Then put it into the appropriate list
2743 ### (library or tools, host or target), doing a dependency sort.
2745 # Subdirs will be configured in the order listed in build_configdirs,
2746 # configdirs, or target_configdirs; see the serialization section below.
2748 # Dependency sorting is only needed when *configuration* must be done in
2749 # a particular order. In all cases a dependency should be specified in
2750 # the Makefile, whether or not it's implicitly specified here.
2752 # Double entries in build_configdirs, configdirs, or target_configdirs may
2753 # cause circular dependencies and break everything horribly.
2755 # these library is used by various programs built for the build
2758 build_libs
="build-libiberty"
2760 # these tools are built for the build environment
2761 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2763 # these libraries are used by various programs built for the host environment
2765 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2767 # these tools are built for the host environment
2768 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2769 # know that we are building the simulator.
2770 # binutils, gas and ld appear in that order because it makes sense to run
2771 # "make check" in that particular order.
2772 # If --enable-gold is used, "gold" may replace "ld".
2773 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2775 # libgcj represents the runtime libraries only used by gcj.
2776 libgcj
="target-libffi \
2780 # these libraries are built for the target environment, and are built after
2781 # the host libraries and the host tools (which may be a cross compiler)
2782 # Note that libiberty is not a target library.
2783 target_libraries
="target-libgcc \
2784 target-libbacktrace \
2791 target-libstdc++-v3 \
2792 target-libsanitizer \
2795 target-libquadmath \
2796 target-libgfortran \
2803 # these tools are built using the target libraries, and are intended to
2804 # run only in the target environment
2806 # note: any program that *uses* libraries that are in the "target_libraries"
2807 # list belongs in this list.
2809 target_tools
="target-rda"
2811 ################################################################################
2813 ## All tools belong in one of the four categories, and are assigned above
2814 ## We assign ${configdirs} this way to remove all embedded newlines. This
2815 ## is important because configure will choke if they ever get through.
2816 ## ${configdirs} is directories we build using the host tools.
2817 ## ${target_configdirs} is directories we build using the target tools.
2818 configdirs
=`echo ${host_libs} ${host_tools}`
2819 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2820 build_configdirs
=`echo ${build_libs} ${build_tools}`
2824 ################################################################################
2826 srcname
="gnu development package"
2828 # This gets set non-empty for some net releases of packages.
2831 # Define is_cross_compiler to save on calls to 'test'.
2833 if test x
"${host}" = x
"${target}" ; then
2834 is_cross_compiler
=no
2836 is_cross_compiler
=yes
2839 # Find the build and target subdir names.
2841 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2842 # have matching libraries, they should use host libraries: Makefile.tpl
2843 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2844 # However, they still use the build modules, because the corresponding
2845 # host modules (e.g. bison) are only built for the host when bootstrap
2847 # - build_subdir is where we find build modules, and never changes.
2848 # - build_libsubdir is where we find build libraries, and can be overridden.
2850 # Prefix 'build-' so this never conflicts with target_subdir.
2851 build_subdir
="build-${build_noncanonical}"
2853 # Check whether --with-build-libsubdir was given.
2854 if test "${with_build_libsubdir+set}" = set; then :
2855 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2857 build_libsubdir
="$build_subdir"
2860 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2861 if ( test $srcdir = .
&& test -d gcc
) \
2862 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2863 host_subdir
="host-${host_noncanonical}"
2868 target_subdir
=${target_noncanonical}
2870 # Be sure to cover against remnants of an in-tree build.
2871 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2872 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2873 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2876 # Skipdirs are removed silently.
2878 # Noconfigdirs are removed loudly.
2882 # Make sure we don't let GNU ld be added if we didn't want it.
2883 if test x
$with_gnu_ld = xno
; then
2885 noconfigdirs
="$noconfigdirs ld gold"
2889 # Make sure we don't let GNU as be added if we didn't want it.
2890 if test x
$with_gnu_as = xno
; then
2892 noconfigdirs
="$noconfigdirs gas"
2896 # Make sure we don't let ZLIB be added if we didn't want it.
2897 if test x
$with_system_zlib = xyes
; then
2898 use_included_zlib
=no
2899 noconfigdirs
="$noconfigdirs zlib"
2902 # some tools are so dependent upon X11 that if we're not building with X,
2903 # it's not even worth trying to configure, much less build, that tool.
2906 yes |
"") ;; # the default value for this tree is that X11 is available
2908 skipdirs
="${skipdirs} tk itcl libgui"
2909 # We won't be able to build gdbtk without X.
2912 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2915 # Some are only suitable for cross toolchains.
2916 # Remove these if host=target.
2917 cross_only
="target-libgloss target-newlib target-opcodes"
2919 case $is_cross_compiler in
2920 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2923 # If both --with-headers and --with-libs are specified, default to
2925 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2926 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2927 if test x
"${with_newlib}" = x
; then
2932 # Recognize --with-newlib/--without-newlib.
2933 case ${with_newlib} in
2934 no
) skipdirs
="${skipdirs} target-newlib" ;;
2935 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2938 # Handle --enable-gold, --enable-ld.
2939 # --disable-gold [--enable-ld]
2940 # Build only ld. Default option.
2941 # --enable-gold [--enable-ld]
2942 # Build both gold and ld. Install gold as "ld.gold", install ld
2943 # as "ld.bfd" and "ld".
2944 # --enable-gold=default [--enable-ld]
2945 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2946 # install ld as "ld.bfd".
2947 # --enable-gold[=default] --disable-ld
2948 # Build only gold, which is then installed as both "ld.gold" and "ld".
2949 # --enable-gold --enable-ld=default
2950 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2952 # In other words, ld is default
2953 # --enable-gold=default --enable-ld=default
2957 # Check whether --enable-gold was given.
2958 if test "${enable_gold+set}" = set; then :
2959 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2964 case "${ENABLE_GOLD}" in
2966 # Check for ELF target.
2969 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2970 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2971 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2972 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2974 *-*-linux*aout
* |
*-*-linux*oldld
*)
2982 if test "$is_elf" = "yes"; then
2983 # Check for target supported by gold.
2985 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2986 configdirs
="$configdirs gold"
2987 if test x
${ENABLE_GOLD} = xdefault
; then
2998 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3002 # Check whether --enable-ld was given.
3003 if test "${enable_ld+set}" = set; then :
3004 enableval
=$enable_ld; ENABLE_LD
=$enableval
3010 case "${ENABLE_LD}" in
3012 if test x
${default_ld} != x
; then
3013 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3019 if test x
${ENABLE_GOLD} != xyes
; then
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3021 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3023 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3026 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3030 # Configure extra directories which are host specific
3034 configdirs
="$configdirs libtermcap" ;;
3037 # A target can indicate whether a language isn't supported for some reason.
3038 # Only spaces may be used in this macro; not newlines or tabs.
3039 unsupported_languages
=
3041 # Remove more programs from consideration, based on the host or
3042 # target this usually means that a port of the program doesn't
3046 i
[3456789]86-*-msdosdjgpp*)
3047 noconfigdirs
="$noconfigdirs tcl tk itcl"
3052 # Check whether --enable-libquadmath was given.
3053 if test "${enable_libquadmath+set}" = set; then :
3054 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3056 ENABLE_LIBQUADMATH
=yes
3059 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3060 noconfigdirs
="$noconfigdirs target-libquadmath"
3064 # Check whether --enable-libquadmath-support was given.
3065 if test "${enable_libquadmath_support+set}" = set; then :
3066 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3068 ENABLE_LIBQUADMATH_SUPPORT
=yes
3071 enable_libquadmath_support
=
3072 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3073 enable_libquadmath_support
=no
3077 # Check whether --enable-libada was given.
3078 if test "${enable_libada+set}" = set; then :
3079 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3084 if test "${ENABLE_LIBADA}" != "yes" ; then
3085 noconfigdirs
="$noconfigdirs gnattools"
3088 # Check whether --enable-libssp was given.
3089 if test "${enable_libssp+set}" = set; then :
3090 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3096 # Check whether --enable-libstdcxx was given.
3097 if test "${enable_libstdcxx+set}" = set; then :
3098 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3100 ENABLE_LIBSTDCXX
=default
3103 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3104 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3107 # Save it here so that, even in case of --enable-libgcj, if the Java
3108 # front-end isn't enabled, we still get libgcj disabled.
3109 libgcj_saved
=$libgcj
3110 case $enable_libgcj in
3112 # If we reset it here, it won't get added to noconfigdirs in the
3113 # target-specific build rules, so it will be forcibly enabled
3114 # (unless the Java language itself isn't enabled).
3118 # Make sure we get it printed in the list of not supported target libs.
3119 # Don't disable libffi, though, other languages use it.
3120 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3121 # Clear libgcj_saved so that even if java is enabled libffi won't be
3127 # Check whether --enable-static-libjava was given.
3128 if test "${enable_static_libjava+set}" = set; then :
3129 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3131 ENABLE_STATIC_LIBJAVA
=no
3134 enable_static_libjava
=
3135 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3136 enable_static_libjava
=yes
3139 if test x
$enable_static_libjava != xyes
; then
3140 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3144 # Disable libgomp on non POSIX hosted systems.
3145 if test x
$enable_libgomp = x
; then
3146 # Enable libgomp by default on hosted POSIX systems.
3148 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3150 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3152 *-*-solaris2* |
*-*-hpux11*)
3154 *-*-darwin* |
*-*-aix*)
3157 noconfigdirs
="$noconfigdirs target-libgomp"
3162 # Disable libatomic on unsupported systems.
3163 if test -d ${srcdir}/libatomic
; then
3164 if test x
$enable_libatomic = x
; then
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3166 $as_echo_n "checking for libatomic support... " >&6; }
3167 if (srcdir
=${srcdir}/libatomic
; \
3168 .
${srcdir}/configure.tgt
; \
3169 test -n "$UNSUPPORTED")
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3173 noconfigdirs
="$noconfigdirs target-libatomic"
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3176 $as_echo "yes" >&6; }
3181 # Disable libcilkrts on unsupported systems.
3182 if test -d ${srcdir}/libcilkrts
; then
3183 if test x
$enable_libcilkrts = x
; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3185 $as_echo_n "checking for libcilkrts support... " >&6; }
3186 if (srcdir
=${srcdir}/libcilkrts
; \
3187 .
${srcdir}/configure.tgt
; \
3188 test -n "$UNSUPPORTED")
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3192 noconfigdirs
="$noconfigdirs target-libcilkrts"
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3200 # Disable libitm on unsupported systems.
3201 if test -d ${srcdir}/libitm
; then
3202 if test x
$enable_libitm = x
; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3204 $as_echo_n "checking for libitm support... " >&6; }
3205 if (srcdir
=${srcdir}/libitm
; \
3206 .
${srcdir}/configure.tgt
; \
3207 test -n "$UNSUPPORTED")
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 noconfigdirs
="$noconfigdirs target-libitm"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3214 $as_echo "yes" >&6; }
3219 # Disable libsanitizer on unsupported systems.
3220 if test -d ${srcdir}/libsanitizer
; then
3221 if test x
$enable_libsanitizer = x
; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3223 $as_echo_n "checking for libsanitizer support... " >&6; }
3224 if (srcdir
=${srcdir}/libsanitizer
; \
3225 .
${srcdir}/configure.tgt
; \
3226 test -n "$UNSUPPORTED")
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3230 noconfigdirs
="$noconfigdirs target-libsanitizer"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3238 # Disable libvtv on unsupported systems.
3239 if test -d ${srcdir}/libvtv
; then
3240 if test x
$enable_libvtv = x
; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3242 $as_echo_n "checking for libvtv support... " >&6; }
3243 if (srcdir
=${srcdir}/libvtv
; \
3244 .
${srcdir}/configure.tgt
; \
3245 test "$VTV_SUPPORTED" != "yes")
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 noconfigdirs
="$noconfigdirs target-libvtv"
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3252 $as_echo "yes" >&6; }
3257 # Disable libquadmath for some systems.
3260 noconfigdirs
="$noconfigdirs target-libquadmath"
3262 # libquadmath is unused on AIX and libquadmath build process use of
3263 # LD_LIBRARY_PATH can break AIX bootstrap.
3264 powerpc-
*-aix* | rs6000-
*-aix*)
3265 noconfigdirs
="$noconfigdirs target-libquadmath"
3269 # Disable libssp for some systems.
3272 # No hosted I/O support.
3273 noconfigdirs
="$noconfigdirs target-libssp"
3275 powerpc-
*-aix* | rs6000-
*-aix*)
3276 noconfigdirs
="$noconfigdirs target-libssp"
3279 # libssp uses a misaligned load to trigger a fault, but the RL78
3280 # doesn't fault for those - instead, it gives a build-time error
3281 # for explicit misaligned loads.
3282 noconfigdirs
="$noconfigdirs target-libssp"
3286 # Disable libstdc++-v3 for some systems.
3287 # Allow user to override this if they pass --enable-libstdc++-v3
3288 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3291 # VxWorks uses the Dinkumware C++ library.
3292 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3295 # the C++ libraries don't build on top of CE's C libraries
3296 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3299 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3304 # Disable Fortran for some systems.
3307 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3308 unsupported_languages
="$unsupported_languages fortran"
3312 # Disable Java if libffi is not supported.
3344 powerpc-
*-aix* | rs6000-
*-aix*)
3348 powerpc64-
*-freebsd*)
3352 s390-
*-* | s390x-
*-*)
3354 sh-
*-* | sh
[34]*-*-*)
3356 sh64-
*-* | sh5
*-*-*)
3363 unsupported_languages
="$unsupported_languages java"
3367 # Disable Java, libgcj or related libraries for some systems.
3371 i
[3456789]86-*-darwin*)
3373 x86_64-
*-darwin[912]*)
3376 noconfigdirs
="$noconfigdirs ${libgcj}"
3379 noconfigdirs
="$noconfigdirs ${libgcj}"
3382 noconfigdirs
="$noconfigdirs ${libgcj}"
3385 noconfigdirs
="$noconfigdirs ${libgcj}"
3388 noconfigdirs
="$noconfigdirs ${libgcj}"
3391 noconfigdirs
="$noconfigdirs ${libgcj}"
3394 noconfigdirs
="$noconfigdirs ${libgcj}"
3397 noconfigdirs
="$noconfigdirs ${libgcj}"
3400 noconfigdirs
="$noconfigdirs ${libgcj}"
3403 noconfigdirs
="$noconfigdirs target-boehm-gc"
3405 cris-
*-* | crisv32-
*-*)
3406 unsupported_languages
="$unsupported_languages java"
3410 *) # See PR46792 regarding target-libffi.
3411 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3415 # In this case, it's because the hppa64-linux target is for
3416 # the kernel only at this point and has no libc, and thus no
3417 # headers, crt*.o, etc., all of which are needed by these.
3418 unsupported_languages
="$unsupported_languages java"
3421 noconfigdirs
="$noconfigdirs ${libgcj}"
3426 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3427 # build on HP-UX 10.20.
3428 noconfigdirs
="$noconfigdirs ${libgcj}"
3431 noconfigdirs
="$noconfigdirs ${libgcj}"
3433 i
[3456789]86-w64-mingw*)
3434 noconfigdirs
="$noconfigdirs ${libgcj}"
3436 i
[3456789]86-*-mingw*)
3437 noconfigdirs
="$noconfigdirs ${libgcj}"
3440 noconfigdirs
="$noconfigdirs ${libgcj}"
3443 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3446 # copied from rs6000-*-* entry
3447 noconfigdirs
="$noconfigdirs ${libgcj}"
3450 noconfigdirs
="$noconfigdirs ${libgcj}"
3453 noconfigdirs
="$noconfigdirs ${libgcj}"
3457 # Disable libgo for some systems where it is known to not work.
3458 # For testing, you can easily override this with --enable-libgo.
3459 if test x
$enable_libgo = x
; then
3463 noconfigdirs
="$noconfigdirs target-libgo"
3465 *-*-cygwin* |
*-*-mingw*)
3466 noconfigdirs
="$noconfigdirs target-libgo"
3469 noconfigdirs
="$noconfigdirs target-libgo"
3474 # Default libgloss CPU subdirectory.
3475 libgloss_dir
="$target_cpu"
3478 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3482 libgloss_dir
=aarch64
3487 cris-
*-* | crisv32-
*-*)
3496 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3497 libgloss_dir
=m68hc11
3499 m68
*-*-* | fido-
*-*)
3513 # Disable newlib and libgloss for various target OSes.
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3518 i
[3456789]86-*-linux*)
3519 # This section makes it possible to build newlib natively on linux.
3520 # If we are using a cross compiler then don't configure newlib.
3521 if test x
${is_cross_compiler} != xno
; then
3522 noconfigdirs
="$noconfigdirs target-newlib"
3524 noconfigdirs
="$noconfigdirs target-libgloss"
3525 # If we are not using a cross compiler, do configure newlib.
3526 # Note however, that newlib will only be configured in this situation
3527 # if the --with-newlib option has been given, because otherwise
3528 # 'target-newlib' will appear in skipdirs.
3530 i
[3456789]86-*-rdos*)
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3533 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3537 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3546 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3552 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3554 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3555 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3561 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3564 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3567 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3570 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3584 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3585 noconfigdirs
="$noconfigdirs sim target-rda"
3587 i
[3456789]86-*-darwin*)
3588 noconfigdirs
="$noconfigdirs ld gprof"
3589 noconfigdirs
="$noconfigdirs sim target-rda"
3591 x86_64-
*-darwin[912]*)
3592 noconfigdirs
="$noconfigdirs ld gas gprof"
3593 noconfigdirs
="$noconfigdirs sim target-rda"
3596 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3597 noconfigdirs
="$noconfigdirs sim target-rda"
3602 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3603 && test -f /usr
/local
/include
/gmp.h
; then
3608 # Remove unsupported stuff on all kaOS configurations.
3609 noconfigdirs
="$noconfigdirs target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-libgloss"
3618 # The tpf target doesn't support gdb yet.
3620 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3623 noconfigdirs
="$noconfigdirs target-rda"
3628 # ld works, but does not support shared libraries.
3629 # gas doesn't generate exception information.
3630 noconfigdirs
="$noconfigdirs gas ld"
3633 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3636 # newlib is not 64 bit ready
3637 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3639 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3640 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3643 noconfigdirs
="$noconfigdirs target-libgloss"
3646 noconfigdirs
="$noconfigdirs target-libgloss"
3649 noconfigdirs
="$noconfigdirs ld target-libgloss"
3654 if test x
${with_avrlibc} != xno
; then
3655 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3658 c4x-
*-* | tic4x-
*-*)
3659 noconfigdirs
="$noconfigdirs target-libgloss"
3662 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3665 noconfigdirs
="$noconfigdirs target-libgloss"
3668 noconfigdirs
="$noconfigdirs gdb"
3671 noconfigdirs
="$noconfigdirs gdb"
3674 noconfigdirs
="$noconfigdirs gprof"
3677 noconfigdirs
="$noconfigdirs target-libgloss"
3680 noconfigdirs
="$noconfigdirs target-libgloss"
3682 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3690 hppa
*-*-openbsd* | \
3694 noconfigdirs
="$noconfigdirs ld"
3699 noconfigdirs
="$noconfigdirs ld"
3702 noconfigdirs
="$noconfigdirs gdb"
3705 # No gdb support yet.
3706 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3709 # No ld support yet.
3710 noconfigdirs
="$noconfigdirs libgui itcl ld"
3713 # No ld support yet.
3714 noconfigdirs
="$noconfigdirs libgui itcl ld"
3716 i
[3456789]86-w64-mingw*)
3718 i
[3456789]86-*-mingw*)
3719 target_configdirs
="$target_configdirs target-winsup"
3722 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3723 noconfigdirs
="$noconfigdirs target-libgloss"
3724 # always build newlib if winsup directory is present.
3725 if test -d "$srcdir/winsup/cygwin"; then
3726 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3727 elif test -d "$srcdir/newlib"; then
3728 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3732 noconfigdirs
="$noconfigdirs target-libgloss"
3734 i
[3456789]86-*-sco3.2v5
*)
3735 # The linker does not yet know about weak symbols in COFF,
3736 # and is not configured to handle mixed ELF and COFF.
3737 noconfigdirs
="$noconfigdirs ld target-libgloss"
3739 i
[3456789]86-*-sco*)
3740 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3742 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3743 noconfigdirs
="$noconfigdirs target-libgloss"
3745 i
[3456789]86-*-sysv4*)
3746 noconfigdirs
="$noconfigdirs target-libgloss"
3748 i
[3456789]86-*-beos*)
3749 noconfigdirs
="$noconfigdirs gdb"
3751 i
[3456789]86-*-rdos*)
3752 noconfigdirs
="$noconfigdirs gdb"
3755 noconfigdirs
="$noconfigdirs gdb"
3758 noconfigdirs
="$noconfigdirs sim"
3761 # copied from rs6000-*-* entry
3762 noconfigdirs
="$noconfigdirs gprof"
3764 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3765 target_configdirs
="$target_configdirs target-winsup"
3766 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3767 # always build newlib.
3768 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3770 # This is temporary until we can link against shared libraries
3771 powerpcle-
*-solaris*)
3772 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3775 noconfigdirs
="$noconfigdirs gdb"
3778 noconfigdirs
="$noconfigdirs gprof"
3781 noconfigdirs
="$noconfigdirs gprof"
3784 noconfigdirs
="$noconfigdirs gprof"
3787 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3790 noconfigdirs
="$noconfigdirs gprof"
3792 mips
*-sde-elf* | mips
*-mti-elf*)
3793 if test x
$with_newlib = xyes
; then
3794 noconfigdirs
="$noconfigdirs gprof"
3798 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3801 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3804 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3808 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3809 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3810 noconfigdirs
="$noconfigdirs ld gas gprof"
3813 noconfigdirs
="$noconfigdirs gprof"
3820 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3824 if test x
${is_cross_compiler} = xno
; then
3829 noconfigdirs
="$noconfigdirs sim"
3831 tilepro
*-*-* | tilegx
*-*-*)
3832 noconfigdirs
="$noconfigdirs sim"
3835 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3838 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3842 # If we aren't building newlib, then don't build libgloss, since libgloss
3843 # depends upon some newlib header files.
3844 case "${noconfigdirs}" in
3845 *target-libgloss
*) ;;
3846 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3849 # Work in distributions that contain no compiler tools, like Autoconf.
3850 host_makefile_frag
=/dev
/null
3851 if test -d ${srcdir}/config
; then
3853 i
[3456789]86-*-msdosdjgpp*)
3854 host_makefile_frag
="config/mh-djgpp"
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3859 $as_echo_n "checking to see if cat works as expected... " >&6; }
3860 echo a
>cygwin-cat-check
3861 if test `cat cygwin-cat-check` = a
; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3864 $as_echo "yes" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3869 as_fn_error
"The cat command does not ignore carriage return characters.
3870 Please either mount the build directory in binary mode or run the following
3871 commands before running any configure script:
3877 host_makefile_frag
="config/mh-cygwin"
3880 host_makefile_frag
="config/mh-mingw"
3883 host_makefile_frag
="config/mh-alpha-linux"
3886 host_makefile_frag
="config/mh-pa-hpux10"
3889 host_makefile_frag
="config/mh-pa"
3892 host_makefile_frag
="config/mh-pa"
3895 host_makefile_frag
="config/mh-darwin"
3898 host_makefile_frag
="config/mh-ppc-aix"
3901 host_makefile_frag
="config/mh-ppc-aix"
3906 if test "${build}" != "${host}" ; then
3907 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3908 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3909 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3910 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3911 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3912 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3913 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3914 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3915 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3916 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3917 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3918 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3919 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3921 AR_FOR_BUILD
="\$(AR)"
3922 AS_FOR_BUILD
="\$(AS)"
3923 CC_FOR_BUILD
="\$(CC)"
3924 CXX_FOR_BUILD
="\$(CXX)"
3925 GCJ_FOR_BUILD
="\$(GCJ)"
3926 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3927 GOC_FOR_BUILD
="\$(GOC)"
3928 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3929 LD_FOR_BUILD
="\$(LD)"
3930 NM_FOR_BUILD
="\$(NM)"
3931 RANLIB_FOR_BUILD
="\$(RANLIB)"
3932 WINDRES_FOR_BUILD
="\$(WINDRES)"
3933 WINDMC_FOR_BUILD
="\$(WINDMC)"
3937 ac_cpp
='$CPP $CPPFLAGS'
3938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3941 if test -n "$ac_tool_prefix"; then
3942 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3943 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3945 $as_echo_n "checking for $ac_word... " >&6; }
3946 if test "${ac_cv_prog_CC+set}" = set; then :
3947 $as_echo_n "(cached) " >&6
3949 if test -n "$CC"; then
3950 ac_cv_prog_CC
="$CC" # Let the user override the test.
3952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3956 test -z "$as_dir" && as_dir
=.
3957 for ac_exec_ext
in '' $ac_executable_extensions; do
3958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3959 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 if test -n "$CC"; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3972 $as_echo "$CC" >&6; }
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3975 $as_echo "no" >&6; }
3980 if test -z "$ac_cv_prog_CC"; then
3982 # Extract the first word of "gcc", so it can be a program name with args.
3983 set dummy gcc
; ac_word
=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3987 $as_echo_n "(cached) " >&6
3989 if test -n "$ac_ct_CC"; then
3990 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3996 test -z "$as_dir" && as_dir
=.
3997 for ac_exec_ext
in '' $ac_executable_extensions; do
3998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3999 ac_cv_prog_ac_ct_CC
="gcc"
4000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4010 if test -n "$ac_ct_CC"; then
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4012 $as_echo "$ac_ct_CC" >&6; }
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4015 $as_echo "no" >&6; }
4018 if test "x$ac_ct_CC" = x
; then
4021 case $cross_compiling:$ac_tool_warned in
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4025 ac_tool_warned
=yes ;;
4033 if test -z "$CC"; then
4034 if test -n "$ac_tool_prefix"; then
4035 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4036 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_prog_CC+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$CC"; then
4043 ac_cv_prog_CC
="$CC" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 if test -n "$CC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4065 $as_echo "$CC" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4074 if test -z "$CC"; then
4075 # Extract the first word of "cc", so it can be a program name with args.
4076 set dummy cc
; ac_word
=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if test "${ac_cv_prog_CC+set}" = set; then :
4080 $as_echo_n "(cached) " >&6
4082 if test -n "$CC"; then
4083 ac_cv_prog_CC
="$CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4094 ac_prog_rejected
=yes
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 if test $ac_prog_rejected = yes; then
4106 # We found a bogon in the path, so make sure we never use it.
4107 set dummy
$ac_cv_prog_CC
4109 if test $# != 0; then
4110 # We chose a different compiler from the bogus one.
4111 # However, it has the same basename, so the bogon will be chosen
4112 # first if we set CC to just the basename; use the full file name.
4114 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4120 if test -n "$CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4122 $as_echo "$CC" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4130 if test -z "$CC"; then
4131 if test -n "$ac_tool_prefix"; then
4132 for ac_prog
in cl.exe
4134 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4135 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4137 $as_echo_n "checking for $ac_word... " >&6; }
4138 if test "${ac_cv_prog_CC+set}" = set; then :
4139 $as_echo_n "(cached) " >&6
4141 if test -n "$CC"; then
4142 ac_cv_prog_CC
="$CC" # Let the user override the test.
4144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4148 test -z "$as_dir" && as_dir
=.
4149 for ac_exec_ext
in '' $ac_executable_extensions; do
4150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4151 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4162 if test -n "$CC"; then
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4164 $as_echo "$CC" >&6; }
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4167 $as_echo "no" >&6; }
4171 test -n "$CC" && break
4174 if test -z "$CC"; then
4176 for ac_prog
in cl.exe
4178 # Extract the first word of "$ac_prog", so it can be a program name with args.
4179 set dummy
$ac_prog; ac_word
=$2
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4181 $as_echo_n "checking for $ac_word... " >&6; }
4182 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4183 $as_echo_n "(cached) " >&6
4185 if test -n "$ac_ct_CC"; then
4186 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4192 test -z "$as_dir" && as_dir
=.
4193 for ac_exec_ext
in '' $ac_executable_extensions; do
4194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4195 ac_cv_prog_ac_ct_CC
="$ac_prog"
4196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4205 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4206 if test -n "$ac_ct_CC"; then
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4208 $as_echo "$ac_ct_CC" >&6; }
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4211 $as_echo "no" >&6; }
4215 test -n "$ac_ct_CC" && break
4218 if test "x$ac_ct_CC" = x
; then
4221 case $cross_compiling:$ac_tool_warned in
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4224 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4225 ac_tool_warned
=yes ;;
4234 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error
"no acceptable C compiler found in \$PATH
4237 See \`config.log' for more details." "$LINENO" 5; }
4239 # Provide some information about the compiler.
4240 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4243 for ac_option
in --version -v -V -qversion; do
4244 { { ac_try
="$ac_compiler $ac_option >&5"
4246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4247 *) ac_try_echo=$ac_try;;
4249 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4250 $as_echo "$ac_try_echo"; } >&5
4251 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4253 if test -s conftest.err; then
4255 ... rest of stderr output deleted ...
4256 10q' conftest.err >conftest.er1
4257 cat conftest.er1 >&5
4258 rm -f conftest.er1 conftest.err
4260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4261 test $ac_status = 0; }
4264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4265 /* end confdefs.h. */
4275 ac_clean_files_save=$ac_clean_files
4276 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4277 # Try to create an executable without -o first, disregard a.out.
4278 # It will help us diagnose broken compilers, and finding out an intuition
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4281 $as_echo_n "checking for C compiler default output file name... " >&6; }
4282 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4284 # The possible output files:
4285 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4288 for ac_file in $ac_files
4291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4292 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4297 if { { ac_try="$ac_link_default"
4299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4300 *) ac_try_echo
=$ac_try;;
4302 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4303 $as_echo "$ac_try_echo"; } >&5
4304 (eval "$ac_link_default") 2>&5
4306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4307 test $ac_status = 0; }; then :
4308 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4309 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4310 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4311 # so that the user can short-circuit this test for compilers unknown to
4313 for ac_file
in $ac_files ''
4315 test -f "$ac_file" ||
continue
4317 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4320 # We found the default executable, but exeext='' is most
4324 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4326 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4328 # We set ac_cv_exeext here because the later test for it is not
4329 # safe: cross compilers may not add the suffix if given an `-o'
4330 # argument, so we may need to know it at that point already.
4331 # Even if this section looks crufty: it has the advantage of
4338 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4344 $as_echo "$ac_file" >&6; }
4345 if test -z "$ac_file"; then :
4346 $as_echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.
$ac_ext >&5
4349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4351 { as_fn_set_status
77
4352 as_fn_error
"C compiler cannot create executables
4353 See \`config.log' for more details." "$LINENO" 5; }; }
4355 ac_exeext
=$ac_cv_exeext
4357 # Check that the compiler produces executables we can run. If not, either
4358 # the compiler is broken, or we cross compile.
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4360 $as_echo_n "checking whether the C compiler works... " >&6; }
4361 # If not cross compiling, check that we can run a simple program.
4362 if test "$cross_compiling" != yes; then
4363 if { ac_try
='./$ac_file'
4364 { { case "(($ac_try" in
4365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4366 *) ac_try_echo=$ac_try;;
4368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4369 $as_echo "$ac_try_echo"; } >&5
4370 (eval "$ac_try") 2>&5
4372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4373 test $ac_status = 0; }; }; then
4376 if test "$cross_compiling" = maybe; then
4379 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4380 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4381 as_fn_error "cannot run C compiled programs.
4382 If you meant to cross compile
, use \
`--host'.
4383 See \`config.log
' for more details." "$LINENO" 5; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4388 $as_echo "yes" >&6; }
4390 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4391 ac_clean_files=$ac_clean_files_save
4392 # Check that the compiler produces executables we can run. If not, either
4393 # the compiler is broken, or we cross compile.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4395 $as_echo_n "checking whether we are cross compiling... " >&6; }
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4397 $as_echo "$cross_compiling" >&6; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4400 $as_echo_n "checking for suffix of executables... " >&6; }
4401 if { { ac_try="$ac_link"
4403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4404 *) ac_try_echo=$ac_try;;
4406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4407 $as_echo "$ac_try_echo"; } >&5
4408 (eval "$ac_link") 2>&5
4410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4411 test $ac_status = 0; }; then :
4412 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4413 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4414 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4416 for ac_file
in conftest.exe conftest conftest.
*; do
4417 test -f "$ac_file" ||
continue
4419 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4420 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4428 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4429 See \`config.log' for more details." "$LINENO" 5; }
4431 rm -f conftest
$ac_cv_exeext
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4433 $as_echo "$ac_cv_exeext" >&6; }
4435 rm -f conftest.
$ac_ext
4436 EXEEXT
=$ac_cv_exeext
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4439 $as_echo_n "checking for suffix of object files... " >&6; }
4440 if test "${ac_cv_objext+set}" = set; then :
4441 $as_echo_n "(cached) " >&6
4443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4454 rm -f conftest.o conftest.obj
4455 if { { ac_try
="$ac_compile"
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compile") 2>&5
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 for ac_file in conftest.o conftest.obj conftest.*; do
4467 test -f "$ac_file" || continue;
4469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4475 $as_echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4480 as_fn_error "cannot compute suffix of object files
: cannot compile
4481 See \
`config.log' for more details." "$LINENO" 5; }
4483 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4486 $as_echo "$ac_cv_objext" >&6; }
4487 OBJEXT=$ac_cv_objext
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4490 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4491 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4492 $as_echo_n "(cached) " >&6
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4508 if ac_fn_c_try_compile "$LINENO"; then :
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4518 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4519 if test $ac_compiler_gnu = yes; then
4524 ac_test_CFLAGS=${CFLAGS+set}
4525 ac_save_CFLAGS=$CFLAGS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4527 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4528 if test "${ac_cv_prog_cc_g+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4531 ac_save_c_werror_flag=$ac_c_werror_flag
4532 ac_c_werror_flag=yes
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4546 if ac_fn_c_try_compile "$LINENO"; then :
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4561 if ac_fn_c_try_compile "$LINENO"; then :
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4577 if ac_fn_c_try_compile "$LINENO"; then :
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_c_werror_flag=$ac_save_c_werror_flag
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4588 $as_echo "$ac_cv_prog_cc_g" >&6; }
4589 if test "$ac_test_CFLAGS" = set; then
4590 CFLAGS=$ac_save_CFLAGS
4591 elif test $ac_cv_prog_cc_g = yes; then
4592 if test "$GCC" = yes; then
4598 if test "$GCC" = yes; then
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4605 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4606 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4609 ac_cv_prog_cc_c89=no
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4615 #include <sys/types.h>
4616 #include <sys/stat.h>
4617 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4618 struct buf { int x; };
4619 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4620 static char *e (p, i)
4626 static char *f (char * (*g) (char **, int), char **p, ...)
4631 s = g (p, va_arg (v,int));
4636 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4637 function prototypes and stuff, but not '\xHH' hex character constants.
4638 These don't provoke an error unfortunately, instead are silently treated
4639 as 'x'. The following induces an error, until -std is added to get
4640 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4641 array size at least. It's necessary to write '\x00'==0 to get something
4642 that's true only with -std. */
4643 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4645 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4646 inside strings and character constants. */
4648 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4650 int test (int i, double x);
4651 struct s1 {int (*f) (int a);};
4652 struct s2 {int (*f) (double a);};
4653 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4659 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4664 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4665 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4667 CC="$ac_save_CC $ac_arg"
4668 if ac_fn_c_try_compile "$LINENO"; then :
4669 ac_cv_prog_cc_c89=$ac_arg
4671 rm -f core conftest.err conftest.$ac_objext
4672 test "x$ac_cv_prog_cc_c89" != "xno" && break
4674 rm -f conftest.$ac_ext
4679 case "x$ac_cv_prog_cc_c89" in
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4682 $as_echo "none needed" >&6; } ;;
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4685 $as_echo "unsupported" >&6; } ;;
4687 CC="$CC $ac_cv_prog_cc_c89"
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4689 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4691 if test "x$ac_cv_prog_cc_c89" != xno; then :
4696 ac_cpp='$CPP $CPPFLAGS'
4697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4702 ac_cpp='$CXXCPP $CPPFLAGS'
4703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4706 if test -z "$CXX"; then
4707 if test -n "$CCC"; then
4710 if test -n "$ac_tool_prefix"; then
4711 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4713 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4714 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4716 $as_echo_n "checking for $ac_word... " >&6; }
4717 if test "${ac_cv_prog_CXX+set}" = set; then :
4718 $as_echo_n "(cached) " >&6
4720 if test -n "$CXX"; then
4721 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir=.
4728 for ac_exec_ext in '' $ac_executable_extensions; do
4729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 if test -n "$CXX"; then
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4743 $as_echo "$CXX" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4746 $as_echo "no" >&6; }
4750 test -n "$CXX" && break
4753 if test -z "$CXX"; then
4755 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4757 # Extract the first word of "$ac_prog", so it can be a program name with args.
4758 set dummy $ac_prog; ac_word=$2
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4760 $as_echo_n "checking for $ac_word... " >&6; }
4761 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4762 $as_echo_n "(cached) " >&6
4764 if test -n "$ac_ct_CXX"; then
4765 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir=.
4772 for ac_exec_ext in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_ac_ct_CXX="$ac_prog"
4775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4785 if test -n "$ac_ct_CXX"; then
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4787 $as_echo "$ac_ct_CXX" >&6; }
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4790 $as_echo "no" >&6; }
4794 test -n "$ac_ct_CXX" && break
4797 if test "x$ac_ct_CXX" = x; then
4800 case $cross_compiling:$ac_tool_warned in
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4803 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4804 ac_tool_warned=yes ;;
4812 # Provide some information about the compiler.
4813 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4816 for ac_option in --version -v -V -qversion; do
4817 { { ac_try="$ac_compiler $ac_option >&5"
4819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4820 *) ac_try_echo
=$ac_try;;
4822 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4823 $as_echo "$ac_try_echo"; } >&5
4824 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4826 if test -s conftest.err
; then
4828 ... rest of stderr output deleted ...
4829 10q' conftest.err
>conftest.er1
4830 cat conftest.er1
>&5
4831 rm -f conftest.er1 conftest.err
4833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834 test $ac_status = 0; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4838 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4839 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4840 $as_echo_n "(cached) " >&6
4842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4843 /* end confdefs.h. */
4856 if ac_fn_cxx_try_compile
"$LINENO"; then :
4861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4862 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4866 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4867 if test $ac_compiler_gnu = yes; then
4872 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4873 ac_save_CXXFLAGS
=$CXXFLAGS
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4875 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4876 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4877 $as_echo_n "(cached) " >&6
4879 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4880 ac_cxx_werror_flag
=yes
4883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4884 /* end confdefs.h. */
4894 if ac_fn_cxx_try_compile
"$LINENO"; then :
4895 ac_cv_prog_cxx_g
=yes
4898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4909 if ac_fn_cxx_try_compile
"$LINENO"; then :
4912 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4925 if ac_fn_cxx_try_compile
"$LINENO"; then :
4926 ac_cv_prog_cxx_g
=yes
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4933 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4936 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4937 if test "$ac_test_CXXFLAGS" = set; then
4938 CXXFLAGS
=$ac_save_CXXFLAGS
4939 elif test $ac_cv_prog_cxx_g = yes; then
4940 if test "$GXX" = yes; then
4946 if test "$GXX" = yes; then
4953 ac_cpp
='$CPP $CPPFLAGS'
4954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4959 # We must set the default linker to the linker used by gcc for the correct
4960 # operation of libtool. If LD is not defined and we are using gcc, try to
4961 # set the LD default to the ld used by gcc.
4962 if test -z "$LD"; then
4963 if test "$GCC" = yes; then
4966 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4968 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4970 case $gcc_prog_ld in
4971 # Accept absolute paths.
4972 [\\/]* |
[A-Za-z
]:[\\/]*)
4973 LD
="$gcc_prog_ld" ;;
4978 # Check whether -static-libstdc++ -static-libgcc is supported.
4980 if test "$GCC" = yes; then
4981 saved_LDFLAGS
="$LDFLAGS"
4983 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4985 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4987 ac_cpp
='$CXXCPP $CPPFLAGS'
4988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
4996 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4997 #error -static-libstdc++ not implemented
5001 if ac_fn_cxx_try_link
"$LINENO"; then :
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5003 $as_echo "yes" >&6; }; have_static_libs
=yes
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5006 $as_echo "no" >&6; }
5008 rm -f core conftest.err conftest.
$ac_objext \
5009 conftest
$ac_exeext conftest.
$ac_ext
5011 ac_cpp
='$CPP $CPPFLAGS'
5012 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5017 LDFLAGS
="$saved_LDFLAGS"
5023 if test -n "$ac_tool_prefix"; then
5024 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5025 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5027 $as_echo_n "checking for $ac_word... " >&6; }
5028 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5029 $as_echo_n "(cached) " >&6
5031 if test -n "$GNATBIND"; then
5032 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5038 test -z "$as_dir" && as_dir
=.
5039 for ac_exec_ext
in '' $ac_executable_extensions; do
5040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5041 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5051 GNATBIND
=$ac_cv_prog_GNATBIND
5052 if test -n "$GNATBIND"; then
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5054 $as_echo "$GNATBIND" >&6; }
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5057 $as_echo "no" >&6; }
5062 if test -z "$ac_cv_prog_GNATBIND"; then
5063 ac_ct_GNATBIND
=$GNATBIND
5064 # Extract the first word of "gnatbind", so it can be a program name with args.
5065 set dummy gnatbind
; ac_word
=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5069 $as_echo_n "(cached) " >&6
5071 if test -n "$ac_ct_GNATBIND"; then
5072 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5078 test -z "$as_dir" && as_dir
=.
5079 for ac_exec_ext
in '' $ac_executable_extensions; do
5080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5081 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5092 if test -n "$ac_ct_GNATBIND"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5094 $as_echo "$ac_ct_GNATBIND" >&6; }
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5100 if test "x$ac_ct_GNATBIND" = x
; then
5103 case $cross_compiling:$ac_tool_warned in
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5107 ac_tool_warned
=yes ;;
5109 GNATBIND
=$ac_ct_GNATBIND
5112 GNATBIND
="$ac_cv_prog_GNATBIND"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5117 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$GNATMAKE"; then
5124 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 GNATMAKE
=$ac_cv_prog_GNATMAKE
5144 if test -n "$GNATMAKE"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5146 $as_echo "$GNATMAKE" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_GNATMAKE"; then
5155 ac_ct_GNATMAKE
=$GNATMAKE
5156 # Extract the first word of "gnatmake", so it can be a program name with args.
5157 set dummy gnatmake
; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$ac_ct_GNATMAKE"; then
5164 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5184 if test -n "$ac_ct_GNATMAKE"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5186 $as_echo "$ac_ct_GNATMAKE" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_GNATMAKE" = x
; then
5195 case $cross_compiling:$ac_tool_warned in
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned
=yes ;;
5201 GNATMAKE
=$ac_ct_GNATMAKE
5204 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5208 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5209 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 cat >conftest.adb
<<EOF
5213 procedure conftest is begin null; end conftest;
5215 acx_cv_cc_gcc_supports_ada
=no
5216 # There is a bug in old released versions of GCC which causes the
5217 # driver to exit successfully when the appropriate language module
5218 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5219 # Therefore we must check for the error message as well as an
5220 # unsuccessful exit.
5221 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5222 # given a .adb file, but produce no object file. So we must check
5223 # if an object file was really produced to guard against this.
5224 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5225 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5226 acx_cv_cc_gcc_supports_ada
=yes
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5231 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5233 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5240 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5241 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5246 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5247 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5248 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5251 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5254 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5255 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5258 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5265 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5266 do_compare
="$gcc_cv_prog_cmp_skip"
5270 # Check whether --enable-bootstrap was given.
5271 if test "${enable_bootstrap+set}" = set; then :
5272 enableval
=$enable_bootstrap;
5274 enable_bootstrap
=default
5278 # Issue errors and warnings for invalid/strange bootstrap combinations.
5279 if test -r $srcdir/gcc
/configure
; then
5285 case "$have_compiler:$host:$target:$enable_bootstrap" in
5288 # Default behavior. Enable bootstrap if we have a compiler
5289 # and we are in a native configuration.
5290 yes:$build:$build:default
)
5291 enable_bootstrap
=yes ;;
5294 enable_bootstrap
=no
;;
5296 # We have a compiler and we are in a native configuration, bootstrap is ok
5297 yes:$build:$build:yes)
5300 # Other configurations, but we have a compiler. Assume the user knows
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5304 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5307 # No compiler: if they passed --enable-bootstrap explicitly, fail
5309 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5311 # Fail if wrong command line
5313 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5317 # Used for setting $lt_cv_objdir
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5319 $as_echo_n "checking for objdir... " >&6; }
5320 if test "${lt_cv_objdir+set}" = set; then :
5321 $as_echo_n "(cached) " >&6
5323 rm -f .libs
2>/dev
/null
5324 mkdir .libs
2>/dev
/null
5325 if test -d .libs
; then
5328 # MS-DOS does not allow filenames that begin with a dot.
5331 rmdir .libs
2>/dev
/null
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5334 $as_echo "$lt_cv_objdir" >&6; }
5335 objdir
=$lt_cv_objdir
5341 cat >>confdefs.h
<<_ACEOF
5342 #define LT_OBJDIR "$lt_cv_objdir/"
5347 # Check for GMP, MPFR and MPC
5348 gmplibs
="-lmpc -lmpfr -lgmp"
5352 # Specify a location for mpc
5353 # check for this first so it ends up on the link line before mpfr.
5355 # Check whether --with-mpc was given.
5356 if test "${with_mpc+set}" = set; then :
5361 # Check whether --with-mpc-include was given.
5362 if test "${with_mpc_include+set}" = set; then :
5363 withval
=$with_mpc_include;
5367 # Check whether --with-mpc-lib was given.
5368 if test "${with_mpc_lib+set}" = set; then :
5369 withval
=$with_mpc_lib;
5373 if test "x$with_mpc" != x
; then
5374 gmplibs
="-L$with_mpc/lib $gmplibs"
5375 gmpinc
="-I$with_mpc/include $gmpinc"
5377 if test "x$with_mpc_include" != x
; then
5378 gmpinc
="-I$with_mpc_include $gmpinc"
5380 if test "x$with_mpc_lib" != x
; then
5381 gmplibs
="-L$with_mpc_lib $gmplibs"
5383 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5384 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5385 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5386 # Do not test the mpc version. Assume that it is sufficient, since
5387 # it is in the source tree, and the library has not been built yet
5388 # but it would be included on the link line in the version check below
5389 # hence making the test fail.
5393 # Specify a location for mpfr
5394 # check for this first so it ends up on the link line before gmp.
5396 # Check whether --with-mpfr-dir was given.
5397 if test "${with_mpfr_dir+set}" = set; then :
5398 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5399 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5404 # Check whether --with-mpfr was given.
5405 if test "${with_mpfr+set}" = set; then :
5410 # Check whether --with-mpfr-include was given.
5411 if test "${with_mpfr_include+set}" = set; then :
5412 withval
=$with_mpfr_include;
5416 # Check whether --with-mpfr-lib was given.
5417 if test "${with_mpfr_lib+set}" = set; then :
5418 withval
=$with_mpfr_lib;
5422 if test "x$with_mpfr" != x
; then
5423 gmplibs
="-L$with_mpfr/lib $gmplibs"
5424 gmpinc
="-I$with_mpfr/include $gmpinc"
5426 if test "x$with_mpfr_include" != x
; then
5427 gmpinc
="-I$with_mpfr_include $gmpinc"
5429 if test "x$with_mpfr_lib" != x
; then
5430 gmplibs
="-L$with_mpfr_lib $gmplibs"
5432 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5433 # MPFR v3.1.0 moved the sources into a src sub-directory.
5434 if test -d ${srcdir}/mpfr
/src
; then
5435 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5436 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5437 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5439 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5440 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5441 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5443 # Do not test the mpfr version. Assume that it is sufficient, since
5444 # it is in the source tree, and the library has not been built yet
5445 # but it would be included on the link line in the version check below
5446 # hence making the test fail.
5450 # Specify a location for gmp
5452 # Check whether --with-gmp-dir was given.
5453 if test "${with_gmp_dir+set}" = set; then :
5454 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5455 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5460 # Check whether --with-gmp was given.
5461 if test "${with_gmp+set}" = set; then :
5466 # Check whether --with-gmp-include was given.
5467 if test "${with_gmp_include+set}" = set; then :
5468 withval
=$with_gmp_include;
5472 # Check whether --with-gmp-lib was given.
5473 if test "${with_gmp_lib+set}" = set; then :
5474 withval
=$with_gmp_lib;
5479 if test "x$with_gmp" != x
; then
5480 gmplibs
="-L$with_gmp/lib $gmplibs"
5481 gmpinc
="-I$with_gmp/include $gmpinc"
5483 if test "x$with_gmp_include" != x
; then
5484 gmpinc
="-I$with_gmp_include $gmpinc"
5486 if test "x$with_gmp_lib" != x
; then
5487 gmplibs
="-L$with_gmp_lib $gmplibs"
5489 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5490 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5491 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5492 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5493 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5494 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5495 # Do not test the gmp version. Assume that it is sufficient, since
5496 # it is in the source tree, and the library has not been built yet
5497 # but it would be included on the link line in the version check below
5498 # hence making the test fail.
5502 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5504 saved_CFLAGS
="$CFLAGS"
5505 CFLAGS
="$CFLAGS $gmpinc"
5506 # Check for the recommended and required versions of GMP.
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5508 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5517 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5518 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5519 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5527 if ac_fn_c_try_compile
"$LINENO"; then :
5528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5529 /* end confdefs.h. */
5535 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5536 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5537 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5545 if ac_fn_c_try_compile
"$LINENO"; then :
5546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5547 $as_echo "yes" >&6; }
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5550 $as_echo "buggy but acceptable" >&6; }
5552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5555 $as_echo "no" >&6; }; have_gmp
=no
5557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5559 # If we have GMP, check the MPFR version.
5560 if test x
"$have_gmp" = xyes
; then
5561 # Check for the recommended and required versions of MPFR.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5563 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5572 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5580 if ac_fn_c_try_compile
"$LINENO"; then :
5581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5589 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5597 if ac_fn_c_try_compile
"$LINENO"; then :
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5599 $as_echo "yes" >&6; }
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5602 $as_echo "buggy but acceptable" >&6; }
5604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5607 $as_echo "no" >&6; }; have_gmp
=no
5609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 # Check for the MPC header version.
5613 if test x
"$have_gmp" = xyes
; then
5614 # Check for the recommended and required versions of MPC.
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5616 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5624 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5632 if ac_fn_c_try_compile
"$LINENO"; then :
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5640 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5648 if ac_fn_c_try_compile
"$LINENO"; then :
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5650 $as_echo "yes" >&6; }
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5653 $as_echo "buggy but acceptable" >&6; }
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5658 $as_echo "no" >&6; }; have_gmp
=no
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5663 # Now check the MPFR library.
5664 if test x
"$have_gmp" = xyes
; then
5666 LIBS
="$LIBS $gmplibs"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5668 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5670 /* end confdefs.h. */
5682 mpfr_atan2 (n, n, x, GMP_RNDN);
5683 mpfr_erfc (n, x, GMP_RNDN);
5684 mpfr_subnormalize (x, t, GMP_RNDN);
5688 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5689 mpc_cosh (c, c, MPC_RNDNN);
5690 mpc_pow (c, c, c, MPC_RNDNN);
5691 mpc_acosh (c, c, MPC_RNDNN);
5698 if ac_fn_c_try_link
"$LINENO"; then :
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5700 $as_echo "yes" >&6; }
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703 $as_echo "no" >&6; }; have_gmp
=no
5705 rm -f core conftest.err conftest.
$ac_objext \
5706 conftest
$ac_exeext conftest.
$ac_ext
5710 CFLAGS
="$saved_CFLAGS"
5712 # The library versions listed in the error message below should match
5713 # the HARD-minimums enforced above.
5714 if test x
$have_gmp != xyes
; then
5715 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5716 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5717 their locations. Source code for these libraries can be found at
5718 their respective hosting sites as well as at
5719 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5720 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5721 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5722 make sure that you have installed both the libraries and the header
5723 files. They may be located in separate packages." "$LINENO" 5
5727 # Flags needed for both GMP, MPFR and/or MPC.
5735 # Allow host libstdc++ to be specified for static linking with PPL.
5737 # Check whether --with-host-libstdcxx was given.
5738 if test "${with_host_libstdcxx+set}" = set; then :
5739 withval
=$with_host_libstdcxx;
5743 case $with_host_libstdcxx in
5745 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5749 # Libraries to use for stage1 or when not bootstrapping.
5751 # Check whether --with-stage1-libs was given.
5752 if test "${with_stage1_libs+set}" = set; then :
5753 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5756 stage1_libs
=$withval
5759 stage1_libs
=$with_host_libstdcxx
5764 # Linker flags to use for stage1 or when not bootstrapping.
5766 # Check whether --with-stage1-ldflags was given.
5767 if test "${with_stage1_ldflags+set}" = set; then :
5768 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5771 stage1_ldflags
=$withval
5775 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5776 # if supported. But if the user explicitly specified the libraries to use,
5777 # trust that they are doing what they want.
5778 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5779 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5785 # Libraries to use for stage2 and later builds. This defaults to the
5786 # argument passed to --with-host-libstdcxx.
5788 # Check whether --with-boot-libs was given.
5789 if test "${with_boot_libs+set}" = set; then :
5790 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5793 poststage1_libs
=$withval
5796 poststage1_libs
=$with_host_libstdcxx
5801 # Linker flags to use for stage2 and later builds.
5803 # Check whether --with-boot-ldflags was given.
5804 if test "${with_boot_ldflags+set}" = set; then :
5805 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5808 poststage1_ldflags
=$withval
5812 # In stages 2 and 3, default to linking libstdc++ and libgcc
5813 # statically. But if the user explicitly specified the libraries to
5814 # use, trust that they are doing what they want.
5815 if test "$poststage1_libs" = ""; then
5816 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5822 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5823 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5827 # Check whether --with-cloog was given.
5828 if test "${with_cloog+set}" = set; then :
5829 withval
=$with_cloog;
5833 # Check whether --with-isl was given.
5834 if test "${with_isl+set}" = set; then :
5839 # Treat --without-isl as a request to disable
5840 # GRAPHITE support and skip all following checks.
5841 if test "x$with_isl" != "xno"; then
5845 # Check whether --with-isl-include was given.
5846 if test "${with_isl_include+set}" = set; then :
5847 withval
=$with_isl_include;
5851 # Check whether --with-isl-lib was given.
5852 if test "${with_isl_lib+set}" = set; then :
5853 withval
=$with_isl_lib;
5857 # Check whether --enable-isl-version-check was given.
5858 if test "${enable_isl_version_check+set}" = set; then :
5859 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5861 ENABLE_ISL_CHECK
=yes
5865 # Initialize isllibs and islinc.
5874 isllibs
="-L$with_isl/lib"
5875 islinc
="-I$with_isl/include"
5878 if test "x${with_isl_include}" != x
; then
5879 islinc
="-I$with_isl_include"
5881 if test "x${with_isl_lib}" != x
; then
5882 isllibs
="-L$with_isl_lib"
5884 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5885 && test -d ${srcdir}/isl
; then
5886 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5887 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5890 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5893 islinc
="-DCLOOG_INT_GMP ${islinc}"
5894 isllibs
="${isllibs} -lisl"
5898 if test "${ENABLE_ISL_CHECK}" = yes ; then
5899 _isl_saved_CFLAGS
=$CFLAGS
5900 _isl_saved_LDFLAGS
=$LDFLAGS
5901 _isl_saved_LIBS
=$LIBS
5903 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5904 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5905 LIBS
="${_isl_saved_LIBS} -lisl"
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
5908 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
5909 if test "$cross_compiling" = yes; then :
5911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 #include <isl/version.h>
5918 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
5925 if ac_fn_c_try_link
"$LINENO"; then :
5930 rm -f core conftest.err conftest.
$ac_objext \
5931 conftest
$ac_exeext conftest.
$ac_ext
5934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 #include <isl/version.h>
5941 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
5948 if ac_fn_c_try_run
"$LINENO"; then :
5953 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5954 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5958 $as_echo "$gcc_cv_isl" >&6; }
5960 CFLAGS
=$_isl_saved_CFLAGS
5961 LDFLAGS
=$_isl_saved_LDFLAGS
5962 LIBS
=$_isl_saved_LIBS
5970 if test "x${with_isl}" = xno
; then
5971 graphite_requested
=no
5972 elif test "x${with_isl}" != x \
5973 ||
test "x${with_isl_include}" != x \
5974 ||
test "x${with_isl_lib}" != x
; then
5975 graphite_requested
=yes
5977 graphite_requested
=no
5982 if test "${gcc_cv_isl}" = no
; then
5987 if test "${graphite_requested}" = yes \
5988 && test "x${isllibs}" = x \
5989 && test "x${islinc}" = x
; then
5991 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5996 if test "x$gcc_cv_isl" != "xno"; then
6000 # Check whether --with-cloog-include was given.
6001 if test "${with_cloog_include+set}" = set; then :
6002 withval
=$with_cloog_include;
6006 # Check whether --with-cloog-lib was given.
6007 if test "${with_cloog_lib+set}" = set; then :
6008 withval
=$with_cloog_lib;
6012 # Check whether --enable-cloog-version-check was given.
6013 if test "${enable_cloog_version_check+set}" = set; then :
6014 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
6016 ENABLE_CLOOG_CHECK
=yes
6020 # Initialize clooglibs and clooginc.
6029 clooglibs
="-L$with_cloog/lib"
6030 clooginc
="-I$with_cloog/include"
6033 if test "x${with_cloog_include}" != x
; then
6034 clooginc
="-I$with_cloog_include"
6036 if test "x${with_cloog_lib}" != x
; then
6037 clooglibs
="-L$with_cloog_lib"
6039 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6040 && test -d ${srcdir}/cloog
; then
6041 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6042 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include'
6043 ENABLE_CLOOG_CHECK
=no
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6045 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6048 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6049 clooglibs
="${clooglibs} -lcloog-isl"
6055 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6056 _cloog_saved_CFLAGS
=$CFLAGS
6057 _cloog_saved_LDFLAGS
=$LDFLAGS
6059 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6060 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.1 of CLooG" >&5
6063 $as_echo_n "checking for version 0.18.1 of CLooG... " >&6; }
6064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6065 /* end confdefs.h. */
6066 #include "cloog/version.h"
6070 #if CLOOG_VERSION_MAJOR != 0 \
6071 || CLOOG_VERSION_MINOR != 18 \
6072 || CLOOG_VERSION_REVISION < 1
6079 if ac_fn_c_try_compile
"$LINENO"; then :
6084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6086 $as_echo "$gcc_cv_cloog" >&6; }
6088 CFLAGS
=$_cloog_saved_CFLAGS
6089 LDFLAGS
=$_cloog_saved_LDFLAGS
6098 if test "x${with_cloog}" = xno
; then
6099 graphite_requested
=no
6100 elif test "x${with_cloog}" != x \
6101 ||
test "x${with_cloog_include}" != x \
6102 ||
test "x${with_cloog_lib}" != x
; then
6103 graphite_requested
=yes
6105 graphite_requested
=no
6110 if test "${gcc_cv_cloog}" = no
; then
6115 if test "${graphite_requested}" = yes \
6116 && test "x${clooglibs}" = x \
6117 && test "x${clooginc}" = x
; then
6119 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6126 # If the ISL check failed, disable builds of in-tree
6127 # variants of both ISL and CLooG
6128 if test "x$with_isl" = xno ||
6129 test "x$gcc_cv_isl" = xno
; then
6130 noconfigdirs
="$noconfigdirs cloog isl"
6136 # If the CLooG check failed, disable builds of in-tree
6138 if test "x$with_cloog" = xno ||
6139 test "x$gcc_cv_cloog" = xno
; then
6140 noconfigdirs
="$noconfigdirs cloog isl"
6150 # Check for LTO support.
6151 # Check whether --enable-lto was given.
6152 if test "${enable_lto+set}" = set; then :
6153 enableval
=$enable_lto; enable_lto
=$enableval
6155 enable_lto
=yes; default_enable_lto
=yes
6164 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6165 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6166 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6174 if test $target_elf = yes; then :
6175 # ELF platforms build the lto-plugin always.
6176 build_lto_plugin
=yes
6179 if test x
"$default_enable_lto" = x
"yes" ; then
6181 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6182 # On other non-ELF platforms, LTO has yet to be validated.
6186 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6187 # It would also be nice to check the binutils support, but we don't
6188 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6189 # warn during gcc/ subconfigure; unless you're bootstrapping with
6190 # -flto it won't be needed until after installation anyway.
6192 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6193 *) if test x
"$enable_lto" = x
"yes"; then
6194 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6199 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6200 # Build it unless LTO was explicitly disabled.
6202 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6209 # Check whether --enable-linker-plugin-configure-flags was given.
6210 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6211 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6213 extra_linker_plugin_configure_flags
=
6217 # Check whether --enable-linker-plugin-flags was given.
6218 if test "${enable_linker_plugin_flags+set}" = set; then :
6219 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6221 extra_linker_plugin_flags
=
6227 # By default, C and C++ are the only stage 1 languages.
6228 stage1_languages
=,c
,
6230 # Target libraries that we bootstrap.
6231 bootstrap_target_libs
=,target-libgcc
,
6233 # Figure out what language subdirectories are present.
6234 # Look if the user specified --enable-languages="..."; if not, use
6235 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6237 # NB: embedded tabs in this IF block -- do not untabify
6238 if test -d ${srcdir}/gcc
; then
6239 if test x
"${enable_languages+set}" != xset
; then
6240 if test x
"${LANGUAGES+set}" = xset
; then
6241 enable_languages
="${LANGUAGES}"
6242 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6244 enable_languages
=all
6247 if test x
"${enable_languages}" = x ||
6248 test x
"${enable_languages}" = xyes
;
6250 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6254 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6256 # 'f95' is the old name for the 'fortran' language. We issue a warning
6257 # and make the substitution.
6258 case ,${enable_languages}, in
6260 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6261 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6265 # If bootstrapping, C++ must be enabled.
6266 case ",$enable_languages,:$enable_bootstrap" in
6269 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6270 enable_languages
="${enable_languages},c++"
6272 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6277 # First scan to see if an enabled language requires some other language.
6278 # We assume that a given config-lang.in will list all the language
6279 # front ends it requires, even if some are required indirectly.
6280 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6281 case ${lang_frag} in
6283 # The odd quoting in the next line works around
6284 # an apparent bug in bash 1.12 on linux.
6285 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6287 # From the config-lang.in, get $language, $lang_requires, and
6288 # $lang_requires_boot_languages.
6291 lang_requires_boot_languages
=
6293 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6294 case ,${enable_languages}, in
6298 echo " \`$other' language required by \`$language'; enabling" 1>&2
6299 enable_languages
="${enable_languages},${other}"
6303 for other
in ${lang_requires_boot_languages} ; do
6304 if test "$other" != "c"; then
6305 case ,${enable_stage1_languages}, in
6309 case ,${enable_languages}, in
6311 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6312 enable_stage1_languages
="$enable_stage1_languages,${other}"
6323 new_enable_languages
=,c
,
6325 # If LTO is enabled, add the LTO front end.
6326 extra_host_libiberty_configure_flags
=
6327 if test "$enable_lto" = "yes" ; then
6328 case ,${enable_languages}, in
6330 *) enable_languages
="${enable_languages},lto" ;;
6332 if test "${build_lto_plugin}" = "yes" ; then
6333 configdirs
="$configdirs lto-plugin"
6334 extra_host_libiberty_configure_flags
=--enable-shared
6339 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6340 potential_languages
=,c
,
6342 enabled_target_libs
=
6343 disabled_target_libs
=
6345 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6346 case ${lang_frag} in
6348 # The odd quoting in the next line works around
6349 # an apparent bug in bash 1.12 on linux.
6350 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6352 # From the config-lang.in, get $language, $target_libs,
6353 # $lang_dirs, $boot_language, and $build_by_default
6359 build_by_default
=yes
6361 if test x
${language} = x
; then
6362 echo "${lang_frag} doesn't set \$language." 1>&2
6366 if test "$language" = "c++"; then
6371 case ,${enable_languages}, in
6373 # Language was explicitly selected; include it
6374 # unless it is C, which is enabled by default.
6375 if test "$language" != "c"; then
6380 # 'all' was selected, select it if it is a default language
6381 if test "$language" != "c"; then
6382 add_this_lang
=${build_by_default}
6387 # Disable languages that need other directories if these aren't available.
6388 for i
in $subdir_requires; do
6389 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6390 case ,${enable_languages}, in
6392 # Specifically requested language; tell them.
6393 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6397 add_this_lang
=unsupported
6402 # Disable Ada if no preexisting GNAT is available.
6403 case ,${enable_languages},:${language}:${have_gnat} in
6404 *,${language},*:ada
:no
)
6405 # Specifically requested language; tell them.
6406 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6410 add_this_lang
=unsupported
6414 # Disable a language that is unsupported by the target.
6415 case " $unsupported_languages " in
6417 add_this_lang
=unsupported
6421 case $add_this_lang in
6423 # Remove language-dependent dirs.
6424 disabled_target_libs
="$disabled_target_libs $target_libs"
6425 noconfigdirs
="$noconfigdirs $lang_dirs"
6428 # Remove language-dependent dirs; still show language as supported.
6429 disabled_target_libs
="$disabled_target_libs $target_libs"
6430 noconfigdirs
="$noconfigdirs $lang_dirs"
6431 potential_languages
="${potential_languages}${language},"
6434 new_enable_languages
="${new_enable_languages}${language},"
6435 potential_languages
="${potential_languages}${language},"
6436 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6437 enabled_target_libs
="$enabled_target_libs $target_libs"
6438 case "${boot_language}:,$enable_stage1_languages," in
6439 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6440 # Add to (comma-separated) list of stage 1 languages.
6441 case ",$stage1_languages," in
6442 *,$language,* |
,yes, |
,all
,) ;;
6443 *) stage1_languages
="${stage1_languages}${language}," ;;
6445 # We need to bootstrap any supporting libraries.
6446 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6455 # Add target libraries which are only needed for disabled languages
6457 if test -n "$disabled_target_libs"; then
6458 for dir
in $disabled_target_libs; do
6459 case " $enabled_target_libs " in
6461 *) noconfigdirs
="$noconfigdirs $dir" ;;
6466 # Check whether --enable-stage1-languages was given.
6467 if test "${enable_stage1_languages+set}" = set; then :
6468 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6470 # Set it to something that will have no effect in the loop below
6471 enable_stage1_languages
=c
;;
6473 enable_stage1_languages
=`echo $new_enable_languages | \
6474 sed -e "s/^,//" -e "s/,$//" ` ;;
6476 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6477 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6480 # Add "good" languages from enable_stage1_languages to stage1_languages,
6481 # while "bad" languages go in missing_languages. Leave no duplicates.
6482 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6483 case $potential_languages in
6485 case $stage1_languages in
6487 *) stage1_languages
="$stage1_languages$i," ;;
6490 case $missing_languages in
6492 *) missing_languages
="$missing_languages$i," ;;
6499 # Remove leading/trailing commas that were added for simplicity
6500 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6501 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6502 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6503 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6505 if test "x$missing_languages" != x
; then
6507 The following requested languages could not be built: ${missing_languages}
6508 Supported languages are: ${potential_languages}" "$LINENO" 5
6510 if test "x$new_enable_languages" != "x$enable_languages"; then
6511 echo The following languages will be built
: ${new_enable_languages}
6512 enable_languages
="$new_enable_languages"
6516 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6519 # Handle --disable-<component> generically.
6520 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6521 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6522 varname
=`echo $dirname | sed -e s/+/_/g`
6523 if eval test x\
${enable_${varname}} "=" xno
; then
6524 noconfigdirs
="$noconfigdirs $dir"
6528 # Check for Boehm's garbage collector
6529 # Check whether --enable-objc-gc was given.
6530 if test "${enable_objc_gc+set}" = set; then :
6531 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6532 *,objc
,*:*:yes:*target-boehm-gc
*)
6533 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6539 # Make sure we only build Boehm's garbage collector if required.
6540 case ,${enable_languages},:${enable_objc_gc} in
6542 # Keep target-boehm-gc if requested for Objective-C.
6545 # Otherwise remove target-boehm-gc depending on target-libjava.
6546 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6547 noconfigdirs
="$noconfigdirs target-boehm-gc"
6552 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6553 case ,${enable_languages}, in
6555 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6556 case "${noconfigdirs}" in
6557 *target-libstdc
++-v3*)
6558 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6564 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6568 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6569 # $build_configdirs and $target_configdirs.
6570 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6573 for dir
in .
$skipdirs $noconfigdirs ; do
6574 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6575 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6576 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6577 if test -r $srcdir/$dirname/configure
; then
6578 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6581 notsupp
="$notsupp $dir"
6585 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6586 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6587 if test -r $srcdir/$dirname/configure
; then
6588 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6591 notsupp
="$notsupp $dir"
6595 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6596 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6597 if test -r $srcdir/$dirname/configure
; then
6598 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6601 notsupp
="$notsupp $dir"
6607 # Quietly strip out all directories which aren't configurable in this tree.
6608 # This relies on all configurable subdirectories being autoconfiscated, which
6610 build_configdirs_all
="$build_configdirs"
6612 for i
in ${build_configdirs_all} ; do
6613 j
=`echo $i | sed -e s/build-//g`
6614 if test -f ${srcdir}/$j/configure
; then
6615 build_configdirs
="${build_configdirs} $i"
6619 configdirs_all
="$configdirs"
6621 for i
in ${configdirs_all} ; do
6622 if test -f ${srcdir}/$i/configure
; then
6623 configdirs
="${configdirs} $i"
6627 target_configdirs_all
="$target_configdirs"
6629 for i
in ${target_configdirs_all} ; do
6630 j
=`echo $i | sed -e s/target-//g`
6631 if test -f ${srcdir}/$j/configure
; then
6632 target_configdirs
="${target_configdirs} $i"
6636 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6637 # so we have to add it after the preceding checks.
6638 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6640 case " $configdirs " in
6642 # If we can build libiberty, we can also build libiberty-linker-plugin.
6643 configdirs
="$configdirs libiberty-linker-plugin"
6644 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6645 --with-libiberty=../libiberty-linker-plugin";;
6647 as_fn_error
"libiberty missing" "$LINENO" 5;;
6651 # Produce a warning message for the subdirs we can't configure.
6652 # This isn't especially interesting in the Cygnus tree, but in the individual
6653 # FSF releases, it's important to let people know when their machine isn't
6654 # supported by the one or two programs in a package.
6656 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6657 # If $appdirs is non-empty, at least one of those directories must still
6658 # be configured, or we error out. (E.g., if the gas release supports a
6659 # specified target in some subdirs but not the gas subdir, we shouldn't
6660 # pretend that all is well.)
6661 if test -n "$appdirs" ; then
6662 for dir
in $appdirs ; do
6663 if test -r $dir/Makefile.
in ; then
6664 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6668 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6674 if test -n "$appdirs" ; then
6675 echo "*** This configuration is not supported by this package." 1>&2
6679 # Okay, some application will build, or we don't care to check. Still
6680 # notify of subdirs not getting built.
6681 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6682 echo " ${notsupp}" 1>&2
6683 echo " (Any other directories should still work fine.)" 1>&2
6691 # To find our prefix, in gcc_cv_tool_prefix.
6693 # The user is always right.
6694 if test "${PATH_SEPARATOR+set}" != set; then
6695 echo "#! /bin/sh" >conf$$.sh
6696 echo "exit 0" >>conf$$.sh
6698 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6708 if test "x$exec_prefix" = xNONE
; then
6709 if test "x$prefix" = xNONE
; then
6710 gcc_cv_tool_prefix
=$ac_default_prefix
6712 gcc_cv_tool_prefix
=$prefix
6715 gcc_cv_tool_prefix
=$exec_prefix
6718 # If there is no compiler in the tree, use the PATH only. In any
6719 # case, if there is no compiler in the tree nobody should use
6720 # AS_FOR_TARGET and LD_FOR_TARGET.
6721 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6722 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6723 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6724 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6725 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6726 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6727 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6728 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6733 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6734 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6742 # Check whether --with-build-sysroot was given.
6743 if test "${with_build_sysroot+set}" = set; then :
6744 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6745 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6748 SYSROOT_CFLAGS_FOR_TARGET
=
6754 # Check whether --with-debug-prefix-map was given.
6755 if test "${with_debug_prefix_map+set}" = set; then :
6756 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6757 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6758 for debug_map
in $withval; do
6759 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6763 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6768 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6769 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6770 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6771 # We want to ensure that TARGET libraries (which we know are built with
6772 # gcc) are built with "-O2 -g", so include those options when setting
6773 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6774 if test "x$CFLAGS_FOR_TARGET" = x
; then
6775 CFLAGS_FOR_TARGET
=$CFLAGS
6778 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6781 *" -g "* |
*" -g3 "*) ;;
6782 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6787 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6788 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6789 case " $CXXFLAGS " in
6791 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6793 case " $CXXFLAGS " in
6794 *" -g "* |
*" -g3 "*) ;;
6795 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6802 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6803 # the named directory are copied to $(tooldir)/sys-include.
6804 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6805 if test x
${is_cross_compiler} = xno
; then
6806 echo 1>&2 '***' --with-headers is only supported when cross compiling
6809 if test x
"${with_headers}" != xyes
; then
6810 x
=${gcc_cv_tool_prefix}
6811 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6815 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6816 # the name directories are copied to $(tooldir)/lib. Multiple directories
6818 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6819 if test x
${is_cross_compiler} = xno
; then
6820 echo 1>&2 '***' --with-libs is only supported when cross compiling
6823 if test x
"${with_libs}" != xyes
; then
6824 # Copy the libraries in reverse order, so that files in the first named
6825 # library override files in subsequent libraries.
6826 x
=${gcc_cv_tool_prefix}
6827 for l
in ${with_libs}; do
6828 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6833 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6835 # This is done by determining whether or not the appropriate directory
6836 # is available, and by checking whether or not specific configurations
6837 # have requested that this magic not happen.
6839 # The command line options always override the explicit settings in
6840 # configure.in, and the settings in configure.in override this magic.
6842 # If the default for a toolchain is to use GNU as and ld, and you don't
6843 # want to do that, then you should use the --without-gnu-as and
6844 # --without-gnu-ld options for the configure script. Similarly, if
6845 # the default is to use the included zlib and you don't want to do that,
6846 # you should use the --with-system-zlib option for the configure script.
6848 if test x
${use_gnu_as} = x
&&
6849 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6851 extra_host_args
="$extra_host_args --with-gnu-as"
6854 if test x
${use_gnu_ld} = x
&&
6855 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6857 extra_host_args
="$extra_host_args --with-gnu-ld"
6860 if test x
${use_included_zlib} = x
&&
6861 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6864 with_system_zlib
=yes
6865 extra_host_args
="$extra_host_args --with-system-zlib"
6868 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6869 # can detect this case.
6871 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6873 extra_host_args
="$extra_host_args --with-newlib"
6876 # Handle ${copy_dirs}
6877 set fnord
${copy_dirs}
6879 while test $# != 0 ; do
6880 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6883 echo Copying
$1 to
$2
6885 # Use the install script to create the directory and all required
6886 # parent directories.
6887 if test -d $2 ; then
6891 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6894 # Copy the directory, assuming we have tar.
6895 # FIXME: Should we use B in the second tar? Not all systems support it.
6896 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6898 # It is the responsibility of the user to correctly adjust all
6899 # symlinks. If somebody can figure out how to handle them correctly
6900 # here, feel free to add the code.
6907 # Determine a target-dependent exec_prefix that the installed
6908 # gcc will search in. Keep this list sorted by triplet, with
6909 # the *-*-osname triplets last.
6912 i
[34567]86-pc-msdosdjgpp*)
6913 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6918 md_exec_prefix
=/usr
/ccs
/bin
6922 extra_arflags_for_target
=
6923 extra_nmflags_for_target
=
6924 extra_ranlibflags_for_target
=
6925 target_makefile_frag
=/dev
/null
6928 target_makefile_frag
="config/mt-spu"
6930 mips
*-sde-elf* | mips
*-mti-elf*)
6931 target_makefile_frag
="config/mt-sde"
6933 mipsisa
*-*-elfoabi*)
6934 target_makefile_frag
="config/mt-mips-elfoabi"
6936 mips
*-*-*linux
* | mips
*-*-gnu*)
6937 target_makefile_frag
="config/mt-mips-gnu"
6940 target_makefile_frag
="config/mt-nios2-elf"
6942 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6943 target_makefile_frag
="config/mt-gnu"
6945 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6946 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6947 # commands to handle both 32-bit and 64-bit objects. These flags are
6948 # harmless if we're using GNU nm or ar.
6949 extra_arflags_for_target
=" -X32_64"
6950 extra_nmflags_for_target
=" -B -X32_64"
6954 alphaieee_frag
=/dev
/null
6957 # This just makes sure to use the -mieee option to build target libs.
6958 # This should probably be set individually by each library.
6959 alphaieee_frag
="config/mt-alphaieee"
6963 # If --enable-target-optspace always use -Os instead of -O2 to build
6964 # the target libraries, similarly if it is not specified, use -Os
6965 # on selected platforms.
6966 ospace_frag
=/dev
/null
6967 case "${enable_target_optspace}:${target}" in
6969 ospace_frag
="config/mt-ospace"
6972 ospace_frag
="config/mt-d30v"
6974 :m32r-
* |
:d10v-
* |
:fr30-
*)
6975 ospace_frag
="config/mt-ospace"
6980 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6984 # Some systems (e.g., one of the i386-aix systems the gas testers are
6985 # using) don't handle "\$" correctly, so don't use it here.
6986 tooldir
='${exec_prefix}'/${target_noncanonical}
6987 build_tooldir
=${tooldir}
6989 # Create a .gdbinit file which runs the one in srcdir
6990 # and tells GDB to look there for source files.
6992 if test -r ${srcdir}/.gdbinit
; then
6995 *) cat > .
/.gdbinit
<<EOF
6999 source ${srcdir}/.gdbinit
7005 # Make sure that the compiler is able to generate an executable. If it
7006 # can't, we are probably in trouble. We don't care whether we can run the
7007 # executable--we might be using a cross compiler--we only care whether it
7008 # can be created. At this point the main configure script has set CC.
7010 echo "int main () { return 0; }" > conftest.c
7011 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7012 if test $?
= 0 ; then
7013 if test -s conftest ||
test -s conftest.exe
; then
7019 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7020 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7027 # Decide which environment variable is used to find dynamic libraries.
7029 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7030 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7031 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7032 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7035 # On systems where the dynamic library environment variable is PATH,
7036 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7037 # built executables to PATH.
7038 if test "$RPATH_ENVVAR" = PATH
; then
7039 GCC_SHLIB_SUBDIR
=/shlib
7044 # Adjust the toplevel makefile according to whether bootstrap was selected.
7045 case $enable_bootstrap in
7047 bootstrap_suffix
=bootstrap
7048 BUILD_CONFIG
=bootstrap-debug
7051 bootstrap_suffix
=no-bootstrap
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7057 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7060 # Check whether --with-build-config was given.
7061 if test "${with_build_config+set}" = set; then :
7062 withval
=$with_build_config; case $with_build_config in
7063 yes) with_build_config
= ;;
7064 no
) with_build_config
= BUILD_CONFIG
= ;;
7069 if test "x${with_build_config}" != x
; then
7070 BUILD_CONFIG
=$with_build_config
7072 case $BUILD_CONFIG in
7074 if echo "int f (void) { return 0; }" > conftest.c
&&
7075 ${CC} -c conftest.c
&&
7076 mv conftest.o conftest.o.g0
&&
7077 ${CC} -c -g conftest.c
&&
7078 mv conftest.o conftest.o.g
&&
7079 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7084 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7089 $as_echo "$BUILD_CONFIG" >&6; }
7092 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7094 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7095 # Check whether --enable-vtable-verify was given.
7096 if test "${enable_vtable_verify+set}" = set; then :
7097 enableval
=$enable_vtable_verify; case "$enableval" in
7098 yes) enable_vtable_verify
=yes ;;
7099 no
) enable_vtable_verify
=no
;;
7100 *) enable_vtable_verify
=no
;;
7103 enable_vtable_verify
=no
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7107 $as_echo "$enable_vtable_verify" >&6; }
7109 # Record target_configdirs and the configure arguments for target and
7110 # build configuration in Makefile.
7111 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7112 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7113 bootstrap_fixincludes
=no
7115 # If we are building libgomp, bootstrap it.
7116 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7117 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7120 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7121 # or bootstrap-ubsan, bootstrap it.
7122 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7123 case "$BUILD_CONFIG" in
7124 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7125 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7126 bootstrap_fixincludes
=yes
7131 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7132 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7133 test "$enable_vtable_verify" != no
; then
7134 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7137 # Determine whether gdb needs tk/tcl or not.
7138 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7139 # and in that case we want gdb to be built without tk. Ugh!
7140 # In fact I believe gdb is the *only* package directly dependent on tk,
7141 # so we should be able to put the 'maybe's in unconditionally and
7142 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7143 # 100% sure that that's safe though.
7145 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7146 case "$enable_gdbtk" in
7150 GDB_TK
="${gdb_tk}" ;;
7152 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7153 # distro. Eventually someone will fix this and move Insight, nee
7154 # gdbtk to a separate directory.
7155 if test -d ${srcdir}/gdb
/gdbtk
; then
7162 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7163 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7165 # Strip out unwanted targets.
7167 # While at that, we remove Makefiles if we were started for recursive
7168 # configuration, so that the top-level Makefile reconfigures them,
7169 # like we used to do when configure itself was recursive.
7171 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7172 # but now we're fixing up the Makefile ourselves with the additional
7173 # commands passed to AC_CONFIG_FILES. Use separate variables
7174 # extrasub-{build,host,target} not because there is any reason to split
7175 # the substitutions up that way, but only to remain below the limit of
7176 # 99 commands in a script, for HP-UX sed.
7177 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7179 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7180 yes:yes:*\ gold\
*:*,c
++,*) ;;
7181 yes:yes:*\ gold\
*:*)
7182 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7187 for module
in ${build_configdirs} ; do
7188 if test -z "${no_recursion}" \
7189 && test -f ${build_subdir}/${module}/Makefile
; then
7190 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7191 rm -f ${build_subdir}/${module}/Makefile
7193 extrasub_build
="$extrasub_build
7194 /^@if build-$module\$/d
7195 /^@endif build-$module\$/d
7196 /^@if build-$module-$bootstrap_suffix\$/d
7197 /^@endif build-$module-$bootstrap_suffix\$/d"
7200 for module
in ${configdirs} ; do
7201 if test -z "${no_recursion}"; then
7202 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7203 if test -f ${file}; then
7204 echo 1>&2 "*** removing ${file} to force reconfigure"
7209 case ${module},${bootstrap_fixincludes} in
7210 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7211 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7213 extrasub_host
="$extrasub_host
7215 /^@endif $module\$/d
7216 /^@if $module-$host_bootstrap_suffix\$/d
7217 /^@endif $module-$host_bootstrap_suffix\$/d"
7220 for module
in ${target_configdirs} ; do
7221 if test -z "${no_recursion}" \
7222 && test -f ${target_subdir}/${module}/Makefile
; then
7223 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7224 rm -f ${target_subdir}/${module}/Makefile
7227 # We only bootstrap target libraries listed in bootstrap_target_libs.
7228 case $bootstrap_target_libs in
7229 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7230 *) target_bootstrap_suffix
=no-bootstrap
;;
7233 extrasub_target
="$extrasub_target
7234 /^@if target-$module\$/d
7235 /^@endif target-$module\$/d
7236 /^@if target-$module-$target_bootstrap_suffix\$/d
7237 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7240 # Do the final fixup along with target modules.
7241 extrasub_target
="$extrasub_target
7242 /^@if /,/^@endif /d"
7244 # Create the serialization dependencies. This uses a temporary file.
7246 # Check whether --enable-serial-configure was given.
7247 if test "${enable_serial_configure+set}" = set; then :
7248 enableval
=$enable_serial_configure;
7252 case ${enable_serial_configure} in
7254 enable_serial_build_configure
=yes
7255 enable_serial_host_configure
=yes
7256 enable_serial_target_configure
=yes
7260 # These force 'configure's to be done one at a time, to avoid problems
7261 # with contention over a shared config.cache.
7263 echo '# serdep.tmp' > serdep.tmp
7265 test "x${enable_serial_build_configure}" = xyes
&&
7266 for item
in ${build_configdirs} ; do
7269 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7274 test "x${enable_serial_host_configure}" = xyes
&&
7275 for item
in ${configdirs} ; do
7278 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7283 test "x${enable_serial_target_configure}" = xyes
&&
7284 for item
in ${target_configdirs} ; do
7287 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7291 serialization_dependencies
=serdep.tmp
7294 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7295 # target, nonopt, and variable assignments. These are the ones we
7296 # might not want to pass down to subconfigures. The exception being
7297 # --cache-file=/dev/null, which is used to turn off the use of cache
7298 # files altogether, and which should be passed on to subconfigures.
7299 # Also strip program-prefix, program-suffix, and program-transform-name,
7300 # so that we can pass down a consistent program-transform-name.
7305 eval "set -- $ac_configure_args"
7308 if test X
"$skip_next" = X
"yes"; then
7312 if test X
"$keep_next" = X
"yes"; then
7315 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7317 baseargs
="$baseargs '$ac_arg'"
7318 tbaseargs
="$tbaseargs '$ac_arg'"
7323 # Handle separated arguments. Based on the logic generated by
7326 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7327 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7328 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7329 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7343 --with-* |
--without-*)
7344 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7348 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7351 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7360 mpc | mpfr | gmp | isl | cloog
)
7361 # If we're processing --with-$lib, --with-$lib-include or
7362 # --with-$lib-lib, for one of the libs above, and target is
7363 # different from host, don't pass the current argument to any
7364 # target library's configure.
7365 if test x
$is_cross_compiler = xyes
; then
7374 --cache-file=/dev
/null | \
7375 -cache-file=/dev
/null
)
7376 # Handled here to avoid the test to skip args below.
7377 baseargs
="$baseargs '$ac_arg'"
7378 tbaseargs
="$tbaseargs '$ac_arg'"
7379 # Assert: $separate_arg should always be no.
7380 keep_next
=$separate_arg
7396 -program-prefix* | \
7397 -program-suffix* | \
7398 -program-transform-name* )
7399 skip_next
=$separate_arg
7403 # An option. Add it.
7406 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7408 baseargs
="$baseargs '$ac_arg'"
7409 if test X
"$skip_targ" = Xno
; then
7410 tbaseargs
="$tbaseargs '$ac_arg'"
7412 keep_next
=$separate_arg
7415 # Either a variable assignment, or a nonopt (triplet). Don't
7416 # pass it down; let the Makefile handle this.
7421 # Remove the initial space we just introduced and, as these will be
7422 # expanded by make, quote '$'.
7423 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7425 # Add in --program-transform-name, after --program-prefix and
7426 # --program-suffix have been applied to it. Autoconf has already
7427 # doubled dollar signs and backslashes in program_transform_name; we want
7428 # the backslashes un-doubled, and then the entire thing wrapped in single
7429 # quotes, because this will be expanded first by make and then by the shell.
7430 # Also, because we want to override the logic in subdir configure scripts to
7431 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7432 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7433 ${program_transform_name}
7435 gcc_transform_name
=`cat conftestsed.out`
7436 rm -f conftestsed.out
7437 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7438 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7439 if test "$silent" = yes; then
7440 baseargs
="$baseargs --silent"
7441 tbaseargs
="$tbaseargs --silent"
7443 baseargs
="$baseargs --disable-option-checking"
7444 tbaseargs
="$tbaseargs --disable-option-checking"
7446 # Record and document user additions to sub configure arguments.
7451 # For the build-side libraries, we just need to pretend we're native,
7452 # and not use the same cache file. Multilibs are neither needed nor
7454 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7456 # For host modules, accept cache file option, or specification as blank.
7457 case "${cache_file}" in
7459 cache_file_option
="" ;;
7460 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7461 cache_file_option
="--cache-file=${cache_file}" ;;
7463 cache_file_option
="--cache-file=../${cache_file}" ;;
7466 # Host dirs don't like to share a cache file either, horribly enough.
7467 # This seems to be due to autoconf 2.5x stupidity.
7468 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7470 target_configargs
="$target_configargs ${tbaseargs}"
7472 # Passing a --with-cross-host argument lets the target libraries know
7473 # whether they are being built with a cross-compiler or being built
7474 # native. However, it would be better to use other mechanisms to make the
7475 # sorts of decisions they want to make on this basis. Please consider
7476 # this option to be deprecated. FIXME.
7477 if test x
${is_cross_compiler} = xyes
; then
7478 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7481 # Special user-friendly check for native x86_64-linux build, if
7482 # multilib is not explicitly enabled.
7483 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7484 x86_64-
*linux
*:yes:$build:$build:)
7485 # Make sure we have a developement environment that handles 32-bit
7487 echo "int main () { return 0; }" > conftest.c
7488 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7489 if test $?
= 0 ; then
7490 if test -s conftest ||
test -s conftest.exe
; then
7495 if test x
${dev64} != xyes
; then
7496 as_fn_error
"I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7501 # Default to --enable-multilib.
7502 if test x
${enable_multilib} = x
; then
7503 target_configargs
="--enable-multilib ${target_configargs}"
7506 # Pass --with-newlib if appropriate. Note that target_configdirs has
7507 # changed from the earlier setting of with_newlib.
7508 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7509 target_configargs
="--with-newlib ${target_configargs}"
7512 # Different target subdirs use different values of certain variables
7513 # (notably CXX). Worse, multilibs use *lots* of different values.
7514 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7515 # it doesn't automatically accept command-line overrides of them.
7516 # This means it's not safe for target subdirs to share a cache file,
7517 # which is disgusting, but there you have it. Hopefully this can be
7518 # fixed in future. It's still worthwhile to use a cache file for each
7519 # directory. I think.
7521 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7522 # We need to pass --target, as newer autoconf's requires consistency
7523 # for target_alias and gcc doesn't manage it consistently.
7524 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7527 case " $target_configdirs " in
7529 case " $target_configargs " in
7530 *" --with-newlib "*)
7533 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7537 # If we're not building GCC, don't discard standard headers.
7538 if test -d ${srcdir}/gcc
; then
7539 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7541 if test "${build}" != "${host}"; then
7542 # On Canadian crosses, CC_FOR_TARGET will have already been set
7543 # by `configure', so we won't have an opportunity to add -Bgcc/
7544 # to it. This is right: we don't want to search that directory
7545 # for binaries, but we want the header files in there, so add
7547 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7549 # Someone might think of using the pre-installed headers on
7550 # Canadian crosses, in case the installed compiler is not fully
7551 # compatible with the compiler being built. In this case, it
7552 # would be better to flag an error than risking having
7553 # incompatible object files being constructed. We can't
7554 # guarantee that an error will be flagged, but let's hope the
7555 # compiler will do it, when presented with incompatible header
7560 case "${target}-${is_cross_compiler}" in
7561 i
[3456789]86-*-linux*-no)
7562 # Here host == target, so we don't need to build gcc,
7563 # so we don't want to discard standard headers.
7564 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7567 # If we're building newlib, use its generic headers last, but search
7568 # for any libc-related directories first (so make it the last -B
7570 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7572 # If we're building libgloss, find the startup file, simulator library
7573 # and linker script.
7574 case " $target_configdirs " in
7576 # Look for startup file, simulator library and maybe linker script.
7577 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7578 # Look for libnosys.a in case the target needs it.
7579 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7580 # Most targets have the linker script in the source directory.
7581 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7592 x86_64-
*mingw
* |
*-w64-mingw*)
7593 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7594 # however, use a symlink named 'mingw' in ${prefix} .
7595 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7598 # MinGW can't be handled as Cygwin above since it does not use newlib.
7599 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'
7603 # Allow the user to override the flags for
7604 # our build compiler if desired.
7605 if test x
"${build}" = x
"${host}" ; then
7606 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7607 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7608 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7611 # On Canadian crosses, we'll be searching the right directories for
7612 # the previously-installed cross compiler, so don't bother to add
7613 # flags for directories within the install tree of the compiler
7614 # being built; programs in there won't even run.
7615 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7616 # Search for pre-installed headers if nothing else fits.
7617 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7620 if test "x
${use_gnu_ld}" = x &&
7621 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7622 # Arrange for us to find uninstalled linker scripts.
7623 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7626 # Search for other target-specific linker scripts and such.
7629 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7633 # Makefile fragments.
7634 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7636 eval fragval=\$$frag
7637 if test $fragval != /dev/null; then
7638 eval $frag=${srcdir}/$fragval
7646 # Miscellanea: directories, flags, etc.
7655 # Build module lists & subconfigure args.
7659 # Host module lists & subconfigure args.
7664 # Target module lists & subconfigure args.
7686 # Generate default definitions for YACC, M4, LEX and other programs that run
7687 # on the build machine. These are used if the Makefile can't locate these
7688 # programs in objdir.
7689 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7691 for ac_prog in 'bison -y' byacc yacc
7693 # Extract the first word of "$ac_prog", so it can be a program name with args.
7694 set dummy $ac_prog; ac_word=$2
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7696 $as_echo_n "checking
for $ac_word...
" >&6; }
7697 if test "${ac_cv_prog_YACC+set}" = set; then :
7698 $as_echo_n "(cached
) " >&6
7700 if test -n "$YACC"; then
7701 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7707 test -z "$as_dir" && as_dir=.
7708 for ac_exec_ext in '' $ac_executable_extensions; do
7709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7710 ac_cv_prog_YACC="$ac_prog"
7711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7720 YACC=$ac_cv_prog_YACC
7721 if test -n "$YACC"; then
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7723 $as_echo "$YACC" >&6; }
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7726 $as_echo "no
" >&6; }
7730 test -n "$YACC" && break
7732 test -n "$YACC" || YACC="$MISSING bison
-y"
7734 case " $build_configdirs " in
7735 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7738 for ac_prog in bison
7740 # Extract the first word of "$ac_prog", so it can be a program name with args.
7741 set dummy $ac_prog; ac_word=$2
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7743 $as_echo_n "checking
for $ac_word...
" >&6; }
7744 if test "${ac_cv_prog_BISON+set}" = set; then :
7745 $as_echo_n "(cached
) " >&6
7747 if test -n "$BISON"; then
7748 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 test -z "$as_dir" && as_dir=.
7755 for ac_exec_ext in '' $ac_executable_extensions; do
7756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7757 ac_cv_prog_BISON="$ac_prog"
7758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7767 BISON=$ac_cv_prog_BISON
7768 if test -n "$BISON"; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7770 $as_echo "$BISON" >&6; }
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7773 $as_echo "no
" >&6; }
7777 test -n "$BISON" && break
7779 test -n "$BISON" || BISON="$MISSING bison
"
7781 case " $build_configdirs " in
7782 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7785 for ac_prog in gm4 gnum4 m4
7787 # Extract the first word of "$ac_prog", so it can be a program name with args.
7788 set dummy $ac_prog; ac_word=$2
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7790 $as_echo_n "checking
for $ac_word...
" >&6; }
7791 if test "${ac_cv_prog_M4+set}" = set; then :
7792 $as_echo_n "(cached
) " >&6
7794 if test -n "$M4"; then
7795 ac_cv_prog_M4="$M4" # Let the user override the test.
7797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7801 test -z "$as_dir" && as_dir=.
7802 for ac_exec_ext in '' $ac_executable_extensions; do
7803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7804 ac_cv_prog_M4="$ac_prog"
7805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7815 if test -n "$M4"; then
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7817 $as_echo "$M4" >&6; }
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7820 $as_echo "no
" >&6; }
7824 test -n "$M4" && break
7826 test -n "$M4" || M4="$MISSING m4"
7828 case " $build_configdirs " in
7829 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7832 for ac_prog in flex lex
7834 # Extract the first word of "$ac_prog", so it can be a program name with args.
7835 set dummy $ac_prog; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7837 $as_echo_n "checking
for $ac_word...
" >&6; }
7838 if test "${ac_cv_prog_LEX+set}" = set; then :
7839 $as_echo_n "(cached
) " >&6
7841 if test -n "$LEX"; then
7842 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7848 test -z "$as_dir" && as_dir=.
7849 for ac_exec_ext in '' $ac_executable_extensions; do
7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7851 ac_cv_prog_LEX="$ac_prog"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7862 if test -n "$LEX"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7864 $as_echo "$LEX" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7867 $as_echo "no
" >&6; }
7871 test -n "$LEX" && break
7873 test -n "$LEX" || LEX="$MISSING flex
"
7875 case " $build_configdirs " in
7876 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7877 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7882 # Extract the first word of "$ac_prog", so it can be a program name with args.
7883 set dummy $ac_prog; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7885 $as_echo_n "checking
for $ac_word...
" >&6; }
7886 if test "${ac_cv_prog_FLEX+set}" = set; then :
7887 $as_echo_n "(cached
) " >&6
7889 if test -n "$FLEX"; then
7890 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_FLEX="$ac_prog"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7909 FLEX=$ac_cv_prog_FLEX
7910 if test -n "$FLEX"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7912 $as_echo "$FLEX" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7915 $as_echo "no
" >&6; }
7919 test -n "$FLEX" && break
7921 test -n "$FLEX" || FLEX="$MISSING flex
"
7923 case " $build_configdirs " in
7924 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7927 for ac_prog in makeinfo
7929 # Extract the first word of "$ac_prog", so it can be a program name with args.
7930 set dummy $ac_prog; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7932 $as_echo_n "checking
for $ac_word...
" >&6; }
7933 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7934 $as_echo_n "(cached
) " >&6
7936 if test -n "$MAKEINFO"; then
7937 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946 ac_cv_prog_MAKEINFO="$ac_prog"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7956 MAKEINFO=$ac_cv_prog_MAKEINFO
7957 if test -n "$MAKEINFO"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7959 $as_echo "$MAKEINFO" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7962 $as_echo "no
" >&6; }
7966 test -n "$MAKEINFO" && break
7968 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7970 case " $build_configdirs " in
7971 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7974 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7975 # higher, else we use the "missing
" dummy.
7976 if ${MAKEINFO} --version \
7977 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7980 MAKEINFO="$MISSING makeinfo
"
7986 # FIXME: expect and dejagnu may become build tools?
7988 for ac_prog in expect
7990 # Extract the first word of "$ac_prog", so it can be a program name with args.
7991 set dummy $ac_prog; ac_word=$2
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7993 $as_echo_n "checking
for $ac_word...
" >&6; }
7994 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7995 $as_echo_n "(cached
) " >&6
7997 if test -n "$EXPECT"; then
7998 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 test -z "$as_dir" && as_dir=.
8005 for ac_exec_ext in '' $ac_executable_extensions; do
8006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8007 ac_cv_prog_EXPECT="$ac_prog"
8008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8017 EXPECT=$ac_cv_prog_EXPECT
8018 if test -n "$EXPECT"; then
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8020 $as_echo "$EXPECT" >&6; }
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8023 $as_echo "no
" >&6; }
8027 test -n "$EXPECT" && break
8029 test -n "$EXPECT" || EXPECT="expect
"
8031 case " $configdirs " in
8033 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8037 for ac_prog in runtest
8039 # Extract the first word of "$ac_prog", so it can be a program name with args.
8040 set dummy $ac_prog; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8042 $as_echo_n "checking
for $ac_word...
" >&6; }
8043 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8044 $as_echo_n "(cached
) " >&6
8046 if test -n "$RUNTEST"; then
8047 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8056 ac_cv_prog_RUNTEST="$ac_prog"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8066 RUNTEST=$ac_cv_prog_RUNTEST
8067 if test -n "$RUNTEST"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8069 $as_echo "$RUNTEST" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8072 $as_echo "no
" >&6; }
8076 test -n "$RUNTEST" && break
8078 test -n "$RUNTEST" || RUNTEST="runtest
"
8080 case " $configdirs " in
8082 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8089 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8090 ncn_target_tool_prefix=
8091 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8095 if test -n "$AR"; then
8097 elif test -n "$ac_cv_prog_AR"; then
8101 if test -n "$ac_cv_prog_AR"; then
8102 for ncn_progname in ar; do
8103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8104 set dummy ${ncn_progname}; ac_word=$2
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8106 $as_echo_n "checking
for $ac_word...
" >&6; }
8107 if test "${ac_cv_prog_AR+set}" = set; then :
8108 $as_echo_n "(cached
) " >&6
8110 if test -n "$AR"; then
8111 ac_cv_prog_AR="$AR" # Let the user override the test.
8113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8117 test -z "$as_dir" && as_dir=.
8118 for ac_exec_ext in '' $ac_executable_extensions; do
8119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8120 ac_cv_prog_AR="${ncn_progname}"
8121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8131 if test -n "$AR"; then
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8133 $as_echo "$AR" >&6; }
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8136 $as_echo "no
" >&6; }
8143 for ncn_progname in ar; do
8144 if test -n "$ncn_tool_prefix"; then
8145 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8146 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8148 $as_echo_n "checking
for $ac_word...
" >&6; }
8149 if test "${ac_cv_prog_AR+set}" = set; then :
8150 $as_echo_n "(cached
) " >&6
8152 if test -n "$AR"; then
8153 ac_cv_prog_AR="$AR" # Let the user override the test.
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8162 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8173 if test -n "$AR"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8175 $as_echo "$AR" >&6; }
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8178 $as_echo "no
" >&6; }
8183 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8185 set dummy ${ncn_progname}; ac_word=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8187 $as_echo_n "checking
for $ac_word...
" >&6; }
8188 if test "${ac_cv_prog_AR+set}" = set; then :
8189 $as_echo_n "(cached
) " >&6
8191 if test -n "$AR"; then
8192 ac_cv_prog_AR="$AR" # Let the user override the test.
8194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir=.
8199 for ac_exec_ext in '' $ac_executable_extensions; do
8200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201 ac_cv_prog_AR="${ncn_progname}"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8212 if test -n "$AR"; then
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8214 $as_echo "$AR" >&6; }
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8217 $as_echo "no
" >&6; }
8222 test -n "$ac_cv_prog_AR" && break
8225 if test -z "$ac_cv_prog_AR" ; then
8227 if test $build = $host ; then
8230 AR="${ncn_tool_prefix}$2"
8236 if test -n "$AS"; then
8238 elif test -n "$ac_cv_prog_AS"; then
8242 if test -n "$ac_cv_prog_AS"; then
8243 for ncn_progname in as; do
8244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8245 set dummy ${ncn_progname}; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8247 $as_echo_n "checking
for $ac_word...
" >&6; }
8248 if test "${ac_cv_prog_AS+set}" = set; then :
8249 $as_echo_n "(cached
) " >&6
8251 if test -n "$AS"; then
8252 ac_cv_prog_AS="$AS" # Let the user override the test.
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8261 ac_cv_prog_AS="${ncn_progname}"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8272 if test -n "$AS"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8274 $as_echo "$AS" >&6; }
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8277 $as_echo "no
" >&6; }
8284 for ncn_progname in as; do
8285 if test -n "$ncn_tool_prefix"; then
8286 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8287 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8289 $as_echo_n "checking
for $ac_word...
" >&6; }
8290 if test "${ac_cv_prog_AS+set}" = set; then :
8291 $as_echo_n "(cached
) " >&6
8293 if test -n "$AS"; then
8294 ac_cv_prog_AS="$AS" # Let the user override the test.
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 test -z "$as_dir" && as_dir=.
8301 for ac_exec_ext in '' $ac_executable_extensions; do
8302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8303 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8314 if test -n "$AS"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8316 $as_echo "$AS" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8319 $as_echo "no
" >&6; }
8324 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8326 set dummy ${ncn_progname}; ac_word=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8328 $as_echo_n "checking
for $ac_word...
" >&6; }
8329 if test "${ac_cv_prog_AS+set}" = set; then :
8330 $as_echo_n "(cached
) " >&6
8332 if test -n "$AS"; then
8333 ac_cv_prog_AS="$AS" # Let the user override the test.
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8342 ac_cv_prog_AS="${ncn_progname}"
8343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8353 if test -n "$AS"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8355 $as_echo "$AS" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8358 $as_echo "no
" >&6; }
8363 test -n "$ac_cv_prog_AS" && break
8366 if test -z "$ac_cv_prog_AS" ; then
8368 if test $build = $host ; then
8371 AS="${ncn_tool_prefix}$2"
8377 if test -n "$DLLTOOL"; then
8378 ac_cv_prog_DLLTOOL=$DLLTOOL
8379 elif test -n "$ac_cv_prog_DLLTOOL"; then
8380 DLLTOOL=$ac_cv_prog_DLLTOOL
8383 if test -n "$ac_cv_prog_DLLTOOL"; then
8384 for ncn_progname in dlltool; do
8385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8386 set dummy ${ncn_progname}; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8388 $as_echo_n "checking
for $ac_word...
" >&6; }
8389 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8390 $as_echo_n "(cached
) " >&6
8392 if test -n "$DLLTOOL"; then
8393 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8402 ac_cv_prog_DLLTOOL="${ncn_progname}"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8412 DLLTOOL=$ac_cv_prog_DLLTOOL
8413 if test -n "$DLLTOOL"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8415 $as_echo "$DLLTOOL" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8418 $as_echo "no
" >&6; }
8425 for ncn_progname in dlltool; do
8426 if test -n "$ncn_tool_prefix"; then
8427 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8428 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8430 $as_echo_n "checking
for $ac_word...
" >&6; }
8431 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8432 $as_echo_n "(cached
) " >&6
8434 if test -n "$DLLTOOL"; then
8435 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8441 test -z "$as_dir" && as_dir=.
8442 for ac_exec_ext in '' $ac_executable_extensions; do
8443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8444 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8454 DLLTOOL=$ac_cv_prog_DLLTOOL
8455 if test -n "$DLLTOOL"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8457 $as_echo "$DLLTOOL" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8460 $as_echo "no
" >&6; }
8465 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8467 set dummy ${ncn_progname}; ac_word=$2
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8469 $as_echo_n "checking
for $ac_word...
" >&6; }
8470 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8471 $as_echo_n "(cached
) " >&6
8473 if test -n "$DLLTOOL"; then
8474 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480 test -z "$as_dir" && as_dir=.
8481 for ac_exec_ext in '' $ac_executable_extensions; do
8482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8483 ac_cv_prog_DLLTOOL="${ncn_progname}"
8484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8493 DLLTOOL=$ac_cv_prog_DLLTOOL
8494 if test -n "$DLLTOOL"; then
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8496 $as_echo "$DLLTOOL" >&6; }
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8499 $as_echo "no
" >&6; }
8504 test -n "$ac_cv_prog_DLLTOOL" && break
8507 if test -z "$ac_cv_prog_DLLTOOL" ; then
8509 if test $build = $host ; then
8512 DLLTOOL="${ncn_tool_prefix}$2"
8518 if test -n "$LD"; then
8520 elif test -n "$ac_cv_prog_LD"; then
8524 if test -n "$ac_cv_prog_LD"; then
8525 for ncn_progname in ld; do
8526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8527 set dummy ${ncn_progname}; ac_word=$2
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8529 $as_echo_n "checking
for $ac_word...
" >&6; }
8530 if test "${ac_cv_prog_LD+set}" = set; then :
8531 $as_echo_n "(cached
) " >&6
8533 if test -n "$LD"; then
8534 ac_cv_prog_LD="$LD" # Let the user override the test.
8536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 test -z "$as_dir" && as_dir=.
8541 for ac_exec_ext in '' $ac_executable_extensions; do
8542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8543 ac_cv_prog_LD="${ncn_progname}"
8544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8554 if test -n "$LD"; then
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8556 $as_echo "$LD" >&6; }
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8559 $as_echo "no
" >&6; }
8566 for ncn_progname in ld; do
8567 if test -n "$ncn_tool_prefix"; then
8568 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8569 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8571 $as_echo_n "checking
for $ac_word...
" >&6; }
8572 if test "${ac_cv_prog_LD+set}" = set; then :
8573 $as_echo_n "(cached
) " >&6
8575 if test -n "$LD"; then
8576 ac_cv_prog_LD="$LD" # Let the user override the test.
8578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8582 test -z "$as_dir" && as_dir=.
8583 for ac_exec_ext in '' $ac_executable_extensions; do
8584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8585 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8596 if test -n "$LD"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8598 $as_echo "$LD" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8601 $as_echo "no
" >&6; }
8606 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8608 set dummy ${ncn_progname}; ac_word=$2
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8610 $as_echo_n "checking
for $ac_word...
" >&6; }
8611 if test "${ac_cv_prog_LD+set}" = set; then :
8612 $as_echo_n "(cached
) " >&6
8614 if test -n "$LD"; then
8615 ac_cv_prog_LD="$LD" # Let the user override the test.
8617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8621 test -z "$as_dir" && as_dir=.
8622 for ac_exec_ext in '' $ac_executable_extensions; do
8623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8624 ac_cv_prog_LD="${ncn_progname}"
8625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8635 if test -n "$LD"; then
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8637 $as_echo "$LD" >&6; }
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8640 $as_echo "no
" >&6; }
8645 test -n "$ac_cv_prog_LD" && break
8648 if test -z "$ac_cv_prog_LD" ; then
8650 if test $build = $host ; then
8653 LD="${ncn_tool_prefix}$2"
8659 if test -n "$LIPO"; then
8660 ac_cv_prog_LIPO=$LIPO
8661 elif test -n "$ac_cv_prog_LIPO"; then
8662 LIPO=$ac_cv_prog_LIPO
8665 if test -n "$ac_cv_prog_LIPO"; then
8666 for ncn_progname in lipo; do
8667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8668 set dummy ${ncn_progname}; ac_word=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8670 $as_echo_n "checking
for $ac_word...
" >&6; }
8671 if test "${ac_cv_prog_LIPO+set}" = set; then :
8672 $as_echo_n "(cached
) " >&6
8674 if test -n "$LIPO"; then
8675 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8681 test -z "$as_dir" && as_dir=.
8682 for ac_exec_ext in '' $ac_executable_extensions; do
8683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8684 ac_cv_prog_LIPO="${ncn_progname}"
8685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8694 LIPO=$ac_cv_prog_LIPO
8695 if test -n "$LIPO"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8697 $as_echo "$LIPO" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8700 $as_echo "no
" >&6; }
8707 for ncn_progname in lipo; do
8708 if test -n "$ncn_tool_prefix"; then
8709 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8710 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8712 $as_echo_n "checking
for $ac_word...
" >&6; }
8713 if test "${ac_cv_prog_LIPO+set}" = set; then :
8714 $as_echo_n "(cached
) " >&6
8716 if test -n "$LIPO"; then
8717 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 test -z "$as_dir" && as_dir=.
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8726 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8736 LIPO=$ac_cv_prog_LIPO
8737 if test -n "$LIPO"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8739 $as_echo "$LIPO" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8742 $as_echo "no
" >&6; }
8747 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8749 set dummy ${ncn_progname}; ac_word=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8751 $as_echo_n "checking
for $ac_word...
" >&6; }
8752 if test "${ac_cv_prog_LIPO+set}" = set; then :
8753 $as_echo_n "(cached
) " >&6
8755 if test -n "$LIPO"; then
8756 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8762 test -z "$as_dir" && as_dir=.
8763 for ac_exec_ext in '' $ac_executable_extensions; do
8764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8765 ac_cv_prog_LIPO="${ncn_progname}"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8775 LIPO=$ac_cv_prog_LIPO
8776 if test -n "$LIPO"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8778 $as_echo "$LIPO" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8781 $as_echo "no
" >&6; }
8786 test -n "$ac_cv_prog_LIPO" && break
8789 if test -z "$ac_cv_prog_LIPO" ; then
8791 if test $build = $host ; then
8794 LIPO="${ncn_tool_prefix}$2"
8800 if test -n "$NM"; then
8802 elif test -n "$ac_cv_prog_NM"; then
8806 if test -n "$ac_cv_prog_NM"; then
8807 for ncn_progname in nm; do
8808 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8809 set dummy ${ncn_progname}; ac_word=$2
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8811 $as_echo_n "checking
for $ac_word...
" >&6; }
8812 if test "${ac_cv_prog_NM+set}" = set; then :
8813 $as_echo_n "(cached
) " >&6
8815 if test -n "$NM"; then
8816 ac_cv_prog_NM="$NM" # Let the user override the test.
8818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8822 test -z "$as_dir" && as_dir=.
8823 for ac_exec_ext in '' $ac_executable_extensions; do
8824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8825 ac_cv_prog_NM="${ncn_progname}"
8826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8836 if test -n "$NM"; then
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8838 $as_echo "$NM" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8841 $as_echo "no
" >&6; }
8848 for ncn_progname in nm; do
8849 if test -n "$ncn_tool_prefix"; then
8850 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8851 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8853 $as_echo_n "checking
for $ac_word...
" >&6; }
8854 if test "${ac_cv_prog_NM+set}" = set; then :
8855 $as_echo_n "(cached
) " >&6
8857 if test -n "$NM"; then
8858 ac_cv_prog_NM="$NM" # Let the user override the test.
8860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8864 test -z "$as_dir" && as_dir=.
8865 for ac_exec_ext in '' $ac_executable_extensions; do
8866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8867 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8878 if test -n "$NM"; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8880 $as_echo "$NM" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8883 $as_echo "no
" >&6; }
8888 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8890 set dummy ${ncn_progname}; ac_word=$2
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8892 $as_echo_n "checking
for $ac_word...
" >&6; }
8893 if test "${ac_cv_prog_NM+set}" = set; then :
8894 $as_echo_n "(cached
) " >&6
8896 if test -n "$NM"; then
8897 ac_cv_prog_NM="$NM" # Let the user override the test.
8899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir=.
8904 for ac_exec_ext in '' $ac_executable_extensions; do
8905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906 ac_cv_prog_NM="${ncn_progname}"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8917 if test -n "$NM"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8919 $as_echo "$NM" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8922 $as_echo "no
" >&6; }
8927 test -n "$ac_cv_prog_NM" && break
8930 if test -z "$ac_cv_prog_NM" ; then
8932 if test $build = $host ; then
8935 NM="${ncn_tool_prefix}$2"
8941 if test -n "$RANLIB"; then
8942 ac_cv_prog_RANLIB=$RANLIB
8943 elif test -n "$ac_cv_prog_RANLIB"; then
8944 RANLIB=$ac_cv_prog_RANLIB
8947 if test -n "$ac_cv_prog_RANLIB"; then
8948 for ncn_progname in ranlib; do
8949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8950 set dummy ${ncn_progname}; ac_word=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8952 $as_echo_n "checking
for $ac_word...
" >&6; }
8953 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8954 $as_echo_n "(cached
) " >&6
8956 if test -n "$RANLIB"; then
8957 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8963 test -z "$as_dir" && as_dir=.
8964 for ac_exec_ext in '' $ac_executable_extensions; do
8965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8966 ac_cv_prog_RANLIB="${ncn_progname}"
8967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8976 RANLIB=$ac_cv_prog_RANLIB
8977 if test -n "$RANLIB"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8979 $as_echo "$RANLIB" >&6; }
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8982 $as_echo "no
" >&6; }
8989 for ncn_progname in ranlib; do
8990 if test -n "$ncn_tool_prefix"; then
8991 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8992 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8994 $as_echo_n "checking
for $ac_word...
" >&6; }
8995 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8996 $as_echo_n "(cached
) " >&6
8998 if test -n "$RANLIB"; then
8999 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9005 test -z "$as_dir" && as_dir=.
9006 for ac_exec_ext in '' $ac_executable_extensions; do
9007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9008 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9018 RANLIB=$ac_cv_prog_RANLIB
9019 if test -n "$RANLIB"; then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9021 $as_echo "$RANLIB" >&6; }
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9024 $as_echo "no
" >&6; }
9029 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9031 set dummy ${ncn_progname}; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9033 $as_echo_n "checking
for $ac_word...
" >&6; }
9034 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9035 $as_echo_n "(cached
) " >&6
9037 if test -n "$RANLIB"; then
9038 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9047 ac_cv_prog_RANLIB="${ncn_progname}"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9057 RANLIB=$ac_cv_prog_RANLIB
9058 if test -n "$RANLIB"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9060 $as_echo "$RANLIB" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9063 $as_echo "no
" >&6; }
9068 test -n "$ac_cv_prog_RANLIB" && break
9071 if test -z "$ac_cv_prog_RANLIB" ; then
9077 if test -n "$STRIP"; then
9078 ac_cv_prog_STRIP=$STRIP
9079 elif test -n "$ac_cv_prog_STRIP"; then
9080 STRIP=$ac_cv_prog_STRIP
9083 if test -n "$ac_cv_prog_STRIP"; then
9084 for ncn_progname in strip; do
9085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9086 set dummy ${ncn_progname}; ac_word=$2
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9088 $as_echo_n "checking
for $ac_word...
" >&6; }
9089 if test "${ac_cv_prog_STRIP+set}" = set; then :
9090 $as_echo_n "(cached
) " >&6
9092 if test -n "$STRIP"; then
9093 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9099 test -z "$as_dir" && as_dir=.
9100 for ac_exec_ext in '' $ac_executable_extensions; do
9101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9102 ac_cv_prog_STRIP="${ncn_progname}"
9103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9112 STRIP=$ac_cv_prog_STRIP
9113 if test -n "$STRIP"; then
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9115 $as_echo "$STRIP" >&6; }
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9118 $as_echo "no
" >&6; }
9125 for ncn_progname in strip; do
9126 if test -n "$ncn_tool_prefix"; then
9127 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9128 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9130 $as_echo_n "checking
for $ac_word...
" >&6; }
9131 if test "${ac_cv_prog_STRIP+set}" = set; then :
9132 $as_echo_n "(cached
) " >&6
9134 if test -n "$STRIP"; then
9135 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141 test -z "$as_dir" && as_dir=.
9142 for ac_exec_ext in '' $ac_executable_extensions; do
9143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9144 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9154 STRIP=$ac_cv_prog_STRIP
9155 if test -n "$STRIP"; then
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9157 $as_echo "$STRIP" >&6; }
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9160 $as_echo "no
" >&6; }
9165 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9167 set dummy ${ncn_progname}; ac_word=$2
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9169 $as_echo_n "checking
for $ac_word...
" >&6; }
9170 if test "${ac_cv_prog_STRIP+set}" = set; then :
9171 $as_echo_n "(cached
) " >&6
9173 if test -n "$STRIP"; then
9174 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir=.
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9183 ac_cv_prog_STRIP="${ncn_progname}"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9193 STRIP=$ac_cv_prog_STRIP
9194 if test -n "$STRIP"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9196 $as_echo "$STRIP" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9199 $as_echo "no
" >&6; }
9204 test -n "$ac_cv_prog_STRIP" && break
9207 if test -z "$ac_cv_prog_STRIP" ; then
9213 if test -n "$WINDRES"; then
9214 ac_cv_prog_WINDRES=$WINDRES
9215 elif test -n "$ac_cv_prog_WINDRES"; then
9216 WINDRES=$ac_cv_prog_WINDRES
9219 if test -n "$ac_cv_prog_WINDRES"; then
9220 for ncn_progname in windres; do
9221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9222 set dummy ${ncn_progname}; ac_word=$2
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9224 $as_echo_n "checking
for $ac_word...
" >&6; }
9225 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9226 $as_echo_n "(cached
) " >&6
9228 if test -n "$WINDRES"; then
9229 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235 test -z "$as_dir" && as_dir=.
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9238 ac_cv_prog_WINDRES="${ncn_progname}"
9239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9248 WINDRES=$ac_cv_prog_WINDRES
9249 if test -n "$WINDRES"; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9251 $as_echo "$WINDRES" >&6; }
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9254 $as_echo "no
" >&6; }
9261 for ncn_progname in windres; do
9262 if test -n "$ncn_tool_prefix"; then
9263 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9264 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9266 $as_echo_n "checking
for $ac_word...
" >&6; }
9267 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9268 $as_echo_n "(cached
) " >&6
9270 if test -n "$WINDRES"; then
9271 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir=.
9278 for ac_exec_ext in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9290 WINDRES=$ac_cv_prog_WINDRES
9291 if test -n "$WINDRES"; then
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9293 $as_echo "$WINDRES" >&6; }
9295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9296 $as_echo "no
" >&6; }
9301 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9303 set dummy ${ncn_progname}; ac_word=$2
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9305 $as_echo_n "checking
for $ac_word...
" >&6; }
9306 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9307 $as_echo_n "(cached
) " >&6
9309 if test -n "$WINDRES"; then
9310 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 test -z "$as_dir" && as_dir=.
9317 for ac_exec_ext in '' $ac_executable_extensions; do
9318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9319 ac_cv_prog_WINDRES="${ncn_progname}"
9320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9329 WINDRES=$ac_cv_prog_WINDRES
9330 if test -n "$WINDRES"; then
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9332 $as_echo "$WINDRES" >&6; }
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9335 $as_echo "no
" >&6; }
9340 test -n "$ac_cv_prog_WINDRES" && break
9343 if test -z "$ac_cv_prog_WINDRES" ; then
9345 if test $build = $host ; then
9348 WINDRES="${ncn_tool_prefix}$2"
9354 if test -n "$WINDMC"; then
9355 ac_cv_prog_WINDMC=$WINDMC
9356 elif test -n "$ac_cv_prog_WINDMC"; then
9357 WINDMC=$ac_cv_prog_WINDMC
9360 if test -n "$ac_cv_prog_WINDMC"; then
9361 for ncn_progname in windmc; do
9362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9363 set dummy ${ncn_progname}; ac_word=$2
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9365 $as_echo_n "checking
for $ac_word...
" >&6; }
9366 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9367 $as_echo_n "(cached
) " >&6
9369 if test -n "$WINDMC"; then
9370 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9376 test -z "$as_dir" && as_dir=.
9377 for ac_exec_ext in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_prog_WINDMC="${ncn_progname}"
9380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9389 WINDMC=$ac_cv_prog_WINDMC
9390 if test -n "$WINDMC"; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9392 $as_echo "$WINDMC" >&6; }
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9395 $as_echo "no
" >&6; }
9402 for ncn_progname in windmc; do
9403 if test -n "$ncn_tool_prefix"; then
9404 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9405 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9407 $as_echo_n "checking
for $ac_word...
" >&6; }
9408 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9409 $as_echo_n "(cached
) " >&6
9411 if test -n "$WINDMC"; then
9412 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9418 test -z "$as_dir" && as_dir=.
9419 for ac_exec_ext in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9431 WINDMC=$ac_cv_prog_WINDMC
9432 if test -n "$WINDMC"; then
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9434 $as_echo "$WINDMC" >&6; }
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9437 $as_echo "no
" >&6; }
9442 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9444 set dummy ${ncn_progname}; ac_word=$2
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9446 $as_echo_n "checking
for $ac_word...
" >&6; }
9447 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9448 $as_echo_n "(cached
) " >&6
9450 if test -n "$WINDMC"; then
9451 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9457 test -z "$as_dir" && as_dir=.
9458 for ac_exec_ext in '' $ac_executable_extensions; do
9459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9460 ac_cv_prog_WINDMC="${ncn_progname}"
9461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9470 WINDMC=$ac_cv_prog_WINDMC
9471 if test -n "$WINDMC"; then
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9473 $as_echo "$WINDMC" >&6; }
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9476 $as_echo "no
" >&6; }
9481 test -n "$ac_cv_prog_WINDMC" && break
9484 if test -z "$ac_cv_prog_WINDMC" ; then
9486 if test $build = $host ; then
9489 WINDMC="${ncn_tool_prefix}$2"
9495 if test -n "$OBJCOPY"; then
9496 ac_cv_prog_OBJCOPY=$OBJCOPY
9497 elif test -n "$ac_cv_prog_OBJCOPY"; then
9498 OBJCOPY=$ac_cv_prog_OBJCOPY
9501 if test -n "$ac_cv_prog_OBJCOPY"; then
9502 for ncn_progname in objcopy; do
9503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9504 set dummy ${ncn_progname}; ac_word=$2
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9506 $as_echo_n "checking
for $ac_word...
" >&6; }
9507 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9508 $as_echo_n "(cached
) " >&6
9510 if test -n "$OBJCOPY"; then
9511 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9517 test -z "$as_dir" && as_dir=.
9518 for ac_exec_ext in '' $ac_executable_extensions; do
9519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9520 ac_cv_prog_OBJCOPY="${ncn_progname}"
9521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9530 OBJCOPY=$ac_cv_prog_OBJCOPY
9531 if test -n "$OBJCOPY"; then
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9533 $as_echo "$OBJCOPY" >&6; }
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9536 $as_echo "no
" >&6; }
9543 for ncn_progname in objcopy; do
9544 if test -n "$ncn_tool_prefix"; then
9545 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9546 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9548 $as_echo_n "checking
for $ac_word...
" >&6; }
9549 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9550 $as_echo_n "(cached
) " >&6
9552 if test -n "$OBJCOPY"; then
9553 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9559 test -z "$as_dir" && as_dir=.
9560 for ac_exec_ext in '' $ac_executable_extensions; do
9561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9562 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9572 OBJCOPY=$ac_cv_prog_OBJCOPY
9573 if test -n "$OBJCOPY"; then
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9575 $as_echo "$OBJCOPY" >&6; }
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9578 $as_echo "no
" >&6; }
9583 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9585 set dummy ${ncn_progname}; ac_word=$2
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9587 $as_echo_n "checking
for $ac_word...
" >&6; }
9588 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9589 $as_echo_n "(cached
) " >&6
9591 if test -n "$OBJCOPY"; then
9592 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9598 test -z "$as_dir" && as_dir=.
9599 for ac_exec_ext in '' $ac_executable_extensions; do
9600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9601 ac_cv_prog_OBJCOPY="${ncn_progname}"
9602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9611 OBJCOPY=$ac_cv_prog_OBJCOPY
9612 if test -n "$OBJCOPY"; then
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9614 $as_echo "$OBJCOPY" >&6; }
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9617 $as_echo "no
" >&6; }
9622 test -n "$ac_cv_prog_OBJCOPY" && break
9625 if test -z "$ac_cv_prog_OBJCOPY" ; then
9627 if test $build = $host ; then
9630 OBJCOPY="${ncn_tool_prefix}$2"
9636 if test -n "$OBJDUMP"; then
9637 ac_cv_prog_OBJDUMP=$OBJDUMP
9638 elif test -n "$ac_cv_prog_OBJDUMP"; then
9639 OBJDUMP=$ac_cv_prog_OBJDUMP
9642 if test -n "$ac_cv_prog_OBJDUMP"; then
9643 for ncn_progname in objdump; do
9644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9645 set dummy ${ncn_progname}; ac_word=$2
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9647 $as_echo_n "checking
for $ac_word...
" >&6; }
9648 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9649 $as_echo_n "(cached
) " >&6
9651 if test -n "$OBJDUMP"; then
9652 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9658 test -z "$as_dir" && as_dir=.
9659 for ac_exec_ext in '' $ac_executable_extensions; do
9660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9661 ac_cv_prog_OBJDUMP="${ncn_progname}"
9662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9671 OBJDUMP=$ac_cv_prog_OBJDUMP
9672 if test -n "$OBJDUMP"; then
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9674 $as_echo "$OBJDUMP" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9677 $as_echo "no
" >&6; }
9684 for ncn_progname in objdump; do
9685 if test -n "$ncn_tool_prefix"; then
9686 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9687 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9689 $as_echo_n "checking
for $ac_word...
" >&6; }
9690 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9691 $as_echo_n "(cached
) " >&6
9693 if test -n "$OBJDUMP"; then
9694 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9700 test -z "$as_dir" && as_dir=.
9701 for ac_exec_ext in '' $ac_executable_extensions; do
9702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9703 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9713 OBJDUMP=$ac_cv_prog_OBJDUMP
9714 if test -n "$OBJDUMP"; then
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9716 $as_echo "$OBJDUMP" >&6; }
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9719 $as_echo "no
" >&6; }
9724 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9726 set dummy ${ncn_progname}; ac_word=$2
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9728 $as_echo_n "checking
for $ac_word...
" >&6; }
9729 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9730 $as_echo_n "(cached
) " >&6
9732 if test -n "$OBJDUMP"; then
9733 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9739 test -z "$as_dir" && as_dir=.
9740 for ac_exec_ext in '' $ac_executable_extensions; do
9741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9742 ac_cv_prog_OBJDUMP="${ncn_progname}"
9743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9752 OBJDUMP=$ac_cv_prog_OBJDUMP
9753 if test -n "$OBJDUMP"; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9755 $as_echo "$OBJDUMP" >&6; }
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9758 $as_echo "no
" >&6; }
9763 test -n "$ac_cv_prog_OBJDUMP" && break
9766 if test -z "$ac_cv_prog_OBJDUMP" ; then
9768 if test $build = $host ; then
9771 OBJDUMP="${ncn_tool_prefix}$2"
9777 if test -n "$READELF"; then
9778 ac_cv_prog_READELF=$READELF
9779 elif test -n "$ac_cv_prog_READELF"; then
9780 READELF=$ac_cv_prog_READELF
9783 if test -n "$ac_cv_prog_READELF"; then
9784 for ncn_progname in readelf; do
9785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9786 set dummy ${ncn_progname}; ac_word=$2
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9788 $as_echo_n "checking
for $ac_word...
" >&6; }
9789 if test "${ac_cv_prog_READELF+set}" = set; then :
9790 $as_echo_n "(cached
) " >&6
9792 if test -n "$READELF"; then
9793 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9799 test -z "$as_dir" && as_dir=.
9800 for ac_exec_ext in '' $ac_executable_extensions; do
9801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9802 ac_cv_prog_READELF="${ncn_progname}"
9803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9812 READELF=$ac_cv_prog_READELF
9813 if test -n "$READELF"; then
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9815 $as_echo "$READELF" >&6; }
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9818 $as_echo "no
" >&6; }
9825 for ncn_progname in readelf; do
9826 if test -n "$ncn_tool_prefix"; then
9827 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9828 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9830 $as_echo_n "checking
for $ac_word...
" >&6; }
9831 if test "${ac_cv_prog_READELF+set}" = set; then :
9832 $as_echo_n "(cached
) " >&6
9834 if test -n "$READELF"; then
9835 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9841 test -z "$as_dir" && as_dir=.
9842 for ac_exec_ext in '' $ac_executable_extensions; do
9843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9844 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9854 READELF=$ac_cv_prog_READELF
9855 if test -n "$READELF"; then
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9857 $as_echo "$READELF" >&6; }
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9860 $as_echo "no
" >&6; }
9865 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9867 set dummy ${ncn_progname}; ac_word=$2
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9869 $as_echo_n "checking
for $ac_word...
" >&6; }
9870 if test "${ac_cv_prog_READELF+set}" = set; then :
9871 $as_echo_n "(cached
) " >&6
9873 if test -n "$READELF"; then
9874 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir=.
9881 for ac_exec_ext in '' $ac_executable_extensions; do
9882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9883 ac_cv_prog_READELF="${ncn_progname}"
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9893 READELF=$ac_cv_prog_READELF
9894 if test -n "$READELF"; then
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9896 $as_echo "$READELF" >&6; }
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9899 $as_echo "no
" >&6; }
9904 test -n "$ac_cv_prog_READELF" && break
9907 if test -z "$ac_cv_prog_READELF" ; then
9909 if test $build = $host ; then
9912 READELF="${ncn_tool_prefix}$2"
9923 # Check whether --with-build-time-tools was given.
9924 if test "${with_build_time_tools+set}" = set; then :
9925 withval=$with_build_time_tools; case x"$withval" in
9928 with_build_time_tools=
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9930 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9934 with_build_time_tools=
9940 if test -n "$CC_FOR_TARGET"; then
9941 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9942 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9943 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9946 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9947 for ncn_progname in cc gcc; do
9948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9949 set dummy ${ncn_progname}; ac_word=$2
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9951 $as_echo_n "checking
for $ac_word...
" >&6; }
9952 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9953 $as_echo_n "(cached
) " >&6
9955 if test -n "$CC_FOR_TARGET"; then
9956 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9962 test -z "$as_dir" && as_dir=.
9963 for ac_exec_ext in '' $ac_executable_extensions; do
9964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9965 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9975 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9976 if test -n "$CC_FOR_TARGET"; then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9978 $as_echo "$CC_FOR_TARGET" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9981 $as_echo "no
" >&6; }
9988 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9989 for ncn_progname in cc gcc; do
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9991 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9992 if test -x $with_build_time_tools/${ncn_progname}; then
9993 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9995 $as_echo "yes" >&6; }
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9999 $as_echo "no
" >&6; }
10004 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10005 for ncn_progname in cc gcc; do
10006 if test -n "$ncn_target_tool_prefix"; then
10007 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10008 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10010 $as_echo_n "checking
for $ac_word...
" >&6; }
10011 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10012 $as_echo_n "(cached
) " >&6
10014 if test -n "$CC_FOR_TARGET"; then
10015 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10018 for as_dir in $PATH
10021 test -z "$as_dir" && as_dir=.
10022 for ac_exec_ext in '' $ac_executable_extensions; do
10023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10024 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10034 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10035 if test -n "$CC_FOR_TARGET"; then
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10037 $as_echo "$CC_FOR_TARGET" >&6; }
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10040 $as_echo "no
" >&6; }
10045 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10047 set dummy ${ncn_progname}; ac_word=$2
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10049 $as_echo_n "checking
for $ac_word...
" >&6; }
10050 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10051 $as_echo_n "(cached
) " >&6
10053 if test -n "$CC_FOR_TARGET"; then
10054 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10057 for as_dir in $PATH
10060 test -z "$as_dir" && as_dir=.
10061 for ac_exec_ext in '' $ac_executable_extensions; do
10062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10063 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10073 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10074 if test -n "$CC_FOR_TARGET"; then
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10076 $as_echo "$CC_FOR_TARGET" >&6; }
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10079 $as_echo "no
" >&6; }
10084 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10088 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10090 if test $build = $target ; then
10093 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10096 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10101 if test -n "$CXX_FOR_TARGET"; then
10102 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10103 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10104 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10107 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10108 for ncn_progname in c++ g++ cxx gxx; do
10109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10110 set dummy ${ncn_progname}; ac_word=$2
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10112 $as_echo_n "checking
for $ac_word...
" >&6; }
10113 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10114 $as_echo_n "(cached
) " >&6
10116 if test -n "$CXX_FOR_TARGET"; then
10117 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10120 for as_dir in $PATH
10123 test -z "$as_dir" && as_dir=.
10124 for ac_exec_ext in '' $ac_executable_extensions; do
10125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10126 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10136 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10137 if test -n "$CXX_FOR_TARGET"; then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10139 $as_echo "$CXX_FOR_TARGET" >&6; }
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10142 $as_echo "no
" >&6; }
10149 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10150 for ncn_progname in c++ g++ cxx gxx; do
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10152 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10153 if test -x $with_build_time_tools/${ncn_progname}; then
10154 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10156 $as_echo "yes" >&6; }
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10160 $as_echo "no
" >&6; }
10165 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10166 for ncn_progname in c++ g++ cxx gxx; do
10167 if test -n "$ncn_target_tool_prefix"; then
10168 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10169 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10171 $as_echo_n "checking
for $ac_word...
" >&6; }
10172 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10173 $as_echo_n "(cached
) " >&6
10175 if test -n "$CXX_FOR_TARGET"; then
10176 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10179 for as_dir in $PATH
10182 test -z "$as_dir" && as_dir=.
10183 for ac_exec_ext in '' $ac_executable_extensions; do
10184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10185 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10195 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10196 if test -n "$CXX_FOR_TARGET"; then
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10198 $as_echo "$CXX_FOR_TARGET" >&6; }
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10201 $as_echo "no
" >&6; }
10206 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10208 set dummy ${ncn_progname}; ac_word=$2
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10210 $as_echo_n "checking
for $ac_word...
" >&6; }
10211 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10212 $as_echo_n "(cached
) " >&6
10214 if test -n "$CXX_FOR_TARGET"; then
10215 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10224 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10234 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10235 if test -n "$CXX_FOR_TARGET"; then
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10237 $as_echo "$CXX_FOR_TARGET" >&6; }
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10240 $as_echo "no
" >&6; }
10245 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10249 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10250 set dummy c++ g++ cxx gxx
10251 if test $build = $target ; then
10252 CXX_FOR_TARGET="$2"
10254 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10257 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10262 if test -n "$GCC_FOR_TARGET"; then
10263 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10264 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10265 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10268 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10269 for ncn_progname in gcc; do
10270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10271 set dummy ${ncn_progname}; ac_word=$2
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10273 $as_echo_n "checking
for $ac_word...
" >&6; }
10274 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10275 $as_echo_n "(cached
) " >&6
10277 if test -n "$GCC_FOR_TARGET"; then
10278 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10281 for as_dir in $PATH
10284 test -z "$as_dir" && as_dir=.
10285 for ac_exec_ext in '' $ac_executable_extensions; do
10286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10287 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10297 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10298 if test -n "$GCC_FOR_TARGET"; then
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10300 $as_echo "$GCC_FOR_TARGET" >&6; }
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10303 $as_echo "no
" >&6; }
10310 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10311 for ncn_progname in gcc; do
10312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10313 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10314 if test -x $with_build_time_tools/${ncn_progname}; then
10315 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10317 $as_echo "yes" >&6; }
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10321 $as_echo "no
" >&6; }
10326 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10327 for ncn_progname in gcc; do
10328 if test -n "$ncn_target_tool_prefix"; then
10329 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10330 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10332 $as_echo_n "checking
for $ac_word...
" >&6; }
10333 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10334 $as_echo_n "(cached
) " >&6
10336 if test -n "$GCC_FOR_TARGET"; then
10337 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10340 for as_dir in $PATH
10343 test -z "$as_dir" && as_dir=.
10344 for ac_exec_ext in '' $ac_executable_extensions; do
10345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10346 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10356 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10357 if test -n "$GCC_FOR_TARGET"; then
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10359 $as_echo "$GCC_FOR_TARGET" >&6; }
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10362 $as_echo "no
" >&6; }
10367 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10369 set dummy ${ncn_progname}; ac_word=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10371 $as_echo_n "checking
for $ac_word...
" >&6; }
10372 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10373 $as_echo_n "(cached
) " >&6
10375 if test -n "$GCC_FOR_TARGET"; then
10376 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10379 for as_dir in $PATH
10382 test -z "$as_dir" && as_dir=.
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10385 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10395 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10396 if test -n "$GCC_FOR_TARGET"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10398 $as_echo "$GCC_FOR_TARGET" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10401 $as_echo "no
" >&6; }
10406 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10410 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10411 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10413 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10418 if test -n "$GCJ_FOR_TARGET"; then
10419 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10420 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10421 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10424 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10425 for ncn_progname in gcj; do
10426 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10427 set dummy ${ncn_progname}; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10429 $as_echo_n "checking
for $ac_word...
" >&6; }
10430 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10431 $as_echo_n "(cached
) " >&6
10433 if test -n "$GCJ_FOR_TARGET"; then
10434 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10453 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10454 if test -n "$GCJ_FOR_TARGET"; then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10456 $as_echo "$GCJ_FOR_TARGET" >&6; }
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10459 $as_echo "no
" >&6; }
10466 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10467 for ncn_progname in gcj; do
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10469 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10470 if test -x $with_build_time_tools/${ncn_progname}; then
10471 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10473 $as_echo "yes" >&6; }
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10477 $as_echo "no
" >&6; }
10482 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10483 for ncn_progname in gcj; do
10484 if test -n "$ncn_target_tool_prefix"; then
10485 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10486 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10488 $as_echo_n "checking
for $ac_word...
" >&6; }
10489 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10490 $as_echo_n "(cached
) " >&6
10492 if test -n "$GCJ_FOR_TARGET"; then
10493 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10496 for as_dir in $PATH
10499 test -z "$as_dir" && as_dir=.
10500 for ac_exec_ext in '' $ac_executable_extensions; do
10501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10502 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10503 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10512 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10513 if test -n "$GCJ_FOR_TARGET"; then
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10515 $as_echo "$GCJ_FOR_TARGET" >&6; }
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10518 $as_echo "no
" >&6; }
10523 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10524 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10525 set dummy ${ncn_progname}; ac_word=$2
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10527 $as_echo_n "checking
for $ac_word...
" >&6; }
10528 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10529 $as_echo_n "(cached
) " >&6
10531 if test -n "$GCJ_FOR_TARGET"; then
10532 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10535 for as_dir in $PATH
10538 test -z "$as_dir" && as_dir=.
10539 for ac_exec_ext in '' $ac_executable_extensions; do
10540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10541 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10542 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10551 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10552 if test -n "$GCJ_FOR_TARGET"; then
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10554 $as_echo "$GCJ_FOR_TARGET" >&6; }
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10557 $as_echo "no
" >&6; }
10562 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10566 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10568 if test $build = $target ; then
10569 GCJ_FOR_TARGET="$2"
10571 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10574 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10579 if test -n "$GFORTRAN_FOR_TARGET"; then
10580 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10581 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10582 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10585 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10586 for ncn_progname in gfortran; do
10587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10588 set dummy ${ncn_progname}; ac_word=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10590 $as_echo_n "checking
for $ac_word...
" >&6; }
10591 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10592 $as_echo_n "(cached
) " >&6
10594 if test -n "$GFORTRAN_FOR_TARGET"; then
10595 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10598 for as_dir in $PATH
10601 test -z "$as_dir" && as_dir=.
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10604 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10615 if test -n "$GFORTRAN_FOR_TARGET"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10617 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10620 $as_echo "no
" >&6; }
10627 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10628 for ncn_progname in gfortran; do
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10630 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10631 if test -x $with_build_time_tools/${ncn_progname}; then
10632 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10634 $as_echo "yes" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10638 $as_echo "no
" >&6; }
10643 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10644 for ncn_progname in gfortran; do
10645 if test -n "$ncn_target_tool_prefix"; then
10646 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10647 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10649 $as_echo_n "checking
for $ac_word...
" >&6; }
10650 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10651 $as_echo_n "(cached
) " >&6
10653 if test -n "$GFORTRAN_FOR_TARGET"; then
10654 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10657 for as_dir in $PATH
10660 test -z "$as_dir" && as_dir=.
10661 for ac_exec_ext in '' $ac_executable_extensions; do
10662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10663 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10673 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10674 if test -n "$GFORTRAN_FOR_TARGET"; then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10676 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10679 $as_echo "no
" >&6; }
10684 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10686 set dummy ${ncn_progname}; ac_word=$2
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10688 $as_echo_n "checking
for $ac_word...
" >&6; }
10689 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10690 $as_echo_n "(cached
) " >&6
10692 if test -n "$GFORTRAN_FOR_TARGET"; then
10693 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10696 for as_dir in $PATH
10699 test -z "$as_dir" && as_dir=.
10700 for ac_exec_ext in '' $ac_executable_extensions; do
10701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10702 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10712 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10713 if test -n "$GFORTRAN_FOR_TARGET"; then
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10715 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10718 $as_echo "no
" >&6; }
10723 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10727 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10729 if test $build = $target ; then
10730 GFORTRAN_FOR_TARGET="$2"
10732 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10735 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10740 if test -n "$GOC_FOR_TARGET"; then
10741 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10742 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10743 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10746 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10747 for ncn_progname in gccgo; do
10748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10749 set dummy ${ncn_progname}; ac_word=$2
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10751 $as_echo_n "checking
for $ac_word...
" >&6; }
10752 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10753 $as_echo_n "(cached
) " >&6
10755 if test -n "$GOC_FOR_TARGET"; then
10756 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10759 for as_dir in $PATH
10762 test -z "$as_dir" && as_dir=.
10763 for ac_exec_ext in '' $ac_executable_extensions; do
10764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10765 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10775 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10776 if test -n "$GOC_FOR_TARGET"; then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10778 $as_echo "$GOC_FOR_TARGET" >&6; }
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10781 $as_echo "no
" >&6; }
10788 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10789 for ncn_progname in gccgo; do
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10791 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10792 if test -x $with_build_time_tools/${ncn_progname}; then
10793 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10795 $as_echo "yes" >&6; }
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10799 $as_echo "no
" >&6; }
10804 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10805 for ncn_progname in gccgo; do
10806 if test -n "$ncn_target_tool_prefix"; then
10807 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10808 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10810 $as_echo_n "checking
for $ac_word...
" >&6; }
10811 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10812 $as_echo_n "(cached
) " >&6
10814 if test -n "$GOC_FOR_TARGET"; then
10815 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10818 for as_dir in $PATH
10821 test -z "$as_dir" && as_dir=.
10822 for ac_exec_ext in '' $ac_executable_extensions; do
10823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10824 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10834 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10835 if test -n "$GOC_FOR_TARGET"; then
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10837 $as_echo "$GOC_FOR_TARGET" >&6; }
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10840 $as_echo "no
" >&6; }
10845 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10847 set dummy ${ncn_progname}; ac_word=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10849 $as_echo_n "checking
for $ac_word...
" >&6; }
10850 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10851 $as_echo_n "(cached
) " >&6
10853 if test -n "$GOC_FOR_TARGET"; then
10854 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10857 for as_dir in $PATH
10860 test -z "$as_dir" && as_dir=.
10861 for ac_exec_ext in '' $ac_executable_extensions; do
10862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10863 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10873 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10874 if test -n "$GOC_FOR_TARGET"; then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10876 $as_echo "$GOC_FOR_TARGET" >&6; }
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10879 $as_echo "no
" >&6; }
10884 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10888 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10890 if test $build = $target ; then
10891 GOC_FOR_TARGET="$2"
10893 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10896 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10901 cat > conftest.c << \EOF
10906 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10907 have_gcc_for_target=yes
10909 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10910 have_gcc_for_target=no
10917 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10918 if test -n "$with_build_time_tools"; then
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10920 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10921 if test -x $with_build_time_tools/ar; then
10922 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10923 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10925 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10928 $as_echo "no
" >&6; }
10930 elif test $build != $host && test $have_gcc_for_target = yes; then
10931 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10932 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10933 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10936 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10937 # Extract the first word of "ar", so it can be a program name with args.
10938 set dummy ar; ac_word=$2
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10940 $as_echo_n "checking
for $ac_word...
" >&6; }
10941 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10942 $as_echo_n "(cached
) " >&6
10944 case $AR_FOR_TARGET in
10946 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10950 for as_dir in $gcc_cv_tool_dirs
10953 test -z "$as_dir" && as_dir=.
10954 for ac_exec_ext in '' $ac_executable_extensions; do
10955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10956 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10957 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10967 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10968 if test -n "$AR_FOR_TARGET"; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10970 $as_echo "$AR_FOR_TARGET" >&6; }
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10973 $as_echo "no
" >&6; }
10978 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10981 if test -n "$AR_FOR_TARGET"; then
10982 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10983 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10984 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10987 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10988 for ncn_progname in ar; do
10989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10990 set dummy ${ncn_progname}; ac_word=$2
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10992 $as_echo_n "checking
for $ac_word...
" >&6; }
10993 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10994 $as_echo_n "(cached
) " >&6
10996 if test -n "$AR_FOR_TARGET"; then
10997 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11000 for as_dir in $PATH
11003 test -z "$as_dir" && as_dir=.
11004 for ac_exec_ext in '' $ac_executable_extensions; do
11005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11006 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11016 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11017 if test -n "$AR_FOR_TARGET"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11019 $as_echo "$AR_FOR_TARGET" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11022 $as_echo "no
" >&6; }
11029 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11030 for ncn_progname in ar; do
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11032 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11033 if test -x $with_build_time_tools/${ncn_progname}; then
11034 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11036 $as_echo "yes" >&6; }
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11040 $as_echo "no
" >&6; }
11045 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11046 for ncn_progname in ar; do
11047 if test -n "$ncn_target_tool_prefix"; then
11048 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11049 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11051 $as_echo_n "checking
for $ac_word...
" >&6; }
11052 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11053 $as_echo_n "(cached
) " >&6
11055 if test -n "$AR_FOR_TARGET"; then
11056 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11059 for as_dir in $PATH
11062 test -z "$as_dir" && as_dir=.
11063 for ac_exec_ext in '' $ac_executable_extensions; do
11064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11065 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11075 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11076 if test -n "$AR_FOR_TARGET"; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11078 $as_echo "$AR_FOR_TARGET" >&6; }
11080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11081 $as_echo "no
" >&6; }
11086 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11088 set dummy ${ncn_progname}; ac_word=$2
11089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11090 $as_echo_n "checking
for $ac_word...
" >&6; }
11091 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11092 $as_echo_n "(cached
) " >&6
11094 if test -n "$AR_FOR_TARGET"; then
11095 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11098 for as_dir in $PATH
11101 test -z "$as_dir" && as_dir=.
11102 for ac_exec_ext in '' $ac_executable_extensions; do
11103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11104 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11114 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11115 if test -n "$AR_FOR_TARGET"; then
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11117 $as_echo "$AR_FOR_TARGET" >&6; }
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11120 $as_echo "no
" >&6; }
11125 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11129 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11131 if test $build = $target ; then
11134 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11137 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11141 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11147 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11148 if test -n "$with_build_time_tools"; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11150 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11151 if test -x $with_build_time_tools/as; then
11152 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11153 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11155 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11158 $as_echo "no
" >&6; }
11160 elif test $build != $host && test $have_gcc_for_target = yes; then
11161 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11162 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11163 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11166 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11167 # Extract the first word of "as
", so it can be a program name with args.
11168 set dummy as; ac_word=$2
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11170 $as_echo_n "checking
for $ac_word...
" >&6; }
11171 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11172 $as_echo_n "(cached
) " >&6
11174 case $AS_FOR_TARGET in
11176 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11180 for as_dir in $gcc_cv_tool_dirs
11183 test -z "$as_dir" && as_dir=.
11184 for ac_exec_ext in '' $ac_executable_extensions; do
11185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11186 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11197 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11198 if test -n "$AS_FOR_TARGET"; then
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11200 $as_echo "$AS_FOR_TARGET" >&6; }
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11203 $as_echo "no
" >&6; }
11208 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11211 if test -n "$AS_FOR_TARGET"; then
11212 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11213 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11214 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11217 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11218 for ncn_progname in as; do
11219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11220 set dummy ${ncn_progname}; ac_word=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11222 $as_echo_n "checking
for $ac_word...
" >&6; }
11223 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11224 $as_echo_n "(cached
) " >&6
11226 if test -n "$AS_FOR_TARGET"; then
11227 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11236 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11246 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11247 if test -n "$AS_FOR_TARGET"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11249 $as_echo "$AS_FOR_TARGET" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11252 $as_echo "no
" >&6; }
11259 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11260 for ncn_progname in as; do
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11262 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11263 if test -x $with_build_time_tools/${ncn_progname}; then
11264 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11266 $as_echo "yes" >&6; }
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11270 $as_echo "no
" >&6; }
11275 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11276 for ncn_progname in as; do
11277 if test -n "$ncn_target_tool_prefix"; then
11278 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11279 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11281 $as_echo_n "checking
for $ac_word...
" >&6; }
11282 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11283 $as_echo_n "(cached
) " >&6
11285 if test -n "$AS_FOR_TARGET"; then
11286 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11289 for as_dir in $PATH
11292 test -z "$as_dir" && as_dir=.
11293 for ac_exec_ext in '' $ac_executable_extensions; do
11294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11295 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11296 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11305 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11306 if test -n "$AS_FOR_TARGET"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11308 $as_echo "$AS_FOR_TARGET" >&6; }
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11311 $as_echo "no
" >&6; }
11316 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11318 set dummy ${ncn_progname}; ac_word=$2
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11320 $as_echo_n "checking
for $ac_word...
" >&6; }
11321 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11322 $as_echo_n "(cached
) " >&6
11324 if test -n "$AS_FOR_TARGET"; then
11325 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11328 for as_dir in $PATH
11331 test -z "$as_dir" && as_dir=.
11332 for ac_exec_ext in '' $ac_executable_extensions; do
11333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11334 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11344 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11345 if test -n "$AS_FOR_TARGET"; then
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11347 $as_echo "$AS_FOR_TARGET" >&6; }
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11350 $as_echo "no
" >&6; }
11355 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11359 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11361 if test $build = $target ; then
11364 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11367 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11371 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11377 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11378 if test -n "$with_build_time_tools"; then
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11380 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11381 if test -x $with_build_time_tools/dlltool; then
11382 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11383 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11385 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11388 $as_echo "no
" >&6; }
11390 elif test $build != $host && test $have_gcc_for_target = yes; then
11391 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11392 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11393 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11396 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11397 # Extract the first word of "dlltool
", so it can be a program name with args.
11398 set dummy dlltool; ac_word=$2
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11400 $as_echo_n "checking
for $ac_word...
" >&6; }
11401 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11402 $as_echo_n "(cached
) " >&6
11404 case $DLLTOOL_FOR_TARGET in
11406 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11410 for as_dir in $gcc_cv_tool_dirs
11413 test -z "$as_dir" && as_dir=.
11414 for ac_exec_ext in '' $ac_executable_extensions; do
11415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11416 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11417 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11427 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11428 if test -n "$DLLTOOL_FOR_TARGET"; then
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11430 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11433 $as_echo "no
" >&6; }
11438 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11441 if test -n "$DLLTOOL_FOR_TARGET"; then
11442 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11443 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11444 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11447 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11448 for ncn_progname in dlltool; do
11449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11450 set dummy ${ncn_progname}; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11452 $as_echo_n "checking
for $ac_word...
" >&6; }
11453 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11454 $as_echo_n "(cached
) " >&6
11456 if test -n "$DLLTOOL_FOR_TARGET"; then
11457 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11463 test -z "$as_dir" && as_dir=.
11464 for ac_exec_ext in '' $ac_executable_extensions; do
11465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11476 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11477 if test -n "$DLLTOOL_FOR_TARGET"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11479 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11482 $as_echo "no
" >&6; }
11489 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11490 for ncn_progname in dlltool; do
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11492 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11493 if test -x $with_build_time_tools/${ncn_progname}; then
11494 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11496 $as_echo "yes" >&6; }
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11500 $as_echo "no
" >&6; }
11505 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11506 for ncn_progname in dlltool; do
11507 if test -n "$ncn_target_tool_prefix"; then
11508 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11509 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11511 $as_echo_n "checking
for $ac_word...
" >&6; }
11512 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11513 $as_echo_n "(cached
) " >&6
11515 if test -n "$DLLTOOL_FOR_TARGET"; then
11516 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11519 for as_dir in $PATH
11522 test -z "$as_dir" && as_dir=.
11523 for ac_exec_ext in '' $ac_executable_extensions; do
11524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11525 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11526 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11535 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11536 if test -n "$DLLTOOL_FOR_TARGET"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11538 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11541 $as_echo "no
" >&6; }
11546 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11547 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11548 set dummy ${ncn_progname}; ac_word=$2
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11550 $as_echo_n "checking
for $ac_word...
" >&6; }
11551 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11552 $as_echo_n "(cached
) " >&6
11554 if test -n "$DLLTOOL_FOR_TARGET"; then
11555 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11558 for as_dir in $PATH
11561 test -z "$as_dir" && as_dir=.
11562 for ac_exec_ext in '' $ac_executable_extensions; do
11563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11564 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11565 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11574 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11575 if test -n "$DLLTOOL_FOR_TARGET"; then
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11577 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11580 $as_echo "no
" >&6; }
11585 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11589 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11591 if test $build = $target ; then
11592 DLLTOOL_FOR_TARGET="$2"
11594 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11597 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11601 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11607 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11608 if test -n "$with_build_time_tools"; then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11610 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11611 if test -x $with_build_time_tools/ld; then
11612 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11613 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11615 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11618 $as_echo "no
" >&6; }
11620 elif test $build != $host && test $have_gcc_for_target = yes; then
11621 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11622 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11623 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11626 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11627 # Extract the first word of "ld
", so it can be a program name with args.
11628 set dummy ld; ac_word=$2
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11630 $as_echo_n "checking
for $ac_word...
" >&6; }
11631 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11632 $as_echo_n "(cached
) " >&6
11634 case $LD_FOR_TARGET in
11636 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11640 for as_dir in $gcc_cv_tool_dirs
11643 test -z "$as_dir" && as_dir=.
11644 for ac_exec_ext in '' $ac_executable_extensions; do
11645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11646 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11657 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11658 if test -n "$LD_FOR_TARGET"; then
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11660 $as_echo "$LD_FOR_TARGET" >&6; }
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11663 $as_echo "no
" >&6; }
11668 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11671 if test -n "$LD_FOR_TARGET"; then
11672 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11673 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11674 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11677 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11678 for ncn_progname in ld; do
11679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11680 set dummy ${ncn_progname}; ac_word=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11682 $as_echo_n "checking
for $ac_word...
" >&6; }
11683 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11684 $as_echo_n "(cached
) " >&6
11686 if test -n "$LD_FOR_TARGET"; then
11687 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11690 for as_dir in $PATH
11693 test -z "$as_dir" && as_dir=.
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11696 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11706 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11707 if test -n "$LD_FOR_TARGET"; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11709 $as_echo "$LD_FOR_TARGET" >&6; }
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11712 $as_echo "no
" >&6; }
11719 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11720 for ncn_progname in ld; do
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11722 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11723 if test -x $with_build_time_tools/${ncn_progname}; then
11724 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11726 $as_echo "yes" >&6; }
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11730 $as_echo "no
" >&6; }
11735 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11736 for ncn_progname in ld; do
11737 if test -n "$ncn_target_tool_prefix"; then
11738 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11739 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11741 $as_echo_n "checking
for $ac_word...
" >&6; }
11742 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11743 $as_echo_n "(cached
) " >&6
11745 if test -n "$LD_FOR_TARGET"; then
11746 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11749 for as_dir in $PATH
11752 test -z "$as_dir" && as_dir=.
11753 for ac_exec_ext in '' $ac_executable_extensions; do
11754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11755 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11756 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11765 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11766 if test -n "$LD_FOR_TARGET"; then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11768 $as_echo "$LD_FOR_TARGET" >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11771 $as_echo "no
" >&6; }
11776 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11778 set dummy ${ncn_progname}; ac_word=$2
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11780 $as_echo_n "checking
for $ac_word...
" >&6; }
11781 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11782 $as_echo_n "(cached
) " >&6
11784 if test -n "$LD_FOR_TARGET"; then
11785 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11788 for as_dir in $PATH
11791 test -z "$as_dir" && as_dir=.
11792 for ac_exec_ext in '' $ac_executable_extensions; do
11793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11794 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11804 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11805 if test -n "$LD_FOR_TARGET"; then
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11807 $as_echo "$LD_FOR_TARGET" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11810 $as_echo "no
" >&6; }
11815 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11819 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11821 if test $build = $target ; then
11824 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11827 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11831 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11837 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11838 if test -n "$with_build_time_tools"; then
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11840 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11841 if test -x $with_build_time_tools/lipo; then
11842 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11843 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11845 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11848 $as_echo "no
" >&6; }
11850 elif test $build != $host && test $have_gcc_for_target = yes; then
11851 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11852 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11853 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11856 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11857 # Extract the first word of "lipo
", so it can be a program name with args.
11858 set dummy lipo; ac_word=$2
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11860 $as_echo_n "checking
for $ac_word...
" >&6; }
11861 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11862 $as_echo_n "(cached
) " >&6
11864 case $LIPO_FOR_TARGET in
11866 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11870 for as_dir in $gcc_cv_tool_dirs
11873 test -z "$as_dir" && as_dir=.
11874 for ac_exec_ext in '' $ac_executable_extensions; do
11875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11876 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11887 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11888 if test -n "$LIPO_FOR_TARGET"; then
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11890 $as_echo "$LIPO_FOR_TARGET" >&6; }
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11893 $as_echo "no
" >&6; }
11898 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11901 if test -n "$LIPO_FOR_TARGET"; then
11902 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11903 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11904 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11907 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11908 for ncn_progname in lipo; do
11909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11910 set dummy ${ncn_progname}; ac_word=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11912 $as_echo_n "checking
for $ac_word...
" >&6; }
11913 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11914 $as_echo_n "(cached
) " >&6
11916 if test -n "$LIPO_FOR_TARGET"; then
11917 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11920 for as_dir in $PATH
11923 test -z "$as_dir" && as_dir=.
11924 for ac_exec_ext in '' $ac_executable_extensions; do
11925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11926 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11936 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11937 if test -n "$LIPO_FOR_TARGET"; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11939 $as_echo "$LIPO_FOR_TARGET" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11942 $as_echo "no
" >&6; }
11949 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11950 for ncn_progname in lipo; do
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11952 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11953 if test -x $with_build_time_tools/${ncn_progname}; then
11954 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11956 $as_echo "yes" >&6; }
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11960 $as_echo "no
" >&6; }
11965 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11966 for ncn_progname in lipo; do
11967 if test -n "$ncn_target_tool_prefix"; then
11968 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11969 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11971 $as_echo_n "checking
for $ac_word...
" >&6; }
11972 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11973 $as_echo_n "(cached
) " >&6
11975 if test -n "$LIPO_FOR_TARGET"; then
11976 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11979 for as_dir in $PATH
11982 test -z "$as_dir" && as_dir=.
11983 for ac_exec_ext in '' $ac_executable_extensions; do
11984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11985 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11995 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11996 if test -n "$LIPO_FOR_TARGET"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11998 $as_echo "$LIPO_FOR_TARGET" >&6; }
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12001 $as_echo "no
" >&6; }
12006 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12008 set dummy ${ncn_progname}; ac_word=$2
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12010 $as_echo_n "checking
for $ac_word...
" >&6; }
12011 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12012 $as_echo_n "(cached
) " >&6
12014 if test -n "$LIPO_FOR_TARGET"; then
12015 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12018 for as_dir in $PATH
12021 test -z "$as_dir" && as_dir=.
12022 for ac_exec_ext in '' $ac_executable_extensions; do
12023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12024 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12034 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12035 if test -n "$LIPO_FOR_TARGET"; then
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12037 $as_echo "$LIPO_FOR_TARGET" >&6; }
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12040 $as_echo "no
" >&6; }
12045 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12049 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12051 if test $build = $target ; then
12052 LIPO_FOR_TARGET="$2"
12054 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12057 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12061 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12067 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12068 if test -n "$with_build_time_tools"; then
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12070 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12071 if test -x $with_build_time_tools/nm; then
12072 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12073 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12075 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12078 $as_echo "no
" >&6; }
12080 elif test $build != $host && test $have_gcc_for_target = yes; then
12081 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12082 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12083 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12086 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12087 # Extract the first word of "nm
", so it can be a program name with args.
12088 set dummy nm; ac_word=$2
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12090 $as_echo_n "checking
for $ac_word...
" >&6; }
12091 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12092 $as_echo_n "(cached
) " >&6
12094 case $NM_FOR_TARGET in
12096 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100 for as_dir in $gcc_cv_tool_dirs
12103 test -z "$as_dir" && as_dir=.
12104 for ac_exec_ext in '' $ac_executable_extensions; do
12105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12106 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12117 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12118 if test -n "$NM_FOR_TARGET"; then
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12120 $as_echo "$NM_FOR_TARGET" >&6; }
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12123 $as_echo "no
" >&6; }
12128 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12131 if test -n "$NM_FOR_TARGET"; then
12132 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12133 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12134 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12137 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12138 for ncn_progname in nm; do
12139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12140 set dummy ${ncn_progname}; ac_word=$2
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12142 $as_echo_n "checking
for $ac_word...
" >&6; }
12143 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12144 $as_echo_n "(cached
) " >&6
12146 if test -n "$NM_FOR_TARGET"; then
12147 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12153 test -z "$as_dir" && as_dir=.
12154 for ac_exec_ext in '' $ac_executable_extensions; do
12155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12156 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12166 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12167 if test -n "$NM_FOR_TARGET"; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12169 $as_echo "$NM_FOR_TARGET" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12172 $as_echo "no
" >&6; }
12179 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12180 for ncn_progname in nm; do
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12182 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12183 if test -x $with_build_time_tools/${ncn_progname}; then
12184 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12186 $as_echo "yes" >&6; }
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12190 $as_echo "no
" >&6; }
12195 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12196 for ncn_progname in nm; do
12197 if test -n "$ncn_target_tool_prefix"; then
12198 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12199 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12201 $as_echo_n "checking
for $ac_word...
" >&6; }
12202 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12203 $as_echo_n "(cached
) " >&6
12205 if test -n "$NM_FOR_TARGET"; then
12206 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12209 for as_dir in $PATH
12212 test -z "$as_dir" && as_dir=.
12213 for ac_exec_ext in '' $ac_executable_extensions; do
12214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12215 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12225 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12226 if test -n "$NM_FOR_TARGET"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12228 $as_echo "$NM_FOR_TARGET" >&6; }
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12231 $as_echo "no
" >&6; }
12236 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12237 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12238 set dummy ${ncn_progname}; ac_word=$2
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12240 $as_echo_n "checking
for $ac_word...
" >&6; }
12241 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12242 $as_echo_n "(cached
) " >&6
12244 if test -n "$NM_FOR_TARGET"; then
12245 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12255 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12264 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12265 if test -n "$NM_FOR_TARGET"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12267 $as_echo "$NM_FOR_TARGET" >&6; }
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12270 $as_echo "no
" >&6; }
12275 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12279 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12281 if test $build = $target ; then
12284 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12287 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12291 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12297 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12298 if test -n "$with_build_time_tools"; then
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12300 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12301 if test -x $with_build_time_tools/objdump; then
12302 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12303 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12305 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12308 $as_echo "no
" >&6; }
12310 elif test $build != $host && test $have_gcc_for_target = yes; then
12311 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12312 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12313 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12316 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12317 # Extract the first word of "objdump
", so it can be a program name with args.
12318 set dummy objdump; ac_word=$2
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12320 $as_echo_n "checking
for $ac_word...
" >&6; }
12321 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12322 $as_echo_n "(cached
) " >&6
12324 case $OBJDUMP_FOR_TARGET in
12326 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12330 for as_dir in $gcc_cv_tool_dirs
12333 test -z "$as_dir" && as_dir=.
12334 for ac_exec_ext in '' $ac_executable_extensions; do
12335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12336 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12347 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12348 if test -n "$OBJDUMP_FOR_TARGET"; then
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12350 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12353 $as_echo "no
" >&6; }
12358 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12361 if test -n "$OBJDUMP_FOR_TARGET"; then
12362 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12363 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12364 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12367 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12368 for ncn_progname in objdump; do
12369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12370 set dummy ${ncn_progname}; ac_word=$2
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12372 $as_echo_n "checking
for $ac_word...
" >&6; }
12373 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12374 $as_echo_n "(cached
) " >&6
12376 if test -n "$OBJDUMP_FOR_TARGET"; then
12377 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12380 for as_dir in $PATH
12383 test -z "$as_dir" && as_dir=.
12384 for ac_exec_ext in '' $ac_executable_extensions; do
12385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12386 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12396 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12397 if test -n "$OBJDUMP_FOR_TARGET"; then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12399 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12402 $as_echo "no
" >&6; }
12409 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12410 for ncn_progname in objdump; do
12411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12412 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12413 if test -x $with_build_time_tools/${ncn_progname}; then
12414 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12416 $as_echo "yes" >&6; }
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12420 $as_echo "no
" >&6; }
12425 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12426 for ncn_progname in objdump; do
12427 if test -n "$ncn_target_tool_prefix"; then
12428 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12429 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12431 $as_echo_n "checking
for $ac_word...
" >&6; }
12432 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12433 $as_echo_n "(cached
) " >&6
12435 if test -n "$OBJDUMP_FOR_TARGET"; then
12436 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12439 for as_dir in $PATH
12442 test -z "$as_dir" && as_dir=.
12443 for ac_exec_ext in '' $ac_executable_extensions; do
12444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12445 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12455 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12456 if test -n "$OBJDUMP_FOR_TARGET"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12458 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12461 $as_echo "no
" >&6; }
12466 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12468 set dummy ${ncn_progname}; ac_word=$2
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12470 $as_echo_n "checking
for $ac_word...
" >&6; }
12471 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12472 $as_echo_n "(cached
) " >&6
12474 if test -n "$OBJDUMP_FOR_TARGET"; then
12475 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12478 for as_dir in $PATH
12481 test -z "$as_dir" && as_dir=.
12482 for ac_exec_ext in '' $ac_executable_extensions; do
12483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12484 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12494 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12495 if test -n "$OBJDUMP_FOR_TARGET"; then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12497 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12500 $as_echo "no
" >&6; }
12505 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12509 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12511 if test $build = $target ; then
12512 OBJDUMP_FOR_TARGET="$2"
12514 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12517 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12521 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12527 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12528 if test -n "$with_build_time_tools"; then
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12530 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12531 if test -x $with_build_time_tools/ranlib; then
12532 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12533 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12535 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12538 $as_echo "no
" >&6; }
12540 elif test $build != $host && test $have_gcc_for_target = yes; then
12541 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12542 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12543 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12546 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12547 # Extract the first word of "ranlib
", so it can be a program name with args.
12548 set dummy ranlib; ac_word=$2
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12550 $as_echo_n "checking
for $ac_word...
" >&6; }
12551 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12552 $as_echo_n "(cached
) " >&6
12554 case $RANLIB_FOR_TARGET in
12556 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12560 for as_dir in $gcc_cv_tool_dirs
12563 test -z "$as_dir" && as_dir=.
12564 for ac_exec_ext in '' $ac_executable_extensions; do
12565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12566 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12577 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12578 if test -n "$RANLIB_FOR_TARGET"; then
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12580 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12583 $as_echo "no
" >&6; }
12588 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12591 if test -n "$RANLIB_FOR_TARGET"; then
12592 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12593 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12594 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12597 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12598 for ncn_progname in ranlib; do
12599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12600 set dummy ${ncn_progname}; ac_word=$2
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12602 $as_echo_n "checking
for $ac_word...
" >&6; }
12603 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12604 $as_echo_n "(cached
) " >&6
12606 if test -n "$RANLIB_FOR_TARGET"; then
12607 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12613 test -z "$as_dir" && as_dir=.
12614 for ac_exec_ext in '' $ac_executable_extensions; do
12615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12626 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12627 if test -n "$RANLIB_FOR_TARGET"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12629 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12632 $as_echo "no
" >&6; }
12639 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12640 for ncn_progname in ranlib; do
12641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12642 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12643 if test -x $with_build_time_tools/${ncn_progname}; then
12644 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12646 $as_echo "yes" >&6; }
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12650 $as_echo "no
" >&6; }
12655 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12656 for ncn_progname in ranlib; do
12657 if test -n "$ncn_target_tool_prefix"; then
12658 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12659 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12661 $as_echo_n "checking
for $ac_word...
" >&6; }
12662 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12663 $as_echo_n "(cached
) " >&6
12665 if test -n "$RANLIB_FOR_TARGET"; then
12666 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12669 for as_dir in $PATH
12672 test -z "$as_dir" && as_dir=.
12673 for ac_exec_ext in '' $ac_executable_extensions; do
12674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12675 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12685 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12686 if test -n "$RANLIB_FOR_TARGET"; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12688 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12691 $as_echo "no
" >&6; }
12696 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12697 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12698 set dummy ${ncn_progname}; ac_word=$2
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12700 $as_echo_n "checking
for $ac_word...
" >&6; }
12701 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12702 $as_echo_n "(cached
) " >&6
12704 if test -n "$RANLIB_FOR_TARGET"; then
12705 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12708 for as_dir in $PATH
12711 test -z "$as_dir" && as_dir=.
12712 for ac_exec_ext in '' $ac_executable_extensions; do
12713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12714 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12715 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12724 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12725 if test -n "$RANLIB_FOR_TARGET"; then
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12727 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12730 $as_echo "no
" >&6; }
12735 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12739 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12741 if test $build = $target ; then
12742 RANLIB_FOR_TARGET="$2"
12744 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12747 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12751 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12757 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12758 if test -n "$with_build_time_tools"; then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12760 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12761 if test -x $with_build_time_tools/readelf; then
12762 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12763 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12765 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12768 $as_echo "no
" >&6; }
12770 elif test $build != $host && test $have_gcc_for_target = yes; then
12771 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12772 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12773 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12776 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12777 # Extract the first word of "readelf
", so it can be a program name with args.
12778 set dummy readelf; ac_word=$2
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12780 $as_echo_n "checking
for $ac_word...
" >&6; }
12781 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12782 $as_echo_n "(cached
) " >&6
12784 case $READELF_FOR_TARGET in
12786 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12790 for as_dir in $gcc_cv_tool_dirs
12793 test -z "$as_dir" && as_dir=.
12794 for ac_exec_ext in '' $ac_executable_extensions; do
12795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12796 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12807 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12808 if test -n "$READELF_FOR_TARGET"; then
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12810 $as_echo "$READELF_FOR_TARGET" >&6; }
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12813 $as_echo "no
" >&6; }
12818 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12821 if test -n "$READELF_FOR_TARGET"; then
12822 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12823 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12824 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12827 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12828 for ncn_progname in readelf; do
12829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12830 set dummy ${ncn_progname}; ac_word=$2
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12832 $as_echo_n "checking
for $ac_word...
" >&6; }
12833 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12834 $as_echo_n "(cached
) " >&6
12836 if test -n "$READELF_FOR_TARGET"; then
12837 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12856 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12857 if test -n "$READELF_FOR_TARGET"; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12859 $as_echo "$READELF_FOR_TARGET" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12862 $as_echo "no
" >&6; }
12869 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12870 for ncn_progname in readelf; do
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12872 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12873 if test -x $with_build_time_tools/${ncn_progname}; then
12874 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12876 $as_echo "yes" >&6; }
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12880 $as_echo "no
" >&6; }
12885 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12886 for ncn_progname in readelf; do
12887 if test -n "$ncn_target_tool_prefix"; then
12888 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12889 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12891 $as_echo_n "checking
for $ac_word...
" >&6; }
12892 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12893 $as_echo_n "(cached
) " >&6
12895 if test -n "$READELF_FOR_TARGET"; then
12896 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12899 for as_dir in $PATH
12902 test -z "$as_dir" && as_dir=.
12903 for ac_exec_ext in '' $ac_executable_extensions; do
12904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12905 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12915 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12916 if test -n "$READELF_FOR_TARGET"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12918 $as_echo "$READELF_FOR_TARGET" >&6; }
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12921 $as_echo "no
" >&6; }
12926 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12928 set dummy ${ncn_progname}; ac_word=$2
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12930 $as_echo_n "checking
for $ac_word...
" >&6; }
12931 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12932 $as_echo_n "(cached
) " >&6
12934 if test -n "$READELF_FOR_TARGET"; then
12935 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12938 for as_dir in $PATH
12941 test -z "$as_dir" && as_dir=.
12942 for ac_exec_ext in '' $ac_executable_extensions; do
12943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12944 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12954 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12955 if test -n "$READELF_FOR_TARGET"; then
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12957 $as_echo "$READELF_FOR_TARGET" >&6; }
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12960 $as_echo "no
" >&6; }
12965 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12969 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12971 if test $build = $target ; then
12972 READELF_FOR_TARGET="$2"
12974 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12977 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12981 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12987 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12988 if test -n "$with_build_time_tools"; then
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12990 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12991 if test -x $with_build_time_tools/strip; then
12992 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12993 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12995 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12998 $as_echo "no
" >&6; }
13000 elif test $build != $host && test $have_gcc_for_target = yes; then
13001 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13002 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13003 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13006 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13007 # Extract the first word of "strip
", so it can be a program name with args.
13008 set dummy strip; ac_word=$2
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13010 $as_echo_n "checking
for $ac_word...
" >&6; }
13011 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13012 $as_echo_n "(cached
) " >&6
13014 case $STRIP_FOR_TARGET in
13016 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13020 for as_dir in $gcc_cv_tool_dirs
13023 test -z "$as_dir" && as_dir=.
13024 for ac_exec_ext in '' $ac_executable_extensions; do
13025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13026 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13037 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13038 if test -n "$STRIP_FOR_TARGET"; then
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13040 $as_echo "$STRIP_FOR_TARGET" >&6; }
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13043 $as_echo "no
" >&6; }
13048 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13051 if test -n "$STRIP_FOR_TARGET"; then
13052 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13053 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13054 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13057 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13058 for ncn_progname in strip; do
13059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13060 set dummy ${ncn_progname}; ac_word=$2
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13062 $as_echo_n "checking
for $ac_word...
" >&6; }
13063 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13064 $as_echo_n "(cached
) " >&6
13066 if test -n "$STRIP_FOR_TARGET"; then
13067 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13070 for as_dir in $PATH
13073 test -z "$as_dir" && as_dir=.
13074 for ac_exec_ext in '' $ac_executable_extensions; do
13075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13076 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13086 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13087 if test -n "$STRIP_FOR_TARGET"; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13089 $as_echo "$STRIP_FOR_TARGET" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13092 $as_echo "no
" >&6; }
13099 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13100 for ncn_progname in strip; do
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13102 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13103 if test -x $with_build_time_tools/${ncn_progname}; then
13104 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13106 $as_echo "yes" >&6; }
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13110 $as_echo "no
" >&6; }
13115 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13116 for ncn_progname in strip; do
13117 if test -n "$ncn_target_tool_prefix"; then
13118 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13119 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13121 $as_echo_n "checking
for $ac_word...
" >&6; }
13122 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13123 $as_echo_n "(cached
) " >&6
13125 if test -n "$STRIP_FOR_TARGET"; then
13126 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13129 for as_dir in $PATH
13132 test -z "$as_dir" && as_dir=.
13133 for ac_exec_ext in '' $ac_executable_extensions; do
13134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13135 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13145 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13146 if test -n "$STRIP_FOR_TARGET"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13148 $as_echo "$STRIP_FOR_TARGET" >&6; }
13150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13151 $as_echo "no
" >&6; }
13156 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13157 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13158 set dummy ${ncn_progname}; ac_word=$2
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13160 $as_echo_n "checking
for $ac_word...
" >&6; }
13161 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13162 $as_echo_n "(cached
) " >&6
13164 if test -n "$STRIP_FOR_TARGET"; then
13165 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13168 for as_dir in $PATH
13171 test -z "$as_dir" && as_dir=.
13172 for ac_exec_ext in '' $ac_executable_extensions; do
13173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13174 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13184 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13185 if test -n "$STRIP_FOR_TARGET"; then
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13187 $as_echo "$STRIP_FOR_TARGET" >&6; }
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13190 $as_echo "no
" >&6; }
13195 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13199 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13201 if test $build = $target ; then
13202 STRIP_FOR_TARGET="$2"
13204 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13207 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13211 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13217 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13218 if test -n "$with_build_time_tools"; then
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13220 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13221 if test -x $with_build_time_tools/windres; then
13222 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13223 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13225 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13228 $as_echo "no
" >&6; }
13230 elif test $build != $host && test $have_gcc_for_target = yes; then
13231 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13232 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13233 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13236 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13237 # Extract the first word of "windres
", so it can be a program name with args.
13238 set dummy windres; ac_word=$2
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13240 $as_echo_n "checking
for $ac_word...
" >&6; }
13241 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13242 $as_echo_n "(cached
) " >&6
13244 case $WINDRES_FOR_TARGET in
13246 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13250 for as_dir in $gcc_cv_tool_dirs
13253 test -z "$as_dir" && as_dir=.
13254 for ac_exec_ext in '' $ac_executable_extensions; do
13255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13256 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13267 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13268 if test -n "$WINDRES_FOR_TARGET"; then
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13270 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13273 $as_echo "no
" >&6; }
13278 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13281 if test -n "$WINDRES_FOR_TARGET"; then
13282 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13283 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13284 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13287 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13288 for ncn_progname in windres; do
13289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13290 set dummy ${ncn_progname}; ac_word=$2
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13292 $as_echo_n "checking
for $ac_word...
" >&6; }
13293 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13294 $as_echo_n "(cached
) " >&6
13296 if test -n "$WINDRES_FOR_TARGET"; then
13297 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13306 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13316 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13317 if test -n "$WINDRES_FOR_TARGET"; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13319 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13322 $as_echo "no
" >&6; }
13329 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13330 for ncn_progname in windres; do
13331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13332 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13333 if test -x $with_build_time_tools/${ncn_progname}; then
13334 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13336 $as_echo "yes" >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13340 $as_echo "no
" >&6; }
13345 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13346 for ncn_progname in windres; do
13347 if test -n "$ncn_target_tool_prefix"; then
13348 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13349 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13351 $as_echo_n "checking
for $ac_word...
" >&6; }
13352 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13353 $as_echo_n "(cached
) " >&6
13355 if test -n "$WINDRES_FOR_TARGET"; then
13356 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13359 for as_dir in $PATH
13362 test -z "$as_dir" && as_dir=.
13363 for ac_exec_ext in '' $ac_executable_extensions; do
13364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13365 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13375 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13376 if test -n "$WINDRES_FOR_TARGET"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13378 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13381 $as_echo "no
" >&6; }
13386 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13387 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13388 set dummy ${ncn_progname}; ac_word=$2
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13390 $as_echo_n "checking
for $ac_word...
" >&6; }
13391 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13392 $as_echo_n "(cached
) " >&6
13394 if test -n "$WINDRES_FOR_TARGET"; then
13395 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13398 for as_dir in $PATH
13401 test -z "$as_dir" && as_dir=.
13402 for ac_exec_ext in '' $ac_executable_extensions; do
13403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13404 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13414 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13415 if test -n "$WINDRES_FOR_TARGET"; then
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13417 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13420 $as_echo "no
" >&6; }
13425 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13429 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13431 if test $build = $target ; then
13432 WINDRES_FOR_TARGET="$2"
13434 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13437 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13441 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13447 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13448 if test -n "$with_build_time_tools"; then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13450 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13451 if test -x $with_build_time_tools/windmc; then
13452 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13453 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13455 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13458 $as_echo "no
" >&6; }
13460 elif test $build != $host && test $have_gcc_for_target = yes; then
13461 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13462 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13463 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13466 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13467 # Extract the first word of "windmc
", so it can be a program name with args.
13468 set dummy windmc; ac_word=$2
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13470 $as_echo_n "checking
for $ac_word...
" >&6; }
13471 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13472 $as_echo_n "(cached
) " >&6
13474 case $WINDMC_FOR_TARGET in
13476 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480 for as_dir in $gcc_cv_tool_dirs
13483 test -z "$as_dir" && as_dir=.
13484 for ac_exec_ext in '' $ac_executable_extensions; do
13485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13486 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13497 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13498 if test -n "$WINDMC_FOR_TARGET"; then
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13500 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13503 $as_echo "no
" >&6; }
13508 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13511 if test -n "$WINDMC_FOR_TARGET"; then
13512 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13513 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13514 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13517 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13518 for ncn_progname in windmc; do
13519 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13520 set dummy ${ncn_progname}; ac_word=$2
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13522 $as_echo_n "checking
for $ac_word...
" >&6; }
13523 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13524 $as_echo_n "(cached
) " >&6
13526 if test -n "$WINDMC_FOR_TARGET"; then
13527 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13530 for as_dir in $PATH
13533 test -z "$as_dir" && as_dir=.
13534 for ac_exec_ext in '' $ac_executable_extensions; do
13535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13536 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13546 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13547 if test -n "$WINDMC_FOR_TARGET"; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13549 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13552 $as_echo "no
" >&6; }
13559 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13560 for ncn_progname in windmc; do
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13562 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13563 if test -x $with_build_time_tools/${ncn_progname}; then
13564 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13566 $as_echo "yes" >&6; }
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13570 $as_echo "no
" >&6; }
13575 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13576 for ncn_progname in windmc; do
13577 if test -n "$ncn_target_tool_prefix"; then
13578 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13579 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13581 $as_echo_n "checking
for $ac_word...
" >&6; }
13582 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13583 $as_echo_n "(cached
) " >&6
13585 if test -n "$WINDMC_FOR_TARGET"; then
13586 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13589 for as_dir in $PATH
13592 test -z "$as_dir" && as_dir=.
13593 for ac_exec_ext in '' $ac_executable_extensions; do
13594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13595 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13605 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13606 if test -n "$WINDMC_FOR_TARGET"; then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13608 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13611 $as_echo "no
" >&6; }
13616 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13617 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13618 set dummy ${ncn_progname}; ac_word=$2
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13620 $as_echo_n "checking
for $ac_word...
" >&6; }
13621 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13622 $as_echo_n "(cached
) " >&6
13624 if test -n "$WINDMC_FOR_TARGET"; then
13625 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13628 for as_dir in $PATH
13631 test -z "$as_dir" && as_dir=.
13632 for ac_exec_ext in '' $ac_executable_extensions; do
13633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13634 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13644 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13645 if test -n "$WINDMC_FOR_TARGET"; then
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13647 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13650 $as_echo "no
" >&6; }
13655 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13659 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13661 if test $build = $target ; then
13662 WINDMC_FOR_TARGET="$2"
13664 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13667 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13671 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13675 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13678 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13679 if test "x
${build}" != "x
${host}" ; then
13680 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13681 # We already found the complete path
13682 ac_dir=`dirname $AR_FOR_TARGET`
13683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13684 $as_echo "pre-installed
in $ac_dir" >&6; }
13686 # Canadian cross, just use what we found
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13688 $as_echo "pre-installed
" >&6; }
13692 case " ${configdirs} " in
13697 if test $ok = yes; then
13698 # An in-tree tool is available and we can use it
13699 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13701 $as_echo "just compiled
" >&6; }
13702 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13703 # We already found the complete path
13704 ac_dir=`dirname $AR_FOR_TARGET`
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13706 $as_echo "pre-installed
in $ac_dir" >&6; }
13707 elif test "x
$target" = "x
$host"; then
13708 # We can use an host tool
13709 AR_FOR_TARGET='$(AR)'
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13711 $as_echo "host tool
" >&6; }
13713 # We need a cross tool
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13715 $as_echo "pre-installed
" >&6; }
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13720 $as_echo_n "checking where to
find the target as...
" >&6; }
13721 if test "x
${build}" != "x
${host}" ; then
13722 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13723 # We already found the complete path
13724 ac_dir=`dirname $AS_FOR_TARGET`
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13726 $as_echo "pre-installed
in $ac_dir" >&6; }
13728 # Canadian cross, just use what we found
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13730 $as_echo "pre-installed
" >&6; }
13734 case " ${configdirs} " in
13739 if test $ok = yes; then
13740 # An in-tree tool is available and we can use it
13741 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13743 $as_echo "just compiled
" >&6; }
13744 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13745 # We already found the complete path
13746 ac_dir=`dirname $AS_FOR_TARGET`
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13748 $as_echo "pre-installed
in $ac_dir" >&6; }
13749 elif test "x
$target" = "x
$host"; then
13750 # We can use an host tool
13751 AS_FOR_TARGET='$(AS)'
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13753 $as_echo "host tool
" >&6; }
13755 # We need a cross tool
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13757 $as_echo "pre-installed
" >&6; }
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13762 $as_echo_n "checking where to
find the target cc...
" >&6; }
13763 if test "x
${build}" != "x
${host}" ; then
13764 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13765 # We already found the complete path
13766 ac_dir=`dirname $CC_FOR_TARGET`
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13768 $as_echo "pre-installed
in $ac_dir" >&6; }
13770 # Canadian cross, just use what we found
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13772 $as_echo "pre-installed
" >&6; }
13776 case " ${configdirs} " in
13781 if test $ok = yes; then
13782 # An in-tree tool is available and we can use it
13783 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13785 $as_echo "just compiled
" >&6; }
13786 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13787 # We already found the complete path
13788 ac_dir=`dirname $CC_FOR_TARGET`
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13790 $as_echo "pre-installed
in $ac_dir" >&6; }
13791 elif test "x
$target" = "x
$host"; then
13792 # We can use an host tool
13793 CC_FOR_TARGET='$(CC)'
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13795 $as_echo "host tool
" >&6; }
13797 # We need a cross tool
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13799 $as_echo "pre-installed
" >&6; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13804 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13805 if test "x
${build}" != "x
${host}" ; then
13806 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13807 # We already found the complete path
13808 ac_dir=`dirname $CXX_FOR_TARGET`
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13810 $as_echo "pre-installed
in $ac_dir" >&6; }
13812 # Canadian cross, just use what we found
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13814 $as_echo "pre-installed
" >&6; }
13818 case " ${configdirs} " in
13822 case ,${enable_languages}, in
13826 if test $ok = yes; then
13827 # An in-tree tool is available and we can use it
13828 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13830 $as_echo "just compiled
" >&6; }
13831 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13832 # We already found the complete path
13833 ac_dir=`dirname $CXX_FOR_TARGET`
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13835 $as_echo "pre-installed
in $ac_dir" >&6; }
13836 elif test "x
$target" = "x
$host"; then
13837 # We can use an host tool
13838 CXX_FOR_TARGET='$(CXX)'
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13840 $as_echo "host tool
" >&6; }
13842 # We need a cross tool
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13844 $as_echo "pre-installed
" >&6; }
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13849 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13850 if test "x
${build}" != "x
${host}" ; then
13851 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13852 # We already found the complete path
13853 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13855 $as_echo "pre-installed
in $ac_dir" >&6; }
13857 # Canadian cross, just use what we found
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13859 $as_echo "pre-installed
" >&6; }
13863 case " ${configdirs} " in
13867 case ,${enable_languages}, in
13871 if test $ok = yes; then
13872 # An in-tree tool is available and we can use it
13873 RAW_CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13875 $as_echo "just compiled
" >&6; }
13876 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13877 # We already found the complete path
13878 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13880 $as_echo "pre-installed
in $ac_dir" >&6; }
13881 elif test "x
$target" = "x
$host"; then
13882 # We can use an host tool
13883 RAW_CXX_FOR_TARGET='$(CXX)'
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13885 $as_echo "host tool
" >&6; }
13887 # We need a cross tool
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13889 $as_echo "pre-installed
" >&6; }
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13894 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13895 if test "x
${build}" != "x
${host}" ; then
13896 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13897 # We already found the complete path
13898 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13900 $as_echo "pre-installed
in $ac_dir" >&6; }
13902 # Canadian cross, just use what we found
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13904 $as_echo "pre-installed
" >&6; }
13908 case " ${configdirs} " in
13913 if test $ok = yes; then
13914 # An in-tree tool is available and we can use it
13915 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13917 $as_echo "just compiled
" >&6; }
13918 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13919 # We already found the complete path
13920 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13922 $as_echo "pre-installed
in $ac_dir" >&6; }
13923 elif test "x
$target" = "x
$host"; then
13924 # We can use an host tool
13925 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13927 $as_echo "host tool
" >&6; }
13929 # We need a cross tool
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13931 $as_echo "pre-installed
" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13936 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13937 if test "x
${build}" != "x
${host}" ; then
13938 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13939 # We already found the complete path
13940 ac_dir=`dirname $GCC_FOR_TARGET`
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13942 $as_echo "pre-installed
in $ac_dir" >&6; }
13944 # Canadian cross, just use what we found
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13946 $as_echo "pre-installed
" >&6; }
13950 case " ${configdirs} " in
13955 if test $ok = yes; then
13956 # An in-tree tool is available and we can use it
13957 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13959 $as_echo "just compiled
" >&6; }
13960 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13961 # We already found the complete path
13962 ac_dir=`dirname $GCC_FOR_TARGET`
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13964 $as_echo "pre-installed
in $ac_dir" >&6; }
13965 elif test "x
$target" = "x
$host"; then
13966 # We can use an host tool
13967 GCC_FOR_TARGET='$()'
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13969 $as_echo "host tool
" >&6; }
13971 # We need a cross tool
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13973 $as_echo "pre-installed
" >&6; }
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13978 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13979 if test "x
${build}" != "x
${host}" ; then
13980 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13981 # We already found the complete path
13982 ac_dir=`dirname $GCJ_FOR_TARGET`
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13984 $as_echo "pre-installed
in $ac_dir" >&6; }
13986 # Canadian cross, just use what we found
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13988 $as_echo "pre-installed
" >&6; }
13992 case " ${configdirs} " in
13996 case ,${enable_languages}, in
14000 if test $ok = yes; then
14001 # An in-tree tool is available and we can use it
14002 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14004 $as_echo "just compiled
" >&6; }
14005 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14006 # We already found the complete path
14007 ac_dir=`dirname $GCJ_FOR_TARGET`
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14009 $as_echo "pre-installed
in $ac_dir" >&6; }
14010 elif test "x
$target" = "x
$host"; then
14011 # We can use an host tool
14012 GCJ_FOR_TARGET='$(GCJ)'
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14014 $as_echo "host tool
" >&6; }
14016 # We need a cross tool
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14018 $as_echo "pre-installed
" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14023 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14024 if test "x
${build}" != "x
${host}" ; then
14025 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14026 # We already found the complete path
14027 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14029 $as_echo "pre-installed
in $ac_dir" >&6; }
14031 # Canadian cross, just use what we found
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14033 $as_echo "pre-installed
" >&6; }
14037 case " ${configdirs} " in
14041 case ,${enable_languages}, in
14045 if test $ok = yes; then
14046 # An in-tree tool is available and we can use it
14047 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14049 $as_echo "just compiled
" >&6; }
14050 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14051 # We already found the complete path
14052 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14054 $as_echo "pre-installed
in $ac_dir" >&6; }
14055 elif test "x
$target" = "x
$host"; then
14056 # We can use an host tool
14057 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14059 $as_echo "host tool
" >&6; }
14061 # We need a cross tool
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14063 $as_echo "pre-installed
" >&6; }
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14068 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14069 if test "x
${build}" != "x
${host}" ; then
14070 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14071 # We already found the complete path
14072 ac_dir=`dirname $GOC_FOR_TARGET`
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14074 $as_echo "pre-installed
in $ac_dir" >&6; }
14076 # Canadian cross, just use what we found
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14078 $as_echo "pre-installed
" >&6; }
14082 case " ${configdirs} " in
14086 case ,${enable_languages}, in
14090 if test $ok = yes; then
14091 # An in-tree tool is available and we can use it
14092 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14094 $as_echo "just compiled
" >&6; }
14095 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14096 # We already found the complete path
14097 ac_dir=`dirname $GOC_FOR_TARGET`
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14099 $as_echo "pre-installed
in $ac_dir" >&6; }
14100 elif test "x
$target" = "x
$host"; then
14101 # We can use an host tool
14102 GOC_FOR_TARGET='$(GOC)'
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14104 $as_echo "host tool
" >&6; }
14106 # We need a cross tool
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14108 $as_echo "pre-installed
" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14113 $as_echo_n "checking where to
find the target ld...
" >&6; }
14114 if test "x
${build}" != "x
${host}" ; then
14115 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $LD_FOR_TARGET`
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14119 $as_echo "pre-installed
in $ac_dir" >&6; }
14121 # Canadian cross, just use what we found
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14123 $as_echo "pre-installed
" >&6; }
14127 case " ${configdirs} " in
14132 if test $ok = yes; then
14133 # An in-tree tool is available and we can use it
14134 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14136 $as_echo "just compiled
" >&6; }
14137 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14138 # We already found the complete path
14139 ac_dir=`dirname $LD_FOR_TARGET`
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14141 $as_echo "pre-installed
in $ac_dir" >&6; }
14142 elif test "x
$target" = "x
$host"; then
14143 # We can use an host tool
14144 LD_FOR_TARGET='$(LD)'
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14146 $as_echo "host tool
" >&6; }
14148 # We need a cross tool
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14150 $as_echo "pre-installed
" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14155 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14156 if test "x
${build}" != "x
${host}" ; then
14157 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $LIPO_FOR_TARGET`
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14161 $as_echo "pre-installed
in $ac_dir" >&6; }
14163 # Canadian cross, just use what we found
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14165 $as_echo "pre-installed
" >&6; }
14168 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14169 # We already found the complete path
14170 ac_dir=`dirname $LIPO_FOR_TARGET`
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14172 $as_echo "pre-installed
in $ac_dir" >&6; }
14173 elif test "x
$target" = "x
$host"; then
14174 # We can use an host tool
14175 LIPO_FOR_TARGET='$(LIPO)'
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14177 $as_echo "host tool
" >&6; }
14179 # We need a cross tool
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14181 $as_echo "pre-installed
" >&6; }
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14186 $as_echo_n "checking where to
find the target nm...
" >&6; }
14187 if test "x
${build}" != "x
${host}" ; then
14188 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14189 # We already found the complete path
14190 ac_dir=`dirname $NM_FOR_TARGET`
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14192 $as_echo "pre-installed
in $ac_dir" >&6; }
14194 # Canadian cross, just use what we found
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14196 $as_echo "pre-installed
" >&6; }
14200 case " ${configdirs} " in
14205 if test $ok = yes; then
14206 # An in-tree tool is available and we can use it
14207 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14209 $as_echo "just compiled
" >&6; }
14210 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14211 # We already found the complete path
14212 ac_dir=`dirname $NM_FOR_TARGET`
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14214 $as_echo "pre-installed
in $ac_dir" >&6; }
14215 elif test "x
$target" = "x
$host"; then
14216 # We can use an host tool
14217 NM_FOR_TARGET='$(NM)'
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14219 $as_echo "host tool
" >&6; }
14221 # We need a cross tool
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14223 $as_echo "pre-installed
" >&6; }
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14228 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14229 if test "x
${build}" != "x
${host}" ; then
14230 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14231 # We already found the complete path
14232 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14234 $as_echo "pre-installed
in $ac_dir" >&6; }
14236 # Canadian cross, just use what we found
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14238 $as_echo "pre-installed
" >&6; }
14242 case " ${configdirs} " in
14247 if test $ok = yes; then
14248 # An in-tree tool is available and we can use it
14249 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14251 $as_echo "just compiled
" >&6; }
14252 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14253 # We already found the complete path
14254 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14256 $as_echo "pre-installed
in $ac_dir" >&6; }
14257 elif test "x
$target" = "x
$host"; then
14258 # We can use an host tool
14259 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14261 $as_echo "host tool
" >&6; }
14263 # We need a cross tool
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14265 $as_echo "pre-installed
" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14270 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14271 if test "x
${build}" != "x
${host}" ; then
14272 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14273 # We already found the complete path
14274 ac_dir=`dirname $RANLIB_FOR_TARGET`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14276 $as_echo "pre-installed
in $ac_dir" >&6; }
14278 # Canadian cross, just use what we found
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14280 $as_echo "pre-installed
" >&6; }
14284 case " ${configdirs} " in
14289 if test $ok = yes; then
14290 # An in-tree tool is available and we can use it
14291 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14293 $as_echo "just compiled
" >&6; }
14294 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14295 # We already found the complete path
14296 ac_dir=`dirname $RANLIB_FOR_TARGET`
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14298 $as_echo "pre-installed
in $ac_dir" >&6; }
14299 elif test "x
$target" = "x
$host"; then
14300 # We can use an host tool
14301 RANLIB_FOR_TARGET='$(RANLIB)'
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14303 $as_echo "host tool
" >&6; }
14305 # We need a cross tool
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14307 $as_echo "pre-installed
" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14312 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14313 if test "x
${build}" != "x
${host}" ; then
14314 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14315 # We already found the complete path
14316 ac_dir=`dirname $READELF_FOR_TARGET`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14318 $as_echo "pre-installed
in $ac_dir" >&6; }
14320 # Canadian cross, just use what we found
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14322 $as_echo "pre-installed
" >&6; }
14326 case " ${configdirs} " in
14331 if test $ok = yes; then
14332 # An in-tree tool is available and we can use it
14333 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14335 $as_echo "just compiled
" >&6; }
14336 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14337 # We already found the complete path
14338 ac_dir=`dirname $READELF_FOR_TARGET`
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14340 $as_echo "pre-installed
in $ac_dir" >&6; }
14341 elif test "x
$target" = "x
$host"; then
14342 # We can use an host tool
14343 READELF_FOR_TARGET='$(READELF)'
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14345 $as_echo "host tool
" >&6; }
14347 # We need a cross tool
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14349 $as_echo "pre-installed
" >&6; }
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14354 $as_echo_n "checking where to
find the target strip...
" >&6; }
14355 if test "x
${build}" != "x
${host}" ; then
14356 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14357 # We already found the complete path
14358 ac_dir=`dirname $STRIP_FOR_TARGET`
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14360 $as_echo "pre-installed
in $ac_dir" >&6; }
14362 # Canadian cross, just use what we found
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14364 $as_echo "pre-installed
" >&6; }
14368 case " ${configdirs} " in
14373 if test $ok = yes; then
14374 # An in-tree tool is available and we can use it
14375 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14377 $as_echo "just compiled
" >&6; }
14378 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14379 # We already found the complete path
14380 ac_dir=`dirname $STRIP_FOR_TARGET`
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14382 $as_echo "pre-installed
in $ac_dir" >&6; }
14383 elif test "x
$target" = "x
$host"; then
14384 # We can use an host tool
14385 STRIP_FOR_TARGET='$(STRIP)'
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14387 $as_echo "host tool
" >&6; }
14389 # We need a cross tool
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14391 $as_echo "pre-installed
" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14396 $as_echo_n "checking where to
find the target windres...
" >&6; }
14397 if test "x
${build}" != "x
${host}" ; then
14398 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14399 # We already found the complete path
14400 ac_dir=`dirname $WINDRES_FOR_TARGET`
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14402 $as_echo "pre-installed
in $ac_dir" >&6; }
14404 # Canadian cross, just use what we found
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14406 $as_echo "pre-installed
" >&6; }
14410 case " ${configdirs} " in
14415 if test $ok = yes; then
14416 # An in-tree tool is available and we can use it
14417 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14419 $as_echo "just compiled
" >&6; }
14420 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14421 # We already found the complete path
14422 ac_dir=`dirname $WINDRES_FOR_TARGET`
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14424 $as_echo "pre-installed
in $ac_dir" >&6; }
14425 elif test "x
$target" = "x
$host"; then
14426 # We can use an host tool
14427 WINDRES_FOR_TARGET='$(WINDRES)'
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14429 $as_echo "host tool
" >&6; }
14431 # We need a cross tool
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14433 $as_echo "pre-installed
" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14438 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14439 if test "x
${build}" != "x
${host}" ; then
14440 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14441 # We already found the complete path
14442 ac_dir=`dirname $WINDMC_FOR_TARGET`
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14444 $as_echo "pre-installed
in $ac_dir" >&6; }
14446 # Canadian cross, just use what we found
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14448 $as_echo "pre-installed
" >&6; }
14452 case " ${configdirs} " in
14457 if test $ok = yes; then
14458 # An in-tree tool is available and we can use it
14459 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14461 $as_echo "just compiled
" >&6; }
14462 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14463 # We already found the complete path
14464 ac_dir=`dirname $WINDMC_FOR_TARGET`
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14466 $as_echo "pre-installed
in $ac_dir" >&6; }
14467 elif test "x
$target" = "x
$host"; then
14468 # We can use an host tool
14469 WINDMC_FOR_TARGET='$(WINDMC)'
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14471 $as_echo "host tool
" >&6; }
14473 # We need a cross tool
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14475 $as_echo "pre-installed
" >&6; }
14483 # Certain tools may need extra flags.
14484 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14485 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14486 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14488 # When building target libraries, except in a Canadian cross, we use
14489 # the same toolchain as the compiler we just built.
14490 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14491 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14492 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14493 if test $host = $build; then
14494 case " $configdirs " in
14496 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14497 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14498 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14508 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14509 # Check whether --enable-maintainer-mode was given.
14510 if test "${enable_maintainer_mode+set}" = set; then :
14511 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14513 USE_MAINTAINER_MODE=no
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14517 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14520 if test "$USE_MAINTAINER_MODE" = yes; then
14521 MAINTAINER_MODE_TRUE=
14522 MAINTAINER_MODE_FALSE='#'
14524 MAINTAINER_MODE_TRUE='#'
14525 MAINTAINER_MODE_FALSE=
14527 MAINT=$MAINTAINER_MODE_TRUE
14529 # ---------------------
14530 # GCC bootstrap support
14531 # ---------------------
14533 # Stage specific cflags for build.
14538 yes) stage1_cflags="-g -Wa,-J" ;;
14539 *) stage1_cflags="-g -J" ;;
14545 # Enable --enable-checking in stage1 of the compiler.
14546 # Check whether --enable-stage1-checking was given.
14547 if test "${enable_stage1_checking+set}" = set; then :
14548 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14550 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14551 stage1_checking=--enable-checking=yes,types
14553 stage1_checking=--enable-checking=$enable_checking,types
14559 # Enable -Werror in bootstrap stage2 and later.
14560 # Check whether --enable-werror was given.
14561 if test "${enable_werror+set}" = set; then :
14562 enableval=$enable_werror;
14564 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14571 case ${enable_werror} in
14572 yes) stage2_werror_flag="--enable-werror-always" ;;
14573 *) stage2_werror_flag="" ;;
14577 # Enable --enable-host-shared.
14578 # Check whether --enable-host-shared was given.
14579 if test "${enable_host_shared+set}" = set; then :
14580 enableval=$enable_host_shared; host_shared=$enableval
14587 # Specify what files to not compare during bootstrap.
14589 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14591 hppa*64*-*-hpux*) ;;
14592 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14593 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14597 ac_config_files="$ac_config_files Makefile
"
14599 cat >confcache <<\_ACEOF
14600 # This file is a shell script that caches the results of configure
14601 # tests run on this system so they can be shared between configure
14602 # scripts and configure runs, see configure's option --config-cache.
14603 # It is not useful on other systems. If it contains results you don't
14604 # want to keep, you may remove or edit it.
14606 # config.status only pays attention to the cache file if you give it
14607 # the --recheck option to rerun configure.
14609 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14610 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14611 # following values.
14615 # The following way of writing the cache mishandles newlines in values,
14616 # but we know of no workaround that is simple, portable, and efficient.
14617 # So, we kill variables containing newlines.
14618 # Ultrix sh set writes to stderr and can't be redirected directly,
14619 # and sets the high bit in the cache file unless we assign to the vars.
14621 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14622 eval ac_val=\$$ac_var
14626 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14627 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14630 _ | IFS | as_nl) ;; #(
14631 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14632 *) { eval $ac_var=; unset $ac_var;} ;;
14638 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14639 *${as_nl}ac_space=\ *)
14640 # `set' does not quote correctly, so add quotes: double-quote
14641 # substitution turns \\\\ into \\, and sed turns \\ into \.
14644 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14647 # `set' quotes correctly as required by POSIX, so do not add quotes.
14648 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14657 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14659 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14661 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14662 if test -w "$cache_file"; then
14663 test "x
$cache_file" != "x
/dev
/null
" &&
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14665 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14666 cat confcache >$cache_file
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14669 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14674 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14675 # Let make expand exec_prefix.
14676 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14678 # Transform confdefs.h into DEFS.
14679 # Protect against shell expansion while executing Makefile rules.
14680 # Protect against Makefile macro expansion.
14682 # If the first sed substitution is executed (which looks for macros that
14683 # take arguments), then branch to the quote section. Otherwise,
14684 # look for a macro that doesn't take arguments.
14694 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14696 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14700 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14713 DEFS=`sed -n "$ac_script" confdefs.h`
14718 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14719 # 1. Remove the extension, and $U if already installed.
14720 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14721 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14722 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14723 # will be set to the directory where LIBOBJS objects are built.
14724 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14725 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14727 LIBOBJS=$ac_libobjs
14729 LTLIBOBJS=$ac_ltlibobjs
14733 : ${CONFIG_STATUS=./config.status}
14735 ac_clean_files_save=$ac_clean_files
14736 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14737 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14738 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14740 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14742 # Generated by $as_me.
14743 # Run this file to recreate the current configuration.
14744 # Compiler output produced by configure, useful for debugging
14745 # configure, is in config.log if it exists.
14748 ac_cs_recheck=false
14751 SHELL=\${CONFIG_SHELL-$SHELL}
14754 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14755 ## -------------------- ##
14756 ## M4sh Initialization. ##
14757 ## -------------------- ##
14759 # Be more Bourne compatible
14760 DUALCASE=1; export DUALCASE # for MKS sh
14761 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14764 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14765 # is contrary to our usage. Disable this feature.
14766 alias -g '${1+"$@"}'='"$@"'
14767 setopt NO_GLOB_SUBST
14769 case `(set -o) 2>/dev/null` in #(
14781 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14782 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14783 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14784 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14785 # Prefer a ksh shell builtin over an external printf program on Solaris,
14786 # but without wasting forks for bash or zsh.
14787 if test -z "$BASH_VERSION$ZSH_VERSION" \
14788 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14789 as_echo
='print -r --'
14790 as_echo_n
='print -rn --'
14791 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14792 as_echo
='printf %s\n'
14793 as_echo_n
='printf %s'
14795 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14796 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14797 as_echo_n
='/usr/ucb/echo -n'
14799 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14800 as_echo_n_body
='eval
14804 expr "X$arg" : "X\\(.*\\)$as_nl";
14805 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14807 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14809 export as_echo_n_body
14810 as_echo_n
='sh -c $as_echo_n_body as_echo'
14812 export as_echo_body
14813 as_echo
='sh -c $as_echo_body as_echo'
14816 # The user is always right.
14817 if test "${PATH_SEPARATOR+set}" != set; then
14819 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14820 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14827 # We need space, tab and new line, in precisely that order. Quoting is
14828 # there to prevent editors from complaining about space-tab.
14829 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14830 # splitting by setting IFS to empty value.)
14833 # Find who we are. Look in the path if we contain no directory separator.
14835 *[\\/]* ) as_myself
=$0 ;;
14836 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14837 for as_dir
in $PATH
14840 test -z "$as_dir" && as_dir
=.
14841 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14847 # We did not find ourselves, most probably we were run as `sh COMMAND'
14848 # in which case we are not to be found in the path.
14849 if test "x$as_myself" = x
; then
14852 if test ! -f "$as_myself"; then
14853 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14857 # Unset variables that we do not need and which cause bugs (e.g. in
14858 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14859 # suppresses any "Segmentation fault" message there. '((' could
14860 # trigger a bug in pdksh 5.2.14.
14861 for as_var
in BASH_ENV ENV MAIL MAILPATH
14862 do eval test x\
${$as_var+set} = xset \
14863 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14876 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14879 # as_fn_error ERROR [LINENO LOG_FD]
14880 # ---------------------------------
14881 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14882 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14883 # script with status $?, using 1 if that was 0.
14886 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14888 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14889 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14891 $as_echo "$as_me: error: $1" >&2
14892 as_fn_exit
$as_status
14896 # as_fn_set_status STATUS
14897 # -----------------------
14898 # Set $? to STATUS, without forking.
14899 as_fn_set_status
()
14902 } # as_fn_set_status
14904 # as_fn_exit STATUS
14905 # -----------------
14906 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14910 as_fn_set_status
$1
14916 # Portably unset VAR.
14919 { eval $1=; unset $1;}
14921 as_unset
=as_fn_unset
14922 # as_fn_append VAR VALUE
14923 # ----------------------
14924 # Append the text in VALUE to the end of the definition contained in VAR. Take
14925 # advantage of any shell optimizations that allow amortized linear growth over
14926 # repeated appends, instead of the typical quadratic growth present in naive
14928 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14929 eval 'as_fn_append ()
14940 # as_fn_arith ARG...
14941 # ------------------
14942 # Perform arithmetic evaluation on the ARGs, and store the result in the
14943 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14944 # must be portable across $(()) and expr.
14945 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14946 eval 'as_fn_arith ()
14953 as_val
=`expr "$@" || test $? -eq 1`
14958 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14959 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14965 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14966 as_basename
=basename
14971 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14977 as_me
=`$as_basename -- "$0" ||
14978 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14979 X"$0" : 'X\(//\)$' \| \
14980 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14982 sed '/^.*\/\([^/][^/]*\)\/*$/{
14996 # Avoid depending upon Character Ranges.
14997 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14998 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14999 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15000 as_cr_digits
='0123456789'
15001 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15003 ECHO_C
= ECHO_N
= ECHO_T
=
15004 case `echo -n x` in #(((((
15006 case `echo 'xy\c'` in
15007 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15009 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15016 rm -f conf$$ conf$$.exe conf$$.
file
15017 if test -d conf$$.dir
; then
15018 rm -f conf$$.dir
/conf$$.
file
15021 mkdir conf$$.dir
2>/dev
/null
15023 if (echo >conf$$.
file) 2>/dev
/null
; then
15024 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15026 # ... but there are two gotchas:
15027 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15028 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15029 # In both cases, we have to default to `cp -p'.
15030 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15032 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15040 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15041 rmdir conf$$.dir
2>/dev
/null
15046 # Create "$as_dir" as a directory, including parents if necessary.
15051 -*) as_dir
=.
/$as_dir;;
15053 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15057 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15058 *) as_qdir
=$as_dir;;
15060 as_dirs
="'$as_qdir' $as_dirs"
15061 as_dir
=`$as_dirname -- "$as_dir" ||
15062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15063 X"$as_dir" : 'X\(//\)[^/]' \| \
15064 X"$as_dir" : 'X\(//\)$' \| \
15065 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15066 $as_echo X"$as_dir" |
15067 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15071 /^X\(\/\/\)[^/].*/{
15084 test -d "$as_dir" && break
15086 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15087 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15091 if mkdir
-p .
2>/dev
/null
; then
15092 as_mkdir_p
='mkdir -p "$as_dir"'
15094 test -d .
/-p && rmdir .
/-p
15098 if test -x / >/dev
/null
2>&1; then
15099 as_test_x
='test -x'
15101 if ls -dL / >/dev
/null
2>&1; then
15108 if test -d "$1"; then
15114 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15115 ???[sx]*):;;*)false;;esac;fi
15119 as_executable_p
=$as_test_x
15121 # Sed expression to map a string onto a valid CPP name.
15122 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15124 # Sed expression to map a string onto a valid variable name.
15125 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15129 ## ----------------------------------- ##
15130 ## Main body of $CONFIG_STATUS script. ##
15131 ## ----------------------------------- ##
15133 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15136 # Save the log message, to keep $0 and so on meaningful, and to
15137 # report actual input values of CONFIG_FILES etc. instead of their
15138 # values after options handling.
15140 This file was extended by $as_me, which was
15141 generated by GNU Autoconf 2.64. Invocation command line was
15143 CONFIG_FILES = $CONFIG_FILES
15144 CONFIG_HEADERS = $CONFIG_HEADERS
15145 CONFIG_LINKS = $CONFIG_LINKS
15146 CONFIG_COMMANDS = $CONFIG_COMMANDS
15149 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15154 case $ac_config_files in *"
15155 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15161 # Files that config.status was made for.
15162 config_files="$ac_config_files"
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15168 \`$as_me' instantiates files and other configuration actions
15169 from templates according to the current configuration. Unless the files
15170 and actions are specified as TAGs, all are instantiated by default.
15172 Usage: $0 [OPTION]... [TAG]...
15174 -h, --help print this help, then exit
15175 -V, --version print version number and configuration settings, then exit
15176 -q, --quiet, --silent
15177 do not print progress messages
15178 -d, --debug don't remove temporary files
15179 --recheck update $as_me by reconfiguring in the same conditions
15180 --file=FILE[:TEMPLATE]
15181 instantiate the configuration file FILE
15183 Configuration files:
15186 Report bugs to the package provider."
15189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15192 configured by $0, generated by GNU Autoconf 2.64,
15193 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15195 Copyright (C) 2009 Free Software Foundation, Inc.
15196 This config.status script is free software; the Free Software Foundation
15197 gives unlimited permission to copy, distribute and modify it."
15203 test -n "\$AWK" || AWK=awk
15206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15207 # The default lists apply if the user does not specify any file.
15213 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15214 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15225 # Handling of the options.
15226 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15228 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15229 $as_echo "$ac_cs_version"; exit ;;
15230 --debug |
--debu |
--deb |
--de |
--d |
-d )
15232 --file |
--fil |
--fi |
--f )
15235 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15237 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15238 ac_need_defaults
=false
;;
15239 --he |
--h |
--help |
--hel |
-h )
15240 $as_echo "$ac_cs_usage"; exit ;;
15241 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15242 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15245 # This is an error.
15246 -*) as_fn_error
"unrecognized option: \`$1'
15247 Try \`$0 --help' for more information." ;;
15249 *) as_fn_append ac_config_targets
" $1"
15250 ac_need_defaults
=false
;;
15256 ac_configure_extra_args
=
15258 if $ac_cs_silent; then
15260 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15265 if \$ac_cs_recheck; then
15266 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15268 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15269 CONFIG_SHELL='$SHELL'
15270 export CONFIG_SHELL
15275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15279 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15280 ## Running $as_me. ##
15286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15290 extrasub_build="$extrasub_build"
15291 extrasub_host="$extrasub_host"
15292 extrasub_target="$extrasub_target"
15296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15298 # Handling of arguments.
15299 for ac_config_target
in $ac_config_targets
15301 case $ac_config_target in
15302 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15304 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15309 # If the user did not use the arguments to specify the items to instantiate,
15310 # then the envvar interface is used. Set only those that are not.
15311 # We use the long form for the default assignment because of an extremely
15312 # bizarre bug on SunOS 4.1.3.
15313 if $ac_need_defaults; then
15314 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15317 # Have a temporary directory for convenience. Make it in the build tree
15318 # simply because there is no reason against having it here, and in addition,
15319 # creating and moving files from /tmp can sometimes cause problems.
15320 # Hook for its removal unless debugging.
15321 # Note that there is a small window in which the directory will not be cleaned:
15322 # after its creation but before its name has been assigned to `$tmp'.
15326 trap 'exit_status=$?
15327 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15329 trap 'as_fn_exit 1' 1 2 13 15
15331 # Create a (secure) tmp directory for tmp files.
15334 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15335 test -n "$tmp" && test -d "$tmp"
15338 tmp
=.
/conf$$
-$RANDOM
15339 (umask 077 && mkdir
"$tmp")
15340 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15342 # Set up the scripts for CONFIG_FILES section.
15343 # No need to generate them if there are no CONFIG_FILES.
15344 # This happens for instance with `./config.status config.h'.
15345 if test -n "$CONFIG_FILES"; then
15347 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15348 ac_cs_awk_getline
=:
15349 ac_cs_awk_pipe_init
=
15350 ac_cs_awk_read_file
='
15351 while ((getline aline < (F[key])) > 0)
15354 ac_cs_awk_pipe_fini
=
15356 ac_cs_awk_getline
=false
15357 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15358 ac_cs_awk_read_file
='
15360 print "cat " F[key] " &&"
15361 '$ac_cs_awk_pipe_init
15362 # The final `:' finishes the AND list.
15363 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15365 ac_cr
=`echo X | tr X '\015'`
15366 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15367 # But we know of no other shell where ac_cr would be empty at this
15368 # point, so we can use a bashism as a fallback.
15369 if test "x$ac_cr" = x
; then
15370 eval ac_cr
=\$
\'\\r
\'
15372 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15373 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15376 ac_cs_awk_cr
=$ac_cr
15379 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15382 # Create commands to substitute file output variables.
15384 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15385 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15386 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15389 } >conf$
$files.sh
&&
15390 . .
/conf$
$files.sh ||
15391 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15392 rm -f conf$
$files.sh
15395 echo "cat >conf$$subs.awk <<_ACEOF" &&
15396 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15398 } >conf$$subs.sh ||
15399 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15400 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15402 for ac_last_try in false false false false false :; do
15403 . ./conf$$subs.sh ||
15404 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15406 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15407 if test $ac_delim_n = $ac_delim_num; then
15409 elif $ac_last_try; then
15410 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15412 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15415 rm -f conf$$subs.sh
15417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15418 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15422 s/^/S["/; s
/!.
*/"]=/
15432 s/\(.\{148\}\).*/\1/
15434 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15439 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15446 s/\(.\{148\}\).*/\1/
15448 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15452 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15457 ' <conf$$subs.awk | sed '
15462 ' >>$CONFIG_STATUS || ac_write_fail=1
15463 rm -f conf$$subs.awk
15464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15466 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15467 for (key in S) S_is_set[key] = 1
15469 \$ac_cs_awk_pipe_init
15473 nfields = split(line, field, "@
")
15475 len = length(field[1])
15476 for (i = 2; i < nfields; i++) {
15478 keylen = length(key)
15479 if (S_is_set[key]) {
15481 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15482 len += length(value) + length(field[++i])
15487 if (nfields == 3 && !substed) {
15489 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15490 \$ac_cs_awk_read_file
15496 \$ac_cs_awk_pipe_fini
15499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15500 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15501 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15504 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15505 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15508 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15509 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15510 # trailing colons and then remove the whole line if VPATH becomes empty
15511 # (actually we leave an empty line to preserve line numbers).
15512 if test "x
$srcdir" = x.; then
15513 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15514 s/:*\$(srcdir):*/:/
15515 s/:*\${srcdir}:*/:/
15517 s/^\([^=]*=[ ]*\):*/\1/
15523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15524 fi # test -n "$CONFIG_FILES"
15527 eval set X " :F
$CONFIG_FILES "
15532 :[FHLC]) ac_mode=$ac_tag; continue;;
15534 case $ac_mode$ac_tag in
15536 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15537 :[FH]-) ac_tag=-:-;;
15538 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15555 -) ac_f="$tmp/stdin";;
15556 *) # Look for the file first in the build tree, then in the source tree
15557 # (if the path is not absolute). The absolute path cannot be DOS-style,
15558 # because $ac_f cannot contain `:'.
15562 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15564 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15566 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15567 as_fn_append ac_file_inputs " '$ac_f'"
15570 # Let's still pretend it is `configure' which instantiates (i.e., don't
15571 # use $as_me), people would be surprised to read:
15572 # /* config.h. Generated by config.status. */
15573 configure_input='Generated from '`
15574 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15576 if test x"$ac_file" != x-; then
15577 configure_input="$ac_file.
$configure_input"
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15579 $as_echo "$as_me: creating
$ac_file" >&6;}
15581 # Neutralize special characters interpreted by sed in replacement strings.
15582 case $configure_input in #(
15583 *\&* | *\|* | *\\* )
15584 ac_sed_conf_input=`$as_echo "$configure_input" |
15585 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15586 *) ac_sed_conf_input=$configure_input;;
15590 *:-:* | *:-) cat >"$tmp/stdin
" \
15591 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15596 ac_dir=`$as_dirname -- "$ac_file" ||
15597 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15598 X"$ac_file" : 'X\(//\)[^/]' \| \
15599 X"$ac_file" : 'X\(//\)$' \| \
15600 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15601 $as_echo X"$ac_file" |
15602 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15606 /^X\(\/\/\)[^/].*/{
15619 as_dir="$ac_dir"; as_fn_mkdir_p
15623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15625 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15626 # A "..
" for each directory in $ac_dir_suffix.
15627 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15628 case $ac_top_builddir_sub in
15629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15633 ac_abs_top_builddir=$ac_pwd
15634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15635 # for backward compatibility:
15636 ac_top_builddir=$ac_top_build_prefix
15639 .) # We are building in place.
15641 ac_top_srcdir=$ac_top_builddir_sub
15642 ac_abs_top_srcdir=$ac_pwd ;;
15643 [\\/]* | ?:[\\/]* ) # Absolute name.
15644 ac_srcdir=$srcdir$ac_dir_suffix;
15645 ac_top_srcdir=$srcdir
15646 ac_abs_top_srcdir=$srcdir ;;
15647 *) # Relative name.
15648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15649 ac_top_srcdir=$ac_top_build_prefix$srcdir
15650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15662 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15663 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15668 # If the template does not know about datarootdir, expand it.
15669 # FIXME: This hack should be removed a few years after 2.60.
15670 ac_datarootdir_hack=; ac_datarootdir_seen=
15681 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15682 *datarootdir*) ac_datarootdir_seen=yes;;
15683 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15685 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15688 ac_datarootdir_hack='
15689 s&@datadir@&$datadir&g
15690 s&@docdir@&$docdir&g
15691 s&@infodir@&$infodir&g
15692 s&@localedir@&$localedir&g
15693 s&@mandir@&$mandir&g
15694 s&\\\${datarootdir}&$datarootdir&g' ;;
15698 # Neutralize VPATH when `$srcdir' = `.'.
15699 # Shell code in configure.ac might set extrasub.
15700 # FIXME: do we really want to maintain this feature?
15701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15702 ac_sed_extra="$ac_vpsub
15705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15707 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15708 s|@configure_input@|
$ac_sed_conf_input|
;t t
15709 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15710 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15711 s
&@srcdir@
&$ac_srcdir&;t t
15712 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15713 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15714 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15715 s
&@builddir@
&$ac_builddir&;t t
15716 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15717 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15718 s
&@INSTALL@
&$ac_INSTALL&;t t
15719 $ac_datarootdir_hack
15721 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15722 if $ac_cs_awk_getline; then
15723 $AWK -f "$tmp/subs.
awk"
15725 $AWK -f "$tmp/subs.
awk" | $SHELL
15727 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15729 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15730 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15731 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15733 which seems to be undefined. Please make sure it is defined." >&5
15734 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15735 which seems to be undefined. Please make sure it is defined." >&2;}
15739 -) cat "$tmp/out" && rm -f "$tmp/out";;
15740 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15742 || as_fn_error "could not create $ac_file" "$LINENO" 5
15750 case $ac_file$ac_mode in
15751 "Makefile":F) sed "$extrasub_build" Makefile |
15752 sed "$extrasub_host" |
15753 sed "$extrasub_target" > mf$$
15754 mv -f mf$$ Makefile ;;
15762 ac_clean_files=$ac_clean_files_save
15764 test $ac_write_fail = 0 ||
15765 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15768 # configure is writing to config.log, and then calls config.status.
15769 # config.status does its own redirection, appending to config.log.
15770 # Unfortunately, on DOS this fails, as config.log is still kept open
15771 # by configure, so config.status won't be able to
write to it
; its
15772 # output is simply discarded. So we exec the FD to /dev/null,
15773 # effectively closing config.log, so it can be properly (re)opened and
15774 # appended to by config.status. When coming back to configure, we
15775 # need to make the FD available again.
15776 if test "$no_create" != yes; then
15778 ac_config_status_args
=
15779 test "$silent" = yes &&
15780 ac_config_status_args
="$ac_config_status_args --quiet"
15782 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15784 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15785 # would make configure fail if this is the last instruction.
15786 $ac_cs_success || as_fn_exit $?
15788 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15790 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}