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
645 DEBUG_PREFIX_CFLAGS_FOR_TARGET
646 SYSROOT_CFLAGS_FOR_TARGET
648 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
658 extra_isl_gmp_configure_flags
659 extra_mpc_mpfr_configure_flags
660 extra_mpc_gmp_configure_flags
661 extra_mpfr_configure_flags
677 EXTRA_CONFIGARGS_LIBJAVA
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
754 enable_libquadmath_support
758 enable_static_libjava
780 enable_isl_version_check
783 enable_cloog_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
791 with_debug_prefix_map
794 enable_serial_configure
795 enable_upc_link_script
796 with_build_time_tools
797 enable_maintainer_mode
798 enable_stage1_checking
802 ac_precious_vars
='build_alias
850 # Initialize some variables set by options.
852 ac_init_version
=false
853 ac_unrecognized_opts
=
855 # The variables have the same names as the options, with
856 # dashes changed to underlines.
864 program_transform_name
=s
,x
,x
,
872 # Installation directory options.
873 # These are left unexpanded so users can "make install exec_prefix=/foo"
874 # and all the variables that are supposed to be based on exec_prefix
875 # by default will actually change.
876 # Use braces instead of parens because sh, perl, etc. also accept them.
877 # (The list follows the same order as the GNU Coding Standards.)
878 bindir
='${exec_prefix}/bin'
879 sbindir
='${exec_prefix}/sbin'
880 libexecdir
='${exec_prefix}/libexec'
881 datarootdir
='${prefix}/share'
882 datadir
='${datarootdir}'
883 sysconfdir
='${prefix}/etc'
884 sharedstatedir
='${prefix}/com'
885 localstatedir
='${prefix}/var'
886 includedir
='${prefix}/include'
887 oldincludedir
='/usr/include'
888 docdir
='${datarootdir}/doc/${PACKAGE}'
889 infodir
='${datarootdir}/info'
894 libdir
='${exec_prefix}/lib'
895 localedir
='${datarootdir}/locale'
896 mandir
='${datarootdir}/man'
902 # If the previous option needs an argument, assign it.
903 if test -n "$ac_prev"; then
904 eval $ac_prev=\
$ac_option
910 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
914 # Accept the important Cygnus configure options, so we can diagnose typos.
916 case $ac_dashdash$ac_option in
920 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
922 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
925 -build |
--build |
--buil |
--bui |
--bu)
926 ac_prev
=build_alias
;;
927 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
928 build_alias
=$ac_optarg ;;
930 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
931 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
932 ac_prev
=cache_file
;;
933 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
934 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
935 cache_file
=$ac_optarg ;;
938 cache_file
=config.cache
;;
940 -datadir |
--datadir |
--datadi |
--datad)
942 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
943 datadir
=$ac_optarg ;;
945 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
946 |
--dataroo |
--dataro |
--datar)
947 ac_prev
=datarootdir
;;
948 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
949 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
950 datarootdir
=$ac_optarg ;;
952 -disable-* |
--disable-*)
953 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
956 as_fn_error
"invalid feature name: $ac_useropt"
957 ac_useropt_orig
=$ac_useropt
958 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
959 case $ac_user_opts in
963 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
964 ac_unrecognized_sep
=', ';;
966 eval enable_
$ac_useropt=no
;;
968 -docdir |
--docdir |
--docdi |
--doc |
--do)
970 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
973 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
975 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
978 -enable-* |
--enable-*)
979 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
982 as_fn_error
"invalid feature name: $ac_useropt"
983 ac_useropt_orig
=$ac_useropt
984 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
989 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
990 ac_unrecognized_sep
=', ';;
992 eval enable_
$ac_useropt=\
$ac_optarg ;;
994 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
995 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
996 |
--exec |
--exe |
--ex)
997 ac_prev
=exec_prefix
;;
998 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
999 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1000 |
--exec=* |
--exe=* |
--ex=*)
1001 exec_prefix
=$ac_optarg ;;
1003 -gas |
--gas |
--ga |
--g)
1004 # Obsolete; use --with-gas.
1007 -help |
--help |
--hel |
--he |
-h)
1008 ac_init_help
=long
;;
1009 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1010 ac_init_help
=recursive
;;
1011 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1012 ac_init_help
=short
;;
1014 -host |
--host |
--hos |
--ho)
1015 ac_prev
=host_alias
;;
1016 -host=* |
--host=* |
--hos=* |
--ho=*)
1017 host_alias
=$ac_optarg ;;
1019 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1021 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1023 htmldir
=$ac_optarg ;;
1025 -includedir |
--includedir |
--includedi |
--included |
--include \
1026 |
--includ |
--inclu |
--incl |
--inc)
1027 ac_prev
=includedir
;;
1028 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1029 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1030 includedir
=$ac_optarg ;;
1032 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1034 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1035 infodir
=$ac_optarg ;;
1037 -libdir |
--libdir |
--libdi |
--libd)
1039 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1040 libdir
=$ac_optarg ;;
1042 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1043 |
--libexe |
--libex |
--libe)
1044 ac_prev
=libexecdir
;;
1045 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1046 |
--libexe=* |
--libex=* |
--libe=*)
1047 libexecdir
=$ac_optarg ;;
1049 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1050 ac_prev
=localedir
;;
1051 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1052 localedir
=$ac_optarg ;;
1054 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1055 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1056 ac_prev
=localstatedir
;;
1057 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1058 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1059 localstatedir
=$ac_optarg ;;
1061 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1063 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1064 mandir
=$ac_optarg ;;
1066 -nfp |
--nfp |
--nf)
1067 # Obsolete; use --without-fp.
1070 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1071 |
--no-cr |
--no-c |
-n)
1074 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1075 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1078 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1079 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1080 |
--oldin |
--oldi |
--old |
--ol |
--o)
1081 ac_prev
=oldincludedir
;;
1082 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1083 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1084 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1085 oldincludedir
=$ac_optarg ;;
1087 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1089 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1090 prefix
=$ac_optarg ;;
1092 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1093 |
--program-pre |
--program-pr |
--program-p)
1094 ac_prev
=program_prefix
;;
1095 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1096 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1097 program_prefix
=$ac_optarg ;;
1099 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1100 |
--program-suf |
--program-su |
--program-s)
1101 ac_prev
=program_suffix
;;
1102 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1103 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1104 program_suffix
=$ac_optarg ;;
1106 -program-transform-name |
--program-transform-name \
1107 |
--program-transform-nam |
--program-transform-na \
1108 |
--program-transform-n |
--program-transform- \
1109 |
--program-transform |
--program-transfor \
1110 |
--program-transfo |
--program-transf \
1111 |
--program-trans |
--program-tran \
1112 |
--progr-tra |
--program-tr |
--program-t)
1113 ac_prev
=program_transform_name
;;
1114 -program-transform-name=* |
--program-transform-name=* \
1115 |
--program-transform-nam=* |
--program-transform-na=* \
1116 |
--program-transform-n=* |
--program-transform-=* \
1117 |
--program-transform=* |
--program-transfor=* \
1118 |
--program-transfo=* |
--program-transf=* \
1119 |
--program-trans=* |
--program-tran=* \
1120 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1121 program_transform_name
=$ac_optarg ;;
1123 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1125 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1126 pdfdir
=$ac_optarg ;;
1128 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1130 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1133 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1134 |
-silent |
--silent |
--silen |
--sile |
--sil)
1137 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1139 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1141 sbindir
=$ac_optarg ;;
1143 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1144 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1145 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1147 ac_prev
=sharedstatedir
;;
1148 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1149 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1150 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1152 sharedstatedir
=$ac_optarg ;;
1154 -site |
--site |
--sit)
1156 -site=* |
--site=* |
--sit=*)
1159 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1161 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1162 srcdir
=$ac_optarg ;;
1164 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1165 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1166 ac_prev
=sysconfdir
;;
1167 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1168 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1169 sysconfdir
=$ac_optarg ;;
1171 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1172 ac_prev
=target_alias
;;
1173 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1174 target_alias
=$ac_optarg ;;
1176 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1179 -version |
--version |
--versio |
--versi |
--vers |
-V)
1180 ac_init_version
=: ;;
1183 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=\
$ac_optarg ;;
1198 -without-* |
--without-*)
1199 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 as_fn_error
"invalid package name: $ac_useropt"
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval with_
$ac_useropt=no
;;
1215 # Obsolete; use --with-x.
1218 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1219 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1220 ac_prev
=x_includes
;;
1221 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1222 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1223 x_includes
=$ac_optarg ;;
1225 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1226 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1227 ac_prev
=x_libraries
;;
1228 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1229 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1230 x_libraries
=$ac_optarg ;;
1232 -*) as_fn_error
"unrecognized option: \`$ac_option'
1233 Try \`$0 --help' for more information."
1237 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1238 # Reject names that are not valid shell variable names.
1239 case $ac_envvar in #(
1240 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1241 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1243 eval $ac_envvar=\
$ac_optarg
1244 export $ac_envvar ;;
1247 # FIXME: should be removed in autoconf 3.0.
1248 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1250 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1257 if test -n "$ac_prev"; then
1258 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1259 as_fn_error
"missing argument to $ac_option"
1262 if test -n "$ac_unrecognized_opts"; then
1263 case $enable_option_checking in
1265 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1266 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1270 # Check all directory arguments for consistency.
1271 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1272 datadir sysconfdir sharedstatedir localstatedir includedir \
1273 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1274 libdir localedir mandir
1276 eval ac_val
=\$
$ac_var
1277 # Remove trailing slashes.
1280 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1281 eval $ac_var=\
$ac_val;;
1283 # Be sure to have absolute directory names.
1285 [\\/$
]* | ?
:[\\/]* ) continue;;
1286 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1288 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1291 # There might be people who depend on the old broken behavior: `$host'
1292 # used to hold the argument of --host etc.
1293 # FIXME: To remove some day.
1296 target
=$target_alias
1298 # FIXME: To remove some day.
1299 if test "x$host_alias" != x
; then
1300 if test "x$build_alias" = x
; then
1301 cross_compiling
=maybe
1302 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1303 If a cross compiler is detected then cross compile mode will be used." >&2
1304 elif test "x$build_alias" != "x$host_alias"; then
1310 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1312 test "$silent" = yes && exec 6>/dev
/null
1315 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1316 ac_ls_di
=`ls -di .` &&
1317 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1318 as_fn_error
"working directory cannot be determined"
1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1320 as_fn_error
"pwd does not report name of working directory"
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted
=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir
=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted
=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1359 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1361 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1365 # When building in place, set srcdir=.
1366 if test "$ac_abs_confdir" = "$ac_pwd"; then
1369 # Remove unnecessary trailing slashes from srcdir.
1370 # Double slashes in file names in object file debugging info
1371 # mess up M-x gdb in Emacs.
1373 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 as_fn_error
"path to source, $srcdir, contains spaces"
1380 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1382 for ac_var
in $ac_precious_vars; do
1383 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1384 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1385 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1386 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1390 # Report the --help message.
1392 if test "$ac_init_help" = "long"; then
1393 # Omit some internal or obsolete options to make the list less imposing.
1394 # This message is too long to be a string in the A/UX 3.1 sh.
1396 \`configure' configures this package to adapt to many kinds of systems.
1398 Usage: $0 [OPTION]... [VAR=VALUE]...
1400 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401 VAR=VALUE. See below for descriptions of some of the useful variables.
1403 Defaults for the options are specified in brackets.
1406 -h, --help display this help and exit
1407 --help=short display options specific to this package
1408 --help=recursive display the short help of all the included packages
1409 -V, --version display version information and exit
1410 -q, --quiet, --silent do not print \`checking...' messages
1411 --cache-file=FILE cache test results in FILE [disabled]
1412 -C, --config-cache alias for \`--cache-file=config.cache'
1413 -n, --no-create do not create output files
1414 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1416 Installation directories:
1417 --prefix=PREFIX install architecture-independent files in PREFIX
1418 [$ac_default_prefix]
1419 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422 By default, \`make install' will install all the files in
1423 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425 for instance \`--prefix=\$HOME'.
1427 For better control, use the options below.
1429 Fine tuning of the installation directories:
1430 --bindir=DIR user executables [EPREFIX/bin]
1431 --sbindir=DIR system admin executables [EPREFIX/sbin]
1432 --libexecdir=DIR program executables [EPREFIX/libexec]
1433 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436 --libdir=DIR object code libraries [EPREFIX/lib]
1437 --includedir=DIR C header files [PREFIX/include]
1438 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1439 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441 --infodir=DIR info documentation [DATAROOTDIR/info]
1442 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443 --mandir=DIR man documentation [DATAROOTDIR/man]
1444 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1445 --htmldir=DIR html documentation [DOCDIR]
1446 --dvidir=DIR dvi documentation [DOCDIR]
1447 --pdfdir=DIR pdf documentation [DOCDIR]
1448 --psdir=DIR ps documentation [DOCDIR]
1454 --program-prefix=PREFIX prepend PREFIX to installed program names
1455 --program-suffix=SUFFIX append SUFFIX to installed program names
1456 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1459 --build=BUILD configure
for building on BUILD
[guessed
]
1460 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1461 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1465 if test -n "$ac_init_help"; then
1470 --disable-option-checking ignore unrecognized
--enable/--with options
1471 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1472 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1473 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1474 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1475 --disable-libquadmath do not build libquadmath directory
1476 --disable-libquadmath-support
1477 disable libquadmath support
for Fortran
1478 --enable-libada build libada directory
1479 --enable-libssp build libssp directory
1480 --disable-libstdcxx do not build libstdc
++-v3 directory
1481 --enable-static-libjava[=ARG
]
1482 build static libjava
[default
=no
]
1483 --enable-bootstrap enable bootstrapping
[yes if native build
]
1484 --disable-isl-version-check
1485 disable check
for ISL version
1486 --disable-cloog-version-check
1487 disable check
for CLooG version
1488 --enable-lto enable link
time optimization support
1489 --enable-linker-plugin-configure-flags=FLAGS
1490 additional flags
for configuring linker plugins
1492 --enable-linker-plugin-flags=FLAGS
1493 additional flags
for configuring and building linker
1495 --enable-stage1-languages[=all
]
1496 choose additional languages to build during stage1.
1497 Mostly useful
for compiler development
1498 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1500 --enable-vtable-verify Enable vtable verification feature
1501 --enable-serial-[{host,target,build}-]configure
1502 force sequential configuration of sub-packages for
1503 the host, target or build machine, or all
1505 --enable-upc-link-script
1506 enable UPC's use of a custom linker
script; this
1507 will define the UPC shared section as a no load
1508 section on targets where this feature is supported
1510 --enable-maintainer-mode
1511 enable make rules and dependencies not useful
(and
1512 sometimes confusing
) to the casual installer
1513 --enable-stage1-checking[=all
]
1514 choose additional checking
for stage1 of the
1516 --enable-werror enable -Werror in bootstrap stage2 and later
1517 --enable-host-shared build
host code as shared libraries
1520 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1521 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1522 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1523 --with-mpc=PATH specify prefix directory
for installed MPC package.
1524 Equivalent to
--with-mpc-include=PATH
/include plus
1525 --with-mpc-lib=PATH
/lib
1526 --with-mpc-include=PATH specify directory
for installed MPC include files
1527 --with-mpc-lib=PATH specify directory
for the installed MPC library
1528 --with-mpfr-dir=PATH this option has been REMOVED
1529 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1530 Equivalent to
--with-mpfr-include=PATH
/include plus
1531 --with-mpfr-lib=PATH
/lib
1532 --with-mpfr-include=PATH
1533 specify directory
for installed MPFR include files
1534 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1535 --with-gmp-dir=PATH this option has been REMOVED
1536 --with-gmp=PATH specify prefix directory
for the installed GMP
1537 package. Equivalent to
1538 --with-gmp-include=PATH
/include plus
1539 --with-gmp-lib=PATH
/lib
1540 --with-gmp-include=PATH specify directory
for installed GMP include files
1541 --with-gmp-lib=PATH specify directory
for the installed GMP library
1542 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1544 --with-stage1-libs=LIBS libraries
for stage1
1545 --with-stage1-ldflags=FLAGS
1546 linker flags
for stage1
1547 --with-boot-libs=LIBS libraries
for stage2 and later
1548 --with-boot-ldflags=FLAGS
1549 linker flags
for stage2 and later
1550 --with-cloog=PATH Specify prefix directory
for the installed CLooG-ISL
1551 package. Equivalent to
1552 --with-cloog-include=PATH
/include plus
1553 --with-cloog-lib=PATH
/lib
1554 --with-isl=PATH Specify prefix directory
for the installed ISL
1555 package. Equivalent to
1556 --with-isl-include=PATH
/include plus
1557 --with-isl-lib=PATH
/lib
1558 --with-isl-include=PATH Specify directory
for installed ISL include files
1559 --with-isl-lib=PATH Specify the directory
for the installed ISL library
1560 --with-cloog-include=PATH
1561 Specify directory
for installed CLooG include files
1562 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1564 --with-upc-pts={struct
,packed
}
1565 choose the default representation of a UPC
1567 --with-build-sysroot=SYSROOT
1568 use sysroot as the system root during the build
1569 --with-debug-prefix-map='A=B C=D ...'
1570 map A to B
, C to D ...
in debug information
1571 --with-build-config='NAME NAME2...'
1572 use config
/NAME.mk build configuration
1573 --with-build-time-tools=PATH
1574 use given path to
find target tools during the build
1576 Some influential environment variables
:
1577 CC C compiler
command
1578 CFLAGS C compiler flags
1579 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1580 nonstandard directory
<lib dir
>
1581 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1582 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1583 you have headers
in a nonstandard directory
<include dir
>
1584 CXX C
++ compiler
command
1585 CXXFLAGS C
++ compiler flags
1587 additional configure arguments
for build directories
1589 additional configure arguments
for host directories
1591 additional configure arguments
for target directories
1594 DLLTOOL DLLTOOL
for the
host
1596 LIPO LIPO
for the
host
1598 RANLIB RANLIB
for the
host
1599 STRIP STRIP
for the
host
1600 WINDRES WINDRES
for the
host
1601 WINDMC WINDMC
for the
host
1602 OBJCOPY OBJCOPY
for the
host
1603 OBJDUMP OBJDUMP
for the
host
1604 READELF READELF
for the
host
1614 GFORTRAN
for the target
1624 DLLTOOL
for the target
1632 OBJDUMP
for the target
1634 RANLIB
for the target
1636 READELF
for the target
1638 STRIP
for the target
1640 WINDRES
for the target
1642 WINDMC
for the target
1644 Use these variables to override the choices made by
`configure' or to help
1645 it to find libraries and programs with nonstandard names/locations.
1647 Report bugs to the package provider.
1652 if test "$ac_init_help" = "recursive"; then
1653 # If there are subdirs, report their specific --help.
1654 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1655 test -d "$ac_dir" ||
1656 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1663 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1664 # A ".." for each directory in $ac_dir_suffix.
1665 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1666 case $ac_top_builddir_sub in
1667 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1668 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1671 ac_abs_top_builddir=$ac_pwd
1672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1673 # for backward compatibility:
1674 ac_top_builddir=$ac_top_build_prefix
1677 .) # We are building in place.
1679 ac_top_srcdir=$ac_top_builddir_sub
1680 ac_abs_top_srcdir=$ac_pwd ;;
1681 [\\/]* | ?:[\\/]* ) # Absolute name.
1682 ac_srcdir=$srcdir$ac_dir_suffix;
1683 ac_top_srcdir=$srcdir
1684 ac_abs_top_srcdir=$srcdir ;;
1686 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1687 ac_top_srcdir=$ac_top_build_prefix$srcdir
1688 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1692 cd "$ac_dir" || { ac_status=$?; continue; }
1693 # Check for guested configure.
1694 if test -f "$ac_srcdir/configure.gnu"; then
1696 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1697 elif test -f "$ac_srcdir/configure"; then
1699 $SHELL "$ac_srcdir/configure" --help=recursive
1701 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1703 cd "$ac_pwd" || { ac_status=$?; break; }
1707 test -n "$ac_init_help" && exit $ac_status
1708 if $ac_init_version; then
1711 generated by GNU Autoconf 2.64
1713 Copyright (C) 2009 Free Software Foundation, Inc.
1714 This configure script is free software; the Free Software Foundation
1715 gives unlimited permission to copy, distribute and modify it.
1720 ## ------------------------ ##
1721 ## Autoconf initialization. ##
1722 ## ------------------------ ##
1724 # ac_fn_c_try_compile LINENO
1725 # --------------------------
1726 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1727 ac_fn_c_try_compile ()
1729 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730 rm -f conftest.$ac_objext
1731 if { { ac_try="$ac_compile"
1733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1734 *) ac_try_echo
=$ac_try;;
1736 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737 $as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_compile") 2>conftest.err
1740 if test -s conftest.err
; then
1741 grep -v '^ *+' conftest.err
>conftest.er1
1742 cat conftest.er1
>&5
1743 mv -f conftest.er1 conftest.err
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } && {
1747 test -z "$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 } && test -s conftest.
$ac_objext; then :
1752 $as_echo "$as_me: failed program was:" >&5
1753 sed 's/^/| /' conftest.
$ac_ext >&5
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1760 } # ac_fn_c_try_compile
1762 # ac_fn_cxx_try_compile LINENO
1763 # ----------------------------
1764 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1765 ac_fn_cxx_try_compile
()
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 rm -f conftest.
$ac_objext
1769 if { { ac_try
="$ac_compile"
1771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1772 *) ac_try_echo=$ac_try;;
1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_compile") 2>conftest.err
1778 if test -s conftest.err; then
1779 grep -v '^ *+' conftest.err >conftest.er1
1780 cat conftest.er1 >&5
1781 mv -f conftest.er1 conftest.err
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && {
1785 test -z "$ac_cxx_werror_flag" ||
1786 test ! -s conftest.err
1787 } && test -s conftest.$ac_objext; then :
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1798 } # ac_fn_cxx_try_compile
1800 # ac_fn_cxx_try_link LINENO
1801 # -------------------------
1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
1803 ac_fn_cxx_try_link ()
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 rm -f conftest.$ac_objext conftest$ac_exeext
1807 if { { ac_try="$ac_link"
1809 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1810 *) ac_try_echo
=$ac_try;;
1812 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1813 $as_echo "$ac_try_echo"; } >&5
1814 (eval "$ac_link") 2>conftest.err
1816 if test -s conftest.err
; then
1817 grep -v '^ *+' conftest.err
>conftest.er1
1818 cat conftest.er1
>&5
1819 mv -f conftest.er1 conftest.err
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && {
1823 test -z "$ac_cxx_werror_flag" ||
1824 test ! -s conftest.err
1825 } && test -s conftest
$ac_exeext && {
1826 test "$cross_compiling" = yes ||
1827 $as_test_x conftest
$ac_exeext
1831 $as_echo "$as_me: failed program was:" >&5
1832 sed 's/^/| /' conftest.
$ac_ext >&5
1836 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1837 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1838 # interfere with the next link command; also delete a directory that is
1839 # left behind by Apple's compiler. We do this before executing the actions.
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1844 } # ac_fn_cxx_try_link
1846 # ac_fn_c_try_link LINENO
1847 # -----------------------
1848 # Try to link conftest.$ac_ext, and return whether this succeeded.
1851 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1852 rm -f conftest.
$ac_objext conftest
$ac_exeext
1853 if { { ac_try
="$ac_link"
1855 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1856 *) ac_try_echo=$ac_try;;
1858 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1859 $as_echo "$ac_try_echo"; } >&5
1860 (eval "$ac_link") 2>conftest.err
1862 if test -s conftest.err; then
1863 grep -v '^ *+' conftest.err >conftest.er1
1864 cat conftest.er1 >&5
1865 mv -f conftest.er1 conftest.err
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && {
1869 test -z "$ac_c_werror_flag" ||
1870 test ! -s conftest.err
1871 } && test -s conftest$ac_exeext && {
1872 test "$cross_compiling" = yes ||
1873 $as_test_x conftest$ac_exeext
1877 $as_echo "$as_me: failed program was:" >&5
1878 sed 's/^/| /' conftest.$ac_ext >&5
1882 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1883 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1884 # interfere with the next link command; also delete a directory that is
1885 # left behind by Apple's compiler. We do this before executing the actions.
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890 } # ac_fn_c_try_link
1892 # ac_fn_c_try_run LINENO
1893 # ----------------------
1894 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1895 # that executables *can* be run.
1898 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1899 if { { ac_try="$ac_link"
1901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_link") 2>&5
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1910 { { case "(($ac_try" in
1911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_try") 2>&5
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; }; }; then :
1922 $as_echo "$as_me: program exited with status $ac_status" >&5
1923 $as_echo "$as_me: failed program was:" >&5
1924 sed 's/^/| /' conftest.$ac_ext >&5
1926 ac_retval=$ac_status
1928 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1929 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1933 cat >config.log <<_ACEOF
1934 This file contains any messages produced by compilers while
1935 running configure, to aid debugging if configure makes a mistake.
1937 It was created by $as_me, which was
1938 generated by GNU Autoconf 2.64. Invocation command line was
1950 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1951 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1952 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1953 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1954 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1956 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1957 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1959 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1960 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1961 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1962 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1963 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1964 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1965 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1973 test -z "$as_dir" && as_dir=.
1974 $as_echo "PATH: $as_dir"
1990 # Keep a trace of the command line.
1991 # Strip out --no-create and --no-recursion so they do not pile up.
1992 # Strip out --silent because we don't want to record it for future runs.
1993 # Also quote any args containing shell meta-characters.
1994 # Make two passes to allow for proper duplicate-argument suppression.
1998 ac_must_keep_next=false
2004 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2006 | -silent | --silent | --silen | --sile | --sil)
2009 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2012 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2014 as_fn_append ac_configure_args1 " '$ac_arg'"
2015 if test $ac_must_keep_next = true; then
2016 ac_must_keep_next=false # Got value, back to normal.
2019 *=* | --config-cache | -C | -disable-* | --disable-* \
2020 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2021 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2022 | -with-* | --with-* | -without-* | --without-* | --x)
2023 case "$ac_configure_args0 " in
2024 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2027 -* ) ac_must_keep_next=true ;;
2030 as_fn_append ac_configure_args " '$ac_arg'"
2035 { ac_configure_args0=; unset ac_configure_args0;}
2036 { ac_configure_args1=; unset ac_configure_args1;}
2038 # When interrupted or exit'd, cleanup temporary files, and complete
2039 # config.log. We remove comments because anyway the quotes in there
2040 # would cause problems or look ugly.
2041 # WARNING: Use '\'' to represent an apostrophe within the trap.
2042 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2043 trap 'exit_status=$?
2044 # Save into config.log some information that might help in debugging.
2049 ## ---------------- ##
2050 ## Cache variables. ##
2051 ## ---------------- ##
2054 # The following way of writing the cache mishandles newlines in values,
2056 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2057 eval ac_val=\$$ac_var
2061 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2062 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2065 _ | IFS | as_nl) ;; #(
2066 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2067 *) { eval $ac_var=; unset $ac_var;} ;;
2072 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2073 *${as_nl}ac_space=\ *)
2075 "s/'\''/'\''\\\\'\'''\''/g;
2076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2079 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2087 ## ----------------- ##
2088 ## Output variables. ##
2089 ## ----------------- ##
2092 for ac_var in $ac_subst_vars
2094 eval ac_val=\$$ac_var
2096 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2098 $as_echo "$ac_var='\''$ac_val'\''"
2102 if test -n "$ac_subst_files"; then
2104 ## ------------------- ##
2105 ## File substitutions. ##
2106 ## ------------------- ##
2109 for ac_var in $ac_subst_files
2111 eval ac_val=\$$ac_var
2113 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2115 $as_echo "$ac_var='\''$ac_val'\''"
2120 if test -s confdefs.h; then
2130 test "$ac_signal" != 0 &&
2131 $as_echo "$as_me: caught signal $ac_signal"
2132 $as_echo "$as_me: exit $exit_status"
2134 rm -f core *.core core.conftest.* &&
2135 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2138 for ac_signal in 1 2 13 15; do
2139 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2143 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2144 rm -f -r conftest* confdefs.h
2146 $as_echo "/* confdefs.h */" > confdefs.h
2148 # Predefined preprocessor variables.
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_NAME "$PACKAGE_NAME"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2158 cat >>confdefs.h <<_ACEOF
2159 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2162 cat >>confdefs.h <<_ACEOF
2163 #define PACKAGE_STRING "$PACKAGE_STRING"
2166 cat >>confdefs.h <<_ACEOF
2167 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2170 cat >>confdefs.h <<_ACEOF
2171 #define PACKAGE_URL "$PACKAGE_URL"
2175 # Let the site file select an alternate cache file if it wants to.
2176 # Prefer an explicitly selected file to automatically selected ones.
2179 if test -n "$CONFIG_SITE"; then
2180 ac_site_file1=$CONFIG_SITE
2181 elif test "x$prefix" != xNONE; then
2182 ac_site_file1=$prefix/share/config.site
2183 ac_site_file2=$prefix/etc/config.site
2185 ac_site_file1=$ac_default_prefix/share/config.site
2186 ac_site_file2=$ac_default_prefix/etc/config.site
2188 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2190 test "x$ac_site_file" = xNONE && continue
2191 if test -r "$ac_site_file"; then
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2193 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2194 sed 's/^/| /' "$ac_site_file" >&5
2199 if test -r "$cache_file"; then
2200 # Some versions of bash will fail to source /dev/null (special
2201 # files actually), so we avoid doing that.
2202 if test -f "$cache_file"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2204 $as_echo "$as_me: loading cache $cache_file" >&6;}
2206 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2207 *) . "./$cache_file";;
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2212 $as_echo "$as_me: creating cache $cache_file" >&6;}
2216 # Check that the precious variables saved in the cache have kept the same
2218 ac_cache_corrupted=false
2219 for ac_var in $ac_precious_vars; do
2220 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2221 eval ac_new_set=\$ac_env_${ac_var}_set
2222 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2223 eval ac_new_val=\$ac_env_${ac_var}_value
2224 case $ac_old_set,$ac_new_set in
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2227 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2228 ac_cache_corrupted=: ;;
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2231 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2232 ac_cache_corrupted=: ;;
2235 if test "x$ac_old_val" != "x$ac_new_val"; then
2236 # differences in whitespace do not lead to failure.
2237 ac_old_val_w=`echo x
$ac_old_val`
2238 ac_new_val_w=`echo x
$ac_new_val`
2239 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2241 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2242 ac_cache_corrupted=:
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2245 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2246 eval $ac_var=\$ac_old_val
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2249 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2251 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2254 # Pass precious variables to config.status.
2255 if test "$ac_new_set" = set; then
2257 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2258 *) ac_arg=$ac_var=$ac_new_val ;;
2260 case " $ac_configure_args " in
2261 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2262 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2266 if $ac_cache_corrupted; then
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2268 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2270 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2271 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2273 ## -------------------- ##
2274 ## Main body of script. ##
2275 ## -------------------- ##
2278 ac_cpp='$CPP $CPPFLAGS'
2279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 # if PWD already has a value, it is probably wrong.
2293 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2295 # Export original configure arguments for use by sub-configures.
2296 # Quote arguments with shell meta charatcers.
2297 TOPLEVEL_CONFIGURE_ARGUMENTS=
2298 set -- "$progname" "$@"
2302 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2303 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2304 # if the argument is of the form -foo=baz, quote the baz part only
2305 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2308 # Add the quoted argument to the list.
2309 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2311 if test "$silent" = yes; then
2312 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2314 # Remove the initial space we just introduced and, as these will be
2315 # expanded by make, quote '$'.
2316 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2319 # Find the build, host, and target systems.
2321 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2322 for ac_t in install-sh install.sh shtool; do
2323 if test -f "$ac_dir/$ac_t"; then
2325 ac_install_sh="$ac_aux_dir/$ac_t -c"
2330 if test -z "$ac_aux_dir"; then
2331 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2334 # These three variables are undocumented and unsupported,
2335 # and are intended to be withdrawn in a future Autoconf release.
2336 # They can cause serious problems if a builder's source tree is in a directory
2337 # whose full name contains unusual characters.
2338 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2339 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2340 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2343 # Make sure we can run config.sub.
2344 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2345 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2348 $as_echo_n "checking build system type... " >&6; }
2349 if test "${ac_cv_build+set}" = set; then :
2350 $as_echo_n "(cached) " >&6
2352 ac_build_alias=$build_alias
2353 test "x$ac_build_alias" = x &&
2354 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2355 test "x$ac_build_alias" = x &&
2356 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2357 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2358 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2362 $as_echo "$ac_cv_build" >&6; }
2363 case $ac_cv_build in
2365 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2368 ac_save_IFS=$IFS; IFS='-'
2374 # Remember, the first character of IFS is used to create $*,
2375 # except with old shells:
2378 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2381 case ${build_alias} in
2382 "") build_noncanonical=${build} ;;
2383 *) build_noncanonical=${build_alias} ;;
2388 case ${host_alias} in
2389 "") host_noncanonical=${build_noncanonical} ;;
2390 *) host_noncanonical=${host_alias} ;;
2395 case ${target_alias} in
2396 "") target_noncanonical=${host_noncanonical} ;;
2397 *) target_noncanonical=${target_alias} ;;
2403 test "$host_noncanonical" = "$target_noncanonical" &&
2404 test "$program_prefix$program_suffix$program_transform_name" = \
2406 program_transform_name=s,y,y,
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2409 $as_echo_n "checking host system type... " >&6; }
2410 if test "${ac_cv_host+set}" = set; then :
2411 $as_echo_n "(cached) " >&6
2413 if test "x$host_alias" = x; then
2414 ac_cv_host=$ac_cv_build
2416 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2417 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2422 $as_echo "$ac_cv_host" >&6; }
2425 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2428 ac_save_IFS=$IFS; IFS='-'
2434 # Remember, the first character of IFS is used to create $*,
2435 # except with old shells:
2438 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2442 $as_echo_n "checking target system type... " >&6; }
2443 if test "${ac_cv_target+set}" = set; then :
2444 $as_echo_n "(cached) " >&6
2446 if test "x$target_alias" = x; then
2447 ac_cv_target=$ac_cv_host
2449 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2450 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2455 $as_echo "$ac_cv_target" >&6; }
2456 case $ac_cv_target in
2458 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2460 target=$ac_cv_target
2461 ac_save_IFS=$IFS; IFS='-'
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2471 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2474 # The aliases save the names the user supplied, while $host etc.
2475 # will get canonicalized.
2476 test -n "$target_alias" &&
2477 test "$program_prefix$program_suffix$program_transform_name" = \
2479 program_prefix=${target_alias}-
2481 test "$program_prefix" != NONE &&
2482 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2483 # Use a double $ so make ignores it.
2484 test "$program_suffix" != NONE &&
2485 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2486 # Double any \ or $.
2487 # By default was `s
,x
,x
', remove it if useless.
2488 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2489 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2493 # Get 'install' or 'install-sh
' and its variants.
2494 # Find a good install program. We prefer a C program (faster),
2495 # so one script is as good as another. But avoid the broken or
2496 # incompatible versions:
2497 # SysV /etc/install, /usr/sbin/install
2498 # SunOS /usr/etc/install
2499 # IRIX /sbin/install
2501 # AmigaOS /C/install, which installs bootblocks on floppy discs
2502 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2503 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2504 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2505 # OS/2's system install, which has a completely different semantic
2506 # ./install, which can be erroneously created by make from ./install.sh.
2507 # Reject install programs that cannot install multiple files.
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2509 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2510 if test -z "$INSTALL"; then
2511 if test "${ac_cv_path_install+set}" = set; then :
2512 $as_echo_n "(cached) " >&6
2514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2518 test -z "$as_dir" && as_dir
=.
2519 # Account for people who put trailing slashes in PATH elements.
2520 case $as_dir/ in #((
2521 .
/ | .
// |
/[cC
]/* | \
2522 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2523 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2526 # OSF1 and SCO ODT 3.0 have their own names for install.
2527 # Don't use installbsd from OSF since it installs stuff as root
2529 for ac_prog
in ginstall scoinst
install; do
2530 for ac_exec_ext
in '' $ac_executable_extensions; do
2531 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2532 if test $ac_prog = install &&
2533 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2534 # AIX install. It has an incompatible calling convention.
2536 elif test $ac_prog = install &&
2537 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2538 # program-specific install script used by HP pwplus--don't use.
2541 rm -rf conftest.one conftest.two conftest.dir
2542 echo one
> conftest.one
2543 echo two
> conftest.two
2545 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2546 test -s conftest.one
&& test -s conftest.two
&&
2547 test -s conftest.dir
/conftest.one
&&
2548 test -s conftest.dir
/conftest.two
2550 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2563 rm -rf conftest.one conftest.two conftest.dir
2566 if test "${ac_cv_path_install+set}" = set; then
2567 INSTALL
=$ac_cv_path_install
2569 # As a last resort, use the slow shell script. Don't cache a
2570 # value for INSTALL within a source directory, because that will
2571 # break other packages using the cache if that directory is
2572 # removed, or if the value is a relative name.
2573 INSTALL
=$ac_install_sh
2576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2577 $as_echo "$INSTALL" >&6; }
2579 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2580 # It thinks the first close brace ends the variable substitution.
2581 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2583 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2585 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2588 $as_echo_n "checking whether ln works... " >&6; }
2589 if test "${acx_cv_prog_LN+set}" = set; then :
2590 $as_echo_n "(cached) " >&6
2592 rm -f conftestdata_t
2593 echo >conftestdata_f
2594 if ln conftestdata_f conftestdata_t
2>/dev
/null
2600 rm -f conftestdata_f conftestdata_t
2603 if test $acx_cv_prog_LN = no
; then
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2606 $as_echo "no, using $LN" >&6; }
2608 LN
="$acx_cv_prog_LN"
2609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2610 $as_echo "yes" >&6; }
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2614 $as_echo_n "checking whether ln -s works... " >&6; }
2616 if test "$LN_S" = "ln -s"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2618 $as_echo "yes" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2621 $as_echo "no, using $LN_S" >&6; }
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2625 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2626 if test "${ac_cv_path_SED+set}" = set; then :
2627 $as_echo_n "(cached) " >&6
2629 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2630 for ac_i
in 1 2 3 4 5 6 7; do
2631 ac_script
="$ac_script$as_nl$ac_script"
2633 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2634 { ac_script
=; unset ac_script
;}
2635 if test -z "$SED"; then
2636 ac_path_SED_found
=false
2637 # Loop through the user's path and test for each of PROGNAME-LIST
2638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2642 test -z "$as_dir" && as_dir
=.
2643 for ac_prog
in sed gsed
; do
2644 for ac_exec_ext
in '' $ac_executable_extensions; do
2645 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2646 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2647 # Check for GNU ac_path_SED and select it if it is found.
2648 # Check for GNU $ac_path_SED
2649 case `"$ac_path_SED" --version 2>&1` in
2651 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2654 $as_echo_n 0123456789 >"conftest.in"
2657 cat "conftest.in" "conftest.in" >"conftest.tmp"
2658 mv "conftest.tmp" "conftest.in"
2659 cp "conftest.in" "conftest.nl"
2660 $as_echo '' >> "conftest.nl"
2661 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2662 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2663 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2664 if test $ac_count -gt ${ac_path_SED_max-0}; then
2665 # Best one so far, save it but keep looking for a better one
2666 ac_cv_path_SED
="$ac_path_SED"
2667 ac_path_SED_max
=$ac_count
2669 # 10*(2^10) chars as input seems more than enough
2670 test $ac_count -gt 10 && break
2672 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2675 $ac_path_SED_found && break 3
2680 if test -z "$ac_cv_path_SED"; then
2681 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2689 $as_echo "$ac_cv_path_SED" >&6; }
2690 SED
="$ac_cv_path_SED"
2693 for ac_prog
in gawk mawk nawk
awk
2695 # Extract the first word of "$ac_prog", so it can be a program name with args.
2696 set dummy
$ac_prog; ac_word
=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_AWK+set}" = set; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$AWK"; then
2703 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 ac_cv_prog_AWK
="$ac_prog"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2723 if test -n "$AWK"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2725 $as_echo "$AWK" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2732 test -n "$AWK" && break
2736 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2738 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2740 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2741 INSTALL
="${srcpwd}/install-sh -c"
2744 # Set srcdir to "." if that's what it is.
2745 # This is important for multilib support.
2747 if test "${pwd}" = "${srcpwd}" ; then
2755 ### To add a new directory to the tree, first choose whether it is a target
2756 ### or a host dependent tool. Then put it into the appropriate list
2757 ### (library or tools, host or target), doing a dependency sort.
2759 # Subdirs will be configured in the order listed in build_configdirs,
2760 # configdirs, or target_configdirs; see the serialization section below.
2762 # Dependency sorting is only needed when *configuration* must be done in
2763 # a particular order. In all cases a dependency should be specified in
2764 # the Makefile, whether or not it's implicitly specified here.
2766 # Double entries in build_configdirs, configdirs, or target_configdirs may
2767 # cause circular dependencies and break everything horribly.
2769 # these library is used by various programs built for the build
2772 build_libs
="build-libiberty"
2774 # these tools are built for the build environment
2775 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2777 # these libraries are used by various programs built for the host environment
2779 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2781 # these tools are built for the host environment
2782 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2783 # know that we are building the simulator.
2784 # binutils, gas and ld appear in that order because it makes sense to run
2785 # "make check" in that particular order.
2786 # If --enable-gold is used, "gold" may replace "ld".
2787 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2789 # libgcj represents the runtime libraries only used by gcj.
2790 libgcj
="target-libffi \
2794 # these libraries are built for the target environment, and are built after
2795 # the host libraries and the host tools (which may be a cross compiler)
2796 # Note that libiberty is not a target library.
2797 target_libraries
="target-libgcc \
2798 target-libbacktrace \
2805 target-libstdc++-v3 \
2806 target-libsanitizer \
2809 target-libquadmath \
2810 target-libgfortran \
2818 # these tools are built using the target libraries, and are intended to
2819 # run only in the target environment
2821 # note: any program that *uses* libraries that are in the "target_libraries"
2822 # list belongs in this list.
2824 target_tools
="target-rda"
2826 ################################################################################
2828 ## All tools belong in one of the four categories, and are assigned above
2829 ## We assign ${configdirs} this way to remove all embedded newlines. This
2830 ## is important because configure will choke if they ever get through.
2831 ## ${configdirs} is directories we build using the host tools.
2832 ## ${target_configdirs} is directories we build using the target tools.
2833 configdirs
=`echo ${host_libs} ${host_tools}`
2834 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2835 build_configdirs
=`echo ${build_libs} ${build_tools}`
2839 ################################################################################
2841 srcname
="gnu development package"
2843 # This gets set non-empty for some net releases of packages.
2846 # Define is_cross_compiler to save on calls to 'test'.
2848 if test x
"${host}" = x
"${target}" ; then
2849 is_cross_compiler
=no
2851 is_cross_compiler
=yes
2854 # Find the build and target subdir names.
2856 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2857 # have matching libraries, they should use host libraries: Makefile.tpl
2858 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2859 # However, they still use the build modules, because the corresponding
2860 # host modules (e.g. bison) are only built for the host when bootstrap
2862 # - build_subdir is where we find build modules, and never changes.
2863 # - build_libsubdir is where we find build libraries, and can be overridden.
2865 # Prefix 'build-' so this never conflicts with target_subdir.
2866 build_subdir
="build-${build_noncanonical}"
2868 # Check whether --with-build-libsubdir was given.
2869 if test "${with_build_libsubdir+set}" = set; then :
2870 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2872 build_libsubdir
="$build_subdir"
2875 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2876 if ( test $srcdir = .
&& test -d gcc
) \
2877 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2878 host_subdir
="host-${host_noncanonical}"
2883 target_subdir
=${target_noncanonical}
2885 # Be sure to cover against remnants of an in-tree build.
2886 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2887 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2888 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2891 # Skipdirs are removed silently.
2893 # Noconfigdirs are removed loudly.
2897 # Make sure we don't let GNU ld be added if we didn't want it.
2898 if test x
$with_gnu_ld = xno
; then
2900 noconfigdirs
="$noconfigdirs ld gold"
2904 # Make sure we don't let GNU as be added if we didn't want it.
2905 if test x
$with_gnu_as = xno
; then
2907 noconfigdirs
="$noconfigdirs gas"
2911 # Make sure we don't let ZLIB be added if we didn't want it.
2912 if test x
$with_system_zlib = xyes
; then
2913 use_included_zlib
=no
2914 noconfigdirs
="$noconfigdirs zlib"
2917 # some tools are so dependent upon X11 that if we're not building with X,
2918 # it's not even worth trying to configure, much less build, that tool.
2921 yes |
"") ;; # the default value for this tree is that X11 is available
2923 skipdirs
="${skipdirs} tk itcl libgui"
2924 # We won't be able to build gdbtk without X.
2927 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2930 # Some are only suitable for cross toolchains.
2931 # Remove these if host=target.
2932 cross_only
="target-libgloss target-newlib target-opcodes"
2934 case $is_cross_compiler in
2935 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2938 # If both --with-headers and --with-libs are specified, default to
2940 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2941 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2942 if test x
"${with_newlib}" = x
; then
2947 # Recognize --with-newlib/--without-newlib.
2948 case ${with_newlib} in
2949 no
) skipdirs
="${skipdirs} target-newlib" ;;
2950 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2953 # Handle --enable-gold, --enable-ld.
2954 # --disable-gold [--enable-ld]
2955 # Build only ld. Default option.
2956 # --enable-gold [--enable-ld]
2957 # Build both gold and ld. Install gold as "ld.gold", install ld
2958 # as "ld.bfd" and "ld".
2959 # --enable-gold=default [--enable-ld]
2960 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2961 # install ld as "ld.bfd".
2962 # --enable-gold[=default] --disable-ld
2963 # Build only gold, which is then installed as both "ld.gold" and "ld".
2964 # --enable-gold --enable-ld=default
2965 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2967 # In other words, ld is default
2968 # --enable-gold=default --enable-ld=default
2972 # Check whether --enable-gold was given.
2973 if test "${enable_gold+set}" = set; then :
2974 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2979 case "${ENABLE_GOLD}" in
2981 # Check for ELF target.
2984 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2985 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2986 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2987 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2989 *-*-linux*aout
* |
*-*-linux*oldld
*)
2997 if test "$is_elf" = "yes"; then
2998 # Check for target supported by gold.
3000 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
3001 configdirs
="$configdirs gold"
3002 if test x
${ENABLE_GOLD} = xdefault
; then
3013 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3017 # Check whether --enable-ld was given.
3018 if test "${enable_ld+set}" = set; then :
3019 enableval
=$enable_ld; ENABLE_LD
=$enableval
3025 case "${ENABLE_LD}" in
3027 if test x
${default_ld} != x
; then
3028 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3034 if test x
${ENABLE_GOLD} != xyes
; then
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3036 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3038 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3041 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3045 # Configure extra directories which are host specific
3049 configdirs
="$configdirs libtermcap" ;;
3052 # A target can indicate whether a language isn't supported for some reason.
3053 # Only spaces may be used in this macro; not newlines or tabs.
3054 unsupported_languages
=
3056 # Remove more programs from consideration, based on the host or
3057 # target this usually means that a port of the program doesn't
3061 i
[3456789]86-*-msdosdjgpp*)
3062 noconfigdirs
="$noconfigdirs tcl tk itcl"
3067 # Check whether --enable-libquadmath was given.
3068 if test "${enable_libquadmath+set}" = set; then :
3069 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3071 ENABLE_LIBQUADMATH
=yes
3074 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3075 noconfigdirs
="$noconfigdirs target-libquadmath"
3079 # Check whether --enable-libquadmath-support was given.
3080 if test "${enable_libquadmath_support+set}" = set; then :
3081 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3083 ENABLE_LIBQUADMATH_SUPPORT
=yes
3086 enable_libquadmath_support
=
3087 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3088 enable_libquadmath_support
=no
3092 # Check whether --enable-libada was given.
3093 if test "${enable_libada+set}" = set; then :
3094 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3099 if test "${ENABLE_LIBADA}" != "yes" ; then
3100 noconfigdirs
="$noconfigdirs gnattools"
3103 # Check whether --enable-libssp was given.
3104 if test "${enable_libssp+set}" = set; then :
3105 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3111 # Check whether --enable-libstdcxx was given.
3112 if test "${enable_libstdcxx+set}" = set; then :
3113 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3115 ENABLE_LIBSTDCXX
=default
3118 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3119 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3122 # Save it here so that, even in case of --enable-libgcj, if the Java
3123 # front-end isn't enabled, we still get libgcj disabled.
3124 libgcj_saved
=$libgcj
3125 case $enable_libgcj in
3127 # If we reset it here, it won't get added to noconfigdirs in the
3128 # target-specific build rules, so it will be forcibly enabled
3129 # (unless the Java language itself isn't enabled).
3133 # Make sure we get it printed in the list of not supported target libs.
3134 # Don't disable libffi, though, other languages use it.
3135 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3136 # Clear libgcj_saved so that even if java is enabled libffi won't be
3142 # Check whether --enable-static-libjava was given.
3143 if test "${enable_static_libjava+set}" = set; then :
3144 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3146 ENABLE_STATIC_LIBJAVA
=no
3149 enable_static_libjava
=
3150 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3151 enable_static_libjava
=yes
3154 if test x
$enable_static_libjava != xyes
; then
3155 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3159 posix_based_os
="yes"
3161 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3163 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3165 *-*-solaris2* |
*-*-hpux11*)
3167 *-*-darwin* |
*-*-aix*)
3174 # Enable libgomp by default on POSIX hosted systems.
3175 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3176 # Disable libgomp on non POSIX hosted systems.
3177 noconfigdirs
="$noconfigdirs target-libgomp"
3180 # Enable libgupc by default on POSIX hosted systems.
3181 if test x
$enable_libgupc = x
-a $posix_based_os = "no" ; then
3182 # Disable libgupc on non POSIX hosted systems.
3183 noconfigdirs
="$noconfigdirs target-libgupc"
3186 # Disable libatomic on unsupported systems.
3187 if test -d ${srcdir}/libatomic
; then
3188 if test x
$enable_libatomic = x
; then
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3190 $as_echo_n "checking for libatomic support... " >&6; }
3191 if (srcdir
=${srcdir}/libatomic
; \
3192 .
${srcdir}/configure.tgt
; \
3193 test -n "$UNSUPPORTED")
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3196 $as_echo "no" >&6; }
3197 noconfigdirs
="$noconfigdirs target-libatomic"
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3200 $as_echo "yes" >&6; }
3205 # Disable libcilkrts on unsupported systems.
3206 if test -d ${srcdir}/libcilkrts
; then
3207 if test x
$enable_libcilkrts = x
; then
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3209 $as_echo_n "checking for libcilkrts support... " >&6; }
3210 if (srcdir
=${srcdir}/libcilkrts
; \
3211 .
${srcdir}/configure.tgt
; \
3212 test -n "$UNSUPPORTED")
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3216 noconfigdirs
="$noconfigdirs target-libcilkrts"
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3219 $as_echo "yes" >&6; }
3224 # Disable libitm on unsupported systems.
3225 if test -d ${srcdir}/libitm
; then
3226 if test x
$enable_libitm = x
; then
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3228 $as_echo_n "checking for libitm support... " >&6; }
3229 if (srcdir
=${srcdir}/libitm
; \
3230 .
${srcdir}/configure.tgt
; \
3231 test -n "$UNSUPPORTED")
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3234 $as_echo "no" >&6; }
3235 noconfigdirs
="$noconfigdirs target-libitm"
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3243 # Disable libsanitizer on unsupported systems.
3244 if test -d ${srcdir}/libsanitizer
; then
3245 if test x
$enable_libsanitizer = x
; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3247 $as_echo_n "checking for libsanitizer support... " >&6; }
3248 if (srcdir
=${srcdir}/libsanitizer
; \
3249 .
${srcdir}/configure.tgt
; \
3250 test -n "$UNSUPPORTED")
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253 $as_echo "no" >&6; }
3254 noconfigdirs
="$noconfigdirs target-libsanitizer"
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3257 $as_echo "yes" >&6; }
3262 # Disable libvtv on unsupported systems.
3263 if test -d ${srcdir}/libvtv
; then
3264 if test x
$enable_libvtv = x
; then
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3266 $as_echo_n "checking for libvtv support... " >&6; }
3267 if (srcdir
=${srcdir}/libvtv
; \
3268 .
${srcdir}/configure.tgt
; \
3269 test "$VTV_SUPPORTED" != "yes")
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272 $as_echo "no" >&6; }
3273 noconfigdirs
="$noconfigdirs target-libvtv"
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3276 $as_echo "yes" >&6; }
3281 # Disable libquadmath for some systems.
3284 noconfigdirs
="$noconfigdirs target-libquadmath"
3286 # libquadmath is unused on AIX and libquadmath build process use of
3287 # LD_LIBRARY_PATH can break AIX bootstrap.
3288 powerpc-
*-aix* | rs6000-
*-aix*)
3289 noconfigdirs
="$noconfigdirs target-libquadmath"
3293 # Disable libssp for some systems.
3296 # No hosted I/O support.
3297 noconfigdirs
="$noconfigdirs target-libssp"
3299 powerpc-
*-aix* | rs6000-
*-aix*)
3300 noconfigdirs
="$noconfigdirs target-libssp"
3303 # libssp uses a misaligned load to trigger a fault, but the RL78
3304 # doesn't fault for those - instead, it gives a build-time error
3305 # for explicit misaligned loads.
3306 noconfigdirs
="$noconfigdirs target-libssp"
3310 # Disable libstdc++-v3 for some systems.
3311 # Allow user to override this if they pass --enable-libstdc++-v3
3312 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3315 # VxWorks uses the Dinkumware C++ library.
3316 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3319 # the C++ libraries don't build on top of CE's C libraries
3320 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3323 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3328 # Disable Fortran for some systems.
3331 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3332 unsupported_languages
="$unsupported_languages fortran"
3336 # Disable Java if libffi is not supported.
3368 powerpc-
*-aix* | rs6000-
*-aix*)
3372 powerpc64-
*-freebsd*)
3376 s390-
*-* | s390x-
*-*)
3378 sh-
*-* | sh
[34]*-*-*)
3380 sh64-
*-* | sh5
*-*-*)
3387 unsupported_languages
="$unsupported_languages java"
3391 # Disable Java, libgcj or related libraries for some systems.
3395 i
[3456789]86-*-darwin*)
3397 x86_64-
*-darwin[912]*)
3400 noconfigdirs
="$noconfigdirs ${libgcj}"
3403 noconfigdirs
="$noconfigdirs ${libgcj}"
3406 noconfigdirs
="$noconfigdirs ${libgcj}"
3409 noconfigdirs
="$noconfigdirs ${libgcj}"
3412 noconfigdirs
="$noconfigdirs ${libgcj}"
3415 noconfigdirs
="$noconfigdirs ${libgcj}"
3418 noconfigdirs
="$noconfigdirs ${libgcj}"
3421 noconfigdirs
="$noconfigdirs ${libgcj}"
3424 noconfigdirs
="$noconfigdirs ${libgcj}"
3427 noconfigdirs
="$noconfigdirs target-boehm-gc"
3429 cris-
*-* | crisv32-
*-*)
3430 unsupported_languages
="$unsupported_languages java"
3434 *) # See PR46792 regarding target-libffi.
3435 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3439 # In this case, it's because the hppa64-linux target is for
3440 # the kernel only at this point and has no libc, and thus no
3441 # headers, crt*.o, etc., all of which are needed by these.
3442 unsupported_languages
="$unsupported_languages java"
3445 noconfigdirs
="$noconfigdirs ${libgcj}"
3450 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3451 # build on HP-UX 10.20.
3452 noconfigdirs
="$noconfigdirs ${libgcj}"
3455 noconfigdirs
="$noconfigdirs ${libgcj}"
3457 i
[3456789]86-w64-mingw*)
3458 noconfigdirs
="$noconfigdirs ${libgcj}"
3460 i
[3456789]86-*-mingw*)
3461 noconfigdirs
="$noconfigdirs ${libgcj}"
3464 noconfigdirs
="$noconfigdirs ${libgcj}"
3467 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3470 # copied from rs6000-*-* entry
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs ${libgcj}"
3481 # Disable libgo for some systems where it is known to not work.
3482 # For testing, you can easily override this with --enable-libgo.
3483 if test x
$enable_libgo = x
; then
3487 noconfigdirs
="$noconfigdirs target-libgo"
3489 *-*-cygwin* |
*-*-mingw*)
3490 noconfigdirs
="$noconfigdirs target-libgo"
3493 noconfigdirs
="$noconfigdirs target-libgo"
3498 # Default libgloss CPU subdirectory.
3499 libgloss_dir
="$target_cpu"
3502 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3506 libgloss_dir
=aarch64
3511 cris-
*-* | crisv32-
*-*)
3520 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3521 libgloss_dir
=m68hc11
3523 m68
*-*-* | fido-
*-*)
3537 # Disable newlib and libgloss for various target OSes.
3540 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3542 i
[3456789]86-*-linux*)
3543 # This section makes it possible to build newlib natively on linux.
3544 # If we are using a cross compiler then don't configure newlib.
3545 if test x
${is_cross_compiler} != xno
; then
3546 noconfigdirs
="$noconfigdirs target-newlib"
3548 noconfigdirs
="$noconfigdirs target-libgloss"
3549 # If we are not using a cross compiler, do configure newlib.
3550 # Note however, that newlib will only be configured in this situation
3551 # if the --with-newlib option has been given, because otherwise
3552 # 'target-newlib' will appear in skipdirs.
3554 i
[3456789]86-*-rdos*)
3555 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3557 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
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"
3578 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3597 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3608 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3609 noconfigdirs
="$noconfigdirs sim target-rda"
3611 i
[3456789]86-*-darwin*)
3612 noconfigdirs
="$noconfigdirs ld gprof"
3613 noconfigdirs
="$noconfigdirs sim target-rda"
3615 x86_64-
*-darwin[912]*)
3616 noconfigdirs
="$noconfigdirs ld gas gprof"
3617 noconfigdirs
="$noconfigdirs sim target-rda"
3620 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3621 noconfigdirs
="$noconfigdirs sim target-rda"
3626 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3627 && test -f /usr
/local
/include
/gmp.h
; then
3632 # Remove unsupported stuff on all kaOS configurations.
3633 noconfigdirs
="$noconfigdirs target-libgloss"
3640 noconfigdirs
="$noconfigdirs target-libgloss"
3642 # The tpf target doesn't support gdb yet.
3644 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3647 noconfigdirs
="$noconfigdirs target-rda"
3652 # ld works, but does not support shared libraries.
3653 # gas doesn't generate exception information.
3654 noconfigdirs
="$noconfigdirs gas ld"
3657 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3660 # newlib is not 64 bit ready
3661 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3663 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3664 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3667 noconfigdirs
="$noconfigdirs target-libgloss"
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3673 noconfigdirs
="$noconfigdirs ld target-libgloss"
3678 if test x
${with_avrlibc} != xno
; then
3679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3682 c4x-
*-* | tic4x-
*-*)
3683 noconfigdirs
="$noconfigdirs target-libgloss"
3686 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3689 noconfigdirs
="$noconfigdirs target-libgloss"
3692 noconfigdirs
="$noconfigdirs gdb"
3695 noconfigdirs
="$noconfigdirs gdb"
3698 noconfigdirs
="$noconfigdirs gprof"
3701 noconfigdirs
="$noconfigdirs target-libgloss"
3704 noconfigdirs
="$noconfigdirs target-libgloss"
3706 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3714 hppa
*-*-openbsd* | \
3718 noconfigdirs
="$noconfigdirs ld"
3723 noconfigdirs
="$noconfigdirs ld"
3726 noconfigdirs
="$noconfigdirs gdb"
3729 # No gdb support yet.
3730 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3733 # No ld support yet.
3734 noconfigdirs
="$noconfigdirs libgui itcl ld"
3737 # No ld support yet.
3738 noconfigdirs
="$noconfigdirs libgui itcl ld"
3740 i
[3456789]86-w64-mingw*)
3742 i
[3456789]86-*-mingw*)
3743 target_configdirs
="$target_configdirs target-winsup"
3746 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3747 noconfigdirs
="$noconfigdirs target-libgloss"
3748 # always build newlib if winsup directory is present.
3749 if test -d "$srcdir/winsup/cygwin"; then
3750 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3751 elif test -d "$srcdir/newlib"; then
3752 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3756 noconfigdirs
="$noconfigdirs target-libgloss"
3758 i
[3456789]86-*-sco3.2v5
*)
3759 # The linker does not yet know about weak symbols in COFF,
3760 # and is not configured to handle mixed ELF and COFF.
3761 noconfigdirs
="$noconfigdirs ld target-libgloss"
3763 i
[3456789]86-*-sco*)
3764 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3766 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3767 noconfigdirs
="$noconfigdirs target-libgloss"
3769 i
[3456789]86-*-sysv4*)
3770 noconfigdirs
="$noconfigdirs target-libgloss"
3772 i
[3456789]86-*-beos*)
3773 noconfigdirs
="$noconfigdirs gdb"
3775 i
[3456789]86-*-rdos*)
3776 noconfigdirs
="$noconfigdirs gdb"
3779 noconfigdirs
="$noconfigdirs gdb"
3782 noconfigdirs
="$noconfigdirs sim"
3785 # copied from rs6000-*-* entry
3786 noconfigdirs
="$noconfigdirs gprof"
3788 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3789 target_configdirs
="$target_configdirs target-winsup"
3790 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3791 # always build newlib.
3792 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3794 # This is temporary until we can link against shared libraries
3795 powerpcle-
*-solaris*)
3796 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3799 noconfigdirs
="$noconfigdirs gdb"
3802 noconfigdirs
="$noconfigdirs gprof"
3805 noconfigdirs
="$noconfigdirs gprof"
3808 noconfigdirs
="$noconfigdirs gprof"
3811 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3814 noconfigdirs
="$noconfigdirs gprof"
3816 mips
*-sde-elf* | mips
*-mti-elf*)
3817 if test x
$with_newlib = xyes
; then
3818 noconfigdirs
="$noconfigdirs gprof"
3822 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3825 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3828 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3832 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3833 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3834 noconfigdirs
="$noconfigdirs ld gas gprof"
3837 noconfigdirs
="$noconfigdirs gprof"
3844 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3848 if test x
${is_cross_compiler} = xno
; then
3853 noconfigdirs
="$noconfigdirs sim"
3855 tilepro
*-*-* | tilegx
*-*-*)
3856 noconfigdirs
="$noconfigdirs sim"
3859 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3862 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3866 # If we aren't building newlib, then don't build libgloss, since libgloss
3867 # depends upon some newlib header files.
3868 case "${noconfigdirs}" in
3869 *target-libgloss
*) ;;
3870 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3873 # Work in distributions that contain no compiler tools, like Autoconf.
3874 host_makefile_frag
=/dev
/null
3875 if test -d ${srcdir}/config
; then
3877 i
[3456789]86-*-msdosdjgpp*)
3878 host_makefile_frag
="config/mh-djgpp"
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3883 $as_echo_n "checking to see if cat works as expected... " >&6; }
3884 echo a
>cygwin-cat-check
3885 if test `cat cygwin-cat-check` = a
; then
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3888 $as_echo "yes" >&6; }
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3892 $as_echo "no" >&6; }
3893 as_fn_error
"The cat command does not ignore carriage return characters.
3894 Please either mount the build directory in binary mode or run the following
3895 commands before running any configure script:
3901 host_makefile_frag
="config/mh-cygwin"
3904 host_makefile_frag
="config/mh-mingw"
3907 host_makefile_frag
="config/mh-pa-hpux10"
3910 host_makefile_frag
="config/mh-pa"
3913 host_makefile_frag
="config/mh-pa"
3916 host_makefile_frag
="config/mh-darwin"
3919 host_makefile_frag
="config/mh-ppc-aix"
3922 host_makefile_frag
="config/mh-ppc-aix"
3927 if test "${build}" != "${host}" ; then
3928 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3929 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3930 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3931 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3932 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3933 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3934 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3935 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
3936 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3937 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3938 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3939 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3940 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3941 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3943 AR_FOR_BUILD
="\$(AR)"
3944 AS_FOR_BUILD
="\$(AS)"
3945 CC_FOR_BUILD
="\$(CC)"
3946 CXX_FOR_BUILD
="\$(CXX)"
3947 GCJ_FOR_BUILD
="\$(GCJ)"
3948 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3949 GOC_FOR_BUILD
="\$(GOC)"
3950 GUPC_FOR_BUILD
="\$(GUPC)"
3951 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3952 LD_FOR_BUILD
="\$(LD)"
3953 NM_FOR_BUILD
="\$(NM)"
3954 RANLIB_FOR_BUILD
="\$(RANLIB)"
3955 WINDRES_FOR_BUILD
="\$(WINDRES)"
3956 WINDMC_FOR_BUILD
="\$(WINDMC)"
3960 ac_cpp
='$CPP $CPPFLAGS'
3961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3964 if test -n "$ac_tool_prefix"; then
3965 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3966 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if test "${ac_cv_prog_CC+set}" = set; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$CC"; then
3973 ac_cv_prog_CC
="$CC" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 if test -n "$CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3995 $as_echo "$CC" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4003 if test -z "$ac_cv_prog_CC"; then
4005 # Extract the first word of "gcc", so it can be a program name with args.
4006 set dummy gcc
; ac_word
=$2
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4008 $as_echo_n "checking for $ac_word... " >&6; }
4009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4010 $as_echo_n "(cached) " >&6
4012 if test -n "$ac_ct_CC"; then
4013 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4022 ac_cv_prog_ac_ct_CC
="gcc"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4032 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4033 if test -n "$ac_ct_CC"; then
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4035 $as_echo "$ac_ct_CC" >&6; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4038 $as_echo "no" >&6; }
4041 if test "x$ac_ct_CC" = x
; then
4044 case $cross_compiling:$ac_tool_warned in
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4048 ac_tool_warned
=yes ;;
4056 if test -z "$CC"; then
4057 if test -n "$ac_tool_prefix"; then
4058 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4059 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if test "${ac_cv_prog_CC+set}" = set; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC
="$CC" # Let the user override the test.
4068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4072 test -z "$as_dir" && as_dir
=.
4073 for ac_exec_ext
in '' $ac_executable_extensions; do
4074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4075 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 if test -n "$CC"; then
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4088 $as_echo "$CC" >&6; }
4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4091 $as_echo "no" >&6; }
4097 if test -z "$CC"; then
4098 # Extract the first word of "cc", so it can be a program name with args.
4099 set dummy cc
; ac_word
=$2
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4101 $as_echo_n "checking for $ac_word... " >&6; }
4102 if test "${ac_cv_prog_CC+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4105 if test -n "$CC"; then
4106 ac_cv_prog_CC
="$CC" # Let the user override the test.
4109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4113 test -z "$as_dir" && as_dir
=.
4114 for ac_exec_ext
in '' $ac_executable_extensions; do
4115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4116 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4117 ac_prog_rejected
=yes
4121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 if test $ac_prog_rejected = yes; then
4129 # We found a bogon in the path, so make sure we never use it.
4130 set dummy
$ac_cv_prog_CC
4132 if test $# != 0; then
4133 # We chose a different compiler from the bogus one.
4134 # However, it has the same basename, so the bogon will be chosen
4135 # first if we set CC to just the basename; use the full file name.
4137 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4143 if test -n "$CC"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4145 $as_echo "$CC" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4153 if test -z "$CC"; then
4154 if test -n "$ac_tool_prefix"; then
4155 for ac_prog
in cl.exe
4157 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4158 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if test "${ac_cv_prog_CC+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$CC"; then
4165 ac_cv_prog_CC
="$CC" # Let the user override the test.
4167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir
=.
4172 for ac_exec_ext
in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 if test -n "$CC"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4187 $as_echo "$CC" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4194 test -n "$CC" && break
4197 if test -z "$CC"; then
4199 for ac_prog
in cl.exe
4201 # Extract the first word of "$ac_prog", so it can be a program name with args.
4202 set dummy
$ac_prog; ac_word
=$2
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4204 $as_echo_n "checking for $ac_word... " >&6; }
4205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4206 $as_echo_n "(cached) " >&6
4208 if test -n "$ac_ct_CC"; then
4209 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir
=.
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 ac_cv_prog_ac_ct_CC
="$ac_prog"
4219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4229 if test -n "$ac_ct_CC"; then
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4231 $as_echo "$ac_ct_CC" >&6; }
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4234 $as_echo "no" >&6; }
4238 test -n "$ac_ct_CC" && break
4241 if test "x$ac_ct_CC" = x
; then
4244 case $cross_compiling:$ac_tool_warned in
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4247 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4248 ac_tool_warned
=yes ;;
4257 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4259 as_fn_error
"no acceptable C compiler found in \$PATH
4260 See \`config.log' for more details." "$LINENO" 5; }
4262 # Provide some information about the compiler.
4263 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4266 for ac_option
in --version -v -V -qversion; do
4267 { { ac_try
="$ac_compiler $ac_option >&5"
4269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4270 *) ac_try_echo=$ac_try;;
4272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4273 $as_echo "$ac_try_echo"; } >&5
4274 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4276 if test -s conftest.err; then
4278 ... rest of stderr output deleted ...
4279 10q' conftest.err >conftest.er1
4280 cat conftest.er1 >&5
4281 rm -f conftest.er1 conftest.err
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4298 ac_clean_files_save=$ac_clean_files
4299 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4300 # Try to create an executable without -o first, disregard a.out.
4301 # It will help us diagnose broken compilers, and finding out an intuition
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4304 $as_echo_n "checking for C compiler default output file name... " >&6; }
4305 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4307 # The possible output files:
4308 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4311 for ac_file in $ac_files
4314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4315 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4320 if { { ac_try="$ac_link_default"
4322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4323 *) ac_try_echo
=$ac_try;;
4325 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4326 $as_echo "$ac_try_echo"; } >&5
4327 (eval "$ac_link_default") 2>&5
4329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4330 test $ac_status = 0; }; then :
4331 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4332 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4333 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4334 # so that the user can short-circuit this test for compilers unknown to
4336 for ac_file
in $ac_files ''
4338 test -f "$ac_file" ||
continue
4340 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4343 # We found the default executable, but exeext='' is most
4347 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4349 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4351 # We set ac_cv_exeext here because the later test for it is not
4352 # safe: cross compilers may not add the suffix if given an `-o'
4353 # argument, so we may need to know it at that point already.
4354 # Even if this section looks crufty: it has the advantage of
4361 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4367 $as_echo "$ac_file" >&6; }
4368 if test -z "$ac_file"; then :
4369 $as_echo "$as_me: failed program was:" >&5
4370 sed 's/^/| /' conftest.
$ac_ext >&5
4372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4374 { as_fn_set_status
77
4375 as_fn_error
"C compiler cannot create executables
4376 See \`config.log' for more details." "$LINENO" 5; }; }
4378 ac_exeext
=$ac_cv_exeext
4380 # Check that the compiler produces executables we can run. If not, either
4381 # the compiler is broken, or we cross compile.
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4383 $as_echo_n "checking whether the C compiler works... " >&6; }
4384 # If not cross compiling, check that we can run a simple program.
4385 if test "$cross_compiling" != yes; then
4386 if { ac_try
='./$ac_file'
4387 { { case "(($ac_try" in
4388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4389 *) ac_try_echo=$ac_try;;
4391 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_try") 2>&5
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; }; then
4399 if test "$cross_compiling" = maybe; then
4402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4404 as_fn_error "cannot run C compiled programs.
4405 If you meant to cross compile
, use \
`--host'.
4406 See \`config.log
' for more details." "$LINENO" 5; }
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4411 $as_echo "yes" >&6; }
4413 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4414 ac_clean_files=$ac_clean_files_save
4415 # Check that the compiler produces executables we can run. If not, either
4416 # the compiler is broken, or we cross compile.
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4418 $as_echo_n "checking whether we are cross compiling... " >&6; }
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4420 $as_echo "$cross_compiling" >&6; }
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4423 $as_echo_n "checking for suffix of executables... " >&6; }
4424 if { { ac_try="$ac_link"
4426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4430 $as_echo "$ac_try_echo"; } >&5
4431 (eval "$ac_link") 2>&5
4433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4434 test $ac_status = 0; }; then :
4435 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4436 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4437 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4439 for ac_file
in conftest.exe conftest conftest.
*; do
4440 test -f "$ac_file" ||
continue
4442 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4443 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4451 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4452 See \`config.log' for more details." "$LINENO" 5; }
4454 rm -f conftest
$ac_cv_exeext
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4456 $as_echo "$ac_cv_exeext" >&6; }
4458 rm -f conftest.
$ac_ext
4459 EXEEXT
=$ac_cv_exeext
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4462 $as_echo_n "checking for suffix of object files... " >&6; }
4463 if test "${ac_cv_objext+set}" = set; then :
4464 $as_echo_n "(cached) " >&6
4466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4467 /* end confdefs.h. */
4477 rm -f conftest.o conftest.obj
4478 if { { ac_try
="$ac_compile"
4480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4481 *) ac_try_echo=$ac_try;;
4483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4484 $as_echo "$ac_try_echo"; } >&5
4485 (eval "$ac_compile") 2>&5
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }; then :
4489 for ac_file in conftest.o conftest.obj conftest.*; do
4490 test -f "$ac_file" || continue;
4492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4493 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4498 $as_echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.$ac_ext >&5
4501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4503 as_fn_error "cannot compute suffix of object files
: cannot compile
4504 See \
`config.log' for more details." "$LINENO" 5; }
4506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4509 $as_echo "$ac_cv_objext" >&6; }
4510 OBJEXT=$ac_cv_objext
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4513 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4514 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4515 $as_echo_n "(cached) " >&6
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4531 if ac_fn_c_try_compile "$LINENO"; then :
4536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4537 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4541 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4542 if test $ac_compiler_gnu = yes; then
4547 ac_test_CFLAGS=${CFLAGS+set}
4548 ac_save_CFLAGS=$CFLAGS
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4550 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4551 if test "${ac_cv_prog_cc_g+set}" = set; then :
4552 $as_echo_n "(cached) " >&6
4554 ac_save_c_werror_flag=$ac_c_werror_flag
4555 ac_c_werror_flag=yes
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4569 if ac_fn_c_try_compile "$LINENO"; then :
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4584 if ac_fn_c_try_compile "$LINENO"; then :
4587 ac_c_werror_flag=$ac_save_c_werror_flag
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 ac_c_werror_flag=$ac_save_c_werror_flag
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4611 $as_echo "$ac_cv_prog_cc_g" >&6; }
4612 if test "$ac_test_CFLAGS" = set; then
4613 CFLAGS=$ac_save_CFLAGS
4614 elif test $ac_cv_prog_cc_g = yes; then
4615 if test "$GCC" = yes; then
4621 if test "$GCC" = yes; then
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4628 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4629 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4630 $as_echo_n "(cached) " >&6
4632 ac_cv_prog_cc_c89=no
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4638 #include <sys/types.h>
4639 #include <sys/stat.h>
4640 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4641 struct buf { int x; };
4642 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4643 static char *e (p, i)
4649 static char *f (char * (*g) (char **, int), char **p, ...)
4654 s = g (p, va_arg (v,int));
4659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4660 function prototypes and stuff, but not '\xHH' hex character constants.
4661 These don't provoke an error unfortunately, instead are silently treated
4662 as 'x'. The following induces an error, until -std is added to get
4663 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4664 array size at least. It's necessary to write '\x00'==0 to get something
4665 that's true only with -std. */
4666 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4668 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4669 inside strings and character constants. */
4671 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4673 int test (int i, double x);
4674 struct s1 {int (*f) (int a);};
4675 struct s2 {int (*f) (double a);};
4676 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4682 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4687 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4688 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4690 CC="$ac_save_CC $ac_arg"
4691 if ac_fn_c_try_compile "$LINENO"; then :
4692 ac_cv_prog_cc_c89=$ac_arg
4694 rm -f core conftest.err conftest.$ac_objext
4695 test "x$ac_cv_prog_cc_c89" != "xno" && break
4697 rm -f conftest.$ac_ext
4702 case "x$ac_cv_prog_cc_c89" in
4704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4705 $as_echo "none needed" >&6; } ;;
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4708 $as_echo "unsupported" >&6; } ;;
4710 CC="$CC $ac_cv_prog_cc_c89"
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4712 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4714 if test "x$ac_cv_prog_cc_c89" != xno; then :
4719 ac_cpp='$CPP $CPPFLAGS'
4720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4725 ac_cpp='$CXXCPP $CPPFLAGS'
4726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4729 if test -z "$CXX"; then
4730 if test -n "$CCC"; then
4733 if test -n "$ac_tool_prefix"; then
4734 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if test "${ac_cv_prog_CXX+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$CXX"; then
4744 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir=.
4751 for ac_exec_ext in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4764 if test -n "$CXX"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4766 $as_echo "$CXX" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 test -n "$CXX" && break
4776 if test -z "$CXX"; then
4778 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4780 # Extract the first word of "$ac_prog", so it can be a program name with args.
4781 set dummy $ac_prog; ac_word=$2
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4783 $as_echo_n "checking for $ac_word... " >&6; }
4784 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 if test -n "$ac_ct_CXX"; then
4788 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir=.
4795 for ac_exec_ext in '' $ac_executable_extensions; do
4796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4797 ac_cv_prog_ac_ct_CXX="$ac_prog"
4798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4807 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4808 if test -n "$ac_ct_CXX"; then
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4810 $as_echo "$ac_ct_CXX" >&6; }
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4813 $as_echo "no" >&6; }
4817 test -n "$ac_ct_CXX" && break
4820 if test "x$ac_ct_CXX" = x; then
4823 case $cross_compiling:$ac_tool_warned in
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4826 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4827 ac_tool_warned=yes ;;
4835 # Provide some information about the compiler.
4836 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4839 for ac_option in --version -v -V -qversion; do
4840 { { ac_try="$ac_compiler $ac_option >&5"
4842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4843 *) ac_try_echo
=$ac_try;;
4845 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4846 $as_echo "$ac_try_echo"; } >&5
4847 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4849 if test -s conftest.err
; then
4851 ... rest of stderr output deleted ...
4852 10q' conftest.err
>conftest.er1
4853 cat conftest.er1
>&5
4854 rm -f conftest.er1 conftest.err
4856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4857 test $ac_status = 0; }
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4861 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4862 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4866 /* end confdefs.h. */
4879 if ac_fn_cxx_try_compile
"$LINENO"; then :
4884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4885 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4889 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4890 if test $ac_compiler_gnu = yes; then
4895 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4896 ac_save_CXXFLAGS
=$CXXFLAGS
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4898 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4899 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4903 ac_cxx_werror_flag
=yes
4906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4907 /* end confdefs.h. */
4917 if ac_fn_cxx_try_compile
"$LINENO"; then :
4918 ac_cv_prog_cxx_g
=yes
4921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4922 /* end confdefs.h. */
4932 if ac_fn_cxx_try_compile
"$LINENO"; then :
4935 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4948 if ac_fn_cxx_try_compile
"$LINENO"; then :
4949 ac_cv_prog_cxx_g
=yes
4951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4956 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4959 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4960 if test "$ac_test_CXXFLAGS" = set; then
4961 CXXFLAGS
=$ac_save_CXXFLAGS
4962 elif test $ac_cv_prog_cxx_g = yes; then
4963 if test "$GXX" = yes; then
4969 if test "$GXX" = yes; then
4976 ac_cpp
='$CPP $CPPFLAGS'
4977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4982 # We must set the default linker to the linker used by gcc for the correct
4983 # operation of libtool. If LD is not defined and we are using gcc, try to
4984 # set the LD default to the ld used by gcc.
4985 if test -z "$LD"; then
4986 if test "$GCC" = yes; then
4989 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4991 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4993 case $gcc_prog_ld in
4994 # Accept absolute paths.
4995 [\\/]* |
[A-Za-z
]:[\\/]*)
4996 LD
="$gcc_prog_ld" ;;
5001 # Check whether -static-libstdc++ -static-libgcc is supported.
5003 if test "$GCC" = yes; then
5004 saved_LDFLAGS
="$LDFLAGS"
5006 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5008 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5010 ac_cpp
='$CXXCPP $CPPFLAGS'
5011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5017 /* end confdefs.h. */
5019 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5020 #error -static-libstdc++ not implemented
5024 if ac_fn_cxx_try_link
"$LINENO"; then :
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5026 $as_echo "yes" >&6; }; have_static_libs
=yes
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5029 $as_echo "no" >&6; }
5031 rm -f core conftest.err conftest.
$ac_objext \
5032 conftest
$ac_exeext conftest.
$ac_ext
5034 ac_cpp
='$CPP $CPPFLAGS'
5035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5040 LDFLAGS
="$saved_LDFLAGS"
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5048 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5052 $as_echo_n "(cached) " >&6
5054 if test -n "$GNATBIND"; then
5055 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 GNATBIND
=$ac_cv_prog_GNATBIND
5075 if test -n "$GNATBIND"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5077 $as_echo "$GNATBIND" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5085 if test -z "$ac_cv_prog_GNATBIND"; then
5086 ac_ct_GNATBIND
=$GNATBIND
5087 # Extract the first word of "gnatbind", so it can be a program name with args.
5088 set dummy gnatbind
; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$ac_ct_GNATBIND"; then
5095 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5115 if test -n "$ac_ct_GNATBIND"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5117 $as_echo "$ac_ct_GNATBIND" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5123 if test "x$ac_ct_GNATBIND" = x
; then
5126 case $cross_compiling:$ac_tool_warned in
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5129 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5130 ac_tool_warned
=yes ;;
5132 GNATBIND
=$ac_ct_GNATBIND
5135 GNATBIND
="$ac_cv_prog_GNATBIND"
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5140 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5142 $as_echo_n "checking for $ac_word... " >&6; }
5143 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5144 $as_echo_n "(cached) " >&6
5146 if test -n "$GNATMAKE"; then
5147 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5153 test -z "$as_dir" && as_dir
=.
5154 for ac_exec_ext
in '' $ac_executable_extensions; do
5155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5156 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5166 GNATMAKE
=$ac_cv_prog_GNATMAKE
5167 if test -n "$GNATMAKE"; then
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5169 $as_echo "$GNATMAKE" >&6; }
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5172 $as_echo "no" >&6; }
5177 if test -z "$ac_cv_prog_GNATMAKE"; then
5178 ac_ct_GNATMAKE
=$GNATMAKE
5179 # Extract the first word of "gnatmake", so it can be a program name with args.
5180 set dummy gnatmake
; ac_word
=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5186 if test -n "$ac_ct_GNATMAKE"; then
5187 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir
=.
5194 for ac_exec_ext
in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5206 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5207 if test -n "$ac_ct_GNATMAKE"; then
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5209 $as_echo "$ac_ct_GNATMAKE" >&6; }
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5215 if test "x$ac_ct_GNATMAKE" = x
; then
5218 case $cross_compiling:$ac_tool_warned in
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5221 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5222 ac_tool_warned
=yes ;;
5224 GNATMAKE
=$ac_ct_GNATMAKE
5227 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5231 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5232 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5233 $as_echo_n "(cached) " >&6
5235 cat >conftest.adb
<<EOF
5236 procedure conftest is begin null; end conftest;
5238 acx_cv_cc_gcc_supports_ada
=no
5239 # There is a bug in old released versions of GCC which causes the
5240 # driver to exit successfully when the appropriate language module
5241 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5242 # Therefore we must check for the error message as well as an
5243 # unsuccessful exit.
5244 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5245 # given a .adb file, but produce no object file. So we must check
5246 # if an object file was really produced to guard against this.
5247 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5248 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5249 acx_cv_cc_gcc_supports_ada
=yes
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5254 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5256 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5263 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5264 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5265 $as_echo_n "(cached) " >&6
5269 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5270 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5271 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5274 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5277 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5278 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5281 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5288 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5289 do_compare
="$gcc_cv_prog_cmp_skip"
5293 # Check whether --enable-bootstrap was given.
5294 if test "${enable_bootstrap+set}" = set; then :
5295 enableval
=$enable_bootstrap;
5297 enable_bootstrap
=default
5301 # Issue errors and warnings for invalid/strange bootstrap combinations.
5302 if test -r $srcdir/gcc
/configure
; then
5308 case "$have_compiler:$host:$target:$enable_bootstrap" in
5311 # Default behavior. Enable bootstrap if we have a compiler
5312 # and we are in a native configuration.
5313 yes:$build:$build:default
)
5314 enable_bootstrap
=yes ;;
5317 enable_bootstrap
=no
;;
5319 # We have a compiler and we are in a native configuration, bootstrap is ok
5320 yes:$build:$build:yes)
5323 # Other configurations, but we have a compiler. Assume the user knows
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5327 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5330 # No compiler: if they passed --enable-bootstrap explicitly, fail
5332 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5334 # Fail if wrong command line
5336 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5340 # Used for setting $lt_cv_objdir
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5342 $as_echo_n "checking for objdir... " >&6; }
5343 if test "${lt_cv_objdir+set}" = set; then :
5344 $as_echo_n "(cached) " >&6
5346 rm -f .libs
2>/dev
/null
5347 mkdir .libs
2>/dev
/null
5348 if test -d .libs
; then
5351 # MS-DOS does not allow filenames that begin with a dot.
5354 rmdir .libs
2>/dev
/null
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5357 $as_echo "$lt_cv_objdir" >&6; }
5358 objdir
=$lt_cv_objdir
5364 cat >>confdefs.h
<<_ACEOF
5365 #define LT_OBJDIR "$lt_cv_objdir/"
5370 # Check for GMP, MPFR and MPC
5371 gmplibs
="-lmpc -lmpfr -lgmp"
5375 # Specify a location for mpc
5376 # check for this first so it ends up on the link line before mpfr.
5378 # Check whether --with-mpc was given.
5379 if test "${with_mpc+set}" = set; then :
5384 # Check whether --with-mpc-include was given.
5385 if test "${with_mpc_include+set}" = set; then :
5386 withval
=$with_mpc_include;
5390 # Check whether --with-mpc-lib was given.
5391 if test "${with_mpc_lib+set}" = set; then :
5392 withval
=$with_mpc_lib;
5396 if test "x$with_mpc" != x
; then
5397 gmplibs
="-L$with_mpc/lib $gmplibs"
5398 gmpinc
="-I$with_mpc/include $gmpinc"
5400 if test "x$with_mpc_include" != x
; then
5401 gmpinc
="-I$with_mpc_include $gmpinc"
5403 if test "x$with_mpc_lib" != x
; then
5404 gmplibs
="-L$with_mpc_lib $gmplibs"
5406 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5407 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5408 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5409 # Do not test the mpc version. Assume that it is sufficient, since
5410 # it is in the source tree, and the library has not been built yet
5411 # but it would be included on the link line in the version check below
5412 # hence making the test fail.
5416 # Specify a location for mpfr
5417 # check for this first so it ends up on the link line before gmp.
5419 # Check whether --with-mpfr-dir was given.
5420 if test "${with_mpfr_dir+set}" = set; then :
5421 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5422 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5427 # Check whether --with-mpfr was given.
5428 if test "${with_mpfr+set}" = set; then :
5433 # Check whether --with-mpfr-include was given.
5434 if test "${with_mpfr_include+set}" = set; then :
5435 withval
=$with_mpfr_include;
5439 # Check whether --with-mpfr-lib was given.
5440 if test "${with_mpfr_lib+set}" = set; then :
5441 withval
=$with_mpfr_lib;
5445 if test "x$with_mpfr" != x
; then
5446 gmplibs
="-L$with_mpfr/lib $gmplibs"
5447 gmpinc
="-I$with_mpfr/include $gmpinc"
5449 if test "x$with_mpfr_include" != x
; then
5450 gmpinc
="-I$with_mpfr_include $gmpinc"
5452 if test "x$with_mpfr_lib" != x
; then
5453 gmplibs
="-L$with_mpfr_lib $gmplibs"
5455 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5456 # MPFR v3.1.0 moved the sources into a src sub-directory.
5457 if test -d ${srcdir}/mpfr
/src
; then
5458 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5459 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5460 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5462 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5463 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5464 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5466 # Do not test the mpfr version. Assume that it is sufficient, since
5467 # it is in the source tree, and the library has not been built yet
5468 # but it would be included on the link line in the version check below
5469 # hence making the test fail.
5473 # Specify a location for gmp
5475 # Check whether --with-gmp-dir was given.
5476 if test "${with_gmp_dir+set}" = set; then :
5477 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5478 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5483 # Check whether --with-gmp was given.
5484 if test "${with_gmp+set}" = set; then :
5489 # Check whether --with-gmp-include was given.
5490 if test "${with_gmp_include+set}" = set; then :
5491 withval
=$with_gmp_include;
5495 # Check whether --with-gmp-lib was given.
5496 if test "${with_gmp_lib+set}" = set; then :
5497 withval
=$with_gmp_lib;
5502 if test "x$with_gmp" != x
; then
5503 gmplibs
="-L$with_gmp/lib $gmplibs"
5504 gmpinc
="-I$with_gmp/include $gmpinc"
5506 if test "x$with_gmp_include" != x
; then
5507 gmpinc
="-I$with_gmp_include $gmpinc"
5509 if test "x$with_gmp_lib" != x
; then
5510 gmplibs
="-L$with_gmp_lib $gmplibs"
5512 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5513 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5514 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5515 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5516 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5517 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5518 # Do not test the gmp version. Assume that it is sufficient, since
5519 # it is in the source tree, and the library has not been built yet
5520 # but it would be included on the link line in the version check below
5521 # hence making the test fail.
5525 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5527 saved_CFLAGS
="$CFLAGS"
5528 CFLAGS
="$CFLAGS $gmpinc"
5529 # Check for the recommended and required versions of GMP.
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5531 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5540 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5541 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5542 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5550 if ac_fn_c_try_compile
"$LINENO"; then :
5551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5552 /* end confdefs.h. */
5558 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5559 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5560 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5568 if ac_fn_c_try_compile
"$LINENO"; then :
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5570 $as_echo "yes" >&6; }
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5573 $as_echo "buggy but acceptable" >&6; }
5575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5578 $as_echo "no" >&6; }; have_gmp
=no
5580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5582 # If we have GMP, check the MPFR version.
5583 if test x
"$have_gmp" = xyes
; then
5584 # Check for the recommended and required versions of MPFR.
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5586 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5595 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5603 if ac_fn_c_try_compile
"$LINENO"; then :
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5612 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5620 if ac_fn_c_try_compile
"$LINENO"; then :
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5622 $as_echo "yes" >&6; }
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5625 $as_echo "buggy but acceptable" >&6; }
5627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5630 $as_echo "no" >&6; }; have_gmp
=no
5632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5635 # Check for the MPC header version.
5636 if test x
"$have_gmp" = xyes
; then
5637 # Check for the recommended and required versions of MPC.
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5639 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5641 /* end confdefs.h. */
5647 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5655 if ac_fn_c_try_compile
"$LINENO"; then :
5656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5663 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5671 if ac_fn_c_try_compile
"$LINENO"; then :
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5673 $as_echo "yes" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5676 $as_echo "buggy but acceptable" >&6; }
5678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5681 $as_echo "no" >&6; }; have_gmp
=no
5683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5686 # Now check the MPFR library.
5687 if test x
"$have_gmp" = xyes
; then
5689 LIBS
="$LIBS $gmplibs"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5691 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5705 mpfr_atan2 (n, n, x, GMP_RNDN);
5706 mpfr_erfc (n, x, GMP_RNDN);
5707 mpfr_subnormalize (x, t, GMP_RNDN);
5711 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5712 mpc_cosh (c, c, MPC_RNDNN);
5713 mpc_pow (c, c, c, MPC_RNDNN);
5714 mpc_acosh (c, c, MPC_RNDNN);
5721 if ac_fn_c_try_link
"$LINENO"; then :
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5723 $as_echo "yes" >&6; }
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5726 $as_echo "no" >&6; }; have_gmp
=no
5728 rm -f core conftest.err conftest.
$ac_objext \
5729 conftest
$ac_exeext conftest.
$ac_ext
5733 CFLAGS
="$saved_CFLAGS"
5735 # The library versions listed in the error message below should match
5736 # the HARD-minimums enforced above.
5737 if test x
$have_gmp != xyes
; then
5738 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5739 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5740 their locations. Source code for these libraries can be found at
5741 their respective hosting sites as well as at
5742 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5743 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5744 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5745 make sure that you have installed both the libraries and the header
5746 files. They may be located in separate packages." "$LINENO" 5
5750 # Flags needed for both GMP, MPFR and/or MPC.
5758 # Allow host libstdc++ to be specified for static linking with PPL.
5760 # Check whether --with-host-libstdcxx was given.
5761 if test "${with_host_libstdcxx+set}" = set; then :
5762 withval
=$with_host_libstdcxx;
5766 case $with_host_libstdcxx in
5768 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5772 # Libraries to use for stage1 or when not bootstrapping.
5774 # Check whether --with-stage1-libs was given.
5775 if test "${with_stage1_libs+set}" = set; then :
5776 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5779 stage1_libs
=$withval
5782 stage1_libs
=$with_host_libstdcxx
5787 # Linker flags to use for stage1 or when not bootstrapping.
5789 # Check whether --with-stage1-ldflags was given.
5790 if test "${with_stage1_ldflags+set}" = set; then :
5791 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5794 stage1_ldflags
=$withval
5798 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5799 # if supported. But if the user explicitly specified the libraries to use,
5800 # trust that they are doing what they want.
5801 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5802 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5808 # Libraries to use for stage2 and later builds. This defaults to the
5809 # argument passed to --with-host-libstdcxx.
5811 # Check whether --with-boot-libs was given.
5812 if test "${with_boot_libs+set}" = set; then :
5813 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5816 poststage1_libs
=$withval
5819 poststage1_libs
=$with_host_libstdcxx
5824 # Linker flags to use for stage2 and later builds.
5826 # Check whether --with-boot-ldflags was given.
5827 if test "${with_boot_ldflags+set}" = set; then :
5828 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5831 poststage1_ldflags
=$withval
5835 # In stages 2 and 3, default to linking libstdc++ and libgcc
5836 # statically. But if the user explicitly specified the libraries to
5837 # use, trust that they are doing what they want.
5838 if test "$poststage1_libs" = ""; then
5839 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5845 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5846 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5850 # Check whether --with-cloog was given.
5851 if test "${with_cloog+set}" = set; then :
5852 withval
=$with_cloog;
5856 # Check whether --with-isl was given.
5857 if test "${with_isl+set}" = set; then :
5862 # Treat either --without-cloog or --without-isl as a request to disable
5863 # GRAPHITE support and skip all following checks.
5864 if test "x$with_isl" != "xno" &&
5865 test "x$with_cloog" != "xno"; then
5869 # Check whether --with-isl-include was given.
5870 if test "${with_isl_include+set}" = set; then :
5871 withval
=$with_isl_include;
5875 # Check whether --with-isl-lib was given.
5876 if test "${with_isl_lib+set}" = set; then :
5877 withval
=$with_isl_lib;
5881 # Check whether --enable-isl-version-check was given.
5882 if test "${enable_isl_version_check+set}" = set; then :
5883 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5885 ENABLE_ISL_CHECK
=yes
5889 # Initialize isllibs and islinc.
5898 isllibs
="-L$with_isl/lib"
5899 islinc
="-I$with_isl/include"
5902 if test "x${with_isl_include}" != x
; then
5903 islinc
="-I$with_isl_include"
5905 if test "x${with_isl_lib}" != x
; then
5906 isllibs
="-L$with_isl_lib"
5908 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5909 && test -d ${srcdir}/isl
; then
5910 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5911 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5914 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5919 if test "${ENABLE_ISL_CHECK}" = yes ; then
5920 _isl_saved_CFLAGS
=$CFLAGS
5921 _isl_saved_LDFLAGS
=$LDFLAGS
5922 _isl_saved_LIBS
=$LIBS
5924 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5925 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5926 LIBS
="${_isl_saved_LIBS} -lisl"
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5929 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5930 if test "$cross_compiling" = yes; then :
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5935 #include <isl/version.h>
5940 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5947 if ac_fn_c_try_run
"$LINENO"; then :
5952 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5953 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5957 $as_echo "$gcc_cv_isl" >&6; }
5959 CFLAGS
=$_isl_saved_CFLAGS
5960 LDFLAGS
=$_isl_saved_LDFLAGS
5961 LIBS
=$_isl_saved_LIBS
5965 if test "${gcc_cv_isl}" = no
; then
5967 if test "${ENABLE_ISL_CHECK}" = yes ; then
5968 _isl_saved_CFLAGS
=$CFLAGS
5969 _isl_saved_LDFLAGS
=$LDFLAGS
5970 _isl_saved_LIBS
=$LIBS
5972 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5973 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5974 LIBS
="${_isl_saved_LIBS} -lisl"
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5
5977 $as_echo_n "checking for version 0.11 of ISL... " >&6; }
5978 if test "$cross_compiling" = yes; then :
5981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5982 /* end confdefs.h. */
5983 #include <isl/version.h>
5988 if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
5995 if ac_fn_c_try_run
"$LINENO"; then :
6000 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6001 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6005 $as_echo "$gcc_cv_isl" >&6; }
6007 CFLAGS
=$_isl_saved_CFLAGS
6008 LDFLAGS
=$_isl_saved_LDFLAGS
6009 LIBS
=$_isl_saved_LIBS
6013 if test "${gcc_cv_isl}" = no
; then
6015 if test "${ENABLE_ISL_CHECK}" = yes ; then
6016 _isl_saved_CFLAGS
=$CFLAGS
6017 _isl_saved_LDFLAGS
=$LDFLAGS
6018 _isl_saved_LIBS
=$LIBS
6020 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6021 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
6022 LIBS
="${_isl_saved_LIBS} -lisl"
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
6025 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
6026 if test "$cross_compiling" = yes; then :
6029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6030 /* end confdefs.h. */
6031 #include <isl/version.h>
6036 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
6043 if ac_fn_c_try_run
"$LINENO"; then :
6048 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6049 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6053 $as_echo "$gcc_cv_isl" >&6; }
6055 CFLAGS
=$_isl_saved_CFLAGS
6056 LDFLAGS
=$_isl_saved_LDFLAGS
6057 LIBS
=$_isl_saved_LIBS
6067 if test "x${with_isl}" = xno
; then
6068 graphite_requested
=no
6069 elif test "x${with_isl}" != x \
6070 ||
test "x${with_isl_include}" != x \
6071 ||
test "x${with_isl_lib}" != x
; then
6072 graphite_requested
=yes
6074 graphite_requested
=no
6079 if test "${gcc_cv_isl}" = no
; then
6084 if test "${graphite_requested}" = yes \
6085 && test "x${isllibs}" = x \
6086 && test "x${islinc}" = x
; then
6088 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6093 if test "x$gcc_cv_isl" != "xno"; then
6097 # Check whether --with-cloog-include was given.
6098 if test "${with_cloog_include+set}" = set; then :
6099 withval
=$with_cloog_include;
6103 # Check whether --with-cloog-lib was given.
6104 if test "${with_cloog_lib+set}" = set; then :
6105 withval
=$with_cloog_lib;
6109 # Check whether --enable-cloog-version-check was given.
6110 if test "${enable_cloog_version_check+set}" = set; then :
6111 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
6113 ENABLE_CLOOG_CHECK
=yes
6117 # Initialize clooglibs and clooginc.
6126 clooglibs
="-L$with_cloog/lib"
6127 clooginc
="-I$with_cloog/include"
6130 if test "x${with_cloog_include}" != x
; then
6131 clooginc
="-I$with_cloog_include"
6133 if test "x${with_cloog_lib}" != x
; then
6134 clooglibs
="-L$with_cloog_lib"
6136 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6137 && test -d ${srcdir}/cloog
; then
6138 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6139 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
6140 ENABLE_CLOOG_CHECK
=no
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6142 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6145 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6146 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
6152 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6153 _cloog_saved_CFLAGS
=$CFLAGS
6154 _cloog_saved_LDFLAGS
=$LDFLAGS
6156 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6157 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
6160 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include "cloog/version.h"
6167 #if CLOOG_VERSION_MAJOR != 0 \
6168 || CLOOG_VERSION_MINOR != 17 \
6169 || CLOOG_VERSION_REVISION < 0
6176 if ac_fn_c_try_compile
"$LINENO"; then :
6181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6183 $as_echo "$gcc_cv_cloog" >&6; }
6185 CFLAGS
=$_cloog_saved_CFLAGS
6186 LDFLAGS
=$_cloog_saved_LDFLAGS
6190 if test "${gcc_cv_cloog}" = no
; then
6194 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6195 _cloog_saved_CFLAGS
=$CFLAGS
6196 _cloog_saved_LDFLAGS
=$LDFLAGS
6198 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6199 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.0 of CLooG" >&5
6202 $as_echo_n "checking for version 0.18.0 of CLooG... " >&6; }
6203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6204 /* end confdefs.h. */
6205 #include "cloog/version.h"
6209 #if CLOOG_VERSION_MAJOR != 0 \
6210 || CLOOG_VERSION_MINOR != 18 \
6211 || CLOOG_VERSION_REVISION < 0
6218 if ac_fn_c_try_compile
"$LINENO"; then :
6223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6225 $as_echo "$gcc_cv_cloog" >&6; }
6227 CFLAGS
=$_cloog_saved_CFLAGS
6228 LDFLAGS
=$_cloog_saved_LDFLAGS
6238 if test "x${with_cloog}" = xno
; then
6239 graphite_requested
=no
6240 elif test "x${with_cloog}" != x \
6241 ||
test "x${with_cloog_include}" != x \
6242 ||
test "x${with_cloog_lib}" != x
; then
6243 graphite_requested
=yes
6245 graphite_requested
=no
6250 if test "${gcc_cv_cloog}" = no
; then
6255 if test "${graphite_requested}" = yes \
6256 && test "x${clooglibs}" = x \
6257 && test "x${clooginc}" = x
; then
6259 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6266 # If either the ISL or the CLooG check failed, disable builds of in-tree
6268 if test "x$with_isl" = xno ||
6269 test "x$with_cloog" = xno ||
6270 test "x$gcc_cv_cloog" = xno ||
6271 test "x$gcc_cv_isl" = xno
; then
6272 noconfigdirs
="$noconfigdirs cloog isl"
6283 # Check for LTO support.
6284 # Check whether --enable-lto was given.
6285 if test "${enable_lto+set}" = set; then :
6286 enableval
=$enable_lto; enable_lto
=$enableval
6288 enable_lto
=yes; default_enable_lto
=yes
6297 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6298 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6299 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6307 if test $target_elf = yes; then :
6308 # ELF platforms build the lto-plugin always.
6309 build_lto_plugin
=yes
6312 if test x
"$default_enable_lto" = x
"yes" ; then
6314 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6315 # On other non-ELF platforms, LTO has yet to be validated.
6319 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6320 # It would also be nice to check the binutils support, but we don't
6321 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6322 # warn during gcc/ subconfigure; unless you're bootstrapping with
6323 # -flto it won't be needed until after installation anyway.
6325 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6326 *) if test x
"$enable_lto" = x
"yes"; then
6327 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6332 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6333 # Build it unless LTO was explicitly disabled.
6335 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6342 # Check whether --enable-linker-plugin-configure-flags was given.
6343 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6344 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6346 extra_linker_plugin_configure_flags
=
6350 # Check whether --enable-linker-plugin-flags was given.
6351 if test "${enable_linker_plugin_flags+set}" = set; then :
6352 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6354 extra_linker_plugin_flags
=
6360 # By default, C and C++ are the only stage 1 languages.
6361 stage1_languages
=,c
,
6363 # Target libraries that we bootstrap.
6364 bootstrap_target_libs
=,target-libgcc
,
6366 # Figure out what language subdirectories are present.
6367 # Look if the user specified --enable-languages="..."; if not, use
6368 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6370 # NB: embedded tabs in this IF block -- do not untabify
6371 if test -d ${srcdir}/gcc
; then
6372 if test x
"${enable_languages+set}" != xset
; then
6373 if test x
"${LANGUAGES+set}" = xset
; then
6374 enable_languages
="${LANGUAGES}"
6375 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6377 enable_languages
=all
6380 if test x
"${enable_languages}" = x ||
6381 test x
"${enable_languages}" = xyes
;
6383 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6387 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6389 # 'f95' is the old name for the 'fortran' language. We issue a warning
6390 # and make the substitution.
6391 case ,${enable_languages}, in
6393 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6394 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6398 # If bootstrapping, C++ must be enabled.
6399 case ",$enable_languages,:$enable_bootstrap" in
6402 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6403 enable_languages
="${enable_languages},c++"
6405 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6410 # First scan to see if an enabled language requires some other language.
6411 # We assume that a given config-lang.in will list all the language
6412 # front ends it requires, even if some are required indirectly.
6413 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6414 case ${lang_frag} in
6416 # The odd quoting in the next line works around
6417 # an apparent bug in bash 1.12 on linux.
6418 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6420 # From the config-lang.in, get $language, $lang_requires, and
6421 # $lang_requires_boot_languages.
6424 lang_requires_boot_languages
=
6426 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6427 case ,${enable_languages}, in
6431 echo " \`$other' language required by \`$language'; enabling" 1>&2
6432 enable_languages
="${enable_languages},${other}"
6436 for other
in ${lang_requires_boot_languages} ; do
6437 if test "$other" != "c"; then
6438 case ,${enable_stage1_languages}, in
6442 case ,${enable_languages}, in
6444 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6445 enable_stage1_languages
="$enable_stage1_languages,${other}"
6456 new_enable_languages
=,c
,
6458 # If LTO is enabled, add the LTO front end.
6459 extra_host_libiberty_configure_flags
=
6460 if test "$enable_lto" = "yes" ; then
6461 case ,${enable_languages}, in
6463 *) enable_languages
="${enable_languages},lto" ;;
6465 if test "${build_lto_plugin}" = "yes" ; then
6466 configdirs
="$configdirs lto-plugin"
6467 extra_host_libiberty_configure_flags
=--enable-shared
6472 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6473 potential_languages
=,c
,
6475 enabled_target_libs
=
6476 disabled_target_libs
=
6478 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6479 case ${lang_frag} in
6481 # The odd quoting in the next line works around
6482 # an apparent bug in bash 1.12 on linux.
6483 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6485 # From the config-lang.in, get $language, $target_libs,
6486 # $lang_dirs, $boot_language, and $build_by_default
6492 build_by_default
=yes
6494 if test x
${language} = x
; then
6495 echo "${lang_frag} doesn't set \$language." 1>&2
6499 if test "$language" = "c++"; then
6504 case ,${enable_languages}, in
6506 # Language was explicitly selected; include it
6507 # unless it is C, which is enabled by default.
6508 if test "$language" != "c"; then
6513 # 'all' was selected, select it if it is a default language
6514 if test "$language" != "c"; then
6515 add_this_lang
=${build_by_default}
6520 # Disable languages that need other directories if these aren't available.
6521 for i
in $subdir_requires; do
6522 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6523 case ,${enable_languages}, in
6525 # Specifically requested language; tell them.
6526 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6530 add_this_lang
=unsupported
6535 # Disable Ada if no preexisting GNAT is available.
6536 case ,${enable_languages},:${language}:${have_gnat} in
6537 *,${language},*:ada
:no
)
6538 # Specifically requested language; tell them.
6539 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6543 add_this_lang
=unsupported
6547 # Disable a language that is unsupported by the target.
6548 case " $unsupported_languages " in
6550 add_this_lang
=unsupported
6554 case $add_this_lang in
6556 # Remove language-dependent dirs.
6557 disabled_target_libs
="$disabled_target_libs $target_libs"
6558 noconfigdirs
="$noconfigdirs $lang_dirs"
6561 # Remove language-dependent dirs; still show language as supported.
6562 disabled_target_libs
="$disabled_target_libs $target_libs"
6563 noconfigdirs
="$noconfigdirs $lang_dirs"
6564 potential_languages
="${potential_languages}${language},"
6567 new_enable_languages
="${new_enable_languages}${language},"
6568 potential_languages
="${potential_languages}${language},"
6569 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6570 enabled_target_libs
="$enabled_target_libs $target_libs"
6571 case "${boot_language}:,$enable_stage1_languages," in
6572 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6573 # Add to (comma-separated) list of stage 1 languages.
6574 case ",$stage1_languages," in
6575 *,$language,* |
,yes, |
,all
,) ;;
6576 *) stage1_languages
="${stage1_languages}${language}," ;;
6578 # We need to bootstrap any supporting libraries.
6579 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6588 # Add target libraries which are only needed for disabled languages
6590 if test -n "$disabled_target_libs"; then
6591 for dir
in $disabled_target_libs; do
6592 case " $enabled_target_libs " in
6594 *) noconfigdirs
="$noconfigdirs $dir" ;;
6599 # Check whether --enable-stage1-languages was given.
6600 if test "${enable_stage1_languages+set}" = set; then :
6601 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6603 # Set it to something that will have no effect in the loop below
6604 enable_stage1_languages
=c
;;
6606 enable_stage1_languages
=`echo $new_enable_languages | \
6607 sed -e "s/^,//" -e "s/,$//" ` ;;
6609 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6610 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6613 # Add "good" languages from enable_stage1_languages to stage1_languages,
6614 # while "bad" languages go in missing_languages. Leave no duplicates.
6615 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6616 case $potential_languages in
6618 case $stage1_languages in
6620 *) stage1_languages
="$stage1_languages$i," ;;
6623 case $missing_languages in
6625 *) missing_languages
="$missing_languages$i," ;;
6632 # Remove leading/trailing commas that were added for simplicity
6633 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6634 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6635 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6636 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6638 if test "x$missing_languages" != x
; then
6640 The following requested languages could not be built: ${missing_languages}
6641 Supported languages are: ${potential_languages}" "$LINENO" 5
6643 if test "x$new_enable_languages" != "x$enable_languages"; then
6644 echo The following languages will be built
: ${new_enable_languages}
6645 enable_languages
="$new_enable_languages"
6649 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6652 # Handle --disable-<component> generically.
6653 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6654 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6655 varname
=`echo $dirname | sed -e s/+/_/g`
6656 if eval test x\
${enable_${varname}} "=" xno
; then
6657 noconfigdirs
="$noconfigdirs $dir"
6661 # Check for Boehm's garbage collector
6662 # Check whether --enable-objc-gc was given.
6663 if test "${enable_objc_gc+set}" = set; then :
6664 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6665 *,objc
,*:*:yes:*target-boehm-gc
*)
6666 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6672 # Make sure we only build Boehm's garbage collector if required.
6673 case ,${enable_languages},:${enable_objc_gc} in
6675 # Keep target-boehm-gc if requested for Objective-C.
6678 # Otherwise remove target-boehm-gc depending on target-libjava.
6679 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6680 noconfigdirs
="$noconfigdirs target-boehm-gc"
6686 # Check whether --with-upc-pts was given.
6687 if test "${with_upc_pts+set}" = set; then :
6688 withval
=$with_upc_pts;
6689 if test "$withval"x
!= "struct"x
&& test "$withval"x
!= "packed"x
; then \
6690 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6696 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6697 case ,${enable_languages}, in
6699 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6700 case "${noconfigdirs}" in
6701 *target-libstdc
++-v3*)
6702 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6708 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6712 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6713 # $build_configdirs and $target_configdirs.
6714 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6717 for dir
in .
$skipdirs $noconfigdirs ; do
6718 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6719 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6720 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6721 if test -r $srcdir/$dirname/configure
; then
6722 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6725 notsupp
="$notsupp $dir"
6729 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6730 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6731 if test -r $srcdir/$dirname/configure
; then
6732 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6735 notsupp
="$notsupp $dir"
6739 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6740 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6741 if test -r $srcdir/$dirname/configure
; then
6742 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6745 notsupp
="$notsupp $dir"
6751 # Quietly strip out all directories which aren't configurable in this tree.
6752 # This relies on all configurable subdirectories being autoconfiscated, which
6754 build_configdirs_all
="$build_configdirs"
6756 for i
in ${build_configdirs_all} ; do
6757 j
=`echo $i | sed -e s/build-//g`
6758 if test -f ${srcdir}/$j/configure
; then
6759 build_configdirs
="${build_configdirs} $i"
6763 configdirs_all
="$configdirs"
6765 for i
in ${configdirs_all} ; do
6766 if test -f ${srcdir}/$i/configure
; then
6767 configdirs
="${configdirs} $i"
6771 target_configdirs_all
="$target_configdirs"
6773 for i
in ${target_configdirs_all} ; do
6774 j
=`echo $i | sed -e s/target-//g`
6775 if test -f ${srcdir}/$j/configure
; then
6776 target_configdirs
="${target_configdirs} $i"
6780 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6781 # so we have to add it after the preceding checks.
6782 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6784 case " $configdirs " in
6786 # If we can build libiberty, we can also build libiberty-linker-plugin.
6787 configdirs
="$configdirs libiberty-linker-plugin"
6788 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6789 --with-libiberty=../libiberty-linker-plugin";;
6791 as_fn_error
"libiberty missing" "$LINENO" 5;;
6795 # Produce a warning message for the subdirs we can't configure.
6796 # This isn't especially interesting in the Cygnus tree, but in the individual
6797 # FSF releases, it's important to let people know when their machine isn't
6798 # supported by the one or two programs in a package.
6800 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6801 # If $appdirs is non-empty, at least one of those directories must still
6802 # be configured, or we error out. (E.g., if the gas release supports a
6803 # specified target in some subdirs but not the gas subdir, we shouldn't
6804 # pretend that all is well.)
6805 if test -n "$appdirs" ; then
6806 for dir
in $appdirs ; do
6807 if test -r $dir/Makefile.
in ; then
6808 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6812 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6818 if test -n "$appdirs" ; then
6819 echo "*** This configuration is not supported by this package." 1>&2
6823 # Okay, some application will build, or we don't care to check. Still
6824 # notify of subdirs not getting built.
6825 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6826 echo " ${notsupp}" 1>&2
6827 echo " (Any other directories should still work fine.)" 1>&2
6835 # To find our prefix, in gcc_cv_tool_prefix.
6837 # The user is always right.
6838 if test "${PATH_SEPARATOR+set}" != set; then
6839 echo "#! /bin/sh" >conf$$.sh
6840 echo "exit 0" >>conf$$.sh
6842 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6852 if test "x$exec_prefix" = xNONE
; then
6853 if test "x$prefix" = xNONE
; then
6854 gcc_cv_tool_prefix
=$ac_default_prefix
6856 gcc_cv_tool_prefix
=$prefix
6859 gcc_cv_tool_prefix
=$exec_prefix
6862 # If there is no compiler in the tree, use the PATH only. In any
6863 # case, if there is no compiler in the tree nobody should use
6864 # AS_FOR_TARGET and LD_FOR_TARGET.
6865 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6866 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6867 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6868 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6869 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6870 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6871 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6872 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6877 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6878 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6886 # Check whether --with-build-sysroot was given.
6887 if test "${with_build_sysroot+set}" = set; then :
6888 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6889 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6892 SYSROOT_CFLAGS_FOR_TARGET
=
6898 # Check whether --with-debug-prefix-map was given.
6899 if test "${with_debug_prefix_map+set}" = set; then :
6900 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6901 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6902 for debug_map
in $withval; do
6903 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6907 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6912 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6913 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6914 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6915 # We want to ensure that TARGET libraries (which we know are built with
6916 # gcc) are built with "-O2 -g", so include those options when setting
6917 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6918 if test "x$CFLAGS_FOR_TARGET" = x
; then
6919 CFLAGS_FOR_TARGET
=$CFLAGS
6922 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6925 *" -g "* |
*" -g3 "*) ;;
6926 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6931 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6932 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6933 case " $CXXFLAGS " in
6935 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6937 case " $CXXFLAGS " in
6938 *" -g "* |
*" -g3 "*) ;;
6939 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6946 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6947 # the named directory are copied to $(tooldir)/sys-include.
6948 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6949 if test x
${is_cross_compiler} = xno
; then
6950 echo 1>&2 '***' --with-headers is only supported when cross compiling
6953 if test x
"${with_headers}" != xyes
; then
6954 x
=${gcc_cv_tool_prefix}
6955 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6959 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6960 # the name directories are copied to $(tooldir)/lib. Multiple directories
6962 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6963 if test x
${is_cross_compiler} = xno
; then
6964 echo 1>&2 '***' --with-libs is only supported when cross compiling
6967 if test x
"${with_libs}" != xyes
; then
6968 # Copy the libraries in reverse order, so that files in the first named
6969 # library override files in subsequent libraries.
6970 x
=${gcc_cv_tool_prefix}
6971 for l
in ${with_libs}; do
6972 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6977 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6979 # This is done by determining whether or not the appropriate directory
6980 # is available, and by checking whether or not specific configurations
6981 # have requested that this magic not happen.
6983 # The command line options always override the explicit settings in
6984 # configure.in, and the settings in configure.in override this magic.
6986 # If the default for a toolchain is to use GNU as and ld, and you don't
6987 # want to do that, then you should use the --without-gnu-as and
6988 # --without-gnu-ld options for the configure script. Similarly, if
6989 # the default is to use the included zlib and you don't want to do that,
6990 # you should use the --with-system-zlib option for the configure script.
6992 if test x
${use_gnu_as} = x
&&
6993 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6995 extra_host_args
="$extra_host_args --with-gnu-as"
6998 if test x
${use_gnu_ld} = x
&&
6999 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
7001 extra_host_args
="$extra_host_args --with-gnu-ld"
7004 if test x
${use_included_zlib} = x
&&
7005 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
7008 with_system_zlib
=yes
7009 extra_host_args
="$extra_host_args --with-system-zlib"
7012 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
7013 # can detect this case.
7015 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
7017 extra_host_args
="$extra_host_args --with-newlib"
7020 # Handle ${copy_dirs}
7021 set fnord
${copy_dirs}
7023 while test $# != 0 ; do
7024 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
7027 echo Copying
$1 to
$2
7029 # Use the install script to create the directory and all required
7030 # parent directories.
7031 if test -d $2 ; then
7035 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
7038 # Copy the directory, assuming we have tar.
7039 # FIXME: Should we use B in the second tar? Not all systems support it.
7040 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7042 # It is the responsibility of the user to correctly adjust all
7043 # symlinks. If somebody can figure out how to handle them correctly
7044 # here, feel free to add the code.
7051 # Determine a target-dependent exec_prefix that the installed
7052 # gcc will search in. Keep this list sorted by triplet, with
7053 # the *-*-osname triplets last.
7056 i
[34567]86-pc-msdosdjgpp*)
7057 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7062 md_exec_prefix
=/usr
/ccs
/bin
7066 extra_arflags_for_target
=
7067 extra_nmflags_for_target
=
7068 extra_ranlibflags_for_target
=
7069 target_makefile_frag
=/dev
/null
7072 target_makefile_frag
="config/mt-spu"
7074 mips
*-sde-elf* | mips
*-mti-elf*)
7075 target_makefile_frag
="config/mt-sde"
7077 mipsisa
*-*-elfoabi*)
7078 target_makefile_frag
="config/mt-mips-elfoabi"
7080 mips
*-*-*linux
* | mips
*-*-gnu*)
7081 target_makefile_frag
="config/mt-mips-gnu"
7084 target_makefile_frag
="config/mt-nios2-elf"
7086 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7087 target_makefile_frag
="config/mt-gnu"
7089 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7090 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7091 # commands to handle both 32-bit and 64-bit objects. These flags are
7092 # harmless if we're using GNU nm or ar.
7093 extra_arflags_for_target
=" -X32_64"
7094 extra_nmflags_for_target
=" -B -X32_64"
7098 alphaieee_frag
=/dev
/null
7101 # This just makes sure to use the -mieee option to build target libs.
7102 # This should probably be set individually by each library.
7103 alphaieee_frag
="config/mt-alphaieee"
7107 # If --enable-target-optspace always use -Os instead of -O2 to build
7108 # the target libraries, similarly if it is not specified, use -Os
7109 # on selected platforms.
7110 ospace_frag
=/dev
/null
7111 case "${enable_target_optspace}:${target}" in
7113 ospace_frag
="config/mt-ospace"
7116 ospace_frag
="config/mt-d30v"
7118 :m32r-
* |
:d10v-
* |
:fr30-
*)
7119 ospace_frag
="config/mt-ospace"
7124 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7128 # Some systems (e.g., one of the i386-aix systems the gas testers are
7129 # using) don't handle "\$" correctly, so don't use it here.
7130 tooldir
='${exec_prefix}'/${target_noncanonical}
7131 build_tooldir
=${tooldir}
7133 # Create a .gdbinit file which runs the one in srcdir
7134 # and tells GDB to look there for source files.
7136 if test -r ${srcdir}/.gdbinit
; then
7139 *) cat > .
/.gdbinit
<<EOF
7143 source ${srcdir}/.gdbinit
7149 # Make sure that the compiler is able to generate an executable. If it
7150 # can't, we are probably in trouble. We don't care whether we can run the
7151 # executable--we might be using a cross compiler--we only care whether it
7152 # can be created. At this point the main configure script has set CC.
7154 echo "int main () { return 0; }" > conftest.c
7155 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7156 if test $?
= 0 ; then
7157 if test -s conftest ||
test -s conftest.exe
; then
7163 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7164 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7171 # Decide which environment variable is used to find dynamic libraries.
7173 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7174 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7175 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7176 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7179 # On systems where the dynamic library environment variable is PATH,
7180 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7181 # built executables to PATH.
7182 if test "$RPATH_ENVVAR" = PATH
; then
7183 GCC_SHLIB_SUBDIR
=/shlib
7188 # Adjust the toplevel makefile according to whether bootstrap was selected.
7189 case $enable_bootstrap in
7191 bootstrap_suffix
=bootstrap
7192 BUILD_CONFIG
=bootstrap-debug
7195 bootstrap_suffix
=no-bootstrap
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7201 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7204 # Check whether --with-build-config was given.
7205 if test "${with_build_config+set}" = set; then :
7206 withval
=$with_build_config; case $with_build_config in
7207 yes) with_build_config
= ;;
7208 no
) with_build_config
= BUILD_CONFIG
= ;;
7213 if test "x${with_build_config}" != x
; then
7214 BUILD_CONFIG
=$with_build_config
7216 case $BUILD_CONFIG in
7218 if echo "int f (void) { return 0; }" > conftest.c
&&
7219 ${CC} -c conftest.c
&&
7220 mv conftest.o conftest.o.g0
&&
7221 ${CC} -c -g conftest.c
&&
7222 mv conftest.o conftest.o.g
&&
7223 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7228 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7233 $as_echo "$BUILD_CONFIG" >&6; }
7236 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7238 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7239 # Check whether --enable-vtable-verify was given.
7240 if test "${enable_vtable_verify+set}" = set; then :
7241 enableval
=$enable_vtable_verify; case "$enableval" in
7242 yes) enable_vtable_verify
=yes ;;
7243 no
) enable_vtable_verify
=no
;;
7244 *) enable_vtable_verify
=no
;;
7247 enable_vtable_verify
=no
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7251 $as_echo "$enable_vtable_verify" >&6; }
7253 # Record target_configdirs and the configure arguments for target and
7254 # build configuration in Makefile.
7255 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7256 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7257 bootstrap_fixincludes
=no
7259 # If we are building libgomp, bootstrap it.
7260 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7261 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7264 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7265 # or bootstrap-ubsan, bootstrap it.
7266 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7267 case "$BUILD_CONFIG" in
7268 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7269 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7270 bootstrap_fixincludes
=yes
7275 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7276 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7277 test "$enable_vtable_verify" != no
; then
7278 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7281 # Determine whether gdb needs tk/tcl or not.
7282 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7283 # and in that case we want gdb to be built without tk. Ugh!
7284 # In fact I believe gdb is the *only* package directly dependent on tk,
7285 # so we should be able to put the 'maybe's in unconditionally and
7286 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7287 # 100% sure that that's safe though.
7289 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7290 case "$enable_gdbtk" in
7294 GDB_TK
="${gdb_tk}" ;;
7296 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7297 # distro. Eventually someone will fix this and move Insight, nee
7298 # gdbtk to a separate directory.
7299 if test -d ${srcdir}/gdb
/gdbtk
; then
7306 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7307 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7309 # Strip out unwanted targets.
7311 # While at that, we remove Makefiles if we were started for recursive
7312 # configuration, so that the top-level Makefile reconfigures them,
7313 # like we used to do when configure itself was recursive.
7315 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7316 # but now we're fixing up the Makefile ourselves with the additional
7317 # commands passed to AC_CONFIG_FILES. Use separate variables
7318 # extrasub-{build,host,target} not because there is any reason to split
7319 # the substitutions up that way, but only to remain below the limit of
7320 # 99 commands in a script, for HP-UX sed.
7321 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7323 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7324 yes:yes:*\ gold\
*:*,c
++,*) ;;
7325 yes:yes:*\ gold\
*:*)
7326 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7331 for module
in ${build_configdirs} ; do
7332 if test -z "${no_recursion}" \
7333 && test -f ${build_subdir}/${module}/Makefile
; then
7334 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7335 rm -f ${build_subdir}/${module}/Makefile
7337 extrasub_build
="$extrasub_build
7338 /^@if build-$module\$/d
7339 /^@endif build-$module\$/d
7340 /^@if build-$module-$bootstrap_suffix\$/d
7341 /^@endif build-$module-$bootstrap_suffix\$/d"
7344 for module
in ${configdirs} ; do
7345 if test -z "${no_recursion}"; then
7346 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7347 if test -f ${file}; then
7348 echo 1>&2 "*** removing ${file} to force reconfigure"
7353 case ${module},${bootstrap_fixincludes} in
7354 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7355 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7357 extrasub_host
="$extrasub_host
7359 /^@endif $module\$/d
7360 /^@if $module-$host_bootstrap_suffix\$/d
7361 /^@endif $module-$host_bootstrap_suffix\$/d"
7364 for module
in ${target_configdirs} ; do
7365 if test -z "${no_recursion}" \
7366 && test -f ${target_subdir}/${module}/Makefile
; then
7367 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7368 rm -f ${target_subdir}/${module}/Makefile
7371 # We only bootstrap target libraries listed in bootstrap_target_libs.
7372 case $bootstrap_target_libs in
7373 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7374 *) target_bootstrap_suffix
=no-bootstrap
;;
7377 extrasub_target
="$extrasub_target
7378 /^@if target-$module\$/d
7379 /^@endif target-$module\$/d
7380 /^@if target-$module-$target_bootstrap_suffix\$/d
7381 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7384 # Do the final fixup along with target modules.
7385 extrasub_target
="$extrasub_target
7386 /^@if /,/^@endif /d"
7388 # Create the serialization dependencies. This uses a temporary file.
7390 # Check whether --enable-serial-configure was given.
7391 if test "${enable_serial_configure+set}" = set; then :
7392 enableval
=$enable_serial_configure;
7396 case ${enable_serial_configure} in
7398 enable_serial_build_configure
=yes
7399 enable_serial_host_configure
=yes
7400 enable_serial_target_configure
=yes
7404 # These force 'configure's to be done one at a time, to avoid problems
7405 # with contention over a shared config.cache.
7407 echo '# serdep.tmp' > serdep.tmp
7409 test "x${enable_serial_build_configure}" = xyes
&&
7410 for item
in ${build_configdirs} ; do
7413 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7418 test "x${enable_serial_host_configure}" = xyes
&&
7419 for item
in ${configdirs} ; do
7422 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7427 test "x${enable_serial_target_configure}" = xyes
&&
7428 for item
in ${target_configdirs} ; do
7431 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7435 serialization_dependencies
=serdep.tmp
7438 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7439 # target, nonopt, and variable assignments. These are the ones we
7440 # might not want to pass down to subconfigures. The exception being
7441 # --cache-file=/dev/null, which is used to turn off the use of cache
7442 # files altogether, and which should be passed on to subconfigures.
7443 # Also strip program-prefix, program-suffix, and program-transform-name,
7444 # so that we can pass down a consistent program-transform-name.
7449 eval "set -- $ac_configure_args"
7452 if test X
"$skip_next" = X
"yes"; then
7456 if test X
"$keep_next" = X
"yes"; then
7459 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7461 baseargs
="$baseargs '$ac_arg'"
7462 tbaseargs
="$tbaseargs '$ac_arg'"
7467 # Handle separated arguments. Based on the logic generated by
7470 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7471 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7472 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7473 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7487 --with-* |
--without-*)
7488 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7492 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7495 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7504 mpc | mpfr | gmp | cloog
)
7505 # If we're processing --with-$lib, --with-$lib-include or
7506 # --with-$lib-lib, for one of the libs above, and target is
7507 # different from host, don't pass the current argument to any
7508 # target library's configure.
7509 if test x
$is_cross_compiler = xyes
; then
7518 --cache-file=/dev
/null | \
7519 -cache-file=/dev
/null
)
7520 # Handled here to avoid the test to skip args below.
7521 baseargs
="$baseargs '$ac_arg'"
7522 tbaseargs
="$tbaseargs '$ac_arg'"
7523 # Assert: $separate_arg should always be no.
7524 keep_next
=$separate_arg
7540 -program-prefix* | \
7541 -program-suffix* | \
7542 -program-transform-name* )
7543 skip_next
=$separate_arg
7547 # An option. Add it.
7550 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7552 baseargs
="$baseargs '$ac_arg'"
7553 if test X
"$skip_targ" = Xno
; then
7554 tbaseargs
="$tbaseargs '$ac_arg'"
7556 keep_next
=$separate_arg
7559 # Either a variable assignment, or a nonopt (triplet). Don't
7560 # pass it down; let the Makefile handle this.
7565 # Remove the initial space we just introduced and, as these will be
7566 # expanded by make, quote '$'.
7567 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7569 # Add in --program-transform-name, after --program-prefix and
7570 # --program-suffix have been applied to it. Autoconf has already
7571 # doubled dollar signs and backslashes in program_transform_name; we want
7572 # the backslashes un-doubled, and then the entire thing wrapped in single
7573 # quotes, because this will be expanded first by make and then by the shell.
7574 # Also, because we want to override the logic in subdir configure scripts to
7575 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7576 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7577 ${program_transform_name}
7579 gcc_transform_name
=`cat conftestsed.out`
7580 rm -f conftestsed.out
7581 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7582 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7583 if test "$silent" = yes; then
7584 baseargs
="$baseargs --silent"
7585 tbaseargs
="$tbaseargs --silent"
7587 baseargs
="$baseargs --disable-option-checking"
7588 tbaseargs
="$tbaseargs --disable-option-checking"
7590 # Record and document user additions to sub configure arguments.
7595 # For the build-side libraries, we just need to pretend we're native,
7596 # and not use the same cache file. Multilibs are neither needed nor
7598 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7600 # For host modules, accept cache file option, or specification as blank.
7601 case "${cache_file}" in
7603 cache_file_option
="" ;;
7604 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7605 cache_file_option
="--cache-file=${cache_file}" ;;
7607 cache_file_option
="--cache-file=../${cache_file}" ;;
7610 # Host dirs don't like to share a cache file either, horribly enough.
7611 # This seems to be due to autoconf 2.5x stupidity.
7612 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7614 target_configargs
="$target_configargs ${tbaseargs}"
7616 # Passing a --with-cross-host argument lets the target libraries know
7617 # whether they are being built with a cross-compiler or being built
7618 # native. However, it would be better to use other mechanisms to make the
7619 # sorts of decisions they want to make on this basis. Please consider
7620 # this option to be deprecated. FIXME.
7621 if test x
${is_cross_compiler} = xyes
; then
7622 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7625 # Special user-friendly check for native x86_64-linux build, if
7626 # multilib is not explicitly enabled.
7627 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7628 x86_64-
*linux
*:yes:$build:$build:)
7629 # Make sure we have a developement environment that handles 32-bit
7631 echo "int main () { return 0; }" > conftest.c
7632 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7633 if test $?
= 0 ; then
7634 if test -s conftest ||
test -s conftest.exe
; then
7639 if test x
${dev64} != xyes
; then
7640 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
7645 # Default to --enable-multilib.
7646 if test x
${enable_multilib} = x
; then
7647 target_configargs
="--enable-multilib ${target_configargs}"
7650 # Pass --with-newlib if appropriate. Note that target_configdirs has
7651 # changed from the earlier setting of with_newlib.
7652 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7653 target_configargs
="--with-newlib ${target_configargs}"
7656 # Different target subdirs use different values of certain variables
7657 # (notably CXX). Worse, multilibs use *lots* of different values.
7658 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7659 # it doesn't automatically accept command-line overrides of them.
7660 # This means it's not safe for target subdirs to share a cache file,
7661 # which is disgusting, but there you have it. Hopefully this can be
7662 # fixed in future. It's still worthwhile to use a cache file for each
7663 # directory. I think.
7665 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7666 # We need to pass --target, as newer autoconf's requires consistency
7667 # for target_alias and gcc doesn't manage it consistently.
7668 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7671 case " $target_configdirs " in
7673 case " $target_configargs " in
7674 *" --with-newlib "*)
7677 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7681 # If we're not building GCC, don't discard standard headers.
7682 if test -d ${srcdir}/gcc
; then
7683 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7685 if test "${build}" != "${host}"; then
7686 # On Canadian crosses, CC_FOR_TARGET will have already been set
7687 # by `configure', so we won't have an opportunity to add -Bgcc/
7688 # to it. This is right: we don't want to search that directory
7689 # for binaries, but we want the header files in there, so add
7691 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7693 # Someone might think of using the pre-installed headers on
7694 # Canadian crosses, in case the installed compiler is not fully
7695 # compatible with the compiler being built. In this case, it
7696 # would be better to flag an error than risking having
7697 # incompatible object files being constructed. We can't
7698 # guarantee that an error will be flagged, but let's hope the
7699 # compiler will do it, when presented with incompatible header
7704 case "${target}-${is_cross_compiler}" in
7705 i
[3456789]86-*-linux*-no)
7706 # Here host == target, so we don't need to build gcc,
7707 # so we don't want to discard standard headers.
7708 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7711 # If we're building newlib, use its generic headers last, but search
7712 # for any libc-related directories first (so make it the last -B
7714 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7716 # If we're building libgloss, find the startup file, simulator library
7717 # and linker script.
7718 case " $target_configdirs " in
7720 # Look for startup file, simulator library and maybe linker script.
7721 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7722 # Look for libnosys.a in case the target needs it.
7723 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7724 # Most targets have the linker script in the source directory.
7725 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7736 x86_64-
*mingw
* |
*-w64-mingw*)
7737 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7738 # however, use a symlink named 'mingw' in ${prefix} .
7739 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7742 # MinGW can't be handled as Cygwin above since it does not use newlib.
7743 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'
7747 # Allow the user to override the flags for
7748 # our build compiler if desired.
7749 if test x
"${build}" = x
"${host}" ; then
7750 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7751 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7752 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7755 # On Canadian crosses, we'll be searching the right directories for
7756 # the previously-installed cross compiler, so don't bother to add
7757 # flags for directories within the install tree of the compiler
7758 # being built; programs in there won't even run.
7759 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7760 # Search for pre-installed headers if nothing else fits.
7761 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7764 if test "x
${use_gnu_ld}" = x &&
7765 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7766 # Arrange for us to find uninstalled linker scripts.
7767 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7770 # Search for other target-specific linker scripts and such.
7773 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7777 # UPC linker script check
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7779 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7780 # Check whether --enable-upc-link-script was given.
7781 if test "${enable_upc_link_script+set}" = set; then :
7782 enableval=$enable_upc_link_script;
7786 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7792 if test x${use_gnu_ld} != xno ; then
7794 # disable linker script for Apple Mac OS X
7796 enable_upc_link_script=no
7799 enable_upc_link_script=yes
7803 enable_upc_link_script=no
7805 if test "$enable_upc_link_script" = yes; then
7806 target_configargs="${target_configargs} --enable-upc-link-script"
7807 host_configargs="${host_configargs} --enable-upc-link-script"
7812 if test "$enable_upc_link_script" = yes; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7814 $as_echo "yes" >&6; };
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7817 $as_echo "no
" >&6; };
7821 # Makefile fragments.
7822 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7824 eval fragval=\$$frag
7825 if test $fragval != /dev/null; then
7826 eval $frag=${srcdir}/$fragval
7834 # Miscellanea: directories, flags, etc.
7843 # Build module lists & subconfigure args.
7847 # Host module lists & subconfigure args.
7852 # Target module lists & subconfigure args.
7875 # Generate default definitions for YACC, M4, LEX and other programs that run
7876 # on the build machine. These are used if the Makefile can't locate these
7877 # programs in objdir.
7878 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7880 for ac_prog in 'bison -y' byacc yacc
7882 # Extract the first word of "$ac_prog", so it can be a program name with args.
7883 set dummy $ac_prog; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7885 $as_echo_n "checking
for $ac_word...
" >&6; }
7886 if test "${ac_cv_prog_YACC+set}" = set; then :
7887 $as_echo_n "(cached
) " >&6
7889 if test -n "$YACC"; then
7890 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_YACC="$ac_prog"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7909 YACC=$ac_cv_prog_YACC
7910 if test -n "$YACC"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7912 $as_echo "$YACC" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7915 $as_echo "no
" >&6; }
7919 test -n "$YACC" && break
7921 test -n "$YACC" || YACC="$MISSING bison
-y"
7923 case " $build_configdirs " in
7924 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7927 for ac_prog in bison
7929 # Extract the first word of "$ac_prog", so it can be a program name with args.
7930 set dummy $ac_prog; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7932 $as_echo_n "checking
for $ac_word...
" >&6; }
7933 if test "${ac_cv_prog_BISON+set}" = set; then :
7934 $as_echo_n "(cached
) " >&6
7936 if test -n "$BISON"; then
7937 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7946 ac_cv_prog_BISON="$ac_prog"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7956 BISON=$ac_cv_prog_BISON
7957 if test -n "$BISON"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7959 $as_echo "$BISON" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7962 $as_echo "no
" >&6; }
7966 test -n "$BISON" && break
7968 test -n "$BISON" || BISON="$MISSING bison
"
7970 case " $build_configdirs " in
7971 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7974 for ac_prog in gm4 gnum4 m4
7976 # Extract the first word of "$ac_prog", so it can be a program name with args.
7977 set dummy $ac_prog; ac_word=$2
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7979 $as_echo_n "checking
for $ac_word...
" >&6; }
7980 if test "${ac_cv_prog_M4+set}" = set; then :
7981 $as_echo_n "(cached
) " >&6
7983 if test -n "$M4"; then
7984 ac_cv_prog_M4="$M4" # Let the user override the test.
7986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7990 test -z "$as_dir" && as_dir=.
7991 for ac_exec_ext in '' $ac_executable_extensions; do
7992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7993 ac_cv_prog_M4="$ac_prog"
7994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8004 if test -n "$M4"; then
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
8006 $as_echo "$M4" >&6; }
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8009 $as_echo "no
" >&6; }
8013 test -n "$M4" && break
8015 test -n "$M4" || M4="$MISSING m4"
8017 case " $build_configdirs " in
8018 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
8021 for ac_prog in flex lex
8023 # Extract the first word of "$ac_prog", so it can be a program name with args.
8024 set dummy $ac_prog; ac_word=$2
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8026 $as_echo_n "checking
for $ac_word...
" >&6; }
8027 if test "${ac_cv_prog_LEX+set}" = set; then :
8028 $as_echo_n "(cached
) " >&6
8030 if test -n "$LEX"; then
8031 ac_cv_prog_LEX="$LEX" # Let the user override the test.
8033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8037 test -z "$as_dir" && as_dir=.
8038 for ac_exec_ext in '' $ac_executable_extensions; do
8039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8040 ac_cv_prog_LEX="$ac_prog"
8041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8051 if test -n "$LEX"; then
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
8053 $as_echo "$LEX" >&6; }
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8056 $as_echo "no
" >&6; }
8060 test -n "$LEX" && break
8062 test -n "$LEX" || LEX="$MISSING flex
"
8064 case " $build_configdirs " in
8065 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8066 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
8071 # Extract the first word of "$ac_prog", so it can be a program name with args.
8072 set dummy $ac_prog; ac_word=$2
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8074 $as_echo_n "checking
for $ac_word...
" >&6; }
8075 if test "${ac_cv_prog_FLEX+set}" = set; then :
8076 $as_echo_n "(cached
) " >&6
8078 if test -n "$FLEX"; then
8079 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
8081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir=.
8086 for ac_exec_ext in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_prog_FLEX="$ac_prog"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8098 FLEX=$ac_cv_prog_FLEX
8099 if test -n "$FLEX"; then
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8101 $as_echo "$FLEX" >&6; }
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8104 $as_echo "no
" >&6; }
8108 test -n "$FLEX" && break
8110 test -n "$FLEX" || FLEX="$MISSING flex
"
8112 case " $build_configdirs " in
8113 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8116 for ac_prog in makeinfo
8118 # Extract the first word of "$ac_prog", so it can be a program name with args.
8119 set dummy $ac_prog; ac_word=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8121 $as_echo_n "checking
for $ac_word...
" >&6; }
8122 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8123 $as_echo_n "(cached
) " >&6
8125 if test -n "$MAKEINFO"; then
8126 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 test -z "$as_dir" && as_dir=.
8133 for ac_exec_ext in '' $ac_executable_extensions; do
8134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8135 ac_cv_prog_MAKEINFO="$ac_prog"
8136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8145 MAKEINFO=$ac_cv_prog_MAKEINFO
8146 if test -n "$MAKEINFO"; then
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8148 $as_echo "$MAKEINFO" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8151 $as_echo "no
" >&6; }
8155 test -n "$MAKEINFO" && break
8157 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8159 case " $build_configdirs " in
8160 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8163 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8164 # higher, else we use the "missing
" dummy.
8165 if ${MAKEINFO} --version \
8166 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8169 MAKEINFO="$MISSING makeinfo
"
8175 # FIXME: expect and dejagnu may become build tools?
8177 for ac_prog in expect
8179 # Extract the first word of "$ac_prog", so it can be a program name with args.
8180 set dummy $ac_prog; ac_word=$2
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8182 $as_echo_n "checking
for $ac_word...
" >&6; }
8183 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8184 $as_echo_n "(cached
) " >&6
8186 if test -n "$EXPECT"; then
8187 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8193 test -z "$as_dir" && as_dir=.
8194 for ac_exec_ext in '' $ac_executable_extensions; do
8195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196 ac_cv_prog_EXPECT="$ac_prog"
8197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8206 EXPECT=$ac_cv_prog_EXPECT
8207 if test -n "$EXPECT"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8209 $as_echo "$EXPECT" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8212 $as_echo "no
" >&6; }
8216 test -n "$EXPECT" && break
8218 test -n "$EXPECT" || EXPECT="expect
"
8220 case " $configdirs " in
8222 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8226 for ac_prog in runtest
8228 # Extract the first word of "$ac_prog", so it can be a program name with args.
8229 set dummy $ac_prog; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8231 $as_echo_n "checking
for $ac_word...
" >&6; }
8232 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8233 $as_echo_n "(cached
) " >&6
8235 if test -n "$RUNTEST"; then
8236 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_prog_RUNTEST="$ac_prog"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8255 RUNTEST=$ac_cv_prog_RUNTEST
8256 if test -n "$RUNTEST"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8258 $as_echo "$RUNTEST" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8261 $as_echo "no
" >&6; }
8265 test -n "$RUNTEST" && break
8267 test -n "$RUNTEST" || RUNTEST="runtest
"
8269 case " $configdirs " in
8271 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8278 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8279 ncn_target_tool_prefix=
8280 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8284 if test -n "$AR"; then
8286 elif test -n "$ac_cv_prog_AR"; then
8290 if test -n "$ac_cv_prog_AR"; then
8291 for ncn_progname in ar; do
8292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8293 set dummy ${ncn_progname}; ac_word=$2
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8295 $as_echo_n "checking
for $ac_word...
" >&6; }
8296 if test "${ac_cv_prog_AR+set}" = set; then :
8297 $as_echo_n "(cached
) " >&6
8299 if test -n "$AR"; then
8300 ac_cv_prog_AR="$AR" # Let the user override the test.
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8309 ac_cv_prog_AR="${ncn_progname}"
8310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8320 if test -n "$AR"; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8322 $as_echo "$AR" >&6; }
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8325 $as_echo "no
" >&6; }
8332 for ncn_progname in ar; do
8333 if test -n "$ncn_tool_prefix"; then
8334 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8335 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8337 $as_echo_n "checking
for $ac_word...
" >&6; }
8338 if test "${ac_cv_prog_AR+set}" = set; then :
8339 $as_echo_n "(cached
) " >&6
8341 if test -n "$AR"; then
8342 ac_cv_prog_AR="$AR" # Let the user override the test.
8344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8348 test -z "$as_dir" && as_dir=.
8349 for ac_exec_ext in '' $ac_executable_extensions; do
8350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8351 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8352 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8362 if test -n "$AR"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8364 $as_echo "$AR" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8367 $as_echo "no
" >&6; }
8372 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8373 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8374 set dummy ${ncn_progname}; ac_word=$2
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8376 $as_echo_n "checking
for $ac_word...
" >&6; }
8377 if test "${ac_cv_prog_AR+set}" = set; then :
8378 $as_echo_n "(cached
) " >&6
8380 if test -n "$AR"; then
8381 ac_cv_prog_AR="$AR" # Let the user override the test.
8383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8387 test -z "$as_dir" && as_dir=.
8388 for ac_exec_ext in '' $ac_executable_extensions; do
8389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8390 ac_cv_prog_AR="${ncn_progname}"
8391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8401 if test -n "$AR"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8403 $as_echo "$AR" >&6; }
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8406 $as_echo "no
" >&6; }
8411 test -n "$ac_cv_prog_AR" && break
8414 if test -z "$ac_cv_prog_AR" ; then
8416 if test $build = $host ; then
8419 AR="${ncn_tool_prefix}$2"
8425 if test -n "$AS"; then
8427 elif test -n "$ac_cv_prog_AS"; then
8431 if test -n "$ac_cv_prog_AS"; then
8432 for ncn_progname in as; do
8433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8434 set dummy ${ncn_progname}; ac_word=$2
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8436 $as_echo_n "checking
for $ac_word...
" >&6; }
8437 if test "${ac_cv_prog_AS+set}" = set; then :
8438 $as_echo_n "(cached
) " >&6
8440 if test -n "$AS"; then
8441 ac_cv_prog_AS="$AS" # Let the user override the test.
8443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8447 test -z "$as_dir" && as_dir=.
8448 for ac_exec_ext in '' $ac_executable_extensions; do
8449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8450 ac_cv_prog_AS="${ncn_progname}"
8451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8461 if test -n "$AS"; then
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8463 $as_echo "$AS" >&6; }
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8466 $as_echo "no
" >&6; }
8473 for ncn_progname in as; do
8474 if test -n "$ncn_tool_prefix"; then
8475 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8476 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8478 $as_echo_n "checking
for $ac_word...
" >&6; }
8479 if test "${ac_cv_prog_AS+set}" = set; then :
8480 $as_echo_n "(cached
) " >&6
8482 if test -n "$AS"; then
8483 ac_cv_prog_AS="$AS" # Let the user override the test.
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 test -z "$as_dir" && as_dir=.
8490 for ac_exec_ext in '' $ac_executable_extensions; do
8491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8503 if test -n "$AS"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8505 $as_echo "$AS" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8508 $as_echo "no
" >&6; }
8513 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8514 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8515 set dummy ${ncn_progname}; ac_word=$2
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8517 $as_echo_n "checking
for $ac_word...
" >&6; }
8518 if test "${ac_cv_prog_AS+set}" = set; then :
8519 $as_echo_n "(cached
) " >&6
8521 if test -n "$AS"; then
8522 ac_cv_prog_AS="$AS" # Let the user override the test.
8524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8528 test -z "$as_dir" && as_dir=.
8529 for ac_exec_ext in '' $ac_executable_extensions; do
8530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8531 ac_cv_prog_AS="${ncn_progname}"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8542 if test -n "$AS"; then
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8544 $as_echo "$AS" >&6; }
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8547 $as_echo "no
" >&6; }
8552 test -n "$ac_cv_prog_AS" && break
8555 if test -z "$ac_cv_prog_AS" ; then
8557 if test $build = $host ; then
8560 AS="${ncn_tool_prefix}$2"
8566 if test -n "$DLLTOOL"; then
8567 ac_cv_prog_DLLTOOL=$DLLTOOL
8568 elif test -n "$ac_cv_prog_DLLTOOL"; then
8569 DLLTOOL=$ac_cv_prog_DLLTOOL
8572 if test -n "$ac_cv_prog_DLLTOOL"; then
8573 for ncn_progname in dlltool; do
8574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8575 set dummy ${ncn_progname}; ac_word=$2
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8577 $as_echo_n "checking
for $ac_word...
" >&6; }
8578 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8579 $as_echo_n "(cached
) " >&6
8581 if test -n "$DLLTOOL"; then
8582 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8588 test -z "$as_dir" && as_dir=.
8589 for ac_exec_ext in '' $ac_executable_extensions; do
8590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8591 ac_cv_prog_DLLTOOL="${ncn_progname}"
8592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8601 DLLTOOL=$ac_cv_prog_DLLTOOL
8602 if test -n "$DLLTOOL"; then
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8604 $as_echo "$DLLTOOL" >&6; }
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8607 $as_echo "no
" >&6; }
8614 for ncn_progname in dlltool; do
8615 if test -n "$ncn_tool_prefix"; then
8616 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8617 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8619 $as_echo_n "checking
for $ac_word...
" >&6; }
8620 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8621 $as_echo_n "(cached
) " >&6
8623 if test -n "$DLLTOOL"; then
8624 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8630 test -z "$as_dir" && as_dir=.
8631 for ac_exec_ext in '' $ac_executable_extensions; do
8632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8633 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8643 DLLTOOL=$ac_cv_prog_DLLTOOL
8644 if test -n "$DLLTOOL"; then
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8646 $as_echo "$DLLTOOL" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8649 $as_echo "no
" >&6; }
8654 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8655 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8656 set dummy ${ncn_progname}; ac_word=$2
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8658 $as_echo_n "checking
for $ac_word...
" >&6; }
8659 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8660 $as_echo_n "(cached
) " >&6
8662 if test -n "$DLLTOOL"; then
8663 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8669 test -z "$as_dir" && as_dir=.
8670 for ac_exec_ext in '' $ac_executable_extensions; do
8671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8672 ac_cv_prog_DLLTOOL="${ncn_progname}"
8673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8682 DLLTOOL=$ac_cv_prog_DLLTOOL
8683 if test -n "$DLLTOOL"; then
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8685 $as_echo "$DLLTOOL" >&6; }
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8688 $as_echo "no
" >&6; }
8693 test -n "$ac_cv_prog_DLLTOOL" && break
8696 if test -z "$ac_cv_prog_DLLTOOL" ; then
8698 if test $build = $host ; then
8701 DLLTOOL="${ncn_tool_prefix}$2"
8707 if test -n "$LD"; then
8709 elif test -n "$ac_cv_prog_LD"; then
8713 if test -n "$ac_cv_prog_LD"; then
8714 for ncn_progname in ld; do
8715 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8716 set dummy ${ncn_progname}; ac_word=$2
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8718 $as_echo_n "checking
for $ac_word...
" >&6; }
8719 if test "${ac_cv_prog_LD+set}" = set; then :
8720 $as_echo_n "(cached
) " >&6
8722 if test -n "$LD"; then
8723 ac_cv_prog_LD="$LD" # Let the user override the test.
8725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8729 test -z "$as_dir" && as_dir=.
8730 for ac_exec_ext in '' $ac_executable_extensions; do
8731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8732 ac_cv_prog_LD="${ncn_progname}"
8733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8743 if test -n "$LD"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8745 $as_echo "$LD" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8748 $as_echo "no
" >&6; }
8755 for ncn_progname in ld; do
8756 if test -n "$ncn_tool_prefix"; then
8757 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8758 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8760 $as_echo_n "checking
for $ac_word...
" >&6; }
8761 if test "${ac_cv_prog_LD+set}" = set; then :
8762 $as_echo_n "(cached
) " >&6
8764 if test -n "$LD"; then
8765 ac_cv_prog_LD="$LD" # Let the user override the test.
8767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8771 test -z "$as_dir" && as_dir=.
8772 for ac_exec_ext in '' $ac_executable_extensions; do
8773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8774 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8785 if test -n "$LD"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8787 $as_echo "$LD" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8790 $as_echo "no
" >&6; }
8795 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8796 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8797 set dummy ${ncn_progname}; ac_word=$2
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8799 $as_echo_n "checking
for $ac_word...
" >&6; }
8800 if test "${ac_cv_prog_LD+set}" = set; then :
8801 $as_echo_n "(cached
) " >&6
8803 if test -n "$LD"; then
8804 ac_cv_prog_LD="$LD" # Let the user override the test.
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_prog_LD="${ncn_progname}"
8814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8824 if test -n "$LD"; then
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8826 $as_echo "$LD" >&6; }
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8829 $as_echo "no
" >&6; }
8834 test -n "$ac_cv_prog_LD" && break
8837 if test -z "$ac_cv_prog_LD" ; then
8839 if test $build = $host ; then
8842 LD="${ncn_tool_prefix}$2"
8848 if test -n "$LIPO"; then
8849 ac_cv_prog_LIPO=$LIPO
8850 elif test -n "$ac_cv_prog_LIPO"; then
8851 LIPO=$ac_cv_prog_LIPO
8854 if test -n "$ac_cv_prog_LIPO"; then
8855 for ncn_progname in lipo; do
8856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8857 set dummy ${ncn_progname}; ac_word=$2
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8859 $as_echo_n "checking
for $ac_word...
" >&6; }
8860 if test "${ac_cv_prog_LIPO+set}" = set; then :
8861 $as_echo_n "(cached
) " >&6
8863 if test -n "$LIPO"; then
8864 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8870 test -z "$as_dir" && as_dir=.
8871 for ac_exec_ext in '' $ac_executable_extensions; do
8872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8873 ac_cv_prog_LIPO="${ncn_progname}"
8874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8883 LIPO=$ac_cv_prog_LIPO
8884 if test -n "$LIPO"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8886 $as_echo "$LIPO" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8889 $as_echo "no
" >&6; }
8896 for ncn_progname in lipo; do
8897 if test -n "$ncn_tool_prefix"; then
8898 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8899 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8901 $as_echo_n "checking
for $ac_word...
" >&6; }
8902 if test "${ac_cv_prog_LIPO+set}" = set; then :
8903 $as_echo_n "(cached
) " >&6
8905 if test -n "$LIPO"; then
8906 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8916 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8925 LIPO=$ac_cv_prog_LIPO
8926 if test -n "$LIPO"; then
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8928 $as_echo "$LIPO" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8931 $as_echo "no
" >&6; }
8936 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8938 set dummy ${ncn_progname}; ac_word=$2
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8940 $as_echo_n "checking
for $ac_word...
" >&6; }
8941 if test "${ac_cv_prog_LIPO+set}" = set; then :
8942 $as_echo_n "(cached
) " >&6
8944 if test -n "$LIPO"; then
8945 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir=.
8952 for ac_exec_ext in '' $ac_executable_extensions; do
8953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8954 ac_cv_prog_LIPO="${ncn_progname}"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8964 LIPO=$ac_cv_prog_LIPO
8965 if test -n "$LIPO"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8967 $as_echo "$LIPO" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8970 $as_echo "no
" >&6; }
8975 test -n "$ac_cv_prog_LIPO" && break
8978 if test -z "$ac_cv_prog_LIPO" ; then
8980 if test $build = $host ; then
8983 LIPO="${ncn_tool_prefix}$2"
8989 if test -n "$NM"; then
8991 elif test -n "$ac_cv_prog_NM"; then
8995 if test -n "$ac_cv_prog_NM"; then
8996 for ncn_progname in nm; do
8997 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8998 set dummy ${ncn_progname}; ac_word=$2
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9000 $as_echo_n "checking
for $ac_word...
" >&6; }
9001 if test "${ac_cv_prog_NM+set}" = set; then :
9002 $as_echo_n "(cached
) " >&6
9004 if test -n "$NM"; then
9005 ac_cv_prog_NM="$NM" # Let the user override the test.
9007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9011 test -z "$as_dir" && as_dir=.
9012 for ac_exec_ext in '' $ac_executable_extensions; do
9013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9014 ac_cv_prog_NM="${ncn_progname}"
9015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9025 if test -n "$NM"; then
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9027 $as_echo "$NM" >&6; }
9029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9030 $as_echo "no
" >&6; }
9037 for ncn_progname in nm; do
9038 if test -n "$ncn_tool_prefix"; then
9039 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9040 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9042 $as_echo_n "checking
for $ac_word...
" >&6; }
9043 if test "${ac_cv_prog_NM+set}" = set; then :
9044 $as_echo_n "(cached
) " >&6
9046 if test -n "$NM"; then
9047 ac_cv_prog_NM="$NM" # Let the user override the test.
9049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9053 test -z "$as_dir" && as_dir=.
9054 for ac_exec_ext in '' $ac_executable_extensions; do
9055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9056 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
9057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9067 if test -n "$NM"; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9069 $as_echo "$NM" >&6; }
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9072 $as_echo "no
" >&6; }
9077 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
9078 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9079 set dummy ${ncn_progname}; ac_word=$2
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9081 $as_echo_n "checking
for $ac_word...
" >&6; }
9082 if test "${ac_cv_prog_NM+set}" = set; then :
9083 $as_echo_n "(cached
) " >&6
9085 if test -n "$NM"; then
9086 ac_cv_prog_NM="$NM" # Let the user override the test.
9088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9092 test -z "$as_dir" && as_dir=.
9093 for ac_exec_ext in '' $ac_executable_extensions; do
9094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9095 ac_cv_prog_NM="${ncn_progname}"
9096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9106 if test -n "$NM"; then
9107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9108 $as_echo "$NM" >&6; }
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9111 $as_echo "no
" >&6; }
9116 test -n "$ac_cv_prog_NM" && break
9119 if test -z "$ac_cv_prog_NM" ; then
9121 if test $build = $host ; then
9124 NM="${ncn_tool_prefix}$2"
9130 if test -n "$RANLIB"; then
9131 ac_cv_prog_RANLIB=$RANLIB
9132 elif test -n "$ac_cv_prog_RANLIB"; then
9133 RANLIB=$ac_cv_prog_RANLIB
9136 if test -n "$ac_cv_prog_RANLIB"; then
9137 for ncn_progname in ranlib; do
9138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9139 set dummy ${ncn_progname}; ac_word=$2
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9141 $as_echo_n "checking
for $ac_word...
" >&6; }
9142 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9143 $as_echo_n "(cached
) " >&6
9145 if test -n "$RANLIB"; then
9146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 test -z "$as_dir" && as_dir=.
9153 for ac_exec_ext in '' $ac_executable_extensions; do
9154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9155 ac_cv_prog_RANLIB="${ncn_progname}"
9156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9165 RANLIB=$ac_cv_prog_RANLIB
9166 if test -n "$RANLIB"; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9168 $as_echo "$RANLIB" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9171 $as_echo "no
" >&6; }
9178 for ncn_progname in ranlib; do
9179 if test -n "$ncn_tool_prefix"; then
9180 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9181 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9183 $as_echo_n "checking
for $ac_word...
" >&6; }
9184 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9185 $as_echo_n "(cached
) " >&6
9187 if test -n "$RANLIB"; then
9188 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9194 test -z "$as_dir" && as_dir=.
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9197 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9207 RANLIB=$ac_cv_prog_RANLIB
9208 if test -n "$RANLIB"; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9210 $as_echo "$RANLIB" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9213 $as_echo "no
" >&6; }
9218 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9220 set dummy ${ncn_progname}; ac_word=$2
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9222 $as_echo_n "checking
for $ac_word...
" >&6; }
9223 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9224 $as_echo_n "(cached
) " >&6
9226 if test -n "$RANLIB"; then
9227 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233 test -z "$as_dir" && as_dir=.
9234 for ac_exec_ext in '' $ac_executable_extensions; do
9235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9236 ac_cv_prog_RANLIB="${ncn_progname}"
9237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9246 RANLIB=$ac_cv_prog_RANLIB
9247 if test -n "$RANLIB"; then
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9249 $as_echo "$RANLIB" >&6; }
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9252 $as_echo "no
" >&6; }
9257 test -n "$ac_cv_prog_RANLIB" && break
9260 if test -z "$ac_cv_prog_RANLIB" ; then
9266 if test -n "$STRIP"; then
9267 ac_cv_prog_STRIP=$STRIP
9268 elif test -n "$ac_cv_prog_STRIP"; then
9269 STRIP=$ac_cv_prog_STRIP
9272 if test -n "$ac_cv_prog_STRIP"; then
9273 for ncn_progname in strip; do
9274 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9275 set dummy ${ncn_progname}; ac_word=$2
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9277 $as_echo_n "checking
for $ac_word...
" >&6; }
9278 if test "${ac_cv_prog_STRIP+set}" = set; then :
9279 $as_echo_n "(cached
) " >&6
9281 if test -n "$STRIP"; then
9282 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9288 test -z "$as_dir" && as_dir=.
9289 for ac_exec_ext in '' $ac_executable_extensions; do
9290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9291 ac_cv_prog_STRIP="${ncn_progname}"
9292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9301 STRIP=$ac_cv_prog_STRIP
9302 if test -n "$STRIP"; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9304 $as_echo "$STRIP" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9307 $as_echo "no
" >&6; }
9314 for ncn_progname in strip; do
9315 if test -n "$ncn_tool_prefix"; then
9316 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9317 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9319 $as_echo_n "checking
for $ac_word...
" >&6; }
9320 if test "${ac_cv_prog_STRIP+set}" = set; then :
9321 $as_echo_n "(cached
) " >&6
9323 if test -n "$STRIP"; then
9324 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 test -z "$as_dir" && as_dir=.
9331 for ac_exec_ext in '' $ac_executable_extensions; do
9332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9333 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9343 STRIP=$ac_cv_prog_STRIP
9344 if test -n "$STRIP"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9346 $as_echo "$STRIP" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9349 $as_echo "no
" >&6; }
9354 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9356 set dummy ${ncn_progname}; ac_word=$2
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9358 $as_echo_n "checking
for $ac_word...
" >&6; }
9359 if test "${ac_cv_prog_STRIP+set}" = set; then :
9360 $as_echo_n "(cached
) " >&6
9362 if test -n "$STRIP"; then
9363 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_prog_STRIP="${ncn_progname}"
9373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9382 STRIP=$ac_cv_prog_STRIP
9383 if test -n "$STRIP"; then
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9385 $as_echo "$STRIP" >&6; }
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9388 $as_echo "no
" >&6; }
9393 test -n "$ac_cv_prog_STRIP" && break
9396 if test -z "$ac_cv_prog_STRIP" ; then
9402 if test -n "$WINDRES"; then
9403 ac_cv_prog_WINDRES=$WINDRES
9404 elif test -n "$ac_cv_prog_WINDRES"; then
9405 WINDRES=$ac_cv_prog_WINDRES
9408 if test -n "$ac_cv_prog_WINDRES"; then
9409 for ncn_progname in windres; do
9410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9411 set dummy ${ncn_progname}; ac_word=$2
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9413 $as_echo_n "checking
for $ac_word...
" >&6; }
9414 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9415 $as_echo_n "(cached
) " >&6
9417 if test -n "$WINDRES"; then
9418 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9424 test -z "$as_dir" && as_dir=.
9425 for ac_exec_ext in '' $ac_executable_extensions; do
9426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9427 ac_cv_prog_WINDRES="${ncn_progname}"
9428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9437 WINDRES=$ac_cv_prog_WINDRES
9438 if test -n "$WINDRES"; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9440 $as_echo "$WINDRES" >&6; }
9442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9443 $as_echo "no
" >&6; }
9450 for ncn_progname in windres; do
9451 if test -n "$ncn_tool_prefix"; then
9452 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9453 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9455 $as_echo_n "checking
for $ac_word...
" >&6; }
9456 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9457 $as_echo_n "(cached
) " >&6
9459 if test -n "$WINDRES"; then
9460 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9466 test -z "$as_dir" && as_dir=.
9467 for ac_exec_ext in '' $ac_executable_extensions; do
9468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9469 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9479 WINDRES=$ac_cv_prog_WINDRES
9480 if test -n "$WINDRES"; then
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9482 $as_echo "$WINDRES" >&6; }
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9485 $as_echo "no
" >&6; }
9490 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9492 set dummy ${ncn_progname}; ac_word=$2
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9494 $as_echo_n "checking
for $ac_word...
" >&6; }
9495 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9496 $as_echo_n "(cached
) " >&6
9498 if test -n "$WINDRES"; then
9499 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir=.
9506 for ac_exec_ext in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_prog_WINDRES="${ncn_progname}"
9509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9518 WINDRES=$ac_cv_prog_WINDRES
9519 if test -n "$WINDRES"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9521 $as_echo "$WINDRES" >&6; }
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9524 $as_echo "no
" >&6; }
9529 test -n "$ac_cv_prog_WINDRES" && break
9532 if test -z "$ac_cv_prog_WINDRES" ; then
9534 if test $build = $host ; then
9537 WINDRES="${ncn_tool_prefix}$2"
9543 if test -n "$WINDMC"; then
9544 ac_cv_prog_WINDMC=$WINDMC
9545 elif test -n "$ac_cv_prog_WINDMC"; then
9546 WINDMC=$ac_cv_prog_WINDMC
9549 if test -n "$ac_cv_prog_WINDMC"; then
9550 for ncn_progname in windmc; do
9551 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9552 set dummy ${ncn_progname}; ac_word=$2
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9554 $as_echo_n "checking
for $ac_word...
" >&6; }
9555 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9556 $as_echo_n "(cached
) " >&6
9558 if test -n "$WINDMC"; then
9559 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9565 test -z "$as_dir" && as_dir=.
9566 for ac_exec_ext in '' $ac_executable_extensions; do
9567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9568 ac_cv_prog_WINDMC="${ncn_progname}"
9569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9578 WINDMC=$ac_cv_prog_WINDMC
9579 if test -n "$WINDMC"; then
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9581 $as_echo "$WINDMC" >&6; }
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9584 $as_echo "no
" >&6; }
9591 for ncn_progname in windmc; do
9592 if test -n "$ncn_tool_prefix"; then
9593 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9594 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9596 $as_echo_n "checking
for $ac_word...
" >&6; }
9597 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9598 $as_echo_n "(cached
) " >&6
9600 if test -n "$WINDMC"; then
9601 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9607 test -z "$as_dir" && as_dir=.
9608 for ac_exec_ext in '' $ac_executable_extensions; do
9609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9610 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9620 WINDMC=$ac_cv_prog_WINDMC
9621 if test -n "$WINDMC"; then
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9623 $as_echo "$WINDMC" >&6; }
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9626 $as_echo "no
" >&6; }
9631 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9632 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9633 set dummy ${ncn_progname}; ac_word=$2
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9635 $as_echo_n "checking
for $ac_word...
" >&6; }
9636 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9637 $as_echo_n "(cached
) " >&6
9639 if test -n "$WINDMC"; then
9640 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9646 test -z "$as_dir" && as_dir=.
9647 for ac_exec_ext in '' $ac_executable_extensions; do
9648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9649 ac_cv_prog_WINDMC="${ncn_progname}"
9650 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9659 WINDMC=$ac_cv_prog_WINDMC
9660 if test -n "$WINDMC"; then
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9662 $as_echo "$WINDMC" >&6; }
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9665 $as_echo "no
" >&6; }
9670 test -n "$ac_cv_prog_WINDMC" && break
9673 if test -z "$ac_cv_prog_WINDMC" ; then
9675 if test $build = $host ; then
9678 WINDMC="${ncn_tool_prefix}$2"
9684 if test -n "$OBJCOPY"; then
9685 ac_cv_prog_OBJCOPY=$OBJCOPY
9686 elif test -n "$ac_cv_prog_OBJCOPY"; then
9687 OBJCOPY=$ac_cv_prog_OBJCOPY
9690 if test -n "$ac_cv_prog_OBJCOPY"; then
9691 for ncn_progname in objcopy; do
9692 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9693 set dummy ${ncn_progname}; ac_word=$2
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9695 $as_echo_n "checking
for $ac_word...
" >&6; }
9696 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9697 $as_echo_n "(cached
) " >&6
9699 if test -n "$OBJCOPY"; then
9700 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9706 test -z "$as_dir" && as_dir=.
9707 for ac_exec_ext in '' $ac_executable_extensions; do
9708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9709 ac_cv_prog_OBJCOPY="${ncn_progname}"
9710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9719 OBJCOPY=$ac_cv_prog_OBJCOPY
9720 if test -n "$OBJCOPY"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9722 $as_echo "$OBJCOPY" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9725 $as_echo "no
" >&6; }
9732 for ncn_progname in objcopy; do
9733 if test -n "$ncn_tool_prefix"; then
9734 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9735 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9737 $as_echo_n "checking
for $ac_word...
" >&6; }
9738 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9739 $as_echo_n "(cached
) " >&6
9741 if test -n "$OBJCOPY"; then
9742 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9748 test -z "$as_dir" && as_dir=.
9749 for ac_exec_ext in '' $ac_executable_extensions; do
9750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9751 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9761 OBJCOPY=$ac_cv_prog_OBJCOPY
9762 if test -n "$OBJCOPY"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9764 $as_echo "$OBJCOPY" >&6; }
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9767 $as_echo "no
" >&6; }
9772 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9773 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9774 set dummy ${ncn_progname}; ac_word=$2
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9776 $as_echo_n "checking
for $ac_word...
" >&6; }
9777 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9778 $as_echo_n "(cached
) " >&6
9780 if test -n "$OBJCOPY"; then
9781 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9787 test -z "$as_dir" && as_dir=.
9788 for ac_exec_ext in '' $ac_executable_extensions; do
9789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790 ac_cv_prog_OBJCOPY="${ncn_progname}"
9791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9800 OBJCOPY=$ac_cv_prog_OBJCOPY
9801 if test -n "$OBJCOPY"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9803 $as_echo "$OBJCOPY" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9806 $as_echo "no
" >&6; }
9811 test -n "$ac_cv_prog_OBJCOPY" && break
9814 if test -z "$ac_cv_prog_OBJCOPY" ; then
9816 if test $build = $host ; then
9819 OBJCOPY="${ncn_tool_prefix}$2"
9825 if test -n "$OBJDUMP"; then
9826 ac_cv_prog_OBJDUMP=$OBJDUMP
9827 elif test -n "$ac_cv_prog_OBJDUMP"; then
9828 OBJDUMP=$ac_cv_prog_OBJDUMP
9831 if test -n "$ac_cv_prog_OBJDUMP"; then
9832 for ncn_progname in objdump; do
9833 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9834 set dummy ${ncn_progname}; ac_word=$2
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9836 $as_echo_n "checking
for $ac_word...
" >&6; }
9837 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9838 $as_echo_n "(cached
) " >&6
9840 if test -n "$OBJDUMP"; then
9841 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9847 test -z "$as_dir" && as_dir=.
9848 for ac_exec_ext in '' $ac_executable_extensions; do
9849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9850 ac_cv_prog_OBJDUMP="${ncn_progname}"
9851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9860 OBJDUMP=$ac_cv_prog_OBJDUMP
9861 if test -n "$OBJDUMP"; then
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9863 $as_echo "$OBJDUMP" >&6; }
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9866 $as_echo "no
" >&6; }
9873 for ncn_progname in objdump; do
9874 if test -n "$ncn_tool_prefix"; then
9875 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9876 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9878 $as_echo_n "checking
for $ac_word...
" >&6; }
9879 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9880 $as_echo_n "(cached
) " >&6
9882 if test -n "$OBJDUMP"; then
9883 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9889 test -z "$as_dir" && as_dir=.
9890 for ac_exec_ext in '' $ac_executable_extensions; do
9891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9892 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9902 OBJDUMP=$ac_cv_prog_OBJDUMP
9903 if test -n "$OBJDUMP"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9905 $as_echo "$OBJDUMP" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9908 $as_echo "no
" >&6; }
9913 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9914 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9915 set dummy ${ncn_progname}; ac_word=$2
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9917 $as_echo_n "checking
for $ac_word...
" >&6; }
9918 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9919 $as_echo_n "(cached
) " >&6
9921 if test -n "$OBJDUMP"; then
9922 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9928 test -z "$as_dir" && as_dir=.
9929 for ac_exec_ext in '' $ac_executable_extensions; do
9930 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9931 ac_cv_prog_OBJDUMP="${ncn_progname}"
9932 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9941 OBJDUMP=$ac_cv_prog_OBJDUMP
9942 if test -n "$OBJDUMP"; then
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9944 $as_echo "$OBJDUMP" >&6; }
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9947 $as_echo "no
" >&6; }
9952 test -n "$ac_cv_prog_OBJDUMP" && break
9955 if test -z "$ac_cv_prog_OBJDUMP" ; then
9957 if test $build = $host ; then
9960 OBJDUMP="${ncn_tool_prefix}$2"
9966 if test -n "$READELF"; then
9967 ac_cv_prog_READELF=$READELF
9968 elif test -n "$ac_cv_prog_READELF"; then
9969 READELF=$ac_cv_prog_READELF
9972 if test -n "$ac_cv_prog_READELF"; then
9973 for ncn_progname in readelf; do
9974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9975 set dummy ${ncn_progname}; ac_word=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9977 $as_echo_n "checking
for $ac_word...
" >&6; }
9978 if test "${ac_cv_prog_READELF+set}" = set; then :
9979 $as_echo_n "(cached
) " >&6
9981 if test -n "$READELF"; then
9982 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_prog_READELF="${ncn_progname}"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10001 READELF=$ac_cv_prog_READELF
10002 if test -n "$READELF"; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10004 $as_echo "$READELF" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10014 for ncn_progname in readelf; do
10015 if test -n "$ncn_tool_prefix"; then
10016 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
10017 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10019 $as_echo_n "checking
for $ac_word...
" >&6; }
10020 if test "${ac_cv_prog_READELF+set}" = set; then :
10021 $as_echo_n "(cached
) " >&6
10023 if test -n "$READELF"; then
10024 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10027 for as_dir in $PATH
10030 test -z "$as_dir" && as_dir=.
10031 for ac_exec_ext in '' $ac_executable_extensions; do
10032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10033 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
10034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10043 READELF=$ac_cv_prog_READELF
10044 if test -n "$READELF"; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10046 $as_echo "$READELF" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10049 $as_echo "no
" >&6; }
10054 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
10055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10056 set dummy ${ncn_progname}; ac_word=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10058 $as_echo_n "checking
for $ac_word...
" >&6; }
10059 if test "${ac_cv_prog_READELF+set}" = set; then :
10060 $as_echo_n "(cached
) " >&6
10062 if test -n "$READELF"; then
10063 ac_cv_prog_READELF="$READELF" # Let the user override the test.
10065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10066 for as_dir in $PATH
10069 test -z "$as_dir" && as_dir=.
10070 for ac_exec_ext in '' $ac_executable_extensions; do
10071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072 ac_cv_prog_READELF="${ncn_progname}"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10082 READELF=$ac_cv_prog_READELF
10083 if test -n "$READELF"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
10085 $as_echo "$READELF" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 test -n "$ac_cv_prog_READELF" && break
10096 if test -z "$ac_cv_prog_READELF" ; then
10098 if test $build = $host ; then
10101 READELF="${ncn_tool_prefix}$2"
10112 # Check whether --with-build-time-tools was given.
10113 if test "${with_build_time_tools+set}" = set; then :
10114 withval=$with_build_time_tools; case x"$withval" in
10117 with_build_time_tools=
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10119 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10123 with_build_time_tools=
10129 if test -n "$CC_FOR_TARGET"; then
10130 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10131 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10132 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10135 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10136 for ncn_progname in cc gcc; do
10137 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10138 set dummy ${ncn_progname}; ac_word=$2
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10140 $as_echo_n "checking
for $ac_word...
" >&6; }
10141 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10142 $as_echo_n "(cached
) " >&6
10144 if test -n "$CC_FOR_TARGET"; then
10145 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10148 for as_dir in $PATH
10151 test -z "$as_dir" && as_dir=.
10152 for ac_exec_ext in '' $ac_executable_extensions; do
10153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10154 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10155 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10164 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10165 if test -n "$CC_FOR_TARGET"; then
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10167 $as_echo "$CC_FOR_TARGET" >&6; }
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10170 $as_echo "no
" >&6; }
10177 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10178 for ncn_progname in cc gcc; do
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10180 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10181 if test -x $with_build_time_tools/${ncn_progname}; then
10182 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10184 $as_echo "yes" >&6; }
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10188 $as_echo "no
" >&6; }
10193 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10194 for ncn_progname in cc gcc; do
10195 if test -n "$ncn_target_tool_prefix"; then
10196 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10197 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10199 $as_echo_n "checking
for $ac_word...
" >&6; }
10200 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10201 $as_echo_n "(cached
) " >&6
10203 if test -n "$CC_FOR_TARGET"; then
10204 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10213 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10223 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10224 if test -n "$CC_FOR_TARGET"; then
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10226 $as_echo "$CC_FOR_TARGET" >&6; }
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10229 $as_echo "no
" >&6; }
10234 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10235 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10236 set dummy ${ncn_progname}; ac_word=$2
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10238 $as_echo_n "checking
for $ac_word...
" >&6; }
10239 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10240 $as_echo_n "(cached
) " >&6
10242 if test -n "$CC_FOR_TARGET"; then
10243 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10246 for as_dir in $PATH
10249 test -z "$as_dir" && as_dir=.
10250 for ac_exec_ext in '' $ac_executable_extensions; do
10251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10252 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10262 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10263 if test -n "$CC_FOR_TARGET"; then
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10265 $as_echo "$CC_FOR_TARGET" >&6; }
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10268 $as_echo "no
" >&6; }
10273 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10277 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10279 if test $build = $target ; then
10282 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10285 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10290 if test -n "$CXX_FOR_TARGET"; then
10291 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10292 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10293 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10296 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10297 for ncn_progname in c++ g++ cxx gxx; do
10298 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10299 set dummy ${ncn_progname}; ac_word=$2
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10301 $as_echo_n "checking
for $ac_word...
" >&6; }
10302 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10303 $as_echo_n "(cached
) " >&6
10305 if test -n "$CXX_FOR_TARGET"; then
10306 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10309 for as_dir in $PATH
10312 test -z "$as_dir" && as_dir=.
10313 for ac_exec_ext in '' $ac_executable_extensions; do
10314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10315 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10325 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10326 if test -n "$CXX_FOR_TARGET"; then
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10328 $as_echo "$CXX_FOR_TARGET" >&6; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10331 $as_echo "no
" >&6; }
10338 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10339 for ncn_progname in c++ g++ cxx gxx; do
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10341 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10342 if test -x $with_build_time_tools/${ncn_progname}; then
10343 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10345 $as_echo "yes" >&6; }
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10349 $as_echo "no
" >&6; }
10354 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10355 for ncn_progname in c++ g++ cxx gxx; do
10356 if test -n "$ncn_target_tool_prefix"; then
10357 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10358 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10360 $as_echo_n "checking
for $ac_word...
" >&6; }
10361 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10362 $as_echo_n "(cached
) " >&6
10364 if test -n "$CXX_FOR_TARGET"; then
10365 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10368 for as_dir in $PATH
10371 test -z "$as_dir" && as_dir=.
10372 for ac_exec_ext in '' $ac_executable_extensions; do
10373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10374 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10384 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10385 if test -n "$CXX_FOR_TARGET"; then
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10387 $as_echo "$CXX_FOR_TARGET" >&6; }
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10390 $as_echo "no
" >&6; }
10395 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10397 set dummy ${ncn_progname}; ac_word=$2
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10399 $as_echo_n "checking
for $ac_word...
" >&6; }
10400 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10401 $as_echo_n "(cached
) " >&6
10403 if test -n "$CXX_FOR_TARGET"; then
10404 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10423 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10424 if test -n "$CXX_FOR_TARGET"; then
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10426 $as_echo "$CXX_FOR_TARGET" >&6; }
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10429 $as_echo "no
" >&6; }
10434 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10438 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10439 set dummy c++ g++ cxx gxx
10440 if test $build = $target ; then
10441 CXX_FOR_TARGET="$2"
10443 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10446 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10451 if test -n "$GCC_FOR_TARGET"; then
10452 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10453 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10454 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10457 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10458 for ncn_progname in gcc; do
10459 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10460 set dummy ${ncn_progname}; ac_word=$2
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10462 $as_echo_n "checking
for $ac_word...
" >&6; }
10463 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10464 $as_echo_n "(cached
) " >&6
10466 if test -n "$GCC_FOR_TARGET"; then
10467 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10470 for as_dir in $PATH
10473 test -z "$as_dir" && as_dir=.
10474 for ac_exec_ext in '' $ac_executable_extensions; do
10475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10476 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10477 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10486 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10487 if test -n "$GCC_FOR_TARGET"; then
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10489 $as_echo "$GCC_FOR_TARGET" >&6; }
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10492 $as_echo "no
" >&6; }
10499 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10500 for ncn_progname in gcc; do
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10502 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10503 if test -x $with_build_time_tools/${ncn_progname}; then
10504 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10506 $as_echo "yes" >&6; }
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10510 $as_echo "no
" >&6; }
10515 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10516 for ncn_progname in gcc; do
10517 if test -n "$ncn_target_tool_prefix"; then
10518 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10519 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10521 $as_echo_n "checking
for $ac_word...
" >&6; }
10522 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10523 $as_echo_n "(cached
) " >&6
10525 if test -n "$GCC_FOR_TARGET"; then
10526 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10529 for as_dir in $PATH
10532 test -z "$as_dir" && as_dir=.
10533 for ac_exec_ext in '' $ac_executable_extensions; do
10534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10535 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10536 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10545 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10546 if test -n "$GCC_FOR_TARGET"; then
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10548 $as_echo "$GCC_FOR_TARGET" >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10551 $as_echo "no
" >&6; }
10556 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10557 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10558 set dummy ${ncn_progname}; ac_word=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10560 $as_echo_n "checking
for $ac_word...
" >&6; }
10561 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10562 $as_echo_n "(cached
) " >&6
10564 if test -n "$GCC_FOR_TARGET"; then
10565 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10568 for as_dir in $PATH
10571 test -z "$as_dir" && as_dir=.
10572 for ac_exec_ext in '' $ac_executable_extensions; do
10573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10574 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10584 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10585 if test -n "$GCC_FOR_TARGET"; then
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10587 $as_echo "$GCC_FOR_TARGET" >&6; }
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10590 $as_echo "no
" >&6; }
10595 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10599 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10600 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10602 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10607 if test -n "$GCJ_FOR_TARGET"; then
10608 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10609 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10610 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10613 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10614 for ncn_progname in gcj; do
10615 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10616 set dummy ${ncn_progname}; ac_word=$2
10617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10618 $as_echo_n "checking
for $ac_word...
" >&6; }
10619 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10620 $as_echo_n "(cached
) " >&6
10622 if test -n "$GCJ_FOR_TARGET"; then
10623 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10626 for as_dir in $PATH
10629 test -z "$as_dir" && as_dir=.
10630 for ac_exec_ext in '' $ac_executable_extensions; do
10631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10632 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10642 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10643 if test -n "$GCJ_FOR_TARGET"; then
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10645 $as_echo "$GCJ_FOR_TARGET" >&6; }
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10648 $as_echo "no
" >&6; }
10655 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10656 for ncn_progname in gcj; do
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10658 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10659 if test -x $with_build_time_tools/${ncn_progname}; then
10660 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10662 $as_echo "yes" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10666 $as_echo "no
" >&6; }
10671 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10672 for ncn_progname in gcj; do
10673 if test -n "$ncn_target_tool_prefix"; then
10674 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10675 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10677 $as_echo_n "checking
for $ac_word...
" >&6; }
10678 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10679 $as_echo_n "(cached
) " >&6
10681 if test -n "$GCJ_FOR_TARGET"; then
10682 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10685 for as_dir in $PATH
10688 test -z "$as_dir" && as_dir=.
10689 for ac_exec_ext in '' $ac_executable_extensions; do
10690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10691 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10692 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10701 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10702 if test -n "$GCJ_FOR_TARGET"; then
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10704 $as_echo "$GCJ_FOR_TARGET" >&6; }
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10707 $as_echo "no
" >&6; }
10712 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10714 set dummy ${ncn_progname}; ac_word=$2
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10716 $as_echo_n "checking
for $ac_word...
" >&6; }
10717 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10718 $as_echo_n "(cached
) " >&6
10720 if test -n "$GCJ_FOR_TARGET"; then
10721 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10724 for as_dir in $PATH
10727 test -z "$as_dir" && as_dir=.
10728 for ac_exec_ext in '' $ac_executable_extensions; do
10729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10730 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10740 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10741 if test -n "$GCJ_FOR_TARGET"; then
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10743 $as_echo "$GCJ_FOR_TARGET" >&6; }
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10746 $as_echo "no
" >&6; }
10751 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10755 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10757 if test $build = $target ; then
10758 GCJ_FOR_TARGET="$2"
10760 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10763 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10768 if test -n "$GFORTRAN_FOR_TARGET"; then
10769 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10770 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10771 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10774 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10775 for ncn_progname in gfortran; do
10776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10777 set dummy ${ncn_progname}; ac_word=$2
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10779 $as_echo_n "checking
for $ac_word...
" >&6; }
10780 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10781 $as_echo_n "(cached
) " >&6
10783 if test -n "$GFORTRAN_FOR_TARGET"; then
10784 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10787 for as_dir in $PATH
10790 test -z "$as_dir" && as_dir=.
10791 for ac_exec_ext in '' $ac_executable_extensions; do
10792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10793 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10803 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10804 if test -n "$GFORTRAN_FOR_TARGET"; then
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10806 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10809 $as_echo "no
" >&6; }
10816 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10817 for ncn_progname in gfortran; do
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10819 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10820 if test -x $with_build_time_tools/${ncn_progname}; then
10821 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10823 $as_echo "yes" >&6; }
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10827 $as_echo "no
" >&6; }
10832 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10833 for ncn_progname in gfortran; do
10834 if test -n "$ncn_target_tool_prefix"; then
10835 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10836 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10838 $as_echo_n "checking
for $ac_word...
" >&6; }
10839 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10840 $as_echo_n "(cached
) " >&6
10842 if test -n "$GFORTRAN_FOR_TARGET"; then
10843 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10846 for as_dir in $PATH
10849 test -z "$as_dir" && as_dir=.
10850 for ac_exec_ext in '' $ac_executable_extensions; do
10851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10852 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10862 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10863 if test -n "$GFORTRAN_FOR_TARGET"; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10865 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10868 $as_echo "no
" >&6; }
10873 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10875 set dummy ${ncn_progname}; ac_word=$2
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10877 $as_echo_n "checking
for $ac_word...
" >&6; }
10878 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10879 $as_echo_n "(cached
) " >&6
10881 if test -n "$GFORTRAN_FOR_TARGET"; then
10882 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10885 for as_dir in $PATH
10888 test -z "$as_dir" && as_dir=.
10889 for ac_exec_ext in '' $ac_executable_extensions; do
10890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10891 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10901 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10902 if test -n "$GFORTRAN_FOR_TARGET"; then
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10904 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10907 $as_echo "no
" >&6; }
10912 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10916 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10918 if test $build = $target ; then
10919 GFORTRAN_FOR_TARGET="$2"
10921 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10924 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10929 if test -n "$GOC_FOR_TARGET"; then
10930 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10931 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10932 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10935 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10936 for ncn_progname in gccgo; do
10937 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10938 set dummy ${ncn_progname}; ac_word=$2
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10940 $as_echo_n "checking
for $ac_word...
" >&6; }
10941 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10942 $as_echo_n "(cached
) " >&6
10944 if test -n "$GOC_FOR_TARGET"; then
10945 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10948 for as_dir in $PATH
10951 test -z "$as_dir" && as_dir=.
10952 for ac_exec_ext in '' $ac_executable_extensions; do
10953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10954 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10964 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10965 if test -n "$GOC_FOR_TARGET"; then
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10967 $as_echo "$GOC_FOR_TARGET" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10970 $as_echo "no
" >&6; }
10977 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10978 for ncn_progname in gccgo; do
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10980 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10981 if test -x $with_build_time_tools/${ncn_progname}; then
10982 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10984 $as_echo "yes" >&6; }
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10988 $as_echo "no
" >&6; }
10993 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10994 for ncn_progname in gccgo; do
10995 if test -n "$ncn_target_tool_prefix"; then
10996 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10997 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10999 $as_echo_n "checking
for $ac_word...
" >&6; }
11000 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
11001 $as_echo_n "(cached
) " >&6
11003 if test -n "$GOC_FOR_TARGET"; then
11004 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11007 for as_dir in $PATH
11010 test -z "$as_dir" && as_dir=.
11011 for ac_exec_ext in '' $ac_executable_extensions; do
11012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11013 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11023 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11024 if test -n "$GOC_FOR_TARGET"; then
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11026 $as_echo "$GOC_FOR_TARGET" >&6; }
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11029 $as_echo "no
" >&6; }
11034 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
11035 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11036 set dummy ${ncn_progname}; ac_word=$2
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11038 $as_echo_n "checking
for $ac_word...
" >&6; }
11039 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
11040 $as_echo_n "(cached
) " >&6
11042 if test -n "$GOC_FOR_TARGET"; then
11043 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
11045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11046 for as_dir in $PATH
11049 test -z "$as_dir" && as_dir=.
11050 for ac_exec_ext in '' $ac_executable_extensions; do
11051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11052 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
11053 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11062 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
11063 if test -n "$GOC_FOR_TARGET"; then
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
11065 $as_echo "$GOC_FOR_TARGET" >&6; }
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11068 $as_echo "no
" >&6; }
11073 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
11077 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
11079 if test $build = $target ; then
11080 GOC_FOR_TARGET="$2"
11082 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11085 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
11090 if test -n "$GUPC_FOR_TARGET"; then
11091 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
11092 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11093 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11096 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11097 for ncn_progname in gupc; do
11098 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11099 set dummy ${ncn_progname}; ac_word=$2
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11101 $as_echo_n "checking
for $ac_word...
" >&6; }
11102 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11103 $as_echo_n "(cached
) " >&6
11105 if test -n "$GUPC_FOR_TARGET"; then
11106 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11109 for as_dir in $PATH
11112 test -z "$as_dir" && as_dir=.
11113 for ac_exec_ext in '' $ac_executable_extensions; do
11114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11115 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11116 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11125 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11126 if test -n "$GUPC_FOR_TARGET"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11128 $as_echo "$GUPC_FOR_TARGET" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11131 $as_echo "no
" >&6; }
11138 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11139 for ncn_progname in gupc; do
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11141 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11142 if test -x $with_build_time_tools/${ncn_progname}; then
11143 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11145 $as_echo "yes" >&6; }
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11149 $as_echo "no
" >&6; }
11154 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
11155 for ncn_progname in gupc; do
11156 if test -n "$ncn_target_tool_prefix"; then
11157 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11158 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11160 $as_echo_n "checking
for $ac_word...
" >&6; }
11161 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11162 $as_echo_n "(cached
) " >&6
11164 if test -n "$GUPC_FOR_TARGET"; then
11165 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11168 for as_dir in $PATH
11171 test -z "$as_dir" && as_dir=.
11172 for ac_exec_ext in '' $ac_executable_extensions; do
11173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11174 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11184 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11185 if test -n "$GUPC_FOR_TARGET"; then
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11187 $as_echo "$GUPC_FOR_TARGET" >&6; }
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11190 $as_echo "no
" >&6; }
11195 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
11196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11197 set dummy ${ncn_progname}; ac_word=$2
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11199 $as_echo_n "checking
for $ac_word...
" >&6; }
11200 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11201 $as_echo_n "(cached
) " >&6
11203 if test -n "$GUPC_FOR_TARGET"; then
11204 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $PATH
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11223 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11224 if test -n "$GUPC_FOR_TARGET"; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11226 $as_echo "$GUPC_FOR_TARGET" >&6; }
11228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11229 $as_echo "no
" >&6; }
11234 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
11238 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
11240 if test $build = $target ; then
11241 GUPC_FOR_TARGET="$2"
11243 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11246 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
11251 cat > conftest.c << \EOF
11256 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11257 have_gcc_for_target=yes
11259 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11260 have_gcc_for_target=no
11267 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11268 if test -n "$with_build_time_tools"; then
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11270 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11271 if test -x $with_build_time_tools/ar; then
11272 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11273 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11275 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11278 $as_echo "no
" >&6; }
11280 elif test $build != $host && test $have_gcc_for_target = yes; then
11281 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11282 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11283 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11286 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11287 # Extract the first word of "ar", so it can be a program name with args.
11288 set dummy ar; ac_word=$2
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11290 $as_echo_n "checking
for $ac_word...
" >&6; }
11291 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11292 $as_echo_n "(cached
) " >&6
11294 case $AR_FOR_TARGET in
11296 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11300 for as_dir in $gcc_cv_tool_dirs
11303 test -z "$as_dir" && as_dir=.
11304 for ac_exec_ext in '' $ac_executable_extensions; do
11305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11306 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11317 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11318 if test -n "$AR_FOR_TARGET"; then
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11320 $as_echo "$AR_FOR_TARGET" >&6; }
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11323 $as_echo "no
" >&6; }
11328 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11331 if test -n "$AR_FOR_TARGET"; then
11332 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11333 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11334 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11337 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11338 for ncn_progname in ar; do
11339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11340 set dummy ${ncn_progname}; ac_word=$2
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11342 $as_echo_n "checking
for $ac_word...
" >&6; }
11343 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11344 $as_echo_n "(cached
) " >&6
11346 if test -n "$AR_FOR_TARGET"; then
11347 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11350 for as_dir in $PATH
11353 test -z "$as_dir" && as_dir=.
11354 for ac_exec_ext in '' $ac_executable_extensions; do
11355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11356 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11366 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11367 if test -n "$AR_FOR_TARGET"; then
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11369 $as_echo "$AR_FOR_TARGET" >&6; }
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11372 $as_echo "no
" >&6; }
11379 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11380 for ncn_progname in ar; do
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11382 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11383 if test -x $with_build_time_tools/${ncn_progname}; then
11384 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11386 $as_echo "yes" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11390 $as_echo "no
" >&6; }
11395 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11396 for ncn_progname in ar; do
11397 if test -n "$ncn_target_tool_prefix"; then
11398 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11399 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11401 $as_echo_n "checking
for $ac_word...
" >&6; }
11402 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11403 $as_echo_n "(cached
) " >&6
11405 if test -n "$AR_FOR_TARGET"; then
11406 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11409 for as_dir in $PATH
11412 test -z "$as_dir" && as_dir=.
11413 for ac_exec_ext in '' $ac_executable_extensions; do
11414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11415 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11425 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11426 if test -n "$AR_FOR_TARGET"; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11428 $as_echo "$AR_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11431 $as_echo "no
" >&6; }
11436 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11437 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11438 set dummy ${ncn_progname}; ac_word=$2
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11440 $as_echo_n "checking
for $ac_word...
" >&6; }
11441 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11442 $as_echo_n "(cached
) " >&6
11444 if test -n "$AR_FOR_TARGET"; then
11445 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11448 for as_dir in $PATH
11451 test -z "$as_dir" && as_dir=.
11452 for ac_exec_ext in '' $ac_executable_extensions; do
11453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11454 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11455 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11464 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11465 if test -n "$AR_FOR_TARGET"; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11467 $as_echo "$AR_FOR_TARGET" >&6; }
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11470 $as_echo "no
" >&6; }
11475 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11479 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11481 if test $build = $target ; then
11484 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11487 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11491 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11497 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11498 if test -n "$with_build_time_tools"; then
11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11500 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11501 if test -x $with_build_time_tools/as; then
11502 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11503 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11505 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11508 $as_echo "no
" >&6; }
11510 elif test $build != $host && test $have_gcc_for_target = yes; then
11511 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11512 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11513 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11516 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11517 # Extract the first word of "as
", so it can be a program name with args.
11518 set dummy as; ac_word=$2
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11520 $as_echo_n "checking
for $ac_word...
" >&6; }
11521 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11522 $as_echo_n "(cached
) " >&6
11524 case $AS_FOR_TARGET in
11526 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11530 for as_dir in $gcc_cv_tool_dirs
11533 test -z "$as_dir" && as_dir=.
11534 for ac_exec_ext in '' $ac_executable_extensions; do
11535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11536 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11547 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11548 if test -n "$AS_FOR_TARGET"; then
11549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11550 $as_echo "$AS_FOR_TARGET" >&6; }
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11553 $as_echo "no
" >&6; }
11558 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11561 if test -n "$AS_FOR_TARGET"; then
11562 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11563 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11564 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11567 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11568 for ncn_progname in as; do
11569 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11570 set dummy ${ncn_progname}; ac_word=$2
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11572 $as_echo_n "checking
for $ac_word...
" >&6; }
11573 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11574 $as_echo_n "(cached
) " >&6
11576 if test -n "$AS_FOR_TARGET"; then
11577 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11580 for as_dir in $PATH
11583 test -z "$as_dir" && as_dir=.
11584 for ac_exec_ext in '' $ac_executable_extensions; do
11585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11586 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11596 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11597 if test -n "$AS_FOR_TARGET"; then
11598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11599 $as_echo "$AS_FOR_TARGET" >&6; }
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11602 $as_echo "no
" >&6; }
11609 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11610 for ncn_progname in as; do
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11612 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11613 if test -x $with_build_time_tools/${ncn_progname}; then
11614 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11616 $as_echo "yes" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11620 $as_echo "no
" >&6; }
11625 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11626 for ncn_progname in as; do
11627 if test -n "$ncn_target_tool_prefix"; then
11628 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11629 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11631 $as_echo_n "checking
for $ac_word...
" >&6; }
11632 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11633 $as_echo_n "(cached
) " >&6
11635 if test -n "$AS_FOR_TARGET"; then
11636 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11639 for as_dir in $PATH
11642 test -z "$as_dir" && as_dir=.
11643 for ac_exec_ext in '' $ac_executable_extensions; do
11644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11645 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11655 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11656 if test -n "$AS_FOR_TARGET"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11658 $as_echo "$AS_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11661 $as_echo "no
" >&6; }
11666 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11667 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11668 set dummy ${ncn_progname}; ac_word=$2
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11670 $as_echo_n "checking
for $ac_word...
" >&6; }
11671 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11672 $as_echo_n "(cached
) " >&6
11674 if test -n "$AS_FOR_TARGET"; then
11675 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11678 for as_dir in $PATH
11681 test -z "$as_dir" && as_dir=.
11682 for ac_exec_ext in '' $ac_executable_extensions; do
11683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11684 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11685 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11694 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11695 if test -n "$AS_FOR_TARGET"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11697 $as_echo "$AS_FOR_TARGET" >&6; }
11699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11700 $as_echo "no
" >&6; }
11705 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11709 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11711 if test $build = $target ; then
11714 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11717 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11721 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11727 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11728 if test -n "$with_build_time_tools"; then
11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11730 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11731 if test -x $with_build_time_tools/dlltool; then
11732 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11733 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11735 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11738 $as_echo "no
" >&6; }
11740 elif test $build != $host && test $have_gcc_for_target = yes; then
11741 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11742 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11743 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11746 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11747 # Extract the first word of "dlltool
", so it can be a program name with args.
11748 set dummy dlltool; ac_word=$2
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11750 $as_echo_n "checking
for $ac_word...
" >&6; }
11751 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11752 $as_echo_n "(cached
) " >&6
11754 case $DLLTOOL_FOR_TARGET in
11756 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11760 for as_dir in $gcc_cv_tool_dirs
11763 test -z "$as_dir" && as_dir=.
11764 for ac_exec_ext in '' $ac_executable_extensions; do
11765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11766 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11777 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11778 if test -n "$DLLTOOL_FOR_TARGET"; then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11780 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11783 $as_echo "no
" >&6; }
11788 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11791 if test -n "$DLLTOOL_FOR_TARGET"; then
11792 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11793 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11794 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11797 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11798 for ncn_progname in dlltool; do
11799 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11800 set dummy ${ncn_progname}; ac_word=$2
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11802 $as_echo_n "checking
for $ac_word...
" >&6; }
11803 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11804 $as_echo_n "(cached
) " >&6
11806 if test -n "$DLLTOOL_FOR_TARGET"; then
11807 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810 for as_dir in $PATH
11813 test -z "$as_dir" && as_dir=.
11814 for ac_exec_ext in '' $ac_executable_extensions; do
11815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11816 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11826 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11827 if test -n "$DLLTOOL_FOR_TARGET"; then
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11829 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11832 $as_echo "no
" >&6; }
11839 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11840 for ncn_progname in dlltool; do
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11842 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11843 if test -x $with_build_time_tools/${ncn_progname}; then
11844 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11846 $as_echo "yes" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11850 $as_echo "no
" >&6; }
11855 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11856 for ncn_progname in dlltool; do
11857 if test -n "$ncn_target_tool_prefix"; then
11858 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11859 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11861 $as_echo_n "checking
for $ac_word...
" >&6; }
11862 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11863 $as_echo_n "(cached
) " >&6
11865 if test -n "$DLLTOOL_FOR_TARGET"; then
11866 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11869 for as_dir in $PATH
11872 test -z "$as_dir" && as_dir=.
11873 for ac_exec_ext in '' $ac_executable_extensions; do
11874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11875 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11885 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11886 if test -n "$DLLTOOL_FOR_TARGET"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11888 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11891 $as_echo "no
" >&6; }
11896 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11897 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11898 set dummy ${ncn_progname}; ac_word=$2
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11900 $as_echo_n "checking
for $ac_word...
" >&6; }
11901 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11902 $as_echo_n "(cached
) " >&6
11904 if test -n "$DLLTOOL_FOR_TARGET"; then
11905 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908 for as_dir in $PATH
11911 test -z "$as_dir" && as_dir=.
11912 for ac_exec_ext in '' $ac_executable_extensions; do
11913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11914 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11915 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11924 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11925 if test -n "$DLLTOOL_FOR_TARGET"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11927 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11930 $as_echo "no
" >&6; }
11935 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11939 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11941 if test $build = $target ; then
11942 DLLTOOL_FOR_TARGET="$2"
11944 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11947 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11951 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11957 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11958 if test -n "$with_build_time_tools"; then
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11960 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11961 if test -x $with_build_time_tools/ld; then
11962 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11963 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11965 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11968 $as_echo "no
" >&6; }
11970 elif test $build != $host && test $have_gcc_for_target = yes; then
11971 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11972 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11973 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11976 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11977 # Extract the first word of "ld
", so it can be a program name with args.
11978 set dummy ld; ac_word=$2
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11980 $as_echo_n "checking
for $ac_word...
" >&6; }
11981 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11982 $as_echo_n "(cached
) " >&6
11984 case $LD_FOR_TARGET in
11986 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11990 for as_dir in $gcc_cv_tool_dirs
11993 test -z "$as_dir" && as_dir=.
11994 for ac_exec_ext in '' $ac_executable_extensions; do
11995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11996 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12007 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12008 if test -n "$LD_FOR_TARGET"; then
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12010 $as_echo "$LD_FOR_TARGET" >&6; }
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12013 $as_echo "no
" >&6; }
12018 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
12021 if test -n "$LD_FOR_TARGET"; then
12022 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
12023 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12024 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12027 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
12028 for ncn_progname in ld; do
12029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12030 set dummy ${ncn_progname}; ac_word=$2
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12032 $as_echo_n "checking
for $ac_word...
" >&6; }
12033 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12034 $as_echo_n "(cached
) " >&6
12036 if test -n "$LD_FOR_TARGET"; then
12037 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12040 for as_dir in $PATH
12043 test -z "$as_dir" && as_dir=.
12044 for ac_exec_ext in '' $ac_executable_extensions; do
12045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12046 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12056 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12057 if test -n "$LD_FOR_TARGET"; then
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12059 $as_echo "$LD_FOR_TARGET" >&6; }
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12062 $as_echo "no
" >&6; }
12069 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
12070 for ncn_progname in ld; do
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12072 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12073 if test -x $with_build_time_tools/${ncn_progname}; then
12074 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12076 $as_echo "yes" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12080 $as_echo "no
" >&6; }
12085 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
12086 for ncn_progname in ld; do
12087 if test -n "$ncn_target_tool_prefix"; then
12088 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12089 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12091 $as_echo_n "checking
for $ac_word...
" >&6; }
12092 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12093 $as_echo_n "(cached
) " >&6
12095 if test -n "$LD_FOR_TARGET"; then
12096 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12099 for as_dir in $PATH
12102 test -z "$as_dir" && as_dir=.
12103 for ac_exec_ext in '' $ac_executable_extensions; do
12104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12105 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12115 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12116 if test -n "$LD_FOR_TARGET"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12118 $as_echo "$LD_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12121 $as_echo "no
" >&6; }
12126 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12128 set dummy ${ncn_progname}; ac_word=$2
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12130 $as_echo_n "checking
for $ac_word...
" >&6; }
12131 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12132 $as_echo_n "(cached
) " >&6
12134 if test -n "$LD_FOR_TARGET"; then
12135 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12138 for as_dir in $PATH
12141 test -z "$as_dir" && as_dir=.
12142 for ac_exec_ext in '' $ac_executable_extensions; do
12143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12144 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12154 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12155 if test -n "$LD_FOR_TARGET"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12157 $as_echo "$LD_FOR_TARGET" >&6; }
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12160 $as_echo "no
" >&6; }
12165 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12169 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12171 if test $build = $target ; then
12174 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12177 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12181 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12187 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12188 if test -n "$with_build_time_tools"; then
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12190 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12191 if test -x $with_build_time_tools/lipo; then
12192 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12193 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12195 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12198 $as_echo "no
" >&6; }
12200 elif test $build != $host && test $have_gcc_for_target = yes; then
12201 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12202 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12203 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12206 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12207 # Extract the first word of "lipo
", so it can be a program name with args.
12208 set dummy lipo; ac_word=$2
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12210 $as_echo_n "checking
for $ac_word...
" >&6; }
12211 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12212 $as_echo_n "(cached
) " >&6
12214 case $LIPO_FOR_TARGET in
12216 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12220 for as_dir in $gcc_cv_tool_dirs
12223 test -z "$as_dir" && as_dir=.
12224 for ac_exec_ext in '' $ac_executable_extensions; do
12225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12226 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12227 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12237 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12238 if test -n "$LIPO_FOR_TARGET"; then
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12240 $as_echo "$LIPO_FOR_TARGET" >&6; }
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12243 $as_echo "no
" >&6; }
12248 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12251 if test -n "$LIPO_FOR_TARGET"; then
12252 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12253 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12254 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12257 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12258 for ncn_progname in lipo; do
12259 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12260 set dummy ${ncn_progname}; ac_word=$2
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12262 $as_echo_n "checking
for $ac_word...
" >&6; }
12263 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12264 $as_echo_n "(cached
) " >&6
12266 if test -n "$LIPO_FOR_TARGET"; then
12267 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12270 for as_dir in $PATH
12273 test -z "$as_dir" && as_dir=.
12274 for ac_exec_ext in '' $ac_executable_extensions; do
12275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12276 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12277 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12286 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12287 if test -n "$LIPO_FOR_TARGET"; then
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12289 $as_echo "$LIPO_FOR_TARGET" >&6; }
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12292 $as_echo "no
" >&6; }
12299 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12300 for ncn_progname in lipo; do
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12302 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12303 if test -x $with_build_time_tools/${ncn_progname}; then
12304 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12306 $as_echo "yes" >&6; }
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12310 $as_echo "no
" >&6; }
12315 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12316 for ncn_progname in lipo; do
12317 if test -n "$ncn_target_tool_prefix"; then
12318 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12319 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12321 $as_echo_n "checking
for $ac_word...
" >&6; }
12322 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12323 $as_echo_n "(cached
) " >&6
12325 if test -n "$LIPO_FOR_TARGET"; then
12326 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12329 for as_dir in $PATH
12332 test -z "$as_dir" && as_dir=.
12333 for ac_exec_ext in '' $ac_executable_extensions; do
12334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12335 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12345 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12346 if test -n "$LIPO_FOR_TARGET"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12348 $as_echo "$LIPO_FOR_TARGET" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12351 $as_echo "no
" >&6; }
12356 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12358 set dummy ${ncn_progname}; ac_word=$2
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12360 $as_echo_n "checking
for $ac_word...
" >&6; }
12361 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12362 $as_echo_n "(cached
) " >&6
12364 if test -n "$LIPO_FOR_TARGET"; then
12365 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12368 for as_dir in $PATH
12371 test -z "$as_dir" && as_dir=.
12372 for ac_exec_ext in '' $ac_executable_extensions; do
12373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12374 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12384 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12385 if test -n "$LIPO_FOR_TARGET"; then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12387 $as_echo "$LIPO_FOR_TARGET" >&6; }
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12390 $as_echo "no
" >&6; }
12395 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12399 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12401 if test $build = $target ; then
12402 LIPO_FOR_TARGET="$2"
12404 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12407 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12411 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12417 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12418 if test -n "$with_build_time_tools"; then
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12420 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12421 if test -x $with_build_time_tools/nm; then
12422 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12423 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12425 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12428 $as_echo "no
" >&6; }
12430 elif test $build != $host && test $have_gcc_for_target = yes; then
12431 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12432 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12433 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12436 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12437 # Extract the first word of "nm
", so it can be a program name with args.
12438 set dummy nm; ac_word=$2
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12440 $as_echo_n "checking
for $ac_word...
" >&6; }
12441 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12442 $as_echo_n "(cached
) " >&6
12444 case $NM_FOR_TARGET in
12446 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12450 for as_dir in $gcc_cv_tool_dirs
12453 test -z "$as_dir" && as_dir=.
12454 for ac_exec_ext in '' $ac_executable_extensions; do
12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12456 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12467 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12468 if test -n "$NM_FOR_TARGET"; then
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12470 $as_echo "$NM_FOR_TARGET" >&6; }
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12473 $as_echo "no
" >&6; }
12478 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12481 if test -n "$NM_FOR_TARGET"; then
12482 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12483 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12484 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12487 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12488 for ncn_progname in nm; do
12489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12490 set dummy ${ncn_progname}; ac_word=$2
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12492 $as_echo_n "checking
for $ac_word...
" >&6; }
12493 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12494 $as_echo_n "(cached
) " >&6
12496 if test -n "$NM_FOR_TARGET"; then
12497 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12500 for as_dir in $PATH
12503 test -z "$as_dir" && as_dir=.
12504 for ac_exec_ext in '' $ac_executable_extensions; do
12505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12506 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12516 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12517 if test -n "$NM_FOR_TARGET"; then
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12519 $as_echo "$NM_FOR_TARGET" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12522 $as_echo "no
" >&6; }
12529 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12530 for ncn_progname in nm; do
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12532 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12533 if test -x $with_build_time_tools/${ncn_progname}; then
12534 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12536 $as_echo "yes" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12540 $as_echo "no
" >&6; }
12545 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12546 for ncn_progname in nm; do
12547 if test -n "$ncn_target_tool_prefix"; then
12548 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12549 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12551 $as_echo_n "checking
for $ac_word...
" >&6; }
12552 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12553 $as_echo_n "(cached
) " >&6
12555 if test -n "$NM_FOR_TARGET"; then
12556 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12559 for as_dir in $PATH
12562 test -z "$as_dir" && as_dir=.
12563 for ac_exec_ext in '' $ac_executable_extensions; do
12564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12565 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12575 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12576 if test -n "$NM_FOR_TARGET"; then
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12578 $as_echo "$NM_FOR_TARGET" >&6; }
12580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12581 $as_echo "no
" >&6; }
12586 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12588 set dummy ${ncn_progname}; ac_word=$2
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12590 $as_echo_n "checking
for $ac_word...
" >&6; }
12591 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12592 $as_echo_n "(cached
) " >&6
12594 if test -n "$NM_FOR_TARGET"; then
12595 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12598 for as_dir in $PATH
12601 test -z "$as_dir" && as_dir=.
12602 for ac_exec_ext in '' $ac_executable_extensions; do
12603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12604 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12614 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12615 if test -n "$NM_FOR_TARGET"; then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12617 $as_echo "$NM_FOR_TARGET" >&6; }
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12620 $as_echo "no
" >&6; }
12625 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12629 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12631 if test $build = $target ; then
12634 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12637 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12641 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12647 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12648 if test -n "$with_build_time_tools"; then
12649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12650 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12651 if test -x $with_build_time_tools/objdump; then
12652 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12653 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12655 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12658 $as_echo "no
" >&6; }
12660 elif test $build != $host && test $have_gcc_for_target = yes; then
12661 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12662 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12663 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12666 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12667 # Extract the first word of "objdump
", so it can be a program name with args.
12668 set dummy objdump; ac_word=$2
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12670 $as_echo_n "checking
for $ac_word...
" >&6; }
12671 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12672 $as_echo_n "(cached
) " >&6
12674 case $OBJDUMP_FOR_TARGET in
12676 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12680 for as_dir in $gcc_cv_tool_dirs
12683 test -z "$as_dir" && as_dir=.
12684 for ac_exec_ext in '' $ac_executable_extensions; do
12685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12686 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12697 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12698 if test -n "$OBJDUMP_FOR_TARGET"; then
12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12700 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12703 $as_echo "no
" >&6; }
12708 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12711 if test -n "$OBJDUMP_FOR_TARGET"; then
12712 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12713 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12714 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12717 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12718 for ncn_progname in objdump; do
12719 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12720 set dummy ${ncn_progname}; ac_word=$2
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12722 $as_echo_n "checking
for $ac_word...
" >&6; }
12723 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12724 $as_echo_n "(cached
) " >&6
12726 if test -n "$OBJDUMP_FOR_TARGET"; then
12727 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12730 for as_dir in $PATH
12733 test -z "$as_dir" && as_dir=.
12734 for ac_exec_ext in '' $ac_executable_extensions; do
12735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12736 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12737 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12746 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12747 if test -n "$OBJDUMP_FOR_TARGET"; then
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12749 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12752 $as_echo "no
" >&6; }
12759 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12760 for ncn_progname in objdump; do
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12762 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12763 if test -x $with_build_time_tools/${ncn_progname}; then
12764 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12766 $as_echo "yes" >&6; }
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12770 $as_echo "no
" >&6; }
12775 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12776 for ncn_progname in objdump; do
12777 if test -n "$ncn_target_tool_prefix"; then
12778 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12779 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12781 $as_echo_n "checking
for $ac_word...
" >&6; }
12782 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12783 $as_echo_n "(cached
) " >&6
12785 if test -n "$OBJDUMP_FOR_TARGET"; then
12786 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12789 for as_dir in $PATH
12792 test -z "$as_dir" && as_dir=.
12793 for ac_exec_ext in '' $ac_executable_extensions; do
12794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12795 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12805 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12806 if test -n "$OBJDUMP_FOR_TARGET"; then
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12808 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12811 $as_echo "no
" >&6; }
12816 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12818 set dummy ${ncn_progname}; ac_word=$2
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12820 $as_echo_n "checking
for $ac_word...
" >&6; }
12821 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12822 $as_echo_n "(cached
) " >&6
12824 if test -n "$OBJDUMP_FOR_TARGET"; then
12825 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12828 for as_dir in $PATH
12831 test -z "$as_dir" && as_dir=.
12832 for ac_exec_ext in '' $ac_executable_extensions; do
12833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12834 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12844 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12845 if test -n "$OBJDUMP_FOR_TARGET"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12847 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12850 $as_echo "no
" >&6; }
12855 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12859 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12861 if test $build = $target ; then
12862 OBJDUMP_FOR_TARGET="$2"
12864 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12867 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12871 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12877 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12878 if test -n "$with_build_time_tools"; then
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12880 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12881 if test -x $with_build_time_tools/ranlib; then
12882 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12883 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12885 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12888 $as_echo "no
" >&6; }
12890 elif test $build != $host && test $have_gcc_for_target = yes; then
12891 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12892 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12893 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12896 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12897 # Extract the first word of "ranlib
", so it can be a program name with args.
12898 set dummy ranlib; ac_word=$2
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12900 $as_echo_n "checking
for $ac_word...
" >&6; }
12901 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12902 $as_echo_n "(cached
) " >&6
12904 case $RANLIB_FOR_TARGET in
12906 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910 for as_dir in $gcc_cv_tool_dirs
12913 test -z "$as_dir" && as_dir=.
12914 for ac_exec_ext in '' $ac_executable_extensions; do
12915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12916 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12927 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12928 if test -n "$RANLIB_FOR_TARGET"; then
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12930 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12933 $as_echo "no
" >&6; }
12938 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12941 if test -n "$RANLIB_FOR_TARGET"; then
12942 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12943 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12944 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12947 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12948 for ncn_progname in ranlib; do
12949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12950 set dummy ${ncn_progname}; ac_word=$2
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12952 $as_echo_n "checking
for $ac_word...
" >&6; }
12953 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12954 $as_echo_n "(cached
) " >&6
12956 if test -n "$RANLIB_FOR_TARGET"; then
12957 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12960 for as_dir in $PATH
12963 test -z "$as_dir" && as_dir=.
12964 for ac_exec_ext in '' $ac_executable_extensions; do
12965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12966 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12976 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12977 if test -n "$RANLIB_FOR_TARGET"; then
12978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12979 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12982 $as_echo "no
" >&6; }
12989 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12990 for ncn_progname in ranlib; do
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12992 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12993 if test -x $with_build_time_tools/${ncn_progname}; then
12994 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12996 $as_echo "yes" >&6; }
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13000 $as_echo "no
" >&6; }
13005 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13006 for ncn_progname in ranlib; do
13007 if test -n "$ncn_target_tool_prefix"; then
13008 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13009 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13011 $as_echo_n "checking
for $ac_word...
" >&6; }
13012 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13013 $as_echo_n "(cached
) " >&6
13015 if test -n "$RANLIB_FOR_TARGET"; then
13016 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13019 for as_dir in $PATH
13022 test -z "$as_dir" && as_dir=.
13023 for ac_exec_ext in '' $ac_executable_extensions; do
13024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13025 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13035 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13036 if test -n "$RANLIB_FOR_TARGET"; then
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13038 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13041 $as_echo "no
" >&6; }
13046 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13048 set dummy ${ncn_progname}; ac_word=$2
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13050 $as_echo_n "checking
for $ac_word...
" >&6; }
13051 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13052 $as_echo_n "(cached
) " >&6
13054 if test -n "$RANLIB_FOR_TARGET"; then
13055 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13058 for as_dir in $PATH
13061 test -z "$as_dir" && as_dir=.
13062 for ac_exec_ext in '' $ac_executable_extensions; do
13063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13064 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13074 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13075 if test -n "$RANLIB_FOR_TARGET"; then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13077 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13080 $as_echo "no
" >&6; }
13085 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13089 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13091 if test $build = $target ; then
13092 RANLIB_FOR_TARGET="$2"
13094 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13097 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13101 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13107 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13108 if test -n "$with_build_time_tools"; then
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13110 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13111 if test -x $with_build_time_tools/readelf; then
13112 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13113 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13115 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13118 $as_echo "no
" >&6; }
13120 elif test $build != $host && test $have_gcc_for_target = yes; then
13121 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13122 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13123 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13126 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13127 # Extract the first word of "readelf
", so it can be a program name with args.
13128 set dummy readelf; ac_word=$2
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13130 $as_echo_n "checking
for $ac_word...
" >&6; }
13131 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13132 $as_echo_n "(cached
) " >&6
13134 case $READELF_FOR_TARGET in
13136 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13140 for as_dir in $gcc_cv_tool_dirs
13143 test -z "$as_dir" && as_dir=.
13144 for ac_exec_ext in '' $ac_executable_extensions; do
13145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13146 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13157 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13158 if test -n "$READELF_FOR_TARGET"; then
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13160 $as_echo "$READELF_FOR_TARGET" >&6; }
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13163 $as_echo "no
" >&6; }
13168 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13171 if test -n "$READELF_FOR_TARGET"; then
13172 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13173 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13174 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13177 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13178 for ncn_progname in readelf; do
13179 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13180 set dummy ${ncn_progname}; ac_word=$2
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13182 $as_echo_n "checking
for $ac_word...
" >&6; }
13183 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13184 $as_echo_n "(cached
) " >&6
13186 if test -n "$READELF_FOR_TARGET"; then
13187 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $PATH
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13197 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13206 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13207 if test -n "$READELF_FOR_TARGET"; then
13208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13209 $as_echo "$READELF_FOR_TARGET" >&6; }
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13212 $as_echo "no
" >&6; }
13219 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13220 for ncn_progname in readelf; do
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13222 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13223 if test -x $with_build_time_tools/${ncn_progname}; then
13224 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13226 $as_echo "yes" >&6; }
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13230 $as_echo "no
" >&6; }
13235 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13236 for ncn_progname in readelf; do
13237 if test -n "$ncn_target_tool_prefix"; then
13238 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13239 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13241 $as_echo_n "checking
for $ac_word...
" >&6; }
13242 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13243 $as_echo_n "(cached
) " >&6
13245 if test -n "$READELF_FOR_TARGET"; then
13246 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13249 for as_dir in $PATH
13252 test -z "$as_dir" && as_dir=.
13253 for ac_exec_ext in '' $ac_executable_extensions; do
13254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13255 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13265 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13266 if test -n "$READELF_FOR_TARGET"; then
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13268 $as_echo "$READELF_FOR_TARGET" >&6; }
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13271 $as_echo "no
" >&6; }
13276 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13278 set dummy ${ncn_progname}; ac_word=$2
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13280 $as_echo_n "checking
for $ac_word...
" >&6; }
13281 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13282 $as_echo_n "(cached
) " >&6
13284 if test -n "$READELF_FOR_TARGET"; then
13285 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13288 for as_dir in $PATH
13291 test -z "$as_dir" && as_dir=.
13292 for ac_exec_ext in '' $ac_executable_extensions; do
13293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13294 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13304 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13305 if test -n "$READELF_FOR_TARGET"; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13307 $as_echo "$READELF_FOR_TARGET" >&6; }
13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13310 $as_echo "no
" >&6; }
13315 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13319 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13321 if test $build = $target ; then
13322 READELF_FOR_TARGET="$2"
13324 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13327 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13331 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13337 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13338 if test -n "$with_build_time_tools"; then
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13340 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13341 if test -x $with_build_time_tools/strip; then
13342 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13343 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13345 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13348 $as_echo "no
" >&6; }
13350 elif test $build != $host && test $have_gcc_for_target = yes; then
13351 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13352 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13353 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13356 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13357 # Extract the first word of "strip
", so it can be a program name with args.
13358 set dummy strip; ac_word=$2
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13360 $as_echo_n "checking
for $ac_word...
" >&6; }
13361 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13362 $as_echo_n "(cached
) " >&6
13364 case $STRIP_FOR_TARGET in
13366 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13370 for as_dir in $gcc_cv_tool_dirs
13373 test -z "$as_dir" && as_dir=.
13374 for ac_exec_ext in '' $ac_executable_extensions; do
13375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13376 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13387 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13388 if test -n "$STRIP_FOR_TARGET"; then
13389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13390 $as_echo "$STRIP_FOR_TARGET" >&6; }
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13393 $as_echo "no
" >&6; }
13398 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13401 if test -n "$STRIP_FOR_TARGET"; then
13402 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13403 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13404 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13407 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13408 for ncn_progname in strip; do
13409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13410 set dummy ${ncn_progname}; ac_word=$2
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13412 $as_echo_n "checking
for $ac_word...
" >&6; }
13413 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13414 $as_echo_n "(cached
) " >&6
13416 if test -n "$STRIP_FOR_TARGET"; then
13417 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13420 for as_dir in $PATH
13423 test -z "$as_dir" && as_dir=.
13424 for ac_exec_ext in '' $ac_executable_extensions; do
13425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13426 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13436 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13437 if test -n "$STRIP_FOR_TARGET"; then
13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13439 $as_echo "$STRIP_FOR_TARGET" >&6; }
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13442 $as_echo "no
" >&6; }
13449 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13450 for ncn_progname in strip; do
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13452 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13453 if test -x $with_build_time_tools/${ncn_progname}; then
13454 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13456 $as_echo "yes" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13460 $as_echo "no
" >&6; }
13465 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13466 for ncn_progname in strip; do
13467 if test -n "$ncn_target_tool_prefix"; then
13468 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13469 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13471 $as_echo_n "checking
for $ac_word...
" >&6; }
13472 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13473 $as_echo_n "(cached
) " >&6
13475 if test -n "$STRIP_FOR_TARGET"; then
13476 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13479 for as_dir in $PATH
13482 test -z "$as_dir" && as_dir=.
13483 for ac_exec_ext in '' $ac_executable_extensions; do
13484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13485 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13495 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13496 if test -n "$STRIP_FOR_TARGET"; then
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13498 $as_echo "$STRIP_FOR_TARGET" >&6; }
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13501 $as_echo "no
" >&6; }
13506 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13508 set dummy ${ncn_progname}; ac_word=$2
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13510 $as_echo_n "checking
for $ac_word...
" >&6; }
13511 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13512 $as_echo_n "(cached
) " >&6
13514 if test -n "$STRIP_FOR_TARGET"; then
13515 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13518 for as_dir in $PATH
13521 test -z "$as_dir" && as_dir=.
13522 for ac_exec_ext in '' $ac_executable_extensions; do
13523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13524 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13534 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13535 if test -n "$STRIP_FOR_TARGET"; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13537 $as_echo "$STRIP_FOR_TARGET" >&6; }
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13540 $as_echo "no
" >&6; }
13545 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13549 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13551 if test $build = $target ; then
13552 STRIP_FOR_TARGET="$2"
13554 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13557 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13561 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13567 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13568 if test -n "$with_build_time_tools"; then
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13570 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13571 if test -x $with_build_time_tools/windres; then
13572 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13573 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13575 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13578 $as_echo "no
" >&6; }
13580 elif test $build != $host && test $have_gcc_for_target = yes; then
13581 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13582 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13583 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13586 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13587 # Extract the first word of "windres
", so it can be a program name with args.
13588 set dummy windres; ac_word=$2
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13590 $as_echo_n "checking
for $ac_word...
" >&6; }
13591 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13592 $as_echo_n "(cached
) " >&6
13594 case $WINDRES_FOR_TARGET in
13596 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13600 for as_dir in $gcc_cv_tool_dirs
13603 test -z "$as_dir" && as_dir=.
13604 for ac_exec_ext in '' $ac_executable_extensions; do
13605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13606 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13617 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13618 if test -n "$WINDRES_FOR_TARGET"; then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13620 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13623 $as_echo "no
" >&6; }
13628 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13631 if test -n "$WINDRES_FOR_TARGET"; then
13632 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13633 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13634 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13637 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13638 for ncn_progname in windres; do
13639 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13640 set dummy ${ncn_progname}; ac_word=$2
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13642 $as_echo_n "checking
for $ac_word...
" >&6; }
13643 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13644 $as_echo_n "(cached
) " >&6
13646 if test -n "$WINDRES_FOR_TARGET"; then
13647 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13650 for as_dir in $PATH
13653 test -z "$as_dir" && as_dir=.
13654 for ac_exec_ext in '' $ac_executable_extensions; do
13655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13656 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13657 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13666 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13667 if test -n "$WINDRES_FOR_TARGET"; then
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13669 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13672 $as_echo "no
" >&6; }
13679 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13680 for ncn_progname in windres; do
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13682 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13683 if test -x $with_build_time_tools/${ncn_progname}; then
13684 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13686 $as_echo "yes" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13690 $as_echo "no
" >&6; }
13695 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13696 for ncn_progname in windres; do
13697 if test -n "$ncn_target_tool_prefix"; then
13698 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13699 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13701 $as_echo_n "checking
for $ac_word...
" >&6; }
13702 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13703 $as_echo_n "(cached
) " >&6
13705 if test -n "$WINDRES_FOR_TARGET"; then
13706 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13709 for as_dir in $PATH
13712 test -z "$as_dir" && as_dir=.
13713 for ac_exec_ext in '' $ac_executable_extensions; do
13714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13715 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13725 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13726 if test -n "$WINDRES_FOR_TARGET"; then
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13728 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13731 $as_echo "no
" >&6; }
13736 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13738 set dummy ${ncn_progname}; ac_word=$2
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13740 $as_echo_n "checking
for $ac_word...
" >&6; }
13741 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13742 $as_echo_n "(cached
) " >&6
13744 if test -n "$WINDRES_FOR_TARGET"; then
13745 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13748 for as_dir in $PATH
13751 test -z "$as_dir" && as_dir=.
13752 for ac_exec_ext in '' $ac_executable_extensions; do
13753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13754 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13764 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13765 if test -n "$WINDRES_FOR_TARGET"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13767 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13770 $as_echo "no
" >&6; }
13775 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13779 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13781 if test $build = $target ; then
13782 WINDRES_FOR_TARGET="$2"
13784 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13787 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13791 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13797 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13798 if test -n "$with_build_time_tools"; then
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13800 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13801 if test -x $with_build_time_tools/windmc; then
13802 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13803 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13805 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13808 $as_echo "no
" >&6; }
13810 elif test $build != $host && test $have_gcc_for_target = yes; then
13811 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13812 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13813 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13816 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13817 # Extract the first word of "windmc
", so it can be a program name with args.
13818 set dummy windmc; ac_word=$2
13819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13820 $as_echo_n "checking
for $ac_word...
" >&6; }
13821 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13822 $as_echo_n "(cached
) " >&6
13824 case $WINDMC_FOR_TARGET in
13826 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13830 for as_dir in $gcc_cv_tool_dirs
13833 test -z "$as_dir" && as_dir=.
13834 for ac_exec_ext in '' $ac_executable_extensions; do
13835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13836 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13847 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13848 if test -n "$WINDMC_FOR_TARGET"; then
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13850 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13853 $as_echo "no
" >&6; }
13858 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13861 if test -n "$WINDMC_FOR_TARGET"; then
13862 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13863 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13864 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13867 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13868 for ncn_progname in windmc; do
13869 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13870 set dummy ${ncn_progname}; ac_word=$2
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13872 $as_echo_n "checking
for $ac_word...
" >&6; }
13873 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13874 $as_echo_n "(cached
) " >&6
13876 if test -n "$WINDMC_FOR_TARGET"; then
13877 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13880 for as_dir in $PATH
13883 test -z "$as_dir" && as_dir=.
13884 for ac_exec_ext in '' $ac_executable_extensions; do
13885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13886 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13887 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13896 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13897 if test -n "$WINDMC_FOR_TARGET"; then
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13899 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13902 $as_echo "no
" >&6; }
13909 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13910 for ncn_progname in windmc; do
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13912 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13913 if test -x $with_build_time_tools/${ncn_progname}; then
13914 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13916 $as_echo "yes" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13920 $as_echo "no
" >&6; }
13925 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13926 for ncn_progname in windmc; do
13927 if test -n "$ncn_target_tool_prefix"; then
13928 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13929 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13931 $as_echo_n "checking
for $ac_word...
" >&6; }
13932 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13933 $as_echo_n "(cached
) " >&6
13935 if test -n "$WINDMC_FOR_TARGET"; then
13936 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13939 for as_dir in $PATH
13942 test -z "$as_dir" && as_dir=.
13943 for ac_exec_ext in '' $ac_executable_extensions; do
13944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13945 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13955 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13956 if test -n "$WINDMC_FOR_TARGET"; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13958 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13961 $as_echo "no
" >&6; }
13966 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13968 set dummy ${ncn_progname}; ac_word=$2
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13970 $as_echo_n "checking
for $ac_word...
" >&6; }
13971 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13972 $as_echo_n "(cached
) " >&6
13974 if test -n "$WINDMC_FOR_TARGET"; then
13975 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13978 for as_dir in $PATH
13981 test -z "$as_dir" && as_dir=.
13982 for ac_exec_ext in '' $ac_executable_extensions; do
13983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13984 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13994 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13995 if test -n "$WINDMC_FOR_TARGET"; then
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13997 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14000 $as_echo "no
" >&6; }
14005 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14009 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14011 if test $build = $target ; then
14012 WINDMC_FOR_TARGET="$2"
14014 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14017 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14021 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14025 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14028 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14029 if test "x
${build}" != "x
${host}" ; then
14030 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14031 # We already found the complete path
14032 ac_dir=`dirname $AR_FOR_TARGET`
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14034 $as_echo "pre-installed
in $ac_dir" >&6; }
14036 # Canadian cross, just use what we found
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14038 $as_echo "pre-installed
" >&6; }
14042 case " ${configdirs} " in
14047 if test $ok = yes; then
14048 # An in-tree tool is available and we can use it
14049 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14051 $as_echo "just compiled
" >&6; }
14052 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14053 # We already found the complete path
14054 ac_dir=`dirname $AR_FOR_TARGET`
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14056 $as_echo "pre-installed
in $ac_dir" >&6; }
14057 elif test "x
$target" = "x
$host"; then
14058 # We can use an host tool
14059 AR_FOR_TARGET='$(AR)'
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14061 $as_echo "host tool
" >&6; }
14063 # We need a cross tool
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14065 $as_echo "pre-installed
" >&6; }
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14070 $as_echo_n "checking where to
find the target as...
" >&6; }
14071 if test "x
${build}" != "x
${host}" ; then
14072 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14073 # We already found the complete path
14074 ac_dir=`dirname $AS_FOR_TARGET`
14075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14076 $as_echo "pre-installed
in $ac_dir" >&6; }
14078 # Canadian cross, just use what we found
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14080 $as_echo "pre-installed
" >&6; }
14084 case " ${configdirs} " in
14089 if test $ok = yes; then
14090 # An in-tree tool is available and we can use it
14091 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14093 $as_echo "just compiled
" >&6; }
14094 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14095 # We already found the complete path
14096 ac_dir=`dirname $AS_FOR_TARGET`
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14098 $as_echo "pre-installed
in $ac_dir" >&6; }
14099 elif test "x
$target" = "x
$host"; then
14100 # We can use an host tool
14101 AS_FOR_TARGET='$(AS)'
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14103 $as_echo "host tool
" >&6; }
14105 # We need a cross tool
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14107 $as_echo "pre-installed
" >&6; }
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14112 $as_echo_n "checking where to
find the target cc...
" >&6; }
14113 if test "x
${build}" != "x
${host}" ; then
14114 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14115 # We already found the complete path
14116 ac_dir=`dirname $CC_FOR_TARGET`
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14118 $as_echo "pre-installed
in $ac_dir" >&6; }
14120 # Canadian cross, just use what we found
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14122 $as_echo "pre-installed
" >&6; }
14126 case " ${configdirs} " in
14131 if test $ok = yes; then
14132 # An in-tree tool is available and we can use it
14133 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14135 $as_echo "just compiled
" >&6; }
14136 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14137 # We already found the complete path
14138 ac_dir=`dirname $CC_FOR_TARGET`
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14140 $as_echo "pre-installed
in $ac_dir" >&6; }
14141 elif test "x
$target" = "x
$host"; then
14142 # We can use an host tool
14143 CC_FOR_TARGET='$(CC)'
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14145 $as_echo "host tool
" >&6; }
14147 # We need a cross tool
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14149 $as_echo "pre-installed
" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14154 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14155 if test "x
${build}" != "x
${host}" ; then
14156 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14157 # We already found the complete path
14158 ac_dir=`dirname $CXX_FOR_TARGET`
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14160 $as_echo "pre-installed
in $ac_dir" >&6; }
14162 # Canadian cross, just use what we found
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14164 $as_echo "pre-installed
" >&6; }
14168 case " ${configdirs} " in
14172 case ,${enable_languages}, in
14176 if test $ok = yes; then
14177 # An in-tree tool is available and we can use it
14178 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'
14179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14180 $as_echo "just compiled
" >&6; }
14181 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14182 # We already found the complete path
14183 ac_dir=`dirname $CXX_FOR_TARGET`
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14185 $as_echo "pre-installed
in $ac_dir" >&6; }
14186 elif test "x
$target" = "x
$host"; then
14187 # We can use an host tool
14188 CXX_FOR_TARGET='$(CXX)'
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14190 $as_echo "host tool
" >&6; }
14192 # We need a cross tool
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14194 $as_echo "pre-installed
" >&6; }
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14199 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14200 if test "x
${build}" != "x
${host}" ; then
14201 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14202 # We already found the complete path
14203 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14205 $as_echo "pre-installed
in $ac_dir" >&6; }
14207 # Canadian cross, just use what we found
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14209 $as_echo "pre-installed
" >&6; }
14213 case " ${configdirs} " in
14217 case ,${enable_languages}, in
14221 if test $ok = yes; then
14222 # An in-tree tool is available and we can use it
14223 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'
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14225 $as_echo "just compiled
" >&6; }
14226 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14227 # We already found the complete path
14228 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14230 $as_echo "pre-installed
in $ac_dir" >&6; }
14231 elif test "x
$target" = "x
$host"; then
14232 # We can use an host tool
14233 RAW_CXX_FOR_TARGET='$(CXX)'
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14235 $as_echo "host tool
" >&6; }
14237 # We need a cross tool
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14239 $as_echo "pre-installed
" >&6; }
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14244 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14245 if test "x
${build}" != "x
${host}" ; then
14246 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14247 # We already found the complete path
14248 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14250 $as_echo "pre-installed
in $ac_dir" >&6; }
14252 # Canadian cross, just use what we found
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14254 $as_echo "pre-installed
" >&6; }
14258 case " ${configdirs} " in
14263 if test $ok = yes; then
14264 # An in-tree tool is available and we can use it
14265 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14267 $as_echo "just compiled
" >&6; }
14268 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14269 # We already found the complete path
14270 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14272 $as_echo "pre-installed
in $ac_dir" >&6; }
14273 elif test "x
$target" = "x
$host"; then
14274 # We can use an host tool
14275 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14277 $as_echo "host tool
" >&6; }
14279 # We need a cross tool
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14281 $as_echo "pre-installed
" >&6; }
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14286 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14287 if test "x
${build}" != "x
${host}" ; then
14288 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14289 # We already found the complete path
14290 ac_dir=`dirname $GCC_FOR_TARGET`
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14292 $as_echo "pre-installed
in $ac_dir" >&6; }
14294 # Canadian cross, just use what we found
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14296 $as_echo "pre-installed
" >&6; }
14300 case " ${configdirs} " in
14305 if test $ok = yes; then
14306 # An in-tree tool is available and we can use it
14307 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14309 $as_echo "just compiled
" >&6; }
14310 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14311 # We already found the complete path
14312 ac_dir=`dirname $GCC_FOR_TARGET`
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14314 $as_echo "pre-installed
in $ac_dir" >&6; }
14315 elif test "x
$target" = "x
$host"; then
14316 # We can use an host tool
14317 GCC_FOR_TARGET='$()'
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14319 $as_echo "host tool
" >&6; }
14321 # We need a cross tool
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14323 $as_echo "pre-installed
" >&6; }
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14328 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14329 if test "x
${build}" != "x
${host}" ; then
14330 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14331 # We already found the complete path
14332 ac_dir=`dirname $GCJ_FOR_TARGET`
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14334 $as_echo "pre-installed
in $ac_dir" >&6; }
14336 # Canadian cross, just use what we found
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14338 $as_echo "pre-installed
" >&6; }
14342 case " ${configdirs} " in
14346 case ,${enable_languages}, in
14350 if test $ok = yes; then
14351 # An in-tree tool is available and we can use it
14352 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14354 $as_echo "just compiled
" >&6; }
14355 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14356 # We already found the complete path
14357 ac_dir=`dirname $GCJ_FOR_TARGET`
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14359 $as_echo "pre-installed
in $ac_dir" >&6; }
14360 elif test "x
$target" = "x
$host"; then
14361 # We can use an host tool
14362 GCJ_FOR_TARGET='$(GCJ)'
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14364 $as_echo "host tool
" >&6; }
14366 # We need a cross tool
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14368 $as_echo "pre-installed
" >&6; }
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14373 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14374 if test "x
${build}" != "x
${host}" ; then
14375 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14376 # We already found the complete path
14377 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14379 $as_echo "pre-installed
in $ac_dir" >&6; }
14381 # Canadian cross, just use what we found
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14383 $as_echo "pre-installed
" >&6; }
14387 case " ${configdirs} " in
14391 case ,${enable_languages}, in
14395 if test $ok = yes; then
14396 # An in-tree tool is available and we can use it
14397 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14399 $as_echo "just compiled
" >&6; }
14400 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14401 # We already found the complete path
14402 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14404 $as_echo "pre-installed
in $ac_dir" >&6; }
14405 elif test "x
$target" = "x
$host"; then
14406 # We can use an host tool
14407 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14409 $as_echo "host tool
" >&6; }
14411 # We need a cross tool
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14413 $as_echo "pre-installed
" >&6; }
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14418 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14419 if test "x
${build}" != "x
${host}" ; then
14420 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14421 # We already found the complete path
14422 ac_dir=`dirname $GOC_FOR_TARGET`
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14424 $as_echo "pre-installed
in $ac_dir" >&6; }
14426 # Canadian cross, just use what we found
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14428 $as_echo "pre-installed
" >&6; }
14432 case " ${configdirs} " in
14436 case ,${enable_languages}, in
14440 if test $ok = yes; then
14441 # An in-tree tool is available and we can use it
14442 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14444 $as_echo "just compiled
" >&6; }
14445 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14446 # We already found the complete path
14447 ac_dir=`dirname $GOC_FOR_TARGET`
14448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14449 $as_echo "pre-installed
in $ac_dir" >&6; }
14450 elif test "x
$target" = "x
$host"; then
14451 # We can use an host tool
14452 GOC_FOR_TARGET='$(GOC)'
14453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14454 $as_echo "host tool
" >&6; }
14456 # We need a cross tool
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14458 $as_echo "pre-installed
" >&6; }
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gupc
" >&5
14463 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14464 if test "x
${build}" != "x
${host}" ; then
14465 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14466 # We already found the complete path
14467 ac_dir=`dirname $GUPC_FOR_TARGET`
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14469 $as_echo "pre-installed
in $ac_dir" >&6; }
14471 # Canadian cross, just use what we found
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14473 $as_echo "pre-installed
" >&6; }
14477 case " ${configdirs} " in
14481 case ,${enable_languages}, in
14485 if test $ok = yes; then
14486 # An in-tree tool is available and we can use it
14487 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14489 $as_echo "just compiled
" >&6; }
14490 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14491 # We already found the complete path
14492 ac_dir=`dirname $GUPC_FOR_TARGET`
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14494 $as_echo "pre-installed
in $ac_dir" >&6; }
14495 elif test "x
$target" = "x
$host"; then
14496 # We can use an host tool
14497 GUPC_FOR_TARGET='$(GUPC)'
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14499 $as_echo "host tool
" >&6; }
14501 # We need a cross tool
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14503 $as_echo "pre-installed
" >&6; }
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14508 $as_echo_n "checking where to
find the target ld...
" >&6; }
14509 if test "x
${build}" != "x
${host}" ; then
14510 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14511 # We already found the complete path
14512 ac_dir=`dirname $LD_FOR_TARGET`
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14514 $as_echo "pre-installed
in $ac_dir" >&6; }
14516 # Canadian cross, just use what we found
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14518 $as_echo "pre-installed
" >&6; }
14522 case " ${configdirs} " in
14527 if test $ok = yes; then
14528 # An in-tree tool is available and we can use it
14529 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14531 $as_echo "just compiled
" >&6; }
14532 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14533 # We already found the complete path
14534 ac_dir=`dirname $LD_FOR_TARGET`
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14536 $as_echo "pre-installed
in $ac_dir" >&6; }
14537 elif test "x
$target" = "x
$host"; then
14538 # We can use an host tool
14539 LD_FOR_TARGET='$(LD)'
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14541 $as_echo "host tool
" >&6; }
14543 # We need a cross tool
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14545 $as_echo "pre-installed
" >&6; }
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14550 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14551 if test "x
${build}" != "x
${host}" ; then
14552 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14553 # We already found the complete path
14554 ac_dir=`dirname $LIPO_FOR_TARGET`
14555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14556 $as_echo "pre-installed
in $ac_dir" >&6; }
14558 # Canadian cross, just use what we found
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14560 $as_echo "pre-installed
" >&6; }
14563 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14564 # We already found the complete path
14565 ac_dir=`dirname $LIPO_FOR_TARGET`
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14567 $as_echo "pre-installed
in $ac_dir" >&6; }
14568 elif test "x
$target" = "x
$host"; then
14569 # We can use an host tool
14570 LIPO_FOR_TARGET='$(LIPO)'
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14572 $as_echo "host tool
" >&6; }
14574 # We need a cross tool
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14576 $as_echo "pre-installed
" >&6; }
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14581 $as_echo_n "checking where to
find the target nm...
" >&6; }
14582 if test "x
${build}" != "x
${host}" ; then
14583 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14584 # We already found the complete path
14585 ac_dir=`dirname $NM_FOR_TARGET`
14586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14587 $as_echo "pre-installed
in $ac_dir" >&6; }
14589 # Canadian cross, just use what we found
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14591 $as_echo "pre-installed
" >&6; }
14595 case " ${configdirs} " in
14600 if test $ok = yes; then
14601 # An in-tree tool is available and we can use it
14602 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14604 $as_echo "just compiled
" >&6; }
14605 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14606 # We already found the complete path
14607 ac_dir=`dirname $NM_FOR_TARGET`
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14609 $as_echo "pre-installed
in $ac_dir" >&6; }
14610 elif test "x
$target" = "x
$host"; then
14611 # We can use an host tool
14612 NM_FOR_TARGET='$(NM)'
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14614 $as_echo "host tool
" >&6; }
14616 # We need a cross tool
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14618 $as_echo "pre-installed
" >&6; }
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14623 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14624 if test "x
${build}" != "x
${host}" ; then
14625 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14626 # We already found the complete path
14627 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14629 $as_echo "pre-installed
in $ac_dir" >&6; }
14631 # Canadian cross, just use what we found
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14633 $as_echo "pre-installed
" >&6; }
14637 case " ${configdirs} " in
14642 if test $ok = yes; then
14643 # An in-tree tool is available and we can use it
14644 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14646 $as_echo "just compiled
" >&6; }
14647 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14648 # We already found the complete path
14649 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14651 $as_echo "pre-installed
in $ac_dir" >&6; }
14652 elif test "x
$target" = "x
$host"; then
14653 # We can use an host tool
14654 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14656 $as_echo "host tool
" >&6; }
14658 # We need a cross tool
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14660 $as_echo "pre-installed
" >&6; }
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14665 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14666 if test "x
${build}" != "x
${host}" ; then
14667 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14668 # We already found the complete path
14669 ac_dir=`dirname $RANLIB_FOR_TARGET`
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14671 $as_echo "pre-installed
in $ac_dir" >&6; }
14673 # Canadian cross, just use what we found
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14675 $as_echo "pre-installed
" >&6; }
14679 case " ${configdirs} " in
14684 if test $ok = yes; then
14685 # An in-tree tool is available and we can use it
14686 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14688 $as_echo "just compiled
" >&6; }
14689 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14690 # We already found the complete path
14691 ac_dir=`dirname $RANLIB_FOR_TARGET`
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14693 $as_echo "pre-installed
in $ac_dir" >&6; }
14694 elif test "x
$target" = "x
$host"; then
14695 # We can use an host tool
14696 RANLIB_FOR_TARGET='$(RANLIB)'
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14698 $as_echo "host tool
" >&6; }
14700 # We need a cross tool
14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14702 $as_echo "pre-installed
" >&6; }
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14707 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14708 if test "x
${build}" != "x
${host}" ; then
14709 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14710 # We already found the complete path
14711 ac_dir=`dirname $READELF_FOR_TARGET`
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14713 $as_echo "pre-installed
in $ac_dir" >&6; }
14715 # Canadian cross, just use what we found
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14717 $as_echo "pre-installed
" >&6; }
14721 case " ${configdirs} " in
14726 if test $ok = yes; then
14727 # An in-tree tool is available and we can use it
14728 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14730 $as_echo "just compiled
" >&6; }
14731 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14732 # We already found the complete path
14733 ac_dir=`dirname $READELF_FOR_TARGET`
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14735 $as_echo "pre-installed
in $ac_dir" >&6; }
14736 elif test "x
$target" = "x
$host"; then
14737 # We can use an host tool
14738 READELF_FOR_TARGET='$(READELF)'
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14740 $as_echo "host tool
" >&6; }
14742 # We need a cross tool
14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14744 $as_echo "pre-installed
" >&6; }
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14749 $as_echo_n "checking where to
find the target strip...
" >&6; }
14750 if test "x
${build}" != "x
${host}" ; then
14751 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14752 # We already found the complete path
14753 ac_dir=`dirname $STRIP_FOR_TARGET`
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14755 $as_echo "pre-installed
in $ac_dir" >&6; }
14757 # Canadian cross, just use what we found
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14759 $as_echo "pre-installed
" >&6; }
14763 case " ${configdirs} " in
14768 if test $ok = yes; then
14769 # An in-tree tool is available and we can use it
14770 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14772 $as_echo "just compiled
" >&6; }
14773 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14774 # We already found the complete path
14775 ac_dir=`dirname $STRIP_FOR_TARGET`
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14777 $as_echo "pre-installed
in $ac_dir" >&6; }
14778 elif test "x
$target" = "x
$host"; then
14779 # We can use an host tool
14780 STRIP_FOR_TARGET='$(STRIP)'
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14782 $as_echo "host tool
" >&6; }
14784 # We need a cross tool
14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14786 $as_echo "pre-installed
" >&6; }
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14791 $as_echo_n "checking where to
find the target windres...
" >&6; }
14792 if test "x
${build}" != "x
${host}" ; then
14793 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14794 # We already found the complete path
14795 ac_dir=`dirname $WINDRES_FOR_TARGET`
14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14797 $as_echo "pre-installed
in $ac_dir" >&6; }
14799 # Canadian cross, just use what we found
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14801 $as_echo "pre-installed
" >&6; }
14805 case " ${configdirs} " in
14810 if test $ok = yes; then
14811 # An in-tree tool is available and we can use it
14812 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14814 $as_echo "just compiled
" >&6; }
14815 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14816 # We already found the complete path
14817 ac_dir=`dirname $WINDRES_FOR_TARGET`
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14819 $as_echo "pre-installed
in $ac_dir" >&6; }
14820 elif test "x
$target" = "x
$host"; then
14821 # We can use an host tool
14822 WINDRES_FOR_TARGET='$(WINDRES)'
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14824 $as_echo "host tool
" >&6; }
14826 # We need a cross tool
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14828 $as_echo "pre-installed
" >&6; }
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14833 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14834 if test "x
${build}" != "x
${host}" ; then
14835 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14836 # We already found the complete path
14837 ac_dir=`dirname $WINDMC_FOR_TARGET`
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14839 $as_echo "pre-installed
in $ac_dir" >&6; }
14841 # Canadian cross, just use what we found
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14843 $as_echo "pre-installed
" >&6; }
14847 case " ${configdirs} " in
14852 if test $ok = yes; then
14853 # An in-tree tool is available and we can use it
14854 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14856 $as_echo "just compiled
" >&6; }
14857 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14858 # We already found the complete path
14859 ac_dir=`dirname $WINDMC_FOR_TARGET`
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14861 $as_echo "pre-installed
in $ac_dir" >&6; }
14862 elif test "x
$target" = "x
$host"; then
14863 # We can use an host tool
14864 WINDMC_FOR_TARGET='$(WINDMC)'
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14866 $as_echo "host tool
" >&6; }
14868 # We need a cross tool
14869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14870 $as_echo "pre-installed
" >&6; }
14878 # Certain tools may need extra flags.
14879 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14880 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14881 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14883 # When building target libraries, except in a Canadian cross, we use
14884 # the same toolchain as the compiler we just built.
14885 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14886 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14887 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14888 if test $host = $build; then
14889 case " $configdirs " in
14891 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14892 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14893 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14903 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14904 # Check whether --enable-maintainer-mode was given.
14905 if test "${enable_maintainer_mode+set}" = set; then :
14906 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14908 USE_MAINTAINER_MODE=no
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14912 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14915 if test "$USE_MAINTAINER_MODE" = yes; then
14916 MAINTAINER_MODE_TRUE=
14917 MAINTAINER_MODE_FALSE='#'
14919 MAINTAINER_MODE_TRUE='#'
14920 MAINTAINER_MODE_FALSE=
14922 MAINT=$MAINTAINER_MODE_TRUE
14924 # ---------------------
14925 # GCC bootstrap support
14926 # ---------------------
14928 # Stage specific cflags for build.
14933 yes) stage1_cflags="-g -Wa,-J" ;;
14934 *) stage1_cflags="-g -J" ;;
14940 # Enable --enable-checking in stage1 of the compiler.
14941 # Check whether --enable-stage1-checking was given.
14942 if test "${enable_stage1_checking+set}" = set; then :
14943 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14945 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14946 stage1_checking=--enable-checking=yes,types
14948 stage1_checking=--enable-checking=$enable_checking,types
14954 # Enable -Werror in bootstrap stage2 and later.
14955 # Check whether --enable-werror was given.
14956 if test "${enable_werror+set}" = set; then :
14957 enableval=$enable_werror;
14959 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14966 case ${enable_werror} in
14967 yes) stage2_werror_flag="--enable-werror-always" ;;
14968 *) stage2_werror_flag="" ;;
14972 # Enable --enable-host-shared.
14973 # Check whether --enable-host-shared was given.
14974 if test "${enable_host_shared+set}" = set; then :
14975 enableval=$enable_host_shared; host_shared=$enableval
14982 # Specify what files to not compare during bootstrap.
14984 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14986 hppa*64*-*-hpux*) ;;
14987 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14988 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14992 ac_config_files="$ac_config_files Makefile
"
14994 cat >confcache <<\_ACEOF
14995 # This file is a shell script that caches the results of configure
14996 # tests run on this system so they can be shared between configure
14997 # scripts and configure runs, see configure's option --config-cache.
14998 # It is not useful on other systems. If it contains results you don't
14999 # want to keep, you may remove or edit it.
15001 # config.status only pays attention to the cache file if you give it
15002 # the --recheck option to rerun configure.
15004 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15005 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15006 # following values.
15010 # The following way of writing the cache mishandles newlines in values,
15011 # but we know of no workaround that is simple, portable, and efficient.
15012 # So, we kill variables containing newlines.
15013 # Ultrix sh set writes to stderr and can't be redirected directly,
15014 # and sets the high bit in the cache file unless we assign to the vars.
15016 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15017 eval ac_val=\$$ac_var
15021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15022 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15025 _ | IFS | as_nl) ;; #(
15026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15027 *) { eval $ac_var=; unset $ac_var;} ;;
15033 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15034 *${as_nl}ac_space=\ *)
15035 # `set' does not quote correctly, so add quotes: double-quote
15036 # substitution turns \\\\ into \\, and sed turns \\ into \.
15039 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15042 # `set' quotes correctly as required by POSIX, so do not add quotes.
15043 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15052 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15054 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15056 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15057 if test -w "$cache_file"; then
15058 test "x
$cache_file" != "x
/dev
/null
" &&
15059 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15060 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15061 cat confcache >$cache_file
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15064 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15069 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15070 # Let make expand exec_prefix.
15071 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15073 # Transform confdefs.h into DEFS.
15074 # Protect against shell expansion while executing Makefile rules.
15075 # Protect against Makefile macro expansion.
15077 # If the first sed substitution is executed (which looks for macros that
15078 # take arguments), then branch to the quote section. Otherwise,
15079 # look for a macro that doesn't take arguments.
15089 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15091 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15095 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15108 DEFS=`sed -n "$ac_script" confdefs.h`
15113 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15114 # 1. Remove the extension, and $U if already installed.
15115 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15116 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15117 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15118 # will be set to the directory where LIBOBJS objects are built.
15119 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15120 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15122 LIBOBJS=$ac_libobjs
15124 LTLIBOBJS=$ac_ltlibobjs
15128 : ${CONFIG_STATUS=./config.status}
15130 ac_clean_files_save=$ac_clean_files
15131 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15133 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15135 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15137 # Generated by $as_me.
15138 # Run this file to recreate the current configuration.
15139 # Compiler output produced by configure, useful for debugging
15140 # configure, is in config.log if it exists.
15143 ac_cs_recheck=false
15146 SHELL=\${CONFIG_SHELL-$SHELL}
15149 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15150 ## -------------------- ##
15151 ## M4sh Initialization. ##
15152 ## -------------------- ##
15154 # Be more Bourne compatible
15155 DUALCASE=1; export DUALCASE # for MKS sh
15156 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15159 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15160 # is contrary to our usage. Disable this feature.
15161 alias -g '${1+"$@"}'='"$@"'
15162 setopt NO_GLOB_SUBST
15164 case `(set -o) 2>/dev/null` in #(
15176 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15177 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15178 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15179 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15180 # Prefer a ksh shell builtin over an external printf program on Solaris,
15181 # but without wasting forks for bash or zsh.
15182 if test -z "$BASH_VERSION$ZSH_VERSION" \
15183 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15184 as_echo
='print -r --'
15185 as_echo_n
='print -rn --'
15186 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15187 as_echo
='printf %s\n'
15188 as_echo_n
='printf %s'
15190 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15191 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15192 as_echo_n
='/usr/ucb/echo -n'
15194 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15195 as_echo_n_body
='eval
15199 expr "X$arg" : "X\\(.*\\)$as_nl";
15200 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15202 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15204 export as_echo_n_body
15205 as_echo_n
='sh -c $as_echo_n_body as_echo'
15207 export as_echo_body
15208 as_echo
='sh -c $as_echo_body as_echo'
15211 # The user is always right.
15212 if test "${PATH_SEPARATOR+set}" != set; then
15214 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15215 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15222 # We need space, tab and new line, in precisely that order. Quoting is
15223 # there to prevent editors from complaining about space-tab.
15224 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15225 # splitting by setting IFS to empty value.)
15228 # Find who we are. Look in the path if we contain no directory separator.
15230 *[\\/]* ) as_myself
=$0 ;;
15231 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15232 for as_dir
in $PATH
15235 test -z "$as_dir" && as_dir
=.
15236 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15242 # We did not find ourselves, most probably we were run as `sh COMMAND'
15243 # in which case we are not to be found in the path.
15244 if test "x$as_myself" = x
; then
15247 if test ! -f "$as_myself"; then
15248 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15252 # Unset variables that we do not need and which cause bugs (e.g. in
15253 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15254 # suppresses any "Segmentation fault" message there. '((' could
15255 # trigger a bug in pdksh 5.2.14.
15256 for as_var
in BASH_ENV ENV MAIL MAILPATH
15257 do eval test x\
${$as_var+set} = xset \
15258 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15271 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15274 # as_fn_error ERROR [LINENO LOG_FD]
15275 # ---------------------------------
15276 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15277 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15278 # script with status $?, using 1 if that was 0.
15281 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15283 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15284 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15286 $as_echo "$as_me: error: $1" >&2
15287 as_fn_exit
$as_status
15291 # as_fn_set_status STATUS
15292 # -----------------------
15293 # Set $? to STATUS, without forking.
15294 as_fn_set_status
()
15297 } # as_fn_set_status
15299 # as_fn_exit STATUS
15300 # -----------------
15301 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15305 as_fn_set_status
$1
15311 # Portably unset VAR.
15314 { eval $1=; unset $1;}
15316 as_unset
=as_fn_unset
15317 # as_fn_append VAR VALUE
15318 # ----------------------
15319 # Append the text in VALUE to the end of the definition contained in VAR. Take
15320 # advantage of any shell optimizations that allow amortized linear growth over
15321 # repeated appends, instead of the typical quadratic growth present in naive
15323 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15324 eval 'as_fn_append ()
15335 # as_fn_arith ARG...
15336 # ------------------
15337 # Perform arithmetic evaluation on the ARGs, and store the result in the
15338 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15339 # must be portable across $(()) and expr.
15340 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15341 eval 'as_fn_arith ()
15348 as_val
=`expr "$@" || test $? -eq 1`
15353 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15354 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15360 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15361 as_basename
=basename
15366 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15372 as_me
=`$as_basename -- "$0" ||
15373 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15374 X"$0" : 'X\(//\)$' \| \
15375 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15377 sed '/^.*\/\([^/][^/]*\)\/*$/{
15391 # Avoid depending upon Character Ranges.
15392 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15393 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15394 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15395 as_cr_digits
='0123456789'
15396 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15398 ECHO_C
= ECHO_N
= ECHO_T
=
15399 case `echo -n x` in #(((((
15401 case `echo 'xy\c'` in
15402 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15404 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15411 rm -f conf$$ conf$$.exe conf$$.
file
15412 if test -d conf$$.dir
; then
15413 rm -f conf$$.dir
/conf$$.
file
15416 mkdir conf$$.dir
2>/dev
/null
15418 if (echo >conf$$.
file) 2>/dev
/null
; then
15419 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15421 # ... but there are two gotchas:
15422 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15423 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15424 # In both cases, we have to default to `cp -p'.
15425 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15427 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15435 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15436 rmdir conf$$.dir
2>/dev
/null
15441 # Create "$as_dir" as a directory, including parents if necessary.
15446 -*) as_dir
=.
/$as_dir;;
15448 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15452 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15453 *) as_qdir
=$as_dir;;
15455 as_dirs
="'$as_qdir' $as_dirs"
15456 as_dir
=`$as_dirname -- "$as_dir" ||
15457 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15458 X"$as_dir" : 'X\(//\)[^/]' \| \
15459 X"$as_dir" : 'X\(//\)$' \| \
15460 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15461 $as_echo X"$as_dir" |
15462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15466 /^X\(\/\/\)[^/].*/{
15479 test -d "$as_dir" && break
15481 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15482 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15486 if mkdir
-p .
2>/dev
/null
; then
15487 as_mkdir_p
='mkdir -p "$as_dir"'
15489 test -d .
/-p && rmdir .
/-p
15493 if test -x / >/dev
/null
2>&1; then
15494 as_test_x
='test -x'
15496 if ls -dL / >/dev
/null
2>&1; then
15503 if test -d "$1"; then
15509 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15510 ???[sx]*):;;*)false;;esac;fi
15514 as_executable_p
=$as_test_x
15516 # Sed expression to map a string onto a valid CPP name.
15517 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15519 # Sed expression to map a string onto a valid variable name.
15520 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15524 ## ----------------------------------- ##
15525 ## Main body of $CONFIG_STATUS script. ##
15526 ## ----------------------------------- ##
15528 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15531 # Save the log message, to keep $0 and so on meaningful, and to
15532 # report actual input values of CONFIG_FILES etc. instead of their
15533 # values after options handling.
15535 This file was extended by $as_me, which was
15536 generated by GNU Autoconf 2.64. Invocation command line was
15538 CONFIG_FILES = $CONFIG_FILES
15539 CONFIG_HEADERS = $CONFIG_HEADERS
15540 CONFIG_LINKS = $CONFIG_LINKS
15541 CONFIG_COMMANDS = $CONFIG_COMMANDS
15544 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15549 case $ac_config_files in *"
15550 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15556 # Files that config.status was made for.
15557 config_files="$ac_config_files"
15561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15563 \`$as_me' instantiates files and other configuration actions
15564 from templates according to the current configuration. Unless the files
15565 and actions are specified as TAGs, all are instantiated by default.
15567 Usage: $0 [OPTION]... [TAG]...
15569 -h, --help print this help, then exit
15570 -V, --version print version number and configuration settings, then exit
15571 -q, --quiet, --silent
15572 do not print progress messages
15573 -d, --debug don't remove temporary files
15574 --recheck update $as_me by reconfiguring in the same conditions
15575 --file=FILE[:TEMPLATE]
15576 instantiate the configuration file FILE
15578 Configuration files:
15581 Report bugs to the package provider."
15584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15587 configured by $0, generated by GNU Autoconf 2.64,
15588 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15590 Copyright (C) 2009 Free Software Foundation, Inc.
15591 This config.status script is free software; the Free Software Foundation
15592 gives unlimited permission to copy, distribute and modify it."
15598 test -n "\$AWK" || AWK=awk
15601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15602 # The default lists apply if the user does not specify any file.
15608 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15609 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15620 # Handling of the options.
15621 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15623 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15624 $as_echo "$ac_cs_version"; exit ;;
15625 --debug |
--debu |
--deb |
--de |
--d |
-d )
15627 --file |
--fil |
--fi |
--f )
15630 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15632 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15633 ac_need_defaults
=false
;;
15634 --he |
--h |
--help |
--hel |
-h )
15635 $as_echo "$ac_cs_usage"; exit ;;
15636 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15637 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15640 # This is an error.
15641 -*) as_fn_error
"unrecognized option: \`$1'
15642 Try \`$0 --help' for more information." ;;
15644 *) as_fn_append ac_config_targets
" $1"
15645 ac_need_defaults
=false
;;
15651 ac_configure_extra_args
=
15653 if $ac_cs_silent; then
15655 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15660 if \$ac_cs_recheck; then
15661 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15663 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15664 CONFIG_SHELL='$SHELL'
15665 export CONFIG_SHELL
15670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15674 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15675 ## Running $as_me. ##
15681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15685 extrasub_build="$extrasub_build"
15686 extrasub_host="$extrasub_host"
15687 extrasub_target="$extrasub_target"
15691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15693 # Handling of arguments.
15694 for ac_config_target
in $ac_config_targets
15696 case $ac_config_target in
15697 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15699 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15704 # If the user did not use the arguments to specify the items to instantiate,
15705 # then the envvar interface is used. Set only those that are not.
15706 # We use the long form for the default assignment because of an extremely
15707 # bizarre bug on SunOS 4.1.3.
15708 if $ac_need_defaults; then
15709 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15712 # Have a temporary directory for convenience. Make it in the build tree
15713 # simply because there is no reason against having it here, and in addition,
15714 # creating and moving files from /tmp can sometimes cause problems.
15715 # Hook for its removal unless debugging.
15716 # Note that there is a small window in which the directory will not be cleaned:
15717 # after its creation but before its name has been assigned to `$tmp'.
15721 trap 'exit_status=$?
15722 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15724 trap 'as_fn_exit 1' 1 2 13 15
15726 # Create a (secure) tmp directory for tmp files.
15729 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15730 test -n "$tmp" && test -d "$tmp"
15733 tmp
=.
/conf$$
-$RANDOM
15734 (umask 077 && mkdir
"$tmp")
15735 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15737 # Set up the scripts for CONFIG_FILES section.
15738 # No need to generate them if there are no CONFIG_FILES.
15739 # This happens for instance with `./config.status config.h'.
15740 if test -n "$CONFIG_FILES"; then
15742 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15743 ac_cs_awk_getline
=:
15744 ac_cs_awk_pipe_init
=
15745 ac_cs_awk_read_file
='
15746 while ((getline aline < (F[key])) > 0)
15749 ac_cs_awk_pipe_fini
=
15751 ac_cs_awk_getline
=false
15752 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15753 ac_cs_awk_read_file
='
15755 print "cat " F[key] " &&"
15756 '$ac_cs_awk_pipe_init
15757 # The final `:' finishes the AND list.
15758 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15760 ac_cr
=`echo X | tr X '\015'`
15761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15762 # But we know of no other shell where ac_cr would be empty at this
15763 # point, so we can use a bashism as a fallback.
15764 if test "x$ac_cr" = x
; then
15765 eval ac_cr
=\$
\'\\r
\'
15767 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15771 ac_cs_awk_cr
=$ac_cr
15774 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15777 # Create commands to substitute file output variables.
15779 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15780 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15781 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15784 } >conf$
$files.sh
&&
15785 . .
/conf$
$files.sh ||
15786 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15787 rm -f conf$
$files.sh
15790 echo "cat >conf$$subs.awk <<_ACEOF" &&
15791 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15793 } >conf$$subs.sh ||
15794 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15795 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15797 for ac_last_try in false false false false false :; do
15798 . ./conf$$subs.sh ||
15799 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15801 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15802 if test $ac_delim_n = $ac_delim_num; then
15804 elif $ac_last_try; then
15805 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15807 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15810 rm -f conf$$subs.sh
15812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15813 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15817 s/^/S["/; s
/!.
*/"]=/
15827 s/\(.\{148\}\).*/\1/
15829 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15834 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15841 s/\(.\{148\}\).*/\1/
15843 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15847 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15852 ' <conf$$subs.awk | sed '
15857 ' >>$CONFIG_STATUS || ac_write_fail=1
15858 rm -f conf$$subs.awk
15859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15861 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15862 for (key in S) S_is_set[key] = 1
15864 \$ac_cs_awk_pipe_init
15868 nfields = split(line, field, "@
")
15870 len = length(field[1])
15871 for (i = 2; i < nfields; i++) {
15873 keylen = length(key)
15874 if (S_is_set[key]) {
15876 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15877 len += length(value) + length(field[++i])
15882 if (nfields == 3 && !substed) {
15884 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15885 \$ac_cs_awk_read_file
15891 \$ac_cs_awk_pipe_fini
15894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15895 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15896 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15899 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15900 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15903 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15904 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15905 # trailing colons and then remove the whole line if VPATH becomes empty
15906 # (actually we leave an empty line to preserve line numbers).
15907 if test "x
$srcdir" = x.; then
15908 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15909 s/:*\$(srcdir):*/:/
15910 s/:*\${srcdir}:*/:/
15912 s/^\([^=]*=[ ]*\):*/\1/
15918 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15919 fi # test -n "$CONFIG_FILES"
15922 eval set X " :F
$CONFIG_FILES "
15927 :[FHLC]) ac_mode=$ac_tag; continue;;
15929 case $ac_mode$ac_tag in
15931 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15932 :[FH]-) ac_tag=-:-;;
15933 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15950 -) ac_f="$tmp/stdin";;
15951 *) # Look for the file first in the build tree, then in the source tree
15952 # (if the path is not absolute). The absolute path cannot be DOS-style,
15953 # because $ac_f cannot contain `:'.
15957 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15959 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15961 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15962 as_fn_append ac_file_inputs " '$ac_f'"
15965 # Let's still pretend it is `configure' which instantiates (i.e., don't
15966 # use $as_me), people would be surprised to read:
15967 # /* config.h. Generated by config.status. */
15968 configure_input='Generated from '`
15969 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15971 if test x"$ac_file" != x-; then
15972 configure_input="$ac_file.
$configure_input"
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15974 $as_echo "$as_me: creating
$ac_file" >&6;}
15976 # Neutralize special characters interpreted by sed in replacement strings.
15977 case $configure_input in #(
15978 *\&* | *\|* | *\\* )
15979 ac_sed_conf_input=`$as_echo "$configure_input" |
15980 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15981 *) ac_sed_conf_input=$configure_input;;
15985 *:-:* | *:-) cat >"$tmp/stdin
" \
15986 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15991 ac_dir=`$as_dirname -- "$ac_file" ||
15992 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15993 X"$ac_file" : 'X\(//\)[^/]' \| \
15994 X"$ac_file" : 'X\(//\)$' \| \
15995 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15996 $as_echo X"$ac_file" |
15997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16001 /^X\(\/\/\)[^/].*/{
16014 as_dir="$ac_dir"; as_fn_mkdir_p
16018 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16020 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16021 # A "..
" for each directory in $ac_dir_suffix.
16022 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16023 case $ac_top_builddir_sub in
16024 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16025 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16028 ac_abs_top_builddir=$ac_pwd
16029 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16030 # for backward compatibility:
16031 ac_top_builddir=$ac_top_build_prefix
16034 .) # We are building in place.
16036 ac_top_srcdir=$ac_top_builddir_sub
16037 ac_abs_top_srcdir=$ac_pwd ;;
16038 [\\/]* | ?:[\\/]* ) # Absolute name.
16039 ac_srcdir=$srcdir$ac_dir_suffix;
16040 ac_top_srcdir=$srcdir
16041 ac_abs_top_srcdir=$srcdir ;;
16042 *) # Relative name.
16043 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16044 ac_top_srcdir=$ac_top_build_prefix$srcdir
16045 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16047 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16057 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16058 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16063 # If the template does not know about datarootdir, expand it.
16064 # FIXME: This hack should be removed a few years after 2.60.
16065 ac_datarootdir_hack=; ac_datarootdir_seen=
16076 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16077 *datarootdir*) ac_datarootdir_seen=yes;;
16078 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16080 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16082 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16083 ac_datarootdir_hack='
16084 s&@datadir@&$datadir&g
16085 s&@docdir@&$docdir&g
16086 s&@infodir@&$infodir&g
16087 s&@localedir@&$localedir&g
16088 s&@mandir@&$mandir&g
16089 s&\\\${datarootdir}&$datarootdir&g' ;;
16093 # Neutralize VPATH when `$srcdir' = `.'.
16094 # Shell code in configure.ac might set extrasub.
16095 # FIXME: do we really want to maintain this feature?
16096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16097 ac_sed_extra="$ac_vpsub
16100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16102 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16103 s|@configure_input@|
$ac_sed_conf_input|
;t t
16104 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16105 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16106 s
&@srcdir@
&$ac_srcdir&;t t
16107 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16108 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16109 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16110 s
&@builddir@
&$ac_builddir&;t t
16111 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16112 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16113 s
&@INSTALL@
&$ac_INSTALL&;t t
16114 $ac_datarootdir_hack
16116 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16117 if $ac_cs_awk_getline; then
16118 $AWK -f "$tmp/subs.
awk"
16120 $AWK -f "$tmp/subs.
awk" | $SHELL
16122 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16124 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16125 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16126 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16128 which seems to be undefined. Please make sure it is defined." >&5
16129 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16130 which seems to be undefined. Please make sure it is defined." >&2;}
16134 -) cat "$tmp/out" && rm -f "$tmp/out";;
16135 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16137 || as_fn_error "could not create $ac_file" "$LINENO" 5
16145 case $ac_file$ac_mode in
16146 "Makefile":F) sed "$extrasub_build" Makefile |
16147 sed "$extrasub_host" |
16148 sed "$extrasub_target" > mf$$
16149 mv -f mf$$ Makefile ;;
16157 ac_clean_files=$ac_clean_files_save
16159 test $ac_write_fail = 0 ||
16160 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16163 # configure is writing to config.log, and then calls config.status.
16164 # config.status does its own redirection, appending to config.log.
16165 # Unfortunately, on DOS this fails, as config.log is still kept open
16166 # by configure, so config.status won't be able to
write to it
; its
16167 # output is simply discarded. So we exec the FD to /dev/null,
16168 # effectively closing config.log, so it can be properly (re)opened and
16169 # appended to by config.status. When coming back to configure, we
16170 # need to make the FD available again.
16171 if test "$no_create" != yes; then
16173 ac_config_status_args
=
16174 test "$silent" = yes &&
16175 ac_config_status_args
="$ac_config_status_args --quiet"
16177 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16179 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16180 # would make configure fail if this is the last instruction.
16181 $ac_cs_success || as_fn_exit $?
16183 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16185 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}