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 :
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #include <isl/version.h>
5919 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
5926 if ac_fn_c_try_run
"$LINENO"; then :
5931 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5932 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5936 $as_echo "$gcc_cv_isl" >&6; }
5938 CFLAGS
=$_isl_saved_CFLAGS
5939 LDFLAGS
=$_isl_saved_LDFLAGS
5940 LIBS
=$_isl_saved_LIBS
5948 if test "x${with_isl}" = xno
; then
5949 graphite_requested
=no
5950 elif test "x${with_isl}" != x \
5951 ||
test "x${with_isl_include}" != x \
5952 ||
test "x${with_isl_lib}" != x
; then
5953 graphite_requested
=yes
5955 graphite_requested
=no
5960 if test "${gcc_cv_isl}" = no
; then
5965 if test "${graphite_requested}" = yes \
5966 && test "x${isllibs}" = x \
5967 && test "x${islinc}" = x
; then
5969 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5974 if test "x$gcc_cv_isl" != "xno"; then
5978 # Check whether --with-cloog-include was given.
5979 if test "${with_cloog_include+set}" = set; then :
5980 withval
=$with_cloog_include;
5984 # Check whether --with-cloog-lib was given.
5985 if test "${with_cloog_lib+set}" = set; then :
5986 withval
=$with_cloog_lib;
5990 # Check whether --enable-cloog-version-check was given.
5991 if test "${enable_cloog_version_check+set}" = set; then :
5992 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5994 ENABLE_CLOOG_CHECK
=yes
5998 # Initialize clooglibs and clooginc.
6007 clooglibs
="-L$with_cloog/lib"
6008 clooginc
="-I$with_cloog/include"
6011 if test "x${with_cloog_include}" != x
; then
6012 clooginc
="-I$with_cloog_include"
6014 if test "x${with_cloog_lib}" != x
; then
6015 clooglibs
="-L$with_cloog_lib"
6017 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6018 && test -d ${srcdir}/cloog
; then
6019 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6020 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include'
6021 ENABLE_CLOOG_CHECK
=no
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6023 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6026 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6027 clooglibs
="${clooglibs} -lcloog-isl"
6033 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6034 _cloog_saved_CFLAGS
=$CFLAGS
6035 _cloog_saved_LDFLAGS
=$LDFLAGS
6037 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6038 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.1 of CLooG" >&5
6041 $as_echo_n "checking for version 0.18.1 of CLooG... " >&6; }
6042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6043 /* end confdefs.h. */
6044 #include "cloog/version.h"
6048 #if CLOOG_VERSION_MAJOR != 0 \
6049 || CLOOG_VERSION_MINOR != 18 \
6050 || CLOOG_VERSION_REVISION < 1
6057 if ac_fn_c_try_compile
"$LINENO"; then :
6062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6064 $as_echo "$gcc_cv_cloog" >&6; }
6066 CFLAGS
=$_cloog_saved_CFLAGS
6067 LDFLAGS
=$_cloog_saved_LDFLAGS
6076 if test "x${with_cloog}" = xno
; then
6077 graphite_requested
=no
6078 elif test "x${with_cloog}" != x \
6079 ||
test "x${with_cloog_include}" != x \
6080 ||
test "x${with_cloog_lib}" != x
; then
6081 graphite_requested
=yes
6083 graphite_requested
=no
6088 if test "${gcc_cv_cloog}" = no
; then
6093 if test "${graphite_requested}" = yes \
6094 && test "x${clooglibs}" = x \
6095 && test "x${clooginc}" = x
; then
6097 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6104 # If the ISL check failed, disable builds of in-tree
6105 # variants of both ISL and CLooG
6106 if test "x$with_isl" = xno ||
6107 test "x$gcc_cv_isl" = xno
; then
6108 noconfigdirs
="$noconfigdirs cloog isl"
6114 # If the CLooG check failed, disable builds of in-tree
6116 if test "x$with_cloog" = xno ||
6117 test "x$gcc_cv_cloog" = xno
; then
6118 noconfigdirs
="$noconfigdirs cloog isl"
6128 # Check for LTO support.
6129 # Check whether --enable-lto was given.
6130 if test "${enable_lto+set}" = set; then :
6131 enableval
=$enable_lto; enable_lto
=$enableval
6133 enable_lto
=yes; default_enable_lto
=yes
6142 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6143 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6144 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6152 if test $target_elf = yes; then :
6153 # ELF platforms build the lto-plugin always.
6154 build_lto_plugin
=yes
6157 if test x
"$default_enable_lto" = x
"yes" ; then
6159 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6160 # On other non-ELF platforms, LTO has yet to be validated.
6164 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6165 # It would also be nice to check the binutils support, but we don't
6166 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6167 # warn during gcc/ subconfigure; unless you're bootstrapping with
6168 # -flto it won't be needed until after installation anyway.
6170 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6171 *) if test x
"$enable_lto" = x
"yes"; then
6172 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6177 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6178 # Build it unless LTO was explicitly disabled.
6180 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6187 # Check whether --enable-linker-plugin-configure-flags was given.
6188 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6189 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6191 extra_linker_plugin_configure_flags
=
6195 # Check whether --enable-linker-plugin-flags was given.
6196 if test "${enable_linker_plugin_flags+set}" = set; then :
6197 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6199 extra_linker_plugin_flags
=
6205 # By default, C and C++ are the only stage 1 languages.
6206 stage1_languages
=,c
,
6208 # Target libraries that we bootstrap.
6209 bootstrap_target_libs
=,target-libgcc
,
6211 # Figure out what language subdirectories are present.
6212 # Look if the user specified --enable-languages="..."; if not, use
6213 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6215 # NB: embedded tabs in this IF block -- do not untabify
6216 if test -d ${srcdir}/gcc
; then
6217 if test x
"${enable_languages+set}" != xset
; then
6218 if test x
"${LANGUAGES+set}" = xset
; then
6219 enable_languages
="${LANGUAGES}"
6220 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6222 enable_languages
=all
6225 if test x
"${enable_languages}" = x ||
6226 test x
"${enable_languages}" = xyes
;
6228 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6232 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6234 # 'f95' is the old name for the 'fortran' language. We issue a warning
6235 # and make the substitution.
6236 case ,${enable_languages}, in
6238 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6239 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6243 # If bootstrapping, C++ must be enabled.
6244 case ",$enable_languages,:$enable_bootstrap" in
6247 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6248 enable_languages
="${enable_languages},c++"
6250 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6255 # First scan to see if an enabled language requires some other language.
6256 # We assume that a given config-lang.in will list all the language
6257 # front ends it requires, even if some are required indirectly.
6258 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6259 case ${lang_frag} in
6261 # The odd quoting in the next line works around
6262 # an apparent bug in bash 1.12 on linux.
6263 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6265 # From the config-lang.in, get $language, $lang_requires, and
6266 # $lang_requires_boot_languages.
6269 lang_requires_boot_languages
=
6271 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6272 case ,${enable_languages}, in
6276 echo " \`$other' language required by \`$language'; enabling" 1>&2
6277 enable_languages
="${enable_languages},${other}"
6281 for other
in ${lang_requires_boot_languages} ; do
6282 if test "$other" != "c"; then
6283 case ,${enable_stage1_languages}, in
6287 case ,${enable_languages}, in
6289 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6290 enable_stage1_languages
="$enable_stage1_languages,${other}"
6301 new_enable_languages
=,c
,
6303 # If LTO is enabled, add the LTO front end.
6304 extra_host_libiberty_configure_flags
=
6305 if test "$enable_lto" = "yes" ; then
6306 case ,${enable_languages}, in
6308 *) enable_languages
="${enable_languages},lto" ;;
6310 if test "${build_lto_plugin}" = "yes" ; then
6311 configdirs
="$configdirs lto-plugin"
6312 extra_host_libiberty_configure_flags
=--enable-shared
6317 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6318 potential_languages
=,c
,
6320 enabled_target_libs
=
6321 disabled_target_libs
=
6323 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6324 case ${lang_frag} in
6326 # The odd quoting in the next line works around
6327 # an apparent bug in bash 1.12 on linux.
6328 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6330 # From the config-lang.in, get $language, $target_libs,
6331 # $lang_dirs, $boot_language, and $build_by_default
6337 build_by_default
=yes
6339 if test x
${language} = x
; then
6340 echo "${lang_frag} doesn't set \$language." 1>&2
6344 if test "$language" = "c++"; then
6349 case ,${enable_languages}, in
6351 # Language was explicitly selected; include it
6352 # unless it is C, which is enabled by default.
6353 if test "$language" != "c"; then
6358 # 'all' was selected, select it if it is a default language
6359 if test "$language" != "c"; then
6360 add_this_lang
=${build_by_default}
6365 # Disable languages that need other directories if these aren't available.
6366 for i
in $subdir_requires; do
6367 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6368 case ,${enable_languages}, in
6370 # Specifically requested language; tell them.
6371 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6375 add_this_lang
=unsupported
6380 # Disable Ada if no preexisting GNAT is available.
6381 case ,${enable_languages},:${language}:${have_gnat} in
6382 *,${language},*:ada
:no
)
6383 # Specifically requested language; tell them.
6384 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6388 add_this_lang
=unsupported
6392 # Disable a language that is unsupported by the target.
6393 case " $unsupported_languages " in
6395 add_this_lang
=unsupported
6399 case $add_this_lang in
6401 # Remove language-dependent dirs.
6402 disabled_target_libs
="$disabled_target_libs $target_libs"
6403 noconfigdirs
="$noconfigdirs $lang_dirs"
6406 # Remove language-dependent dirs; still show language as supported.
6407 disabled_target_libs
="$disabled_target_libs $target_libs"
6408 noconfigdirs
="$noconfigdirs $lang_dirs"
6409 potential_languages
="${potential_languages}${language},"
6412 new_enable_languages
="${new_enable_languages}${language},"
6413 potential_languages
="${potential_languages}${language},"
6414 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6415 enabled_target_libs
="$enabled_target_libs $target_libs"
6416 case "${boot_language}:,$enable_stage1_languages," in
6417 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6418 # Add to (comma-separated) list of stage 1 languages.
6419 case ",$stage1_languages," in
6420 *,$language,* |
,yes, |
,all
,) ;;
6421 *) stage1_languages
="${stage1_languages}${language}," ;;
6423 # We need to bootstrap any supporting libraries.
6424 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6433 # Add target libraries which are only needed for disabled languages
6435 if test -n "$disabled_target_libs"; then
6436 for dir
in $disabled_target_libs; do
6437 case " $enabled_target_libs " in
6439 *) noconfigdirs
="$noconfigdirs $dir" ;;
6444 # Check whether --enable-stage1-languages was given.
6445 if test "${enable_stage1_languages+set}" = set; then :
6446 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6448 # Set it to something that will have no effect in the loop below
6449 enable_stage1_languages
=c
;;
6451 enable_stage1_languages
=`echo $new_enable_languages | \
6452 sed -e "s/^,//" -e "s/,$//" ` ;;
6454 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6455 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6458 # Add "good" languages from enable_stage1_languages to stage1_languages,
6459 # while "bad" languages go in missing_languages. Leave no duplicates.
6460 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6461 case $potential_languages in
6463 case $stage1_languages in
6465 *) stage1_languages
="$stage1_languages$i," ;;
6468 case $missing_languages in
6470 *) missing_languages
="$missing_languages$i," ;;
6477 # Remove leading/trailing commas that were added for simplicity
6478 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6479 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6480 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6481 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6483 if test "x$missing_languages" != x
; then
6485 The following requested languages could not be built: ${missing_languages}
6486 Supported languages are: ${potential_languages}" "$LINENO" 5
6488 if test "x$new_enable_languages" != "x$enable_languages"; then
6489 echo The following languages will be built
: ${new_enable_languages}
6490 enable_languages
="$new_enable_languages"
6494 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6497 # Handle --disable-<component> generically.
6498 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6499 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6500 varname
=`echo $dirname | sed -e s/+/_/g`
6501 if eval test x\
${enable_${varname}} "=" xno
; then
6502 noconfigdirs
="$noconfigdirs $dir"
6506 # Check for Boehm's garbage collector
6507 # Check whether --enable-objc-gc was given.
6508 if test "${enable_objc_gc+set}" = set; then :
6509 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6510 *,objc
,*:*:yes:*target-boehm-gc
*)
6511 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6517 # Make sure we only build Boehm's garbage collector if required.
6518 case ,${enable_languages},:${enable_objc_gc} in
6520 # Keep target-boehm-gc if requested for Objective-C.
6523 # Otherwise remove target-boehm-gc depending on target-libjava.
6524 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6525 noconfigdirs
="$noconfigdirs target-boehm-gc"
6530 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6531 case ,${enable_languages}, in
6533 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6534 case "${noconfigdirs}" in
6535 *target-libstdc
++-v3*)
6536 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6542 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6546 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6547 # $build_configdirs and $target_configdirs.
6548 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6551 for dir
in .
$skipdirs $noconfigdirs ; do
6552 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6553 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6554 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6555 if test -r $srcdir/$dirname/configure
; then
6556 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6559 notsupp
="$notsupp $dir"
6563 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6564 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6565 if test -r $srcdir/$dirname/configure
; then
6566 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6569 notsupp
="$notsupp $dir"
6573 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6574 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6575 if test -r $srcdir/$dirname/configure
; then
6576 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6579 notsupp
="$notsupp $dir"
6585 # Quietly strip out all directories which aren't configurable in this tree.
6586 # This relies on all configurable subdirectories being autoconfiscated, which
6588 build_configdirs_all
="$build_configdirs"
6590 for i
in ${build_configdirs_all} ; do
6591 j
=`echo $i | sed -e s/build-//g`
6592 if test -f ${srcdir}/$j/configure
; then
6593 build_configdirs
="${build_configdirs} $i"
6597 configdirs_all
="$configdirs"
6599 for i
in ${configdirs_all} ; do
6600 if test -f ${srcdir}/$i/configure
; then
6601 configdirs
="${configdirs} $i"
6605 target_configdirs_all
="$target_configdirs"
6607 for i
in ${target_configdirs_all} ; do
6608 j
=`echo $i | sed -e s/target-//g`
6609 if test -f ${srcdir}/$j/configure
; then
6610 target_configdirs
="${target_configdirs} $i"
6614 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6615 # so we have to add it after the preceding checks.
6616 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6618 case " $configdirs " in
6620 # If we can build libiberty, we can also build libiberty-linker-plugin.
6621 configdirs
="$configdirs libiberty-linker-plugin"
6622 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6623 --with-libiberty=../libiberty-linker-plugin";;
6625 as_fn_error
"libiberty missing" "$LINENO" 5;;
6629 # Produce a warning message for the subdirs we can't configure.
6630 # This isn't especially interesting in the Cygnus tree, but in the individual
6631 # FSF releases, it's important to let people know when their machine isn't
6632 # supported by the one or two programs in a package.
6634 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6635 # If $appdirs is non-empty, at least one of those directories must still
6636 # be configured, or we error out. (E.g., if the gas release supports a
6637 # specified target in some subdirs but not the gas subdir, we shouldn't
6638 # pretend that all is well.)
6639 if test -n "$appdirs" ; then
6640 for dir
in $appdirs ; do
6641 if test -r $dir/Makefile.
in ; then
6642 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6646 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6652 if test -n "$appdirs" ; then
6653 echo "*** This configuration is not supported by this package." 1>&2
6657 # Okay, some application will build, or we don't care to check. Still
6658 # notify of subdirs not getting built.
6659 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6660 echo " ${notsupp}" 1>&2
6661 echo " (Any other directories should still work fine.)" 1>&2
6669 # To find our prefix, in gcc_cv_tool_prefix.
6671 # The user is always right.
6672 if test "${PATH_SEPARATOR+set}" != set; then
6673 echo "#! /bin/sh" >conf$$.sh
6674 echo "exit 0" >>conf$$.sh
6676 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6686 if test "x$exec_prefix" = xNONE
; then
6687 if test "x$prefix" = xNONE
; then
6688 gcc_cv_tool_prefix
=$ac_default_prefix
6690 gcc_cv_tool_prefix
=$prefix
6693 gcc_cv_tool_prefix
=$exec_prefix
6696 # If there is no compiler in the tree, use the PATH only. In any
6697 # case, if there is no compiler in the tree nobody should use
6698 # AS_FOR_TARGET and LD_FOR_TARGET.
6699 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6700 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6701 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6702 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6703 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6704 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6705 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6706 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6711 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6712 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6720 # Check whether --with-build-sysroot was given.
6721 if test "${with_build_sysroot+set}" = set; then :
6722 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6723 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6726 SYSROOT_CFLAGS_FOR_TARGET
=
6732 # Check whether --with-debug-prefix-map was given.
6733 if test "${with_debug_prefix_map+set}" = set; then :
6734 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6735 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6736 for debug_map
in $withval; do
6737 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6741 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6746 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6747 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6748 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6749 # We want to ensure that TARGET libraries (which we know are built with
6750 # gcc) are built with "-O2 -g", so include those options when setting
6751 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6752 if test "x$CFLAGS_FOR_TARGET" = x
; then
6753 CFLAGS_FOR_TARGET
=$CFLAGS
6756 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6759 *" -g "* |
*" -g3 "*) ;;
6760 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6765 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6766 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6767 case " $CXXFLAGS " in
6769 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6771 case " $CXXFLAGS " in
6772 *" -g "* |
*" -g3 "*) ;;
6773 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6780 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6781 # the named directory are copied to $(tooldir)/sys-include.
6782 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6783 if test x
${is_cross_compiler} = xno
; then
6784 echo 1>&2 '***' --with-headers is only supported when cross compiling
6787 if test x
"${with_headers}" != xyes
; then
6788 x
=${gcc_cv_tool_prefix}
6789 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6793 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6794 # the name directories are copied to $(tooldir)/lib. Multiple directories
6796 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6797 if test x
${is_cross_compiler} = xno
; then
6798 echo 1>&2 '***' --with-libs is only supported when cross compiling
6801 if test x
"${with_libs}" != xyes
; then
6802 # Copy the libraries in reverse order, so that files in the first named
6803 # library override files in subsequent libraries.
6804 x
=${gcc_cv_tool_prefix}
6805 for l
in ${with_libs}; do
6806 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6811 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6813 # This is done by determining whether or not the appropriate directory
6814 # is available, and by checking whether or not specific configurations
6815 # have requested that this magic not happen.
6817 # The command line options always override the explicit settings in
6818 # configure.in, and the settings in configure.in override this magic.
6820 # If the default for a toolchain is to use GNU as and ld, and you don't
6821 # want to do that, then you should use the --without-gnu-as and
6822 # --without-gnu-ld options for the configure script. Similarly, if
6823 # the default is to use the included zlib and you don't want to do that,
6824 # you should use the --with-system-zlib option for the configure script.
6826 if test x
${use_gnu_as} = x
&&
6827 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6829 extra_host_args
="$extra_host_args --with-gnu-as"
6832 if test x
${use_gnu_ld} = x
&&
6833 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6835 extra_host_args
="$extra_host_args --with-gnu-ld"
6838 if test x
${use_included_zlib} = x
&&
6839 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6842 with_system_zlib
=yes
6843 extra_host_args
="$extra_host_args --with-system-zlib"
6846 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6847 # can detect this case.
6849 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6851 extra_host_args
="$extra_host_args --with-newlib"
6854 # Handle ${copy_dirs}
6855 set fnord
${copy_dirs}
6857 while test $# != 0 ; do
6858 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6861 echo Copying
$1 to
$2
6863 # Use the install script to create the directory and all required
6864 # parent directories.
6865 if test -d $2 ; then
6869 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6872 # Copy the directory, assuming we have tar.
6873 # FIXME: Should we use B in the second tar? Not all systems support it.
6874 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6876 # It is the responsibility of the user to correctly adjust all
6877 # symlinks. If somebody can figure out how to handle them correctly
6878 # here, feel free to add the code.
6885 # Determine a target-dependent exec_prefix that the installed
6886 # gcc will search in. Keep this list sorted by triplet, with
6887 # the *-*-osname triplets last.
6890 i
[34567]86-pc-msdosdjgpp*)
6891 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6896 md_exec_prefix
=/usr
/ccs
/bin
6900 extra_arflags_for_target
=
6901 extra_nmflags_for_target
=
6902 extra_ranlibflags_for_target
=
6903 target_makefile_frag
=/dev
/null
6906 target_makefile_frag
="config/mt-spu"
6908 mips
*-sde-elf* | mips
*-mti-elf*)
6909 target_makefile_frag
="config/mt-sde"
6911 mipsisa
*-*-elfoabi*)
6912 target_makefile_frag
="config/mt-mips-elfoabi"
6914 mips
*-*-*linux
* | mips
*-*-gnu*)
6915 target_makefile_frag
="config/mt-mips-gnu"
6918 target_makefile_frag
="config/mt-nios2-elf"
6920 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6921 target_makefile_frag
="config/mt-gnu"
6923 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6924 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6925 # commands to handle both 32-bit and 64-bit objects. These flags are
6926 # harmless if we're using GNU nm or ar.
6927 extra_arflags_for_target
=" -X32_64"
6928 extra_nmflags_for_target
=" -B -X32_64"
6932 alphaieee_frag
=/dev
/null
6935 # This just makes sure to use the -mieee option to build target libs.
6936 # This should probably be set individually by each library.
6937 alphaieee_frag
="config/mt-alphaieee"
6941 # If --enable-target-optspace always use -Os instead of -O2 to build
6942 # the target libraries, similarly if it is not specified, use -Os
6943 # on selected platforms.
6944 ospace_frag
=/dev
/null
6945 case "${enable_target_optspace}:${target}" in
6947 ospace_frag
="config/mt-ospace"
6950 ospace_frag
="config/mt-d30v"
6952 :m32r-
* |
:d10v-
* |
:fr30-
*)
6953 ospace_frag
="config/mt-ospace"
6958 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6962 # Some systems (e.g., one of the i386-aix systems the gas testers are
6963 # using) don't handle "\$" correctly, so don't use it here.
6964 tooldir
='${exec_prefix}'/${target_noncanonical}
6965 build_tooldir
=${tooldir}
6967 # Create a .gdbinit file which runs the one in srcdir
6968 # and tells GDB to look there for source files.
6970 if test -r ${srcdir}/.gdbinit
; then
6973 *) cat > .
/.gdbinit
<<EOF
6977 source ${srcdir}/.gdbinit
6983 # Make sure that the compiler is able to generate an executable. If it
6984 # can't, we are probably in trouble. We don't care whether we can run the
6985 # executable--we might be using a cross compiler--we only care whether it
6986 # can be created. At this point the main configure script has set CC.
6988 echo "int main () { return 0; }" > conftest.c
6989 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6990 if test $?
= 0 ; then
6991 if test -s conftest ||
test -s conftest.exe
; then
6997 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6998 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7005 # Decide which environment variable is used to find dynamic libraries.
7007 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7008 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7009 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7010 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7013 # On systems where the dynamic library environment variable is PATH,
7014 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7015 # built executables to PATH.
7016 if test "$RPATH_ENVVAR" = PATH
; then
7017 GCC_SHLIB_SUBDIR
=/shlib
7022 # Adjust the toplevel makefile according to whether bootstrap was selected.
7023 case $enable_bootstrap in
7025 bootstrap_suffix
=bootstrap
7026 BUILD_CONFIG
=bootstrap-debug
7029 bootstrap_suffix
=no-bootstrap
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7035 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7038 # Check whether --with-build-config was given.
7039 if test "${with_build_config+set}" = set; then :
7040 withval
=$with_build_config; case $with_build_config in
7041 yes) with_build_config
= ;;
7042 no
) with_build_config
= BUILD_CONFIG
= ;;
7047 if test "x${with_build_config}" != x
; then
7048 BUILD_CONFIG
=$with_build_config
7050 case $BUILD_CONFIG in
7052 if echo "int f (void) { return 0; }" > conftest.c
&&
7053 ${CC} -c conftest.c
&&
7054 mv conftest.o conftest.o.g0
&&
7055 ${CC} -c -g conftest.c
&&
7056 mv conftest.o conftest.o.g
&&
7057 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7062 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7067 $as_echo "$BUILD_CONFIG" >&6; }
7070 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7072 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7073 # Check whether --enable-vtable-verify was given.
7074 if test "${enable_vtable_verify+set}" = set; then :
7075 enableval
=$enable_vtable_verify; case "$enableval" in
7076 yes) enable_vtable_verify
=yes ;;
7077 no
) enable_vtable_verify
=no
;;
7078 *) enable_vtable_verify
=no
;;
7081 enable_vtable_verify
=no
7084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7085 $as_echo "$enable_vtable_verify" >&6; }
7087 # Record target_configdirs and the configure arguments for target and
7088 # build configuration in Makefile.
7089 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7090 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7091 bootstrap_fixincludes
=no
7093 # If we are building libgomp, bootstrap it.
7094 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7095 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7098 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7099 # or bootstrap-ubsan, bootstrap it.
7100 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7101 case "$BUILD_CONFIG" in
7102 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7103 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7104 bootstrap_fixincludes
=yes
7109 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7110 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7111 test "$enable_vtable_verify" != no
; then
7112 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7115 # Determine whether gdb needs tk/tcl or not.
7116 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7117 # and in that case we want gdb to be built without tk. Ugh!
7118 # In fact I believe gdb is the *only* package directly dependent on tk,
7119 # so we should be able to put the 'maybe's in unconditionally and
7120 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7121 # 100% sure that that's safe though.
7123 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7124 case "$enable_gdbtk" in
7128 GDB_TK
="${gdb_tk}" ;;
7130 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7131 # distro. Eventually someone will fix this and move Insight, nee
7132 # gdbtk to a separate directory.
7133 if test -d ${srcdir}/gdb
/gdbtk
; then
7140 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7141 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7143 # Strip out unwanted targets.
7145 # While at that, we remove Makefiles if we were started for recursive
7146 # configuration, so that the top-level Makefile reconfigures them,
7147 # like we used to do when configure itself was recursive.
7149 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7150 # but now we're fixing up the Makefile ourselves with the additional
7151 # commands passed to AC_CONFIG_FILES. Use separate variables
7152 # extrasub-{build,host,target} not because there is any reason to split
7153 # the substitutions up that way, but only to remain below the limit of
7154 # 99 commands in a script, for HP-UX sed.
7155 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7157 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7158 yes:yes:*\ gold\
*:*,c
++,*) ;;
7159 yes:yes:*\ gold\
*:*)
7160 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7165 for module
in ${build_configdirs} ; do
7166 if test -z "${no_recursion}" \
7167 && test -f ${build_subdir}/${module}/Makefile
; then
7168 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7169 rm -f ${build_subdir}/${module}/Makefile
7171 extrasub_build
="$extrasub_build
7172 /^@if build-$module\$/d
7173 /^@endif build-$module\$/d
7174 /^@if build-$module-$bootstrap_suffix\$/d
7175 /^@endif build-$module-$bootstrap_suffix\$/d"
7178 for module
in ${configdirs} ; do
7179 if test -z "${no_recursion}"; then
7180 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7181 if test -f ${file}; then
7182 echo 1>&2 "*** removing ${file} to force reconfigure"
7187 case ${module},${bootstrap_fixincludes} in
7188 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7189 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7191 extrasub_host
="$extrasub_host
7193 /^@endif $module\$/d
7194 /^@if $module-$host_bootstrap_suffix\$/d
7195 /^@endif $module-$host_bootstrap_suffix\$/d"
7198 for module
in ${target_configdirs} ; do
7199 if test -z "${no_recursion}" \
7200 && test -f ${target_subdir}/${module}/Makefile
; then
7201 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7202 rm -f ${target_subdir}/${module}/Makefile
7205 # We only bootstrap target libraries listed in bootstrap_target_libs.
7206 case $bootstrap_target_libs in
7207 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7208 *) target_bootstrap_suffix
=no-bootstrap
;;
7211 extrasub_target
="$extrasub_target
7212 /^@if target-$module\$/d
7213 /^@endif target-$module\$/d
7214 /^@if target-$module-$target_bootstrap_suffix\$/d
7215 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7218 # Do the final fixup along with target modules.
7219 extrasub_target
="$extrasub_target
7220 /^@if /,/^@endif /d"
7222 # Create the serialization dependencies. This uses a temporary file.
7224 # Check whether --enable-serial-configure was given.
7225 if test "${enable_serial_configure+set}" = set; then :
7226 enableval
=$enable_serial_configure;
7230 case ${enable_serial_configure} in
7232 enable_serial_build_configure
=yes
7233 enable_serial_host_configure
=yes
7234 enable_serial_target_configure
=yes
7238 # These force 'configure's to be done one at a time, to avoid problems
7239 # with contention over a shared config.cache.
7241 echo '# serdep.tmp' > serdep.tmp
7243 test "x${enable_serial_build_configure}" = xyes
&&
7244 for item
in ${build_configdirs} ; do
7247 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7252 test "x${enable_serial_host_configure}" = xyes
&&
7253 for item
in ${configdirs} ; do
7256 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7261 test "x${enable_serial_target_configure}" = xyes
&&
7262 for item
in ${target_configdirs} ; do
7265 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7269 serialization_dependencies
=serdep.tmp
7272 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7273 # target, nonopt, and variable assignments. These are the ones we
7274 # might not want to pass down to subconfigures. The exception being
7275 # --cache-file=/dev/null, which is used to turn off the use of cache
7276 # files altogether, and which should be passed on to subconfigures.
7277 # Also strip program-prefix, program-suffix, and program-transform-name,
7278 # so that we can pass down a consistent program-transform-name.
7283 eval "set -- $ac_configure_args"
7286 if test X
"$skip_next" = X
"yes"; then
7290 if test X
"$keep_next" = X
"yes"; then
7293 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7295 baseargs
="$baseargs '$ac_arg'"
7296 tbaseargs
="$tbaseargs '$ac_arg'"
7301 # Handle separated arguments. Based on the logic generated by
7304 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7305 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7306 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7307 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7321 --with-* |
--without-*)
7322 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7326 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7329 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7338 mpc | mpfr | gmp | isl | cloog
)
7339 # If we're processing --with-$lib, --with-$lib-include or
7340 # --with-$lib-lib, for one of the libs above, and target is
7341 # different from host, don't pass the current argument to any
7342 # target library's configure.
7343 if test x
$is_cross_compiler = xyes
; then
7352 --cache-file=/dev
/null | \
7353 -cache-file=/dev
/null
)
7354 # Handled here to avoid the test to skip args below.
7355 baseargs
="$baseargs '$ac_arg'"
7356 tbaseargs
="$tbaseargs '$ac_arg'"
7357 # Assert: $separate_arg should always be no.
7358 keep_next
=$separate_arg
7374 -program-prefix* | \
7375 -program-suffix* | \
7376 -program-transform-name* )
7377 skip_next
=$separate_arg
7381 # An option. Add it.
7384 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7386 baseargs
="$baseargs '$ac_arg'"
7387 if test X
"$skip_targ" = Xno
; then
7388 tbaseargs
="$tbaseargs '$ac_arg'"
7390 keep_next
=$separate_arg
7393 # Either a variable assignment, or a nonopt (triplet). Don't
7394 # pass it down; let the Makefile handle this.
7399 # Remove the initial space we just introduced and, as these will be
7400 # expanded by make, quote '$'.
7401 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7403 # Add in --program-transform-name, after --program-prefix and
7404 # --program-suffix have been applied to it. Autoconf has already
7405 # doubled dollar signs and backslashes in program_transform_name; we want
7406 # the backslashes un-doubled, and then the entire thing wrapped in single
7407 # quotes, because this will be expanded first by make and then by the shell.
7408 # Also, because we want to override the logic in subdir configure scripts to
7409 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7410 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7411 ${program_transform_name}
7413 gcc_transform_name
=`cat conftestsed.out`
7414 rm -f conftestsed.out
7415 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7416 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7417 if test "$silent" = yes; then
7418 baseargs
="$baseargs --silent"
7419 tbaseargs
="$tbaseargs --silent"
7421 baseargs
="$baseargs --disable-option-checking"
7422 tbaseargs
="$tbaseargs --disable-option-checking"
7424 # Record and document user additions to sub configure arguments.
7429 # For the build-side libraries, we just need to pretend we're native,
7430 # and not use the same cache file. Multilibs are neither needed nor
7432 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7434 # For host modules, accept cache file option, or specification as blank.
7435 case "${cache_file}" in
7437 cache_file_option
="" ;;
7438 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7439 cache_file_option
="--cache-file=${cache_file}" ;;
7441 cache_file_option
="--cache-file=../${cache_file}" ;;
7444 # Host dirs don't like to share a cache file either, horribly enough.
7445 # This seems to be due to autoconf 2.5x stupidity.
7446 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7448 target_configargs
="$target_configargs ${tbaseargs}"
7450 # Passing a --with-cross-host argument lets the target libraries know
7451 # whether they are being built with a cross-compiler or being built
7452 # native. However, it would be better to use other mechanisms to make the
7453 # sorts of decisions they want to make on this basis. Please consider
7454 # this option to be deprecated. FIXME.
7455 if test x
${is_cross_compiler} = xyes
; then
7456 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7459 # Special user-friendly check for native x86_64-linux build, if
7460 # multilib is not explicitly enabled.
7461 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7462 x86_64-
*linux
*:yes:$build:$build:)
7463 # Make sure we have a developement environment that handles 32-bit
7465 echo "int main () { return 0; }" > conftest.c
7466 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7467 if test $?
= 0 ; then
7468 if test -s conftest ||
test -s conftest.exe
; then
7473 if test x
${dev64} != xyes
; then
7474 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
7479 # Default to --enable-multilib.
7480 if test x
${enable_multilib} = x
; then
7481 target_configargs
="--enable-multilib ${target_configargs}"
7484 # Pass --with-newlib if appropriate. Note that target_configdirs has
7485 # changed from the earlier setting of with_newlib.
7486 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7487 target_configargs
="--with-newlib ${target_configargs}"
7490 # Different target subdirs use different values of certain variables
7491 # (notably CXX). Worse, multilibs use *lots* of different values.
7492 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7493 # it doesn't automatically accept command-line overrides of them.
7494 # This means it's not safe for target subdirs to share a cache file,
7495 # which is disgusting, but there you have it. Hopefully this can be
7496 # fixed in future. It's still worthwhile to use a cache file for each
7497 # directory. I think.
7499 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7500 # We need to pass --target, as newer autoconf's requires consistency
7501 # for target_alias and gcc doesn't manage it consistently.
7502 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7505 case " $target_configdirs " in
7507 case " $target_configargs " in
7508 *" --with-newlib "*)
7511 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7515 # If we're not building GCC, don't discard standard headers.
7516 if test -d ${srcdir}/gcc
; then
7517 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7519 if test "${build}" != "${host}"; then
7520 # On Canadian crosses, CC_FOR_TARGET will have already been set
7521 # by `configure', so we won't have an opportunity to add -Bgcc/
7522 # to it. This is right: we don't want to search that directory
7523 # for binaries, but we want the header files in there, so add
7525 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7527 # Someone might think of using the pre-installed headers on
7528 # Canadian crosses, in case the installed compiler is not fully
7529 # compatible with the compiler being built. In this case, it
7530 # would be better to flag an error than risking having
7531 # incompatible object files being constructed. We can't
7532 # guarantee that an error will be flagged, but let's hope the
7533 # compiler will do it, when presented with incompatible header
7538 case "${target}-${is_cross_compiler}" in
7539 i
[3456789]86-*-linux*-no)
7540 # Here host == target, so we don't need to build gcc,
7541 # so we don't want to discard standard headers.
7542 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7545 # If we're building newlib, use its generic headers last, but search
7546 # for any libc-related directories first (so make it the last -B
7548 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7550 # If we're building libgloss, find the startup file, simulator library
7551 # and linker script.
7552 case " $target_configdirs " in
7554 # Look for startup file, simulator library and maybe linker script.
7555 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7556 # Look for libnosys.a in case the target needs it.
7557 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7558 # Most targets have the linker script in the source directory.
7559 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7570 x86_64-
*mingw
* |
*-w64-mingw*)
7571 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7572 # however, use a symlink named 'mingw' in ${prefix} .
7573 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7576 # MinGW can't be handled as Cygwin above since it does not use newlib.
7577 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'
7581 # Allow the user to override the flags for
7582 # our build compiler if desired.
7583 if test x
"${build}" = x
"${host}" ; then
7584 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7585 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7586 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7589 # On Canadian crosses, we'll be searching the right directories for
7590 # the previously-installed cross compiler, so don't bother to add
7591 # flags for directories within the install tree of the compiler
7592 # being built; programs in there won't even run.
7593 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7594 # Search for pre-installed headers if nothing else fits.
7595 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7598 if test "x
${use_gnu_ld}" = x &&
7599 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7600 # Arrange for us to find uninstalled linker scripts.
7601 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7604 # Search for other target-specific linker scripts and such.
7607 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7611 # Makefile fragments.
7612 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7614 eval fragval=\$$frag
7615 if test $fragval != /dev/null; then
7616 eval $frag=${srcdir}/$fragval
7624 # Miscellanea: directories, flags, etc.
7633 # Build module lists & subconfigure args.
7637 # Host module lists & subconfigure args.
7642 # Target module lists & subconfigure args.
7664 # Generate default definitions for YACC, M4, LEX and other programs that run
7665 # on the build machine. These are used if the Makefile can't locate these
7666 # programs in objdir.
7667 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7669 for ac_prog in 'bison -y' byacc yacc
7671 # Extract the first word of "$ac_prog", so it can be a program name with args.
7672 set dummy $ac_prog; ac_word=$2
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7674 $as_echo_n "checking
for $ac_word...
" >&6; }
7675 if test "${ac_cv_prog_YACC+set}" = set; then :
7676 $as_echo_n "(cached
) " >&6
7678 if test -n "$YACC"; then
7679 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 test -z "$as_dir" && as_dir=.
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7688 ac_cv_prog_YACC="$ac_prog"
7689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7698 YACC=$ac_cv_prog_YACC
7699 if test -n "$YACC"; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7701 $as_echo "$YACC" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7704 $as_echo "no
" >&6; }
7708 test -n "$YACC" && break
7710 test -n "$YACC" || YACC="$MISSING bison
-y"
7712 case " $build_configdirs " in
7713 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7716 for ac_prog in bison
7718 # Extract the first word of "$ac_prog", so it can be a program name with args.
7719 set dummy $ac_prog; ac_word=$2
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7721 $as_echo_n "checking
for $ac_word...
" >&6; }
7722 if test "${ac_cv_prog_BISON+set}" = set; then :
7723 $as_echo_n "(cached
) " >&6
7725 if test -n "$BISON"; then
7726 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 test -z "$as_dir" && as_dir=.
7733 for ac_exec_ext in '' $ac_executable_extensions; do
7734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7735 ac_cv_prog_BISON="$ac_prog"
7736 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7745 BISON=$ac_cv_prog_BISON
7746 if test -n "$BISON"; then
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7748 $as_echo "$BISON" >&6; }
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7751 $as_echo "no
" >&6; }
7755 test -n "$BISON" && break
7757 test -n "$BISON" || BISON="$MISSING bison
"
7759 case " $build_configdirs " in
7760 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7763 for ac_prog in gm4 gnum4 m4
7765 # Extract the first word of "$ac_prog", so it can be a program name with args.
7766 set dummy $ac_prog; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7768 $as_echo_n "checking
for $ac_word...
" >&6; }
7769 if test "${ac_cv_prog_M4+set}" = set; then :
7770 $as_echo_n "(cached
) " >&6
7772 if test -n "$M4"; then
7773 ac_cv_prog_M4="$M4" # Let the user override the test.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_prog_M4="$ac_prog"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7793 if test -n "$M4"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7795 $as_echo "$M4" >&6; }
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7798 $as_echo "no
" >&6; }
7802 test -n "$M4" && break
7804 test -n "$M4" || M4="$MISSING m4"
7806 case " $build_configdirs " in
7807 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7810 for ac_prog in flex lex
7812 # Extract the first word of "$ac_prog", so it can be a program name with args.
7813 set dummy $ac_prog; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7815 $as_echo_n "checking
for $ac_word...
" >&6; }
7816 if test "${ac_cv_prog_LEX+set}" = set; then :
7817 $as_echo_n "(cached
) " >&6
7819 if test -n "$LEX"; then
7820 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_LEX="$ac_prog"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7840 if test -n "$LEX"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7842 $as_echo "$LEX" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7845 $as_echo "no
" >&6; }
7849 test -n "$LEX" && break
7851 test -n "$LEX" || LEX="$MISSING flex
"
7853 case " $build_configdirs " in
7854 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7855 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7860 # Extract the first word of "$ac_prog", so it can be a program name with args.
7861 set dummy $ac_prog; ac_word=$2
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7863 $as_echo_n "checking
for $ac_word...
" >&6; }
7864 if test "${ac_cv_prog_FLEX+set}" = set; then :
7865 $as_echo_n "(cached
) " >&6
7867 if test -n "$FLEX"; then
7868 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_FLEX="$ac_prog"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7887 FLEX=$ac_cv_prog_FLEX
7888 if test -n "$FLEX"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7890 $as_echo "$FLEX" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7893 $as_echo "no
" >&6; }
7897 test -n "$FLEX" && break
7899 test -n "$FLEX" || FLEX="$MISSING flex
"
7901 case " $build_configdirs " in
7902 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7905 for ac_prog in makeinfo
7907 # Extract the first word of "$ac_prog", so it can be a program name with args.
7908 set dummy $ac_prog; ac_word=$2
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7910 $as_echo_n "checking
for $ac_word...
" >&6; }
7911 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7912 $as_echo_n "(cached
) " >&6
7914 if test -n "$MAKEINFO"; then
7915 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7921 test -z "$as_dir" && as_dir=.
7922 for ac_exec_ext in '' $ac_executable_extensions; do
7923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7924 ac_cv_prog_MAKEINFO="$ac_prog"
7925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7934 MAKEINFO=$ac_cv_prog_MAKEINFO
7935 if test -n "$MAKEINFO"; then
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7937 $as_echo "$MAKEINFO" >&6; }
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7940 $as_echo "no
" >&6; }
7944 test -n "$MAKEINFO" && break
7946 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7948 case " $build_configdirs " in
7949 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7952 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7953 # higher, else we use the "missing
" dummy.
7954 if ${MAKEINFO} --version \
7955 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7958 MAKEINFO="$MISSING makeinfo
"
7964 # FIXME: expect and dejagnu may become build tools?
7966 for ac_prog in expect
7968 # Extract the first word of "$ac_prog", so it can be a program name with args.
7969 set dummy $ac_prog; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7971 $as_echo_n "checking
for $ac_word...
" >&6; }
7972 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7973 $as_echo_n "(cached
) " >&6
7975 if test -n "$EXPECT"; then
7976 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7985 ac_cv_prog_EXPECT="$ac_prog"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7995 EXPECT=$ac_cv_prog_EXPECT
7996 if test -n "$EXPECT"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7998 $as_echo "$EXPECT" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8001 $as_echo "no
" >&6; }
8005 test -n "$EXPECT" && break
8007 test -n "$EXPECT" || EXPECT="expect
"
8009 case " $configdirs " in
8011 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8015 for ac_prog in runtest
8017 # Extract the first word of "$ac_prog", so it can be a program name with args.
8018 set dummy $ac_prog; ac_word=$2
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8020 $as_echo_n "checking
for $ac_word...
" >&6; }
8021 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8022 $as_echo_n "(cached
) " >&6
8024 if test -n "$RUNTEST"; then
8025 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8031 test -z "$as_dir" && as_dir=.
8032 for ac_exec_ext in '' $ac_executable_extensions; do
8033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8034 ac_cv_prog_RUNTEST="$ac_prog"
8035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8044 RUNTEST=$ac_cv_prog_RUNTEST
8045 if test -n "$RUNTEST"; then
8046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8047 $as_echo "$RUNTEST" >&6; }
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8050 $as_echo "no
" >&6; }
8054 test -n "$RUNTEST" && break
8056 test -n "$RUNTEST" || RUNTEST="runtest
"
8058 case " $configdirs " in
8060 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8067 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8068 ncn_target_tool_prefix=
8069 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8073 if test -n "$AR"; then
8075 elif test -n "$ac_cv_prog_AR"; then
8079 if test -n "$ac_cv_prog_AR"; then
8080 for ncn_progname in ar; do
8081 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8082 set dummy ${ncn_progname}; ac_word=$2
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8084 $as_echo_n "checking
for $ac_word...
" >&6; }
8085 if test "${ac_cv_prog_AR+set}" = set; then :
8086 $as_echo_n "(cached
) " >&6
8088 if test -n "$AR"; then
8089 ac_cv_prog_AR="$AR" # Let the user override the test.
8091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095 test -z "$as_dir" && as_dir=.
8096 for ac_exec_ext in '' $ac_executable_extensions; do
8097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8098 ac_cv_prog_AR="${ncn_progname}"
8099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8109 if test -n "$AR"; then
8110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8111 $as_echo "$AR" >&6; }
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8114 $as_echo "no
" >&6; }
8121 for ncn_progname in ar; do
8122 if test -n "$ncn_tool_prefix"; then
8123 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8124 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8126 $as_echo_n "checking
for $ac_word...
" >&6; }
8127 if test "${ac_cv_prog_AR+set}" = set; then :
8128 $as_echo_n "(cached
) " >&6
8130 if test -n "$AR"; then
8131 ac_cv_prog_AR="$AR" # Let the user override the test.
8133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8137 test -z "$as_dir" && as_dir=.
8138 for ac_exec_ext in '' $ac_executable_extensions; do
8139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8140 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8141 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8151 if test -n "$AR"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8153 $as_echo "$AR" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8156 $as_echo "no
" >&6; }
8161 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8163 set dummy ${ncn_progname}; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if test "${ac_cv_prog_AR+set}" = set; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$AR"; then
8170 ac_cv_prog_AR="$AR" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8179 ac_cv_prog_AR="${ncn_progname}"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8190 if test -n "$AR"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8192 $as_echo "$AR" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8200 test -n "$ac_cv_prog_AR" && break
8203 if test -z "$ac_cv_prog_AR" ; then
8205 if test $build = $host ; then
8208 AR="${ncn_tool_prefix}$2"
8214 if test -n "$AS"; then
8216 elif test -n "$ac_cv_prog_AS"; then
8220 if test -n "$ac_cv_prog_AS"; then
8221 for ncn_progname in as; do
8222 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8223 set dummy ${ncn_progname}; ac_word=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8225 $as_echo_n "checking
for $ac_word...
" >&6; }
8226 if test "${ac_cv_prog_AS+set}" = set; then :
8227 $as_echo_n "(cached
) " >&6
8229 if test -n "$AS"; then
8230 ac_cv_prog_AS="$AS" # Let the user override the test.
8232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8236 test -z "$as_dir" && as_dir=.
8237 for ac_exec_ext in '' $ac_executable_extensions; do
8238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8239 ac_cv_prog_AS="${ncn_progname}"
8240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8250 if test -n "$AS"; then
8251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8252 $as_echo "$AS" >&6; }
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8255 $as_echo "no
" >&6; }
8262 for ncn_progname in as; do
8263 if test -n "$ncn_tool_prefix"; then
8264 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8265 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8267 $as_echo_n "checking
for $ac_word...
" >&6; }
8268 if test "${ac_cv_prog_AS+set}" = set; then :
8269 $as_echo_n "(cached
) " >&6
8271 if test -n "$AS"; then
8272 ac_cv_prog_AS="$AS" # Let the user override the test.
8274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8278 test -z "$as_dir" && as_dir=.
8279 for ac_exec_ext in '' $ac_executable_extensions; do
8280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8281 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8292 if test -n "$AS"; then
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8294 $as_echo "$AS" >&6; }
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8297 $as_echo "no
" >&6; }
8302 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8304 set dummy ${ncn_progname}; ac_word=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8306 $as_echo_n "checking
for $ac_word...
" >&6; }
8307 if test "${ac_cv_prog_AS+set}" = set; then :
8308 $as_echo_n "(cached
) " >&6
8310 if test -n "$AS"; then
8311 ac_cv_prog_AS="$AS" # Let the user override the test.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8320 ac_cv_prog_AS="${ncn_progname}"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8331 if test -n "$AS"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8333 $as_echo "$AS" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8336 $as_echo "no
" >&6; }
8341 test -n "$ac_cv_prog_AS" && break
8344 if test -z "$ac_cv_prog_AS" ; then
8346 if test $build = $host ; then
8349 AS="${ncn_tool_prefix}$2"
8355 if test -n "$DLLTOOL"; then
8356 ac_cv_prog_DLLTOOL=$DLLTOOL
8357 elif test -n "$ac_cv_prog_DLLTOOL"; then
8358 DLLTOOL=$ac_cv_prog_DLLTOOL
8361 if test -n "$ac_cv_prog_DLLTOOL"; then
8362 for ncn_progname in dlltool; do
8363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8364 set dummy ${ncn_progname}; ac_word=$2
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8366 $as_echo_n "checking
for $ac_word...
" >&6; }
8367 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8368 $as_echo_n "(cached
) " >&6
8370 if test -n "$DLLTOOL"; then
8371 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8377 test -z "$as_dir" && as_dir=.
8378 for ac_exec_ext in '' $ac_executable_extensions; do
8379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8380 ac_cv_prog_DLLTOOL="${ncn_progname}"
8381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8390 DLLTOOL=$ac_cv_prog_DLLTOOL
8391 if test -n "$DLLTOOL"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8393 $as_echo "$DLLTOOL" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8396 $as_echo "no
" >&6; }
8403 for ncn_progname in dlltool; do
8404 if test -n "$ncn_tool_prefix"; then
8405 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8406 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8408 $as_echo_n "checking
for $ac_word...
" >&6; }
8409 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8410 $as_echo_n "(cached
) " >&6
8412 if test -n "$DLLTOOL"; then
8413 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir=.
8420 for ac_exec_ext in '' $ac_executable_extensions; do
8421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8432 DLLTOOL=$ac_cv_prog_DLLTOOL
8433 if test -n "$DLLTOOL"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8435 $as_echo "$DLLTOOL" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8438 $as_echo "no
" >&6; }
8443 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8445 set dummy ${ncn_progname}; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8447 $as_echo_n "checking
for $ac_word...
" >&6; }
8448 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8449 $as_echo_n "(cached
) " >&6
8451 if test -n "$DLLTOOL"; then
8452 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8461 ac_cv_prog_DLLTOOL="${ncn_progname}"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8471 DLLTOOL=$ac_cv_prog_DLLTOOL
8472 if test -n "$DLLTOOL"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8474 $as_echo "$DLLTOOL" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8482 test -n "$ac_cv_prog_DLLTOOL" && break
8485 if test -z "$ac_cv_prog_DLLTOOL" ; then
8487 if test $build = $host ; then
8490 DLLTOOL="${ncn_tool_prefix}$2"
8496 if test -n "$LD"; then
8498 elif test -n "$ac_cv_prog_LD"; then
8502 if test -n "$ac_cv_prog_LD"; then
8503 for ncn_progname in ld; do
8504 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8505 set dummy ${ncn_progname}; ac_word=$2
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8507 $as_echo_n "checking
for $ac_word...
" >&6; }
8508 if test "${ac_cv_prog_LD+set}" = set; then :
8509 $as_echo_n "(cached
) " >&6
8511 if test -n "$LD"; then
8512 ac_cv_prog_LD="$LD" # Let the user override the test.
8514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8518 test -z "$as_dir" && as_dir=.
8519 for ac_exec_ext in '' $ac_executable_extensions; do
8520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8521 ac_cv_prog_LD="${ncn_progname}"
8522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8532 if test -n "$LD"; then
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8534 $as_echo "$LD" >&6; }
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8537 $as_echo "no
" >&6; }
8544 for ncn_progname in ld; do
8545 if test -n "$ncn_tool_prefix"; then
8546 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8547 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8549 $as_echo_n "checking
for $ac_word...
" >&6; }
8550 if test "${ac_cv_prog_LD+set}" = set; then :
8551 $as_echo_n "(cached
) " >&6
8553 if test -n "$LD"; then
8554 ac_cv_prog_LD="$LD" # Let the user override the test.
8556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8560 test -z "$as_dir" && as_dir=.
8561 for ac_exec_ext in '' $ac_executable_extensions; do
8562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8563 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8574 if test -n "$LD"; then
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8576 $as_echo "$LD" >&6; }
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8579 $as_echo "no
" >&6; }
8584 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8586 set dummy ${ncn_progname}; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8588 $as_echo_n "checking
for $ac_word...
" >&6; }
8589 if test "${ac_cv_prog_LD+set}" = set; then :
8590 $as_echo_n "(cached
) " >&6
8592 if test -n "$LD"; then
8593 ac_cv_prog_LD="$LD" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_prog_LD="${ncn_progname}"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8613 if test -n "$LD"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8615 $as_echo "$LD" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8618 $as_echo "no
" >&6; }
8623 test -n "$ac_cv_prog_LD" && break
8626 if test -z "$ac_cv_prog_LD" ; then
8628 if test $build = $host ; then
8631 LD="${ncn_tool_prefix}$2"
8637 if test -n "$LIPO"; then
8638 ac_cv_prog_LIPO=$LIPO
8639 elif test -n "$ac_cv_prog_LIPO"; then
8640 LIPO=$ac_cv_prog_LIPO
8643 if test -n "$ac_cv_prog_LIPO"; then
8644 for ncn_progname in lipo; do
8645 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8646 set dummy ${ncn_progname}; ac_word=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8648 $as_echo_n "checking
for $ac_word...
" >&6; }
8649 if test "${ac_cv_prog_LIPO+set}" = set; then :
8650 $as_echo_n "(cached
) " >&6
8652 if test -n "$LIPO"; then
8653 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8659 test -z "$as_dir" && as_dir=.
8660 for ac_exec_ext in '' $ac_executable_extensions; do
8661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8662 ac_cv_prog_LIPO="${ncn_progname}"
8663 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8672 LIPO=$ac_cv_prog_LIPO
8673 if test -n "$LIPO"; then
8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8675 $as_echo "$LIPO" >&6; }
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8678 $as_echo "no
" >&6; }
8685 for ncn_progname in lipo; do
8686 if test -n "$ncn_tool_prefix"; then
8687 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8688 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8690 $as_echo_n "checking
for $ac_word...
" >&6; }
8691 if test "${ac_cv_prog_LIPO+set}" = set; then :
8692 $as_echo_n "(cached
) " >&6
8694 if test -n "$LIPO"; then
8695 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8701 test -z "$as_dir" && as_dir=.
8702 for ac_exec_ext in '' $ac_executable_extensions; do
8703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8704 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8714 LIPO=$ac_cv_prog_LIPO
8715 if test -n "$LIPO"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8717 $as_echo "$LIPO" >&6; }
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8720 $as_echo "no
" >&6; }
8725 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8727 set dummy ${ncn_progname}; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8729 $as_echo_n "checking
for $ac_word...
" >&6; }
8730 if test "${ac_cv_prog_LIPO+set}" = set; then :
8731 $as_echo_n "(cached
) " >&6
8733 if test -n "$LIPO"; then
8734 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743 ac_cv_prog_LIPO="${ncn_progname}"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8753 LIPO=$ac_cv_prog_LIPO
8754 if test -n "$LIPO"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8756 $as_echo "$LIPO" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8759 $as_echo "no
" >&6; }
8764 test -n "$ac_cv_prog_LIPO" && break
8767 if test -z "$ac_cv_prog_LIPO" ; then
8769 if test $build = $host ; then
8772 LIPO="${ncn_tool_prefix}$2"
8778 if test -n "$NM"; then
8780 elif test -n "$ac_cv_prog_NM"; then
8784 if test -n "$ac_cv_prog_NM"; then
8785 for ncn_progname in nm; do
8786 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8787 set dummy ${ncn_progname}; ac_word=$2
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8789 $as_echo_n "checking
for $ac_word...
" >&6; }
8790 if test "${ac_cv_prog_NM+set}" = set; then :
8791 $as_echo_n "(cached
) " >&6
8793 if test -n "$NM"; then
8794 ac_cv_prog_NM="$NM" # Let the user override the test.
8796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir=.
8801 for ac_exec_ext in '' $ac_executable_extensions; do
8802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8803 ac_cv_prog_NM="${ncn_progname}"
8804 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8814 if test -n "$NM"; then
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8816 $as_echo "$NM" >&6; }
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8819 $as_echo "no
" >&6; }
8826 for ncn_progname in nm; do
8827 if test -n "$ncn_tool_prefix"; then
8828 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8829 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8831 $as_echo_n "checking
for $ac_word...
" >&6; }
8832 if test "${ac_cv_prog_NM+set}" = set; then :
8833 $as_echo_n "(cached
) " >&6
8835 if test -n "$NM"; then
8836 ac_cv_prog_NM="$NM" # Let the user override the test.
8838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8842 test -z "$as_dir" && as_dir=.
8843 for ac_exec_ext in '' $ac_executable_extensions; do
8844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8845 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8856 if test -n "$NM"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8858 $as_echo "$NM" >&6; }
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8861 $as_echo "no
" >&6; }
8866 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8867 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8868 set dummy ${ncn_progname}; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8870 $as_echo_n "checking
for $ac_word...
" >&6; }
8871 if test "${ac_cv_prog_NM+set}" = set; then :
8872 $as_echo_n "(cached
) " >&6
8874 if test -n "$NM"; then
8875 ac_cv_prog_NM="$NM" # Let the user override the test.
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8884 ac_cv_prog_NM="${ncn_progname}"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8895 if test -n "$NM"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8897 $as_echo "$NM" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8900 $as_echo "no
" >&6; }
8905 test -n "$ac_cv_prog_NM" && break
8908 if test -z "$ac_cv_prog_NM" ; then
8910 if test $build = $host ; then
8913 NM="${ncn_tool_prefix}$2"
8919 if test -n "$RANLIB"; then
8920 ac_cv_prog_RANLIB=$RANLIB
8921 elif test -n "$ac_cv_prog_RANLIB"; then
8922 RANLIB=$ac_cv_prog_RANLIB
8925 if test -n "$ac_cv_prog_RANLIB"; then
8926 for ncn_progname in ranlib; do
8927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8928 set dummy ${ncn_progname}; ac_word=$2
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8930 $as_echo_n "checking
for $ac_word...
" >&6; }
8931 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8932 $as_echo_n "(cached
) " >&6
8934 if test -n "$RANLIB"; then
8935 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8941 test -z "$as_dir" && as_dir=.
8942 for ac_exec_ext in '' $ac_executable_extensions; do
8943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8944 ac_cv_prog_RANLIB="${ncn_progname}"
8945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8954 RANLIB=$ac_cv_prog_RANLIB
8955 if test -n "$RANLIB"; then
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8957 $as_echo "$RANLIB" >&6; }
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8960 $as_echo "no
" >&6; }
8967 for ncn_progname in ranlib; do
8968 if test -n "$ncn_tool_prefix"; then
8969 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8970 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8972 $as_echo_n "checking
for $ac_word...
" >&6; }
8973 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8974 $as_echo_n "(cached
) " >&6
8976 if test -n "$RANLIB"; then
8977 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8983 test -z "$as_dir" && as_dir=.
8984 for ac_exec_ext in '' $ac_executable_extensions; do
8985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8986 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8996 RANLIB=$ac_cv_prog_RANLIB
8997 if test -n "$RANLIB"; then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8999 $as_echo "$RANLIB" >&6; }
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9002 $as_echo "no
" >&6; }
9007 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9009 set dummy ${ncn_progname}; ac_word=$2
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9011 $as_echo_n "checking
for $ac_word...
" >&6; }
9012 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9013 $as_echo_n "(cached
) " >&6
9015 if test -n "$RANLIB"; then
9016 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir=.
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9025 ac_cv_prog_RANLIB="${ncn_progname}"
9026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9035 RANLIB=$ac_cv_prog_RANLIB
9036 if test -n "$RANLIB"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9038 $as_echo "$RANLIB" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9041 $as_echo "no
" >&6; }
9046 test -n "$ac_cv_prog_RANLIB" && break
9049 if test -z "$ac_cv_prog_RANLIB" ; then
9055 if test -n "$STRIP"; then
9056 ac_cv_prog_STRIP=$STRIP
9057 elif test -n "$ac_cv_prog_STRIP"; then
9058 STRIP=$ac_cv_prog_STRIP
9061 if test -n "$ac_cv_prog_STRIP"; then
9062 for ncn_progname in strip; do
9063 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9064 set dummy ${ncn_progname}; ac_word=$2
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9066 $as_echo_n "checking
for $ac_word...
" >&6; }
9067 if test "${ac_cv_prog_STRIP+set}" = set; then :
9068 $as_echo_n "(cached
) " >&6
9070 if test -n "$STRIP"; then
9071 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9077 test -z "$as_dir" && as_dir=.
9078 for ac_exec_ext in '' $ac_executable_extensions; do
9079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9080 ac_cv_prog_STRIP="${ncn_progname}"
9081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9090 STRIP=$ac_cv_prog_STRIP
9091 if test -n "$STRIP"; then
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9093 $as_echo "$STRIP" >&6; }
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9096 $as_echo "no
" >&6; }
9103 for ncn_progname in strip; do
9104 if test -n "$ncn_tool_prefix"; then
9105 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9106 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9108 $as_echo_n "checking
for $ac_word...
" >&6; }
9109 if test "${ac_cv_prog_STRIP+set}" = set; then :
9110 $as_echo_n "(cached
) " >&6
9112 if test -n "$STRIP"; then
9113 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9119 test -z "$as_dir" && as_dir=.
9120 for ac_exec_ext in '' $ac_executable_extensions; do
9121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9122 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9132 STRIP=$ac_cv_prog_STRIP
9133 if test -n "$STRIP"; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9135 $as_echo "$STRIP" >&6; }
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9138 $as_echo "no
" >&6; }
9143 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9144 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9145 set dummy ${ncn_progname}; ac_word=$2
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9147 $as_echo_n "checking
for $ac_word...
" >&6; }
9148 if test "${ac_cv_prog_STRIP+set}" = set; then :
9149 $as_echo_n "(cached
) " >&6
9151 if test -n "$STRIP"; then
9152 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 test -z "$as_dir" && as_dir=.
9159 for ac_exec_ext in '' $ac_executable_extensions; do
9160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9161 ac_cv_prog_STRIP="${ncn_progname}"
9162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9171 STRIP=$ac_cv_prog_STRIP
9172 if test -n "$STRIP"; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9174 $as_echo "$STRIP" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9177 $as_echo "no
" >&6; }
9182 test -n "$ac_cv_prog_STRIP" && break
9185 if test -z "$ac_cv_prog_STRIP" ; then
9191 if test -n "$WINDRES"; then
9192 ac_cv_prog_WINDRES=$WINDRES
9193 elif test -n "$ac_cv_prog_WINDRES"; then
9194 WINDRES=$ac_cv_prog_WINDRES
9197 if test -n "$ac_cv_prog_WINDRES"; then
9198 for ncn_progname in windres; do
9199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9200 set dummy ${ncn_progname}; ac_word=$2
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9202 $as_echo_n "checking
for $ac_word...
" >&6; }
9203 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9204 $as_echo_n "(cached
) " >&6
9206 if test -n "$WINDRES"; then
9207 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9213 test -z "$as_dir" && as_dir=.
9214 for ac_exec_ext in '' $ac_executable_extensions; do
9215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9216 ac_cv_prog_WINDRES="${ncn_progname}"
9217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9226 WINDRES=$ac_cv_prog_WINDRES
9227 if test -n "$WINDRES"; then
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9229 $as_echo "$WINDRES" >&6; }
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9232 $as_echo "no
" >&6; }
9239 for ncn_progname in windres; do
9240 if test -n "$ncn_tool_prefix"; then
9241 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9242 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9244 $as_echo_n "checking
for $ac_word...
" >&6; }
9245 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9246 $as_echo_n "(cached
) " >&6
9248 if test -n "$WINDRES"; then
9249 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9255 test -z "$as_dir" && as_dir=.
9256 for ac_exec_ext in '' $ac_executable_extensions; do
9257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9258 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9268 WINDRES=$ac_cv_prog_WINDRES
9269 if test -n "$WINDRES"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9271 $as_echo "$WINDRES" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9274 $as_echo "no
" >&6; }
9279 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9281 set dummy ${ncn_progname}; ac_word=$2
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9283 $as_echo_n "checking
for $ac_word...
" >&6; }
9284 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9285 $as_echo_n "(cached
) " >&6
9287 if test -n "$WINDRES"; then
9288 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9294 test -z "$as_dir" && as_dir=.
9295 for ac_exec_ext in '' $ac_executable_extensions; do
9296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9297 ac_cv_prog_WINDRES="${ncn_progname}"
9298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9307 WINDRES=$ac_cv_prog_WINDRES
9308 if test -n "$WINDRES"; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9310 $as_echo "$WINDRES" >&6; }
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9313 $as_echo "no
" >&6; }
9318 test -n "$ac_cv_prog_WINDRES" && break
9321 if test -z "$ac_cv_prog_WINDRES" ; then
9323 if test $build = $host ; then
9326 WINDRES="${ncn_tool_prefix}$2"
9332 if test -n "$WINDMC"; then
9333 ac_cv_prog_WINDMC=$WINDMC
9334 elif test -n "$ac_cv_prog_WINDMC"; then
9335 WINDMC=$ac_cv_prog_WINDMC
9338 if test -n "$ac_cv_prog_WINDMC"; then
9339 for ncn_progname in windmc; do
9340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9341 set dummy ${ncn_progname}; ac_word=$2
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9343 $as_echo_n "checking
for $ac_word...
" >&6; }
9344 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9345 $as_echo_n "(cached
) " >&6
9347 if test -n "$WINDMC"; then
9348 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9354 test -z "$as_dir" && as_dir=.
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9357 ac_cv_prog_WINDMC="${ncn_progname}"
9358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9367 WINDMC=$ac_cv_prog_WINDMC
9368 if test -n "$WINDMC"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9370 $as_echo "$WINDMC" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9373 $as_echo "no
" >&6; }
9380 for ncn_progname in windmc; do
9381 if test -n "$ncn_tool_prefix"; then
9382 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9383 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9385 $as_echo_n "checking
for $ac_word...
" >&6; }
9386 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9387 $as_echo_n "(cached
) " >&6
9389 if test -n "$WINDMC"; then
9390 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9396 test -z "$as_dir" && as_dir=.
9397 for ac_exec_ext in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9409 WINDMC=$ac_cv_prog_WINDMC
9410 if test -n "$WINDMC"; then
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9412 $as_echo "$WINDMC" >&6; }
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9415 $as_echo "no
" >&6; }
9420 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9422 set dummy ${ncn_progname}; ac_word=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9424 $as_echo_n "checking
for $ac_word...
" >&6; }
9425 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9426 $as_echo_n "(cached
) " >&6
9428 if test -n "$WINDMC"; then
9429 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir=.
9436 for ac_exec_ext in '' $ac_executable_extensions; do
9437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438 ac_cv_prog_WINDMC="${ncn_progname}"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9448 WINDMC=$ac_cv_prog_WINDMC
9449 if test -n "$WINDMC"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9451 $as_echo "$WINDMC" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9454 $as_echo "no
" >&6; }
9459 test -n "$ac_cv_prog_WINDMC" && break
9462 if test -z "$ac_cv_prog_WINDMC" ; then
9464 if test $build = $host ; then
9467 WINDMC="${ncn_tool_prefix}$2"
9473 if test -n "$OBJCOPY"; then
9474 ac_cv_prog_OBJCOPY=$OBJCOPY
9475 elif test -n "$ac_cv_prog_OBJCOPY"; then
9476 OBJCOPY=$ac_cv_prog_OBJCOPY
9479 if test -n "$ac_cv_prog_OBJCOPY"; then
9480 for ncn_progname in objcopy; do
9481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9482 set dummy ${ncn_progname}; ac_word=$2
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9484 $as_echo_n "checking
for $ac_word...
" >&6; }
9485 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9486 $as_echo_n "(cached
) " >&6
9488 if test -n "$OBJCOPY"; then
9489 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9495 test -z "$as_dir" && as_dir=.
9496 for ac_exec_ext in '' $ac_executable_extensions; do
9497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9498 ac_cv_prog_OBJCOPY="${ncn_progname}"
9499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9508 OBJCOPY=$ac_cv_prog_OBJCOPY
9509 if test -n "$OBJCOPY"; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9511 $as_echo "$OBJCOPY" >&6; }
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9514 $as_echo "no
" >&6; }
9521 for ncn_progname in objcopy; do
9522 if test -n "$ncn_tool_prefix"; then
9523 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9524 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9526 $as_echo_n "checking
for $ac_word...
" >&6; }
9527 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9528 $as_echo_n "(cached
) " >&6
9530 if test -n "$OBJCOPY"; then
9531 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9537 test -z "$as_dir" && as_dir=.
9538 for ac_exec_ext in '' $ac_executable_extensions; do
9539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9540 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9550 OBJCOPY=$ac_cv_prog_OBJCOPY
9551 if test -n "$OBJCOPY"; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9553 $as_echo "$OBJCOPY" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9556 $as_echo "no
" >&6; }
9561 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9563 set dummy ${ncn_progname}; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9565 $as_echo_n "checking
for $ac_word...
" >&6; }
9566 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9567 $as_echo_n "(cached
) " >&6
9569 if test -n "$OBJCOPY"; then
9570 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579 ac_cv_prog_OBJCOPY="${ncn_progname}"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9589 OBJCOPY=$ac_cv_prog_OBJCOPY
9590 if test -n "$OBJCOPY"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9592 $as_echo "$OBJCOPY" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9595 $as_echo "no
" >&6; }
9600 test -n "$ac_cv_prog_OBJCOPY" && break
9603 if test -z "$ac_cv_prog_OBJCOPY" ; then
9605 if test $build = $host ; then
9608 OBJCOPY="${ncn_tool_prefix}$2"
9614 if test -n "$OBJDUMP"; then
9615 ac_cv_prog_OBJDUMP=$OBJDUMP
9616 elif test -n "$ac_cv_prog_OBJDUMP"; then
9617 OBJDUMP=$ac_cv_prog_OBJDUMP
9620 if test -n "$ac_cv_prog_OBJDUMP"; then
9621 for ncn_progname in objdump; do
9622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9623 set dummy ${ncn_progname}; ac_word=$2
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9625 $as_echo_n "checking
for $ac_word...
" >&6; }
9626 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9627 $as_echo_n "(cached
) " >&6
9629 if test -n "$OBJDUMP"; then
9630 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir=.
9637 for ac_exec_ext in '' $ac_executable_extensions; do
9638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9639 ac_cv_prog_OBJDUMP="${ncn_progname}"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9649 OBJDUMP=$ac_cv_prog_OBJDUMP
9650 if test -n "$OBJDUMP"; then
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9652 $as_echo "$OBJDUMP" >&6; }
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9655 $as_echo "no
" >&6; }
9662 for ncn_progname in objdump; do
9663 if test -n "$ncn_tool_prefix"; then
9664 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9665 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9667 $as_echo_n "checking
for $ac_word...
" >&6; }
9668 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9669 $as_echo_n "(cached
) " >&6
9671 if test -n "$OBJDUMP"; then
9672 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9678 test -z "$as_dir" && as_dir=.
9679 for ac_exec_ext in '' $ac_executable_extensions; do
9680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9681 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9691 OBJDUMP=$ac_cv_prog_OBJDUMP
9692 if test -n "$OBJDUMP"; then
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9694 $as_echo "$OBJDUMP" >&6; }
9696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9697 $as_echo "no
" >&6; }
9702 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9704 set dummy ${ncn_progname}; ac_word=$2
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9706 $as_echo_n "checking
for $ac_word...
" >&6; }
9707 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9708 $as_echo_n "(cached
) " >&6
9710 if test -n "$OBJDUMP"; then
9711 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir=.
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9720 ac_cv_prog_OBJDUMP="${ncn_progname}"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9730 OBJDUMP=$ac_cv_prog_OBJDUMP
9731 if test -n "$OBJDUMP"; then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9733 $as_echo "$OBJDUMP" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9736 $as_echo "no
" >&6; }
9741 test -n "$ac_cv_prog_OBJDUMP" && break
9744 if test -z "$ac_cv_prog_OBJDUMP" ; then
9746 if test $build = $host ; then
9749 OBJDUMP="${ncn_tool_prefix}$2"
9755 if test -n "$READELF"; then
9756 ac_cv_prog_READELF=$READELF
9757 elif test -n "$ac_cv_prog_READELF"; then
9758 READELF=$ac_cv_prog_READELF
9761 if test -n "$ac_cv_prog_READELF"; then
9762 for ncn_progname in readelf; do
9763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9764 set dummy ${ncn_progname}; ac_word=$2
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9766 $as_echo_n "checking
for $ac_word...
" >&6; }
9767 if test "${ac_cv_prog_READELF+set}" = set; then :
9768 $as_echo_n "(cached
) " >&6
9770 if test -n "$READELF"; then
9771 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9777 test -z "$as_dir" && as_dir=.
9778 for ac_exec_ext in '' $ac_executable_extensions; do
9779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9780 ac_cv_prog_READELF="${ncn_progname}"
9781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9790 READELF=$ac_cv_prog_READELF
9791 if test -n "$READELF"; then
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9793 $as_echo "$READELF" >&6; }
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9796 $as_echo "no
" >&6; }
9803 for ncn_progname in readelf; do
9804 if test -n "$ncn_tool_prefix"; then
9805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9806 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9808 $as_echo_n "checking
for $ac_word...
" >&6; }
9809 if test "${ac_cv_prog_READELF+set}" = set; then :
9810 $as_echo_n "(cached
) " >&6
9812 if test -n "$READELF"; then
9813 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9819 test -z "$as_dir" && as_dir=.
9820 for ac_exec_ext in '' $ac_executable_extensions; do
9821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9822 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9832 READELF=$ac_cv_prog_READELF
9833 if test -n "$READELF"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9835 $as_echo "$READELF" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9838 $as_echo "no
" >&6; }
9843 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9845 set dummy ${ncn_progname}; ac_word=$2
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9847 $as_echo_n "checking
for $ac_word...
" >&6; }
9848 if test "${ac_cv_prog_READELF+set}" = set; then :
9849 $as_echo_n "(cached
) " >&6
9851 if test -n "$READELF"; then
9852 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9858 test -z "$as_dir" && as_dir=.
9859 for ac_exec_ext in '' $ac_executable_extensions; do
9860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9861 ac_cv_prog_READELF="${ncn_progname}"
9862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9871 READELF=$ac_cv_prog_READELF
9872 if test -n "$READELF"; then
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9874 $as_echo "$READELF" >&6; }
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9877 $as_echo "no
" >&6; }
9882 test -n "$ac_cv_prog_READELF" && break
9885 if test -z "$ac_cv_prog_READELF" ; then
9887 if test $build = $host ; then
9890 READELF="${ncn_tool_prefix}$2"
9901 # Check whether --with-build-time-tools was given.
9902 if test "${with_build_time_tools+set}" = set; then :
9903 withval=$with_build_time_tools; case x"$withval" in
9906 with_build_time_tools=
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9908 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9912 with_build_time_tools=
9918 if test -n "$CC_FOR_TARGET"; then
9919 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9920 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9921 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9924 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9925 for ncn_progname in cc gcc; do
9926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9927 set dummy ${ncn_progname}; ac_word=$2
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9929 $as_echo_n "checking
for $ac_word...
" >&6; }
9930 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9931 $as_echo_n "(cached
) " >&6
9933 if test -n "$CC_FOR_TARGET"; then
9934 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9940 test -z "$as_dir" && as_dir=.
9941 for ac_exec_ext in '' $ac_executable_extensions; do
9942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9943 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9953 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9954 if test -n "$CC_FOR_TARGET"; then
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9956 $as_echo "$CC_FOR_TARGET" >&6; }
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9959 $as_echo "no
" >&6; }
9966 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9967 for ncn_progname in cc gcc; do
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9969 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9970 if test -x $with_build_time_tools/${ncn_progname}; then
9971 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9973 $as_echo "yes" >&6; }
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9977 $as_echo "no
" >&6; }
9982 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9983 for ncn_progname in cc gcc; do
9984 if test -n "$ncn_target_tool_prefix"; then
9985 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9986 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9988 $as_echo_n "checking
for $ac_word...
" >&6; }
9989 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9990 $as_echo_n "(cached
) " >&6
9992 if test -n "$CC_FOR_TARGET"; then
9993 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10002 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10012 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10013 if test -n "$CC_FOR_TARGET"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10015 $as_echo "$CC_FOR_TARGET" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10018 $as_echo "no
" >&6; }
10023 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10024 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10025 set dummy ${ncn_progname}; ac_word=$2
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10027 $as_echo_n "checking
for $ac_word...
" >&6; }
10028 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10029 $as_echo_n "(cached
) " >&6
10031 if test -n "$CC_FOR_TARGET"; then
10032 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10035 for as_dir in $PATH
10038 test -z "$as_dir" && as_dir=.
10039 for ac_exec_ext in '' $ac_executable_extensions; do
10040 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10041 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10042 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10051 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10052 if test -n "$CC_FOR_TARGET"; then
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10054 $as_echo "$CC_FOR_TARGET" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10057 $as_echo "no
" >&6; }
10062 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10066 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10068 if test $build = $target ; then
10071 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10074 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10079 if test -n "$CXX_FOR_TARGET"; then
10080 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10081 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10082 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10085 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10086 for ncn_progname in c++ g++ cxx gxx; do
10087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10088 set dummy ${ncn_progname}; ac_word=$2
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10090 $as_echo_n "checking
for $ac_word...
" >&6; }
10091 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10092 $as_echo_n "(cached
) " >&6
10094 if test -n "$CXX_FOR_TARGET"; then
10095 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10098 for as_dir in $PATH
10101 test -z "$as_dir" && as_dir=.
10102 for ac_exec_ext in '' $ac_executable_extensions; do
10103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10104 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10114 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10115 if test -n "$CXX_FOR_TARGET"; then
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10117 $as_echo "$CXX_FOR_TARGET" >&6; }
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10120 $as_echo "no
" >&6; }
10127 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10128 for ncn_progname in c++ g++ cxx gxx; do
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10130 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10131 if test -x $with_build_time_tools/${ncn_progname}; then
10132 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10134 $as_echo "yes" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10138 $as_echo "no
" >&6; }
10143 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10144 for ncn_progname in c++ g++ cxx gxx; do
10145 if test -n "$ncn_target_tool_prefix"; then
10146 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10147 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10149 $as_echo_n "checking
for $ac_word...
" >&6; }
10150 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10151 $as_echo_n "(cached
) " >&6
10153 if test -n "$CXX_FOR_TARGET"; then
10154 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10163 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10173 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10174 if test -n "$CXX_FOR_TARGET"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10176 $as_echo "$CXX_FOR_TARGET" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10179 $as_echo "no
" >&6; }
10184 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10186 set dummy ${ncn_progname}; ac_word=$2
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10188 $as_echo_n "checking
for $ac_word...
" >&6; }
10189 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10190 $as_echo_n "(cached
) " >&6
10192 if test -n "$CXX_FOR_TARGET"; then
10193 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10199 test -z "$as_dir" && as_dir=.
10200 for ac_exec_ext in '' $ac_executable_extensions; do
10201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10202 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10212 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10213 if test -n "$CXX_FOR_TARGET"; then
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10215 $as_echo "$CXX_FOR_TARGET" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10218 $as_echo "no
" >&6; }
10223 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10227 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10228 set dummy c++ g++ cxx gxx
10229 if test $build = $target ; then
10230 CXX_FOR_TARGET="$2"
10232 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10235 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10240 if test -n "$GCC_FOR_TARGET"; then
10241 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10242 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10243 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10246 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10247 for ncn_progname in gcc; do
10248 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10249 set dummy ${ncn_progname}; ac_word=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10251 $as_echo_n "checking
for $ac_word...
" >&6; }
10252 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10253 $as_echo_n "(cached
) " >&6
10255 if test -n "$GCC_FOR_TARGET"; then
10256 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10259 for as_dir in $PATH
10262 test -z "$as_dir" && as_dir=.
10263 for ac_exec_ext in '' $ac_executable_extensions; do
10264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10265 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10275 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10276 if test -n "$GCC_FOR_TARGET"; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10278 $as_echo "$GCC_FOR_TARGET" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10281 $as_echo "no
" >&6; }
10288 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10289 for ncn_progname in gcc; do
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10291 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10292 if test -x $with_build_time_tools/${ncn_progname}; then
10293 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10295 $as_echo "yes" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10304 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10305 for ncn_progname in gcc; do
10306 if test -n "$ncn_target_tool_prefix"; then
10307 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10308 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10310 $as_echo_n "checking
for $ac_word...
" >&6; }
10311 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10312 $as_echo_n "(cached
) " >&6
10314 if test -n "$GCC_FOR_TARGET"; then
10315 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10318 for as_dir in $PATH
10321 test -z "$as_dir" && as_dir=.
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10324 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10334 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10335 if test -n "$GCC_FOR_TARGET"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10337 $as_echo "$GCC_FOR_TARGET" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10340 $as_echo "no
" >&6; }
10345 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10347 set dummy ${ncn_progname}; ac_word=$2
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10349 $as_echo_n "checking
for $ac_word...
" >&6; }
10350 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10351 $as_echo_n "(cached
) " >&6
10353 if test -n "$GCC_FOR_TARGET"; then
10354 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10357 for as_dir in $PATH
10360 test -z "$as_dir" && as_dir=.
10361 for ac_exec_ext in '' $ac_executable_extensions; do
10362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10363 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10373 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10374 if test -n "$GCC_FOR_TARGET"; then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10376 $as_echo "$GCC_FOR_TARGET" >&6; }
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10379 $as_echo "no
" >&6; }
10384 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10388 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10389 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10391 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10396 if test -n "$GCJ_FOR_TARGET"; then
10397 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10398 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10399 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10402 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10403 for ncn_progname in gcj; do
10404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10405 set dummy ${ncn_progname}; ac_word=$2
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10407 $as_echo_n "checking
for $ac_word...
" >&6; }
10408 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10409 $as_echo_n "(cached
) " >&6
10411 if test -n "$GCJ_FOR_TARGET"; then
10412 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10415 for as_dir in $PATH
10418 test -z "$as_dir" && as_dir=.
10419 for ac_exec_ext in '' $ac_executable_extensions; do
10420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10421 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10431 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10432 if test -n "$GCJ_FOR_TARGET"; then
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10434 $as_echo "$GCJ_FOR_TARGET" >&6; }
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10437 $as_echo "no
" >&6; }
10444 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10445 for ncn_progname in gcj; do
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10447 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10448 if test -x $with_build_time_tools/${ncn_progname}; then
10449 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10451 $as_echo "yes" >&6; }
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10455 $as_echo "no
" >&6; }
10460 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10461 for ncn_progname in gcj; do
10462 if test -n "$ncn_target_tool_prefix"; then
10463 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10464 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10466 $as_echo_n "checking
for $ac_word...
" >&6; }
10467 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10468 $as_echo_n "(cached
) " >&6
10470 if test -n "$GCJ_FOR_TARGET"; then
10471 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10480 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10490 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10491 if test -n "$GCJ_FOR_TARGET"; then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10493 $as_echo "$GCJ_FOR_TARGET" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10496 $as_echo "no
" >&6; }
10501 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10502 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10503 set dummy ${ncn_progname}; ac_word=$2
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10505 $as_echo_n "checking
for $ac_word...
" >&6; }
10506 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10507 $as_echo_n "(cached
) " >&6
10509 if test -n "$GCJ_FOR_TARGET"; then
10510 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10513 for as_dir in $PATH
10516 test -z "$as_dir" && as_dir=.
10517 for ac_exec_ext in '' $ac_executable_extensions; do
10518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10519 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10520 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10529 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10530 if test -n "$GCJ_FOR_TARGET"; then
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10532 $as_echo "$GCJ_FOR_TARGET" >&6; }
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10535 $as_echo "no
" >&6; }
10540 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10544 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10546 if test $build = $target ; then
10547 GCJ_FOR_TARGET="$2"
10549 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10552 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10557 if test -n "$GFORTRAN_FOR_TARGET"; then
10558 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10559 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10560 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10563 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10564 for ncn_progname in gfortran; do
10565 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10566 set dummy ${ncn_progname}; ac_word=$2
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10568 $as_echo_n "checking
for $ac_word...
" >&6; }
10569 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10570 $as_echo_n "(cached
) " >&6
10572 if test -n "$GFORTRAN_FOR_TARGET"; then
10573 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10576 for as_dir in $PATH
10579 test -z "$as_dir" && as_dir=.
10580 for ac_exec_ext in '' $ac_executable_extensions; do
10581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10582 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10583 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10592 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10593 if test -n "$GFORTRAN_FOR_TARGET"; then
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10595 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10598 $as_echo "no
" >&6; }
10605 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10606 for ncn_progname in gfortran; do
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10608 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10609 if test -x $with_build_time_tools/${ncn_progname}; then
10610 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10612 $as_echo "yes" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10616 $as_echo "no
" >&6; }
10621 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10622 for ncn_progname in gfortran; do
10623 if test -n "$ncn_target_tool_prefix"; then
10624 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10625 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10627 $as_echo_n "checking
for $ac_word...
" >&6; }
10628 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10629 $as_echo_n "(cached
) " >&6
10631 if test -n "$GFORTRAN_FOR_TARGET"; then
10632 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10635 for as_dir in $PATH
10638 test -z "$as_dir" && as_dir=.
10639 for ac_exec_ext in '' $ac_executable_extensions; do
10640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10641 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10651 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10652 if test -n "$GFORTRAN_FOR_TARGET"; then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10654 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10657 $as_echo "no
" >&6; }
10662 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10664 set dummy ${ncn_progname}; ac_word=$2
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10666 $as_echo_n "checking
for $ac_word...
" >&6; }
10667 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10668 $as_echo_n "(cached
) " >&6
10670 if test -n "$GFORTRAN_FOR_TARGET"; then
10671 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10674 for as_dir in $PATH
10677 test -z "$as_dir" && as_dir=.
10678 for ac_exec_ext in '' $ac_executable_extensions; do
10679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10680 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10690 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10691 if test -n "$GFORTRAN_FOR_TARGET"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10693 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10696 $as_echo "no
" >&6; }
10701 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10705 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10707 if test $build = $target ; then
10708 GFORTRAN_FOR_TARGET="$2"
10710 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10713 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10718 if test -n "$GOC_FOR_TARGET"; then
10719 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10720 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10721 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10724 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10725 for ncn_progname in gccgo; do
10726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10727 set dummy ${ncn_progname}; ac_word=$2
10728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10729 $as_echo_n "checking
for $ac_word...
" >&6; }
10730 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10731 $as_echo_n "(cached
) " >&6
10733 if test -n "$GOC_FOR_TARGET"; then
10734 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10737 for as_dir in $PATH
10740 test -z "$as_dir" && as_dir=.
10741 for ac_exec_ext in '' $ac_executable_extensions; do
10742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10743 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10753 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10754 if test -n "$GOC_FOR_TARGET"; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10756 $as_echo "$GOC_FOR_TARGET" >&6; }
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10759 $as_echo "no
" >&6; }
10766 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10767 for ncn_progname in gccgo; do
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10769 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10770 if test -x $with_build_time_tools/${ncn_progname}; then
10771 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10773 $as_echo "yes" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10777 $as_echo "no
" >&6; }
10782 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10783 for ncn_progname in gccgo; do
10784 if test -n "$ncn_target_tool_prefix"; then
10785 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10786 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10788 $as_echo_n "checking
for $ac_word...
" >&6; }
10789 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10790 $as_echo_n "(cached
) " >&6
10792 if test -n "$GOC_FOR_TARGET"; then
10793 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $PATH
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10802 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10812 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10813 if test -n "$GOC_FOR_TARGET"; then
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10815 $as_echo "$GOC_FOR_TARGET" >&6; }
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10818 $as_echo "no
" >&6; }
10823 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10825 set dummy ${ncn_progname}; ac_word=$2
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10827 $as_echo_n "checking
for $ac_word...
" >&6; }
10828 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10829 $as_echo_n "(cached
) " >&6
10831 if test -n "$GOC_FOR_TARGET"; then
10832 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10835 for as_dir in $PATH
10838 test -z "$as_dir" && as_dir=.
10839 for ac_exec_ext in '' $ac_executable_extensions; do
10840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10841 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10851 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10852 if test -n "$GOC_FOR_TARGET"; then
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10854 $as_echo "$GOC_FOR_TARGET" >&6; }
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10857 $as_echo "no
" >&6; }
10862 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10866 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10868 if test $build = $target ; then
10869 GOC_FOR_TARGET="$2"
10871 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10874 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10879 cat > conftest.c << \EOF
10884 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10885 have_gcc_for_target=yes
10887 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10888 have_gcc_for_target=no
10895 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10896 if test -n "$with_build_time_tools"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10898 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10899 if test -x $with_build_time_tools/ar; then
10900 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10901 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10903 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10906 $as_echo "no
" >&6; }
10908 elif test $build != $host && test $have_gcc_for_target = yes; then
10909 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10910 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10911 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10914 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10915 # Extract the first word of "ar", so it can be a program name with args.
10916 set dummy ar; ac_word=$2
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10918 $as_echo_n "checking
for $ac_word...
" >&6; }
10919 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10920 $as_echo_n "(cached
) " >&6
10922 case $AR_FOR_TARGET in
10924 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10928 for as_dir in $gcc_cv_tool_dirs
10931 test -z "$as_dir" && as_dir=.
10932 for ac_exec_ext in '' $ac_executable_extensions; do
10933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10934 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10945 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10946 if test -n "$AR_FOR_TARGET"; then
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10948 $as_echo "$AR_FOR_TARGET" >&6; }
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10951 $as_echo "no
" >&6; }
10956 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10959 if test -n "$AR_FOR_TARGET"; then
10960 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10961 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10962 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10965 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10966 for ncn_progname in ar; do
10967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10968 set dummy ${ncn_progname}; ac_word=$2
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10970 $as_echo_n "checking
for $ac_word...
" >&6; }
10971 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10972 $as_echo_n "(cached
) " >&6
10974 if test -n "$AR_FOR_TARGET"; then
10975 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10978 for as_dir in $PATH
10981 test -z "$as_dir" && as_dir=.
10982 for ac_exec_ext in '' $ac_executable_extensions; do
10983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10984 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10994 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10995 if test -n "$AR_FOR_TARGET"; then
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10997 $as_echo "$AR_FOR_TARGET" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11000 $as_echo "no
" >&6; }
11007 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11008 for ncn_progname in ar; do
11009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11010 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11011 if test -x $with_build_time_tools/${ncn_progname}; then
11012 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11014 $as_echo "yes" >&6; }
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11018 $as_echo "no
" >&6; }
11023 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11024 for ncn_progname in ar; do
11025 if test -n "$ncn_target_tool_prefix"; then
11026 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11027 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11029 $as_echo_n "checking
for $ac_word...
" >&6; }
11030 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11031 $as_echo_n "(cached
) " >&6
11033 if test -n "$AR_FOR_TARGET"; then
11034 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11037 for as_dir in $PATH
11040 test -z "$as_dir" && as_dir=.
11041 for ac_exec_ext in '' $ac_executable_extensions; do
11042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11043 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11053 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11054 if test -n "$AR_FOR_TARGET"; then
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11056 $as_echo "$AR_FOR_TARGET" >&6; }
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11059 $as_echo "no
" >&6; }
11064 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11066 set dummy ${ncn_progname}; ac_word=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11068 $as_echo_n "checking
for $ac_word...
" >&6; }
11069 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11070 $as_echo_n "(cached
) " >&6
11072 if test -n "$AR_FOR_TARGET"; then
11073 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11076 for as_dir in $PATH
11079 test -z "$as_dir" && as_dir=.
11080 for ac_exec_ext in '' $ac_executable_extensions; do
11081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11082 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11092 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11093 if test -n "$AR_FOR_TARGET"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11095 $as_echo "$AR_FOR_TARGET" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11098 $as_echo "no
" >&6; }
11103 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11107 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11109 if test $build = $target ; then
11112 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11115 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11119 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11125 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11126 if test -n "$with_build_time_tools"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11128 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11129 if test -x $with_build_time_tools/as; then
11130 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11131 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11133 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11136 $as_echo "no
" >&6; }
11138 elif test $build != $host && test $have_gcc_for_target = yes; then
11139 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11140 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11141 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11144 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11145 # Extract the first word of "as
", so it can be a program name with args.
11146 set dummy as; ac_word=$2
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11148 $as_echo_n "checking
for $ac_word...
" >&6; }
11149 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11150 $as_echo_n "(cached
) " >&6
11152 case $AS_FOR_TARGET in
11154 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $gcc_cv_tool_dirs
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11164 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11175 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11176 if test -n "$AS_FOR_TARGET"; then
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11178 $as_echo "$AS_FOR_TARGET" >&6; }
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11181 $as_echo "no
" >&6; }
11186 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11189 if test -n "$AS_FOR_TARGET"; then
11190 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11191 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11192 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11195 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11196 for ncn_progname in as; do
11197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11198 set dummy ${ncn_progname}; ac_word=$2
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11200 $as_echo_n "checking
for $ac_word...
" >&6; }
11201 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11202 $as_echo_n "(cached
) " >&6
11204 if test -n "$AS_FOR_TARGET"; then
11205 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11208 for as_dir in $PATH
11211 test -z "$as_dir" && as_dir=.
11212 for ac_exec_ext in '' $ac_executable_extensions; do
11213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11214 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11224 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11225 if test -n "$AS_FOR_TARGET"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11227 $as_echo "$AS_FOR_TARGET" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11230 $as_echo "no
" >&6; }
11237 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11238 for ncn_progname in as; do
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11240 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11241 if test -x $with_build_time_tools/${ncn_progname}; then
11242 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11244 $as_echo "yes" >&6; }
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11248 $as_echo "no
" >&6; }
11253 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11254 for ncn_progname in as; do
11255 if test -n "$ncn_target_tool_prefix"; then
11256 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11257 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11259 $as_echo_n "checking
for $ac_word...
" >&6; }
11260 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11261 $as_echo_n "(cached
) " >&6
11263 if test -n "$AS_FOR_TARGET"; then
11264 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11267 for as_dir in $PATH
11270 test -z "$as_dir" && as_dir=.
11271 for ac_exec_ext in '' $ac_executable_extensions; do
11272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11273 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11283 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11284 if test -n "$AS_FOR_TARGET"; then
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11286 $as_echo "$AS_FOR_TARGET" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11289 $as_echo "no
" >&6; }
11294 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11296 set dummy ${ncn_progname}; ac_word=$2
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11298 $as_echo_n "checking
for $ac_word...
" >&6; }
11299 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11300 $as_echo_n "(cached
) " >&6
11302 if test -n "$AS_FOR_TARGET"; then
11303 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11306 for as_dir in $PATH
11309 test -z "$as_dir" && as_dir=.
11310 for ac_exec_ext in '' $ac_executable_extensions; do
11311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11312 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11322 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11323 if test -n "$AS_FOR_TARGET"; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11325 $as_echo "$AS_FOR_TARGET" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11328 $as_echo "no
" >&6; }
11333 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11337 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11339 if test $build = $target ; then
11342 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11345 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11349 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11355 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11356 if test -n "$with_build_time_tools"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11358 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11359 if test -x $with_build_time_tools/dlltool; then
11360 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11361 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11363 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11366 $as_echo "no
" >&6; }
11368 elif test $build != $host && test $have_gcc_for_target = yes; then
11369 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11370 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11371 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11374 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11375 # Extract the first word of "dlltool
", so it can be a program name with args.
11376 set dummy dlltool; ac_word=$2
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11378 $as_echo_n "checking
for $ac_word...
" >&6; }
11379 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11380 $as_echo_n "(cached
) " >&6
11382 case $DLLTOOL_FOR_TARGET in
11384 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11388 for as_dir in $gcc_cv_tool_dirs
11391 test -z "$as_dir" && as_dir=.
11392 for ac_exec_ext in '' $ac_executable_extensions; do
11393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11394 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11405 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11406 if test -n "$DLLTOOL_FOR_TARGET"; then
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11408 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11411 $as_echo "no
" >&6; }
11416 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11419 if test -n "$DLLTOOL_FOR_TARGET"; then
11420 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11421 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11422 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11425 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11426 for ncn_progname in dlltool; do
11427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11428 set dummy ${ncn_progname}; ac_word=$2
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11430 $as_echo_n "checking
for $ac_word...
" >&6; }
11431 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11432 $as_echo_n "(cached
) " >&6
11434 if test -n "$DLLTOOL_FOR_TARGET"; then
11435 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11438 for as_dir in $PATH
11441 test -z "$as_dir" && as_dir=.
11442 for ac_exec_ext in '' $ac_executable_extensions; do
11443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11444 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11454 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11455 if test -n "$DLLTOOL_FOR_TARGET"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11457 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11460 $as_echo "no
" >&6; }
11467 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11468 for ncn_progname in dlltool; do
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11471 if test -x $with_build_time_tools/${ncn_progname}; then
11472 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11474 $as_echo "yes" >&6; }
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11478 $as_echo "no
" >&6; }
11483 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11484 for ncn_progname in dlltool; do
11485 if test -n "$ncn_target_tool_prefix"; then
11486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11489 $as_echo_n "checking
for $ac_word...
" >&6; }
11490 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11491 $as_echo_n "(cached
) " >&6
11493 if test -n "$DLLTOOL_FOR_TARGET"; then
11494 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11497 for as_dir in $PATH
11500 test -z "$as_dir" && as_dir=.
11501 for ac_exec_ext in '' $ac_executable_extensions; do
11502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11503 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11513 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11514 if test -n "$DLLTOOL_FOR_TARGET"; then
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11516 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11519 $as_echo "no
" >&6; }
11524 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11526 set dummy ${ncn_progname}; ac_word=$2
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11528 $as_echo_n "checking
for $ac_word...
" >&6; }
11529 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11530 $as_echo_n "(cached
) " >&6
11532 if test -n "$DLLTOOL_FOR_TARGET"; then
11533 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11536 for as_dir in $PATH
11539 test -z "$as_dir" && as_dir=.
11540 for ac_exec_ext in '' $ac_executable_extensions; do
11541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11542 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11552 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11553 if test -n "$DLLTOOL_FOR_TARGET"; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11555 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11558 $as_echo "no
" >&6; }
11563 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11567 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11569 if test $build = $target ; then
11570 DLLTOOL_FOR_TARGET="$2"
11572 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11575 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11579 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11585 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11586 if test -n "$with_build_time_tools"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11588 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11589 if test -x $with_build_time_tools/ld; then
11590 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11591 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11593 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11596 $as_echo "no
" >&6; }
11598 elif test $build != $host && test $have_gcc_for_target = yes; then
11599 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11600 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11601 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11604 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11605 # Extract the first word of "ld
", so it can be a program name with args.
11606 set dummy ld; ac_word=$2
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11608 $as_echo_n "checking
for $ac_word...
" >&6; }
11609 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11610 $as_echo_n "(cached
) " >&6
11612 case $LD_FOR_TARGET in
11614 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $gcc_cv_tool_dirs
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11624 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11635 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11636 if test -n "$LD_FOR_TARGET"; then
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11638 $as_echo "$LD_FOR_TARGET" >&6; }
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11641 $as_echo "no
" >&6; }
11646 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11649 if test -n "$LD_FOR_TARGET"; then
11650 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11651 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11652 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11655 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11656 for ncn_progname in ld; do
11657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11658 set dummy ${ncn_progname}; ac_word=$2
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11660 $as_echo_n "checking
for $ac_word...
" >&6; }
11661 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11662 $as_echo_n "(cached
) " >&6
11664 if test -n "$LD_FOR_TARGET"; then
11665 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11674 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11684 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11685 if test -n "$LD_FOR_TARGET"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11687 $as_echo "$LD_FOR_TARGET" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11690 $as_echo "no
" >&6; }
11697 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11698 for ncn_progname in ld; do
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11700 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11701 if test -x $with_build_time_tools/${ncn_progname}; then
11702 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11704 $as_echo "yes" >&6; }
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11708 $as_echo "no
" >&6; }
11713 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11714 for ncn_progname in ld; do
11715 if test -n "$ncn_target_tool_prefix"; then
11716 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11717 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11719 $as_echo_n "checking
for $ac_word...
" >&6; }
11720 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11721 $as_echo_n "(cached
) " >&6
11723 if test -n "$LD_FOR_TARGET"; then
11724 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11727 for as_dir in $PATH
11730 test -z "$as_dir" && as_dir=.
11731 for ac_exec_ext in '' $ac_executable_extensions; do
11732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11733 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11743 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11744 if test -n "$LD_FOR_TARGET"; then
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11746 $as_echo "$LD_FOR_TARGET" >&6; }
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11749 $as_echo "no
" >&6; }
11754 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11756 set dummy ${ncn_progname}; ac_word=$2
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11758 $as_echo_n "checking
for $ac_word...
" >&6; }
11759 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11760 $as_echo_n "(cached
) " >&6
11762 if test -n "$LD_FOR_TARGET"; then
11763 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11769 test -z "$as_dir" && as_dir=.
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11772 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11782 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11783 if test -n "$LD_FOR_TARGET"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11785 $as_echo "$LD_FOR_TARGET" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11788 $as_echo "no
" >&6; }
11793 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11797 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11799 if test $build = $target ; then
11802 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11805 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11809 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11815 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11816 if test -n "$with_build_time_tools"; then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11818 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11819 if test -x $with_build_time_tools/lipo; then
11820 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11821 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11823 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11826 $as_echo "no
" >&6; }
11828 elif test $build != $host && test $have_gcc_for_target = yes; then
11829 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11830 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11831 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11834 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11835 # Extract the first word of "lipo
", so it can be a program name with args.
11836 set dummy lipo; ac_word=$2
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11838 $as_echo_n "checking
for $ac_word...
" >&6; }
11839 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11840 $as_echo_n "(cached
) " >&6
11842 case $LIPO_FOR_TARGET in
11844 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11848 for as_dir in $gcc_cv_tool_dirs
11851 test -z "$as_dir" && as_dir=.
11852 for ac_exec_ext in '' $ac_executable_extensions; do
11853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11854 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11865 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11866 if test -n "$LIPO_FOR_TARGET"; then
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11868 $as_echo "$LIPO_FOR_TARGET" >&6; }
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11871 $as_echo "no
" >&6; }
11876 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11879 if test -n "$LIPO_FOR_TARGET"; then
11880 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11881 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11882 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11885 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11886 for ncn_progname in lipo; do
11887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11888 set dummy ${ncn_progname}; ac_word=$2
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11890 $as_echo_n "checking
for $ac_word...
" >&6; }
11891 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11892 $as_echo_n "(cached
) " >&6
11894 if test -n "$LIPO_FOR_TARGET"; then
11895 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11898 for as_dir in $PATH
11901 test -z "$as_dir" && as_dir=.
11902 for ac_exec_ext in '' $ac_executable_extensions; do
11903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11904 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11914 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11915 if test -n "$LIPO_FOR_TARGET"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11917 $as_echo "$LIPO_FOR_TARGET" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11920 $as_echo "no
" >&6; }
11927 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11928 for ncn_progname in lipo; do
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11930 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11931 if test -x $with_build_time_tools/${ncn_progname}; then
11932 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11934 $as_echo "yes" >&6; }
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11938 $as_echo "no
" >&6; }
11943 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11944 for ncn_progname in lipo; do
11945 if test -n "$ncn_target_tool_prefix"; then
11946 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11947 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11949 $as_echo_n "checking
for $ac_word...
" >&6; }
11950 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11951 $as_echo_n "(cached
) " >&6
11953 if test -n "$LIPO_FOR_TARGET"; then
11954 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $PATH
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11963 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11973 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11974 if test -n "$LIPO_FOR_TARGET"; then
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11976 $as_echo "$LIPO_FOR_TARGET" >&6; }
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11979 $as_echo "no
" >&6; }
11984 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11986 set dummy ${ncn_progname}; ac_word=$2
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11988 $as_echo_n "checking
for $ac_word...
" >&6; }
11989 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11990 $as_echo_n "(cached
) " >&6
11992 if test -n "$LIPO_FOR_TARGET"; then
11993 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11996 for as_dir in $PATH
11999 test -z "$as_dir" && as_dir=.
12000 for ac_exec_ext in '' $ac_executable_extensions; do
12001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12002 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12012 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12013 if test -n "$LIPO_FOR_TARGET"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12015 $as_echo "$LIPO_FOR_TARGET" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12018 $as_echo "no
" >&6; }
12023 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12027 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12029 if test $build = $target ; then
12030 LIPO_FOR_TARGET="$2"
12032 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12035 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12039 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12045 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12046 if test -n "$with_build_time_tools"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12048 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12049 if test -x $with_build_time_tools/nm; then
12050 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12051 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12053 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12056 $as_echo "no
" >&6; }
12058 elif test $build != $host && test $have_gcc_for_target = yes; then
12059 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12060 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12061 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12064 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12065 # Extract the first word of "nm
", so it can be a program name with args.
12066 set dummy nm; ac_word=$2
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12068 $as_echo_n "checking
for $ac_word...
" >&6; }
12069 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12070 $as_echo_n "(cached
) " >&6
12072 case $NM_FOR_TARGET in
12074 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $gcc_cv_tool_dirs
12081 test -z "$as_dir" && as_dir=.
12082 for ac_exec_ext in '' $ac_executable_extensions; do
12083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12084 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12095 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12096 if test -n "$NM_FOR_TARGET"; then
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12098 $as_echo "$NM_FOR_TARGET" >&6; }
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12101 $as_echo "no
" >&6; }
12106 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12109 if test -n "$NM_FOR_TARGET"; then
12110 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12111 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12112 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12115 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12116 for ncn_progname in nm; do
12117 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12118 set dummy ${ncn_progname}; ac_word=$2
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12120 $as_echo_n "checking
for $ac_word...
" >&6; }
12121 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12122 $as_echo_n "(cached
) " >&6
12124 if test -n "$NM_FOR_TARGET"; then
12125 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128 for as_dir in $PATH
12131 test -z "$as_dir" && as_dir=.
12132 for ac_exec_ext in '' $ac_executable_extensions; do
12133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12135 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12144 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12145 if test -n "$NM_FOR_TARGET"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12147 $as_echo "$NM_FOR_TARGET" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12150 $as_echo "no
" >&6; }
12157 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12158 for ncn_progname in nm; do
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12160 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12161 if test -x $with_build_time_tools/${ncn_progname}; then
12162 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12164 $as_echo "yes" >&6; }
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12168 $as_echo "no
" >&6; }
12173 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12174 for ncn_progname in nm; do
12175 if test -n "$ncn_target_tool_prefix"; then
12176 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12177 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12179 $as_echo_n "checking
for $ac_word...
" >&6; }
12180 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12181 $as_echo_n "(cached
) " >&6
12183 if test -n "$NM_FOR_TARGET"; then
12184 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187 for as_dir in $PATH
12190 test -z "$as_dir" && as_dir=.
12191 for ac_exec_ext in '' $ac_executable_extensions; do
12192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12193 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12203 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12204 if test -n "$NM_FOR_TARGET"; then
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12206 $as_echo "$NM_FOR_TARGET" >&6; }
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12209 $as_echo "no
" >&6; }
12214 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12216 set dummy ${ncn_progname}; ac_word=$2
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12218 $as_echo_n "checking
for $ac_word...
" >&6; }
12219 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12220 $as_echo_n "(cached
) " >&6
12222 if test -n "$NM_FOR_TARGET"; then
12223 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12226 for as_dir in $PATH
12229 test -z "$as_dir" && as_dir=.
12230 for ac_exec_ext in '' $ac_executable_extensions; do
12231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12232 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12242 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12243 if test -n "$NM_FOR_TARGET"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12245 $as_echo "$NM_FOR_TARGET" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12248 $as_echo "no
" >&6; }
12253 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12257 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12259 if test $build = $target ; then
12262 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12265 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12269 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12275 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12276 if test -n "$with_build_time_tools"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12278 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12279 if test -x $with_build_time_tools/objdump; then
12280 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12281 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12283 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12286 $as_echo "no
" >&6; }
12288 elif test $build != $host && test $have_gcc_for_target = yes; then
12289 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12290 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12291 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12294 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12295 # Extract the first word of "objdump
", so it can be a program name with args.
12296 set dummy objdump; ac_word=$2
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12298 $as_echo_n "checking
for $ac_word...
" >&6; }
12299 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12300 $as_echo_n "(cached
) " >&6
12302 case $OBJDUMP_FOR_TARGET in
12304 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12308 for as_dir in $gcc_cv_tool_dirs
12311 test -z "$as_dir" && as_dir=.
12312 for ac_exec_ext in '' $ac_executable_extensions; do
12313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12314 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12325 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12326 if test -n "$OBJDUMP_FOR_TARGET"; then
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12328 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12331 $as_echo "no
" >&6; }
12336 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12339 if test -n "$OBJDUMP_FOR_TARGET"; then
12340 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12341 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12342 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12345 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12346 for ncn_progname in objdump; do
12347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12348 set dummy ${ncn_progname}; ac_word=$2
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12350 $as_echo_n "checking
for $ac_word...
" >&6; }
12351 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12352 $as_echo_n "(cached
) " >&6
12354 if test -n "$OBJDUMP_FOR_TARGET"; then
12355 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12358 for as_dir in $PATH
12361 test -z "$as_dir" && as_dir=.
12362 for ac_exec_ext in '' $ac_executable_extensions; do
12363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12364 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12374 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12375 if test -n "$OBJDUMP_FOR_TARGET"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12377 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12380 $as_echo "no
" >&6; }
12387 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12388 for ncn_progname in objdump; do
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12390 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12391 if test -x $with_build_time_tools/${ncn_progname}; then
12392 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12394 $as_echo "yes" >&6; }
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12398 $as_echo "no
" >&6; }
12403 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12404 for ncn_progname in objdump; do
12405 if test -n "$ncn_target_tool_prefix"; then
12406 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12407 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12409 $as_echo_n "checking
for $ac_word...
" >&6; }
12410 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12411 $as_echo_n "(cached
) " >&6
12413 if test -n "$OBJDUMP_FOR_TARGET"; then
12414 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12417 for as_dir in $PATH
12420 test -z "$as_dir" && as_dir=.
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12423 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12433 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12434 if test -n "$OBJDUMP_FOR_TARGET"; then
12435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12436 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12439 $as_echo "no
" >&6; }
12444 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12445 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12446 set dummy ${ncn_progname}; ac_word=$2
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12448 $as_echo_n "checking
for $ac_word...
" >&6; }
12449 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12450 $as_echo_n "(cached
) " >&6
12452 if test -n "$OBJDUMP_FOR_TARGET"; then
12453 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12456 for as_dir in $PATH
12459 test -z "$as_dir" && as_dir=.
12460 for ac_exec_ext in '' $ac_executable_extensions; do
12461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12462 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12472 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12473 if test -n "$OBJDUMP_FOR_TARGET"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12475 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12478 $as_echo "no
" >&6; }
12483 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12487 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12489 if test $build = $target ; then
12490 OBJDUMP_FOR_TARGET="$2"
12492 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12495 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12499 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12505 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12506 if test -n "$with_build_time_tools"; then
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12508 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12509 if test -x $with_build_time_tools/ranlib; then
12510 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12511 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12513 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12516 $as_echo "no
" >&6; }
12518 elif test $build != $host && test $have_gcc_for_target = yes; then
12519 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12520 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12521 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12524 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12525 # Extract the first word of "ranlib
", so it can be a program name with args.
12526 set dummy ranlib; ac_word=$2
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12528 $as_echo_n "checking
for $ac_word...
" >&6; }
12529 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12530 $as_echo_n "(cached
) " >&6
12532 case $RANLIB_FOR_TARGET in
12534 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $gcc_cv_tool_dirs
12541 test -z "$as_dir" && as_dir=.
12542 for ac_exec_ext in '' $ac_executable_extensions; do
12543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12544 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12555 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12556 if test -n "$RANLIB_FOR_TARGET"; then
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12558 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12561 $as_echo "no
" >&6; }
12566 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12569 if test -n "$RANLIB_FOR_TARGET"; then
12570 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12571 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12572 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12575 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12576 for ncn_progname in ranlib; do
12577 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12578 set dummy ${ncn_progname}; ac_word=$2
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12580 $as_echo_n "checking
for $ac_word...
" >&6; }
12581 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12582 $as_echo_n "(cached
) " >&6
12584 if test -n "$RANLIB_FOR_TARGET"; then
12585 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12588 for as_dir in $PATH
12591 test -z "$as_dir" && as_dir=.
12592 for ac_exec_ext in '' $ac_executable_extensions; do
12593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12594 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12595 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12604 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12605 if test -n "$RANLIB_FOR_TARGET"; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12607 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12610 $as_echo "no
" >&6; }
12617 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12618 for ncn_progname in ranlib; do
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12620 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12621 if test -x $with_build_time_tools/${ncn_progname}; then
12622 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12624 $as_echo "yes" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12628 $as_echo "no
" >&6; }
12633 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12634 for ncn_progname in ranlib; do
12635 if test -n "$ncn_target_tool_prefix"; then
12636 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12637 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12639 $as_echo_n "checking
for $ac_word...
" >&6; }
12640 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12641 $as_echo_n "(cached
) " >&6
12643 if test -n "$RANLIB_FOR_TARGET"; then
12644 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12647 for as_dir in $PATH
12650 test -z "$as_dir" && as_dir=.
12651 for ac_exec_ext in '' $ac_executable_extensions; do
12652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12653 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12663 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12664 if test -n "$RANLIB_FOR_TARGET"; then
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12666 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12669 $as_echo "no
" >&6; }
12674 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12675 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12676 set dummy ${ncn_progname}; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12678 $as_echo_n "checking
for $ac_word...
" >&6; }
12679 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12680 $as_echo_n "(cached
) " >&6
12682 if test -n "$RANLIB_FOR_TARGET"; then
12683 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12686 for as_dir in $PATH
12689 test -z "$as_dir" && as_dir=.
12690 for ac_exec_ext in '' $ac_executable_extensions; do
12691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12692 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12702 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12703 if test -n "$RANLIB_FOR_TARGET"; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12705 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12708 $as_echo "no
" >&6; }
12713 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12717 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12719 if test $build = $target ; then
12720 RANLIB_FOR_TARGET="$2"
12722 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12725 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12729 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12735 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12736 if test -n "$with_build_time_tools"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12738 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12739 if test -x $with_build_time_tools/readelf; then
12740 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12741 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12743 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12746 $as_echo "no
" >&6; }
12748 elif test $build != $host && test $have_gcc_for_target = yes; then
12749 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12750 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12751 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12754 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12755 # Extract the first word of "readelf
", so it can be a program name with args.
12756 set dummy readelf; ac_word=$2
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12758 $as_echo_n "checking
for $ac_word...
" >&6; }
12759 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12760 $as_echo_n "(cached
) " >&6
12762 case $READELF_FOR_TARGET in
12764 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12768 for as_dir in $gcc_cv_tool_dirs
12771 test -z "$as_dir" && as_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12774 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12785 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12786 if test -n "$READELF_FOR_TARGET"; then
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12788 $as_echo "$READELF_FOR_TARGET" >&6; }
12790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12791 $as_echo "no
" >&6; }
12796 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12799 if test -n "$READELF_FOR_TARGET"; then
12800 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12801 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12802 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12805 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12806 for ncn_progname in readelf; do
12807 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12808 set dummy ${ncn_progname}; ac_word=$2
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12810 $as_echo_n "checking
for $ac_word...
" >&6; }
12811 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12812 $as_echo_n "(cached
) " >&6
12814 if test -n "$READELF_FOR_TARGET"; then
12815 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12818 for as_dir in $PATH
12821 test -z "$as_dir" && as_dir=.
12822 for ac_exec_ext in '' $ac_executable_extensions; do
12823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12824 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12825 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12834 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12835 if test -n "$READELF_FOR_TARGET"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12837 $as_echo "$READELF_FOR_TARGET" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12840 $as_echo "no
" >&6; }
12847 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12848 for ncn_progname in readelf; do
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12850 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12851 if test -x $with_build_time_tools/${ncn_progname}; then
12852 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12854 $as_echo "yes" >&6; }
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12858 $as_echo "no
" >&6; }
12863 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12864 for ncn_progname in readelf; do
12865 if test -n "$ncn_target_tool_prefix"; then
12866 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12867 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12869 $as_echo_n "checking
for $ac_word...
" >&6; }
12870 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12871 $as_echo_n "(cached
) " >&6
12873 if test -n "$READELF_FOR_TARGET"; then
12874 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877 for as_dir in $PATH
12880 test -z "$as_dir" && as_dir=.
12881 for ac_exec_ext in '' $ac_executable_extensions; do
12882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12893 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12894 if test -n "$READELF_FOR_TARGET"; then
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12896 $as_echo "$READELF_FOR_TARGET" >&6; }
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12899 $as_echo "no
" >&6; }
12904 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12906 set dummy ${ncn_progname}; ac_word=$2
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12908 $as_echo_n "checking
for $ac_word...
" >&6; }
12909 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12910 $as_echo_n "(cached
) " >&6
12912 if test -n "$READELF_FOR_TARGET"; then
12913 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12916 for as_dir in $PATH
12919 test -z "$as_dir" && as_dir=.
12920 for ac_exec_ext in '' $ac_executable_extensions; do
12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12922 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12932 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12933 if test -n "$READELF_FOR_TARGET"; then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12935 $as_echo "$READELF_FOR_TARGET" >&6; }
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12938 $as_echo "no
" >&6; }
12943 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12947 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12949 if test $build = $target ; then
12950 READELF_FOR_TARGET="$2"
12952 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12955 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12959 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12965 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12966 if test -n "$with_build_time_tools"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12968 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12969 if test -x $with_build_time_tools/strip; then
12970 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12971 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12973 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12976 $as_echo "no
" >&6; }
12978 elif test $build != $host && test $have_gcc_for_target = yes; then
12979 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12980 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12981 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12984 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12985 # Extract the first word of "strip
", so it can be a program name with args.
12986 set dummy strip; ac_word=$2
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12988 $as_echo_n "checking
for $ac_word...
" >&6; }
12989 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12990 $as_echo_n "(cached
) " >&6
12992 case $STRIP_FOR_TARGET in
12994 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12998 for as_dir in $gcc_cv_tool_dirs
13001 test -z "$as_dir" && as_dir=.
13002 for ac_exec_ext in '' $ac_executable_extensions; do
13003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13004 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13015 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13016 if test -n "$STRIP_FOR_TARGET"; then
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13018 $as_echo "$STRIP_FOR_TARGET" >&6; }
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13021 $as_echo "no
" >&6; }
13026 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13029 if test -n "$STRIP_FOR_TARGET"; then
13030 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13031 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13032 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13035 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13036 for ncn_progname in strip; do
13037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13038 set dummy ${ncn_progname}; ac_word=$2
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13040 $as_echo_n "checking
for $ac_word...
" >&6; }
13041 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13042 $as_echo_n "(cached
) " >&6
13044 if test -n "$STRIP_FOR_TARGET"; then
13045 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
13051 test -z "$as_dir" && as_dir=.
13052 for ac_exec_ext in '' $ac_executable_extensions; do
13053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13054 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13064 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13065 if test -n "$STRIP_FOR_TARGET"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13067 $as_echo "$STRIP_FOR_TARGET" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13070 $as_echo "no
" >&6; }
13077 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13078 for ncn_progname in strip; do
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13080 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13081 if test -x $with_build_time_tools/${ncn_progname}; then
13082 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13084 $as_echo "yes" >&6; }
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13088 $as_echo "no
" >&6; }
13093 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13094 for ncn_progname in strip; do
13095 if test -n "$ncn_target_tool_prefix"; then
13096 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13099 $as_echo_n "checking
for $ac_word...
" >&6; }
13100 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13101 $as_echo_n "(cached
) " >&6
13103 if test -n "$STRIP_FOR_TARGET"; then
13104 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13107 for as_dir in $PATH
13110 test -z "$as_dir" && as_dir=.
13111 for ac_exec_ext in '' $ac_executable_extensions; do
13112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13113 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13123 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13124 if test -n "$STRIP_FOR_TARGET"; then
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13126 $as_echo "$STRIP_FOR_TARGET" >&6; }
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13129 $as_echo "no
" >&6; }
13134 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13136 set dummy ${ncn_progname}; ac_word=$2
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13138 $as_echo_n "checking
for $ac_word...
" >&6; }
13139 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13140 $as_echo_n "(cached
) " >&6
13142 if test -n "$STRIP_FOR_TARGET"; then
13143 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13146 for as_dir in $PATH
13149 test -z "$as_dir" && as_dir=.
13150 for ac_exec_ext in '' $ac_executable_extensions; do
13151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13152 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13162 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13163 if test -n "$STRIP_FOR_TARGET"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13165 $as_echo "$STRIP_FOR_TARGET" >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13168 $as_echo "no
" >&6; }
13173 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13177 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13179 if test $build = $target ; then
13180 STRIP_FOR_TARGET="$2"
13182 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13185 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13189 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13195 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13196 if test -n "$with_build_time_tools"; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13198 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13199 if test -x $with_build_time_tools/windres; then
13200 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13201 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13203 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13206 $as_echo "no
" >&6; }
13208 elif test $build != $host && test $have_gcc_for_target = yes; then
13209 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13210 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13211 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13214 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13215 # Extract the first word of "windres
", so it can be a program name with args.
13216 set dummy windres; ac_word=$2
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13218 $as_echo_n "checking
for $ac_word...
" >&6; }
13219 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13220 $as_echo_n "(cached
) " >&6
13222 case $WINDRES_FOR_TARGET in
13224 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13228 for as_dir in $gcc_cv_tool_dirs
13231 test -z "$as_dir" && as_dir=.
13232 for ac_exec_ext in '' $ac_executable_extensions; do
13233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13234 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13245 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13246 if test -n "$WINDRES_FOR_TARGET"; then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13248 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13251 $as_echo "no
" >&6; }
13256 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13259 if test -n "$WINDRES_FOR_TARGET"; then
13260 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13261 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13262 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13265 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13266 for ncn_progname in windres; do
13267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13268 set dummy ${ncn_progname}; ac_word=$2
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13270 $as_echo_n "checking
for $ac_word...
" >&6; }
13271 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13272 $as_echo_n "(cached
) " >&6
13274 if test -n "$WINDRES_FOR_TARGET"; then
13275 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $PATH
13281 test -z "$as_dir" && as_dir=.
13282 for ac_exec_ext in '' $ac_executable_extensions; do
13283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13284 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13294 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13295 if test -n "$WINDRES_FOR_TARGET"; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13297 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13300 $as_echo "no
" >&6; }
13307 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13308 for ncn_progname in windres; do
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13310 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13311 if test -x $with_build_time_tools/${ncn_progname}; then
13312 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13314 $as_echo "yes" >&6; }
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13318 $as_echo "no
" >&6; }
13323 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13324 for ncn_progname in windres; do
13325 if test -n "$ncn_target_tool_prefix"; then
13326 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13327 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13329 $as_echo_n "checking
for $ac_word...
" >&6; }
13330 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13331 $as_echo_n "(cached
) " >&6
13333 if test -n "$WINDRES_FOR_TARGET"; then
13334 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13337 for as_dir in $PATH
13340 test -z "$as_dir" && as_dir=.
13341 for ac_exec_ext in '' $ac_executable_extensions; do
13342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13343 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13353 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13354 if test -n "$WINDRES_FOR_TARGET"; then
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13356 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13359 $as_echo "no
" >&6; }
13364 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13366 set dummy ${ncn_progname}; ac_word=$2
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13368 $as_echo_n "checking
for $ac_word...
" >&6; }
13369 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13370 $as_echo_n "(cached
) " >&6
13372 if test -n "$WINDRES_FOR_TARGET"; then
13373 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13376 for as_dir in $PATH
13379 test -z "$as_dir" && as_dir=.
13380 for ac_exec_ext in '' $ac_executable_extensions; do
13381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13382 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13392 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13393 if test -n "$WINDRES_FOR_TARGET"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13395 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13398 $as_echo "no
" >&6; }
13403 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13407 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13409 if test $build = $target ; then
13410 WINDRES_FOR_TARGET="$2"
13412 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13415 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13419 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13425 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13426 if test -n "$with_build_time_tools"; then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13428 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13429 if test -x $with_build_time_tools/windmc; then
13430 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13431 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13433 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13436 $as_echo "no
" >&6; }
13438 elif test $build != $host && test $have_gcc_for_target = yes; then
13439 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13440 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13441 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13444 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13445 # Extract the first word of "windmc
", so it can be a program name with args.
13446 set dummy windmc; ac_word=$2
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13448 $as_echo_n "checking
for $ac_word...
" >&6; }
13449 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13450 $as_echo_n "(cached
) " >&6
13452 case $WINDMC_FOR_TARGET in
13454 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13458 for as_dir in $gcc_cv_tool_dirs
13461 test -z "$as_dir" && as_dir=.
13462 for ac_exec_ext in '' $ac_executable_extensions; do
13463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13464 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13475 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13476 if test -n "$WINDMC_FOR_TARGET"; then
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13478 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13481 $as_echo "no
" >&6; }
13486 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13489 if test -n "$WINDMC_FOR_TARGET"; then
13490 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13491 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13492 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13495 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13496 for ncn_progname in windmc; do
13497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13498 set dummy ${ncn_progname}; ac_word=$2
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13500 $as_echo_n "checking
for $ac_word...
" >&6; }
13501 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13502 $as_echo_n "(cached
) " >&6
13504 if test -n "$WINDMC_FOR_TARGET"; then
13505 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13508 for as_dir in $PATH
13511 test -z "$as_dir" && as_dir=.
13512 for ac_exec_ext in '' $ac_executable_extensions; do
13513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13514 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13524 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13525 if test -n "$WINDMC_FOR_TARGET"; then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13527 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13530 $as_echo "no
" >&6; }
13537 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13538 for ncn_progname in windmc; do
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13540 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13541 if test -x $with_build_time_tools/${ncn_progname}; then
13542 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13544 $as_echo "yes" >&6; }
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13548 $as_echo "no
" >&6; }
13553 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13554 for ncn_progname in windmc; do
13555 if test -n "$ncn_target_tool_prefix"; then
13556 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13557 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13559 $as_echo_n "checking
for $ac_word...
" >&6; }
13560 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13561 $as_echo_n "(cached
) " >&6
13563 if test -n "$WINDMC_FOR_TARGET"; then
13564 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567 for as_dir in $PATH
13570 test -z "$as_dir" && as_dir=.
13571 for ac_exec_ext in '' $ac_executable_extensions; do
13572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13573 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13583 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13584 if test -n "$WINDMC_FOR_TARGET"; then
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13586 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13589 $as_echo "no
" >&6; }
13594 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13596 set dummy ${ncn_progname}; ac_word=$2
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13598 $as_echo_n "checking
for $ac_word...
" >&6; }
13599 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13600 $as_echo_n "(cached
) " >&6
13602 if test -n "$WINDMC_FOR_TARGET"; then
13603 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13606 for as_dir in $PATH
13609 test -z "$as_dir" && as_dir=.
13610 for ac_exec_ext in '' $ac_executable_extensions; do
13611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13612 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13622 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13623 if test -n "$WINDMC_FOR_TARGET"; then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13625 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13628 $as_echo "no
" >&6; }
13633 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13637 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13639 if test $build = $target ; then
13640 WINDMC_FOR_TARGET="$2"
13642 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13645 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13649 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13653 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13656 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13657 if test "x
${build}" != "x
${host}" ; then
13658 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13659 # We already found the complete path
13660 ac_dir=`dirname $AR_FOR_TARGET`
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13662 $as_echo "pre-installed
in $ac_dir" >&6; }
13664 # Canadian cross, just use what we found
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13666 $as_echo "pre-installed
" >&6; }
13670 case " ${configdirs} " in
13675 if test $ok = yes; then
13676 # An in-tree tool is available and we can use it
13677 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13679 $as_echo "just compiled
" >&6; }
13680 elif 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; }
13685 elif test "x
$target" = "x
$host"; then
13686 # We can use an host tool
13687 AR_FOR_TARGET='$(AR)'
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13689 $as_echo "host tool
" >&6; }
13691 # We need a cross tool
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13693 $as_echo "pre-installed
" >&6; }
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13698 $as_echo_n "checking where to
find the target as...
" >&6; }
13699 if test "x
${build}" != "x
${host}" ; then
13700 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13701 # We already found the complete path
13702 ac_dir=`dirname $AS_FOR_TARGET`
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13704 $as_echo "pre-installed
in $ac_dir" >&6; }
13706 # Canadian cross, just use what we found
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13708 $as_echo "pre-installed
" >&6; }
13712 case " ${configdirs} " in
13717 if test $ok = yes; then
13718 # An in-tree tool is available and we can use it
13719 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13721 $as_echo "just compiled
" >&6; }
13722 elif 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; }
13727 elif test "x
$target" = "x
$host"; then
13728 # We can use an host tool
13729 AS_FOR_TARGET='$(AS)'
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13731 $as_echo "host tool
" >&6; }
13733 # We need a cross tool
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13735 $as_echo "pre-installed
" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13740 $as_echo_n "checking where to
find the target cc...
" >&6; }
13741 if test "x
${build}" != "x
${host}" ; then
13742 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13743 # We already found the complete path
13744 ac_dir=`dirname $CC_FOR_TARGET`
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13746 $as_echo "pre-installed
in $ac_dir" >&6; }
13748 # Canadian cross, just use what we found
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13750 $as_echo "pre-installed
" >&6; }
13754 case " ${configdirs} " in
13759 if test $ok = yes; then
13760 # An in-tree tool is available and we can use it
13761 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13763 $as_echo "just compiled
" >&6; }
13764 elif 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; }
13769 elif test "x
$target" = "x
$host"; then
13770 # We can use an host tool
13771 CC_FOR_TARGET='$(CC)'
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13773 $as_echo "host tool
" >&6; }
13775 # We need a cross tool
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13777 $as_echo "pre-installed
" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13782 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13783 if test "x
${build}" != "x
${host}" ; then
13784 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13785 # We already found the complete path
13786 ac_dir=`dirname $CXX_FOR_TARGET`
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13788 $as_echo "pre-installed
in $ac_dir" >&6; }
13790 # Canadian cross, just use what we found
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13792 $as_echo "pre-installed
" >&6; }
13796 case " ${configdirs} " in
13800 case ,${enable_languages}, in
13804 if test $ok = yes; then
13805 # An in-tree tool is available and we can use it
13806 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'
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13808 $as_echo "just compiled
" >&6; }
13809 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13810 # We already found the complete path
13811 ac_dir=`dirname $CXX_FOR_TARGET`
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13813 $as_echo "pre-installed
in $ac_dir" >&6; }
13814 elif test "x
$target" = "x
$host"; then
13815 # We can use an host tool
13816 CXX_FOR_TARGET='$(CXX)'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13818 $as_echo "host tool
" >&6; }
13820 # We need a cross tool
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13822 $as_echo "pre-installed
" >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13827 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13828 if test "x
${build}" != "x
${host}" ; then
13829 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13830 # We already found the complete path
13831 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13833 $as_echo "pre-installed
in $ac_dir" >&6; }
13835 # Canadian cross, just use what we found
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13837 $as_echo "pre-installed
" >&6; }
13841 case " ${configdirs} " in
13845 case ,${enable_languages}, in
13849 if test $ok = yes; then
13850 # An in-tree tool is available and we can use it
13851 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'
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13853 $as_echo "just compiled
" >&6; }
13854 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13855 # We already found the complete path
13856 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13858 $as_echo "pre-installed
in $ac_dir" >&6; }
13859 elif test "x
$target" = "x
$host"; then
13860 # We can use an host tool
13861 RAW_CXX_FOR_TARGET='$(CXX)'
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13863 $as_echo "host tool
" >&6; }
13865 # We need a cross tool
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13867 $as_echo "pre-installed
" >&6; }
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13872 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13873 if test "x
${build}" != "x
${host}" ; then
13874 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13875 # We already found the complete path
13876 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13878 $as_echo "pre-installed
in $ac_dir" >&6; }
13880 # Canadian cross, just use what we found
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13882 $as_echo "pre-installed
" >&6; }
13886 case " ${configdirs} " in
13891 if test $ok = yes; then
13892 # An in-tree tool is available and we can use it
13893 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13895 $as_echo "just compiled
" >&6; }
13896 elif 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; }
13901 elif test "x
$target" = "x
$host"; then
13902 # We can use an host tool
13903 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13905 $as_echo "host tool
" >&6; }
13907 # We need a cross tool
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13909 $as_echo "pre-installed
" >&6; }
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13914 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13915 if test "x
${build}" != "x
${host}" ; then
13916 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13917 # We already found the complete path
13918 ac_dir=`dirname $GCC_FOR_TARGET`
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13920 $as_echo "pre-installed
in $ac_dir" >&6; }
13922 # Canadian cross, just use what we found
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13924 $as_echo "pre-installed
" >&6; }
13928 case " ${configdirs} " in
13933 if test $ok = yes; then
13934 # An in-tree tool is available and we can use it
13935 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13937 $as_echo "just compiled
" >&6; }
13938 elif 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; }
13943 elif test "x
$target" = "x
$host"; then
13944 # We can use an host tool
13945 GCC_FOR_TARGET='$()'
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13947 $as_echo "host tool
" >&6; }
13949 # We need a cross tool
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13951 $as_echo "pre-installed
" >&6; }
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13956 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13957 if test "x
${build}" != "x
${host}" ; then
13958 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13959 # We already found the complete path
13960 ac_dir=`dirname $GCJ_FOR_TARGET`
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13962 $as_echo "pre-installed
in $ac_dir" >&6; }
13964 # Canadian cross, just use what we found
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13966 $as_echo "pre-installed
" >&6; }
13970 case " ${configdirs} " in
13974 case ,${enable_languages}, in
13978 if test $ok = yes; then
13979 # An in-tree tool is available and we can use it
13980 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13982 $as_echo "just compiled
" >&6; }
13983 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $GCJ_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13988 elif test "x
$target" = "x
$host"; then
13989 # We can use an host tool
13990 GCJ_FOR_TARGET='$(GCJ)'
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13992 $as_echo "host tool
" >&6; }
13994 # We need a cross tool
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13996 $as_echo "pre-installed
" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14001 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14002 if test "x
${build}" != "x
${host}" ; then
14003 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14007 $as_echo "pre-installed
in $ac_dir" >&6; }
14009 # Canadian cross, just use what we found
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14011 $as_echo "pre-installed
" >&6; }
14015 case " ${configdirs} " in
14019 case ,${enable_languages}, in
14023 if test $ok = yes; then
14024 # An in-tree tool is available and we can use it
14025 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14027 $as_echo "just compiled
" >&6; }
14028 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14029 # We already found the complete path
14030 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14032 $as_echo "pre-installed
in $ac_dir" >&6; }
14033 elif test "x
$target" = "x
$host"; then
14034 # We can use an host tool
14035 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14037 $as_echo "host tool
" >&6; }
14039 # We need a cross tool
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14041 $as_echo "pre-installed
" >&6; }
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14046 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14047 if test "x
${build}" != "x
${host}" ; then
14048 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14049 # We already found the complete path
14050 ac_dir=`dirname $GOC_FOR_TARGET`
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14052 $as_echo "pre-installed
in $ac_dir" >&6; }
14054 # Canadian cross, just use what we found
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14056 $as_echo "pre-installed
" >&6; }
14060 case " ${configdirs} " in
14064 case ,${enable_languages}, in
14068 if test $ok = yes; then
14069 # An in-tree tool is available and we can use it
14070 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14072 $as_echo "just compiled
" >&6; }
14073 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14074 # We already found the complete path
14075 ac_dir=`dirname $GOC_FOR_TARGET`
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14077 $as_echo "pre-installed
in $ac_dir" >&6; }
14078 elif test "x
$target" = "x
$host"; then
14079 # We can use an host tool
14080 GOC_FOR_TARGET='$(GOC)'
14081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14082 $as_echo "host tool
" >&6; }
14084 # We need a cross tool
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14086 $as_echo "pre-installed
" >&6; }
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14091 $as_echo_n "checking where to
find the target ld...
" >&6; }
14092 if test "x
${build}" != "x
${host}" ; then
14093 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14094 # We already found the complete path
14095 ac_dir=`dirname $LD_FOR_TARGET`
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14097 $as_echo "pre-installed
in $ac_dir" >&6; }
14099 # Canadian cross, just use what we found
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14101 $as_echo "pre-installed
" >&6; }
14105 case " ${configdirs} " in
14110 if test $ok = yes; then
14111 # An in-tree tool is available and we can use it
14112 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14114 $as_echo "just compiled
" >&6; }
14115 elif 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; }
14120 elif test "x
$target" = "x
$host"; then
14121 # We can use an host tool
14122 LD_FOR_TARGET='$(LD)'
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14124 $as_echo "host tool
" >&6; }
14126 # We need a cross tool
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14128 $as_echo "pre-installed
" >&6; }
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14133 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14134 if test "x
${build}" != "x
${host}" ; then
14135 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14136 # We already found the complete path
14137 ac_dir=`dirname $LIPO_FOR_TARGET`
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14139 $as_echo "pre-installed
in $ac_dir" >&6; }
14141 # Canadian cross, just use what we found
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14143 $as_echo "pre-installed
" >&6; }
14146 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14147 # We already found the complete path
14148 ac_dir=`dirname $LIPO_FOR_TARGET`
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14150 $as_echo "pre-installed
in $ac_dir" >&6; }
14151 elif test "x
$target" = "x
$host"; then
14152 # We can use an host tool
14153 LIPO_FOR_TARGET='$(LIPO)'
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14155 $as_echo "host tool
" >&6; }
14157 # We need a cross tool
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14159 $as_echo "pre-installed
" >&6; }
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14164 $as_echo_n "checking where to
find the target nm...
" >&6; }
14165 if test "x
${build}" != "x
${host}" ; then
14166 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14167 # We already found the complete path
14168 ac_dir=`dirname $NM_FOR_TARGET`
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14170 $as_echo "pre-installed
in $ac_dir" >&6; }
14172 # Canadian cross, just use what we found
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14174 $as_echo "pre-installed
" >&6; }
14178 case " ${configdirs} " in
14183 if test $ok = yes; then
14184 # An in-tree tool is available and we can use it
14185 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14187 $as_echo "just compiled
" >&6; }
14188 elif 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; }
14193 elif test "x
$target" = "x
$host"; then
14194 # We can use an host tool
14195 NM_FOR_TARGET='$(NM)'
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14197 $as_echo "host tool
" >&6; }
14199 # We need a cross tool
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14201 $as_echo "pre-installed
" >&6; }
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14206 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14207 if test "x
${build}" != "x
${host}" ; then
14208 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14209 # We already found the complete path
14210 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14212 $as_echo "pre-installed
in $ac_dir" >&6; }
14214 # Canadian cross, just use what we found
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14216 $as_echo "pre-installed
" >&6; }
14220 case " ${configdirs} " in
14225 if test $ok = yes; then
14226 # An in-tree tool is available and we can use it
14227 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14229 $as_echo "just compiled
" >&6; }
14230 elif 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; }
14235 elif test "x
$target" = "x
$host"; then
14236 # We can use an host tool
14237 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14239 $as_echo "host tool
" >&6; }
14241 # We need a cross tool
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14243 $as_echo "pre-installed
" >&6; }
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14248 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14249 if test "x
${build}" != "x
${host}" ; then
14250 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14251 # We already found the complete path
14252 ac_dir=`dirname $RANLIB_FOR_TARGET`
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14254 $as_echo "pre-installed
in $ac_dir" >&6; }
14256 # Canadian cross, just use what we found
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14258 $as_echo "pre-installed
" >&6; }
14262 case " ${configdirs} " in
14267 if test $ok = yes; then
14268 # An in-tree tool is available and we can use it
14269 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14271 $as_echo "just compiled
" >&6; }
14272 elif 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; }
14277 elif test "x
$target" = "x
$host"; then
14278 # We can use an host tool
14279 RANLIB_FOR_TARGET='$(RANLIB)'
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14281 $as_echo "host tool
" >&6; }
14283 # We need a cross tool
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14285 $as_echo "pre-installed
" >&6; }
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14290 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14291 if test "x
${build}" != "x
${host}" ; then
14292 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14293 # We already found the complete path
14294 ac_dir=`dirname $READELF_FOR_TARGET`
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14296 $as_echo "pre-installed
in $ac_dir" >&6; }
14298 # Canadian cross, just use what we found
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14300 $as_echo "pre-installed
" >&6; }
14304 case " ${configdirs} " in
14309 if test $ok = yes; then
14310 # An in-tree tool is available and we can use it
14311 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14313 $as_echo "just compiled
" >&6; }
14314 elif 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; }
14319 elif test "x
$target" = "x
$host"; then
14320 # We can use an host tool
14321 READELF_FOR_TARGET='$(READELF)'
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14323 $as_echo "host tool
" >&6; }
14325 # We need a cross tool
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14327 $as_echo "pre-installed
" >&6; }
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14332 $as_echo_n "checking where to
find the target strip...
" >&6; }
14333 if test "x
${build}" != "x
${host}" ; then
14334 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14335 # We already found the complete path
14336 ac_dir=`dirname $STRIP_FOR_TARGET`
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14338 $as_echo "pre-installed
in $ac_dir" >&6; }
14340 # Canadian cross, just use what we found
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14342 $as_echo "pre-installed
" >&6; }
14346 case " ${configdirs} " in
14351 if test $ok = yes; then
14352 # An in-tree tool is available and we can use it
14353 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14355 $as_echo "just compiled
" >&6; }
14356 elif 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; }
14361 elif test "x
$target" = "x
$host"; then
14362 # We can use an host tool
14363 STRIP_FOR_TARGET='$(STRIP)'
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14365 $as_echo "host tool
" >&6; }
14367 # We need a cross tool
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14369 $as_echo "pre-installed
" >&6; }
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14374 $as_echo_n "checking where to
find the target windres...
" >&6; }
14375 if test "x
${build}" != "x
${host}" ; then
14376 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14377 # We already found the complete path
14378 ac_dir=`dirname $WINDRES_FOR_TARGET`
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14380 $as_echo "pre-installed
in $ac_dir" >&6; }
14382 # Canadian cross, just use what we found
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14384 $as_echo "pre-installed
" >&6; }
14388 case " ${configdirs} " in
14393 if test $ok = yes; then
14394 # An in-tree tool is available and we can use it
14395 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14397 $as_echo "just compiled
" >&6; }
14398 elif 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; }
14403 elif test "x
$target" = "x
$host"; then
14404 # We can use an host tool
14405 WINDRES_FOR_TARGET='$(WINDRES)'
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14407 $as_echo "host tool
" >&6; }
14409 # We need a cross tool
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14411 $as_echo "pre-installed
" >&6; }
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14416 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14417 if test "x
${build}" != "x
${host}" ; then
14418 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14419 # We already found the complete path
14420 ac_dir=`dirname $WINDMC_FOR_TARGET`
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14422 $as_echo "pre-installed
in $ac_dir" >&6; }
14424 # Canadian cross, just use what we found
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14426 $as_echo "pre-installed
" >&6; }
14430 case " ${configdirs} " in
14435 if test $ok = yes; then
14436 # An in-tree tool is available and we can use it
14437 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14439 $as_echo "just compiled
" >&6; }
14440 elif 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; }
14445 elif test "x
$target" = "x
$host"; then
14446 # We can use an host tool
14447 WINDMC_FOR_TARGET='$(WINDMC)'
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14449 $as_echo "host tool
" >&6; }
14451 # We need a cross tool
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14453 $as_echo "pre-installed
" >&6; }
14461 # Certain tools may need extra flags.
14462 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14463 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14464 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14466 # When building target libraries, except in a Canadian cross, we use
14467 # the same toolchain as the compiler we just built.
14468 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14469 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14470 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14471 if test $host = $build; then
14472 case " $configdirs " in
14474 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14475 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14476 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14486 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14487 # Check whether --enable-maintainer-mode was given.
14488 if test "${enable_maintainer_mode+set}" = set; then :
14489 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14491 USE_MAINTAINER_MODE=no
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14495 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14498 if test "$USE_MAINTAINER_MODE" = yes; then
14499 MAINTAINER_MODE_TRUE=
14500 MAINTAINER_MODE_FALSE='#'
14502 MAINTAINER_MODE_TRUE='#'
14503 MAINTAINER_MODE_FALSE=
14505 MAINT=$MAINTAINER_MODE_TRUE
14507 # ---------------------
14508 # GCC bootstrap support
14509 # ---------------------
14511 # Stage specific cflags for build.
14516 yes) stage1_cflags="-g -Wa,-J" ;;
14517 *) stage1_cflags="-g -J" ;;
14523 # Enable --enable-checking in stage1 of the compiler.
14524 # Check whether --enable-stage1-checking was given.
14525 if test "${enable_stage1_checking+set}" = set; then :
14526 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14528 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14529 stage1_checking=--enable-checking=yes,types
14531 stage1_checking=--enable-checking=$enable_checking,types
14537 # Enable -Werror in bootstrap stage2 and later.
14538 # Check whether --enable-werror was given.
14539 if test "${enable_werror+set}" = set; then :
14540 enableval=$enable_werror;
14542 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14549 case ${enable_werror} in
14550 yes) stage2_werror_flag="--enable-werror-always" ;;
14551 *) stage2_werror_flag="" ;;
14555 # Enable --enable-host-shared.
14556 # Check whether --enable-host-shared was given.
14557 if test "${enable_host_shared+set}" = set; then :
14558 enableval=$enable_host_shared; host_shared=$enableval
14565 # Specify what files to not compare during bootstrap.
14567 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14569 hppa*64*-*-hpux*) ;;
14570 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14571 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14575 ac_config_files="$ac_config_files Makefile
"
14577 cat >confcache <<\_ACEOF
14578 # This file is a shell script that caches the results of configure
14579 # tests run on this system so they can be shared between configure
14580 # scripts and configure runs, see configure's option --config-cache.
14581 # It is not useful on other systems. If it contains results you don't
14582 # want to keep, you may remove or edit it.
14584 # config.status only pays attention to the cache file if you give it
14585 # the --recheck option to rerun configure.
14587 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14588 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14589 # following values.
14593 # The following way of writing the cache mishandles newlines in values,
14594 # but we know of no workaround that is simple, portable, and efficient.
14595 # So, we kill variables containing newlines.
14596 # Ultrix sh set writes to stderr and can't be redirected directly,
14597 # and sets the high bit in the cache file unless we assign to the vars.
14599 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14600 eval ac_val=\$$ac_var
14604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14605 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14608 _ | IFS | as_nl) ;; #(
14609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14610 *) { eval $ac_var=; unset $ac_var;} ;;
14616 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14617 *${as_nl}ac_space=\ *)
14618 # `set' does not quote correctly, so add quotes: double-quote
14619 # substitution turns \\\\ into \\, and sed turns \\ into \.
14622 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14625 # `set' quotes correctly as required by POSIX, so do not add quotes.
14626 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14635 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14637 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14639 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14640 if test -w "$cache_file"; then
14641 test "x
$cache_file" != "x
/dev
/null
" &&
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14643 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14644 cat confcache >$cache_file
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14647 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14652 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14653 # Let make expand exec_prefix.
14654 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14656 # Transform confdefs.h into DEFS.
14657 # Protect against shell expansion while executing Makefile rules.
14658 # Protect against Makefile macro expansion.
14660 # If the first sed substitution is executed (which looks for macros that
14661 # take arguments), then branch to the quote section. Otherwise,
14662 # look for a macro that doesn't take arguments.
14672 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14674 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14678 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14691 DEFS=`sed -n "$ac_script" confdefs.h`
14696 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14697 # 1. Remove the extension, and $U if already installed.
14698 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14699 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14700 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14701 # will be set to the directory where LIBOBJS objects are built.
14702 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14703 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14705 LIBOBJS=$ac_libobjs
14707 LTLIBOBJS=$ac_ltlibobjs
14711 : ${CONFIG_STATUS=./config.status}
14713 ac_clean_files_save=$ac_clean_files
14714 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14716 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14718 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14720 # Generated by $as_me.
14721 # Run this file to recreate the current configuration.
14722 # Compiler output produced by configure, useful for debugging
14723 # configure, is in config.log if it exists.
14726 ac_cs_recheck=false
14729 SHELL=\${CONFIG_SHELL-$SHELL}
14732 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14733 ## -------------------- ##
14734 ## M4sh Initialization. ##
14735 ## -------------------- ##
14737 # Be more Bourne compatible
14738 DUALCASE=1; export DUALCASE # for MKS sh
14739 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14742 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14743 # is contrary to our usage. Disable this feature.
14744 alias -g '${1+"$@"}'='"$@"'
14745 setopt NO_GLOB_SUBST
14747 case `(set -o) 2>/dev/null` in #(
14759 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14760 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14761 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14762 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14763 # Prefer a ksh shell builtin over an external printf program on Solaris,
14764 # but without wasting forks for bash or zsh.
14765 if test -z "$BASH_VERSION$ZSH_VERSION" \
14766 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14767 as_echo
='print -r --'
14768 as_echo_n
='print -rn --'
14769 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14770 as_echo
='printf %s\n'
14771 as_echo_n
='printf %s'
14773 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14774 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14775 as_echo_n
='/usr/ucb/echo -n'
14777 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14778 as_echo_n_body
='eval
14782 expr "X$arg" : "X\\(.*\\)$as_nl";
14783 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14785 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14787 export as_echo_n_body
14788 as_echo_n
='sh -c $as_echo_n_body as_echo'
14790 export as_echo_body
14791 as_echo
='sh -c $as_echo_body as_echo'
14794 # The user is always right.
14795 if test "${PATH_SEPARATOR+set}" != set; then
14797 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14798 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14805 # We need space, tab and new line, in precisely that order. Quoting is
14806 # there to prevent editors from complaining about space-tab.
14807 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14808 # splitting by setting IFS to empty value.)
14811 # Find who we are. Look in the path if we contain no directory separator.
14813 *[\\/]* ) as_myself
=$0 ;;
14814 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14815 for as_dir
in $PATH
14818 test -z "$as_dir" && as_dir
=.
14819 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14825 # We did not find ourselves, most probably we were run as `sh COMMAND'
14826 # in which case we are not to be found in the path.
14827 if test "x$as_myself" = x
; then
14830 if test ! -f "$as_myself"; then
14831 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14835 # Unset variables that we do not need and which cause bugs (e.g. in
14836 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14837 # suppresses any "Segmentation fault" message there. '((' could
14838 # trigger a bug in pdksh 5.2.14.
14839 for as_var
in BASH_ENV ENV MAIL MAILPATH
14840 do eval test x\
${$as_var+set} = xset \
14841 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14854 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14857 # as_fn_error ERROR [LINENO LOG_FD]
14858 # ---------------------------------
14859 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14860 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14861 # script with status $?, using 1 if that was 0.
14864 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14866 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14867 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14869 $as_echo "$as_me: error: $1" >&2
14870 as_fn_exit
$as_status
14874 # as_fn_set_status STATUS
14875 # -----------------------
14876 # Set $? to STATUS, without forking.
14877 as_fn_set_status
()
14880 } # as_fn_set_status
14882 # as_fn_exit STATUS
14883 # -----------------
14884 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14888 as_fn_set_status
$1
14894 # Portably unset VAR.
14897 { eval $1=; unset $1;}
14899 as_unset
=as_fn_unset
14900 # as_fn_append VAR VALUE
14901 # ----------------------
14902 # Append the text in VALUE to the end of the definition contained in VAR. Take
14903 # advantage of any shell optimizations that allow amortized linear growth over
14904 # repeated appends, instead of the typical quadratic growth present in naive
14906 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14907 eval 'as_fn_append ()
14918 # as_fn_arith ARG...
14919 # ------------------
14920 # Perform arithmetic evaluation on the ARGs, and store the result in the
14921 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14922 # must be portable across $(()) and expr.
14923 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14924 eval 'as_fn_arith ()
14931 as_val
=`expr "$@" || test $? -eq 1`
14936 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14937 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14943 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14944 as_basename
=basename
14949 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14955 as_me
=`$as_basename -- "$0" ||
14956 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14957 X"$0" : 'X\(//\)$' \| \
14958 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14960 sed '/^.*\/\([^/][^/]*\)\/*$/{
14974 # Avoid depending upon Character Ranges.
14975 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14976 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14977 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14978 as_cr_digits
='0123456789'
14979 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14981 ECHO_C
= ECHO_N
= ECHO_T
=
14982 case `echo -n x` in #(((((
14984 case `echo 'xy\c'` in
14985 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14987 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14994 rm -f conf$$ conf$$.exe conf$$.
file
14995 if test -d conf$$.dir
; then
14996 rm -f conf$$.dir
/conf$$.
file
14999 mkdir conf$$.dir
2>/dev
/null
15001 if (echo >conf$$.
file) 2>/dev
/null
; then
15002 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15004 # ... but there are two gotchas:
15005 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15006 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15007 # In both cases, we have to default to `cp -p'.
15008 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15010 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15018 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15019 rmdir conf$$.dir
2>/dev
/null
15024 # Create "$as_dir" as a directory, including parents if necessary.
15029 -*) as_dir
=.
/$as_dir;;
15031 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15035 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15036 *) as_qdir
=$as_dir;;
15038 as_dirs
="'$as_qdir' $as_dirs"
15039 as_dir
=`$as_dirname -- "$as_dir" ||
15040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15041 X"$as_dir" : 'X\(//\)[^/]' \| \
15042 X"$as_dir" : 'X\(//\)$' \| \
15043 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15044 $as_echo X"$as_dir" |
15045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15049 /^X\(\/\/\)[^/].*/{
15062 test -d "$as_dir" && break
15064 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15065 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15069 if mkdir
-p .
2>/dev
/null
; then
15070 as_mkdir_p
='mkdir -p "$as_dir"'
15072 test -d .
/-p && rmdir .
/-p
15076 if test -x / >/dev
/null
2>&1; then
15077 as_test_x
='test -x'
15079 if ls -dL / >/dev
/null
2>&1; then
15086 if test -d "$1"; then
15092 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15093 ???[sx]*):;;*)false;;esac;fi
15097 as_executable_p
=$as_test_x
15099 # Sed expression to map a string onto a valid CPP name.
15100 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15102 # Sed expression to map a string onto a valid variable name.
15103 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15107 ## ----------------------------------- ##
15108 ## Main body of $CONFIG_STATUS script. ##
15109 ## ----------------------------------- ##
15111 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15113 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15114 # Save the log message, to keep $0 and so on meaningful, and to
15115 # report actual input values of CONFIG_FILES etc. instead of their
15116 # values after options handling.
15118 This file was extended by $as_me, which was
15119 generated by GNU Autoconf 2.64. Invocation command line was
15121 CONFIG_FILES = $CONFIG_FILES
15122 CONFIG_HEADERS = $CONFIG_HEADERS
15123 CONFIG_LINKS = $CONFIG_LINKS
15124 CONFIG_COMMANDS = $CONFIG_COMMANDS
15127 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15132 case $ac_config_files in *"
15133 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15139 # Files that config.status was made for.
15140 config_files="$ac_config_files"
15144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15146 \`$as_me' instantiates files and other configuration actions
15147 from templates according to the current configuration. Unless the files
15148 and actions are specified as TAGs, all are instantiated by default.
15150 Usage: $0 [OPTION]... [TAG]...
15152 -h, --help print this help, then exit
15153 -V, --version print version number and configuration settings, then exit
15154 -q, --quiet, --silent
15155 do not print progress messages
15156 -d, --debug don't remove temporary files
15157 --recheck update $as_me by reconfiguring in the same conditions
15158 --file=FILE[:TEMPLATE]
15159 instantiate the configuration file FILE
15161 Configuration files:
15164 Report bugs to the package provider."
15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15170 configured by $0, generated by GNU Autoconf 2.64,
15171 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15173 Copyright (C) 2009 Free Software Foundation, Inc.
15174 This config.status script is free software; the Free Software Foundation
15175 gives unlimited permission to copy, distribute and modify it."
15181 test -n "\$AWK" || AWK=awk
15184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15185 # The default lists apply if the user does not specify any file.
15191 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15192 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15203 # Handling of the options.
15204 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15206 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15207 $as_echo "$ac_cs_version"; exit ;;
15208 --debug |
--debu |
--deb |
--de |
--d |
-d )
15210 --file |
--fil |
--fi |
--f )
15213 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15215 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15216 ac_need_defaults
=false
;;
15217 --he |
--h |
--help |
--hel |
-h )
15218 $as_echo "$ac_cs_usage"; exit ;;
15219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15220 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15223 # This is an error.
15224 -*) as_fn_error
"unrecognized option: \`$1'
15225 Try \`$0 --help' for more information." ;;
15227 *) as_fn_append ac_config_targets
" $1"
15228 ac_need_defaults
=false
;;
15234 ac_configure_extra_args
=
15236 if $ac_cs_silent; then
15238 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15243 if \$ac_cs_recheck; then
15244 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15246 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15247 CONFIG_SHELL='$SHELL'
15248 export CONFIG_SHELL
15253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15258 ## Running $as_me. ##
15264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15268 extrasub_build="$extrasub_build"
15269 extrasub_host="$extrasub_host"
15270 extrasub_target="$extrasub_target"
15274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15276 # Handling of arguments.
15277 for ac_config_target
in $ac_config_targets
15279 case $ac_config_target in
15280 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15282 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15287 # If the user did not use the arguments to specify the items to instantiate,
15288 # then the envvar interface is used. Set only those that are not.
15289 # We use the long form for the default assignment because of an extremely
15290 # bizarre bug on SunOS 4.1.3.
15291 if $ac_need_defaults; then
15292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15295 # Have a temporary directory for convenience. Make it in the build tree
15296 # simply because there is no reason against having it here, and in addition,
15297 # creating and moving files from /tmp can sometimes cause problems.
15298 # Hook for its removal unless debugging.
15299 # Note that there is a small window in which the directory will not be cleaned:
15300 # after its creation but before its name has been assigned to `$tmp'.
15304 trap 'exit_status=$?
15305 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15307 trap 'as_fn_exit 1' 1 2 13 15
15309 # Create a (secure) tmp directory for tmp files.
15312 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15313 test -n "$tmp" && test -d "$tmp"
15316 tmp
=.
/conf$$
-$RANDOM
15317 (umask 077 && mkdir
"$tmp")
15318 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15320 # Set up the scripts for CONFIG_FILES section.
15321 # No need to generate them if there are no CONFIG_FILES.
15322 # This happens for instance with `./config.status config.h'.
15323 if test -n "$CONFIG_FILES"; then
15325 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15326 ac_cs_awk_getline
=:
15327 ac_cs_awk_pipe_init
=
15328 ac_cs_awk_read_file
='
15329 while ((getline aline < (F[key])) > 0)
15332 ac_cs_awk_pipe_fini
=
15334 ac_cs_awk_getline
=false
15335 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15336 ac_cs_awk_read_file
='
15338 print "cat " F[key] " &&"
15339 '$ac_cs_awk_pipe_init
15340 # The final `:' finishes the AND list.
15341 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15343 ac_cr
=`echo X | tr X '\015'`
15344 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15345 # But we know of no other shell where ac_cr would be empty at this
15346 # point, so we can use a bashism as a fallback.
15347 if test "x$ac_cr" = x
; then
15348 eval ac_cr
=\$
\'\\r
\'
15350 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15351 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15354 ac_cs_awk_cr
=$ac_cr
15357 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15360 # Create commands to substitute file output variables.
15362 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15363 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15364 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15367 } >conf$
$files.sh
&&
15368 . .
/conf$
$files.sh ||
15369 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15370 rm -f conf$
$files.sh
15373 echo "cat >conf$$subs.awk <<_ACEOF" &&
15374 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15376 } >conf$$subs.sh ||
15377 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15378 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15380 for ac_last_try in false false false false false :; do
15381 . ./conf$$subs.sh ||
15382 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15384 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15385 if test $ac_delim_n = $ac_delim_num; then
15387 elif $ac_last_try; then
15388 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15390 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15393 rm -f conf$$subs.sh
15395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15396 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15400 s/^/S["/; s
/!.
*/"]=/
15410 s/\(.\{148\}\).*/\1/
15412 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15417 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15424 s/\(.\{148\}\).*/\1/
15426 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15430 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15435 ' <conf$$subs.awk | sed '
15440 ' >>$CONFIG_STATUS || ac_write_fail=1
15441 rm -f conf$$subs.awk
15442 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15444 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15445 for (key in S) S_is_set[key] = 1
15447 \$ac_cs_awk_pipe_init
15451 nfields = split(line, field, "@
")
15453 len = length(field[1])
15454 for (i = 2; i < nfields; i++) {
15456 keylen = length(key)
15457 if (S_is_set[key]) {
15459 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15460 len += length(value) + length(field[++i])
15465 if (nfields == 3 && !substed) {
15467 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15468 \$ac_cs_awk_read_file
15474 \$ac_cs_awk_pipe_fini
15477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15478 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15479 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15482 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15483 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15486 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15487 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15488 # trailing colons and then remove the whole line if VPATH becomes empty
15489 # (actually we leave an empty line to preserve line numbers).
15490 if test "x
$srcdir" = x.; then
15491 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15492 s/:*\$(srcdir):*/:/
15493 s/:*\${srcdir}:*/:/
15495 s/^\([^=]*=[ ]*\):*/\1/
15501 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15502 fi # test -n "$CONFIG_FILES"
15505 eval set X " :F
$CONFIG_FILES "
15510 :[FHLC]) ac_mode=$ac_tag; continue;;
15512 case $ac_mode$ac_tag in
15514 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15515 :[FH]-) ac_tag=-:-;;
15516 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15533 -) ac_f="$tmp/stdin";;
15534 *) # Look for the file first in the build tree, then in the source tree
15535 # (if the path is not absolute). The absolute path cannot be DOS-style,
15536 # because $ac_f cannot contain `:'.
15540 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15542 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15544 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15545 as_fn_append ac_file_inputs " '$ac_f'"
15548 # Let's still pretend it is `configure' which instantiates (i.e., don't
15549 # use $as_me), people would be surprised to read:
15550 # /* config.h. Generated by config.status. */
15551 configure_input='Generated from '`
15552 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15554 if test x"$ac_file" != x-; then
15555 configure_input="$ac_file.
$configure_input"
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15557 $as_echo "$as_me: creating
$ac_file" >&6;}
15559 # Neutralize special characters interpreted by sed in replacement strings.
15560 case $configure_input in #(
15561 *\&* | *\|* | *\\* )
15562 ac_sed_conf_input=`$as_echo "$configure_input" |
15563 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15564 *) ac_sed_conf_input=$configure_input;;
15568 *:-:* | *:-) cat >"$tmp/stdin
" \
15569 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15574 ac_dir=`$as_dirname -- "$ac_file" ||
15575 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15576 X"$ac_file" : 'X\(//\)[^/]' \| \
15577 X"$ac_file" : 'X\(//\)$' \| \
15578 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15579 $as_echo X"$ac_file" |
15580 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15584 /^X\(\/\/\)[^/].*/{
15597 as_dir="$ac_dir"; as_fn_mkdir_p
15601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15603 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15604 # A "..
" for each directory in $ac_dir_suffix.
15605 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15606 case $ac_top_builddir_sub in
15607 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15608 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15611 ac_abs_top_builddir=$ac_pwd
15612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15613 # for backward compatibility:
15614 ac_top_builddir=$ac_top_build_prefix
15617 .) # We are building in place.
15619 ac_top_srcdir=$ac_top_builddir_sub
15620 ac_abs_top_srcdir=$ac_pwd ;;
15621 [\\/]* | ?:[\\/]* ) # Absolute name.
15622 ac_srcdir=$srcdir$ac_dir_suffix;
15623 ac_top_srcdir=$srcdir
15624 ac_abs_top_srcdir=$srcdir ;;
15625 *) # Relative name.
15626 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15627 ac_top_srcdir=$ac_top_build_prefix$srcdir
15628 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15640 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15641 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15646 # If the template does not know about datarootdir, expand it.
15647 # FIXME: This hack should be removed a few years after 2.60.
15648 ac_datarootdir_hack=; ac_datarootdir_seen=
15659 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15660 *datarootdir*) ac_datarootdir_seen=yes;;
15661 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15663 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15666 ac_datarootdir_hack='
15667 s&@datadir@&$datadir&g
15668 s&@docdir@&$docdir&g
15669 s&@infodir@&$infodir&g
15670 s&@localedir@&$localedir&g
15671 s&@mandir@&$mandir&g
15672 s&\\\${datarootdir}&$datarootdir&g' ;;
15676 # Neutralize VPATH when `$srcdir' = `.'.
15677 # Shell code in configure.ac might set extrasub.
15678 # FIXME: do we really want to maintain this feature?
15679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15680 ac_sed_extra="$ac_vpsub
15683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15685 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15686 s|@configure_input@|
$ac_sed_conf_input|
;t t
15687 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15688 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15689 s
&@srcdir@
&$ac_srcdir&;t t
15690 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15691 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15692 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15693 s
&@builddir@
&$ac_builddir&;t t
15694 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15695 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15696 s
&@INSTALL@
&$ac_INSTALL&;t t
15697 $ac_datarootdir_hack
15699 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15700 if $ac_cs_awk_getline; then
15701 $AWK -f "$tmp/subs.
awk"
15703 $AWK -f "$tmp/subs.
awk" | $SHELL
15705 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15707 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15708 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15709 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15711 which seems to be undefined. Please make sure it is defined." >&5
15712 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15713 which seems to be undefined. Please make sure it is defined." >&2;}
15717 -) cat "$tmp/out" && rm -f "$tmp/out";;
15718 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15720 || as_fn_error "could not create $ac_file" "$LINENO" 5
15728 case $ac_file$ac_mode in
15729 "Makefile":F) sed "$extrasub_build" Makefile |
15730 sed "$extrasub_host" |
15731 sed "$extrasub_target" > mf$$
15732 mv -f mf$$ Makefile ;;
15740 ac_clean_files=$ac_clean_files_save
15742 test $ac_write_fail = 0 ||
15743 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15746 # configure is writing to config.log, and then calls config.status.
15747 # config.status does its own redirection, appending to config.log.
15748 # Unfortunately, on DOS this fails, as config.log is still kept open
15749 # by configure, so config.status won't be able to
write to it
; its
15750 # output is simply discarded. So we exec the FD to /dev/null,
15751 # effectively closing config.log, so it can be properly (re)opened and
15752 # appended to by config.status. When coming back to configure, we
15753 # need to make the FD available again.
15754 if test "$no_create" != yes; then
15756 ac_config_status_args
=
15757 test "$silent" = yes &&
15758 ac_config_status_args
="$ac_config_status_args --quiet"
15760 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15762 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15763 # would make configure fail if this is the last instruction.
15764 $ac_cs_success || as_fn_exit $?
15766 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15768 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}