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
565 MAINTAINER_MODE_FALSE
567 COMPILER_NM_FOR_TARGET
568 COMPILER_LD_FOR_TARGET
569 COMPILER_AS_FOR_TARGET
645 DEBUG_PREFIX_CFLAGS_FOR_TARGET
646 SYSROOT_CFLAGS_FOR_TARGET
647 extra_host_libiberty_configure_flags
649 extra_linker_plugin_flags
650 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
677 extra_liboffloadmic_configure_flags
704 TOPLEVEL_CONFIGURE_ARGUMENTS
732 program_transform_name
743 ac_subst_files
='serialization_dependencies
749 enable_option_checking
751 enable_as_accelerator_for
752 enable_offload_targets
756 enable_libquadmath_support
761 enable_static_libjava
782 enable_isl_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
789 with_debug_prefix_map
792 enable_serial_configure
793 with_build_time_tools
794 enable_maintainer_mode
795 enable_stage1_checking
799 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 as_fn_error
"path to source, $srcdir, contains spaces"
1377 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures this package to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-as-accelerator-for=ARG
1471 build as offload target compiler. Specify offload
1473 --enable-offload-targets=LIST
1474 enable offloading to devices from comma-separated
1475 LIST of TARGET
[=DIR
]. Use optional path to
find
1476 offload target compiler during the build
1477 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1478 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1479 --disable-libquadmath do not build libquadmath directory
1480 --disable-libquadmath-support
1481 disable libquadmath support
for Fortran
1482 --enable-libada build libada directory
1483 --enable-libssp build libssp directory
1484 --disable-libstdcxx do not build libstdc
++-v3 directory
1485 --enable-liboffloadmic=ARG
1486 build liboffloadmic
[ARG
={no
,host,target
}]
1487 --enable-static-libjava[=ARG
]
1488 build static libjava
[default
=no
]
1489 --enable-bootstrap enable bootstrapping
[yes if native build
]
1490 --disable-isl-version-check
1491 disable check
for ISL version
1492 --enable-lto enable link
time optimization support
1493 --enable-linker-plugin-configure-flags=FLAGS
1494 additional flags
for configuring linker plugins
1496 --enable-linker-plugin-flags=FLAGS
1497 additional flags
for configuring and building linker
1499 --enable-stage1-languages[=all
]
1500 choose additional languages to build during stage1.
1501 Mostly useful
for compiler development
1502 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1504 --enable-vtable-verify Enable vtable verification feature
1505 --enable-serial-[{host,target,build}-]configure
1506 force sequential configuration of sub-packages for
1507 the host, target or build machine, or all
1509 --enable-maintainer-mode
1510 enable make rules and dependencies not useful (and
1511 sometimes confusing) to the casual installer
1512 --enable-stage1-checking[=all]
1513 choose additional checking for stage1 of the
1515 --enable-werror enable -Werror in bootstrap stage2 and later
1516 --enable-host-shared build host code as shared libraries
1519 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1520 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1521 --with-build-libsubdir=DIR Directory where to find libraries for build system
1522 --with-mpc=PATH specify prefix directory for installed MPC package.
1523 Equivalent to --with-mpc-include=PATH/include plus
1524 --with-mpc-lib=PATH/lib
1525 --with-mpc-include=PATH specify directory for installed MPC include files
1526 --with-mpc-lib=PATH specify directory for the installed MPC library
1527 --with-mpfr-dir=PATH this option has been REMOVED
1528 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1529 Equivalent to --with-mpfr-include=PATH/include plus
1530 --with-mpfr-lib=PATH/lib
1531 --with-mpfr-include=PATH
1532 specify directory for installed MPFR include files
1533 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1534 --with-gmp-dir=PATH this option has been REMOVED
1535 --with-gmp=PATH specify prefix directory for the installed GMP
1536 package. Equivalent to
1537 --with-gmp-include=PATH/include plus
1538 --with-gmp-lib=PATH/lib
1539 --with-gmp-include=PATH specify directory for installed GMP include files
1540 --with-gmp-lib=PATH specify directory for the installed GMP library
1541 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1543 --with-stage1-libs=LIBS libraries for stage1
1544 --with-stage1-ldflags=FLAGS
1545 linker flags for stage1
1546 --with-boot-libs=LIBS libraries for stage2 and later
1547 --with-boot-ldflags=FLAGS
1548 linker flags for stage2 and later
1549 --with-isl=PATH Specify prefix directory for the installed ISL
1550 package. Equivalent to
1551 --with-isl-include=PATH/include plus
1552 --with-isl-lib=PATH/lib
1553 --with-isl-include=PATH Specify directory for installed ISL include files
1554 --with-isl-lib=PATH Specify the directory for the installed ISL library
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1575 additional configure arguments for build directories
1577 additional configure arguments for host directories
1579 additional configure arguments for target directories
1582 DLLTOOL DLLTOOL for the host
1584 LIPO LIPO for the host
1586 RANLIB RANLIB for the host
1587 STRIP STRIP for the host
1588 WINDRES WINDRES for the host
1589 WINDMC WINDMC for the host
1590 OBJCOPY OBJCOPY for the host
1591 OBJDUMP OBJDUMP for the host
1592 READELF READELF for the host
1602 GFORTRAN for the target
1610 DLLTOOL for the target
1618 OBJCOPY for the target
1620 OBJDUMP for the target
1622 RANLIB for the target
1624 READELF for the target
1626 STRIP for the target
1628 WINDRES for the target
1630 WINDMC for the target
1632 Use these variables to override the choices made by `configure' or to
help
1633 it to
find libraries and programs with nonstandard names
/locations.
1635 Report bugs to the package provider.
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1649 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1656 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1659 ac_abs_top_builddir
=$ac_pwd
1660 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir
=$ac_top_build_prefix
1665 .
) # We are building in place.
1667 ac_top_srcdir
=$ac_top_builddir_sub
1668 ac_abs_top_srcdir
=$ac_pwd ;;
1669 [\\/]* | ?
:[\\/]* ) # Absolute name.
1670 ac_srcdir
=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir
=$srcdir
1672 ac_abs_top_srcdir
=$srcdir ;;
1674 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1678 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1699 generated by GNU Autoconf
2.64
1701 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1702 This configure
script is free software
; the Free Software Foundation
1703 gives unlimited permission to copy
, distribute and modify it.
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile
()
1717 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1718 rm -f conftest.
$ac_objext
1719 if { { ac_try
="$ac_compile"
1721 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1760 *) ac_try_echo
=$ac_try;;
1762 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1766 if test -s conftest.err
; then
1767 grep -v '^ *+' conftest.err
>conftest.er1
1768 cat conftest.er1
>&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.
$ac_objext; then :
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.
$ac_ext >&5
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_cxx_try_link LINENO
1789 # -------------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_cxx_try_link
()
1793 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1794 rm -f conftest.
$ac_objext conftest
$ac_exeext
1795 if { { ac_try
="$ac_link"
1797 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_cxx_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1832 } # ac_fn_cxx_try_link
1834 # ac_fn_c_try_link LINENO
1835 # -----------------------
1836 # Try to link conftest.$ac_ext, and return whether this succeeded.
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 rm -f conftest.$ac_objext conftest$ac_exeext
1841 if { { ac_try="$ac_link"
1843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1844 *) ac_try_echo
=$ac_try;;
1846 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_link") 2>conftest.err
1850 if test -s conftest.err
; then
1851 grep -v '^ *+' conftest.err
>conftest.er1
1852 cat conftest.er1
>&5
1853 mv -f conftest.er1 conftest.err
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; } && {
1857 test -z "$ac_c_werror_flag" ||
1858 test ! -s conftest.err
1859 } && test -s conftest
$ac_exeext && {
1860 test "$cross_compiling" = yes ||
1861 $as_test_x conftest
$ac_exeext
1865 $as_echo "$as_me: failed program was:" >&5
1866 sed 's/^/| /' conftest.
$ac_ext >&5
1870 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1871 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1872 # interfere with the next link command; also delete a directory that is
1873 # left behind by Apple's compiler. We do this before executing the actions.
1874 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1875 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 } # ac_fn_c_try_link
1879 cat >config.log
<<_ACEOF
1880 This file contains any messages produced by compilers while
1881 running configure, to aid debugging if configure makes a mistake.
1883 It was created by $as_me, which was
1884 generated by GNU Autoconf 2.64. Invocation command line was
1896 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1897 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1898 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1899 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1900 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1902 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1903 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1905 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1906 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1907 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1908 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1909 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1910 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1911 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1919 test -z "$as_dir" && as_dir
=.
1920 $as_echo "PATH: $as_dir"
1936 # Keep a trace of the command line.
1937 # Strip out --no-create and --no-recursion so they do not pile up.
1938 # Strip out --silent because we don't want to record it for future runs.
1939 # Also quote any args containing shell meta-characters.
1940 # Make two passes to allow for proper duplicate-argument suppression.
1944 ac_must_keep_next
=false
1950 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1951 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1952 |
-silent |
--silent |
--silen |
--sile |
--sil)
1955 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1958 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1960 as_fn_append ac_configure_args1
" '$ac_arg'"
1961 if test $ac_must_keep_next = true
; then
1962 ac_must_keep_next
=false
# Got value, back to normal.
1965 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1966 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1967 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1968 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1969 case "$ac_configure_args0 " in
1970 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1973 -* ) ac_must_keep_next
=true
;;
1976 as_fn_append ac_configure_args
" '$ac_arg'"
1981 { ac_configure_args0
=; unset ac_configure_args0
;}
1982 { ac_configure_args1
=; unset ac_configure_args1
;}
1984 # When interrupted or exit'd, cleanup temporary files, and complete
1985 # config.log. We remove comments because anyway the quotes in there
1986 # would cause problems or look ugly.
1987 # WARNING: Use '\'' to represent an apostrophe within the trap.
1988 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1989 trap 'exit_status=$?
1990 # Save into config.log some information that might help in debugging.
1995 ## ---------------- ##
1996 ## Cache variables. ##
1997 ## ---------------- ##
2000 # The following way of writing the cache mishandles newlines in values,
2002 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2003 eval ac_val=\$$ac_var
2007 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2008 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2011 _ | IFS | as_nl) ;; #(
2012 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2013 *) { eval $ac_var=; unset $ac_var;} ;;
2018 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2019 *${as_nl}ac_space=\ *)
2021 "s/'\''/'\''\\\\'\'''\''/g;
2022 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2025 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2033 ## ----------------- ##
2034 ## Output variables. ##
2035 ## ----------------- ##
2038 for ac_var in $ac_subst_vars
2040 eval ac_val=\$$ac_var
2042 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2044 $as_echo "$ac_var='\''$ac_val'\''"
2048 if test -n "$ac_subst_files"; then
2050 ## ------------------- ##
2051 ## File substitutions. ##
2052 ## ------------------- ##
2055 for ac_var
in $ac_subst_files
2057 eval ac_val
=\$
$ac_var
2059 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2061 $as_echo "$ac_var='\''$ac_val'\''"
2066 if test -s confdefs.h; then
2076 test "$ac_signal" != 0 &&
2077 $as_echo "$as_me: caught signal $ac_signal"
2078 $as_echo "$as_me: exit $exit_status"
2080 rm -f core *.core core.conftest.* &&
2081 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2084 for ac_signal
in 1 2 13 15; do
2085 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2089 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2090 rm -f -r conftest
* confdefs.h
2092 $as_echo "/* confdefs.h */" > confdefs.h
2094 # Predefined preprocessor variables.
2096 cat >>confdefs.h
<<_ACEOF
2097 #define PACKAGE_NAME "$PACKAGE_NAME"
2100 cat >>confdefs.h
<<_ACEOF
2101 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2104 cat >>confdefs.h
<<_ACEOF
2105 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2108 cat >>confdefs.h
<<_ACEOF
2109 #define PACKAGE_STRING "$PACKAGE_STRING"
2112 cat >>confdefs.h
<<_ACEOF
2113 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2116 cat >>confdefs.h
<<_ACEOF
2117 #define PACKAGE_URL "$PACKAGE_URL"
2121 # Let the site file select an alternate cache file if it wants to.
2122 # Prefer an explicitly selected file to automatically selected ones.
2125 if test -n "$CONFIG_SITE"; then
2126 ac_site_file1
=$CONFIG_SITE
2127 elif test "x$prefix" != xNONE
; then
2128 ac_site_file1
=$prefix/share
/config.site
2129 ac_site_file2
=$prefix/etc
/config.site
2131 ac_site_file1
=$ac_default_prefix/share
/config.site
2132 ac_site_file2
=$ac_default_prefix/etc
/config.site
2134 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2136 test "x$ac_site_file" = xNONE
&& continue
2137 if test -r "$ac_site_file"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2139 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2140 sed 's/^/| /' "$ac_site_file" >&5
2145 if test -r "$cache_file"; then
2146 # Some versions of bash will fail to source /dev/null (special
2147 # files actually), so we avoid doing that.
2148 if test -f "$cache_file"; then
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2150 $as_echo "$as_me: loading cache $cache_file" >&6;}
2152 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2153 *) .
"./$cache_file";;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2158 $as_echo "$as_me: creating cache $cache_file" >&6;}
2162 # Check that the precious variables saved in the cache have kept the same
2164 ac_cache_corrupted
=false
2165 for ac_var
in $ac_precious_vars; do
2166 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2167 eval ac_new_set
=\
$ac_env_${ac_var}_set
2168 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2169 eval ac_new_val
=\
$ac_env_${ac_var}_value
2170 case $ac_old_set,$ac_new_set in
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2173 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2174 ac_cache_corrupted
=: ;;
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2177 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2178 ac_cache_corrupted
=: ;;
2181 if test "x$ac_old_val" != "x$ac_new_val"; then
2182 # differences in whitespace do not lead to failure.
2183 ac_old_val_w
=`echo x $ac_old_val`
2184 ac_new_val_w
=`echo x $ac_new_val`
2185 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2187 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2188 ac_cache_corrupted
=:
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2191 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2192 eval $ac_var=\
$ac_old_val
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2195 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2197 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2200 # Pass precious variables to config.status.
2201 if test "$ac_new_set" = set; then
2203 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2204 *) ac_arg
=$ac_var=$ac_new_val ;;
2206 case " $ac_configure_args " in
2207 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2208 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2212 if $ac_cache_corrupted; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2216 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2217 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2219 ## -------------------- ##
2220 ## Main body of script. ##
2221 ## -------------------- ##
2224 ac_cpp
='$CPP $CPPFLAGS'
2225 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2226 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2227 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2238 # if PWD already has a value, it is probably wrong.
2239 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2241 # Export original configure arguments for use by sub-configures.
2242 # Quote arguments with shell meta charatcers.
2243 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2244 set -- "$progname" "$@"
2248 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2249 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2250 # if the argument is of the form -foo=baz, quote the baz part only
2251 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2254 # Add the quoted argument to the list.
2255 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2257 if test "$silent" = yes; then
2258 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2260 # Remove the initial space we just introduced and, as these will be
2261 # expanded by make, quote '$'.
2262 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2265 # Find the build, host, and target systems.
2267 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2268 for ac_t
in install-sh
install.sh shtool
; do
2269 if test -f "$ac_dir/$ac_t"; then
2271 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2276 if test -z "$ac_aux_dir"; then
2277 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2280 # These three variables are undocumented and unsupported,
2281 # and are intended to be withdrawn in a future Autoconf release.
2282 # They can cause serious problems if a builder's source tree is in a directory
2283 # whose full name contains unusual characters.
2284 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2285 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2286 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2289 # Make sure we can run config.sub.
2290 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2291 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2294 $as_echo_n "checking build system type... " >&6; }
2295 if test "${ac_cv_build+set}" = set; then :
2296 $as_echo_n "(cached) " >&6
2298 ac_build_alias
=$build_alias
2299 test "x$ac_build_alias" = x
&&
2300 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2301 test "x$ac_build_alias" = x
&&
2302 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2303 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2304 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2308 $as_echo "$ac_cv_build" >&6; }
2309 case $ac_cv_build in
2311 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2314 ac_save_IFS
=$IFS; IFS
='-'
2320 # Remember, the first character of IFS is used to create $*,
2321 # except with old shells:
2324 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2327 case ${build_alias} in
2328 "") build_noncanonical
=${build} ;;
2329 *) build_noncanonical
=${build_alias} ;;
2334 case ${host_alias} in
2335 "") host_noncanonical
=${build_noncanonical} ;;
2336 *) host_noncanonical
=${host_alias} ;;
2341 case ${target_alias} in
2342 "") target_noncanonical
=${host_noncanonical} ;;
2343 *) target_noncanonical
=${target_alias} ;;
2349 test "$host_noncanonical" = "$target_noncanonical" &&
2350 test "$program_prefix$program_suffix$program_transform_name" = \
2352 program_transform_name
=s
,y
,y
,
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2355 $as_echo_n "checking host system type... " >&6; }
2356 if test "${ac_cv_host+set}" = set; then :
2357 $as_echo_n "(cached) " >&6
2359 if test "x$host_alias" = x
; then
2360 ac_cv_host
=$ac_cv_build
2362 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2363 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2368 $as_echo "$ac_cv_host" >&6; }
2371 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2374 ac_save_IFS
=$IFS; IFS
='-'
2380 # Remember, the first character of IFS is used to create $*,
2381 # except with old shells:
2384 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2388 $as_echo_n "checking target system type... " >&6; }
2389 if test "${ac_cv_target+set}" = set; then :
2390 $as_echo_n "(cached) " >&6
2392 if test "x$target_alias" = x
; then
2393 ac_cv_target
=$ac_cv_host
2395 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2396 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2401 $as_echo "$ac_cv_target" >&6; }
2402 case $ac_cv_target in
2404 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2406 target
=$ac_cv_target
2407 ac_save_IFS
=$IFS; IFS
='-'
2413 # Remember, the first character of IFS is used to create $*,
2414 # except with old shells:
2417 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2420 # The aliases save the names the user supplied, while $host etc.
2421 # will get canonicalized.
2422 test -n "$target_alias" &&
2423 test "$program_prefix$program_suffix$program_transform_name" = \
2425 program_prefix
=${target_alias}-
2427 test "$program_prefix" != NONE
&&
2428 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2429 # Use a double $ so make ignores it.
2430 test "$program_suffix" != NONE
&&
2431 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2432 # Double any \ or $.
2433 # By default was `s,x,x', remove it if useless.
2434 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2435 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2439 # Get 'install' or 'install-sh' and its variants.
2440 # Find a good install program. We prefer a C program (faster),
2441 # so one script is as good as another. But avoid the broken or
2442 # incompatible versions:
2443 # SysV /etc/install, /usr/sbin/install
2444 # SunOS /usr/etc/install
2445 # IRIX /sbin/install
2447 # AmigaOS /C/install, which installs bootblocks on floppy discs
2448 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2449 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2450 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2451 # OS/2's system install, which has a completely different semantic
2452 # ./install, which can be erroneously created by make from ./install.sh.
2453 # Reject install programs that cannot install multiple files.
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2455 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2456 if test -z "$INSTALL"; then
2457 if test "${ac_cv_path_install+set}" = set; then :
2458 $as_echo_n "(cached) " >&6
2460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir
=.
2465 # Account for people who put trailing slashes in PATH elements.
2466 case $as_dir/ in #((
2467 .
/ | .
// |
/[cC
]/* | \
2468 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2469 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2472 # OSF1 and SCO ODT 3.0 have their own names for install.
2473 # Don't use installbsd from OSF since it installs stuff as root
2475 for ac_prog
in ginstall scoinst
install; do
2476 for ac_exec_ext
in '' $ac_executable_extensions; do
2477 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2478 if test $ac_prog = install &&
2479 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2480 # AIX install. It has an incompatible calling convention.
2482 elif test $ac_prog = install &&
2483 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2484 # program-specific install script used by HP pwplus--don't use.
2487 rm -rf conftest.one conftest.two conftest.dir
2488 echo one
> conftest.one
2489 echo two
> conftest.two
2491 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2492 test -s conftest.one
&& test -s conftest.two
&&
2493 test -s conftest.dir
/conftest.one
&&
2494 test -s conftest.dir
/conftest.two
2496 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2509 rm -rf conftest.one conftest.two conftest.dir
2512 if test "${ac_cv_path_install+set}" = set; then
2513 INSTALL
=$ac_cv_path_install
2515 # As a last resort, use the slow shell script. Don't cache a
2516 # value for INSTALL within a source directory, because that will
2517 # break other packages using the cache if that directory is
2518 # removed, or if the value is a relative name.
2519 INSTALL
=$ac_install_sh
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2523 $as_echo "$INSTALL" >&6; }
2525 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2526 # It thinks the first close brace ends the variable substitution.
2527 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2529 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2531 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2534 $as_echo_n "checking whether ln works... " >&6; }
2535 if test "${acx_cv_prog_LN+set}" = set; then :
2536 $as_echo_n "(cached) " >&6
2538 rm -f conftestdata_t
2539 echo >conftestdata_f
2540 if ln conftestdata_f conftestdata_t
2>/dev
/null
2546 rm -f conftestdata_f conftestdata_t
2549 if test $acx_cv_prog_LN = no
; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2552 $as_echo "no, using $LN" >&6; }
2554 LN
="$acx_cv_prog_LN"
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2556 $as_echo "yes" >&6; }
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2560 $as_echo_n "checking whether ln -s works... " >&6; }
2562 if test "$LN_S" = "ln -s"; then
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2564 $as_echo "yes" >&6; }
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2567 $as_echo "no, using $LN_S" >&6; }
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2571 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2572 if test "${ac_cv_path_SED+set}" = set; then :
2573 $as_echo_n "(cached) " >&6
2575 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2576 for ac_i
in 1 2 3 4 5 6 7; do
2577 ac_script
="$ac_script$as_nl$ac_script"
2579 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2580 { ac_script
=; unset ac_script
;}
2581 if test -z "$SED"; then
2582 ac_path_SED_found
=false
2583 # Loop through the user's path and test for each of PROGNAME-LIST
2584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2588 test -z "$as_dir" && as_dir
=.
2589 for ac_prog
in sed gsed
; do
2590 for ac_exec_ext
in '' $ac_executable_extensions; do
2591 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2592 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2593 # Check for GNU ac_path_SED and select it if it is found.
2594 # Check for GNU $ac_path_SED
2595 case `"$ac_path_SED" --version 2>&1` in
2597 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2600 $as_echo_n 0123456789 >"conftest.in"
2603 cat "conftest.in" "conftest.in" >"conftest.tmp"
2604 mv "conftest.tmp" "conftest.in"
2605 cp "conftest.in" "conftest.nl"
2606 $as_echo '' >> "conftest.nl"
2607 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2610 if test $ac_count -gt ${ac_path_SED_max-0}; then
2611 # Best one so far, save it but keep looking for a better one
2612 ac_cv_path_SED
="$ac_path_SED"
2613 ac_path_SED_max
=$ac_count
2615 # 10*(2^10) chars as input seems more than enough
2616 test $ac_count -gt 10 && break
2618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2621 $ac_path_SED_found && break 3
2626 if test -z "$ac_cv_path_SED"; then
2627 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2635 $as_echo "$ac_cv_path_SED" >&6; }
2636 SED
="$ac_cv_path_SED"
2639 for ac_prog
in gawk mawk nawk
awk
2641 # Extract the first word of "$ac_prog", so it can be a program name with args.
2642 set dummy
$ac_prog; ac_word
=$2
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2644 $as_echo_n "checking for $ac_word... " >&6; }
2645 if test "${ac_cv_prog_AWK+set}" = set; then :
2646 $as_echo_n "(cached) " >&6
2648 if test -n "$AWK"; then
2649 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2655 test -z "$as_dir" && as_dir
=.
2656 for ac_exec_ext
in '' $ac_executable_extensions; do
2657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2658 ac_cv_prog_AWK
="$ac_prog"
2659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$AWK"; then
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2671 $as_echo "$AWK" >&6; }
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2674 $as_echo "no" >&6; }
2678 test -n "$AWK" && break
2682 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2684 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2686 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2687 INSTALL
="${srcpwd}/install-sh -c"
2690 # Set srcdir to "." if that's what it is.
2691 # This is important for multilib support.
2693 if test "${pwd}" = "${srcpwd}" ; then
2701 ### To add a new directory to the tree, first choose whether it is a target
2702 ### or a host dependent tool. Then put it into the appropriate list
2703 ### (library or tools, host or target), doing a dependency sort.
2705 # Subdirs will be configured in the order listed in build_configdirs,
2706 # configdirs, or target_configdirs; see the serialization section below.
2708 # Dependency sorting is only needed when *configuration* must be done in
2709 # a particular order. In all cases a dependency should be specified in
2710 # the Makefile, whether or not it's implicitly specified here.
2712 # Double entries in build_configdirs, configdirs, or target_configdirs may
2713 # cause circular dependencies and break everything horribly.
2715 # these library is used by various programs built for the build
2718 build_libs
="build-libiberty build-libcpp"
2720 # these tools are built for the build environment
2721 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2723 # these libraries are used by various programs built for the host environment
2725 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2727 # these tools are built for the host environment
2728 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2729 # know that we are building the simulator.
2730 # binutils, gas and ld appear in that order because it makes sense to run
2731 # "make check" in that particular order.
2732 # If --enable-gold is used, "gold" may replace "ld".
2733 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2735 # libgcj represents the runtime libraries only used by gcj.
2736 libgcj
="target-libffi \
2740 # these libraries are built for the target environment, and are built after
2741 # the host libraries and the host tools (which may be a cross compiler)
2742 # Note that libiberty is not a target library.
2743 target_libraries
="target-libgcc \
2744 target-libbacktrace \
2749 target-liboffloadmic \
2752 target-libstdc++-v3 \
2753 target-libsanitizer \
2757 target-libquadmath \
2758 target-libgfortran \
2765 # these tools are built using the target libraries, and are intended to
2766 # run only in the target environment
2768 # note: any program that *uses* libraries that are in the "target_libraries"
2769 # list belongs in this list.
2771 target_tools
="target-rda"
2773 ################################################################################
2775 ## All tools belong in one of the four categories, and are assigned above
2776 ## We assign ${configdirs} this way to remove all embedded newlines. This
2777 ## is important because configure will choke if they ever get through.
2778 ## ${configdirs} is directories we build using the host tools.
2779 ## ${target_configdirs} is directories we build using the target tools.
2780 configdirs
=`echo ${host_libs} ${host_tools}`
2781 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2782 build_configdirs
=`echo ${build_libs} ${build_tools}`
2786 ################################################################################
2788 srcname
="gnu development package"
2790 # This gets set non-empty for some net releases of packages.
2793 # Define is_cross_compiler to save on calls to 'test'.
2795 if test x
"${host}" = x
"${target}" ; then
2796 is_cross_compiler
=no
2798 is_cross_compiler
=yes
2801 # Find the build and target subdir names.
2803 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2804 # have matching libraries, they should use host libraries: Makefile.tpl
2805 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2806 # However, they still use the build modules, because the corresponding
2807 # host modules (e.g. bison) are only built for the host when bootstrap
2809 # - build_subdir is where we find build modules, and never changes.
2810 # - build_libsubdir is where we find build libraries, and can be overridden.
2812 # Prefix 'build-' so this never conflicts with target_subdir.
2813 build_subdir
="build-${build_noncanonical}"
2815 # Check whether --with-build-libsubdir was given.
2816 if test "${with_build_libsubdir+set}" = set; then :
2817 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2819 build_libsubdir
="$build_subdir"
2822 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2823 if ( test $srcdir = .
&& test -d gcc
) \
2824 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2825 host_subdir
="host-${host_noncanonical}"
2830 target_subdir
=${target_noncanonical}
2832 # Be sure to cover against remnants of an in-tree build.
2833 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2834 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2835 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2838 # Skipdirs are removed silently.
2840 # Noconfigdirs are removed loudly.
2844 # Make sure we don't let GNU ld be added if we didn't want it.
2845 if test x
$with_gnu_ld = xno
; then
2847 noconfigdirs
="$noconfigdirs ld gold"
2851 # Make sure we don't let GNU as be added if we didn't want it.
2852 if test x
$with_gnu_as = xno
; then
2854 noconfigdirs
="$noconfigdirs gas"
2858 # Make sure we don't let ZLIB be added if we didn't want it.
2859 if test x
$with_system_zlib = xyes
; then
2860 use_included_zlib
=no
2861 noconfigdirs
="$noconfigdirs zlib"
2864 # some tools are so dependent upon X11 that if we're not building with X,
2865 # it's not even worth trying to configure, much less build, that tool.
2868 yes |
"") ;; # the default value for this tree is that X11 is available
2870 skipdirs
="${skipdirs} tk itcl libgui"
2871 # We won't be able to build gdbtk without X.
2874 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2877 # Some are only suitable for cross toolchains.
2878 # Remove these if host=target.
2879 cross_only
="target-libgloss target-newlib target-opcodes"
2881 case $is_cross_compiler in
2882 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2885 # If both --with-headers and --with-libs are specified, default to
2887 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2888 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2889 if test x
"${with_newlib}" = x
; then
2894 # Recognize --with-newlib/--without-newlib.
2895 case ${with_newlib} in
2896 no
) skipdirs
="${skipdirs} target-newlib" ;;
2897 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2900 # Check whether --enable-as-accelerator-for was given.
2901 if test "${enable_as_accelerator_for+set}" = set; then :
2902 enableval
=$enable_as_accelerator_for;
2906 # Check whether --enable-offload-targets was given.
2907 if test "${enable_offload_targets+set}" = set; then :
2908 enableval
=$enable_offload_targets;
2909 if test x
"$enable_offload_targets" = x
; then
2910 as_fn_error
"no offload targets specified" "$LINENO" 5
2914 enable_offload_targets
=
2918 # Handle --enable-gold, --enable-ld.
2919 # --disable-gold [--enable-ld]
2920 # Build only ld. Default option.
2921 # --enable-gold [--enable-ld]
2922 # Build both gold and ld. Install gold as "ld.gold", install ld
2923 # as "ld.bfd" and "ld".
2924 # --enable-gold=default [--enable-ld]
2925 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2926 # install ld as "ld.bfd".
2927 # --enable-gold[=default] --disable-ld
2928 # Build only gold, which is then installed as both "ld.gold" and "ld".
2929 # --enable-gold --enable-ld=default
2930 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2932 # In other words, ld is default
2933 # --enable-gold=default --enable-ld=default
2937 # Check whether --enable-gold was given.
2938 if test "${enable_gold+set}" = set; then :
2939 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2944 case "${ENABLE_GOLD}" in
2946 # Check for ELF target.
2949 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2950 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2951 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2952 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2954 *-*-linux*aout
* |
*-*-linux*oldld
*)
2962 if test "$is_elf" = "yes"; then
2963 # Check for target supported by gold.
2965 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2966 | aarch64
*-*-* | tilegx
*-*-*)
2967 configdirs
="$configdirs gold"
2968 if test x
${ENABLE_GOLD} = xdefault
; then
2979 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2983 # Check whether --enable-ld was given.
2984 if test "${enable_ld+set}" = set; then :
2985 enableval
=$enable_ld; ENABLE_LD
=$enableval
2991 case "${ENABLE_LD}" in
2993 if test x
${default_ld} != x
; then
2994 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3000 if test x
${ENABLE_GOLD} != xyes
; then
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3002 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3004 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3007 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3011 # Configure extra directories which are host specific
3015 configdirs
="$configdirs libtermcap" ;;
3018 # A target can indicate whether a language isn't supported for some reason.
3019 # Only spaces may be used in this macro; not newlines or tabs.
3020 unsupported_languages
=
3022 # Remove more programs from consideration, based on the host or
3023 # target this usually means that a port of the program doesn't
3027 i
[3456789]86-*-msdosdjgpp*)
3028 noconfigdirs
="$noconfigdirs tcl tk itcl"
3033 # Check whether --enable-libquadmath was given.
3034 if test "${enable_libquadmath+set}" = set; then :
3035 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3037 ENABLE_LIBQUADMATH
=yes
3040 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3041 noconfigdirs
="$noconfigdirs target-libquadmath"
3045 # Check whether --enable-libquadmath-support was given.
3046 if test "${enable_libquadmath_support+set}" = set; then :
3047 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3049 ENABLE_LIBQUADMATH_SUPPORT
=yes
3052 enable_libquadmath_support
=
3053 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3054 enable_libquadmath_support
=no
3058 # Check whether --enable-libada was given.
3059 if test "${enable_libada+set}" = set; then :
3060 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3065 if test "${ENABLE_LIBADA}" != "yes" ; then
3066 noconfigdirs
="$noconfigdirs gnattools"
3069 # Check whether --enable-libssp was given.
3070 if test "${enable_libssp+set}" = set; then :
3071 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3077 # Check whether --enable-libstdcxx was given.
3078 if test "${enable_libstdcxx+set}" = set; then :
3079 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3081 ENABLE_LIBSTDCXX
=default
3084 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3085 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3088 # If this is accelerator compiler and its target is intelmic we enable
3089 # target liboffloadmic by default. If this is compiler with offloading
3090 # for intelmic we enable host liboffloadmic by default. Otherwise
3091 # liboffloadmic is disabled by default.
3092 # Check whether --enable-liboffloadmic was given.
3093 if test "${enable_liboffloadmic+set}" = set; then :
3094 enableval
=$enable_liboffloadmic; case "$enableval" in
3096 enable_liboffloadmic
=$enableval ;;
3098 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3101 if test x
"$enable_as_accelerator_for" != x
; then
3103 *-intelmic-* |
*-intelmicemul-*)
3104 enable_liboffloadmic
=target
3105 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3108 enable_liboffloadmic
=no
3112 case "${enable_offload_targets}" in
3113 *-intelmic-* |
*-intelmicemul-*)
3114 enable_liboffloadmic
=host
3115 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3118 enable_liboffloadmic
=no
3126 # Save it here so that, even in case of --enable-libgcj, if the Java
3127 # front-end isn't enabled, we still get libgcj disabled.
3128 libgcj_saved
=$libgcj
3129 case $enable_libgcj in
3131 # If we reset it here, it won't get added to noconfigdirs in the
3132 # target-specific build rules, so it will be forcibly enabled
3133 # (unless the Java language itself isn't enabled).
3137 # Make sure we get it printed in the list of not supported target libs.
3138 # Don't disable libffi, though, other languages use it.
3139 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3140 # Clear libgcj_saved so that even if java is enabled libffi won't be
3146 # Check whether --enable-static-libjava was given.
3147 if test "${enable_static_libjava+set}" = set; then :
3148 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3150 ENABLE_STATIC_LIBJAVA
=no
3153 enable_static_libjava
=
3154 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3155 enable_static_libjava
=yes
3158 if test x
$enable_static_libjava != xyes
; then
3159 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3163 # Disable libgomp on non POSIX hosted systems.
3164 if test x
$enable_libgomp = x
; then
3165 # Enable libgomp by default on hosted POSIX systems.
3167 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3169 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3171 *-*-solaris2* |
*-*-hpux11*)
3173 *-*-darwin* |
*-*-aix*)
3176 noconfigdirs
="$noconfigdirs target-libgomp"
3181 # Disable libatomic on unsupported systems.
3182 if test -d ${srcdir}/libatomic
; then
3183 if test x
$enable_libatomic = x
; then
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3185 $as_echo_n "checking for libatomic support... " >&6; }
3186 if (srcdir
=${srcdir}/libatomic
; \
3187 .
${srcdir}/configure.tgt
; \
3188 test -n "$UNSUPPORTED")
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3191 $as_echo "no" >&6; }
3192 noconfigdirs
="$noconfigdirs target-libatomic"
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3195 $as_echo "yes" >&6; }
3200 # Disable libcilkrts on unsupported systems.
3201 if test -d ${srcdir}/libcilkrts
; then
3202 if test x
$enable_libcilkrts = x
; then
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3204 $as_echo_n "checking for libcilkrts support... " >&6; }
3205 if (srcdir
=${srcdir}/libcilkrts
; \
3206 .
${srcdir}/configure.tgt
; \
3207 test -n "$UNSUPPORTED")
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3211 noconfigdirs
="$noconfigdirs target-libcilkrts"
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3214 $as_echo "yes" >&6; }
3219 # Disable liboffloadmic on unsupported systems.
3220 if test -d ${srcdir}/liboffloadmic
; then
3221 if test x
$enable_liboffloadmic != xno
; then
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3223 $as_echo_n "checking for liboffloadmic support... " >&6; }
3224 if (srcdir
=${srcdir}/liboffloadmic
; \
3225 .
${srcdir}/configure.tgt
; \
3226 test -n "$UNSUPPORTED")
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3229 $as_echo "no" >&6; }
3230 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3233 $as_echo "yes" >&6; }
3238 # Disable libitm on unsupported systems.
3239 if test -d ${srcdir}/libitm
; then
3240 if test x
$enable_libitm = x
; then
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3242 $as_echo_n "checking for libitm support... " >&6; }
3243 if (srcdir
=${srcdir}/libitm
; \
3244 .
${srcdir}/configure.tgt
; \
3245 test -n "$UNSUPPORTED")
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248 $as_echo "no" >&6; }
3249 noconfigdirs
="$noconfigdirs target-libitm"
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3252 $as_echo "yes" >&6; }
3257 # Disable libsanitizer on unsupported systems.
3258 if test -d ${srcdir}/libsanitizer
; then
3259 if test x
$enable_libsanitizer = x
; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3261 $as_echo_n "checking for libsanitizer support... " >&6; }
3262 if (srcdir
=${srcdir}/libsanitizer
; \
3263 .
${srcdir}/configure.tgt
; \
3264 test -n "$UNSUPPORTED")
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267 $as_echo "no" >&6; }
3268 noconfigdirs
="$noconfigdirs target-libsanitizer"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3271 $as_echo "yes" >&6; }
3276 # Disable libvtv on unsupported systems.
3277 if test -d ${srcdir}/libvtv
; then
3278 if test x
$enable_libvtv = x
; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3280 $as_echo_n "checking for libvtv support... " >&6; }
3281 if (srcdir
=${srcdir}/libvtv
; \
3282 .
${srcdir}/configure.tgt
; \
3283 test "$VTV_SUPPORTED" != "yes")
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3286 $as_echo "no" >&6; }
3287 noconfigdirs
="$noconfigdirs target-libvtv"
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3290 $as_echo "yes" >&6; }
3296 # Enable libmpx on supported systems by request.
3297 if test -d ${srcdir}/libmpx
; then
3298 if test x
$enable_libmpx = xyes
; then
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libmpx support" >&5
3300 $as_echo_n "checking for libmpx support... " >&6; }
3301 if (srcdir
=${srcdir}/libmpx
; \
3302 .
${srcdir}/configure.tgt
; \
3303 test "$LIBMPX_SUPPORTED" != "yes")
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 noconfigdirs
="$noconfigdirs target-libmpx"
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3310 $as_echo "yes" >&6; }
3313 noconfigdirs
="$noconfigdirs target-libmpx"
3319 # Disable libquadmath for some systems.
3322 noconfigdirs
="$noconfigdirs target-libquadmath"
3324 # libquadmath is unused on AIX and libquadmath build process use of
3325 # LD_LIBRARY_PATH can break AIX bootstrap.
3326 powerpc-
*-aix* | rs6000-
*-aix*)
3327 noconfigdirs
="$noconfigdirs target-libquadmath"
3331 # Disable libssp for some systems.
3334 # No hosted I/O support.
3335 noconfigdirs
="$noconfigdirs target-libssp"
3337 powerpc-
*-aix* | rs6000-
*-aix*)
3338 noconfigdirs
="$noconfigdirs target-libssp"
3341 # libssp uses a misaligned load to trigger a fault, but the RL78
3342 # doesn't fault for those - instead, it gives a build-time error
3343 # for explicit misaligned loads.
3344 noconfigdirs
="$noconfigdirs target-libssp"
3347 # No hosted I/O support.
3348 noconfigdirs
="$noconfigdirs target-libssp"
3352 # Disable libstdc++-v3 for some systems.
3353 # Allow user to override this if they pass --enable-libstdc++-v3
3354 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3357 # VxWorks uses the Dinkumware C++ library.
3358 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3361 # the C++ libraries don't build on top of CE's C libraries
3362 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3365 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3368 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3373 # Disable Fortran for some systems.
3376 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3377 unsupported_languages
="$unsupported_languages fortran"
3381 # Disable Java if libffi is not supported.
3413 powerpc-
*-aix* | rs6000-
*-aix*)
3417 powerpc64-
*-freebsd*)
3421 s390-
*-* | s390x-
*-*)
3423 sh-
*-* | sh
[34]*-*-*)
3425 sh64-
*-* | sh5
*-*-*)
3432 unsupported_languages
="$unsupported_languages java"
3436 # Disable Java, libgcj or related libraries for some systems.
3440 i
[3456789]86-*-darwin*)
3442 x86_64-
*-darwin[912]*)
3445 noconfigdirs
="$noconfigdirs ${libgcj}"
3448 noconfigdirs
="$noconfigdirs ${libgcj}"
3451 noconfigdirs
="$noconfigdirs ${libgcj}"
3454 noconfigdirs
="$noconfigdirs ${libgcj}"
3457 noconfigdirs
="$noconfigdirs ${libgcj}"
3460 noconfigdirs
="$noconfigdirs ${libgcj}"
3463 noconfigdirs
="$noconfigdirs ${libgcj}"
3466 noconfigdirs
="$noconfigdirs ${libgcj}"
3469 noconfigdirs
="$noconfigdirs ${libgcj}"
3472 noconfigdirs
="$noconfigdirs ${libgcj}"
3475 noconfigdirs
="$noconfigdirs target-boehm-gc"
3477 cris-
*-* | crisv32-
*-*)
3478 unsupported_languages
="$unsupported_languages java"
3482 *) # See PR46792 regarding target-libffi.
3483 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3487 # In this case, it's because the hppa64-linux target is for
3488 # the kernel only at this point and has no libc, and thus no
3489 # headers, crt*.o, etc., all of which are needed by these.
3490 unsupported_languages
="$unsupported_languages java"
3493 noconfigdirs
="$noconfigdirs ${libgcj}"
3498 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3499 # build on HP-UX 10.20.
3500 noconfigdirs
="$noconfigdirs ${libgcj}"
3503 noconfigdirs
="$noconfigdirs ${libgcj}"
3505 i
[3456789]86-w64-mingw*)
3506 noconfigdirs
="$noconfigdirs ${libgcj}"
3508 i
[3456789]86-*-mingw*)
3509 noconfigdirs
="$noconfigdirs ${libgcj}"
3512 noconfigdirs
="$noconfigdirs ${libgcj}"
3515 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3518 # copied from rs6000-*-* entry
3519 noconfigdirs
="$noconfigdirs ${libgcj}"
3522 noconfigdirs
="$noconfigdirs ${libgcj}"
3525 noconfigdirs
="$noconfigdirs ${libgcj}"
3529 # Disable the go frontend on systems where it is known to not work. Please keep
3530 # this in sync with contrib/config-list.mk.
3532 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3533 unsupported_languages
="$unsupported_languages go"
3537 # Disable libgo for some systems where it is known to not work.
3538 # For testing, you can easily override this with --enable-libgo.
3539 if test x
$enable_libgo = x
; then
3543 noconfigdirs
="$noconfigdirs target-libgo"
3545 *-*-cygwin* |
*-*-mingw*)
3546 noconfigdirs
="$noconfigdirs target-libgo"
3549 noconfigdirs
="$noconfigdirs target-libgo"
3554 # Default libgloss CPU subdirectory.
3555 libgloss_dir
="$target_cpu"
3558 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3562 libgloss_dir
=aarch64
3567 cris-
*-* | crisv32-
*-*)
3576 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3577 libgloss_dir
=m68hc11
3579 m68
*-*-* | fido-
*-*)
3593 # Disable newlib and libgloss for various target OSes.
3596 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 i
[3456789]86-*-linux*)
3599 # This section makes it possible to build newlib natively on linux.
3600 # If we are using a cross compiler then don't configure newlib.
3601 if test x
${is_cross_compiler} != xno
; then
3602 noconfigdirs
="$noconfigdirs target-newlib"
3604 noconfigdirs
="$noconfigdirs target-libgloss"
3605 # If we are not using a cross compiler, do configure newlib.
3606 # Note however, that newlib will only be configured in this situation
3607 # if the --with-newlib option has been given, because otherwise
3608 # 'target-newlib' will appear in skipdirs.
3610 i
[3456789]86-*-rdos*)
3611 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3614 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3617 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3623 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3635 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3638 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3641 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3644 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3647 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3664 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3665 noconfigdirs
="$noconfigdirs sim target-rda"
3667 i
[3456789]86-*-darwin*)
3668 noconfigdirs
="$noconfigdirs ld gprof"
3669 noconfigdirs
="$noconfigdirs sim target-rda"
3671 x86_64-
*-darwin[912]*)
3672 noconfigdirs
="$noconfigdirs ld gas gprof"
3673 noconfigdirs
="$noconfigdirs sim target-rda"
3676 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3677 noconfigdirs
="$noconfigdirs sim target-rda"
3682 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3683 && test -f /usr
/local
/include
/gmp.h
; then
3688 # Remove unsupported stuff on all kaOS configurations.
3689 noconfigdirs
="$noconfigdirs target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3697 # this is not caught below because this stanza matches earlier
3699 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3702 # The tpf target doesn't support gdb yet.
3704 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3707 noconfigdirs
="$noconfigdirs target-rda"
3712 # ld works, but does not support shared libraries.
3713 # gas doesn't generate exception information.
3714 noconfigdirs
="$noconfigdirs gas ld"
3717 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3720 # newlib is not 64 bit ready
3721 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3723 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3724 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3727 noconfigdirs
="$noconfigdirs target-libgloss"
3730 noconfigdirs
="$noconfigdirs target-libgloss"
3733 noconfigdirs
="$noconfigdirs ld target-libgloss"
3738 if test x
${with_avrlibc} != xno
; then
3739 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3742 c4x-
*-* | tic4x-
*-*)
3743 noconfigdirs
="$noconfigdirs target-libgloss"
3746 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3749 noconfigdirs
="$noconfigdirs target-libgloss"
3752 noconfigdirs
="$noconfigdirs gdb"
3755 noconfigdirs
="$noconfigdirs gdb"
3758 noconfigdirs
="$noconfigdirs gprof"
3761 noconfigdirs
="$noconfigdirs target-libgloss"
3764 noconfigdirs
="$noconfigdirs target-libgloss"
3766 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3774 hppa
*-*-openbsd* | \
3778 noconfigdirs
="$noconfigdirs ld"
3783 noconfigdirs
="$noconfigdirs ld"
3786 noconfigdirs
="$noconfigdirs gdb"
3789 # No gdb support yet.
3790 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3793 # No ld support yet.
3794 noconfigdirs
="$noconfigdirs libgui itcl ld"
3797 # No ld support yet.
3798 noconfigdirs
="$noconfigdirs libgui itcl ld"
3800 i
[3456789]86-w64-mingw*)
3802 i
[3456789]86-*-mingw*)
3803 target_configdirs
="$target_configdirs target-winsup"
3806 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3807 noconfigdirs
="$noconfigdirs target-libgloss"
3808 # always build newlib if winsup directory is present.
3809 if test -d "$srcdir/winsup/cygwin"; then
3810 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3811 elif test -d "$srcdir/newlib"; then
3812 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3816 noconfigdirs
="$noconfigdirs target-libgloss"
3818 i
[3456789]86-*-sco3.2v5
*)
3819 # The linker does not yet know about weak symbols in COFF,
3820 # and is not configured to handle mixed ELF and COFF.
3821 noconfigdirs
="$noconfigdirs ld target-libgloss"
3823 i
[3456789]86-*-sco*)
3824 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3826 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3827 noconfigdirs
="$noconfigdirs target-libgloss"
3829 i
[3456789]86-*-sysv4*)
3830 noconfigdirs
="$noconfigdirs target-libgloss"
3832 i
[3456789]86-*-beos*)
3833 noconfigdirs
="$noconfigdirs gdb"
3835 i
[3456789]86-*-rdos*)
3836 noconfigdirs
="$noconfigdirs gdb"
3839 noconfigdirs
="$noconfigdirs gdb"
3842 noconfigdirs
="$noconfigdirs sim"
3845 # copied from rs6000-*-* entry
3846 noconfigdirs
="$noconfigdirs gprof"
3848 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3849 target_configdirs
="$target_configdirs target-winsup"
3850 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3851 # always build newlib.
3852 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3854 # This is temporary until we can link against shared libraries
3855 powerpcle-
*-solaris*)
3856 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3859 noconfigdirs
="$noconfigdirs gdb"
3862 noconfigdirs
="$noconfigdirs gprof"
3865 noconfigdirs
="$noconfigdirs gprof"
3868 noconfigdirs
="$noconfigdirs gprof"
3871 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3874 noconfigdirs
="$noconfigdirs gprof"
3876 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3877 if test x
$with_newlib = xyes
; then
3878 noconfigdirs
="$noconfigdirs gprof"
3882 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3885 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3888 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3892 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3893 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3894 noconfigdirs
="$noconfigdirs ld gas gprof"
3897 noconfigdirs
="$noconfigdirs gprof"
3900 noconfigdirs
="$noconfigdirs gdb"
3903 # nvptx is just a compiler
3904 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3907 noconfigdirs
="$noconfigdirs gdb"
3914 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3918 if test x
${is_cross_compiler} = xno
; then
3923 noconfigdirs
="$noconfigdirs sim"
3925 tilepro
*-*-* | tilegx
*-*-*)
3926 noconfigdirs
="$noconfigdirs sim"
3929 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3932 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3936 # If we aren't building newlib, then don't build libgloss, since libgloss
3937 # depends upon some newlib header files.
3938 case "${noconfigdirs}" in
3939 *target-libgloss
*) ;;
3940 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3943 # Work in distributions that contain no compiler tools, like Autoconf.
3944 host_makefile_frag
=/dev
/null
3945 if test -d ${srcdir}/config
; then
3947 i
[3456789]86-*-msdosdjgpp*)
3948 host_makefile_frag
="config/mh-djgpp"
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3953 $as_echo_n "checking to see if cat works as expected... " >&6; }
3954 echo a
>cygwin-cat-check
3955 if test `cat cygwin-cat-check` = a
; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3958 $as_echo "yes" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 as_fn_error
"The cat command does not ignore carriage return characters.
3964 Please either mount the build directory in binary mode or run the following
3965 commands before running any configure script:
3971 host_makefile_frag
="config/mh-cygwin"
3974 host_makefile_frag
="config/mh-mingw"
3977 host_makefile_frag
="config/mh-alpha-linux"
3980 host_makefile_frag
="config/mh-pa-hpux10"
3983 host_makefile_frag
="config/mh-pa"
3986 host_makefile_frag
="config/mh-pa"
3989 host_makefile_frag
="config/mh-darwin"
3992 host_makefile_frag
="config/mh-ppc-aix"
3995 host_makefile_frag
="config/mh-ppc-aix"
4000 if test "${build}" != "${host}" ; then
4001 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
4002 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
4003 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4004 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4005 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4006 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4007 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4008 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4009 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4010 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4011 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4012 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4013 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4015 AR_FOR_BUILD
="\$(AR)"
4016 AS_FOR_BUILD
="\$(AS)"
4017 CC_FOR_BUILD
="\$(CC)"
4018 CXX_FOR_BUILD
="\$(CXX)"
4019 GCJ_FOR_BUILD
="\$(GCJ)"
4020 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4021 GOC_FOR_BUILD
="\$(GOC)"
4022 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4023 LD_FOR_BUILD
="\$(LD)"
4024 NM_FOR_BUILD
="\$(NM)"
4025 RANLIB_FOR_BUILD
="\$(RANLIB)"
4026 WINDRES_FOR_BUILD
="\$(WINDRES)"
4027 WINDMC_FOR_BUILD
="\$(WINDMC)"
4031 ac_cpp
='$CPP $CPPFLAGS'
4032 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4033 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4034 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4035 if test -n "$ac_tool_prefix"; then
4036 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4037 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if test "${ac_cv_prog_CC+set}" = set; then :
4041 $as_echo_n "(cached) " >&6
4043 if test -n "$CC"; then
4044 ac_cv_prog_CC
="$CC" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4064 if test -n "$CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4066 $as_echo "$CC" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4074 if test -z "$ac_cv_prog_CC"; then
4076 # Extract the first word of "gcc", so it can be a program name with args.
4077 set dummy gcc
; ac_word
=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$ac_ct_CC"; then
4084 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_ac_ct_CC
="gcc"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4104 if test -n "$ac_ct_CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4106 $as_echo "$ac_ct_CC" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4112 if test "x$ac_ct_CC" = x
; then
4115 case $cross_compiling:$ac_tool_warned in
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4119 ac_tool_warned
=yes ;;
4127 if test -z "$CC"; then
4128 if test -n "$ac_tool_prefix"; then
4129 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4130 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_prog_CC+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$CC"; then
4137 ac_cv_prog_CC
="$CC" # Let the user override the test.
4139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4143 test -z "$as_dir" && as_dir
=.
4144 for ac_exec_ext
in '' $ac_executable_extensions; do
4145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4146 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4157 if test -n "$CC"; then
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4159 $as_echo "$CC" >&6; }
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4162 $as_echo "no" >&6; }
4168 if test -z "$CC"; then
4169 # Extract the first word of "cc", so it can be a program name with args.
4170 set dummy cc
; ac_word
=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_prog_CC+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$CC"; then
4177 ac_cv_prog_CC
="$CC" # Let the user override the test.
4180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4184 test -z "$as_dir" && as_dir
=.
4185 for ac_exec_ext
in '' $ac_executable_extensions; do
4186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4188 ac_prog_rejected
=yes
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4199 if test $ac_prog_rejected = yes; then
4200 # We found a bogon in the path, so make sure we never use it.
4201 set dummy
$ac_cv_prog_CC
4203 if test $# != 0; then
4204 # We chose a different compiler from the bogus one.
4205 # However, it has the same basename, so the bogon will be chosen
4206 # first if we set CC to just the basename; use the full file name.
4208 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4214 if test -n "$CC"; then
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4216 $as_echo "$CC" >&6; }
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4219 $as_echo "no" >&6; }
4224 if test -z "$CC"; then
4225 if test -n "$ac_tool_prefix"; then
4226 for ac_prog
in cl.exe
4228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4229 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4231 $as_echo_n "checking for $ac_word... " >&6; }
4232 if test "${ac_cv_prog_CC+set}" = set; then :
4233 $as_echo_n "(cached) " >&6
4235 if test -n "$CC"; then
4236 ac_cv_prog_CC
="$CC" # Let the user override the test.
4238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir
=.
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4245 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 if test -n "$CC"; then
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4258 $as_echo "$CC" >&6; }
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4261 $as_echo "no" >&6; }
4265 test -n "$CC" && break
4268 if test -z "$CC"; then
4270 for ac_prog
in cl.exe
4272 # Extract the first word of "$ac_prog", so it can be a program name with args.
4273 set dummy
$ac_prog; ac_word
=$2
4274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4275 $as_echo_n "checking for $ac_word... " >&6; }
4276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4277 $as_echo_n "(cached) " >&6
4279 if test -n "$ac_ct_CC"; then
4280 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_exec_ext
in '' $ac_executable_extensions; do
4288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4289 ac_cv_prog_ac_ct_CC
="$ac_prog"
4290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4300 if test -n "$ac_ct_CC"; then
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4302 $as_echo "$ac_ct_CC" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4309 test -n "$ac_ct_CC" && break
4312 if test "x$ac_ct_CC" = x
; then
4315 case $cross_compiling:$ac_tool_warned in
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4319 ac_tool_warned
=yes ;;
4328 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4330 as_fn_error
"no acceptable C compiler found in \$PATH
4331 See \`config.log' for more details." "$LINENO" 5; }
4333 # Provide some information about the compiler.
4334 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4337 for ac_option
in --version -v -V -qversion; do
4338 { { ac_try
="$ac_compiler $ac_option >&5"
4340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4341 *) ac_try_echo=$ac_try;;
4343 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4344 $as_echo "$ac_try_echo"; } >&5
4345 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4347 if test -s conftest.err; then
4349 ... rest of stderr output deleted ...
4350 10q' conftest.err >conftest.er1
4351 cat conftest.er1 >&5
4352 rm -f conftest.er1 conftest.err
4354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4355 test $ac_status = 0; }
4358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4359 /* end confdefs.h. */
4369 ac_clean_files_save=$ac_clean_files
4370 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4371 # Try to create an executable without -o first, disregard a.out.
4372 # It will help us diagnose broken compilers, and finding out an intuition
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4375 $as_echo_n "checking for C compiler default output file name... " >&6; }
4376 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4378 # The possible output files:
4379 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4382 for ac_file in $ac_files
4385 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4386 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4391 if { { ac_try="$ac_link_default"
4393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4394 *) ac_try_echo
=$ac_try;;
4396 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4397 $as_echo "$ac_try_echo"; } >&5
4398 (eval "$ac_link_default") 2>&5
4400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4401 test $ac_status = 0; }; then :
4402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4403 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4405 # so that the user can short-circuit this test for compilers unknown to
4407 for ac_file
in $ac_files ''
4409 test -f "$ac_file" ||
continue
4411 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4414 # We found the default executable, but exeext='' is most
4418 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4420 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4422 # We set ac_cv_exeext here because the later test for it is not
4423 # safe: cross compilers may not add the suffix if given an `-o'
4424 # argument, so we may need to know it at that point already.
4425 # Even if this section looks crufty: it has the advantage of
4432 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4438 $as_echo "$ac_file" >&6; }
4439 if test -z "$ac_file"; then :
4440 $as_echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.
$ac_ext >&5
4443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4445 { as_fn_set_status
77
4446 as_fn_error
"C compiler cannot create executables
4447 See \`config.log' for more details." "$LINENO" 5; }; }
4449 ac_exeext
=$ac_cv_exeext
4451 # Check that the compiler produces executables we can run. If not, either
4452 # the compiler is broken, or we cross compile.
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4454 $as_echo_n "checking whether the C compiler works... " >&6; }
4455 # If not cross compiling, check that we can run a simple program.
4456 if test "$cross_compiling" != yes; then
4457 if { ac_try
='./$ac_file'
4458 { { case "(($ac_try" in
4459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4460 *) ac_try_echo=$ac_try;;
4462 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4463 $as_echo "$ac_try_echo"; } >&5
4464 (eval "$ac_try") 2>&5
4466 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4467 test $ac_status = 0; }; }; then
4470 if test "$cross_compiling" = maybe; then
4473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4475 as_fn_error "cannot run C compiled programs.
4476 If you meant to cross compile
, use \
`--host'.
4477 See \`config.log
' for more details." "$LINENO" 5; }
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4482 $as_echo "yes" >&6; }
4484 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4485 ac_clean_files=$ac_clean_files_save
4486 # Check that the compiler produces executables we can run. If not, either
4487 # the compiler is broken, or we cross compile.
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4489 $as_echo_n "checking whether we are cross compiling... " >&6; }
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4491 $as_echo "$cross_compiling" >&6; }
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4494 $as_echo_n "checking for suffix of executables... " >&6; }
4495 if { { ac_try="$ac_link"
4497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4498 *) ac_try_echo=$ac_try;;
4500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4501 $as_echo "$ac_try_echo"; } >&5
4502 (eval "$ac_link") 2>&5
4504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4505 test $ac_status = 0; }; then :
4506 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4507 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4508 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4510 for ac_file
in conftest.exe conftest conftest.
*; do
4511 test -f "$ac_file" ||
continue
4513 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4514 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4522 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4523 See \`config.log' for more details." "$LINENO" 5; }
4525 rm -f conftest
$ac_cv_exeext
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4527 $as_echo "$ac_cv_exeext" >&6; }
4529 rm -f conftest.
$ac_ext
4530 EXEEXT
=$ac_cv_exeext
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4533 $as_echo_n "checking for suffix of object files... " >&6; }
4534 if test "${ac_cv_objext+set}" = set; then :
4535 $as_echo_n "(cached) " >&6
4537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4538 /* end confdefs.h. */
4548 rm -f conftest.o conftest.obj
4549 if { { ac_try
="$ac_compile"
4551 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4552 *) ac_try_echo=$ac_try;;
4554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4555 $as_echo "$ac_try_echo"; } >&5
4556 (eval "$ac_compile") 2>&5
4558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4559 test $ac_status = 0; }; then :
4560 for ac_file in conftest.o conftest.obj conftest.*; do
4561 test -f "$ac_file" || continue;
4563 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4564 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4569 $as_echo "$as_me: failed program was:" >&5
4570 sed 's/^/| /' conftest.$ac_ext >&5
4572 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4573 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4574 as_fn_error "cannot compute suffix of object files
: cannot compile
4575 See \
`config.log' for more details." "$LINENO" 5; }
4577 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4580 $as_echo "$ac_cv_objext" >&6; }
4581 OBJEXT=$ac_cv_objext
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4584 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4585 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4586 $as_echo_n "(cached) " >&6
4588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4589 /* end confdefs.h. */
4602 if ac_fn_c_try_compile "$LINENO"; then :
4607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4608 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4612 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4613 if test $ac_compiler_gnu = yes; then
4618 ac_test_CFLAGS=${CFLAGS+set}
4619 ac_save_CFLAGS=$CFLAGS
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4621 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4622 if test "${ac_cv_prog_cc_g+set}" = set; then :
4623 $as_echo_n "(cached) " >&6
4625 ac_save_c_werror_flag=$ac_c_werror_flag
4626 ac_c_werror_flag=yes
4629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4630 /* end confdefs.h. */
4640 if ac_fn_c_try_compile "$LINENO"; then :
4644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4645 /* end confdefs.h. */
4655 if ac_fn_c_try_compile "$LINENO"; then :
4658 ac_c_werror_flag=$ac_save_c_werror_flag
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4671 if ac_fn_c_try_compile "$LINENO"; then :
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4679 ac_c_werror_flag=$ac_save_c_werror_flag
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4682 $as_echo "$ac_cv_prog_cc_g" >&6; }
4683 if test "$ac_test_CFLAGS" = set; then
4684 CFLAGS=$ac_save_CFLAGS
4685 elif test $ac_cv_prog_cc_g = yes; then
4686 if test "$GCC" = yes; then
4692 if test "$GCC" = yes; then
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4699 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4700 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 ac_cv_prog_cc_c89=no
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4709 #include <sys/types.h>
4710 #include <sys/stat.h>
4711 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4712 struct buf { int x; };
4713 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4714 static char *e (p, i)
4720 static char *f (char * (*g) (char **, int), char **p, ...)
4725 s = g (p, va_arg (v,int));
4730 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4731 function prototypes and stuff, but not '\xHH' hex character constants.
4732 These don't provoke an error unfortunately, instead are silently treated
4733 as 'x'. The following induces an error, until -std is added to get
4734 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4735 array size at least. It's necessary to write '\x00'==0 to get something
4736 that's true only with -std. */
4737 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4739 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4740 inside strings and character constants. */
4742 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4744 int test (int i, double x);
4745 struct s1 {int (*f) (int a);};
4746 struct s2 {int (*f) (double a);};
4747 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4753 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4758 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4759 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4761 CC="$ac_save_CC $ac_arg"
4762 if ac_fn_c_try_compile "$LINENO"; then :
4763 ac_cv_prog_cc_c89=$ac_arg
4765 rm -f core conftest.err conftest.$ac_objext
4766 test "x$ac_cv_prog_cc_c89" != "xno" && break
4768 rm -f conftest.$ac_ext
4773 case "x$ac_cv_prog_cc_c89" in
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4776 $as_echo "none needed" >&6; } ;;
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4779 $as_echo "unsupported" >&6; } ;;
4781 CC="$CC $ac_cv_prog_cc_c89"
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4783 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4785 if test "x$ac_cv_prog_cc_c89" != xno; then :
4790 ac_cpp='$CPP $CPPFLAGS'
4791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4796 ac_cpp='$CXXCPP $CPPFLAGS'
4797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4800 if test -z "$CXX"; then
4801 if test -n "$CCC"; then
4804 if test -n "$ac_tool_prefix"; then
4805 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4810 $as_echo_n "checking for $ac_word... " >&6; }
4811 if test "${ac_cv_prog_CXX+set}" = set; then :
4812 $as_echo_n "(cached) " >&6
4814 if test -n "$CXX"; then
4815 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 test -z "$as_dir" && as_dir=.
4822 for ac_exec_ext in '' $ac_executable_extensions; do
4823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4824 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 if test -n "$CXX"; then
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4837 $as_echo "$CXX" >&6; }
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 $as_echo "no" >&6; }
4844 test -n "$CXX" && break
4847 if test -z "$CXX"; then
4849 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4851 # Extract the first word of "$ac_prog", so it can be a program name with args.
4852 set dummy $ac_prog; ac_word=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$ac_ct_CXX"; then
4859 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir=.
4866 for ac_exec_ext in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_ac_ct_CXX="$ac_prog"
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4879 if test -n "$ac_ct_CXX"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4881 $as_echo "$ac_ct_CXX" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 test -n "$ac_ct_CXX" && break
4891 if test "x$ac_ct_CXX" = x; then
4894 case $cross_compiling:$ac_tool_warned in
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4898 ac_tool_warned=yes ;;
4906 # Provide some information about the compiler.
4907 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4910 for ac_option in --version -v -V -qversion; do
4911 { { ac_try="$ac_compiler $ac_option >&5"
4913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4914 *) ac_try_echo
=$ac_try;;
4916 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4917 $as_echo "$ac_try_echo"; } >&5
4918 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4920 if test -s conftest.err
; then
4922 ... rest of stderr output deleted ...
4923 10q' conftest.err
>conftest.er1
4924 cat conftest.er1
>&5
4925 rm -f conftest.er1 conftest.err
4927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4928 test $ac_status = 0; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4932 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4933 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4937 /* end confdefs.h. */
4950 if ac_fn_cxx_try_compile
"$LINENO"; then :
4955 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4956 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4960 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4961 if test $ac_compiler_gnu = yes; then
4966 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4967 ac_save_CXXFLAGS
=$CXXFLAGS
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4969 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4970 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4974 ac_cxx_werror_flag
=yes
4977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4978 /* end confdefs.h. */
4988 if ac_fn_cxx_try_compile
"$LINENO"; then :
4989 ac_cv_prog_cxx_g
=yes
4992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4993 /* end confdefs.h. */
5003 if ac_fn_cxx_try_compile
"$LINENO"; then :
5006 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5009 /* end confdefs.h. */
5019 if ac_fn_cxx_try_compile
"$LINENO"; then :
5020 ac_cv_prog_cxx_g
=yes
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5030 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5031 if test "$ac_test_CXXFLAGS" = set; then
5032 CXXFLAGS
=$ac_save_CXXFLAGS
5033 elif test $ac_cv_prog_cxx_g = yes; then
5034 if test "$GXX" = yes; then
5040 if test "$GXX" = yes; then
5047 ac_cpp
='$CPP $CPPFLAGS'
5048 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5049 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5050 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5053 # We must set the default linker to the linker used by gcc for the correct
5054 # operation of libtool. If LD is not defined and we are using gcc, try to
5055 # set the LD default to the ld used by gcc.
5056 if test -z "$LD"; then
5057 if test "$GCC" = yes; then
5060 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5062 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5064 case $gcc_prog_ld in
5065 # Accept absolute paths.
5066 [\\/]* |
[A-Za-z
]:[\\/]*)
5067 LD
="$gcc_prog_ld" ;;
5072 # Check whether -static-libstdc++ -static-libgcc is supported.
5074 if test "$GCC" = yes; then
5075 saved_LDFLAGS
="$LDFLAGS"
5077 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5079 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5081 ac_cpp
='$CXXCPP $CPPFLAGS'
5082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5088 /* end confdefs.h. */
5090 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5091 #error -static-libstdc++ not implemented
5095 if ac_fn_cxx_try_link
"$LINENO"; then :
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5097 $as_echo "yes" >&6; }; have_static_libs
=yes
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5100 $as_echo "no" >&6; }
5102 rm -f core conftest.err conftest.
$ac_objext \
5103 conftest
$ac_exeext conftest.
$ac_ext
5105 ac_cpp
='$CPP $CPPFLAGS'
5106 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5107 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5108 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5111 LDFLAGS
="$saved_LDFLAGS"
5117 if test -n "$ac_tool_prefix"; then
5118 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5119 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$GNATBIND"; then
5126 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 GNATBIND
=$ac_cv_prog_GNATBIND
5146 if test -n "$GNATBIND"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5148 $as_echo "$GNATBIND" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5156 if test -z "$ac_cv_prog_GNATBIND"; then
5157 ac_ct_GNATBIND
=$GNATBIND
5158 # Extract the first word of "gnatbind", so it can be a program name with args.
5159 set dummy gnatbind
; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$ac_ct_GNATBIND"; then
5166 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5186 if test -n "$ac_ct_GNATBIND"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5188 $as_echo "$ac_ct_GNATBIND" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5194 if test "x$ac_ct_GNATBIND" = x
; then
5197 case $cross_compiling:$ac_tool_warned in
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5201 ac_tool_warned
=yes ;;
5203 GNATBIND
=$ac_ct_GNATBIND
5206 GNATBIND
="$ac_cv_prog_GNATBIND"
5209 if test -n "$ac_tool_prefix"; then
5210 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5211 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5215 $as_echo_n "(cached) " >&6
5217 if test -n "$GNATMAKE"; then
5218 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 GNATMAKE
=$ac_cv_prog_GNATMAKE
5238 if test -n "$GNATMAKE"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5240 $as_echo "$GNATMAKE" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5248 if test -z "$ac_cv_prog_GNATMAKE"; then
5249 ac_ct_GNATMAKE
=$GNATMAKE
5250 # Extract the first word of "gnatmake", so it can be a program name with args.
5251 set dummy gnatmake
; ac_word
=$2
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5253 $as_echo_n "checking for $ac_word... " >&6; }
5254 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5255 $as_echo_n "(cached) " >&6
5257 if test -n "$ac_ct_GNATMAKE"; then
5258 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5264 test -z "$as_dir" && as_dir
=.
5265 for ac_exec_ext
in '' $ac_executable_extensions; do
5266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5267 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5278 if test -n "$ac_ct_GNATMAKE"; then
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5280 $as_echo "$ac_ct_GNATMAKE" >&6; }
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5283 $as_echo "no" >&6; }
5286 if test "x$ac_ct_GNATMAKE" = x
; then
5289 case $cross_compiling:$ac_tool_warned in
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5293 ac_tool_warned
=yes ;;
5295 GNATMAKE
=$ac_ct_GNATMAKE
5298 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5302 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5303 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 cat >conftest.adb
<<EOF
5307 procedure conftest is begin null; end conftest;
5309 acx_cv_cc_gcc_supports_ada
=no
5310 # There is a bug in old released versions of GCC which causes the
5311 # driver to exit successfully when the appropriate language module
5312 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5313 # Therefore we must check for the error message as well as an
5314 # unsuccessful exit.
5315 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5316 # given a .adb file, but produce no object file. So we must check
5317 # if an object file was really produced to guard against this.
5318 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5319 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5320 acx_cv_cc_gcc_supports_ada
=yes
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5325 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5327 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5334 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5335 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5336 $as_echo_n "(cached) " >&6
5340 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5341 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5342 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5345 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5348 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5349 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5352 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5359 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5360 do_compare
="$gcc_cv_prog_cmp_skip"
5364 # Check whether --enable-bootstrap was given.
5365 if test "${enable_bootstrap+set}" = set; then :
5366 enableval
=$enable_bootstrap;
5368 enable_bootstrap
=default
5372 # Issue errors and warnings for invalid/strange bootstrap combinations.
5373 if test -r $srcdir/gcc
/configure
; then
5379 case "$have_compiler:$host:$target:$enable_bootstrap" in
5382 # Default behavior. Enable bootstrap if we have a compiler
5383 # and we are in a native configuration.
5384 yes:$build:$build:default
)
5385 enable_bootstrap
=yes ;;
5388 enable_bootstrap
=no
;;
5390 # We have a compiler and we are in a native configuration, bootstrap is ok
5391 yes:$build:$build:yes)
5394 # Other configurations, but we have a compiler. Assume the user knows
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5398 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5401 # No compiler: if they passed --enable-bootstrap explicitly, fail
5403 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5405 # Fail if wrong command line
5407 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5411 # Used for setting $lt_cv_objdir
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5413 $as_echo_n "checking for objdir... " >&6; }
5414 if test "${lt_cv_objdir+set}" = set; then :
5415 $as_echo_n "(cached) " >&6
5417 rm -f .libs
2>/dev
/null
5418 mkdir .libs
2>/dev
/null
5419 if test -d .libs
; then
5422 # MS-DOS does not allow filenames that begin with a dot.
5425 rmdir .libs
2>/dev
/null
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5428 $as_echo "$lt_cv_objdir" >&6; }
5429 objdir
=$lt_cv_objdir
5435 cat >>confdefs.h
<<_ACEOF
5436 #define LT_OBJDIR "$lt_cv_objdir/"
5441 # Check for GMP, MPFR and MPC
5442 gmplibs
="-lmpc -lmpfr -lgmp"
5446 # Specify a location for mpc
5447 # check for this first so it ends up on the link line before mpfr.
5449 # Check whether --with-mpc was given.
5450 if test "${with_mpc+set}" = set; then :
5455 # Check whether --with-mpc-include was given.
5456 if test "${with_mpc_include+set}" = set; then :
5457 withval
=$with_mpc_include;
5461 # Check whether --with-mpc-lib was given.
5462 if test "${with_mpc_lib+set}" = set; then :
5463 withval
=$with_mpc_lib;
5467 if test "x$with_mpc" != x
; then
5468 gmplibs
="-L$with_mpc/lib $gmplibs"
5469 gmpinc
="-I$with_mpc/include $gmpinc"
5471 if test "x$with_mpc_include" != x
; then
5472 gmpinc
="-I$with_mpc_include $gmpinc"
5474 if test "x$with_mpc_lib" != x
; then
5475 gmplibs
="-L$with_mpc_lib $gmplibs"
5477 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5478 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5479 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5480 # Do not test the mpc version. Assume that it is sufficient, since
5481 # it is in the source tree, and the library has not been built yet
5482 # but it would be included on the link line in the version check below
5483 # hence making the test fail.
5487 # Specify a location for mpfr
5488 # check for this first so it ends up on the link line before gmp.
5490 # Check whether --with-mpfr-dir was given.
5491 if test "${with_mpfr_dir+set}" = set; then :
5492 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5493 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5498 # Check whether --with-mpfr was given.
5499 if test "${with_mpfr+set}" = set; then :
5504 # Check whether --with-mpfr-include was given.
5505 if test "${with_mpfr_include+set}" = set; then :
5506 withval
=$with_mpfr_include;
5510 # Check whether --with-mpfr-lib was given.
5511 if test "${with_mpfr_lib+set}" = set; then :
5512 withval
=$with_mpfr_lib;
5516 if test "x$with_mpfr" != x
; then
5517 gmplibs
="-L$with_mpfr/lib $gmplibs"
5518 gmpinc
="-I$with_mpfr/include $gmpinc"
5520 if test "x$with_mpfr_include" != x
; then
5521 gmpinc
="-I$with_mpfr_include $gmpinc"
5523 if test "x$with_mpfr_lib" != x
; then
5524 gmplibs
="-L$with_mpfr_lib $gmplibs"
5526 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5527 # MPFR v3.1.0 moved the sources into a src sub-directory.
5528 if test -d ${srcdir}/mpfr
/src
; then
5529 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5530 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5531 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5533 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5534 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5535 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5537 # Do not test the mpfr version. Assume that it is sufficient, since
5538 # it is in the source tree, and the library has not been built yet
5539 # but it would be included on the link line in the version check below
5540 # hence making the test fail.
5544 # Specify a location for gmp
5546 # Check whether --with-gmp-dir was given.
5547 if test "${with_gmp_dir+set}" = set; then :
5548 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5549 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5554 # Check whether --with-gmp was given.
5555 if test "${with_gmp+set}" = set; then :
5560 # Check whether --with-gmp-include was given.
5561 if test "${with_gmp_include+set}" = set; then :
5562 withval
=$with_gmp_include;
5566 # Check whether --with-gmp-lib was given.
5567 if test "${with_gmp_lib+set}" = set; then :
5568 withval
=$with_gmp_lib;
5573 if test "x$with_gmp" != x
; then
5574 gmplibs
="-L$with_gmp/lib $gmplibs"
5575 gmpinc
="-I$with_gmp/include $gmpinc"
5577 if test "x$with_gmp_include" != x
; then
5578 gmpinc
="-I$with_gmp_include $gmpinc"
5580 if test "x$with_gmp_lib" != x
; then
5581 gmplibs
="-L$with_gmp_lib $gmplibs"
5583 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5584 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5585 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5586 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5587 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5588 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5589 # Do not test the gmp version. Assume that it is sufficient, since
5590 # it is in the source tree, and the library has not been built yet
5591 # but it would be included on the link line in the version check below
5592 # hence making the test fail.
5596 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5598 saved_CFLAGS
="$CFLAGS"
5599 CFLAGS
="$CFLAGS $gmpinc"
5600 # Check for the recommended and required versions of GMP.
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5602 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5605 /* end confdefs.h. */
5611 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5612 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5613 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5621 if ac_fn_c_try_compile
"$LINENO"; then :
5622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5623 /* end confdefs.h. */
5629 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5630 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5631 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5639 if ac_fn_c_try_compile
"$LINENO"; then :
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641 $as_echo "yes" >&6; }
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5644 $as_echo "buggy but acceptable" >&6; }
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649 $as_echo "no" >&6; }; have_gmp
=no
5651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5653 # If we have GMP, check the MPFR version.
5654 if test x
"$have_gmp" = xyes
; then
5655 # Check for the recommended and required versions of MPFR.
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5657 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5666 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5674 if ac_fn_c_try_compile
"$LINENO"; then :
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5683 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5691 if ac_fn_c_try_compile
"$LINENO"; then :
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5693 $as_echo "yes" >&6; }
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5696 $as_echo "buggy but acceptable" >&6; }
5698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5701 $as_echo "no" >&6; }; have_gmp
=no
5703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5706 # Check for the MPC header version.
5707 if test x
"$have_gmp" = xyes
; then
5708 # Check for the recommended and required versions of MPC.
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5710 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5718 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5726 if ac_fn_c_try_compile
"$LINENO"; then :
5727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5734 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5742 if ac_fn_c_try_compile
"$LINENO"; then :
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5744 $as_echo "yes" >&6; }
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5747 $as_echo "buggy but acceptable" >&6; }
5749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5752 $as_echo "no" >&6; }; have_gmp
=no
5754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5757 # Now check the MPFR library.
5758 if test x
"$have_gmp" = xyes
; then
5760 LIBS
="$LIBS $gmplibs"
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5762 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5764 /* end confdefs.h. */
5776 mpfr_atan2 (n, n, x, GMP_RNDN);
5777 mpfr_erfc (n, x, GMP_RNDN);
5778 mpfr_subnormalize (x, t, GMP_RNDN);
5782 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5783 mpc_cosh (c, c, MPC_RNDNN);
5784 mpc_pow (c, c, c, MPC_RNDNN);
5785 mpc_acosh (c, c, MPC_RNDNN);
5792 if ac_fn_c_try_link
"$LINENO"; then :
5793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5794 $as_echo "yes" >&6; }
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5797 $as_echo "no" >&6; }; have_gmp
=no
5799 rm -f core conftest.err conftest.
$ac_objext \
5800 conftest
$ac_exeext conftest.
$ac_ext
5804 CFLAGS
="$saved_CFLAGS"
5806 # The library versions listed in the error message below should match
5807 # the HARD-minimums enforced above.
5808 if test x
$have_gmp != xyes
; then
5809 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5810 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5811 their locations. Source code for these libraries can be found at
5812 their respective hosting sites as well as at
5813 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5814 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5815 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5816 make sure that you have installed both the libraries and the header
5817 files. They may be located in separate packages." "$LINENO" 5
5821 # Flags needed for both GMP, MPFR and/or MPC.
5829 # Allow host libstdc++ to be specified for static linking with PPL.
5831 # Check whether --with-host-libstdcxx was given.
5832 if test "${with_host_libstdcxx+set}" = set; then :
5833 withval
=$with_host_libstdcxx;
5837 case $with_host_libstdcxx in
5839 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5843 # Libraries to use for stage1 or when not bootstrapping.
5845 # Check whether --with-stage1-libs was given.
5846 if test "${with_stage1_libs+set}" = set; then :
5847 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5850 stage1_libs
=$withval
5853 stage1_libs
=$with_host_libstdcxx
5858 # Linker flags to use for stage1 or when not bootstrapping.
5860 # Check whether --with-stage1-ldflags was given.
5861 if test "${with_stage1_ldflags+set}" = set; then :
5862 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5865 stage1_ldflags
=$withval
5869 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5870 # if supported. But if the user explicitly specified the libraries to use,
5871 # trust that they are doing what they want.
5872 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5873 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5879 # Libraries to use for stage2 and later builds. This defaults to the
5880 # argument passed to --with-host-libstdcxx.
5882 # Check whether --with-boot-libs was given.
5883 if test "${with_boot_libs+set}" = set; then :
5884 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5887 poststage1_libs
=$withval
5890 poststage1_libs
=$with_host_libstdcxx
5895 # Linker flags to use for stage2 and later builds.
5897 # Check whether --with-boot-ldflags was given.
5898 if test "${with_boot_ldflags+set}" = set; then :
5899 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5902 poststage1_ldflags
=$withval
5906 # In stages 2 and 3, default to linking libstdc++ and libgcc
5907 # statically. But if the user explicitly specified the libraries to
5908 # use, trust that they are doing what they want.
5909 if test "$poststage1_libs" = ""; then
5910 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5916 # GCC GRAPHITE dependency ISL.
5917 # Basic setup is inlined here, actual checks are in config/isl.m4
5920 # Check whether --with-isl was given.
5921 if test "${with_isl+set}" = set; then :
5926 # Treat --without-isl as a request to disable
5927 # GRAPHITE support and skip all following checks.
5928 if test "x$with_isl" != "xno"; then
5932 # Check whether --with-isl-include was given.
5933 if test "${with_isl_include+set}" = set; then :
5934 withval
=$with_isl_include;
5938 # Check whether --with-isl-lib was given.
5939 if test "${with_isl_lib+set}" = set; then :
5940 withval
=$with_isl_lib;
5944 # Check whether --enable-isl-version-check was given.
5945 if test "${enable_isl_version_check+set}" = set; then :
5946 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5948 ENABLE_ISL_CHECK
=yes
5952 # Initialize isllibs and islinc.
5961 isllibs
="-L$with_isl/lib"
5962 islinc
="-I$with_isl/include"
5965 if test "x${with_isl_include}" != x
; then
5966 islinc
="-I$with_isl_include"
5968 if test "x${with_isl_lib}" != x
; then
5969 isllibs
="-L$with_isl_lib"
5971 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5972 && test -d ${srcdir}/isl
; then
5973 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5974 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5977 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5980 isllibs
="${isllibs} -lisl"
5984 if test "${ENABLE_ISL_CHECK}" = yes ; then
5985 _isl_saved_CFLAGS
=$CFLAGS
5986 _isl_saved_LDFLAGS
=$LDFLAGS
5987 _isl_saved_LIBS
=$LIBS
5989 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5990 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5991 LIBS
="${_isl_saved_LIBS} -lisl"
5993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5994 $as_echo_n "checking for compatible ISL... " >&6; }
5995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5996 /* end confdefs.h. */
5997 #include <isl/val.h>
6006 if ac_fn_c_try_link
"$LINENO"; then :
6011 rm -f core conftest.err conftest.
$ac_objext \
6012 conftest
$ac_exeext conftest.
$ac_ext
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6014 $as_echo "$gcc_cv_isl" >&6; }
6016 CFLAGS
=$_isl_saved_CFLAGS
6017 LDFLAGS
=$_isl_saved_LDFLAGS
6018 LIBS
=$_isl_saved_LIBS
6026 if test "x${with_isl}" = xno
; then
6027 graphite_requested
=no
6028 elif test "x${with_isl}" != x \
6029 ||
test "x${with_isl_include}" != x \
6030 ||
test "x${with_isl_lib}" != x
; then
6031 graphite_requested
=yes
6033 graphite_requested
=no
6038 if test "${gcc_cv_isl}" = no
; then
6043 if test "${graphite_requested}" = yes \
6044 && test "x${isllibs}" = x \
6045 && test "x${islinc}" = x
; then
6047 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6053 # If the ISL check failed, disable builds of in-tree variant of ISL
6054 if test "x$with_isl" = xno ||
6055 test "x$gcc_cv_isl" = xno
; then
6056 noconfigdirs
="$noconfigdirs isl"
6063 # Check for LTO support.
6064 # Check whether --enable-lto was given.
6065 if test "${enable_lto+set}" = set; then :
6066 enableval
=$enable_lto; enable_lto
=$enableval
6068 enable_lto
=yes; default_enable_lto
=yes
6077 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6078 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6079 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6088 if test $target_elf = yes; then :
6089 # ELF platforms build the lto-plugin always.
6090 build_lto_plugin
=yes
6093 if test x
"$default_enable_lto" = x
"yes" ; then
6095 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6096 # On other non-ELF platforms, LTO has yet to be validated.
6100 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6101 # It would also be nice to check the binutils support, but we don't
6102 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6103 # warn during gcc/ subconfigure; unless you're bootstrapping with
6104 # -flto it won't be needed until after installation anyway.
6106 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6107 *) if test x
"$enable_lto" = x
"yes"; then
6108 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6113 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6114 # Build it unless LTO was explicitly disabled.
6116 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6123 # Check whether --enable-linker-plugin-configure-flags was given.
6124 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6125 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6127 extra_linker_plugin_configure_flags
=
6131 # Check whether --enable-linker-plugin-flags was given.
6132 if test "${enable_linker_plugin_flags+set}" = set; then :
6133 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6135 extra_linker_plugin_flags
=
6141 # By default, C and C++ are the only stage 1 languages.
6142 stage1_languages
=,c
,
6144 # Target libraries that we bootstrap.
6145 bootstrap_target_libs
=,target-libgcc
,
6147 # Figure out what language subdirectories are present.
6148 # Look if the user specified --enable-languages="..."; if not, use
6149 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6151 # NB: embedded tabs in this IF block -- do not untabify
6152 if test -d ${srcdir}/gcc
; then
6153 if test x
"${enable_languages+set}" != xset
; then
6154 if test x
"${LANGUAGES+set}" = xset
; then
6155 enable_languages
="${LANGUAGES}"
6156 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6158 enable_languages
=all
6161 if test x
"${enable_languages}" = x ||
6162 test x
"${enable_languages}" = xyes
;
6164 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6168 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6170 # 'f95' is the old name for the 'fortran' language. We issue a warning
6171 # and make the substitution.
6172 case ,${enable_languages}, in
6174 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6175 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6179 # If bootstrapping, C++ must be enabled.
6180 case ",$enable_languages,:$enable_bootstrap" in
6183 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6184 enable_languages
="${enable_languages},c++"
6186 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6191 # First scan to see if an enabled language requires some other language.
6192 # We assume that a given config-lang.in will list all the language
6193 # front ends it requires, even if some are required indirectly.
6194 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6195 case ${lang_frag} in
6197 # The odd quoting in the next line works around
6198 # an apparent bug in bash 1.12 on linux.
6199 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6201 # From the config-lang.in, get $language, $lang_requires, and
6202 # $lang_requires_boot_languages.
6205 lang_requires_boot_languages
=
6207 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6208 case ,${enable_languages}, in
6212 echo " \`$other' language required by \`$language'; enabling" 1>&2
6213 enable_languages
="${enable_languages},${other}"
6217 for other
in ${lang_requires_boot_languages} ; do
6218 if test "$other" != "c"; then
6219 case ,${enable_stage1_languages}, in
6223 case ,${enable_languages}, in
6225 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6226 enable_stage1_languages
="$enable_stage1_languages,${other}"
6237 new_enable_languages
=,c
,
6239 # If LTO is enabled, add the LTO front end.
6240 if test "$enable_lto" = "yes" ; then
6241 case ,${enable_languages}, in
6243 *) enable_languages
="${enable_languages},lto" ;;
6245 if test "${build_lto_plugin}" = "yes" ; then
6246 configdirs
="$configdirs lto-plugin"
6250 # If we're building an offloading compiler, add the LTO front end.
6251 if test x
"$enable_as_accelerator_for" != x
; then
6252 case ,${enable_languages}, in
6254 *) enable_languages
="${enable_languages},lto" ;;
6258 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6259 potential_languages
=,c
,
6261 enabled_target_libs
=
6262 disabled_target_libs
=
6264 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6265 case ${lang_frag} in
6267 # The odd quoting in the next line works around
6268 # an apparent bug in bash 1.12 on linux.
6269 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6271 # From the config-lang.in, get $language, $target_libs,
6272 # $lang_dirs, $boot_language, and $build_by_default
6278 build_by_default
=yes
6280 if test x
${language} = x
; then
6281 echo "${lang_frag} doesn't set \$language." 1>&2
6285 if test "$language" = "c++"; then
6290 case ,${enable_languages}, in
6292 # Language was explicitly selected; include it
6293 # unless it is C, which is enabled by default.
6294 if test "$language" != "c"; then
6299 # 'all' was selected, select it if it is a default language
6300 if test "$language" != "c"; then
6301 add_this_lang
=${build_by_default}
6306 # Disable languages that need other directories if these aren't available.
6307 for i
in $subdir_requires; do
6308 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6309 case ,${enable_languages}, in
6311 # Specifically requested language; tell them.
6312 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6316 add_this_lang
=unsupported
6321 # Disable Ada if no preexisting GNAT is available.
6322 case ,${enable_languages},:${language}:${have_gnat} in
6323 *,${language},*:ada
:no
)
6324 # Specifically requested language; tell them.
6325 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6329 add_this_lang
=unsupported
6333 # Disable a language that is unsupported by the target.
6334 case " $unsupported_languages " in
6336 add_this_lang
=unsupported
6340 case $add_this_lang in
6342 # Remove language-dependent dirs.
6343 disabled_target_libs
="$disabled_target_libs $target_libs"
6344 noconfigdirs
="$noconfigdirs $lang_dirs"
6347 # Remove language-dependent dirs; still show language as supported.
6348 disabled_target_libs
="$disabled_target_libs $target_libs"
6349 noconfigdirs
="$noconfigdirs $lang_dirs"
6350 potential_languages
="${potential_languages}${language},"
6353 new_enable_languages
="${new_enable_languages}${language},"
6354 potential_languages
="${potential_languages}${language},"
6355 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6356 enabled_target_libs
="$enabled_target_libs $target_libs"
6357 case "${boot_language}:,$enable_stage1_languages," in
6358 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6359 # Add to (comma-separated) list of stage 1 languages.
6360 case ",$stage1_languages," in
6361 *,$language,* |
,yes, |
,all
,) ;;
6362 *) stage1_languages
="${stage1_languages}${language}," ;;
6364 # We need to bootstrap any supporting libraries.
6365 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6374 # Add target libraries which are only needed for disabled languages
6376 if test -n "$disabled_target_libs"; then
6377 for dir
in $disabled_target_libs; do
6378 case " $enabled_target_libs " in
6380 *) noconfigdirs
="$noconfigdirs $dir" ;;
6385 # Check whether --enable-stage1-languages was given.
6386 if test "${enable_stage1_languages+set}" = set; then :
6387 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6389 # Set it to something that will have no effect in the loop below
6390 enable_stage1_languages
=c
;;
6392 enable_stage1_languages
=`echo $new_enable_languages | \
6393 sed -e "s/^,//" -e "s/,$//" ` ;;
6395 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6396 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6399 # Add "good" languages from enable_stage1_languages to stage1_languages,
6400 # while "bad" languages go in missing_languages. Leave no duplicates.
6401 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6402 case $potential_languages in
6404 case $stage1_languages in
6406 *) stage1_languages
="$stage1_languages$i," ;;
6409 case $missing_languages in
6411 *) missing_languages
="$missing_languages$i," ;;
6418 # Remove leading/trailing commas that were added for simplicity
6419 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6420 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6421 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6422 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6424 if test "x$missing_languages" != x
; then
6426 The following requested languages could not be built: ${missing_languages}
6427 Supported languages are: ${potential_languages}" "$LINENO" 5
6429 if test "x$new_enable_languages" != "x$enable_languages"; then
6430 echo The following languages will be built
: ${new_enable_languages}
6431 enable_languages
="$new_enable_languages"
6435 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6438 # Handle --disable-<component> generically.
6439 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6440 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6441 varname
=`echo $dirname | sed -e s/+/_/g`
6442 if eval test x\
${enable_${varname}} "=" xno
; then
6443 noconfigdirs
="$noconfigdirs $dir"
6447 # Check for Boehm's garbage collector
6448 # Check whether --enable-objc-gc was given.
6449 if test "${enable_objc_gc+set}" = set; then :
6450 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6451 *,objc
,*:*:yes:*target-boehm-gc
*)
6452 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6458 # Make sure we only build Boehm's garbage collector if required.
6459 case ,${enable_languages},:${enable_objc_gc} in
6461 # Keep target-boehm-gc if requested for Objective-C.
6464 # Otherwise remove target-boehm-gc depending on target-libjava.
6465 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6466 noconfigdirs
="$noconfigdirs target-boehm-gc"
6471 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6472 case ,${enable_languages}, in
6474 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6475 case "${noconfigdirs}" in
6476 *target-libstdc
++-v3*)
6477 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6483 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6487 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6488 # $build_configdirs and $target_configdirs.
6489 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6492 for dir
in .
$skipdirs $noconfigdirs ; do
6493 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6494 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6495 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6496 if test -r $srcdir/$dirname/configure
; then
6497 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6500 notsupp
="$notsupp $dir"
6504 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6505 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6506 if test -r $srcdir/$dirname/configure
; then
6507 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6510 notsupp
="$notsupp $dir"
6514 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6515 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6516 if test -r $srcdir/$dirname/configure
; then
6517 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6520 notsupp
="$notsupp $dir"
6526 # Quietly strip out all directories which aren't configurable in this tree.
6527 # This relies on all configurable subdirectories being autoconfiscated, which
6529 build_configdirs_all
="$build_configdirs"
6531 for i
in ${build_configdirs_all} ; do
6532 j
=`echo $i | sed -e s/build-//g`
6533 if test -f ${srcdir}/$j/configure
; then
6534 build_configdirs
="${build_configdirs} $i"
6538 configdirs_all
="$configdirs"
6540 for i
in ${configdirs_all} ; do
6541 if test -f ${srcdir}/$i/configure
; then
6542 configdirs
="${configdirs} $i"
6546 target_configdirs_all
="$target_configdirs"
6548 for i
in ${target_configdirs_all} ; do
6549 j
=`echo $i | sed -e s/target-//g`
6550 if test -f ${srcdir}/$j/configure
; then
6551 target_configdirs
="${target_configdirs} $i"
6555 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6556 # so we have to add it after the preceding checks.
6557 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6559 case " $configdirs " in
6561 # If we can build libiberty, we can also build libiberty-linker-plugin.
6562 configdirs
="$configdirs libiberty-linker-plugin"
6563 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6564 --with-libiberty=../libiberty-linker-plugin";;
6566 as_fn_error
"libiberty missing" "$LINENO" 5;;
6570 # Sometimes we have special requirements for the host libiberty.
6571 extra_host_libiberty_configure_flags
=
6572 case " $configdirs " in
6573 *" lto-plugin "* |
*" libcc1 "*)
6574 # When these are to be built as shared libraries, the same applies to
6576 extra_host_libiberty_configure_flags
=--enable-shared
6581 # Produce a warning message for the subdirs we can't configure.
6582 # This isn't especially interesting in the Cygnus tree, but in the individual
6583 # FSF releases, it's important to let people know when their machine isn't
6584 # supported by the one or two programs in a package.
6586 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6587 # If $appdirs is non-empty, at least one of those directories must still
6588 # be configured, or we error out. (E.g., if the gas release supports a
6589 # specified target in some subdirs but not the gas subdir, we shouldn't
6590 # pretend that all is well.)
6591 if test -n "$appdirs" ; then
6592 for dir
in $appdirs ; do
6593 if test -r $dir/Makefile.
in ; then
6594 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6598 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6604 if test -n "$appdirs" ; then
6605 echo "*** This configuration is not supported by this package." 1>&2
6609 # Okay, some application will build, or we don't care to check. Still
6610 # notify of subdirs not getting built.
6611 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6612 echo " ${notsupp}" 1>&2
6613 echo " (Any other directories should still work fine.)" 1>&2
6621 # To find our prefix, in gcc_cv_tool_prefix.
6623 # The user is always right.
6624 if test "${PATH_SEPARATOR+set}" != set; then
6625 echo "#! /bin/sh" >conf$$.sh
6626 echo "exit 0" >>conf$$.sh
6628 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6638 if test "x$exec_prefix" = xNONE
; then
6639 if test "x$prefix" = xNONE
; then
6640 gcc_cv_tool_prefix
=$ac_default_prefix
6642 gcc_cv_tool_prefix
=$prefix
6645 gcc_cv_tool_prefix
=$exec_prefix
6648 # If there is no compiler in the tree, use the PATH only. In any
6649 # case, if there is no compiler in the tree nobody should use
6650 # AS_FOR_TARGET and LD_FOR_TARGET.
6651 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6652 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6653 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6654 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6655 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6656 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6657 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6658 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6663 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6664 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6672 # Check whether --with-build-sysroot was given.
6673 if test "${with_build_sysroot+set}" = set; then :
6674 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6675 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6678 SYSROOT_CFLAGS_FOR_TARGET
=
6684 # Check whether --with-debug-prefix-map was given.
6685 if test "${with_debug_prefix_map+set}" = set; then :
6686 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6687 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6688 for debug_map
in $withval; do
6689 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6693 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6698 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6699 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6700 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6701 # We want to ensure that TARGET libraries (which we know are built with
6702 # gcc) are built with "-O2 -g", so include those options when setting
6703 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6704 if test "x$CFLAGS_FOR_TARGET" = x
; then
6705 if test "x${is_cross_compiler}" = xyes
; then
6706 CFLAGS_FOR_TARGET
="-g -O2"
6708 CFLAGS_FOR_TARGET
=$CFLAGS
6711 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6714 *" -g "* |
*" -g3 "*) ;;
6715 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6721 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6722 if test "x${is_cross_compiler}" = xyes
; then
6723 CXXFLAGS_FOR_TARGET
="-g -O2"
6725 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6726 case " $CXXFLAGS " in
6728 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6730 case " $CXXFLAGS " in
6731 *" -g "* |
*" -g3 "*) ;;
6732 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6740 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6741 # the named directory are copied to $(tooldir)/sys-include.
6742 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6743 if test x
${is_cross_compiler} = xno
; then
6744 echo 1>&2 '***' --with-headers is only supported when cross compiling
6747 if test x
"${with_headers}" != xyes
; then
6748 x
=${gcc_cv_tool_prefix}
6749 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6753 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6754 # the name directories are copied to $(tooldir)/lib. Multiple directories
6756 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6757 if test x
${is_cross_compiler} = xno
; then
6758 echo 1>&2 '***' --with-libs is only supported when cross compiling
6761 if test x
"${with_libs}" != xyes
; then
6762 # Copy the libraries in reverse order, so that files in the first named
6763 # library override files in subsequent libraries.
6764 x
=${gcc_cv_tool_prefix}
6765 for l
in ${with_libs}; do
6766 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6771 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6773 # This is done by determining whether or not the appropriate directory
6774 # is available, and by checking whether or not specific configurations
6775 # have requested that this magic not happen.
6777 # The command line options always override the explicit settings in
6778 # configure.in, and the settings in configure.in override this magic.
6780 # If the default for a toolchain is to use GNU as and ld, and you don't
6781 # want to do that, then you should use the --without-gnu-as and
6782 # --without-gnu-ld options for the configure script. Similarly, if
6783 # the default is to use the included zlib and you don't want to do that,
6784 # you should use the --with-system-zlib option for the configure script.
6786 if test x
${use_gnu_as} = x
&&
6787 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6789 extra_host_args
="$extra_host_args --with-gnu-as"
6792 if test x
${use_gnu_ld} = x
&&
6793 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6795 extra_host_args
="$extra_host_args --with-gnu-ld"
6798 if test x
${use_included_zlib} = x
&&
6799 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6802 with_system_zlib
=yes
6803 extra_host_args
="$extra_host_args --with-system-zlib"
6806 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6807 # can detect this case.
6809 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6811 extra_host_args
="$extra_host_args --with-newlib"
6814 # Handle ${copy_dirs}
6815 set fnord
${copy_dirs}
6817 while test $# != 0 ; do
6818 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6821 echo Copying
$1 to
$2
6823 # Use the install script to create the directory and all required
6824 # parent directories.
6825 if test -d $2 ; then
6829 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6832 # Copy the directory, assuming we have tar.
6833 # FIXME: Should we use B in the second tar? Not all systems support it.
6834 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6836 # It is the responsibility of the user to correctly adjust all
6837 # symlinks. If somebody can figure out how to handle them correctly
6838 # here, feel free to add the code.
6845 # Determine a target-dependent exec_prefix that the installed
6846 # gcc will search in. Keep this list sorted by triplet, with
6847 # the *-*-osname triplets last.
6850 i
[34567]86-pc-msdosdjgpp*)
6851 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6856 md_exec_prefix
=/usr
/ccs
/bin
6860 extra_arflags_for_target
=
6861 extra_nmflags_for_target
=
6862 extra_ranlibflags_for_target
=
6863 target_makefile_frag
=/dev
/null
6866 target_makefile_frag
="config/mt-spu"
6868 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6869 target_makefile_frag
="config/mt-sde"
6871 mipsisa
*-*-elfoabi*)
6872 target_makefile_frag
="config/mt-mips-elfoabi"
6874 mips
*-*-*linux
* | mips
*-*-gnu*)
6875 target_makefile_frag
="config/mt-mips-gnu"
6878 target_makefile_frag
="config/mt-nios2-elf"
6880 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6881 target_makefile_frag
="config/mt-gnu"
6883 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6884 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6885 # commands to handle both 32-bit and 64-bit objects. These flags are
6886 # harmless if we're using GNU nm or ar.
6887 extra_arflags_for_target
=" -X32_64"
6888 extra_nmflags_for_target
=" -B -X32_64"
6892 alphaieee_frag
=/dev
/null
6895 # This just makes sure to use the -mieee option to build target libs.
6896 # This should probably be set individually by each library.
6897 alphaieee_frag
="config/mt-alphaieee"
6901 # If --enable-target-optspace always use -Os instead of -O2 to build
6902 # the target libraries, similarly if it is not specified, use -Os
6903 # on selected platforms.
6904 ospace_frag
=/dev
/null
6905 case "${enable_target_optspace}:${target}" in
6907 ospace_frag
="config/mt-ospace"
6910 ospace_frag
="config/mt-d30v"
6912 :m32r-
* |
:d10v-
* |
:fr30-
*)
6913 ospace_frag
="config/mt-ospace"
6918 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6922 # Some systems (e.g., one of the i386-aix systems the gas testers are
6923 # using) don't handle "\$" correctly, so don't use it here.
6924 tooldir
='${exec_prefix}'/${target_noncanonical}
6925 build_tooldir
=${tooldir}
6927 # Create a .gdbinit file which runs the one in srcdir
6928 # and tells GDB to look there for source files.
6930 if test -r ${srcdir}/.gdbinit
; then
6933 *) cat > .
/.gdbinit
<<EOF
6937 source ${srcdir}/.gdbinit
6943 # Make sure that the compiler is able to generate an executable. If it
6944 # can't, we are probably in trouble. We don't care whether we can run the
6945 # executable--we might be using a cross compiler--we only care whether it
6946 # can be created. At this point the main configure script has set CC.
6948 echo "int main () { return 0; }" > conftest.c
6949 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6950 if test $?
= 0 ; then
6951 if test -s conftest ||
test -s conftest.exe
; then
6957 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6958 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6965 # Decide which environment variable is used to find dynamic libraries.
6967 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6968 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6969 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6970 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6973 # On systems where the dynamic library environment variable is PATH,
6974 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6975 # built executables to PATH.
6976 if test "$RPATH_ENVVAR" = PATH
; then
6977 GCC_SHLIB_SUBDIR
=/shlib
6982 # Adjust the toplevel makefile according to whether bootstrap was selected.
6983 case $enable_bootstrap in
6985 bootstrap_suffix
=bootstrap
6986 BUILD_CONFIG
=bootstrap-debug
6989 bootstrap_suffix
=no-bootstrap
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6995 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6998 # Check whether --with-build-config was given.
6999 if test "${with_build_config+set}" = set; then :
7000 withval
=$with_build_config; case $with_build_config in
7001 yes) with_build_config
= ;;
7002 no
) with_build_config
= BUILD_CONFIG
= ;;
7007 if test "x${with_build_config}" != x
; then
7008 BUILD_CONFIG
=$with_build_config
7010 case $BUILD_CONFIG in
7012 if echo "int f (void) { return 0; }" > conftest.c
&&
7013 ${CC} -c conftest.c
&&
7014 mv conftest.o conftest.o.g0
&&
7015 ${CC} -c -g conftest.c
&&
7016 mv conftest.o conftest.o.g
&&
7017 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7022 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7027 $as_echo "$BUILD_CONFIG" >&6; }
7030 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7032 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7033 # Check whether --enable-vtable-verify was given.
7034 if test "${enable_vtable_verify+set}" = set; then :
7035 enableval
=$enable_vtable_verify; case "$enableval" in
7036 yes) enable_vtable_verify
=yes ;;
7037 no
) enable_vtable_verify
=no
;;
7038 *) enable_vtable_verify
=no
;;
7041 enable_vtable_verify
=no
7044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7045 $as_echo "$enable_vtable_verify" >&6; }
7047 # Record target_configdirs and the configure arguments for target and
7048 # build configuration in Makefile.
7049 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7050 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7051 bootstrap_fixincludes
=no
7053 # If we are building libgomp, bootstrap it.
7054 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7055 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7058 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7059 # or bootstrap-ubsan, bootstrap it.
7060 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7061 case "$BUILD_CONFIG" in
7062 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7063 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7064 bootstrap_fixincludes
=yes
7069 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7070 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7071 test "$enable_vtable_verify" != no
; then
7072 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7075 # If we are building libmpx, bootstrap it.
7076 if echo " ${target_configdirs} " |
grep " libmpx " > /dev
/null
2>&1; then
7077 bootstrap_target_libs
=${bootstrap_target_libs}target-libmpx
,
7080 # Determine whether gdb needs tk/tcl or not.
7081 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7082 # and in that case we want gdb to be built without tk. Ugh!
7083 # In fact I believe gdb is the *only* package directly dependent on tk,
7084 # so we should be able to put the 'maybe's in unconditionally and
7085 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7086 # 100% sure that that's safe though.
7088 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7089 case "$enable_gdbtk" in
7093 GDB_TK
="${gdb_tk}" ;;
7095 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7096 # distro. Eventually someone will fix this and move Insight, nee
7097 # gdbtk to a separate directory.
7098 if test -d ${srcdir}/gdb
/gdbtk
; then
7105 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7106 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7108 # Strip out unwanted targets.
7110 # While at that, we remove Makefiles if we were started for recursive
7111 # configuration, so that the top-level Makefile reconfigures them,
7112 # like we used to do when configure itself was recursive.
7114 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7115 # but now we're fixing up the Makefile ourselves with the additional
7116 # commands passed to AC_CONFIG_FILES. Use separate variables
7117 # extrasub-{build,host,target} not because there is any reason to split
7118 # the substitutions up that way, but only to remain below the limit of
7119 # 99 commands in a script, for HP-UX sed.
7120 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7122 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7123 yes:yes:*\ gold\
*:*,c
++,*) ;;
7124 yes:yes:*\ gold\
*:*)
7125 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7130 for module
in ${build_configdirs} ; do
7131 if test -z "${no_recursion}" \
7132 && test -f ${build_subdir}/${module}/Makefile
; then
7133 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7134 rm -f ${build_subdir}/${module}/Makefile
7136 extrasub_build
="$extrasub_build
7137 /^@if build-$module\$/d
7138 /^@endif build-$module\$/d
7139 /^@if build-$module-$bootstrap_suffix\$/d
7140 /^@endif build-$module-$bootstrap_suffix\$/d"
7143 for module
in ${configdirs} ; do
7144 if test -z "${no_recursion}"; then
7145 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7146 if test -f ${file}; then
7147 echo 1>&2 "*** removing ${file} to force reconfigure"
7152 case ${module},${bootstrap_fixincludes} in
7153 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7154 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7156 extrasub_host
="$extrasub_host
7158 /^@endif $module\$/d
7159 /^@if $module-$host_bootstrap_suffix\$/d
7160 /^@endif $module-$host_bootstrap_suffix\$/d"
7163 for module
in ${target_configdirs} ; do
7164 if test -z "${no_recursion}" \
7165 && test -f ${target_subdir}/${module}/Makefile
; then
7166 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7167 rm -f ${target_subdir}/${module}/Makefile
7170 # We only bootstrap target libraries listed in bootstrap_target_libs.
7171 case $bootstrap_target_libs in
7172 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7173 *) target_bootstrap_suffix
=no-bootstrap
;;
7176 extrasub_target
="$extrasub_target
7177 /^@if target-$module\$/d
7178 /^@endif target-$module\$/d
7179 /^@if target-$module-$target_bootstrap_suffix\$/d
7180 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7183 # Do the final fixup along with target modules.
7184 extrasub_target
="$extrasub_target
7185 /^@if /,/^@endif /d"
7187 # Create the serialization dependencies. This uses a temporary file.
7189 # Check whether --enable-serial-configure was given.
7190 if test "${enable_serial_configure+set}" = set; then :
7191 enableval
=$enable_serial_configure;
7195 case ${enable_serial_configure} in
7197 enable_serial_build_configure
=yes
7198 enable_serial_host_configure
=yes
7199 enable_serial_target_configure
=yes
7203 # These force 'configure's to be done one at a time, to avoid problems
7204 # with contention over a shared config.cache.
7206 echo '# serdep.tmp' > serdep.tmp
7208 test "x${enable_serial_build_configure}" = xyes
&&
7209 for item
in ${build_configdirs} ; do
7212 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7217 test "x${enable_serial_host_configure}" = xyes
&&
7218 for item
in ${configdirs} ; do
7221 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7226 test "x${enable_serial_target_configure}" = xyes
&&
7227 for item
in ${target_configdirs} ; do
7230 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7234 serialization_dependencies
=serdep.tmp
7237 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7238 # target, nonopt, and variable assignments. These are the ones we
7239 # might not want to pass down to subconfigures. The exception being
7240 # --cache-file=/dev/null, which is used to turn off the use of cache
7241 # files altogether, and which should be passed on to subconfigures.
7242 # Also strip program-prefix, program-suffix, and program-transform-name,
7243 # so that we can pass down a consistent program-transform-name.
7248 eval "set -- $ac_configure_args"
7251 if test X
"$skip_next" = X
"yes"; then
7255 if test X
"$keep_next" = X
"yes"; then
7258 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7260 baseargs
="$baseargs '$ac_arg'"
7261 tbaseargs
="$tbaseargs '$ac_arg'"
7266 # Handle separated arguments. Based on the logic generated by
7269 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7270 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7271 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7272 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7286 --with-* |
--without-*)
7287 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7291 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7294 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7303 mpc | mpfr | gmp | isl
)
7304 # If we're processing --with-$lib, --with-$lib-include or
7305 # --with-$lib-lib, for one of the libs above, and target is
7306 # different from host, don't pass the current argument to any
7307 # target library's configure.
7308 if test x
$is_cross_compiler = xyes
; then
7317 --cache-file=/dev
/null | \
7318 -cache-file=/dev
/null
)
7319 # Handled here to avoid the test to skip args below.
7320 baseargs
="$baseargs '$ac_arg'"
7321 tbaseargs
="$tbaseargs '$ac_arg'"
7322 # Assert: $separate_arg should always be no.
7323 keep_next
=$separate_arg
7339 -program-prefix* | \
7340 -program-suffix* | \
7341 -program-transform-name* )
7342 skip_next
=$separate_arg
7346 # An option. Add it.
7349 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7351 baseargs
="$baseargs '$ac_arg'"
7352 if test X
"$skip_targ" = Xno
; then
7353 tbaseargs
="$tbaseargs '$ac_arg'"
7355 keep_next
=$separate_arg
7358 # Either a variable assignment, or a nonopt (triplet). Don't
7359 # pass it down; let the Makefile handle this.
7364 # Remove the initial space we just introduced and, as these will be
7365 # expanded by make, quote '$'.
7366 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7368 # Add in --program-transform-name, after --program-prefix and
7369 # --program-suffix have been applied to it. Autoconf has already
7370 # doubled dollar signs and backslashes in program_transform_name; we want
7371 # the backslashes un-doubled, and then the entire thing wrapped in single
7372 # quotes, because this will be expanded first by make and then by the shell.
7373 # Also, because we want to override the logic in subdir configure scripts to
7374 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7375 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7376 ${program_transform_name}
7378 gcc_transform_name
=`cat conftestsed.out`
7379 rm -f conftestsed.out
7380 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7381 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7382 if test "$silent" = yes; then
7383 baseargs
="$baseargs --silent"
7384 tbaseargs
="$tbaseargs --silent"
7386 baseargs
="$baseargs --disable-option-checking"
7387 tbaseargs
="$tbaseargs --disable-option-checking"
7389 # Record and document user additions to sub configure arguments.
7394 # For the build-side libraries, we just need to pretend we're native,
7395 # and not use the same cache file. Multilibs are neither needed nor
7396 # desired. We can't even use the same cache file for all build-side
7397 # libraries, as they're compiled differently; some with C, some with
7398 # C++ or with different feature-enabling options.
7399 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7401 # For host modules, accept cache file option, or specification as blank.
7402 case "${cache_file}" in
7404 cache_file_option
="" ;;
7405 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7406 cache_file_option
="--cache-file=${cache_file}" ;;
7408 cache_file_option
="--cache-file=../${cache_file}" ;;
7411 # Host dirs don't like to share a cache file either, horribly enough.
7412 # This seems to be due to autoconf 2.5x stupidity.
7413 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7415 target_configargs
="$target_configargs ${tbaseargs}"
7417 # Passing a --with-cross-host argument lets the target libraries know
7418 # whether they are being built with a cross-compiler or being built
7419 # native. However, it would be better to use other mechanisms to make the
7420 # sorts of decisions they want to make on this basis. Please consider
7421 # this option to be deprecated. FIXME.
7422 if test x
${is_cross_compiler} = xyes
; then
7423 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7426 # Special user-friendly check for native x86_64-linux build, if
7427 # multilib is not explicitly enabled.
7428 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7429 x86_64-
*linux
*:yes:$build:$build:)
7430 # Make sure we have a development environment that handles 32-bit
7432 echo "int main () { return 0; }" > conftest.c
7433 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7434 if test $?
= 0 ; then
7435 if test -s conftest ||
test -s conftest.exe
; then
7440 if test x
${dev64} != xyes
; then
7441 as_fn_error
"I suspect your system does not have 32-bit development 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
7446 # Default to --enable-multilib.
7447 if test x
${enable_multilib} = x
; then
7448 target_configargs
="--enable-multilib ${target_configargs}"
7451 # Pass --with-newlib if appropriate. Note that target_configdirs has
7452 # changed from the earlier setting of with_newlib.
7453 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7454 target_configargs
="--with-newlib ${target_configargs}"
7457 # Different target subdirs use different values of certain variables
7458 # (notably CXX). Worse, multilibs use *lots* of different values.
7459 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7460 # it doesn't automatically accept command-line overrides of them.
7461 # This means it's not safe for target subdirs to share a cache file,
7462 # which is disgusting, but there you have it. Hopefully this can be
7463 # fixed in future. It's still worthwhile to use a cache file for each
7464 # directory. I think.
7466 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7467 # We need to pass --target, as newer autoconf's requires consistency
7468 # for target_alias and gcc doesn't manage it consistently.
7469 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7472 case " $target_configdirs " in
7474 case " $target_configargs " in
7475 *" --with-newlib "*)
7478 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7482 # If we're not building GCC, don't discard standard headers.
7483 if test -d ${srcdir}/gcc
; then
7484 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7486 if test "${build}" != "${host}"; then
7487 # On Canadian crosses, CC_FOR_TARGET will have already been set
7488 # by `configure', so we won't have an opportunity to add -Bgcc/
7489 # to it. This is right: we don't want to search that directory
7490 # for binaries, but we want the header files in there, so add
7492 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7494 # Someone might think of using the pre-installed headers on
7495 # Canadian crosses, in case the installed compiler is not fully
7496 # compatible with the compiler being built. In this case, it
7497 # would be better to flag an error than risking having
7498 # incompatible object files being constructed. We can't
7499 # guarantee that an error will be flagged, but let's hope the
7500 # compiler will do it, when presented with incompatible header
7505 case "${target}-${is_cross_compiler}" in
7506 i
[3456789]86-*-linux*-no)
7507 # Here host == target, so we don't need to build gcc,
7508 # so we don't want to discard standard headers.
7509 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7512 # If we're building newlib, use its generic headers last, but search
7513 # for any libc-related directories first (so make it the last -B
7515 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7517 # If we're building libgloss, find the startup file, simulator library
7518 # and linker script.
7519 case " $target_configdirs " in
7521 # Look for startup file, simulator library and maybe linker script.
7522 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7523 # Look for libnosys.a in case the target needs it.
7524 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7525 # Most targets have the linker script in the source directory.
7526 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7537 x86_64-
*mingw
* |
*-w64-mingw*)
7538 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7539 # however, use a symlink named 'mingw' in ${prefix} .
7540 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7543 # MinGW can't be handled as Cygwin above since it does not use newlib.
7544 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'
7548 # Allow the user to override the flags for
7549 # our build compiler if desired.
7550 if test x
"${build}" = x
"${host}" ; then
7551 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7552 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7553 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7556 # On Canadian crosses, we'll be searching the right directories for
7557 # the previously-installed cross compiler, so don't bother to add
7558 # flags for directories within the install tree of the compiler
7559 # being built; programs in there won't even run.
7560 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7561 # Search for pre-installed headers if nothing else fits.
7562 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7565 if test "x
${use_gnu_ld}" = x &&
7566 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7567 # Arrange for us to find uninstalled linker scripts.
7568 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7571 # Search for other target-specific linker scripts and such.
7574 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7578 # Makefile fragments.
7579 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7581 eval fragval=\$$frag
7582 if test $fragval != /dev/null; then
7583 eval $frag=${srcdir}/$fragval
7591 # Miscellanea: directories, flags, etc.
7600 # Build module lists & subconfigure args.
7604 # Host module lists & subconfigure args.
7609 # Target module lists & subconfigure args.
7631 # Generate default definitions for YACC, M4, LEX and other programs that run
7632 # on the build machine. These are used if the Makefile can't locate these
7633 # programs in objdir.
7634 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7636 for ac_prog in 'bison -y' byacc yacc
7638 # Extract the first word of "$ac_prog", so it can be a program name with args.
7639 set dummy $ac_prog; ac_word=$2
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7641 $as_echo_n "checking
for $ac_word...
" >&6; }
7642 if test "${ac_cv_prog_YACC+set}" = set; then :
7643 $as_echo_n "(cached
) " >&6
7645 if test -n "$YACC"; then
7646 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 test -z "$as_dir" && as_dir=.
7653 for ac_exec_ext in '' $ac_executable_extensions; do
7654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7655 ac_cv_prog_YACC="$ac_prog"
7656 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7665 YACC=$ac_cv_prog_YACC
7666 if test -n "$YACC"; then
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7668 $as_echo "$YACC" >&6; }
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7671 $as_echo "no
" >&6; }
7675 test -n "$YACC" && break
7677 test -n "$YACC" || YACC="$MISSING bison
-y"
7679 case " $build_configdirs " in
7680 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7683 for ac_prog in bison
7685 # Extract the first word of "$ac_prog", so it can be a program name with args.
7686 set dummy $ac_prog; ac_word=$2
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7688 $as_echo_n "checking
for $ac_word...
" >&6; }
7689 if test "${ac_cv_prog_BISON+set}" = set; then :
7690 $as_echo_n "(cached
) " >&6
7692 if test -n "$BISON"; then
7693 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 test -z "$as_dir" && as_dir=.
7700 for ac_exec_ext in '' $ac_executable_extensions; do
7701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7702 ac_cv_prog_BISON="$ac_prog"
7703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7712 BISON=$ac_cv_prog_BISON
7713 if test -n "$BISON"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7715 $as_echo "$BISON" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7718 $as_echo "no
" >&6; }
7722 test -n "$BISON" && break
7724 test -n "$BISON" || BISON="$MISSING bison
"
7726 case " $build_configdirs " in
7727 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7730 for ac_prog in gm4 gnum4 m4
7732 # Extract the first word of "$ac_prog", so it can be a program name with args.
7733 set dummy $ac_prog; ac_word=$2
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7735 $as_echo_n "checking
for $ac_word...
" >&6; }
7736 if test "${ac_cv_prog_M4+set}" = set; then :
7737 $as_echo_n "(cached
) " >&6
7739 if test -n "$M4"; then
7740 ac_cv_prog_M4="$M4" # Let the user override the test.
7742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir=.
7747 for ac_exec_ext in '' $ac_executable_extensions; do
7748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7749 ac_cv_prog_M4="$ac_prog"
7750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7760 if test -n "$M4"; then
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7762 $as_echo "$M4" >&6; }
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7765 $as_echo "no
" >&6; }
7769 test -n "$M4" && break
7771 test -n "$M4" || M4="$MISSING m4"
7773 case " $build_configdirs " in
7774 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7777 for ac_prog in flex lex
7779 # Extract the first word of "$ac_prog", so it can be a program name with args.
7780 set dummy $ac_prog; ac_word=$2
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7782 $as_echo_n "checking
for $ac_word...
" >&6; }
7783 if test "${ac_cv_prog_LEX+set}" = set; then :
7784 $as_echo_n "(cached
) " >&6
7786 if test -n "$LEX"; then
7787 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7793 test -z "$as_dir" && as_dir=.
7794 for ac_exec_ext in '' $ac_executable_extensions; do
7795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7796 ac_cv_prog_LEX="$ac_prog"
7797 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 if test -n "$LEX"; then
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7809 $as_echo "$LEX" >&6; }
7811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7812 $as_echo "no
" >&6; }
7816 test -n "$LEX" && break
7818 test -n "$LEX" || LEX="$MISSING flex
"
7820 case " $build_configdirs " in
7821 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7822 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7827 # Extract the first word of "$ac_prog", so it can be a program name with args.
7828 set dummy $ac_prog; ac_word=$2
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7830 $as_echo_n "checking
for $ac_word...
" >&6; }
7831 if test "${ac_cv_prog_FLEX+set}" = set; then :
7832 $as_echo_n "(cached
) " >&6
7834 if test -n "$FLEX"; then
7835 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7841 test -z "$as_dir" && as_dir=.
7842 for ac_exec_ext in '' $ac_executable_extensions; do
7843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7844 ac_cv_prog_FLEX="$ac_prog"
7845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7854 FLEX=$ac_cv_prog_FLEX
7855 if test -n "$FLEX"; then
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7857 $as_echo "$FLEX" >&6; }
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7860 $as_echo "no
" >&6; }
7864 test -n "$FLEX" && break
7866 test -n "$FLEX" || FLEX="$MISSING flex
"
7868 case " $build_configdirs " in
7869 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7872 for ac_prog in makeinfo
7874 # Extract the first word of "$ac_prog", so it can be a program name with args.
7875 set dummy $ac_prog; ac_word=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7877 $as_echo_n "checking
for $ac_word...
" >&6; }
7878 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7879 $as_echo_n "(cached
) " >&6
7881 if test -n "$MAKEINFO"; then
7882 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 test -z "$as_dir" && as_dir=.
7889 for ac_exec_ext in '' $ac_executable_extensions; do
7890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7891 ac_cv_prog_MAKEINFO="$ac_prog"
7892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7901 MAKEINFO=$ac_cv_prog_MAKEINFO
7902 if test -n "$MAKEINFO"; then
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7904 $as_echo "$MAKEINFO" >&6; }
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7907 $as_echo "no
" >&6; }
7911 test -n "$MAKEINFO" && break
7913 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7915 case " $build_configdirs " in
7916 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7919 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7920 # higher, else we use the "missing
" dummy.
7921 if ${MAKEINFO} --version \
7922 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7925 MAKEINFO="$MISSING makeinfo
"
7931 # FIXME: expect and dejagnu may become build tools?
7933 for ac_prog in expect
7935 # Extract the first word of "$ac_prog", so it can be a program name with args.
7936 set dummy $ac_prog; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7938 $as_echo_n "checking
for $ac_word...
" >&6; }
7939 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7940 $as_echo_n "(cached
) " >&6
7942 if test -n "$EXPECT"; then
7943 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7952 ac_cv_prog_EXPECT="$ac_prog"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7962 EXPECT=$ac_cv_prog_EXPECT
7963 if test -n "$EXPECT"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7965 $as_echo "$EXPECT" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7968 $as_echo "no
" >&6; }
7972 test -n "$EXPECT" && break
7974 test -n "$EXPECT" || EXPECT="expect
"
7976 case " $configdirs " in
7978 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7982 for ac_prog in runtest
7984 # Extract the first word of "$ac_prog", so it can be a program name with args.
7985 set dummy $ac_prog; ac_word=$2
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7987 $as_echo_n "checking
for $ac_word...
" >&6; }
7988 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7989 $as_echo_n "(cached
) " >&6
7991 if test -n "$RUNTEST"; then
7992 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_RUNTEST="$ac_prog"
8002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8011 RUNTEST=$ac_cv_prog_RUNTEST
8012 if test -n "$RUNTEST"; then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8014 $as_echo "$RUNTEST" >&6; }
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8017 $as_echo "no
" >&6; }
8021 test -n "$RUNTEST" && break
8023 test -n "$RUNTEST" || RUNTEST="runtest
"
8025 case " $configdirs " in
8027 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8034 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8035 ncn_target_tool_prefix=
8036 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8040 if test -n "$AR"; then
8042 elif test -n "$ac_cv_prog_AR"; then
8046 if test -n "$ac_cv_prog_AR"; then
8047 for ncn_progname in ar; do
8048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8049 set dummy ${ncn_progname}; ac_word=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8051 $as_echo_n "checking
for $ac_word...
" >&6; }
8052 if test "${ac_cv_prog_AR+set}" = set; then :
8053 $as_echo_n "(cached
) " >&6
8055 if test -n "$AR"; then
8056 ac_cv_prog_AR="$AR" # Let the user override the test.
8058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8062 test -z "$as_dir" && as_dir=.
8063 for ac_exec_ext in '' $ac_executable_extensions; do
8064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8065 ac_cv_prog_AR="${ncn_progname}"
8066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8076 if test -n "$AR"; then
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8078 $as_echo "$AR" >&6; }
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8081 $as_echo "no
" >&6; }
8088 for ncn_progname in ar; do
8089 if test -n "$ncn_tool_prefix"; then
8090 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8091 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8093 $as_echo_n "checking
for $ac_word...
" >&6; }
8094 if test "${ac_cv_prog_AR+set}" = set; then :
8095 $as_echo_n "(cached
) " >&6
8097 if test -n "$AR"; then
8098 ac_cv_prog_AR="$AR" # Let the user override the test.
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8118 if test -n "$AR"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8120 $as_echo "$AR" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8123 $as_echo "no
" >&6; }
8128 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8130 set dummy ${ncn_progname}; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8132 $as_echo_n "checking
for $ac_word...
" >&6; }
8133 if test "${ac_cv_prog_AR+set}" = set; then :
8134 $as_echo_n "(cached
) " >&6
8136 if test -n "$AR"; then
8137 ac_cv_prog_AR="$AR" # Let the user override the test.
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8146 ac_cv_prog_AR="${ncn_progname}"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 if test -n "$AR"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8159 $as_echo "$AR" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8162 $as_echo "no
" >&6; }
8167 test -n "$ac_cv_prog_AR" && break
8170 if test -z "$ac_cv_prog_AR" ; then
8172 if test $build = $host ; then
8175 AR="${ncn_tool_prefix}$2"
8181 if test -n "$AS"; then
8183 elif test -n "$ac_cv_prog_AS"; then
8187 if test -n "$ac_cv_prog_AS"; then
8188 for ncn_progname in as; do
8189 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8190 set dummy ${ncn_progname}; ac_word=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8192 $as_echo_n "checking
for $ac_word...
" >&6; }
8193 if test "${ac_cv_prog_AS+set}" = set; then :
8194 $as_echo_n "(cached
) " >&6
8196 if test -n "$AS"; then
8197 ac_cv_prog_AS="$AS" # Let the user override the test.
8199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 test -z "$as_dir" && as_dir=.
8204 for ac_exec_ext in '' $ac_executable_extensions; do
8205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8206 ac_cv_prog_AS="${ncn_progname}"
8207 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8217 if test -n "$AS"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8219 $as_echo "$AS" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8222 $as_echo "no
" >&6; }
8229 for ncn_progname in as; do
8230 if test -n "$ncn_tool_prefix"; then
8231 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8232 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8234 $as_echo_n "checking
for $ac_word...
" >&6; }
8235 if test "${ac_cv_prog_AS+set}" = set; then :
8236 $as_echo_n "(cached
) " >&6
8238 if test -n "$AS"; then
8239 ac_cv_prog_AS="$AS" # Let the user override the test.
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 test -z "$as_dir" && as_dir=.
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8259 if test -n "$AS"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8261 $as_echo "$AS" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8264 $as_echo "no
" >&6; }
8269 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8271 set dummy ${ncn_progname}; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8273 $as_echo_n "checking
for $ac_word...
" >&6; }
8274 if test "${ac_cv_prog_AS+set}" = set; then :
8275 $as_echo_n "(cached
) " >&6
8277 if test -n "$AS"; then
8278 ac_cv_prog_AS="$AS" # Let the user override the test.
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_AS="${ncn_progname}"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8298 if test -n "$AS"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8300 $as_echo "$AS" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8303 $as_echo "no
" >&6; }
8308 test -n "$ac_cv_prog_AS" && break
8311 if test -z "$ac_cv_prog_AS" ; then
8313 if test $build = $host ; then
8316 AS="${ncn_tool_prefix}$2"
8322 if test -n "$DLLTOOL"; then
8323 ac_cv_prog_DLLTOOL=$DLLTOOL
8324 elif test -n "$ac_cv_prog_DLLTOOL"; then
8325 DLLTOOL=$ac_cv_prog_DLLTOOL
8328 if test -n "$ac_cv_prog_DLLTOOL"; then
8329 for ncn_progname in dlltool; do
8330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8331 set dummy ${ncn_progname}; ac_word=$2
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8333 $as_echo_n "checking
for $ac_word...
" >&6; }
8334 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8335 $as_echo_n "(cached
) " >&6
8337 if test -n "$DLLTOOL"; then
8338 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8344 test -z "$as_dir" && as_dir=.
8345 for ac_exec_ext in '' $ac_executable_extensions; do
8346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8347 ac_cv_prog_DLLTOOL="${ncn_progname}"
8348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8357 DLLTOOL=$ac_cv_prog_DLLTOOL
8358 if test -n "$DLLTOOL"; then
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8360 $as_echo "$DLLTOOL" >&6; }
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8363 $as_echo "no
" >&6; }
8370 for ncn_progname in dlltool; do
8371 if test -n "$ncn_tool_prefix"; then
8372 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8373 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8375 $as_echo_n "checking
for $ac_word...
" >&6; }
8376 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8377 $as_echo_n "(cached
) " >&6
8379 if test -n "$DLLTOOL"; then
8380 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8399 DLLTOOL=$ac_cv_prog_DLLTOOL
8400 if test -n "$DLLTOOL"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8402 $as_echo "$DLLTOOL" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8405 $as_echo "no
" >&6; }
8410 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8412 set dummy ${ncn_progname}; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8414 $as_echo_n "checking
for $ac_word...
" >&6; }
8415 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8416 $as_echo_n "(cached
) " >&6
8418 if test -n "$DLLTOOL"; then
8419 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428 ac_cv_prog_DLLTOOL="${ncn_progname}"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8438 DLLTOOL=$ac_cv_prog_DLLTOOL
8439 if test -n "$DLLTOOL"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8441 $as_echo "$DLLTOOL" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8444 $as_echo "no
" >&6; }
8449 test -n "$ac_cv_prog_DLLTOOL" && break
8452 if test -z "$ac_cv_prog_DLLTOOL" ; then
8454 if test $build = $host ; then
8457 DLLTOOL="${ncn_tool_prefix}$2"
8463 if test -n "$LD"; then
8465 elif test -n "$ac_cv_prog_LD"; then
8469 if test -n "$ac_cv_prog_LD"; then
8470 for ncn_progname in ld; do
8471 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8472 set dummy ${ncn_progname}; ac_word=$2
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8474 $as_echo_n "checking
for $ac_word...
" >&6; }
8475 if test "${ac_cv_prog_LD+set}" = set; then :
8476 $as_echo_n "(cached
) " >&6
8478 if test -n "$LD"; then
8479 ac_cv_prog_LD="$LD" # Let the user override the test.
8481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir=.
8486 for ac_exec_ext in '' $ac_executable_extensions; do
8487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8488 ac_cv_prog_LD="${ncn_progname}"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8499 if test -n "$LD"; then
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8501 $as_echo "$LD" >&6; }
8503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8504 $as_echo "no
" >&6; }
8511 for ncn_progname in ld; do
8512 if test -n "$ncn_tool_prefix"; then
8513 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8514 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8516 $as_echo_n "checking
for $ac_word...
" >&6; }
8517 if test "${ac_cv_prog_LD+set}" = set; then :
8518 $as_echo_n "(cached
) " >&6
8520 if test -n "$LD"; then
8521 ac_cv_prog_LD="$LD" # Let the user override the test.
8523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8527 test -z "$as_dir" && as_dir=.
8528 for ac_exec_ext in '' $ac_executable_extensions; do
8529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8530 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8541 if test -n "$LD"; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8543 $as_echo "$LD" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8546 $as_echo "no
" >&6; }
8551 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8553 set dummy ${ncn_progname}; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if test "${ac_cv_prog_LD+set}" = set; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$LD"; then
8560 ac_cv_prog_LD="$LD" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_LD="${ncn_progname}"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8580 if test -n "$LD"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8582 $as_echo "$LD" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8590 test -n "$ac_cv_prog_LD" && break
8593 if test -z "$ac_cv_prog_LD" ; then
8595 if test $build = $host ; then
8598 LD="${ncn_tool_prefix}$2"
8604 if test -n "$LIPO"; then
8605 ac_cv_prog_LIPO=$LIPO
8606 elif test -n "$ac_cv_prog_LIPO"; then
8607 LIPO=$ac_cv_prog_LIPO
8610 if test -n "$ac_cv_prog_LIPO"; then
8611 for ncn_progname in lipo; do
8612 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8613 set dummy ${ncn_progname}; ac_word=$2
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8615 $as_echo_n "checking
for $ac_word...
" >&6; }
8616 if test "${ac_cv_prog_LIPO+set}" = set; then :
8617 $as_echo_n "(cached
) " >&6
8619 if test -n "$LIPO"; then
8620 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8626 test -z "$as_dir" && as_dir=.
8627 for ac_exec_ext in '' $ac_executable_extensions; do
8628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8629 ac_cv_prog_LIPO="${ncn_progname}"
8630 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8639 LIPO=$ac_cv_prog_LIPO
8640 if test -n "$LIPO"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8642 $as_echo "$LIPO" >&6; }
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8645 $as_echo "no
" >&6; }
8652 for ncn_progname in lipo; do
8653 if test -n "$ncn_tool_prefix"; then
8654 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8655 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8657 $as_echo_n "checking
for $ac_word...
" >&6; }
8658 if test "${ac_cv_prog_LIPO+set}" = set; then :
8659 $as_echo_n "(cached
) " >&6
8661 if test -n "$LIPO"; then
8662 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir=.
8669 for ac_exec_ext in '' $ac_executable_extensions; do
8670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8681 LIPO=$ac_cv_prog_LIPO
8682 if test -n "$LIPO"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8684 $as_echo "$LIPO" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8687 $as_echo "no
" >&6; }
8692 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8694 set dummy ${ncn_progname}; ac_word=$2
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8696 $as_echo_n "checking
for $ac_word...
" >&6; }
8697 if test "${ac_cv_prog_LIPO+set}" = set; then :
8698 $as_echo_n "(cached
) " >&6
8700 if test -n "$LIPO"; then
8701 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 test -z "$as_dir" && as_dir=.
8708 for ac_exec_ext in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_prog_LIPO="${ncn_progname}"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8720 LIPO=$ac_cv_prog_LIPO
8721 if test -n "$LIPO"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8723 $as_echo "$LIPO" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8726 $as_echo "no
" >&6; }
8731 test -n "$ac_cv_prog_LIPO" && break
8734 if test -z "$ac_cv_prog_LIPO" ; then
8736 if test $build = $host ; then
8739 LIPO="${ncn_tool_prefix}$2"
8745 if test -n "$NM"; then
8747 elif test -n "$ac_cv_prog_NM"; then
8751 if test -n "$ac_cv_prog_NM"; then
8752 for ncn_progname in nm; do
8753 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8754 set dummy ${ncn_progname}; ac_word=$2
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8756 $as_echo_n "checking
for $ac_word...
" >&6; }
8757 if test "${ac_cv_prog_NM+set}" = set; then :
8758 $as_echo_n "(cached
) " >&6
8760 if test -n "$NM"; then
8761 ac_cv_prog_NM="$NM" # Let the user override the test.
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_NM="${ncn_progname}"
8771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8781 if test -n "$NM"; then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8783 $as_echo "$NM" >&6; }
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8786 $as_echo "no
" >&6; }
8793 for ncn_progname in nm; do
8794 if test -n "$ncn_tool_prefix"; then
8795 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8796 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8798 $as_echo_n "checking
for $ac_word...
" >&6; }
8799 if test "${ac_cv_prog_NM+set}" = set; then :
8800 $as_echo_n "(cached
) " >&6
8802 if test -n "$NM"; then
8803 ac_cv_prog_NM="$NM" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8823 if test -n "$NM"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8825 $as_echo "$NM" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8828 $as_echo "no
" >&6; }
8833 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8835 set dummy ${ncn_progname}; ac_word=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8837 $as_echo_n "checking
for $ac_word...
" >&6; }
8838 if test "${ac_cv_prog_NM+set}" = set; then :
8839 $as_echo_n "(cached
) " >&6
8841 if test -n "$NM"; then
8842 ac_cv_prog_NM="$NM" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8851 ac_cv_prog_NM="${ncn_progname}"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8862 if test -n "$NM"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8864 $as_echo "$NM" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8867 $as_echo "no
" >&6; }
8872 test -n "$ac_cv_prog_NM" && break
8875 if test -z "$ac_cv_prog_NM" ; then
8877 if test $build = $host ; then
8880 NM="${ncn_tool_prefix}$2"
8886 if test -n "$RANLIB"; then
8887 ac_cv_prog_RANLIB=$RANLIB
8888 elif test -n "$ac_cv_prog_RANLIB"; then
8889 RANLIB=$ac_cv_prog_RANLIB
8892 if test -n "$ac_cv_prog_RANLIB"; then
8893 for ncn_progname in ranlib; do
8894 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8895 set dummy ${ncn_progname}; ac_word=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8897 $as_echo_n "checking
for $ac_word...
" >&6; }
8898 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8899 $as_echo_n "(cached
) " >&6
8901 if test -n "$RANLIB"; then
8902 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 test -z "$as_dir" && as_dir=.
8909 for ac_exec_ext in '' $ac_executable_extensions; do
8910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8911 ac_cv_prog_RANLIB="${ncn_progname}"
8912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8921 RANLIB=$ac_cv_prog_RANLIB
8922 if test -n "$RANLIB"; then
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8924 $as_echo "$RANLIB" >&6; }
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8927 $as_echo "no
" >&6; }
8934 for ncn_progname in ranlib; do
8935 if test -n "$ncn_tool_prefix"; then
8936 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8937 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8939 $as_echo_n "checking
for $ac_word...
" >&6; }
8940 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8941 $as_echo_n "(cached
) " >&6
8943 if test -n "$RANLIB"; then
8944 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8950 test -z "$as_dir" && as_dir=.
8951 for ac_exec_ext in '' $ac_executable_extensions; do
8952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8953 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8963 RANLIB=$ac_cv_prog_RANLIB
8964 if test -n "$RANLIB"; then
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8966 $as_echo "$RANLIB" >&6; }
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8969 $as_echo "no
" >&6; }
8974 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8976 set dummy ${ncn_progname}; ac_word=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8978 $as_echo_n "checking
for $ac_word...
" >&6; }
8979 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8980 $as_echo_n "(cached
) " >&6
8982 if test -n "$RANLIB"; then
8983 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 test -z "$as_dir" && as_dir=.
8990 for ac_exec_ext in '' $ac_executable_extensions; do
8991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8992 ac_cv_prog_RANLIB="${ncn_progname}"
8993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9002 RANLIB=$ac_cv_prog_RANLIB
9003 if test -n "$RANLIB"; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9005 $as_echo "$RANLIB" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9008 $as_echo "no
" >&6; }
9013 test -n "$ac_cv_prog_RANLIB" && break
9016 if test -z "$ac_cv_prog_RANLIB" ; then
9022 if test -n "$STRIP"; then
9023 ac_cv_prog_STRIP=$STRIP
9024 elif test -n "$ac_cv_prog_STRIP"; then
9025 STRIP=$ac_cv_prog_STRIP
9028 if test -n "$ac_cv_prog_STRIP"; then
9029 for ncn_progname in strip; do
9030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9031 set dummy ${ncn_progname}; ac_word=$2
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9033 $as_echo_n "checking
for $ac_word...
" >&6; }
9034 if test "${ac_cv_prog_STRIP+set}" = set; then :
9035 $as_echo_n "(cached
) " >&6
9037 if test -n "$STRIP"; then
9038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9044 test -z "$as_dir" && as_dir=.
9045 for ac_exec_ext in '' $ac_executable_extensions; do
9046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9047 ac_cv_prog_STRIP="${ncn_progname}"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9057 STRIP=$ac_cv_prog_STRIP
9058 if test -n "$STRIP"; then
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9060 $as_echo "$STRIP" >&6; }
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9063 $as_echo "no
" >&6; }
9070 for ncn_progname in strip; do
9071 if test -n "$ncn_tool_prefix"; then
9072 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9073 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9075 $as_echo_n "checking
for $ac_word...
" >&6; }
9076 if test "${ac_cv_prog_STRIP+set}" = set; then :
9077 $as_echo_n "(cached
) " >&6
9079 if test -n "$STRIP"; then
9080 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086 test -z "$as_dir" && as_dir=.
9087 for ac_exec_ext in '' $ac_executable_extensions; do
9088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9089 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9090 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9099 STRIP=$ac_cv_prog_STRIP
9100 if test -n "$STRIP"; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9102 $as_echo "$STRIP" >&6; }
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9105 $as_echo "no
" >&6; }
9110 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9111 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9112 set dummy ${ncn_progname}; ac_word=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9114 $as_echo_n "checking
for $ac_word...
" >&6; }
9115 if test "${ac_cv_prog_STRIP+set}" = set; then :
9116 $as_echo_n "(cached
) " >&6
9118 if test -n "$STRIP"; then
9119 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9125 test -z "$as_dir" && as_dir=.
9126 for ac_exec_ext in '' $ac_executable_extensions; do
9127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9128 ac_cv_prog_STRIP="${ncn_progname}"
9129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9138 STRIP=$ac_cv_prog_STRIP
9139 if test -n "$STRIP"; then
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9141 $as_echo "$STRIP" >&6; }
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9144 $as_echo "no
" >&6; }
9149 test -n "$ac_cv_prog_STRIP" && break
9152 if test -z "$ac_cv_prog_STRIP" ; then
9158 if test -n "$WINDRES"; then
9159 ac_cv_prog_WINDRES=$WINDRES
9160 elif test -n "$ac_cv_prog_WINDRES"; then
9161 WINDRES=$ac_cv_prog_WINDRES
9164 if test -n "$ac_cv_prog_WINDRES"; then
9165 for ncn_progname in windres; do
9166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9167 set dummy ${ncn_progname}; ac_word=$2
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9169 $as_echo_n "checking
for $ac_word...
" >&6; }
9170 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9171 $as_echo_n "(cached
) " >&6
9173 if test -n "$WINDRES"; then
9174 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9180 test -z "$as_dir" && as_dir=.
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9183 ac_cv_prog_WINDRES="${ncn_progname}"
9184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9193 WINDRES=$ac_cv_prog_WINDRES
9194 if test -n "$WINDRES"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9196 $as_echo "$WINDRES" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9199 $as_echo "no
" >&6; }
9206 for ncn_progname in windres; do
9207 if test -n "$ncn_tool_prefix"; then
9208 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9209 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9211 $as_echo_n "checking
for $ac_word...
" >&6; }
9212 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9213 $as_echo_n "(cached
) " >&6
9215 if test -n "$WINDRES"; then
9216 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9222 test -z "$as_dir" && as_dir=.
9223 for ac_exec_ext in '' $ac_executable_extensions; do
9224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9225 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9235 WINDRES=$ac_cv_prog_WINDRES
9236 if test -n "$WINDRES"; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9238 $as_echo "$WINDRES" >&6; }
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9241 $as_echo "no
" >&6; }
9246 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9248 set dummy ${ncn_progname}; ac_word=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9250 $as_echo_n "checking
for $ac_word...
" >&6; }
9251 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9252 $as_echo_n "(cached
) " >&6
9254 if test -n "$WINDRES"; then
9255 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_WINDRES="${ncn_progname}"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9274 WINDRES=$ac_cv_prog_WINDRES
9275 if test -n "$WINDRES"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9277 $as_echo "$WINDRES" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9280 $as_echo "no
" >&6; }
9285 test -n "$ac_cv_prog_WINDRES" && break
9288 if test -z "$ac_cv_prog_WINDRES" ; then
9290 if test $build = $host ; then
9293 WINDRES="${ncn_tool_prefix}$2"
9299 if test -n "$WINDMC"; then
9300 ac_cv_prog_WINDMC=$WINDMC
9301 elif test -n "$ac_cv_prog_WINDMC"; then
9302 WINDMC=$ac_cv_prog_WINDMC
9305 if test -n "$ac_cv_prog_WINDMC"; then
9306 for ncn_progname in windmc; do
9307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9308 set dummy ${ncn_progname}; ac_word=$2
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9310 $as_echo_n "checking
for $ac_word...
" >&6; }
9311 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9312 $as_echo_n "(cached
) " >&6
9314 if test -n "$WINDMC"; then
9315 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9321 test -z "$as_dir" && as_dir=.
9322 for ac_exec_ext in '' $ac_executable_extensions; do
9323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9324 ac_cv_prog_WINDMC="${ncn_progname}"
9325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9334 WINDMC=$ac_cv_prog_WINDMC
9335 if test -n "$WINDMC"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9337 $as_echo "$WINDMC" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9340 $as_echo "no
" >&6; }
9347 for ncn_progname in windmc; do
9348 if test -n "$ncn_tool_prefix"; then
9349 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9350 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9352 $as_echo_n "checking
for $ac_word...
" >&6; }
9353 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9354 $as_echo_n "(cached
) " >&6
9356 if test -n "$WINDMC"; then
9357 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363 test -z "$as_dir" && as_dir=.
9364 for ac_exec_ext in '' $ac_executable_extensions; do
9365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9366 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9376 WINDMC=$ac_cv_prog_WINDMC
9377 if test -n "$WINDMC"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9379 $as_echo "$WINDMC" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9382 $as_echo "no
" >&6; }
9387 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9388 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9389 set dummy ${ncn_progname}; ac_word=$2
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9391 $as_echo_n "checking
for $ac_word...
" >&6; }
9392 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9393 $as_echo_n "(cached
) " >&6
9395 if test -n "$WINDMC"; then
9396 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir=.
9403 for ac_exec_ext in '' $ac_executable_extensions; do
9404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9405 ac_cv_prog_WINDMC="${ncn_progname}"
9406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9415 WINDMC=$ac_cv_prog_WINDMC
9416 if test -n "$WINDMC"; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9418 $as_echo "$WINDMC" >&6; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9421 $as_echo "no
" >&6; }
9426 test -n "$ac_cv_prog_WINDMC" && break
9429 if test -z "$ac_cv_prog_WINDMC" ; then
9431 if test $build = $host ; then
9434 WINDMC="${ncn_tool_prefix}$2"
9440 if test -n "$OBJCOPY"; then
9441 ac_cv_prog_OBJCOPY=$OBJCOPY
9442 elif test -n "$ac_cv_prog_OBJCOPY"; then
9443 OBJCOPY=$ac_cv_prog_OBJCOPY
9446 if test -n "$ac_cv_prog_OBJCOPY"; then
9447 for ncn_progname in objcopy; do
9448 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9449 set dummy ${ncn_progname}; ac_word=$2
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9451 $as_echo_n "checking
for $ac_word...
" >&6; }
9452 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9453 $as_echo_n "(cached
) " >&6
9455 if test -n "$OBJCOPY"; then
9456 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir=.
9463 for ac_exec_ext in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_prog_OBJCOPY="${ncn_progname}"
9466 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9475 OBJCOPY=$ac_cv_prog_OBJCOPY
9476 if test -n "$OBJCOPY"; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9478 $as_echo "$OBJCOPY" >&6; }
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9481 $as_echo "no
" >&6; }
9488 for ncn_progname in objcopy; do
9489 if test -n "$ncn_tool_prefix"; then
9490 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9491 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9493 $as_echo_n "checking
for $ac_word...
" >&6; }
9494 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9495 $as_echo_n "(cached
) " >&6
9497 if test -n "$OBJCOPY"; then
9498 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9517 OBJCOPY=$ac_cv_prog_OBJCOPY
9518 if test -n "$OBJCOPY"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9520 $as_echo "$OBJCOPY" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9523 $as_echo "no
" >&6; }
9528 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9529 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9530 set dummy ${ncn_progname}; ac_word=$2
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9532 $as_echo_n "checking
for $ac_word...
" >&6; }
9533 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9534 $as_echo_n "(cached
) " >&6
9536 if test -n "$OBJCOPY"; then
9537 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9543 test -z "$as_dir" && as_dir=.
9544 for ac_exec_ext in '' $ac_executable_extensions; do
9545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9546 ac_cv_prog_OBJCOPY="${ncn_progname}"
9547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9556 OBJCOPY=$ac_cv_prog_OBJCOPY
9557 if test -n "$OBJCOPY"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9559 $as_echo "$OBJCOPY" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9562 $as_echo "no
" >&6; }
9567 test -n "$ac_cv_prog_OBJCOPY" && break
9570 if test -z "$ac_cv_prog_OBJCOPY" ; then
9572 if test $build = $host ; then
9575 OBJCOPY="${ncn_tool_prefix}$2"
9581 if test -n "$OBJDUMP"; then
9582 ac_cv_prog_OBJDUMP=$OBJDUMP
9583 elif test -n "$ac_cv_prog_OBJDUMP"; then
9584 OBJDUMP=$ac_cv_prog_OBJDUMP
9587 if test -n "$ac_cv_prog_OBJDUMP"; then
9588 for ncn_progname in objdump; do
9589 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9590 set dummy ${ncn_progname}; ac_word=$2
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9592 $as_echo_n "checking
for $ac_word...
" >&6; }
9593 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9594 $as_echo_n "(cached
) " >&6
9596 if test -n "$OBJDUMP"; then
9597 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9603 test -z "$as_dir" && as_dir=.
9604 for ac_exec_ext in '' $ac_executable_extensions; do
9605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9606 ac_cv_prog_OBJDUMP="${ncn_progname}"
9607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9616 OBJDUMP=$ac_cv_prog_OBJDUMP
9617 if test -n "$OBJDUMP"; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9619 $as_echo "$OBJDUMP" >&6; }
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9622 $as_echo "no
" >&6; }
9629 for ncn_progname in objdump; do
9630 if test -n "$ncn_tool_prefix"; then
9631 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9632 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9634 $as_echo_n "checking
for $ac_word...
" >&6; }
9635 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9636 $as_echo_n "(cached
) " >&6
9638 if test -n "$OBJDUMP"; then
9639 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir=.
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9648 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9658 OBJDUMP=$ac_cv_prog_OBJDUMP
9659 if test -n "$OBJDUMP"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9661 $as_echo "$OBJDUMP" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9664 $as_echo "no
" >&6; }
9669 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9670 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9671 set dummy ${ncn_progname}; ac_word=$2
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9673 $as_echo_n "checking
for $ac_word...
" >&6; }
9674 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9675 $as_echo_n "(cached
) " >&6
9677 if test -n "$OBJDUMP"; then
9678 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir=.
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9687 ac_cv_prog_OBJDUMP="${ncn_progname}"
9688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9697 OBJDUMP=$ac_cv_prog_OBJDUMP
9698 if test -n "$OBJDUMP"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9700 $as_echo "$OBJDUMP" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9703 $as_echo "no
" >&6; }
9708 test -n "$ac_cv_prog_OBJDUMP" && break
9711 if test -z "$ac_cv_prog_OBJDUMP" ; then
9713 if test $build = $host ; then
9716 OBJDUMP="${ncn_tool_prefix}$2"
9722 if test -n "$READELF"; then
9723 ac_cv_prog_READELF=$READELF
9724 elif test -n "$ac_cv_prog_READELF"; then
9725 READELF=$ac_cv_prog_READELF
9728 if test -n "$ac_cv_prog_READELF"; then
9729 for ncn_progname in readelf; do
9730 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9731 set dummy ${ncn_progname}; ac_word=$2
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9733 $as_echo_n "checking
for $ac_word...
" >&6; }
9734 if test "${ac_cv_prog_READELF+set}" = set; then :
9735 $as_echo_n "(cached
) " >&6
9737 if test -n "$READELF"; then
9738 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir=.
9745 for ac_exec_ext in '' $ac_executable_extensions; do
9746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9747 ac_cv_prog_READELF="${ncn_progname}"
9748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9757 READELF=$ac_cv_prog_READELF
9758 if test -n "$READELF"; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9760 $as_echo "$READELF" >&6; }
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9763 $as_echo "no
" >&6; }
9770 for ncn_progname in readelf; do
9771 if test -n "$ncn_tool_prefix"; then
9772 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9773 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9775 $as_echo_n "checking
for $ac_word...
" >&6; }
9776 if test "${ac_cv_prog_READELF+set}" = set; then :
9777 $as_echo_n "(cached
) " >&6
9779 if test -n "$READELF"; then
9780 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir=.
9787 for ac_exec_ext in '' $ac_executable_extensions; do
9788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9789 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9799 READELF=$ac_cv_prog_READELF
9800 if test -n "$READELF"; then
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9802 $as_echo "$READELF" >&6; }
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9805 $as_echo "no
" >&6; }
9810 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9812 set dummy ${ncn_progname}; ac_word=$2
9813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9814 $as_echo_n "checking
for $ac_word...
" >&6; }
9815 if test "${ac_cv_prog_READELF+set}" = set; then :
9816 $as_echo_n "(cached
) " >&6
9818 if test -n "$READELF"; then
9819 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9825 test -z "$as_dir" && as_dir=.
9826 for ac_exec_ext in '' $ac_executable_extensions; do
9827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9828 ac_cv_prog_READELF="${ncn_progname}"
9829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9838 READELF=$ac_cv_prog_READELF
9839 if test -n "$READELF"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9841 $as_echo "$READELF" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9844 $as_echo "no
" >&6; }
9849 test -n "$ac_cv_prog_READELF" && break
9852 if test -z "$ac_cv_prog_READELF" ; then
9854 if test $build = $host ; then
9857 READELF="${ncn_tool_prefix}$2"
9868 # Check whether --with-build-time-tools was given.
9869 if test "${with_build_time_tools+set}" = set; then :
9870 withval=$with_build_time_tools; case x"$withval" in
9873 with_build_time_tools=
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9875 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9879 with_build_time_tools=
9885 if test -n "$CC_FOR_TARGET"; then
9886 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9887 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9888 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9891 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9892 for ncn_progname in cc gcc; do
9893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9894 set dummy ${ncn_progname}; ac_word=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9896 $as_echo_n "checking
for $ac_word...
" >&6; }
9897 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9898 $as_echo_n "(cached
) " >&6
9900 if test -n "$CC_FOR_TARGET"; then
9901 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 test -z "$as_dir" && as_dir=.
9908 for ac_exec_ext in '' $ac_executable_extensions; do
9909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9910 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9920 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9921 if test -n "$CC_FOR_TARGET"; then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9923 $as_echo "$CC_FOR_TARGET" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9926 $as_echo "no
" >&6; }
9933 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9934 for ncn_progname in cc gcc; do
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9936 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9937 if test -x $with_build_time_tools/${ncn_progname}; then
9938 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9940 $as_echo "yes" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9944 $as_echo "no
" >&6; }
9949 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9950 for ncn_progname in cc gcc; do
9951 if test -n "$ncn_target_tool_prefix"; then
9952 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9953 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9955 $as_echo_n "checking
for $ac_word...
" >&6; }
9956 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9957 $as_echo_n "(cached
) " >&6
9959 if test -n "$CC_FOR_TARGET"; then
9960 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir=.
9967 for ac_exec_ext in '' $ac_executable_extensions; do
9968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9979 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9980 if test -n "$CC_FOR_TARGET"; then
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9982 $as_echo "$CC_FOR_TARGET" >&6; }
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9985 $as_echo "no
" >&6; }
9990 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9991 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9992 set dummy ${ncn_progname}; ac_word=$2
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9994 $as_echo_n "checking
for $ac_word...
" >&6; }
9995 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9996 $as_echo_n "(cached
) " >&6
9998 if test -n "$CC_FOR_TARGET"; then
9999 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 for as_dir in $PATH
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10008 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10018 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10019 if test -n "$CC_FOR_TARGET"; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10021 $as_echo "$CC_FOR_TARGET" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10024 $as_echo "no
" >&6; }
10029 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10033 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10035 if test $build = $target ; then
10038 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10041 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10046 if test -n "$CXX_FOR_TARGET"; then
10047 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10048 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10049 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10052 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10053 for ncn_progname in c++ g++ cxx gxx; do
10054 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10055 set dummy ${ncn_progname}; ac_word=$2
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10057 $as_echo_n "checking
for $ac_word...
" >&6; }
10058 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10059 $as_echo_n "(cached
) " >&6
10061 if test -n "$CXX_FOR_TARGET"; then
10062 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10072 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10081 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10082 if test -n "$CXX_FOR_TARGET"; then
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10084 $as_echo "$CXX_FOR_TARGET" >&6; }
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10087 $as_echo "no
" >&6; }
10094 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10095 for ncn_progname in c++ g++ cxx gxx; do
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10097 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10098 if test -x $with_build_time_tools/${ncn_progname}; then
10099 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10101 $as_echo "yes" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10105 $as_echo "no
" >&6; }
10110 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10111 for ncn_progname in c++ g++ cxx gxx; do
10112 if test -n "$ncn_target_tool_prefix"; then
10113 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10114 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10116 $as_echo_n "checking
for $ac_word...
" >&6; }
10117 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10118 $as_echo_n "(cached
) " >&6
10120 if test -n "$CXX_FOR_TARGET"; then
10121 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10124 for as_dir in $PATH
10127 test -z "$as_dir" && as_dir=.
10128 for ac_exec_ext in '' $ac_executable_extensions; do
10129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10130 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10140 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10141 if test -n "$CXX_FOR_TARGET"; then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10143 $as_echo "$CXX_FOR_TARGET" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10146 $as_echo "no
" >&6; }
10151 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10152 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10153 set dummy ${ncn_progname}; ac_word=$2
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10155 $as_echo_n "checking
for $ac_word...
" >&6; }
10156 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10157 $as_echo_n "(cached
) " >&6
10159 if test -n "$CXX_FOR_TARGET"; then
10160 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10163 for as_dir in $PATH
10166 test -z "$as_dir" && as_dir=.
10167 for ac_exec_ext in '' $ac_executable_extensions; do
10168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10169 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10170 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10179 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10180 if test -n "$CXX_FOR_TARGET"; then
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10182 $as_echo "$CXX_FOR_TARGET" >&6; }
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10185 $as_echo "no
" >&6; }
10190 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10194 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10195 set dummy c++ g++ cxx gxx
10196 if test $build = $target ; then
10197 CXX_FOR_TARGET="$2"
10199 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10202 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10207 if test -n "$GCC_FOR_TARGET"; then
10208 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10209 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10210 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10213 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10214 for ncn_progname in gcc; do
10215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10216 set dummy ${ncn_progname}; ac_word=$2
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10218 $as_echo_n "checking
for $ac_word...
" >&6; }
10219 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10220 $as_echo_n "(cached
) " >&6
10222 if test -n "$GCC_FOR_TARGET"; then
10223 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10226 for as_dir in $PATH
10229 test -z "$as_dir" && as_dir=.
10230 for ac_exec_ext in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10242 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10243 if test -n "$GCC_FOR_TARGET"; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10245 $as_echo "$GCC_FOR_TARGET" >&6; }
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10248 $as_echo "no
" >&6; }
10255 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10256 for ncn_progname in gcc; do
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10258 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10259 if test -x $with_build_time_tools/${ncn_progname}; then
10260 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10262 $as_echo "yes" >&6; }
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10266 $as_echo "no
" >&6; }
10271 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10272 for ncn_progname in gcc; do
10273 if test -n "$ncn_target_tool_prefix"; then
10274 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10275 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10277 $as_echo_n "checking
for $ac_word...
" >&6; }
10278 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10279 $as_echo_n "(cached
) " >&6
10281 if test -n "$GCC_FOR_TARGET"; then
10282 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10285 for as_dir in $PATH
10288 test -z "$as_dir" && as_dir=.
10289 for ac_exec_ext in '' $ac_executable_extensions; do
10290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10291 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10301 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10302 if test -n "$GCC_FOR_TARGET"; then
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10304 $as_echo "$GCC_FOR_TARGET" >&6; }
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10307 $as_echo "no
" >&6; }
10312 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10314 set dummy ${ncn_progname}; ac_word=$2
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10316 $as_echo_n "checking
for $ac_word...
" >&6; }
10317 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10318 $as_echo_n "(cached
) " >&6
10320 if test -n "$GCC_FOR_TARGET"; then
10321 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10324 for as_dir in $PATH
10327 test -z "$as_dir" && as_dir=.
10328 for ac_exec_ext in '' $ac_executable_extensions; do
10329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10330 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10340 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10341 if test -n "$GCC_FOR_TARGET"; then
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10343 $as_echo "$GCC_FOR_TARGET" >&6; }
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10346 $as_echo "no
" >&6; }
10351 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10355 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10356 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10358 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10363 if test -n "$GCJ_FOR_TARGET"; then
10364 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10365 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10366 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10369 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10370 for ncn_progname in gcj; do
10371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10372 set dummy ${ncn_progname}; ac_word=$2
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10374 $as_echo_n "checking
for $ac_word...
" >&6; }
10375 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10376 $as_echo_n "(cached
) " >&6
10378 if test -n "$GCJ_FOR_TARGET"; then
10379 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10382 for as_dir in $PATH
10385 test -z "$as_dir" && as_dir=.
10386 for ac_exec_ext in '' $ac_executable_extensions; do
10387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10388 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10398 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10399 if test -n "$GCJ_FOR_TARGET"; then
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10401 $as_echo "$GCJ_FOR_TARGET" >&6; }
10403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10404 $as_echo "no
" >&6; }
10411 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10412 for ncn_progname in gcj; do
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10414 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10415 if test -x $with_build_time_tools/${ncn_progname}; then
10416 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10418 $as_echo "yes" >&6; }
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10422 $as_echo "no
" >&6; }
10427 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10428 for ncn_progname in gcj; do
10429 if test -n "$ncn_target_tool_prefix"; then
10430 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10431 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10433 $as_echo_n "checking
for $ac_word...
" >&6; }
10434 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10435 $as_echo_n "(cached
) " >&6
10437 if test -n "$GCJ_FOR_TARGET"; then
10438 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10444 test -z "$as_dir" && as_dir=.
10445 for ac_exec_ext in '' $ac_executable_extensions; do
10446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10447 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10457 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10458 if test -n "$GCJ_FOR_TARGET"; then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10460 $as_echo "$GCJ_FOR_TARGET" >&6; }
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10463 $as_echo "no
" >&6; }
10468 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10470 set dummy ${ncn_progname}; ac_word=$2
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10472 $as_echo_n "checking
for $ac_word...
" >&6; }
10473 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10474 $as_echo_n "(cached
) " >&6
10476 if test -n "$GCJ_FOR_TARGET"; then
10477 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10480 for as_dir in $PATH
10483 test -z "$as_dir" && as_dir=.
10484 for ac_exec_ext in '' $ac_executable_extensions; do
10485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10486 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10496 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10497 if test -n "$GCJ_FOR_TARGET"; then
10498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10499 $as_echo "$GCJ_FOR_TARGET" >&6; }
10501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10502 $as_echo "no
" >&6; }
10507 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10511 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10513 if test $build = $target ; then
10514 GCJ_FOR_TARGET="$2"
10516 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10519 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10524 if test -n "$GFORTRAN_FOR_TARGET"; then
10525 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10526 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10527 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10530 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10531 for ncn_progname in gfortran; do
10532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10533 set dummy ${ncn_progname}; ac_word=$2
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10535 $as_echo_n "checking
for $ac_word...
" >&6; }
10536 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10537 $as_echo_n "(cached
) " >&6
10539 if test -n "$GFORTRAN_FOR_TARGET"; then
10540 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in $PATH
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10549 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10559 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10560 if test -n "$GFORTRAN_FOR_TARGET"; then
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10562 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10565 $as_echo "no
" >&6; }
10572 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10573 for ncn_progname in gfortran; do
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10575 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10576 if test -x $with_build_time_tools/${ncn_progname}; then
10577 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10579 $as_echo "yes" >&6; }
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10583 $as_echo "no
" >&6; }
10588 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10589 for ncn_progname in gfortran; do
10590 if test -n "$ncn_target_tool_prefix"; then
10591 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10592 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10594 $as_echo_n "checking
for $ac_word...
" >&6; }
10595 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10596 $as_echo_n "(cached
) " >&6
10598 if test -n "$GFORTRAN_FOR_TARGET"; then
10599 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10605 test -z "$as_dir" && as_dir=.
10606 for ac_exec_ext in '' $ac_executable_extensions; do
10607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10608 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10618 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10619 if test -n "$GFORTRAN_FOR_TARGET"; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10621 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10624 $as_echo "no
" >&6; }
10629 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10631 set dummy ${ncn_progname}; ac_word=$2
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10633 $as_echo_n "checking
for $ac_word...
" >&6; }
10634 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10635 $as_echo_n "(cached
) " >&6
10637 if test -n "$GFORTRAN_FOR_TARGET"; then
10638 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10641 for as_dir in $PATH
10644 test -z "$as_dir" && as_dir=.
10645 for ac_exec_ext in '' $ac_executable_extensions; do
10646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10647 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10657 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10658 if test -n "$GFORTRAN_FOR_TARGET"; then
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10660 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10663 $as_echo "no
" >&6; }
10668 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10672 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10674 if test $build = $target ; then
10675 GFORTRAN_FOR_TARGET="$2"
10677 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10680 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10685 if test -n "$GOC_FOR_TARGET"; then
10686 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10687 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10688 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10691 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10692 for ncn_progname in gccgo; do
10693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10694 set dummy ${ncn_progname}; ac_word=$2
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10696 $as_echo_n "checking
for $ac_word...
" >&6; }
10697 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10698 $as_echo_n "(cached
) " >&6
10700 if test -n "$GOC_FOR_TARGET"; then
10701 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10704 for as_dir in $PATH
10707 test -z "$as_dir" && as_dir=.
10708 for ac_exec_ext in '' $ac_executable_extensions; do
10709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10710 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10720 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10721 if test -n "$GOC_FOR_TARGET"; then
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10723 $as_echo "$GOC_FOR_TARGET" >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10726 $as_echo "no
" >&6; }
10733 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10734 for ncn_progname in gccgo; do
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10736 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10737 if test -x $with_build_time_tools/${ncn_progname}; then
10738 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10740 $as_echo "yes" >&6; }
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10744 $as_echo "no
" >&6; }
10749 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10750 for ncn_progname in gccgo; do
10751 if test -n "$ncn_target_tool_prefix"; then
10752 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10753 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10755 $as_echo_n "checking
for $ac_word...
" >&6; }
10756 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10757 $as_echo_n "(cached
) " >&6
10759 if test -n "$GOC_FOR_TARGET"; then
10760 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763 for as_dir in $PATH
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10779 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10780 if test -n "$GOC_FOR_TARGET"; then
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10782 $as_echo "$GOC_FOR_TARGET" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10785 $as_echo "no
" >&6; }
10790 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10792 set dummy ${ncn_progname}; ac_word=$2
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10794 $as_echo_n "checking
for $ac_word...
" >&6; }
10795 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10796 $as_echo_n "(cached
) " >&6
10798 if test -n "$GOC_FOR_TARGET"; then
10799 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10802 for as_dir in $PATH
10805 test -z "$as_dir" && as_dir=.
10806 for ac_exec_ext in '' $ac_executable_extensions; do
10807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10808 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10818 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10819 if test -n "$GOC_FOR_TARGET"; then
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10821 $as_echo "$GOC_FOR_TARGET" >&6; }
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10824 $as_echo "no
" >&6; }
10829 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10833 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10835 if test $build = $target ; then
10836 GOC_FOR_TARGET="$2"
10838 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10841 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10846 cat > conftest.c << \EOF
10851 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10852 have_gcc_for_target=yes
10854 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10855 have_gcc_for_target=no
10862 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10863 if test -n "$with_build_time_tools"; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10865 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10866 if test -x $with_build_time_tools/ar; then
10867 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10868 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10870 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10873 $as_echo "no
" >&6; }
10875 elif test $build != $host && test $have_gcc_for_target = yes; then
10876 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10877 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10878 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10881 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10882 # Extract the first word of "ar", so it can be a program name with args.
10883 set dummy ar; ac_word=$2
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10885 $as_echo_n "checking
for $ac_word...
" >&6; }
10886 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10887 $as_echo_n "(cached
) " >&6
10889 case $AR_FOR_TARGET in
10891 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10895 for as_dir in $gcc_cv_tool_dirs
10898 test -z "$as_dir" && as_dir=.
10899 for ac_exec_ext in '' $ac_executable_extensions; do
10900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10901 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10912 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10913 if test -n "$AR_FOR_TARGET"; then
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10915 $as_echo "$AR_FOR_TARGET" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10918 $as_echo "no
" >&6; }
10923 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10926 if test -n "$AR_FOR_TARGET"; then
10927 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10928 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10929 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10932 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10933 for ncn_progname in ar; do
10934 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10935 set dummy ${ncn_progname}; ac_word=$2
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10937 $as_echo_n "checking
for $ac_word...
" >&6; }
10938 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10939 $as_echo_n "(cached
) " >&6
10941 if test -n "$AR_FOR_TARGET"; then
10942 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10945 for as_dir in $PATH
10948 test -z "$as_dir" && as_dir=.
10949 for ac_exec_ext in '' $ac_executable_extensions; do
10950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10951 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10961 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10962 if test -n "$AR_FOR_TARGET"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10964 $as_echo "$AR_FOR_TARGET" >&6; }
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10967 $as_echo "no
" >&6; }
10974 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10975 for ncn_progname in ar; do
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10977 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10978 if test -x $with_build_time_tools/${ncn_progname}; then
10979 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10981 $as_echo "yes" >&6; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10985 $as_echo "no
" >&6; }
10990 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10991 for ncn_progname in ar; do
10992 if test -n "$ncn_target_tool_prefix"; then
10993 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10994 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10996 $as_echo_n "checking
for $ac_word...
" >&6; }
10997 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10998 $as_echo_n "(cached
) " >&6
11000 if test -n "$AR_FOR_TARGET"; then
11001 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11004 for as_dir in $PATH
11007 test -z "$as_dir" && as_dir=.
11008 for ac_exec_ext in '' $ac_executable_extensions; do
11009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11010 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11020 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11021 if test -n "$AR_FOR_TARGET"; then
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11023 $as_echo "$AR_FOR_TARGET" >&6; }
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11026 $as_echo "no
" >&6; }
11031 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11032 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11033 set dummy ${ncn_progname}; ac_word=$2
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11035 $as_echo_n "checking
for $ac_word...
" >&6; }
11036 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11037 $as_echo_n "(cached
) " >&6
11039 if test -n "$AR_FOR_TARGET"; then
11040 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11043 for as_dir in $PATH
11046 test -z "$as_dir" && as_dir=.
11047 for ac_exec_ext in '' $ac_executable_extensions; do
11048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11049 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11059 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11060 if test -n "$AR_FOR_TARGET"; then
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11062 $as_echo "$AR_FOR_TARGET" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11065 $as_echo "no
" >&6; }
11070 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11074 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11076 if test $build = $target ; then
11079 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11082 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11086 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11092 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11093 if test -n "$with_build_time_tools"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11095 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11096 if test -x $with_build_time_tools/as; then
11097 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11098 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11100 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11103 $as_echo "no
" >&6; }
11105 elif test $build != $host && test $have_gcc_for_target = yes; then
11106 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11107 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11108 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11111 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11112 # Extract the first word of "as
", so it can be a program name with args.
11113 set dummy as; ac_word=$2
11114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11115 $as_echo_n "checking
for $ac_word...
" >&6; }
11116 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11117 $as_echo_n "(cached
) " >&6
11119 case $AS_FOR_TARGET in
11121 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11125 for as_dir in $gcc_cv_tool_dirs
11128 test -z "$as_dir" && as_dir=.
11129 for ac_exec_ext in '' $ac_executable_extensions; do
11130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11131 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11142 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11143 if test -n "$AS_FOR_TARGET"; then
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11145 $as_echo "$AS_FOR_TARGET" >&6; }
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11148 $as_echo "no
" >&6; }
11153 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11156 if test -n "$AS_FOR_TARGET"; then
11157 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11158 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11159 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11162 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11163 for ncn_progname in as; do
11164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11165 set dummy ${ncn_progname}; ac_word=$2
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11167 $as_echo_n "checking
for $ac_word...
" >&6; }
11168 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11169 $as_echo_n "(cached
) " >&6
11171 if test -n "$AS_FOR_TARGET"; then
11172 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11175 for as_dir in $PATH
11178 test -z "$as_dir" && as_dir=.
11179 for ac_exec_ext in '' $ac_executable_extensions; do
11180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11181 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11191 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11192 if test -n "$AS_FOR_TARGET"; then
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11194 $as_echo "$AS_FOR_TARGET" >&6; }
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11197 $as_echo "no
" >&6; }
11204 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11205 for ncn_progname in as; do
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11207 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11208 if test -x $with_build_time_tools/${ncn_progname}; then
11209 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11211 $as_echo "yes" >&6; }
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11215 $as_echo "no
" >&6; }
11220 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11221 for ncn_progname in as; do
11222 if test -n "$ncn_target_tool_prefix"; then
11223 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11224 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11226 $as_echo_n "checking
for $ac_word...
" >&6; }
11227 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11228 $as_echo_n "(cached
) " >&6
11230 if test -n "$AS_FOR_TARGET"; then
11231 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234 for as_dir in $PATH
11237 test -z "$as_dir" && as_dir=.
11238 for ac_exec_ext in '' $ac_executable_extensions; do
11239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11240 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11250 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11251 if test -n "$AS_FOR_TARGET"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11253 $as_echo "$AS_FOR_TARGET" >&6; }
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11256 $as_echo "no
" >&6; }
11261 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11263 set dummy ${ncn_progname}; ac_word=$2
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11265 $as_echo_n "checking
for $ac_word...
" >&6; }
11266 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11267 $as_echo_n "(cached
) " >&6
11269 if test -n "$AS_FOR_TARGET"; then
11270 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11273 for as_dir in $PATH
11276 test -z "$as_dir" && as_dir=.
11277 for ac_exec_ext in '' $ac_executable_extensions; do
11278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11279 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11289 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11290 if test -n "$AS_FOR_TARGET"; then
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11292 $as_echo "$AS_FOR_TARGET" >&6; }
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11295 $as_echo "no
" >&6; }
11300 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11304 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11306 if test $build = $target ; then
11309 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11312 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11316 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11322 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11323 if test -n "$with_build_time_tools"; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11325 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11326 if test -x $with_build_time_tools/dlltool; then
11327 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11328 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11330 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11333 $as_echo "no
" >&6; }
11335 elif test $build != $host && test $have_gcc_for_target = yes; then
11336 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11337 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11338 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11341 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11342 # Extract the first word of "dlltool
", so it can be a program name with args.
11343 set dummy dlltool; ac_word=$2
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11345 $as_echo_n "checking
for $ac_word...
" >&6; }
11346 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11347 $as_echo_n "(cached
) " >&6
11349 case $DLLTOOL_FOR_TARGET in
11351 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11355 for as_dir in $gcc_cv_tool_dirs
11358 test -z "$as_dir" && as_dir=.
11359 for ac_exec_ext in '' $ac_executable_extensions; do
11360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11361 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11372 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11373 if test -n "$DLLTOOL_FOR_TARGET"; then
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11375 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11378 $as_echo "no
" >&6; }
11383 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11386 if test -n "$DLLTOOL_FOR_TARGET"; then
11387 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11388 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11389 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11392 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11393 for ncn_progname in dlltool; do
11394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11395 set dummy ${ncn_progname}; ac_word=$2
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11397 $as_echo_n "checking
for $ac_word...
" >&6; }
11398 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11399 $as_echo_n "(cached
) " >&6
11401 if test -n "$DLLTOOL_FOR_TARGET"; then
11402 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11405 for as_dir in $PATH
11408 test -z "$as_dir" && as_dir=.
11409 for ac_exec_ext in '' $ac_executable_extensions; do
11410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11411 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11421 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11422 if test -n "$DLLTOOL_FOR_TARGET"; then
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11424 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11427 $as_echo "no
" >&6; }
11434 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11435 for ncn_progname in dlltool; do
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11437 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11438 if test -x $with_build_time_tools/${ncn_progname}; then
11439 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11441 $as_echo "yes" >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11445 $as_echo "no
" >&6; }
11450 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11451 for ncn_progname in dlltool; do
11452 if test -n "$ncn_target_tool_prefix"; then
11453 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11454 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11456 $as_echo_n "checking
for $ac_word...
" >&6; }
11457 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11458 $as_echo_n "(cached
) " >&6
11460 if test -n "$DLLTOOL_FOR_TARGET"; then
11461 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11464 for as_dir in $PATH
11467 test -z "$as_dir" && as_dir=.
11468 for ac_exec_ext in '' $ac_executable_extensions; do
11469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11470 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11480 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11481 if test -n "$DLLTOOL_FOR_TARGET"; then
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11483 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11486 $as_echo "no
" >&6; }
11491 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11493 set dummy ${ncn_progname}; ac_word=$2
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11495 $as_echo_n "checking
for $ac_word...
" >&6; }
11496 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11497 $as_echo_n "(cached
) " >&6
11499 if test -n "$DLLTOOL_FOR_TARGET"; then
11500 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11503 for as_dir in $PATH
11506 test -z "$as_dir" && as_dir=.
11507 for ac_exec_ext in '' $ac_executable_extensions; do
11508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11509 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11519 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11520 if test -n "$DLLTOOL_FOR_TARGET"; then
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11522 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11525 $as_echo "no
" >&6; }
11530 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11534 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11536 if test $build = $target ; then
11537 DLLTOOL_FOR_TARGET="$2"
11539 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11542 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11546 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11552 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11553 if test -n "$with_build_time_tools"; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11555 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11556 if test -x $with_build_time_tools/ld; then
11557 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11558 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11560 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11563 $as_echo "no
" >&6; }
11565 elif test $build != $host && test $have_gcc_for_target = yes; then
11566 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11567 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11568 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11571 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11572 # Extract the first word of "ld
", so it can be a program name with args.
11573 set dummy ld; ac_word=$2
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11575 $as_echo_n "checking
for $ac_word...
" >&6; }
11576 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11577 $as_echo_n "(cached
) " >&6
11579 case $LD_FOR_TARGET in
11581 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $gcc_cv_tool_dirs
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11602 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11603 if test -n "$LD_FOR_TARGET"; then
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11605 $as_echo "$LD_FOR_TARGET" >&6; }
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11608 $as_echo "no
" >&6; }
11613 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11616 if test -n "$LD_FOR_TARGET"; then
11617 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11618 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11619 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11622 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11623 for ncn_progname in ld; do
11624 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11625 set dummy ${ncn_progname}; ac_word=$2
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11627 $as_echo_n "checking
for $ac_word...
" >&6; }
11628 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11629 $as_echo_n "(cached
) " >&6
11631 if test -n "$LD_FOR_TARGET"; then
11632 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11635 for as_dir in $PATH
11638 test -z "$as_dir" && as_dir=.
11639 for ac_exec_ext in '' $ac_executable_extensions; do
11640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11641 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11651 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11652 if test -n "$LD_FOR_TARGET"; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11654 $as_echo "$LD_FOR_TARGET" >&6; }
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11657 $as_echo "no
" >&6; }
11664 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11665 for ncn_progname in ld; do
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11667 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11668 if test -x $with_build_time_tools/${ncn_progname}; then
11669 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11671 $as_echo "yes" >&6; }
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11675 $as_echo "no
" >&6; }
11680 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11681 for ncn_progname in ld; do
11682 if test -n "$ncn_target_tool_prefix"; then
11683 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11684 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11686 $as_echo_n "checking
for $ac_word...
" >&6; }
11687 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11688 $as_echo_n "(cached
) " >&6
11690 if test -n "$LD_FOR_TARGET"; then
11691 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11694 for as_dir in $PATH
11697 test -z "$as_dir" && as_dir=.
11698 for ac_exec_ext in '' $ac_executable_extensions; do
11699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11700 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11710 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11711 if test -n "$LD_FOR_TARGET"; then
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11713 $as_echo "$LD_FOR_TARGET" >&6; }
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11716 $as_echo "no
" >&6; }
11721 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11723 set dummy ${ncn_progname}; ac_word=$2
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11725 $as_echo_n "checking
for $ac_word...
" >&6; }
11726 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11727 $as_echo_n "(cached
) " >&6
11729 if test -n "$LD_FOR_TARGET"; then
11730 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11733 for as_dir in $PATH
11736 test -z "$as_dir" && as_dir=.
11737 for ac_exec_ext in '' $ac_executable_extensions; do
11738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11739 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11749 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11750 if test -n "$LD_FOR_TARGET"; then
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11752 $as_echo "$LD_FOR_TARGET" >&6; }
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11755 $as_echo "no
" >&6; }
11760 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11764 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11766 if test $build = $target ; then
11769 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11772 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11776 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11782 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11783 if test -n "$with_build_time_tools"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11785 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11786 if test -x $with_build_time_tools/lipo; then
11787 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11788 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11790 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11793 $as_echo "no
" >&6; }
11795 elif test $build != $host && test $have_gcc_for_target = yes; then
11796 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11797 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11798 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11801 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11802 # Extract the first word of "lipo
", so it can be a program name with args.
11803 set dummy lipo; ac_word=$2
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11805 $as_echo_n "checking
for $ac_word...
" >&6; }
11806 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11807 $as_echo_n "(cached
) " >&6
11809 case $LIPO_FOR_TARGET in
11811 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $gcc_cv_tool_dirs
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11832 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11833 if test -n "$LIPO_FOR_TARGET"; then
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11835 $as_echo "$LIPO_FOR_TARGET" >&6; }
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11838 $as_echo "no
" >&6; }
11843 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11846 if test -n "$LIPO_FOR_TARGET"; then
11847 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11848 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11849 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11852 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11853 for ncn_progname in lipo; do
11854 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11855 set dummy ${ncn_progname}; ac_word=$2
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11857 $as_echo_n "checking
for $ac_word...
" >&6; }
11858 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11859 $as_echo_n "(cached
) " >&6
11861 if test -n "$LIPO_FOR_TARGET"; then
11862 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11865 for as_dir in $PATH
11868 test -z "$as_dir" && as_dir=.
11869 for ac_exec_ext in '' $ac_executable_extensions; do
11870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11871 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11872 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11881 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11882 if test -n "$LIPO_FOR_TARGET"; then
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11884 $as_echo "$LIPO_FOR_TARGET" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11887 $as_echo "no
" >&6; }
11894 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11895 for ncn_progname in lipo; do
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11897 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11898 if test -x $with_build_time_tools/${ncn_progname}; then
11899 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11901 $as_echo "yes" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11905 $as_echo "no
" >&6; }
11910 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11911 for ncn_progname in lipo; do
11912 if test -n "$ncn_target_tool_prefix"; then
11913 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11914 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11916 $as_echo_n "checking
for $ac_word...
" >&6; }
11917 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11918 $as_echo_n "(cached
) " >&6
11920 if test -n "$LIPO_FOR_TARGET"; then
11921 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11924 for as_dir in $PATH
11927 test -z "$as_dir" && as_dir=.
11928 for ac_exec_ext in '' $ac_executable_extensions; do
11929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11930 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11940 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11941 if test -n "$LIPO_FOR_TARGET"; then
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11943 $as_echo "$LIPO_FOR_TARGET" >&6; }
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11946 $as_echo "no
" >&6; }
11951 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11953 set dummy ${ncn_progname}; ac_word=$2
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11955 $as_echo_n "checking
for $ac_word...
" >&6; }
11956 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11957 $as_echo_n "(cached
) " >&6
11959 if test -n "$LIPO_FOR_TARGET"; then
11960 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11963 for as_dir in $PATH
11966 test -z "$as_dir" && as_dir=.
11967 for ac_exec_ext in '' $ac_executable_extensions; do
11968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11969 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11979 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11980 if test -n "$LIPO_FOR_TARGET"; then
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11982 $as_echo "$LIPO_FOR_TARGET" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11985 $as_echo "no
" >&6; }
11990 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11994 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11996 if test $build = $target ; then
11997 LIPO_FOR_TARGET="$2"
11999 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12002 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12006 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12012 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12013 if test -n "$with_build_time_tools"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12015 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12016 if test -x $with_build_time_tools/nm; then
12017 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12018 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12020 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12023 $as_echo "no
" >&6; }
12025 elif test $build != $host && test $have_gcc_for_target = yes; then
12026 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12027 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12028 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12031 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12032 # Extract the first word of "nm
", so it can be a program name with args.
12033 set dummy nm; ac_word=$2
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12035 $as_echo_n "checking
for $ac_word...
" >&6; }
12036 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12037 $as_echo_n "(cached
) " >&6
12039 case $NM_FOR_TARGET in
12041 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $gcc_cv_tool_dirs
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12062 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12063 if test -n "$NM_FOR_TARGET"; then
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12065 $as_echo "$NM_FOR_TARGET" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12068 $as_echo "no
" >&6; }
12073 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12076 if test -n "$NM_FOR_TARGET"; then
12077 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12078 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12079 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12082 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12083 for ncn_progname in nm; do
12084 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12085 set dummy ${ncn_progname}; ac_word=$2
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12087 $as_echo_n "checking
for $ac_word...
" >&6; }
12088 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12089 $as_echo_n "(cached
) " >&6
12091 if test -n "$NM_FOR_TARGET"; then
12092 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12095 for as_dir in $PATH
12098 test -z "$as_dir" && as_dir=.
12099 for ac_exec_ext in '' $ac_executable_extensions; do
12100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12101 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12102 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12111 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12112 if test -n "$NM_FOR_TARGET"; then
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12114 $as_echo "$NM_FOR_TARGET" >&6; }
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12117 $as_echo "no
" >&6; }
12124 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12125 for ncn_progname in nm; do
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12127 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12128 if test -x $with_build_time_tools/${ncn_progname}; then
12129 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12131 $as_echo "yes" >&6; }
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12135 $as_echo "no
" >&6; }
12140 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12141 for ncn_progname in nm; do
12142 if test -n "$ncn_target_tool_prefix"; then
12143 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12144 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12146 $as_echo_n "checking
for $ac_word...
" >&6; }
12147 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12148 $as_echo_n "(cached
) " >&6
12150 if test -n "$NM_FOR_TARGET"; then
12151 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12154 for as_dir in $PATH
12157 test -z "$as_dir" && as_dir=.
12158 for ac_exec_ext in '' $ac_executable_extensions; do
12159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12160 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12170 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12171 if test -n "$NM_FOR_TARGET"; then
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12173 $as_echo "$NM_FOR_TARGET" >&6; }
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12176 $as_echo "no
" >&6; }
12181 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12182 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12183 set dummy ${ncn_progname}; ac_word=$2
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12185 $as_echo_n "checking
for $ac_word...
" >&6; }
12186 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12187 $as_echo_n "(cached
) " >&6
12189 if test -n "$NM_FOR_TARGET"; then
12190 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12193 for as_dir in $PATH
12196 test -z "$as_dir" && as_dir=.
12197 for ac_exec_ext in '' $ac_executable_extensions; do
12198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12199 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12209 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12210 if test -n "$NM_FOR_TARGET"; then
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12212 $as_echo "$NM_FOR_TARGET" >&6; }
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12215 $as_echo "no
" >&6; }
12220 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12224 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12226 if test $build = $target ; then
12229 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12232 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12236 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12242 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12243 if test -n "$with_build_time_tools"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12245 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12246 if test -x $with_build_time_tools/objcopy; then
12247 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12248 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12250 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12253 $as_echo "no
" >&6; }
12255 elif test $build != $host && test $have_gcc_for_target = yes; then
12256 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12257 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12258 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12261 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12262 # Extract the first word of "objcopy
", so it can be a program name with args.
12263 set dummy objcopy; ac_word=$2
12264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12265 $as_echo_n "checking
for $ac_word...
" >&6; }
12266 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12267 $as_echo_n "(cached
) " >&6
12269 case $OBJCOPY_FOR_TARGET in
12271 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12275 for as_dir in $gcc_cv_tool_dirs
12278 test -z "$as_dir" && as_dir=.
12279 for ac_exec_ext in '' $ac_executable_extensions; do
12280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12281 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12292 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12293 if test -n "$OBJCOPY_FOR_TARGET"; then
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12295 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12298 $as_echo "no
" >&6; }
12303 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12306 if test -n "$OBJCOPY_FOR_TARGET"; then
12307 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12308 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12309 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12312 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12313 for ncn_progname in objcopy; do
12314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12315 set dummy ${ncn_progname}; ac_word=$2
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12317 $as_echo_n "checking
for $ac_word...
" >&6; }
12318 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12319 $as_echo_n "(cached
) " >&6
12321 if test -n "$OBJCOPY_FOR_TARGET"; then
12322 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12325 for as_dir in $PATH
12328 test -z "$as_dir" && as_dir=.
12329 for ac_exec_ext in '' $ac_executable_extensions; do
12330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12331 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12341 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12342 if test -n "$OBJCOPY_FOR_TARGET"; then
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12344 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12347 $as_echo "no
" >&6; }
12354 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12355 for ncn_progname in objcopy; do
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12357 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12358 if test -x $with_build_time_tools/${ncn_progname}; then
12359 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12361 $as_echo "yes" >&6; }
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12365 $as_echo "no
" >&6; }
12370 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12371 for ncn_progname in objcopy; do
12372 if test -n "$ncn_target_tool_prefix"; then
12373 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12374 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12376 $as_echo_n "checking
for $ac_word...
" >&6; }
12377 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12378 $as_echo_n "(cached
) " >&6
12380 if test -n "$OBJCOPY_FOR_TARGET"; then
12381 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384 for as_dir in $PATH
12387 test -z "$as_dir" && as_dir=.
12388 for ac_exec_ext in '' $ac_executable_extensions; do
12389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12390 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12391 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12400 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12401 if test -n "$OBJCOPY_FOR_TARGET"; then
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12403 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12406 $as_echo "no
" >&6; }
12411 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12412 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12413 set dummy ${ncn_progname}; ac_word=$2
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12415 $as_echo_n "checking
for $ac_word...
" >&6; }
12416 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12417 $as_echo_n "(cached
) " >&6
12419 if test -n "$OBJCOPY_FOR_TARGET"; then
12420 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12423 for as_dir in $PATH
12426 test -z "$as_dir" && as_dir=.
12427 for ac_exec_ext in '' $ac_executable_extensions; do
12428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12429 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12439 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12440 if test -n "$OBJCOPY_FOR_TARGET"; then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12442 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12445 $as_echo "no
" >&6; }
12450 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12454 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12456 if test $build = $target ; then
12457 OBJCOPY_FOR_TARGET="$2"
12459 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12462 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12466 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12472 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12473 if test -n "$with_build_time_tools"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12475 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12476 if test -x $with_build_time_tools/objdump; then
12477 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12478 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12480 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12483 $as_echo "no
" >&6; }
12485 elif test $build != $host && test $have_gcc_for_target = yes; then
12486 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12487 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12488 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12491 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12492 # Extract the first word of "objdump
", so it can be a program name with args.
12493 set dummy objdump; ac_word=$2
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12495 $as_echo_n "checking
for $ac_word...
" >&6; }
12496 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12497 $as_echo_n "(cached
) " >&6
12499 case $OBJDUMP_FOR_TARGET in
12501 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505 for as_dir in $gcc_cv_tool_dirs
12508 test -z "$as_dir" && as_dir=.
12509 for ac_exec_ext in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12522 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12523 if test -n "$OBJDUMP_FOR_TARGET"; then
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12525 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12528 $as_echo "no
" >&6; }
12533 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12536 if test -n "$OBJDUMP_FOR_TARGET"; then
12537 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12538 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12539 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12542 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12543 for ncn_progname in objdump; do
12544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12545 set dummy ${ncn_progname}; ac_word=$2
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12547 $as_echo_n "checking
for $ac_word...
" >&6; }
12548 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12549 $as_echo_n "(cached
) " >&6
12551 if test -n "$OBJDUMP_FOR_TARGET"; then
12552 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12555 for as_dir in $PATH
12558 test -z "$as_dir" && as_dir=.
12559 for ac_exec_ext in '' $ac_executable_extensions; do
12560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12561 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12571 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12572 if test -n "$OBJDUMP_FOR_TARGET"; then
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12574 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12577 $as_echo "no
" >&6; }
12584 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12585 for ncn_progname in objdump; do
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12587 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12588 if test -x $with_build_time_tools/${ncn_progname}; then
12589 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12591 $as_echo "yes" >&6; }
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12595 $as_echo "no
" >&6; }
12600 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12601 for ncn_progname in objdump; do
12602 if test -n "$ncn_target_tool_prefix"; then
12603 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12604 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12606 $as_echo_n "checking
for $ac_word...
" >&6; }
12607 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12608 $as_echo_n "(cached
) " >&6
12610 if test -n "$OBJDUMP_FOR_TARGET"; then
12611 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12614 for as_dir in $PATH
12617 test -z "$as_dir" && as_dir=.
12618 for ac_exec_ext in '' $ac_executable_extensions; do
12619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12620 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12621 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12630 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12631 if test -n "$OBJDUMP_FOR_TARGET"; then
12632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12633 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12636 $as_echo "no
" >&6; }
12641 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12642 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12643 set dummy ${ncn_progname}; ac_word=$2
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12645 $as_echo_n "checking
for $ac_word...
" >&6; }
12646 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12647 $as_echo_n "(cached
) " >&6
12649 if test -n "$OBJDUMP_FOR_TARGET"; then
12650 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12653 for as_dir in $PATH
12656 test -z "$as_dir" && as_dir=.
12657 for ac_exec_ext in '' $ac_executable_extensions; do
12658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12659 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12660 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12669 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12670 if test -n "$OBJDUMP_FOR_TARGET"; then
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12672 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12675 $as_echo "no
" >&6; }
12680 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12684 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12686 if test $build = $target ; then
12687 OBJDUMP_FOR_TARGET="$2"
12689 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12692 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12696 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12702 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12703 if test -n "$with_build_time_tools"; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12705 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12706 if test -x $with_build_time_tools/ranlib; then
12707 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12708 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12710 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12713 $as_echo "no
" >&6; }
12715 elif test $build != $host && test $have_gcc_for_target = yes; then
12716 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12717 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12718 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12721 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12722 # Extract the first word of "ranlib
", so it can be a program name with args.
12723 set dummy ranlib; ac_word=$2
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12725 $as_echo_n "checking
for $ac_word...
" >&6; }
12726 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12727 $as_echo_n "(cached
) " >&6
12729 case $RANLIB_FOR_TARGET in
12731 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $gcc_cv_tool_dirs
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12752 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12753 if test -n "$RANLIB_FOR_TARGET"; then
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12755 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12758 $as_echo "no
" >&6; }
12763 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12766 if test -n "$RANLIB_FOR_TARGET"; then
12767 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12768 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12769 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12772 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12773 for ncn_progname in ranlib; do
12774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12775 set dummy ${ncn_progname}; ac_word=$2
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12777 $as_echo_n "checking
for $ac_word...
" >&6; }
12778 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12779 $as_echo_n "(cached
) " >&6
12781 if test -n "$RANLIB_FOR_TARGET"; then
12782 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12785 for as_dir in $PATH
12788 test -z "$as_dir" && as_dir=.
12789 for ac_exec_ext in '' $ac_executable_extensions; do
12790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12791 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12801 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12802 if test -n "$RANLIB_FOR_TARGET"; then
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12804 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12807 $as_echo "no
" >&6; }
12814 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12815 for ncn_progname in ranlib; do
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12817 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12818 if test -x $with_build_time_tools/${ncn_progname}; then
12819 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12821 $as_echo "yes" >&6; }
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12825 $as_echo "no
" >&6; }
12830 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12831 for ncn_progname in ranlib; do
12832 if test -n "$ncn_target_tool_prefix"; then
12833 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12834 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12836 $as_echo_n "checking
for $ac_word...
" >&6; }
12837 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12838 $as_echo_n "(cached
) " >&6
12840 if test -n "$RANLIB_FOR_TARGET"; then
12841 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12844 for as_dir in $PATH
12847 test -z "$as_dir" && as_dir=.
12848 for ac_exec_ext in '' $ac_executable_extensions; do
12849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12850 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12860 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12861 if test -n "$RANLIB_FOR_TARGET"; then
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12863 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12866 $as_echo "no
" >&6; }
12871 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12873 set dummy ${ncn_progname}; ac_word=$2
12874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12875 $as_echo_n "checking
for $ac_word...
" >&6; }
12876 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12877 $as_echo_n "(cached
) " >&6
12879 if test -n "$RANLIB_FOR_TARGET"; then
12880 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883 for as_dir in $PATH
12886 test -z "$as_dir" && as_dir=.
12887 for ac_exec_ext in '' $ac_executable_extensions; do
12888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12889 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12899 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12900 if test -n "$RANLIB_FOR_TARGET"; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12902 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12905 $as_echo "no
" >&6; }
12910 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12914 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12916 if test $build = $target ; then
12917 RANLIB_FOR_TARGET="$2"
12919 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12922 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12926 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12932 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12933 if test -n "$with_build_time_tools"; then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12935 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12936 if test -x $with_build_time_tools/readelf; then
12937 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12938 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12940 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12943 $as_echo "no
" >&6; }
12945 elif test $build != $host && test $have_gcc_for_target = yes; then
12946 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12947 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12948 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12951 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12952 # Extract the first word of "readelf
", so it can be a program name with args.
12953 set dummy readelf; ac_word=$2
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12955 $as_echo_n "checking
for $ac_word...
" >&6; }
12956 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12957 $as_echo_n "(cached
) " >&6
12959 case $READELF_FOR_TARGET in
12961 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $gcc_cv_tool_dirs
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12982 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12983 if test -n "$READELF_FOR_TARGET"; then
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12985 $as_echo "$READELF_FOR_TARGET" >&6; }
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12988 $as_echo "no
" >&6; }
12993 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12996 if test -n "$READELF_FOR_TARGET"; then
12997 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12998 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12999 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13002 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13003 for ncn_progname in readelf; do
13004 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13005 set dummy ${ncn_progname}; ac_word=$2
13006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13007 $as_echo_n "checking
for $ac_word...
" >&6; }
13008 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13009 $as_echo_n "(cached
) " >&6
13011 if test -n "$READELF_FOR_TARGET"; then
13012 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13015 for as_dir in $PATH
13018 test -z "$as_dir" && as_dir=.
13019 for ac_exec_ext in '' $ac_executable_extensions; do
13020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13021 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13031 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13032 if test -n "$READELF_FOR_TARGET"; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13034 $as_echo "$READELF_FOR_TARGET" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13037 $as_echo "no
" >&6; }
13044 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13045 for ncn_progname in readelf; do
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13047 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13048 if test -x $with_build_time_tools/${ncn_progname}; then
13049 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13051 $as_echo "yes" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13055 $as_echo "no
" >&6; }
13060 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13061 for ncn_progname in readelf; do
13062 if test -n "$ncn_target_tool_prefix"; then
13063 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13064 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13066 $as_echo_n "checking
for $ac_word...
" >&6; }
13067 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13068 $as_echo_n "(cached
) " >&6
13070 if test -n "$READELF_FOR_TARGET"; then
13071 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13074 for as_dir in $PATH
13077 test -z "$as_dir" && as_dir=.
13078 for ac_exec_ext in '' $ac_executable_extensions; do
13079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13080 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13081 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13090 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13091 if test -n "$READELF_FOR_TARGET"; then
13092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13093 $as_echo "$READELF_FOR_TARGET" >&6; }
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13096 $as_echo "no
" >&6; }
13101 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13102 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13103 set dummy ${ncn_progname}; ac_word=$2
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13105 $as_echo_n "checking
for $ac_word...
" >&6; }
13106 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13107 $as_echo_n "(cached
) " >&6
13109 if test -n "$READELF_FOR_TARGET"; then
13110 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113 for as_dir in $PATH
13116 test -z "$as_dir" && as_dir=.
13117 for ac_exec_ext in '' $ac_executable_extensions; do
13118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13119 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13129 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13130 if test -n "$READELF_FOR_TARGET"; then
13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13132 $as_echo "$READELF_FOR_TARGET" >&6; }
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13135 $as_echo "no
" >&6; }
13140 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13144 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13146 if test $build = $target ; then
13147 READELF_FOR_TARGET="$2"
13149 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13152 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13156 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13162 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13163 if test -n "$with_build_time_tools"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13165 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13166 if test -x $with_build_time_tools/strip; then
13167 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13168 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13170 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13173 $as_echo "no
" >&6; }
13175 elif test $build != $host && test $have_gcc_for_target = yes; then
13176 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13177 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13178 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13181 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13182 # Extract the first word of "strip
", so it can be a program name with args.
13183 set dummy strip; ac_word=$2
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13185 $as_echo_n "checking
for $ac_word...
" >&6; }
13186 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13187 $as_echo_n "(cached
) " >&6
13189 case $STRIP_FOR_TARGET in
13191 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13195 for as_dir in $gcc_cv_tool_dirs
13198 test -z "$as_dir" && as_dir=.
13199 for ac_exec_ext in '' $ac_executable_extensions; do
13200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13201 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13212 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13213 if test -n "$STRIP_FOR_TARGET"; then
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13215 $as_echo "$STRIP_FOR_TARGET" >&6; }
13217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13218 $as_echo "no
" >&6; }
13223 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13226 if test -n "$STRIP_FOR_TARGET"; then
13227 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13228 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13229 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13232 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13233 for ncn_progname in strip; do
13234 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13235 set dummy ${ncn_progname}; ac_word=$2
13236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13237 $as_echo_n "checking
for $ac_word...
" >&6; }
13238 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13239 $as_echo_n "(cached
) " >&6
13241 if test -n "$STRIP_FOR_TARGET"; then
13242 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13245 for as_dir in $PATH
13248 test -z "$as_dir" && as_dir=.
13249 for ac_exec_ext in '' $ac_executable_extensions; do
13250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13251 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13261 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13262 if test -n "$STRIP_FOR_TARGET"; then
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13264 $as_echo "$STRIP_FOR_TARGET" >&6; }
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13267 $as_echo "no
" >&6; }
13274 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13275 for ncn_progname in strip; do
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13277 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13278 if test -x $with_build_time_tools/${ncn_progname}; then
13279 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13281 $as_echo "yes" >&6; }
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13285 $as_echo "no
" >&6; }
13290 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13291 for ncn_progname in strip; do
13292 if test -n "$ncn_target_tool_prefix"; then
13293 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13294 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13296 $as_echo_n "checking
for $ac_word...
" >&6; }
13297 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13298 $as_echo_n "(cached
) " >&6
13300 if test -n "$STRIP_FOR_TARGET"; then
13301 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13304 for as_dir in $PATH
13307 test -z "$as_dir" && as_dir=.
13308 for ac_exec_ext in '' $ac_executable_extensions; do
13309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13310 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13320 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13321 if test -n "$STRIP_FOR_TARGET"; then
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13323 $as_echo "$STRIP_FOR_TARGET" >&6; }
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13326 $as_echo "no
" >&6; }
13331 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13333 set dummy ${ncn_progname}; ac_word=$2
13334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13335 $as_echo_n "checking
for $ac_word...
" >&6; }
13336 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13337 $as_echo_n "(cached
) " >&6
13339 if test -n "$STRIP_FOR_TARGET"; then
13340 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13343 for as_dir in $PATH
13346 test -z "$as_dir" && as_dir=.
13347 for ac_exec_ext in '' $ac_executable_extensions; do
13348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13349 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13359 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13360 if test -n "$STRIP_FOR_TARGET"; then
13361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13362 $as_echo "$STRIP_FOR_TARGET" >&6; }
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13365 $as_echo "no
" >&6; }
13370 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13374 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13376 if test $build = $target ; then
13377 STRIP_FOR_TARGET="$2"
13379 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13382 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13386 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13392 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13393 if test -n "$with_build_time_tools"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13395 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13396 if test -x $with_build_time_tools/windres; then
13397 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13398 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13400 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13403 $as_echo "no
" >&6; }
13405 elif test $build != $host && test $have_gcc_for_target = yes; then
13406 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13407 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13408 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13411 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13412 # Extract the first word of "windres
", so it can be a program name with args.
13413 set dummy windres; ac_word=$2
13414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13415 $as_echo_n "checking
for $ac_word...
" >&6; }
13416 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13417 $as_echo_n "(cached
) " >&6
13419 case $WINDRES_FOR_TARGET in
13421 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13425 for as_dir in $gcc_cv_tool_dirs
13428 test -z "$as_dir" && as_dir=.
13429 for ac_exec_ext in '' $ac_executable_extensions; do
13430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13431 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13442 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13443 if test -n "$WINDRES_FOR_TARGET"; then
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13445 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13448 $as_echo "no
" >&6; }
13453 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13456 if test -n "$WINDRES_FOR_TARGET"; then
13457 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13458 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13459 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13462 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13463 for ncn_progname in windres; do
13464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13465 set dummy ${ncn_progname}; ac_word=$2
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13467 $as_echo_n "checking
for $ac_word...
" >&6; }
13468 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13469 $as_echo_n "(cached
) " >&6
13471 if test -n "$WINDRES_FOR_TARGET"; then
13472 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475 for as_dir in $PATH
13478 test -z "$as_dir" && as_dir=.
13479 for ac_exec_ext in '' $ac_executable_extensions; do
13480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13481 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13491 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13492 if test -n "$WINDRES_FOR_TARGET"; then
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13494 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13497 $as_echo "no
" >&6; }
13504 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13505 for ncn_progname in windres; do
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13507 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13508 if test -x $with_build_time_tools/${ncn_progname}; then
13509 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13511 $as_echo "yes" >&6; }
13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13515 $as_echo "no
" >&6; }
13520 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13521 for ncn_progname in windres; do
13522 if test -n "$ncn_target_tool_prefix"; then
13523 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13524 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13526 $as_echo_n "checking
for $ac_word...
" >&6; }
13527 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13528 $as_echo_n "(cached
) " >&6
13530 if test -n "$WINDRES_FOR_TARGET"; then
13531 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13534 for as_dir in $PATH
13537 test -z "$as_dir" && as_dir=.
13538 for ac_exec_ext in '' $ac_executable_extensions; do
13539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13540 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13550 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13551 if test -n "$WINDRES_FOR_TARGET"; then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13553 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13556 $as_echo "no
" >&6; }
13561 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13563 set dummy ${ncn_progname}; ac_word=$2
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13565 $as_echo_n "checking
for $ac_word...
" >&6; }
13566 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13567 $as_echo_n "(cached
) " >&6
13569 if test -n "$WINDRES_FOR_TARGET"; then
13570 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13573 for as_dir in $PATH
13576 test -z "$as_dir" && as_dir=.
13577 for ac_exec_ext in '' $ac_executable_extensions; do
13578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13579 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13589 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13590 if test -n "$WINDRES_FOR_TARGET"; then
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13592 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13595 $as_echo "no
" >&6; }
13600 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13604 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13606 if test $build = $target ; then
13607 WINDRES_FOR_TARGET="$2"
13609 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13612 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13616 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13622 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13623 if test -n "$with_build_time_tools"; then
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13625 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13626 if test -x $with_build_time_tools/windmc; then
13627 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13628 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13630 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13633 $as_echo "no
" >&6; }
13635 elif test $build != $host && test $have_gcc_for_target = yes; then
13636 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13637 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13638 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13641 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13642 # Extract the first word of "windmc
", so it can be a program name with args.
13643 set dummy windmc; ac_word=$2
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13645 $as_echo_n "checking
for $ac_word...
" >&6; }
13646 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13647 $as_echo_n "(cached
) " >&6
13649 case $WINDMC_FOR_TARGET in
13651 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13655 for as_dir in $gcc_cv_tool_dirs
13658 test -z "$as_dir" && as_dir=.
13659 for ac_exec_ext in '' $ac_executable_extensions; do
13660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13661 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13672 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13673 if test -n "$WINDMC_FOR_TARGET"; then
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13675 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13678 $as_echo "no
" >&6; }
13683 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13686 if test -n "$WINDMC_FOR_TARGET"; then
13687 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13688 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13689 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13692 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13693 for ncn_progname in windmc; do
13694 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13695 set dummy ${ncn_progname}; ac_word=$2
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13697 $as_echo_n "checking
for $ac_word...
" >&6; }
13698 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13699 $as_echo_n "(cached
) " >&6
13701 if test -n "$WINDMC_FOR_TARGET"; then
13702 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13705 for as_dir in $PATH
13708 test -z "$as_dir" && as_dir=.
13709 for ac_exec_ext in '' $ac_executable_extensions; do
13710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13711 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13712 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13721 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13722 if test -n "$WINDMC_FOR_TARGET"; then
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13724 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13727 $as_echo "no
" >&6; }
13734 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13735 for ncn_progname in windmc; do
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13737 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13738 if test -x $with_build_time_tools/${ncn_progname}; then
13739 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13741 $as_echo "yes" >&6; }
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13745 $as_echo "no
" >&6; }
13750 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13751 for ncn_progname in windmc; do
13752 if test -n "$ncn_target_tool_prefix"; then
13753 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13754 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13756 $as_echo_n "checking
for $ac_word...
" >&6; }
13757 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13758 $as_echo_n "(cached
) " >&6
13760 if test -n "$WINDMC_FOR_TARGET"; then
13761 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13764 for as_dir in $PATH
13767 test -z "$as_dir" && as_dir=.
13768 for ac_exec_ext in '' $ac_executable_extensions; do
13769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13770 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13771 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13780 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13781 if test -n "$WINDMC_FOR_TARGET"; then
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13783 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13786 $as_echo "no
" >&6; }
13791 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13792 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13793 set dummy ${ncn_progname}; ac_word=$2
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13795 $as_echo_n "checking
for $ac_word...
" >&6; }
13796 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13797 $as_echo_n "(cached
) " >&6
13799 if test -n "$WINDMC_FOR_TARGET"; then
13800 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13803 for as_dir in $PATH
13806 test -z "$as_dir" && as_dir=.
13807 for ac_exec_ext in '' $ac_executable_extensions; do
13808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13809 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13819 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13820 if test -n "$WINDMC_FOR_TARGET"; then
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13822 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13825 $as_echo "no
" >&6; }
13830 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13834 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13836 if test $build = $target ; then
13837 WINDMC_FOR_TARGET="$2"
13839 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13842 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13846 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13850 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13853 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13854 if test "x
${build}" != "x
${host}" ; then
13855 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13856 # We already found the complete path
13857 ac_dir=`dirname $AR_FOR_TARGET`
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13859 $as_echo "pre-installed
in $ac_dir" >&6; }
13861 # Canadian cross, just use what we found
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13863 $as_echo "pre-installed
" >&6; }
13867 case " ${configdirs} " in
13872 if test $ok = yes; then
13873 # An in-tree tool is available and we can use it
13874 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13876 $as_echo "just compiled
" >&6; }
13877 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13878 # We already found the complete path
13879 ac_dir=`dirname $AR_FOR_TARGET`
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13881 $as_echo "pre-installed
in $ac_dir" >&6; }
13882 elif test "x
$target" = "x
$host"; then
13883 # We can use an host tool
13884 AR_FOR_TARGET='$(AR)'
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13886 $as_echo "host tool
" >&6; }
13888 # We need a cross tool
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13890 $as_echo "pre-installed
" >&6; }
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13895 $as_echo_n "checking where to
find the target as...
" >&6; }
13896 if test "x
${build}" != "x
${host}" ; then
13897 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13898 # We already found the complete path
13899 ac_dir=`dirname $AS_FOR_TARGET`
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13901 $as_echo "pre-installed
in $ac_dir" >&6; }
13903 # Canadian cross, just use what we found
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13905 $as_echo "pre-installed
" >&6; }
13909 case " ${configdirs} " in
13914 if test $ok = yes; then
13915 # An in-tree tool is available and we can use it
13916 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13918 $as_echo "just compiled
" >&6; }
13919 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13920 # We already found the complete path
13921 ac_dir=`dirname $AS_FOR_TARGET`
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13923 $as_echo "pre-installed
in $ac_dir" >&6; }
13924 elif test "x
$target" = "x
$host"; then
13925 # We can use an host tool
13926 AS_FOR_TARGET='$(AS)'
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13928 $as_echo "host tool
" >&6; }
13930 # We need a cross tool
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13932 $as_echo "pre-installed
" >&6; }
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13937 $as_echo_n "checking where to
find the target cc...
" >&6; }
13938 if test "x
${build}" != "x
${host}" ; then
13939 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13940 # We already found the complete path
13941 ac_dir=`dirname $CC_FOR_TARGET`
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13943 $as_echo "pre-installed
in $ac_dir" >&6; }
13945 # Canadian cross, just use what we found
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13947 $as_echo "pre-installed
" >&6; }
13951 case " ${configdirs} " in
13956 if test $ok = yes; then
13957 # An in-tree tool is available and we can use it
13958 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13960 $as_echo "just compiled
" >&6; }
13961 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13962 # We already found the complete path
13963 ac_dir=`dirname $CC_FOR_TARGET`
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13965 $as_echo "pre-installed
in $ac_dir" >&6; }
13966 elif test "x
$target" = "x
$host"; then
13967 # We can use an host tool
13968 CC_FOR_TARGET='$(CC)'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13970 $as_echo "host tool
" >&6; }
13972 # We need a cross tool
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13974 $as_echo "pre-installed
" >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13979 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13980 if test "x
${build}" != "x
${host}" ; then
13981 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13982 # We already found the complete path
13983 ac_dir=`dirname $CXX_FOR_TARGET`
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13985 $as_echo "pre-installed
in $ac_dir" >&6; }
13987 # Canadian cross, just use what we found
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13989 $as_echo "pre-installed
" >&6; }
13993 case " ${configdirs} " in
13997 case ,${enable_languages}, in
14001 if test $ok = yes; then
14002 # An in-tree tool is available and we can use it
14003 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'
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14005 $as_echo "just compiled
" >&6; }
14006 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14007 # We already found the complete path
14008 ac_dir=`dirname $CXX_FOR_TARGET`
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14010 $as_echo "pre-installed
in $ac_dir" >&6; }
14011 elif test "x
$target" = "x
$host"; then
14012 # We can use an host tool
14013 CXX_FOR_TARGET='$(CXX)'
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14015 $as_echo "host tool
" >&6; }
14017 # We need a cross tool
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14019 $as_echo "pre-installed
" >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14024 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14025 if test "x
${build}" != "x
${host}" ; then
14026 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14027 # We already found the complete path
14028 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14030 $as_echo "pre-installed
in $ac_dir" >&6; }
14032 # Canadian cross, just use what we found
14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14034 $as_echo "pre-installed
" >&6; }
14038 case " ${configdirs} " in
14042 case ,${enable_languages}, in
14046 if test $ok = yes; then
14047 # An in-tree tool is available and we can use it
14048 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'
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14050 $as_echo "just compiled
" >&6; }
14051 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14052 # We already found the complete path
14053 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14055 $as_echo "pre-installed
in $ac_dir" >&6; }
14056 elif test "x
$target" = "x
$host"; then
14057 # We can use an host tool
14058 RAW_CXX_FOR_TARGET='$(CXX)'
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14060 $as_echo "host tool
" >&6; }
14062 # We need a cross tool
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14064 $as_echo "pre-installed
" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14069 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14070 if test "x
${build}" != "x
${host}" ; then
14071 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14072 # We already found the complete path
14073 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14075 $as_echo "pre-installed
in $ac_dir" >&6; }
14077 # Canadian cross, just use what we found
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14079 $as_echo "pre-installed
" >&6; }
14083 case " ${configdirs} " in
14088 if test $ok = yes; then
14089 # An in-tree tool is available and we can use it
14090 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14092 $as_echo "just compiled
" >&6; }
14093 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14094 # We already found the complete path
14095 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14097 $as_echo "pre-installed
in $ac_dir" >&6; }
14098 elif test "x
$target" = "x
$host"; then
14099 # We can use an host tool
14100 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14102 $as_echo "host tool
" >&6; }
14104 # We need a cross tool
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14106 $as_echo "pre-installed
" >&6; }
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14111 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14112 if test "x
${build}" != "x
${host}" ; then
14113 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14114 # We already found the complete path
14115 ac_dir=`dirname $GCC_FOR_TARGET`
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14117 $as_echo "pre-installed
in $ac_dir" >&6; }
14119 # Canadian cross, just use what we found
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14121 $as_echo "pre-installed
" >&6; }
14125 case " ${configdirs} " in
14130 if test $ok = yes; then
14131 # An in-tree tool is available and we can use it
14132 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14134 $as_echo "just compiled
" >&6; }
14135 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14136 # We already found the complete path
14137 ac_dir=`dirname $GCC_FOR_TARGET`
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14139 $as_echo "pre-installed
in $ac_dir" >&6; }
14140 elif test "x
$target" = "x
$host"; then
14141 # We can use an host tool
14142 GCC_FOR_TARGET='$()'
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14144 $as_echo "host tool
" >&6; }
14146 # We need a cross tool
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14148 $as_echo "pre-installed
" >&6; }
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14153 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14154 if test "x
${build}" != "x
${host}" ; then
14155 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14156 # We already found the complete path
14157 ac_dir=`dirname $GCJ_FOR_TARGET`
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14159 $as_echo "pre-installed
in $ac_dir" >&6; }
14161 # Canadian cross, just use what we found
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14163 $as_echo "pre-installed
" >&6; }
14167 case " ${configdirs} " in
14171 case ,${enable_languages}, in
14175 if test $ok = yes; then
14176 # An in-tree tool is available and we can use it
14177 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14179 $as_echo "just compiled
" >&6; }
14180 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14181 # We already found the complete path
14182 ac_dir=`dirname $GCJ_FOR_TARGET`
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14184 $as_echo "pre-installed
in $ac_dir" >&6; }
14185 elif test "x
$target" = "x
$host"; then
14186 # We can use an host tool
14187 GCJ_FOR_TARGET='$(GCJ)'
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14189 $as_echo "host tool
" >&6; }
14191 # We need a cross tool
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14193 $as_echo "pre-installed
" >&6; }
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14198 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14199 if test "x
${build}" != "x
${host}" ; then
14200 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14201 # We already found the complete path
14202 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14204 $as_echo "pre-installed
in $ac_dir" >&6; }
14206 # Canadian cross, just use what we found
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14208 $as_echo "pre-installed
" >&6; }
14212 case " ${configdirs} " in
14216 case ,${enable_languages}, in
14220 if test $ok = yes; then
14221 # An in-tree tool is available and we can use it
14222 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14224 $as_echo "just compiled
" >&6; }
14225 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14226 # We already found the complete path
14227 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14229 $as_echo "pre-installed
in $ac_dir" >&6; }
14230 elif test "x
$target" = "x
$host"; then
14231 # We can use an host tool
14232 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14234 $as_echo "host tool
" >&6; }
14236 # We need a cross tool
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14238 $as_echo "pre-installed
" >&6; }
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14243 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14244 if test "x
${build}" != "x
${host}" ; then
14245 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14246 # We already found the complete path
14247 ac_dir=`dirname $GOC_FOR_TARGET`
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14249 $as_echo "pre-installed
in $ac_dir" >&6; }
14251 # Canadian cross, just use what we found
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14253 $as_echo "pre-installed
" >&6; }
14257 case " ${configdirs} " in
14261 case ,${enable_languages}, in
14265 if test $ok = yes; then
14266 # An in-tree tool is available and we can use it
14267 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14269 $as_echo "just compiled
" >&6; }
14270 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14271 # We already found the complete path
14272 ac_dir=`dirname $GOC_FOR_TARGET`
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14274 $as_echo "pre-installed
in $ac_dir" >&6; }
14275 elif test "x
$target" = "x
$host"; then
14276 # We can use an host tool
14277 GOC_FOR_TARGET='$(GOC)'
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14279 $as_echo "host tool
" >&6; }
14281 # We need a cross tool
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14283 $as_echo "pre-installed
" >&6; }
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14288 $as_echo_n "checking where to
find the target ld...
" >&6; }
14289 if test "x
${build}" != "x
${host}" ; then
14290 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14291 # We already found the complete path
14292 ac_dir=`dirname $LD_FOR_TARGET`
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14294 $as_echo "pre-installed
in $ac_dir" >&6; }
14296 # Canadian cross, just use what we found
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14298 $as_echo "pre-installed
" >&6; }
14302 case " ${configdirs} " in
14307 if test $ok = yes; then
14308 # An in-tree tool is available and we can use it
14309 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14311 $as_echo "just compiled
" >&6; }
14312 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14313 # We already found the complete path
14314 ac_dir=`dirname $LD_FOR_TARGET`
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14316 $as_echo "pre-installed
in $ac_dir" >&6; }
14317 elif test "x
$target" = "x
$host"; then
14318 # We can use an host tool
14319 LD_FOR_TARGET='$(LD)'
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14321 $as_echo "host tool
" >&6; }
14323 # We need a cross tool
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14325 $as_echo "pre-installed
" >&6; }
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14330 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14331 if test "x
${build}" != "x
${host}" ; then
14332 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14333 # We already found the complete path
14334 ac_dir=`dirname $LIPO_FOR_TARGET`
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14336 $as_echo "pre-installed
in $ac_dir" >&6; }
14338 # Canadian cross, just use what we found
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14340 $as_echo "pre-installed
" >&6; }
14343 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14344 # We already found the complete path
14345 ac_dir=`dirname $LIPO_FOR_TARGET`
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14347 $as_echo "pre-installed
in $ac_dir" >&6; }
14348 elif test "x
$target" = "x
$host"; then
14349 # We can use an host tool
14350 LIPO_FOR_TARGET='$(LIPO)'
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14352 $as_echo "host tool
" >&6; }
14354 # We need a cross tool
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14356 $as_echo "pre-installed
" >&6; }
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14361 $as_echo_n "checking where to
find the target nm...
" >&6; }
14362 if test "x
${build}" != "x
${host}" ; then
14363 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14364 # We already found the complete path
14365 ac_dir=`dirname $NM_FOR_TARGET`
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14367 $as_echo "pre-installed
in $ac_dir" >&6; }
14369 # Canadian cross, just use what we found
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14371 $as_echo "pre-installed
" >&6; }
14375 case " ${configdirs} " in
14380 if test $ok = yes; then
14381 # An in-tree tool is available and we can use it
14382 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14384 $as_echo "just compiled
" >&6; }
14385 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14386 # We already found the complete path
14387 ac_dir=`dirname $NM_FOR_TARGET`
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14389 $as_echo "pre-installed
in $ac_dir" >&6; }
14390 elif test "x
$target" = "x
$host"; then
14391 # We can use an host tool
14392 NM_FOR_TARGET='$(NM)'
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14394 $as_echo "host tool
" >&6; }
14396 # We need a cross tool
14397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14398 $as_echo "pre-installed
" >&6; }
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14403 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14404 if test "x
${build}" != "x
${host}" ; then
14405 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14406 # We already found the complete path
14407 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14409 $as_echo "pre-installed
in $ac_dir" >&6; }
14411 # Canadian cross, just use what we found
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14413 $as_echo "pre-installed
" >&6; }
14417 case " ${configdirs} " in
14422 if test $ok = yes; then
14423 # An in-tree tool is available and we can use it
14424 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14426 $as_echo "just compiled
" >&6; }
14427 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14428 # We already found the complete path
14429 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14431 $as_echo "pre-installed
in $ac_dir" >&6; }
14432 elif test "x
$target" = "x
$host"; then
14433 # We can use an host tool
14434 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14436 $as_echo "host tool
" >&6; }
14438 # We need a cross tool
14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14440 $as_echo "pre-installed
" >&6; }
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14445 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14446 if test "x
${build}" != "x
${host}" ; then
14447 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14448 # We already found the complete path
14449 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14451 $as_echo "pre-installed
in $ac_dir" >&6; }
14453 # Canadian cross, just use what we found
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14455 $as_echo "pre-installed
" >&6; }
14459 case " ${configdirs} " in
14464 if test $ok = yes; then
14465 # An in-tree tool is available and we can use it
14466 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14468 $as_echo "just compiled
" >&6; }
14469 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14470 # We already found the complete path
14471 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14473 $as_echo "pre-installed
in $ac_dir" >&6; }
14474 elif test "x
$target" = "x
$host"; then
14475 # We can use an host tool
14476 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14478 $as_echo "host tool
" >&6; }
14480 # We need a cross tool
14481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14482 $as_echo "pre-installed
" >&6; }
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14487 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14488 if test "x
${build}" != "x
${host}" ; then
14489 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14490 # We already found the complete path
14491 ac_dir=`dirname $RANLIB_FOR_TARGET`
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14493 $as_echo "pre-installed
in $ac_dir" >&6; }
14495 # Canadian cross, just use what we found
14496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14497 $as_echo "pre-installed
" >&6; }
14501 case " ${configdirs} " in
14506 if test $ok = yes; then
14507 # An in-tree tool is available and we can use it
14508 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14510 $as_echo "just compiled
" >&6; }
14511 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14512 # We already found the complete path
14513 ac_dir=`dirname $RANLIB_FOR_TARGET`
14514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14515 $as_echo "pre-installed
in $ac_dir" >&6; }
14516 elif test "x
$target" = "x
$host"; then
14517 # We can use an host tool
14518 RANLIB_FOR_TARGET='$(RANLIB)'
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14520 $as_echo "host tool
" >&6; }
14522 # We need a cross tool
14523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14524 $as_echo "pre-installed
" >&6; }
14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14529 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14530 if test "x
${build}" != "x
${host}" ; then
14531 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14532 # We already found the complete path
14533 ac_dir=`dirname $READELF_FOR_TARGET`
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14535 $as_echo "pre-installed
in $ac_dir" >&6; }
14537 # Canadian cross, just use what we found
14538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14539 $as_echo "pre-installed
" >&6; }
14543 case " ${configdirs} " in
14548 if test $ok = yes; then
14549 # An in-tree tool is available and we can use it
14550 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14552 $as_echo "just compiled
" >&6; }
14553 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14554 # We already found the complete path
14555 ac_dir=`dirname $READELF_FOR_TARGET`
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14557 $as_echo "pre-installed
in $ac_dir" >&6; }
14558 elif test "x
$target" = "x
$host"; then
14559 # We can use an host tool
14560 READELF_FOR_TARGET='$(READELF)'
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14562 $as_echo "host tool
" >&6; }
14564 # We need a cross tool
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14566 $as_echo "pre-installed
" >&6; }
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14571 $as_echo_n "checking where to
find the target strip...
" >&6; }
14572 if test "x
${build}" != "x
${host}" ; then
14573 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14574 # We already found the complete path
14575 ac_dir=`dirname $STRIP_FOR_TARGET`
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14577 $as_echo "pre-installed
in $ac_dir" >&6; }
14579 # Canadian cross, just use what we found
14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14581 $as_echo "pre-installed
" >&6; }
14585 case " ${configdirs} " in
14590 if test $ok = yes; then
14591 # An in-tree tool is available and we can use it
14592 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14594 $as_echo "just compiled
" >&6; }
14595 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14596 # We already found the complete path
14597 ac_dir=`dirname $STRIP_FOR_TARGET`
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14599 $as_echo "pre-installed
in $ac_dir" >&6; }
14600 elif test "x
$target" = "x
$host"; then
14601 # We can use an host tool
14602 STRIP_FOR_TARGET='$(STRIP)'
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14604 $as_echo "host tool
" >&6; }
14606 # We need a cross tool
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14608 $as_echo "pre-installed
" >&6; }
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14613 $as_echo_n "checking where to
find the target windres...
" >&6; }
14614 if test "x
${build}" != "x
${host}" ; then
14615 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14616 # We already found the complete path
14617 ac_dir=`dirname $WINDRES_FOR_TARGET`
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14619 $as_echo "pre-installed
in $ac_dir" >&6; }
14621 # Canadian cross, just use what we found
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14623 $as_echo "pre-installed
" >&6; }
14627 case " ${configdirs} " in
14632 if test $ok = yes; then
14633 # An in-tree tool is available and we can use it
14634 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14636 $as_echo "just compiled
" >&6; }
14637 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14638 # We already found the complete path
14639 ac_dir=`dirname $WINDRES_FOR_TARGET`
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14641 $as_echo "pre-installed
in $ac_dir" >&6; }
14642 elif test "x
$target" = "x
$host"; then
14643 # We can use an host tool
14644 WINDRES_FOR_TARGET='$(WINDRES)'
14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14646 $as_echo "host tool
" >&6; }
14648 # We need a cross tool
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14650 $as_echo "pre-installed
" >&6; }
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14655 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14656 if test "x
${build}" != "x
${host}" ; then
14657 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14658 # We already found the complete path
14659 ac_dir=`dirname $WINDMC_FOR_TARGET`
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14661 $as_echo "pre-installed
in $ac_dir" >&6; }
14663 # Canadian cross, just use what we found
14664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14665 $as_echo "pre-installed
" >&6; }
14669 case " ${configdirs} " in
14674 if test $ok = yes; then
14675 # An in-tree tool is available and we can use it
14676 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14678 $as_echo "just compiled
" >&6; }
14679 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14680 # We already found the complete path
14681 ac_dir=`dirname $WINDMC_FOR_TARGET`
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14683 $as_echo "pre-installed
in $ac_dir" >&6; }
14684 elif test "x
$target" = "x
$host"; then
14685 # We can use an host tool
14686 WINDMC_FOR_TARGET='$(WINDMC)'
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14688 $as_echo "host tool
" >&6; }
14690 # We need a cross tool
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14692 $as_echo "pre-installed
" >&6; }
14700 # Certain tools may need extra flags.
14701 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14702 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14703 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14705 # When building target libraries, except in a Canadian cross, we use
14706 # the same toolchain as the compiler we just built.
14707 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14708 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14709 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14710 if test $host = $build; then
14711 case " $configdirs " in
14713 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14714 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14715 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14725 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14726 # Check whether --enable-maintainer-mode was given.
14727 if test "${enable_maintainer_mode+set}" = set; then :
14728 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14730 USE_MAINTAINER_MODE=no
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14734 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14737 if test "$USE_MAINTAINER_MODE" = yes; then
14738 MAINTAINER_MODE_TRUE=
14739 MAINTAINER_MODE_FALSE='#'
14741 MAINTAINER_MODE_TRUE='#'
14742 MAINTAINER_MODE_FALSE=
14744 MAINT=$MAINTAINER_MODE_TRUE
14746 # ---------------------
14747 # GCC bootstrap support
14748 # ---------------------
14750 # Stage specific cflags for build.
14755 yes) stage1_cflags="-g -Wa,-J" ;;
14756 *) stage1_cflags="-g -J" ;;
14759 stage1_cxxflags='$(STAGE1_CFLAGS)'
14760 if test "$GCC" = yes; then
14761 # Build stage 1 in C++98 mode to ensure that a C++98 compiler can still
14762 # start the bootstrap.
14763 stage1_cxxflags="$stage1_cxxflags -std=c
++98"
14769 # Enable --enable-checking in stage1 of the compiler.
14770 # Check whether --enable-stage1-checking was given.
14771 if test "${enable_stage1_checking+set}" = set; then :
14772 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14774 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14775 # For --disable-checking or implicit --enable-checking=release, avoid
14776 # setting --enable-checking=gc in the default stage1 checking for LTO
14777 # bootstraps. See PR62077.
14778 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types
14779 case $BUILD_CONFIG in
14781 if test "x
$enable_checking" = x && \
14782 test -d ${srcdir}/gcc && \
14783 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14784 stage1_checking=--enable-checking=yes,types
14786 *) stage1_checking=--enable-checking=yes,types;;
14789 stage1_checking=--enable-checking=$enable_checking,types
14795 # Enable -Werror in bootstrap stage2 and later.
14796 # Check whether --enable-werror was given.
14797 if test "${enable_werror+set}" = set; then :
14798 enableval=$enable_werror;
14800 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14807 case ${enable_werror} in
14808 yes) stage2_werror_flag="--enable-werror-always" ;;
14809 *) stage2_werror_flag="" ;;
14813 # Enable --enable-host-shared.
14814 # Check whether --enable-host-shared was given.
14815 if test "${enable_host_shared+set}" = set; then :
14816 enableval=$enable_host_shared; host_shared=$enableval
14823 # PR jit/64780: Require the user to explicitly specify
14824 # --enable-host-shared if the jit is enabled, hinting
14825 # that they might want to do a separate configure/build of
14826 # the jit, to avoid users from slowing down the rest of the
14827 # compiler by enabling the jit.
14828 if test ${host_shared} = "no
" ; then
14829 case "${enable_languages}" in
14832 Enabling language
\"jit
\" requires
--enable-host-shared.
14834 --enable-host-shared typically slows the rest of the compiler down by
14835 a few
%, so you must explicitly
enable it.
14837 If you want to build both the jit and the regular compiler
, it is often
14838 best to
do this via two separate configure
/builds
, in separate
14839 directories
, to avoid imposing the performance cost of
14840 --enable-host-shared on the regular compiler.
" "$LINENO" 5
14847 # Specify what files to not compare during bootstrap.
14849 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14851 hppa*64*-*-hpux*) ;;
14852 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14853 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14857 ac_config_files="$ac_config_files Makefile
"
14859 cat >confcache <<\_ACEOF
14860 # This file is a shell script that caches the results of configure
14861 # tests run on this system so they can be shared between configure
14862 # scripts and configure runs, see configure's option --config-cache.
14863 # It is not useful on other systems. If it contains results you don't
14864 # want to keep, you may remove or edit it.
14866 # config.status only pays attention to the cache file if you give it
14867 # the --recheck option to rerun configure.
14869 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14870 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14871 # following values.
14875 # The following way of writing the cache mishandles newlines in values,
14876 # but we know of no workaround that is simple, portable, and efficient.
14877 # So, we kill variables containing newlines.
14878 # Ultrix sh set writes to stderr and can't be redirected directly,
14879 # and sets the high bit in the cache file unless we assign to the vars.
14881 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14882 eval ac_val=\$$ac_var
14886 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14887 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14890 _ | IFS | as_nl) ;; #(
14891 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14892 *) { eval $ac_var=; unset $ac_var;} ;;
14898 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14899 *${as_nl}ac_space=\ *)
14900 # `set' does not quote correctly, so add quotes: double-quote
14901 # substitution turns \\\\ into \\, and sed turns \\ into \.
14904 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14907 # `set' quotes correctly as required by POSIX, so do not add quotes.
14908 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14917 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14919 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14921 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14922 if test -w "$cache_file"; then
14923 test "x
$cache_file" != "x
/dev
/null
" &&
14924 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14925 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14926 cat confcache >$cache_file
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14929 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14934 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14935 # Let make expand exec_prefix.
14936 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14938 # Transform confdefs.h into DEFS.
14939 # Protect against shell expansion while executing Makefile rules.
14940 # Protect against Makefile macro expansion.
14942 # If the first sed substitution is executed (which looks for macros that
14943 # take arguments), then branch to the quote section. Otherwise,
14944 # look for a macro that doesn't take arguments.
14954 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14956 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14960 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14973 DEFS=`sed -n "$ac_script" confdefs.h`
14978 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14979 # 1. Remove the extension, and $U if already installed.
14980 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14981 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14982 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14983 # will be set to the directory where LIBOBJS objects are built.
14984 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14985 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14987 LIBOBJS=$ac_libobjs
14989 LTLIBOBJS=$ac_ltlibobjs
14993 : ${CONFIG_STATUS=./config.status}
14995 ac_clean_files_save=$ac_clean_files
14996 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14998 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15000 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15002 # Generated by $as_me.
15003 # Run this file to recreate the current configuration.
15004 # Compiler output produced by configure, useful for debugging
15005 # configure, is in config.log if it exists.
15008 ac_cs_recheck=false
15011 SHELL=\${CONFIG_SHELL-$SHELL}
15014 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15015 ## -------------------- ##
15016 ## M4sh Initialization. ##
15017 ## -------------------- ##
15019 # Be more Bourne compatible
15020 DUALCASE=1; export DUALCASE # for MKS sh
15021 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15024 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15025 # is contrary to our usage. Disable this feature.
15026 alias -g '${1+"$@"}'='"$@"'
15027 setopt NO_GLOB_SUBST
15029 case `(set -o) 2>/dev/null` in #(
15041 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15042 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15043 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15044 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15045 # Prefer a ksh shell builtin over an external printf program on Solaris,
15046 # but without wasting forks for bash or zsh.
15047 if test -z "$BASH_VERSION$ZSH_VERSION" \
15048 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15049 as_echo
='print -r --'
15050 as_echo_n
='print -rn --'
15051 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15052 as_echo
='printf %s\n'
15053 as_echo_n
='printf %s'
15055 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15056 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15057 as_echo_n
='/usr/ucb/echo -n'
15059 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15060 as_echo_n_body
='eval
15064 expr "X$arg" : "X\\(.*\\)$as_nl";
15065 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15067 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15069 export as_echo_n_body
15070 as_echo_n
='sh -c $as_echo_n_body as_echo'
15072 export as_echo_body
15073 as_echo
='sh -c $as_echo_body as_echo'
15076 # The user is always right.
15077 if test "${PATH_SEPARATOR+set}" != set; then
15079 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15080 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15087 # We need space, tab and new line, in precisely that order. Quoting is
15088 # there to prevent editors from complaining about space-tab.
15089 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15090 # splitting by setting IFS to empty value.)
15093 # Find who we are. Look in the path if we contain no directory separator.
15095 *[\\/]* ) as_myself
=$0 ;;
15096 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15097 for as_dir
in $PATH
15100 test -z "$as_dir" && as_dir
=.
15101 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15107 # We did not find ourselves, most probably we were run as `sh COMMAND'
15108 # in which case we are not to be found in the path.
15109 if test "x$as_myself" = x
; then
15112 if test ! -f "$as_myself"; then
15113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15117 # Unset variables that we do not need and which cause bugs (e.g. in
15118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15119 # suppresses any "Segmentation fault" message there. '((' could
15120 # trigger a bug in pdksh 5.2.14.
15121 for as_var
in BASH_ENV ENV MAIL MAILPATH
15122 do eval test x\
${$as_var+set} = xset \
15123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15139 # as_fn_error ERROR [LINENO LOG_FD]
15140 # ---------------------------------
15141 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15142 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15143 # script with status $?, using 1 if that was 0.
15146 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15148 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15149 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15151 $as_echo "$as_me: error: $1" >&2
15152 as_fn_exit
$as_status
15156 # as_fn_set_status STATUS
15157 # -----------------------
15158 # Set $? to STATUS, without forking.
15159 as_fn_set_status
()
15162 } # as_fn_set_status
15164 # as_fn_exit STATUS
15165 # -----------------
15166 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15170 as_fn_set_status
$1
15176 # Portably unset VAR.
15179 { eval $1=; unset $1;}
15181 as_unset
=as_fn_unset
15182 # as_fn_append VAR VALUE
15183 # ----------------------
15184 # Append the text in VALUE to the end of the definition contained in VAR. Take
15185 # advantage of any shell optimizations that allow amortized linear growth over
15186 # repeated appends, instead of the typical quadratic growth present in naive
15188 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15189 eval 'as_fn_append ()
15200 # as_fn_arith ARG...
15201 # ------------------
15202 # Perform arithmetic evaluation on the ARGs, and store the result in the
15203 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15204 # must be portable across $(()) and expr.
15205 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15206 eval 'as_fn_arith ()
15213 as_val
=`expr "$@" || test $? -eq 1`
15218 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15219 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15225 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15226 as_basename
=basename
15231 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15237 as_me
=`$as_basename -- "$0" ||
15238 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15239 X"$0" : 'X\(//\)$' \| \
15240 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15242 sed '/^.*\/\([^/][^/]*\)\/*$/{
15256 # Avoid depending upon Character Ranges.
15257 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15258 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15259 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15260 as_cr_digits
='0123456789'
15261 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15263 ECHO_C
= ECHO_N
= ECHO_T
=
15264 case `echo -n x` in #(((((
15266 case `echo 'xy\c'` in
15267 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15269 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15276 rm -f conf$$ conf$$.exe conf$$.
file
15277 if test -d conf$$.dir
; then
15278 rm -f conf$$.dir
/conf$$.
file
15281 mkdir conf$$.dir
2>/dev
/null
15283 if (echo >conf$$.
file) 2>/dev
/null
; then
15284 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15286 # ... but there are two gotchas:
15287 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15288 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15289 # In both cases, we have to default to `cp -p'.
15290 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15292 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15300 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15301 rmdir conf$$.dir
2>/dev
/null
15306 # Create "$as_dir" as a directory, including parents if necessary.
15311 -*) as_dir
=.
/$as_dir;;
15313 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15317 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15318 *) as_qdir
=$as_dir;;
15320 as_dirs
="'$as_qdir' $as_dirs"
15321 as_dir
=`$as_dirname -- "$as_dir" ||
15322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15323 X"$as_dir" : 'X\(//\)[^/]' \| \
15324 X"$as_dir" : 'X\(//\)$' \| \
15325 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15326 $as_echo X"$as_dir" |
15327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15331 /^X\(\/\/\)[^/].*/{
15344 test -d "$as_dir" && break
15346 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15347 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15351 if mkdir
-p .
2>/dev
/null
; then
15352 as_mkdir_p
='mkdir -p "$as_dir"'
15354 test -d .
/-p && rmdir .
/-p
15358 if test -x / >/dev
/null
2>&1; then
15359 as_test_x
='test -x'
15361 if ls -dL / >/dev
/null
2>&1; then
15368 if test -d "$1"; then
15374 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15375 ???[sx]*):;;*)false;;esac;fi
15379 as_executable_p
=$as_test_x
15381 # Sed expression to map a string onto a valid CPP name.
15382 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15384 # Sed expression to map a string onto a valid variable name.
15385 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15389 ## ----------------------------------- ##
15390 ## Main body of $CONFIG_STATUS script. ##
15391 ## ----------------------------------- ##
15393 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15396 # Save the log message, to keep $0 and so on meaningful, and to
15397 # report actual input values of CONFIG_FILES etc. instead of their
15398 # values after options handling.
15400 This file was extended by $as_me, which was
15401 generated by GNU Autoconf 2.64. Invocation command line was
15403 CONFIG_FILES = $CONFIG_FILES
15404 CONFIG_HEADERS = $CONFIG_HEADERS
15405 CONFIG_LINKS = $CONFIG_LINKS
15406 CONFIG_COMMANDS = $CONFIG_COMMANDS
15409 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15414 case $ac_config_files in *"
15415 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15420 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15421 # Files that config.status was made for.
15422 config_files="$ac_config_files"
15426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15428 \`$as_me' instantiates files and other configuration actions
15429 from templates according to the current configuration. Unless the files
15430 and actions are specified as TAGs, all are instantiated by default.
15432 Usage: $0 [OPTION]... [TAG]...
15434 -h, --help print this help, then exit
15435 -V, --version print version number and configuration settings, then exit
15436 -q, --quiet, --silent
15437 do not print progress messages
15438 -d, --debug don't remove temporary files
15439 --recheck update $as_me by reconfiguring in the same conditions
15440 --file=FILE[:TEMPLATE]
15441 instantiate the configuration file FILE
15443 Configuration files:
15446 Report bugs to the package provider."
15449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15452 configured by $0, generated by GNU Autoconf 2.64,
15453 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15455 Copyright (C) 2009 Free Software Foundation, Inc.
15456 This config.status script is free software; the Free Software Foundation
15457 gives unlimited permission to copy, distribute and modify it."
15463 test -n "\$AWK" || AWK=awk
15466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15467 # The default lists apply if the user does not specify any file.
15473 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15474 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15485 # Handling of the options.
15486 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15488 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15489 $as_echo "$ac_cs_version"; exit ;;
15490 --debug |
--debu |
--deb |
--de |
--d |
-d )
15492 --file |
--fil |
--fi |
--f )
15495 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15497 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15498 ac_need_defaults
=false
;;
15499 --he |
--h |
--help |
--hel |
-h )
15500 $as_echo "$ac_cs_usage"; exit ;;
15501 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15502 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15505 # This is an error.
15506 -*) as_fn_error
"unrecognized option: \`$1'
15507 Try \`$0 --help' for more information." ;;
15509 *) as_fn_append ac_config_targets
" $1"
15510 ac_need_defaults
=false
;;
15516 ac_configure_extra_args
=
15518 if $ac_cs_silent; then
15520 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15525 if \$ac_cs_recheck; then
15526 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15528 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15529 CONFIG_SHELL='$SHELL'
15530 export CONFIG_SHELL
15535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15539 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15540 ## Running $as_me. ##
15546 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15550 extrasub_build="$extrasub_build"
15551 extrasub_host="$extrasub_host"
15552 extrasub_target="$extrasub_target"
15556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15558 # Handling of arguments.
15559 for ac_config_target
in $ac_config_targets
15561 case $ac_config_target in
15562 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15564 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15569 # If the user did not use the arguments to specify the items to instantiate,
15570 # then the envvar interface is used. Set only those that are not.
15571 # We use the long form for the default assignment because of an extremely
15572 # bizarre bug on SunOS 4.1.3.
15573 if $ac_need_defaults; then
15574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15577 # Have a temporary directory for convenience. Make it in the build tree
15578 # simply because there is no reason against having it here, and in addition,
15579 # creating and moving files from /tmp can sometimes cause problems.
15580 # Hook for its removal unless debugging.
15581 # Note that there is a small window in which the directory will not be cleaned:
15582 # after its creation but before its name has been assigned to `$tmp'.
15586 trap 'exit_status=$?
15587 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15589 trap 'as_fn_exit 1' 1 2 13 15
15591 # Create a (secure) tmp directory for tmp files.
15594 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15595 test -n "$tmp" && test -d "$tmp"
15598 tmp
=.
/conf$$
-$RANDOM
15599 (umask 077 && mkdir
"$tmp")
15600 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15602 # Set up the scripts for CONFIG_FILES section.
15603 # No need to generate them if there are no CONFIG_FILES.
15604 # This happens for instance with `./config.status config.h'.
15605 if test -n "$CONFIG_FILES"; then
15607 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15608 ac_cs_awk_getline
=:
15609 ac_cs_awk_pipe_init
=
15610 ac_cs_awk_read_file
='
15611 while ((getline aline < (F[key])) > 0)
15614 ac_cs_awk_pipe_fini
=
15616 ac_cs_awk_getline
=false
15617 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15618 ac_cs_awk_read_file
='
15620 print "cat " F[key] " &&"
15621 '$ac_cs_awk_pipe_init
15622 # The final `:' finishes the AND list.
15623 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15625 ac_cr
=`echo X | tr X '\015'`
15626 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15627 # But we know of no other shell where ac_cr would be empty at this
15628 # point, so we can use a bashism as a fallback.
15629 if test "x$ac_cr" = x
; then
15630 eval ac_cr
=\$
\'\\r
\'
15632 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15633 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15636 ac_cs_awk_cr
=$ac_cr
15639 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15642 # Create commands to substitute file output variables.
15644 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15645 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15646 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15649 } >conf$
$files.sh
&&
15650 . .
/conf$
$files.sh ||
15651 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15652 rm -f conf$
$files.sh
15655 echo "cat >conf$$subs.awk <<_ACEOF" &&
15656 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15658 } >conf$$subs.sh ||
15659 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15660 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15662 for ac_last_try in false false false false false :; do
15663 . ./conf$$subs.sh ||
15664 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15666 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15667 if test $ac_delim_n = $ac_delim_num; then
15669 elif $ac_last_try; then
15670 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15672 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15675 rm -f conf$$subs.sh
15677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15678 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15682 s/^/S["/; s
/!.
*/"]=/
15692 s/\(.\{148\}\).*/\1/
15694 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15699 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15706 s/\(.\{148\}\).*/\1/
15708 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15712 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15717 ' <conf$$subs.awk | sed '
15722 ' >>$CONFIG_STATUS || ac_write_fail=1
15723 rm -f conf$$subs.awk
15724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15726 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15727 for (key in S) S_is_set[key] = 1
15729 \$ac_cs_awk_pipe_init
15733 nfields = split(line, field, "@
")
15735 len = length(field[1])
15736 for (i = 2; i < nfields; i++) {
15738 keylen = length(key)
15739 if (S_is_set[key]) {
15741 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15742 len += length(value) + length(field[++i])
15747 if (nfields == 3 && !substed) {
15749 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15750 \$ac_cs_awk_read_file
15756 \$ac_cs_awk_pipe_fini
15759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15760 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15761 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15764 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15765 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15768 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15769 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15770 # trailing colons and then remove the whole line if VPATH becomes empty
15771 # (actually we leave an empty line to preserve line numbers).
15772 if test "x
$srcdir" = x.; then
15773 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15774 s/:*\$(srcdir):*/:/
15775 s/:*\${srcdir}:*/:/
15777 s/^\([^=]*=[ ]*\):*/\1/
15783 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15784 fi # test -n "$CONFIG_FILES"
15787 eval set X " :F
$CONFIG_FILES "
15792 :[FHLC]) ac_mode=$ac_tag; continue;;
15794 case $ac_mode$ac_tag in
15796 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15797 :[FH]-) ac_tag=-:-;;
15798 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15815 -) ac_f="$tmp/stdin";;
15816 *) # Look for the file first in the build tree, then in the source tree
15817 # (if the path is not absolute). The absolute path cannot be DOS-style,
15818 # because $ac_f cannot contain `:'.
15822 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15824 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15826 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15827 as_fn_append ac_file_inputs " '$ac_f'"
15830 # Let's still pretend it is `configure' which instantiates (i.e., don't
15831 # use $as_me), people would be surprised to read:
15832 # /* config.h. Generated by config.status. */
15833 configure_input='Generated from '`
15834 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15836 if test x"$ac_file" != x-; then
15837 configure_input="$ac_file.
$configure_input"
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15839 $as_echo "$as_me: creating
$ac_file" >&6;}
15841 # Neutralize special characters interpreted by sed in replacement strings.
15842 case $configure_input in #(
15843 *\&* | *\|* | *\\* )
15844 ac_sed_conf_input=`$as_echo "$configure_input" |
15845 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15846 *) ac_sed_conf_input=$configure_input;;
15850 *:-:* | *:-) cat >"$tmp/stdin
" \
15851 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15856 ac_dir=`$as_dirname -- "$ac_file" ||
15857 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15858 X"$ac_file" : 'X\(//\)[^/]' \| \
15859 X"$ac_file" : 'X\(//\)$' \| \
15860 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15861 $as_echo X"$ac_file" |
15862 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15866 /^X\(\/\/\)[^/].*/{
15879 as_dir="$ac_dir"; as_fn_mkdir_p
15883 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15885 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15886 # A "..
" for each directory in $ac_dir_suffix.
15887 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15888 case $ac_top_builddir_sub in
15889 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15890 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15893 ac_abs_top_builddir=$ac_pwd
15894 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15895 # for backward compatibility:
15896 ac_top_builddir=$ac_top_build_prefix
15899 .) # We are building in place.
15901 ac_top_srcdir=$ac_top_builddir_sub
15902 ac_abs_top_srcdir=$ac_pwd ;;
15903 [\\/]* | ?:[\\/]* ) # Absolute name.
15904 ac_srcdir=$srcdir$ac_dir_suffix;
15905 ac_top_srcdir=$srcdir
15906 ac_abs_top_srcdir=$srcdir ;;
15907 *) # Relative name.
15908 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15909 ac_top_srcdir=$ac_top_build_prefix$srcdir
15910 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15912 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15922 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15923 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15928 # If the template does not know about datarootdir, expand it.
15929 # FIXME: This hack should be removed a few years after 2.60.
15930 ac_datarootdir_hack=; ac_datarootdir_seen=
15941 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15942 *datarootdir*) ac_datarootdir_seen=yes;;
15943 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15945 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15948 ac_datarootdir_hack='
15949 s&@datadir@&$datadir&g
15950 s&@docdir@&$docdir&g
15951 s&@infodir@&$infodir&g
15952 s&@localedir@&$localedir&g
15953 s&@mandir@&$mandir&g
15954 s&\\\${datarootdir}&$datarootdir&g' ;;
15958 # Neutralize VPATH when `$srcdir' = `.'.
15959 # Shell code in configure.ac might set extrasub.
15960 # FIXME: do we really want to maintain this feature?
15961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15962 ac_sed_extra="$ac_vpsub
15965 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15967 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15968 s|@configure_input@|
$ac_sed_conf_input|
;t t
15969 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15970 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15971 s
&@srcdir@
&$ac_srcdir&;t t
15972 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15973 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15974 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15975 s
&@builddir@
&$ac_builddir&;t t
15976 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15977 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15978 s
&@INSTALL@
&$ac_INSTALL&;t t
15979 $ac_datarootdir_hack
15981 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15982 if $ac_cs_awk_getline; then
15983 $AWK -f "$tmp/subs.
awk"
15985 $AWK -f "$tmp/subs.
awk" | $SHELL
15987 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15989 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15990 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15991 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15993 which seems to be undefined. Please make sure it is defined." >&5
15994 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15995 which seems to be undefined. Please make sure it is defined." >&2;}
15999 -) cat "$tmp/out" && rm -f "$tmp/out";;
16000 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16002 || as_fn_error "could not create $ac_file" "$LINENO" 5
16010 case $ac_file$ac_mode in
16011 "Makefile":F) sed "$extrasub_build" Makefile |
16012 sed "$extrasub_host" |
16013 sed "$extrasub_target" > mf$$
16014 mv -f mf$$ Makefile ;;
16022 ac_clean_files=$ac_clean_files_save
16024 test $ac_write_fail = 0 ||
16025 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16028 # configure is writing to config.log, and then calls config.status.
16029 # config.status does its own redirection, appending to config.log.
16030 # Unfortunately, on DOS this fails, as config.log is still kept open
16031 # by configure, so config.status won't be able to
write to it
; its
16032 # output is simply discarded. So we exec the FD to /dev/null,
16033 # effectively closing config.log, so it can be properly (re)opened and
16034 # appended to by config.status. When coming back to configure, we
16035 # need to make the FD available again.
16036 if test "$no_create" != yes; then
16038 ac_config_status_args
=
16039 test "$silent" = yes &&
16040 ac_config_status_args
="$ac_config_status_args --quiet"
16042 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16044 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16045 # would make configure fail if this is the last instruction.
16046 $ac_cs_success || as_fn_exit $?
16048 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16050 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}