2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
646 DEBUG_PREFIX_CFLAGS_FOR_TARGET
647 SYSROOT_CFLAGS_FOR_TARGET
648 extra_host_libiberty_configure_flags
650 extra_linker_plugin_flags
651 extra_linker_plugin_configure_flags
658 extra_isl_gmp_configure_flags
659 extra_mpc_mpfr_configure_flags
660 extra_mpc_gmp_configure_flags
661 extra_mpfr_configure_flags
677 EXTRA_CONFIGARGS_LIBJAVA
678 extra_liboffloadmic_configure_flags
705 TOPLEVEL_CONFIGURE_ARGUMENTS
733 program_transform_name
744 ac_subst_files
='serialization_dependencies
750 enable_option_checking
752 enable_as_accelerator_for
753 enable_offload_targets
757 enable_libquadmath_support
762 enable_static_libjava
783 enable_isl_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
791 with_debug_prefix_map
794 enable_serial_configure
795 enable_upc_link_script
796 with_build_time_tools
797 enable_maintainer_mode
798 enable_stage1_checking
802 ac_precious_vars
='build_alias
851 # Initialize some variables set by options.
853 ac_init_version
=false
854 ac_unrecognized_opts
=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
865 program_transform_name
=s
,x
,x
,
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir
='${exec_prefix}/bin'
880 sbindir
='${exec_prefix}/sbin'
881 libexecdir
='${exec_prefix}/libexec'
882 datarootdir
='${prefix}/share'
883 datadir
='${datarootdir}'
884 sysconfdir
='${prefix}/etc'
885 sharedstatedir
='${prefix}/com'
886 localstatedir
='${prefix}/var'
887 includedir
='${prefix}/include'
888 oldincludedir
='/usr/include'
889 docdir
='${datarootdir}/doc/${PACKAGE}'
890 infodir
='${datarootdir}/info'
895 libdir
='${exec_prefix}/lib'
896 localedir
='${datarootdir}/locale'
897 mandir
='${datarootdir}/man'
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\
$ac_option
911 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
915 # Accept the important Cygnus configure options, so we can diagnose typos.
917 case $ac_dashdash$ac_option in
921 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
923 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
926 -build |
--build |
--buil |
--bui |
--bu)
927 ac_prev
=build_alias
;;
928 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
929 build_alias
=$ac_optarg ;;
931 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
932 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
933 ac_prev
=cache_file
;;
934 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
935 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
936 cache_file
=$ac_optarg ;;
939 cache_file
=config.cache
;;
941 -datadir |
--datadir |
--datadi |
--datad)
943 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
944 datadir
=$ac_optarg ;;
946 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
947 |
--dataroo |
--dataro |
--datar)
948 ac_prev
=datarootdir
;;
949 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
950 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
951 datarootdir
=$ac_optarg ;;
953 -disable-* |
--disable-*)
954 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
957 as_fn_error
"invalid feature name: $ac_useropt"
958 ac_useropt_orig
=$ac_useropt
959 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
964 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep
=', ';;
967 eval enable_
$ac_useropt=no
;;
969 -docdir |
--docdir |
--docdi |
--doc |
--do)
971 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
974 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
976 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
979 -enable-* |
--enable-*)
980 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
983 as_fn_error
"invalid feature name: $ac_useropt"
984 ac_useropt_orig
=$ac_useropt
985 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
990 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep
=', ';;
993 eval enable_
$ac_useropt=\
$ac_optarg ;;
995 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
996 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
997 |
--exec |
--exe |
--ex)
998 ac_prev
=exec_prefix
;;
999 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1000 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1001 |
--exec=* |
--exe=* |
--ex=*)
1002 exec_prefix
=$ac_optarg ;;
1004 -gas |
--gas |
--ga |
--g)
1005 # Obsolete; use --with-gas.
1008 -help |
--help |
--hel |
--he |
-h)
1009 ac_init_help
=long
;;
1010 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1011 ac_init_help
=recursive
;;
1012 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1013 ac_init_help
=short
;;
1015 -host |
--host |
--hos |
--ho)
1016 ac_prev
=host_alias
;;
1017 -host=* |
--host=* |
--hos=* |
--ho=*)
1018 host_alias
=$ac_optarg ;;
1020 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1022 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1024 htmldir
=$ac_optarg ;;
1026 -includedir |
--includedir |
--includedi |
--included |
--include \
1027 |
--includ |
--inclu |
--incl |
--inc)
1028 ac_prev
=includedir
;;
1029 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1030 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1031 includedir
=$ac_optarg ;;
1033 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1035 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1036 infodir
=$ac_optarg ;;
1038 -libdir |
--libdir |
--libdi |
--libd)
1040 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1041 libdir
=$ac_optarg ;;
1043 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1044 |
--libexe |
--libex |
--libe)
1045 ac_prev
=libexecdir
;;
1046 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1047 |
--libexe=* |
--libex=* |
--libe=*)
1048 libexecdir
=$ac_optarg ;;
1050 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1051 ac_prev
=localedir
;;
1052 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1053 localedir
=$ac_optarg ;;
1055 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1056 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1057 ac_prev
=localstatedir
;;
1058 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1059 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1060 localstatedir
=$ac_optarg ;;
1062 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1064 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1065 mandir
=$ac_optarg ;;
1067 -nfp |
--nfp |
--nf)
1068 # Obsolete; use --without-fp.
1071 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1072 |
--no-cr |
--no-c |
-n)
1075 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1076 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1079 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1080 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1081 |
--oldin |
--oldi |
--old |
--ol |
--o)
1082 ac_prev
=oldincludedir
;;
1083 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1084 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1085 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1086 oldincludedir
=$ac_optarg ;;
1088 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1090 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1091 prefix
=$ac_optarg ;;
1093 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1094 |
--program-pre |
--program-pr |
--program-p)
1095 ac_prev
=program_prefix
;;
1096 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1097 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1098 program_prefix
=$ac_optarg ;;
1100 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1101 |
--program-suf |
--program-su |
--program-s)
1102 ac_prev
=program_suffix
;;
1103 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1104 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1105 program_suffix
=$ac_optarg ;;
1107 -program-transform-name |
--program-transform-name \
1108 |
--program-transform-nam |
--program-transform-na \
1109 |
--program-transform-n |
--program-transform- \
1110 |
--program-transform |
--program-transfor \
1111 |
--program-transfo |
--program-transf \
1112 |
--program-trans |
--program-tran \
1113 |
--progr-tra |
--program-tr |
--program-t)
1114 ac_prev
=program_transform_name
;;
1115 -program-transform-name=* |
--program-transform-name=* \
1116 |
--program-transform-nam=* |
--program-transform-na=* \
1117 |
--program-transform-n=* |
--program-transform-=* \
1118 |
--program-transform=* |
--program-transfor=* \
1119 |
--program-transfo=* |
--program-transf=* \
1120 |
--program-trans=* |
--program-tran=* \
1121 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1122 program_transform_name
=$ac_optarg ;;
1124 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1126 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1127 pdfdir
=$ac_optarg ;;
1129 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1131 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1134 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1135 |
-silent |
--silent |
--silen |
--sile |
--sil)
1138 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1140 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1142 sbindir
=$ac_optarg ;;
1144 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1145 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1146 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1148 ac_prev
=sharedstatedir
;;
1149 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1150 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1151 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1153 sharedstatedir
=$ac_optarg ;;
1155 -site |
--site |
--sit)
1157 -site=* |
--site=* |
--sit=*)
1160 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1162 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1163 srcdir
=$ac_optarg ;;
1165 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1166 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1167 ac_prev
=sysconfdir
;;
1168 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1169 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1170 sysconfdir
=$ac_optarg ;;
1172 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1173 ac_prev
=target_alias
;;
1174 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1175 target_alias
=$ac_optarg ;;
1177 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1180 -version |
--version |
--versio |
--versi |
--vers |
-V)
1181 ac_init_version
=: ;;
1184 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1187 as_fn_error
"invalid package name: $ac_useropt"
1188 ac_useropt_orig
=$ac_useropt
1189 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1194 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep
=', ';;
1197 eval with_
$ac_useropt=\
$ac_optarg ;;
1199 -without-* |
--without-*)
1200 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1203 as_fn_error
"invalid package name: $ac_useropt"
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=no
;;
1216 # Obsolete; use --with-x.
1219 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1220 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1221 ac_prev
=x_includes
;;
1222 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1223 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1224 x_includes
=$ac_optarg ;;
1226 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1227 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1228 ac_prev
=x_libraries
;;
1229 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1230 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1231 x_libraries
=$ac_optarg ;;
1233 -*) as_fn_error
"unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information."
1238 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 case $ac_envvar in #(
1241 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1242 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1244 eval $ac_envvar=\
$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1258 if test -n "$ac_prev"; then
1259 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1260 as_fn_error
"missing argument to $ac_option"
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1266 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1271 # Check all directory arguments for consistency.
1272 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1273 datadir sysconfdir sharedstatedir localstatedir includedir \
1274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1275 libdir localedir mandir
1277 eval ac_val
=\$
$ac_var
1278 # Remove trailing slashes.
1281 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282 eval $ac_var=\
$ac_val;;
1284 # Be sure to have absolute directory names.
1286 [\\/$
]* | ?
:[\\/]* ) continue;;
1287 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1289 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1297 target
=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x
; then
1301 if test "x$build_alias" = x
; then
1302 cross_compiling
=maybe
1303 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1311 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1313 test "$silent" = yes && exec 6>/dev
/null
1316 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di
=`ls -di .` &&
1318 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error
"working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error
"pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted
=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir
=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1356 ac_srcdir_defaulted
=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1360 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1374 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1378 as_fn_error
"path to source, $srcdir, contains spaces"
1381 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1383 for ac_var
in $ac_precious_vars; do
1384 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1386 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1387 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1391 # Report the --help message.
1393 if test "$ac_init_help" = "long"; then
1394 # Omit some internal or obsolete options to make the list less imposing.
1395 # This message is too long to be a string in the A/UX 3.1 sh.
1397 \`configure' configures this package to adapt to many kinds of systems.
1399 Usage: $0 [OPTION]... [VAR=VALUE]...
1401 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1402 VAR=VALUE. See below for descriptions of some of the useful variables.
1404 Defaults for the options are specified in brackets.
1407 -h, --help display this help and exit
1408 --help=short display options specific to this package
1409 --help=recursive display the short help of all the included packages
1410 -V, --version display version information and exit
1411 -q, --quiet, --silent do not print \`checking...' messages
1412 --cache-file=FILE cache test results in FILE [disabled]
1413 -C, --config-cache alias for \`--cache-file=config.cache'
1414 -n, --no-create do not create output files
1415 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1417 Installation directories:
1418 --prefix=PREFIX install architecture-independent files in PREFIX
1419 [$ac_default_prefix]
1420 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1423 By default, \`make install' will install all the files in
1424 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1425 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1426 for instance \`--prefix=\$HOME'.
1428 For better control, use the options below.
1430 Fine tuning of the installation directories:
1431 --bindir=DIR user executables [EPREFIX/bin]
1432 --sbindir=DIR system admin executables [EPREFIX/sbin]
1433 --libexecdir=DIR program executables [EPREFIX/libexec]
1434 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1435 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1436 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1437 --libdir=DIR object code libraries [EPREFIX/lib]
1438 --includedir=DIR C header files [PREFIX/include]
1439 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1440 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1441 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1442 --infodir=DIR info documentation [DATAROOTDIR/info]
1443 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1444 --mandir=DIR man documentation [DATAROOTDIR/man]
1445 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1446 --htmldir=DIR html documentation [DOCDIR]
1447 --dvidir=DIR dvi documentation [DOCDIR]
1448 --pdfdir=DIR pdf documentation [DOCDIR]
1449 --psdir=DIR ps documentation [DOCDIR]
1455 --program-prefix=PREFIX prepend PREFIX to installed program names
1456 --program-suffix=SUFFIX append SUFFIX to installed program names
1457 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1460 --build=BUILD configure
for building on BUILD
[guessed
]
1461 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1466 if test -n "$ac_init_help"; then
1471 --disable-option-checking ignore unrecognized
--enable/--with options
1472 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1473 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1474 --enable-as-accelerator-for=ARG
1475 build as offload target compiler. Specify offload
1477 --enable-offload-targets=LIST
1478 enable offloading to devices from comma-separated
1479 LIST of TARGET
[=DIR
]. Use optional path to
find
1480 offload target compiler during the build
1481 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1482 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1483 --disable-libquadmath do not build libquadmath directory
1484 --disable-libquadmath-support
1485 disable libquadmath support
for Fortran
1486 --enable-libada build libada directory
1487 --enable-libssp build libssp directory
1488 --disable-libstdcxx do not build libstdc
++-v3 directory
1489 --enable-liboffloadmic=ARG
1490 build liboffloadmic
[ARG
={no
,host,target
}]
1491 --enable-static-libjava[=ARG
]
1492 build static libjava
[default
=no
]
1493 --enable-bootstrap enable bootstrapping
[yes if native build
]
1494 --disable-isl-version-check
1495 disable check
for ISL version
1496 --enable-lto enable link
time optimization support
1497 --enable-linker-plugin-configure-flags=FLAGS
1498 additional flags
for configuring linker plugins
1500 --enable-linker-plugin-flags=FLAGS
1501 additional flags
for configuring and building linker
1503 --enable-stage1-languages[=all
]
1504 choose additional languages to build during stage1.
1505 Mostly useful
for compiler development
1506 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1508 --enable-vtable-verify Enable vtable verification feature
1509 --enable-serial-[{host,target,build}-]configure
1510 force sequential configuration of sub-packages for
1511 the host, target or build machine, or all
1513 --enable-upc-link-script
1514 enable UPC's use of a custom linker
script; this
1515 will define the UPC shared section as a no load
1516 section on targets where this feature is supported
1518 --enable-maintainer-mode
1519 enable make rules and dependencies not useful
(and
1520 sometimes confusing
) to the casual installer
1521 --enable-stage1-checking[=all
]
1522 choose additional checking
for stage1 of the
1524 --enable-werror enable -Werror in bootstrap stage2 and later
1525 --enable-host-shared build
host code as shared libraries
1528 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1529 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1530 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1531 --with-mpc=PATH specify prefix directory
for installed MPC package.
1532 Equivalent to
--with-mpc-include=PATH
/include plus
1533 --with-mpc-lib=PATH
/lib
1534 --with-mpc-include=PATH specify directory
for installed MPC include files
1535 --with-mpc-lib=PATH specify directory
for the installed MPC library
1536 --with-mpfr-dir=PATH this option has been REMOVED
1537 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1538 Equivalent to
--with-mpfr-include=PATH
/include plus
1539 --with-mpfr-lib=PATH
/lib
1540 --with-mpfr-include=PATH
1541 specify directory
for installed MPFR include files
1542 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1543 --with-gmp-dir=PATH this option has been REMOVED
1544 --with-gmp=PATH specify prefix directory
for the installed GMP
1545 package. Equivalent to
1546 --with-gmp-include=PATH
/include plus
1547 --with-gmp-lib=PATH
/lib
1548 --with-gmp-include=PATH specify directory
for installed GMP include files
1549 --with-gmp-lib=PATH specify directory
for the installed GMP library
1550 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1552 --with-stage1-libs=LIBS libraries
for stage1
1553 --with-stage1-ldflags=FLAGS
1554 linker flags
for stage1
1555 --with-boot-libs=LIBS libraries
for stage2 and later
1556 --with-boot-ldflags=FLAGS
1557 linker flags
for stage2 and later
1558 --with-isl=PATH Specify prefix directory
for the installed ISL
1559 package. Equivalent to
1560 --with-isl-include=PATH
/include plus
1561 --with-isl-lib=PATH
/lib
1562 --with-isl-include=PATH Specify directory
for installed ISL include files
1563 --with-isl-lib=PATH Specify the directory
for the installed ISL library
1564 --with-upc-pts={struct
,packed
}
1565 choose the default representation of a UPC
1567 --with-build-sysroot=SYSROOT
1568 use sysroot as the system root during the build
1569 --with-debug-prefix-map='A=B C=D ...'
1570 map A to B
, C to D ...
in debug information
1571 --with-build-config='NAME NAME2...'
1572 use config
/NAME.mk build configuration
1573 --with-build-time-tools=PATH
1574 use given path to
find target tools during the build
1576 Some influential environment variables
:
1577 CC C compiler
command
1578 CFLAGS C compiler flags
1579 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1580 nonstandard directory
<lib dir
>
1581 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1582 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1583 you have headers
in a nonstandard directory
<include dir
>
1584 CXX C
++ compiler
command
1585 CXXFLAGS C
++ compiler flags
1587 additional configure arguments
for build directories
1589 additional configure arguments
for host directories
1591 additional configure arguments
for target directories
1594 DLLTOOL DLLTOOL
for the
host
1596 LIPO LIPO
for the
host
1598 RANLIB RANLIB
for the
host
1599 STRIP STRIP
for the
host
1600 WINDRES WINDRES
for the
host
1601 WINDMC WINDMC
for the
host
1602 OBJCOPY OBJCOPY
for the
host
1603 OBJDUMP OBJDUMP
for the
host
1604 READELF READELF
for the
host
1614 GFORTRAN
for the target
1624 DLLTOOL
for the target
1632 OBJCOPY
for the target
1634 OBJDUMP
for the target
1636 RANLIB
for the target
1638 READELF
for the target
1640 STRIP
for the target
1642 WINDRES
for the target
1644 WINDMC
for the target
1646 Use these variables to override the choices made by
`configure' or to help
1647 it to find libraries and programs with nonstandard names/locations.
1649 Report bugs to the package provider.
1654 if test "$ac_init_help" = "recursive"; then
1655 # If there are subdirs, report their specific --help.
1656 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1657 test -d "$ac_dir" ||
1658 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1663 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1665 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1666 # A ".." for each directory in $ac_dir_suffix.
1667 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1668 case $ac_top_builddir_sub in
1669 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1670 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1673 ac_abs_top_builddir=$ac_pwd
1674 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1675 # for backward compatibility:
1676 ac_top_builddir=$ac_top_build_prefix
1679 .) # We are building in place.
1681 ac_top_srcdir=$ac_top_builddir_sub
1682 ac_abs_top_srcdir=$ac_pwd ;;
1683 [\\/]* | ?:[\\/]* ) # Absolute name.
1684 ac_srcdir=$srcdir$ac_dir_suffix;
1685 ac_top_srcdir=$srcdir
1686 ac_abs_top_srcdir=$srcdir ;;
1688 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1689 ac_top_srcdir=$ac_top_build_prefix$srcdir
1690 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1692 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1694 cd "$ac_dir" || { ac_status=$?; continue; }
1695 # Check for guested configure.
1696 if test -f "$ac_srcdir/configure.gnu"; then
1698 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1699 elif test -f "$ac_srcdir/configure"; then
1701 $SHELL "$ac_srcdir/configure" --help=recursive
1703 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1705 cd "$ac_pwd" || { ac_status=$?; break; }
1709 test -n "$ac_init_help" && exit $ac_status
1710 if $ac_init_version; then
1713 generated by GNU Autoconf 2.64
1715 Copyright (C) 2009 Free Software Foundation, Inc.
1716 This configure script is free software; the Free Software Foundation
1717 gives unlimited permission to copy, distribute and modify it.
1722 ## ------------------------ ##
1723 ## Autoconf initialization. ##
1724 ## ------------------------ ##
1726 # ac_fn_c_try_compile LINENO
1727 # --------------------------
1728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1729 ac_fn_c_try_compile ()
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 rm -f conftest.$ac_objext
1733 if { { ac_try="$ac_compile"
1735 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1736 *) ac_try_echo
=$ac_try;;
1738 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1739 $as_echo "$ac_try_echo"; } >&5
1740 (eval "$ac_compile") 2>conftest.err
1742 if test -s conftest.err
; then
1743 grep -v '^ *+' conftest.err
>conftest.er1
1744 cat conftest.er1
>&5
1745 mv -f conftest.er1 conftest.err
1747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1748 test $ac_status = 0; } && {
1749 test -z "$ac_c_werror_flag" ||
1750 test ! -s conftest.err
1751 } && test -s conftest.
$ac_objext; then :
1754 $as_echo "$as_me: failed program was:" >&5
1755 sed 's/^/| /' conftest.
$ac_ext >&5
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1762 } # ac_fn_c_try_compile
1764 # ac_fn_cxx_try_compile LINENO
1765 # ----------------------------
1766 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1767 ac_fn_cxx_try_compile
()
1769 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1770 rm -f conftest.
$ac_objext
1771 if { { ac_try
="$ac_compile"
1773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1774 *) ac_try_echo=$ac_try;;
1776 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1777 $as_echo "$ac_try_echo"; } >&5
1778 (eval "$ac_compile") 2>conftest.err
1780 if test -s conftest.err; then
1781 grep -v '^ *+' conftest.err >conftest.er1
1782 cat conftest.er1 >&5
1783 mv -f conftest.er1 conftest.err
1785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1786 test $ac_status = 0; } && {
1787 test -z "$ac_cxx_werror_flag" ||
1788 test ! -s conftest.err
1789 } && test -s conftest.$ac_objext; then :
1792 $as_echo "$as_me: failed program was:" >&5
1793 sed 's/^/| /' conftest.$ac_ext >&5
1797 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 } # ac_fn_cxx_try_compile
1802 # ac_fn_cxx_try_link LINENO
1803 # -------------------------
1804 # Try to link conftest.$ac_ext, and return whether this succeeded.
1805 ac_fn_cxx_try_link ()
1807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808 rm -f conftest.$ac_objext conftest$ac_exeext
1809 if { { ac_try="$ac_link"
1811 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1812 *) ac_try_echo
=$ac_try;;
1814 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1815 $as_echo "$ac_try_echo"; } >&5
1816 (eval "$ac_link") 2>conftest.err
1818 if test -s conftest.err
; then
1819 grep -v '^ *+' conftest.err
>conftest.er1
1820 cat conftest.er1
>&5
1821 mv -f conftest.er1 conftest.err
1823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1824 test $ac_status = 0; } && {
1825 test -z "$ac_cxx_werror_flag" ||
1826 test ! -s conftest.err
1827 } && test -s conftest
$ac_exeext && {
1828 test "$cross_compiling" = yes ||
1829 $as_test_x conftest
$ac_exeext
1833 $as_echo "$as_me: failed program was:" >&5
1834 sed 's/^/| /' conftest.
$ac_ext >&5
1838 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1839 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1840 # interfere with the next link command; also delete a directory that is
1841 # left behind by Apple's compiler. We do this before executing the actions.
1842 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1843 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1846 } # ac_fn_cxx_try_link
1848 # ac_fn_c_try_link LINENO
1849 # -----------------------
1850 # Try to link conftest.$ac_ext, and return whether this succeeded.
1853 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1854 rm -f conftest.
$ac_objext conftest
$ac_exeext
1855 if { { ac_try
="$ac_link"
1857 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1858 *) ac_try_echo=$ac_try;;
1860 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1861 $as_echo "$ac_try_echo"; } >&5
1862 (eval "$ac_link") 2>conftest.err
1864 if test -s conftest.err; then
1865 grep -v '^ *+' conftest.err >conftest.er1
1866 cat conftest.er1 >&5
1867 mv -f conftest.er1 conftest.err
1869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1870 test $ac_status = 0; } && {
1871 test -z "$ac_c_werror_flag" ||
1872 test ! -s conftest.err
1873 } && test -s conftest$ac_exeext && {
1874 test "$cross_compiling" = yes ||
1875 $as_test_x conftest$ac_exeext
1879 $as_echo "$as_me: failed program was:" >&5
1880 sed 's/^/| /' conftest.$ac_ext >&5
1884 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1885 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1886 # interfere with the next link command; also delete a directory that is
1887 # left behind by Apple's compiler. We do this before executing the actions.
1888 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1892 } # ac_fn_c_try_link
1893 cat >config.log <<_ACEOF
1894 This file contains any messages produced by compilers while
1895 running configure, to aid debugging if configure makes a mistake.
1897 It was created by $as_me, which was
1898 generated by GNU Autoconf 2.64. Invocation command line was
1910 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1911 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1912 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1913 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1914 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1916 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1917 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1919 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1920 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1921 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1922 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1923 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1924 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1925 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir=.
1934 $as_echo "PATH: $as_dir"
1950 # Keep a trace of the command line.
1951 # Strip out --no-create and --no-recursion so they do not pile up.
1952 # Strip out --silent because we don't want to record it for future runs.
1953 # Also quote any args containing shell meta-characters.
1954 # Make two passes to allow for proper duplicate-argument suppression.
1958 ac_must_keep_next=false
1964 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1966 | -silent | --silent | --silen | --sile | --sil)
1969 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1972 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1974 as_fn_append ac_configure_args1 " '$ac_arg'"
1975 if test $ac_must_keep_next = true; then
1976 ac_must_keep_next=false # Got value, back to normal.
1979 *=* | --config-cache | -C | -disable-* | --disable-* \
1980 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1981 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1982 | -with-* | --with-* | -without-* | --without-* | --x)
1983 case "$ac_configure_args0 " in
1984 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1987 -* ) ac_must_keep_next=true ;;
1990 as_fn_append ac_configure_args " '$ac_arg'"
1995 { ac_configure_args0=; unset ac_configure_args0;}
1996 { ac_configure_args1=; unset ac_configure_args1;}
1998 # When interrupted or exit'd, cleanup temporary files, and complete
1999 # config.log. We remove comments because anyway the quotes in there
2000 # would cause problems or look ugly.
2001 # WARNING: Use '\'' to represent an apostrophe within the trap.
2002 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2003 trap 'exit_status=$?
2004 # Save into config.log some information that might help in debugging.
2009 ## ---------------- ##
2010 ## Cache variables. ##
2011 ## ---------------- ##
2014 # The following way of writing the cache mishandles newlines in values,
2016 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2017 eval ac_val=\$$ac_var
2021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025 _ | IFS | as_nl) ;; #(
2026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027 *) { eval $ac_var=; unset $ac_var;} ;;
2032 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2033 *${as_nl}ac_space=\ *)
2035 "s/'\''/'\''\\\\'\'''\''/g;
2036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2047 ## ----------------- ##
2048 ## Output variables. ##
2049 ## ----------------- ##
2052 for ac_var in $ac_subst_vars
2054 eval ac_val=\$$ac_var
2056 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2058 $as_echo "$ac_var='\''$ac_val'\''"
2062 if test -n "$ac_subst_files"; then
2064 ## ------------------- ##
2065 ## File substitutions. ##
2066 ## ------------------- ##
2069 for ac_var in $ac_subst_files
2071 eval ac_val=\$$ac_var
2073 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2075 $as_echo "$ac_var='\''$ac_val'\''"
2080 if test -s confdefs.h; then
2090 test "$ac_signal" != 0 &&
2091 $as_echo "$as_me: caught signal $ac_signal"
2092 $as_echo "$as_me: exit $exit_status"
2094 rm -f core *.core core.conftest.* &&
2095 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2098 for ac_signal in 1 2 13 15; do
2099 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2103 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2104 rm -f -r conftest* confdefs.h
2106 $as_echo "/* confdefs.h */" > confdefs.h
2108 # Predefined preprocessor variables.
2110 cat >>confdefs.h <<_ACEOF
2111 #define PACKAGE_NAME "$PACKAGE_NAME"
2114 cat >>confdefs.h <<_ACEOF
2115 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2118 cat >>confdefs.h <<_ACEOF
2119 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2122 cat >>confdefs.h <<_ACEOF
2123 #define PACKAGE_STRING "$PACKAGE_STRING"
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_URL "$PACKAGE_URL"
2135 # Let the site file select an alternate cache file if it wants to.
2136 # Prefer an explicitly selected file to automatically selected ones.
2139 if test -n "$CONFIG_SITE"; then
2140 ac_site_file1=$CONFIG_SITE
2141 elif test "x$prefix" != xNONE; then
2142 ac_site_file1=$prefix/share/config.site
2143 ac_site_file2=$prefix/etc/config.site
2145 ac_site_file1=$ac_default_prefix/share/config.site
2146 ac_site_file2=$ac_default_prefix/etc/config.site
2148 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2150 test "x$ac_site_file" = xNONE && continue
2151 if test -r "$ac_site_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2153 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2154 sed 's/^/| /' "$ac_site_file" >&5
2159 if test -r "$cache_file"; then
2160 # Some versions of bash will fail to source /dev/null (special
2161 # files actually), so we avoid doing that.
2162 if test -f "$cache_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2164 $as_echo "$as_me: loading cache $cache_file" >&6;}
2166 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2167 *) . "./$cache_file";;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2172 $as_echo "$as_me: creating cache $cache_file" >&6;}
2176 # Check that the precious variables saved in the cache have kept the same
2178 ac_cache_corrupted=false
2179 for ac_var in $ac_precious_vars; do
2180 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2181 eval ac_new_set=\$ac_env_${ac_var}_set
2182 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2183 eval ac_new_val=\$ac_env_${ac_var}_value
2184 case $ac_old_set,$ac_new_set in
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2187 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2188 ac_cache_corrupted=: ;;
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2191 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2192 ac_cache_corrupted=: ;;
2195 if test "x$ac_old_val" != "x$ac_new_val"; then
2196 # differences in whitespace do not lead to failure.
2197 ac_old_val_w=`echo x
$ac_old_val`
2198 ac_new_val_w=`echo x
$ac_new_val`
2199 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2201 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2202 ac_cache_corrupted=:
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2205 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2206 eval $ac_var=\$ac_old_val
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2209 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2211 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2214 # Pass precious variables to config.status.
2215 if test "$ac_new_set" = set; then
2217 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2218 *) ac_arg=$ac_var=$ac_new_val ;;
2220 case " $ac_configure_args " in
2221 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2222 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2226 if $ac_cache_corrupted; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2230 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2231 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2233 ## -------------------- ##
2234 ## Main body of script. ##
2235 ## -------------------- ##
2238 ac_cpp='$CPP $CPPFLAGS'
2239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2252 # if PWD already has a value, it is probably wrong.
2253 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2255 # Export original configure arguments for use by sub-configures.
2256 # Quote arguments with shell meta charatcers.
2257 TOPLEVEL_CONFIGURE_ARGUMENTS=
2258 set -- "$progname" "$@"
2262 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2263 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2264 # if the argument is of the form -foo=baz, quote the baz part only
2265 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2268 # Add the quoted argument to the list.
2269 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2271 if test "$silent" = yes; then
2272 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2274 # Remove the initial space we just introduced and, as these will be
2275 # expanded by make, quote '$'.
2276 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2279 # Find the build, host, and target systems.
2281 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2282 for ac_t in install-sh install.sh shtool; do
2283 if test -f "$ac_dir/$ac_t"; then
2285 ac_install_sh="$ac_aux_dir/$ac_t -c"
2290 if test -z "$ac_aux_dir"; then
2291 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2294 # These three variables are undocumented and unsupported,
2295 # and are intended to be withdrawn in a future Autoconf release.
2296 # They can cause serious problems if a builder's source tree is in a directory
2297 # whose full name contains unusual characters.
2298 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2299 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2300 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2303 # Make sure we can run config.sub.
2304 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2305 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2308 $as_echo_n "checking build system type... " >&6; }
2309 if test "${ac_cv_build+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2312 ac_build_alias=$build_alias
2313 test "x$ac_build_alias" = x &&
2314 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2315 test "x$ac_build_alias" = x &&
2316 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2317 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2318 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2322 $as_echo "$ac_cv_build" >&6; }
2323 case $ac_cv_build in
2325 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2328 ac_save_IFS=$IFS; IFS='-'
2334 # Remember, the first character of IFS is used to create $*,
2335 # except with old shells:
2338 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2341 case ${build_alias} in
2342 "") build_noncanonical=${build} ;;
2343 *) build_noncanonical=${build_alias} ;;
2348 case ${host_alias} in
2349 "") host_noncanonical=${build_noncanonical} ;;
2350 *) host_noncanonical=${host_alias} ;;
2355 case ${target_alias} in
2356 "") target_noncanonical=${host_noncanonical} ;;
2357 *) target_noncanonical=${target_alias} ;;
2363 test "$host_noncanonical" = "$target_noncanonical" &&
2364 test "$program_prefix$program_suffix$program_transform_name" = \
2366 program_transform_name=s,y,y,
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2369 $as_echo_n "checking host system type... " >&6; }
2370 if test "${ac_cv_host+set}" = set; then :
2371 $as_echo_n "(cached) " >&6
2373 if test "x$host_alias" = x; then
2374 ac_cv_host=$ac_cv_build
2376 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2377 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2382 $as_echo "$ac_cv_host" >&6; }
2385 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2388 ac_save_IFS=$IFS; IFS='-'
2394 # Remember, the first character of IFS is used to create $*,
2395 # except with old shells:
2398 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2402 $as_echo_n "checking target system type... " >&6; }
2403 if test "${ac_cv_target+set}" = set; then :
2404 $as_echo_n "(cached) " >&6
2406 if test "x$target_alias" = x; then
2407 ac_cv_target=$ac_cv_host
2409 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2410 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2415 $as_echo "$ac_cv_target" >&6; }
2416 case $ac_cv_target in
2418 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2420 target=$ac_cv_target
2421 ac_save_IFS=$IFS; IFS='-'
2427 # Remember, the first character of IFS is used to create $*,
2428 # except with old shells:
2431 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2434 # The aliases save the names the user supplied, while $host etc.
2435 # will get canonicalized.
2436 test -n "$target_alias" &&
2437 test "$program_prefix$program_suffix$program_transform_name" = \
2439 program_prefix=${target_alias}-
2441 test "$program_prefix" != NONE &&
2442 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2443 # Use a double $ so make ignores it.
2444 test "$program_suffix" != NONE &&
2445 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2446 # Double any \ or $.
2447 # By default was `s
,x
,x
', remove it if useless.
2448 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2449 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2453 # Get 'install' or 'install-sh
' and its variants.
2454 # Find a good install program. We prefer a C program (faster),
2455 # so one script is as good as another. But avoid the broken or
2456 # incompatible versions:
2457 # SysV /etc/install, /usr/sbin/install
2458 # SunOS /usr/etc/install
2459 # IRIX /sbin/install
2461 # AmigaOS /C/install, which installs bootblocks on floppy discs
2462 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2463 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2464 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2465 # OS/2's system install, which has a completely different semantic
2466 # ./install, which can be erroneously created by make from ./install.sh.
2467 # Reject install programs that cannot install multiple files.
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2469 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2470 if test -z "$INSTALL"; then
2471 if test "${ac_cv_path_install+set}" = set; then :
2472 $as_echo_n "(cached) " >&6
2474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2478 test -z "$as_dir" && as_dir
=.
2479 # Account for people who put trailing slashes in PATH elements.
2480 case $as_dir/ in #((
2481 .
/ | .
// |
/[cC
]/* | \
2482 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2483 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2486 # OSF1 and SCO ODT 3.0 have their own names for install.
2487 # Don't use installbsd from OSF since it installs stuff as root
2489 for ac_prog
in ginstall scoinst
install; do
2490 for ac_exec_ext
in '' $ac_executable_extensions; do
2491 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2492 if test $ac_prog = install &&
2493 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2494 # AIX install. It has an incompatible calling convention.
2496 elif test $ac_prog = install &&
2497 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2498 # program-specific install script used by HP pwplus--don't use.
2501 rm -rf conftest.one conftest.two conftest.dir
2502 echo one
> conftest.one
2503 echo two
> conftest.two
2505 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2506 test -s conftest.one
&& test -s conftest.two
&&
2507 test -s conftest.dir
/conftest.one
&&
2508 test -s conftest.dir
/conftest.two
2510 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2523 rm -rf conftest.one conftest.two conftest.dir
2526 if test "${ac_cv_path_install+set}" = set; then
2527 INSTALL
=$ac_cv_path_install
2529 # As a last resort, use the slow shell script. Don't cache a
2530 # value for INSTALL within a source directory, because that will
2531 # break other packages using the cache if that directory is
2532 # removed, or if the value is a relative name.
2533 INSTALL
=$ac_install_sh
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2537 $as_echo "$INSTALL" >&6; }
2539 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2540 # It thinks the first close brace ends the variable substitution.
2541 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2543 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2545 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2548 $as_echo_n "checking whether ln works... " >&6; }
2549 if test "${acx_cv_prog_LN+set}" = set; then :
2550 $as_echo_n "(cached) " >&6
2552 rm -f conftestdata_t
2553 echo >conftestdata_f
2554 if ln conftestdata_f conftestdata_t
2>/dev
/null
2560 rm -f conftestdata_f conftestdata_t
2563 if test $acx_cv_prog_LN = no
; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2566 $as_echo "no, using $LN" >&6; }
2568 LN
="$acx_cv_prog_LN"
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2570 $as_echo "yes" >&6; }
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2574 $as_echo_n "checking whether ln -s works... " >&6; }
2576 if test "$LN_S" = "ln -s"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2578 $as_echo "yes" >&6; }
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2581 $as_echo "no, using $LN_S" >&6; }
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2585 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2586 if test "${ac_cv_path_SED+set}" = set; then :
2587 $as_echo_n "(cached) " >&6
2589 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2590 for ac_i
in 1 2 3 4 5 6 7; do
2591 ac_script
="$ac_script$as_nl$ac_script"
2593 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2594 { ac_script
=; unset ac_script
;}
2595 if test -z "$SED"; then
2596 ac_path_SED_found
=false
2597 # Loop through the user's path and test for each of PROGNAME-LIST
2598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir
=.
2603 for ac_prog
in sed gsed
; do
2604 for ac_exec_ext
in '' $ac_executable_extensions; do
2605 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2606 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2607 # Check for GNU ac_path_SED and select it if it is found.
2608 # Check for GNU $ac_path_SED
2609 case `"$ac_path_SED" --version 2>&1` in
2611 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2614 $as_echo_n 0123456789 >"conftest.in"
2617 cat "conftest.in" "conftest.in" >"conftest.tmp"
2618 mv "conftest.tmp" "conftest.in"
2619 cp "conftest.in" "conftest.nl"
2620 $as_echo '' >> "conftest.nl"
2621 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2624 if test $ac_count -gt ${ac_path_SED_max-0}; then
2625 # Best one so far, save it but keep looking for a better one
2626 ac_cv_path_SED
="$ac_path_SED"
2627 ac_path_SED_max
=$ac_count
2629 # 10*(2^10) chars as input seems more than enough
2630 test $ac_count -gt 10 && break
2632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2635 $ac_path_SED_found && break 3
2640 if test -z "$ac_cv_path_SED"; then
2641 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2649 $as_echo "$ac_cv_path_SED" >&6; }
2650 SED
="$ac_cv_path_SED"
2653 for ac_prog
in gawk mawk nawk
awk
2655 # Extract the first word of "$ac_prog", so it can be a program name with args.
2656 set dummy
$ac_prog; ac_word
=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_AWK+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$AWK"; then
2663 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_AWK
="$ac_prog"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$AWK"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2685 $as_echo "$AWK" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2692 test -n "$AWK" && break
2696 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2698 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2700 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2701 INSTALL
="${srcpwd}/install-sh -c"
2704 # Set srcdir to "." if that's what it is.
2705 # This is important for multilib support.
2707 if test "${pwd}" = "${srcpwd}" ; then
2715 ### To add a new directory to the tree, first choose whether it is a target
2716 ### or a host dependent tool. Then put it into the appropriate list
2717 ### (library or tools, host or target), doing a dependency sort.
2719 # Subdirs will be configured in the order listed in build_configdirs,
2720 # configdirs, or target_configdirs; see the serialization section below.
2722 # Dependency sorting is only needed when *configuration* must be done in
2723 # a particular order. In all cases a dependency should be specified in
2724 # the Makefile, whether or not it's implicitly specified here.
2726 # Double entries in build_configdirs, configdirs, or target_configdirs may
2727 # cause circular dependencies and break everything horribly.
2729 # these library is used by various programs built for the build
2732 build_libs
="build-libiberty build-libcpp"
2734 # these tools are built for the build environment
2735 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2737 # these libraries are used by various programs built for the host environment
2739 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2741 # these tools are built for the host environment
2742 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2743 # know that we are building the simulator.
2744 # binutils, gas and ld appear in that order because it makes sense to run
2745 # "make check" in that particular order.
2746 # If --enable-gold is used, "gold" may replace "ld".
2747 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"
2749 # libgcj represents the runtime libraries only used by gcj.
2750 libgcj
="target-libffi \
2754 # these libraries are built for the target environment, and are built after
2755 # the host libraries and the host tools (which may be a cross compiler)
2756 # Note that libiberty is not a target library.
2757 target_libraries
="target-libgcc \
2758 target-libbacktrace \
2763 target-liboffloadmic \
2766 target-libstdc++-v3 \
2767 target-libsanitizer \
2770 target-libquadmath \
2771 target-libgfortran \
2779 # these tools are built using the target libraries, and are intended to
2780 # run only in the target environment
2782 # note: any program that *uses* libraries that are in the "target_libraries"
2783 # list belongs in this list.
2785 target_tools
="target-rda"
2787 ################################################################################
2789 ## All tools belong in one of the four categories, and are assigned above
2790 ## We assign ${configdirs} this way to remove all embedded newlines. This
2791 ## is important because configure will choke if they ever get through.
2792 ## ${configdirs} is directories we build using the host tools.
2793 ## ${target_configdirs} is directories we build using the target tools.
2794 configdirs
=`echo ${host_libs} ${host_tools}`
2795 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2796 build_configdirs
=`echo ${build_libs} ${build_tools}`
2800 ################################################################################
2802 srcname
="gnu development package"
2804 # This gets set non-empty for some net releases of packages.
2807 # Define is_cross_compiler to save on calls to 'test'.
2809 if test x
"${host}" = x
"${target}" ; then
2810 is_cross_compiler
=no
2812 is_cross_compiler
=yes
2815 # Find the build and target subdir names.
2817 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2818 # have matching libraries, they should use host libraries: Makefile.tpl
2819 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2820 # However, they still use the build modules, because the corresponding
2821 # host modules (e.g. bison) are only built for the host when bootstrap
2823 # - build_subdir is where we find build modules, and never changes.
2824 # - build_libsubdir is where we find build libraries, and can be overridden.
2826 # Prefix 'build-' so this never conflicts with target_subdir.
2827 build_subdir
="build-${build_noncanonical}"
2829 # Check whether --with-build-libsubdir was given.
2830 if test "${with_build_libsubdir+set}" = set; then :
2831 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2833 build_libsubdir
="$build_subdir"
2836 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2837 if ( test $srcdir = .
&& test -d gcc
) \
2838 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2839 host_subdir
="host-${host_noncanonical}"
2844 target_subdir
=${target_noncanonical}
2846 # Be sure to cover against remnants of an in-tree build.
2847 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2848 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2849 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2852 # Skipdirs are removed silently.
2854 # Noconfigdirs are removed loudly.
2858 # Make sure we don't let GNU ld be added if we didn't want it.
2859 if test x
$with_gnu_ld = xno
; then
2861 noconfigdirs
="$noconfigdirs ld gold"
2865 # Make sure we don't let GNU as be added if we didn't want it.
2866 if test x
$with_gnu_as = xno
; then
2868 noconfigdirs
="$noconfigdirs gas"
2872 # Make sure we don't let ZLIB be added if we didn't want it.
2873 if test x
$with_system_zlib = xyes
; then
2874 use_included_zlib
=no
2875 noconfigdirs
="$noconfigdirs zlib"
2878 # some tools are so dependent upon X11 that if we're not building with X,
2879 # it's not even worth trying to configure, much less build, that tool.
2882 yes |
"") ;; # the default value for this tree is that X11 is available
2884 skipdirs
="${skipdirs} tk itcl libgui"
2885 # We won't be able to build gdbtk without X.
2888 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2891 # Some are only suitable for cross toolchains.
2892 # Remove these if host=target.
2893 cross_only
="target-libgloss target-newlib target-opcodes"
2895 case $is_cross_compiler in
2896 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2899 # If both --with-headers and --with-libs are specified, default to
2901 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2902 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2903 if test x
"${with_newlib}" = x
; then
2908 # Recognize --with-newlib/--without-newlib.
2909 case ${with_newlib} in
2910 no
) skipdirs
="${skipdirs} target-newlib" ;;
2911 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2914 # Check whether --enable-as-accelerator-for was given.
2915 if test "${enable_as_accelerator_for+set}" = set; then :
2916 enableval
=$enable_as_accelerator_for;
2920 # Check whether --enable-offload-targets was given.
2921 if test "${enable_offload_targets+set}" = set; then :
2922 enableval
=$enable_offload_targets;
2923 if test x
"$enable_offload_targets" = x
; then
2924 as_fn_error
"no offload targets specified" "$LINENO" 5
2928 enable_offload_targets
=
2932 # Handle --enable-gold, --enable-ld.
2933 # --disable-gold [--enable-ld]
2934 # Build only ld. Default option.
2935 # --enable-gold [--enable-ld]
2936 # Build both gold and ld. Install gold as "ld.gold", install ld
2937 # as "ld.bfd" and "ld".
2938 # --enable-gold=default [--enable-ld]
2939 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2940 # install ld as "ld.bfd".
2941 # --enable-gold[=default] --disable-ld
2942 # Build only gold, which is then installed as both "ld.gold" and "ld".
2943 # --enable-gold --enable-ld=default
2944 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2946 # In other words, ld is default
2947 # --enable-gold=default --enable-ld=default
2951 # Check whether --enable-gold was given.
2952 if test "${enable_gold+set}" = set; then :
2953 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2958 case "${ENABLE_GOLD}" in
2960 # Check for ELF target.
2963 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2964 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2965 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2966 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2968 *-*-linux*aout
* |
*-*-linux*oldld
*)
2976 if test "$is_elf" = "yes"; then
2977 # Check for target supported by gold.
2979 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2980 | aarch64
*-*-* | tilegx
*-*-*)
2981 configdirs
="$configdirs gold"
2982 if test x
${ENABLE_GOLD} = xdefault
; then
2993 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2997 # Check whether --enable-ld was given.
2998 if test "${enable_ld+set}" = set; then :
2999 enableval
=$enable_ld; ENABLE_LD
=$enableval
3005 case "${ENABLE_LD}" in
3007 if test x
${default_ld} != x
; then
3008 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3014 if test x
${ENABLE_GOLD} != xyes
; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3016 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3018 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3021 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3025 # Configure extra directories which are host specific
3029 configdirs
="$configdirs libtermcap" ;;
3032 # A target can indicate whether a language isn't supported for some reason.
3033 # Only spaces may be used in this macro; not newlines or tabs.
3034 unsupported_languages
=
3036 # Remove more programs from consideration, based on the host or
3037 # target this usually means that a port of the program doesn't
3041 i
[3456789]86-*-msdosdjgpp*)
3042 noconfigdirs
="$noconfigdirs tcl tk itcl"
3047 # Check whether --enable-libquadmath was given.
3048 if test "${enable_libquadmath+set}" = set; then :
3049 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3051 ENABLE_LIBQUADMATH
=yes
3054 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3055 noconfigdirs
="$noconfigdirs target-libquadmath"
3059 # Check whether --enable-libquadmath-support was given.
3060 if test "${enable_libquadmath_support+set}" = set; then :
3061 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3063 ENABLE_LIBQUADMATH_SUPPORT
=yes
3066 enable_libquadmath_support
=
3067 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3068 enable_libquadmath_support
=no
3072 # Check whether --enable-libada was given.
3073 if test "${enable_libada+set}" = set; then :
3074 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3079 if test "${ENABLE_LIBADA}" != "yes" ; then
3080 noconfigdirs
="$noconfigdirs gnattools"
3083 # Check whether --enable-libssp was given.
3084 if test "${enable_libssp+set}" = set; then :
3085 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3091 # Check whether --enable-libstdcxx was given.
3092 if test "${enable_libstdcxx+set}" = set; then :
3093 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3095 ENABLE_LIBSTDCXX
=default
3098 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3099 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3102 # If this is accelerator compiler and its target is intelmic we enable
3103 # target liboffloadmic by default. If this is compiler with offloading
3104 # for intelmic we enable host liboffloadmic by default. Otherwise
3105 # liboffloadmic is disabled by default.
3106 # Check whether --enable-liboffloadmic was given.
3107 if test "${enable_liboffloadmic+set}" = set; then :
3108 enableval
=$enable_liboffloadmic; case "$enableval" in
3110 enable_liboffloadmic
=$enableval ;;
3112 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3115 if test x
"$enable_as_accelerator_for" != x
; then
3117 *-intelmic-* |
*-intelmicemul-*)
3118 enable_liboffloadmic
=target
3119 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3122 enable_liboffloadmic
=no
3126 case "${enable_offload_targets}" in
3127 *-intelmic-* |
*-intelmicemul-*)
3128 enable_liboffloadmic
=host
3129 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3132 enable_liboffloadmic
=no
3140 # Save it here so that, even in case of --enable-libgcj, if the Java
3141 # front-end isn't enabled, we still get libgcj disabled.
3142 libgcj_saved
=$libgcj
3143 case $enable_libgcj in
3145 # If we reset it here, it won't get added to noconfigdirs in the
3146 # target-specific build rules, so it will be forcibly enabled
3147 # (unless the Java language itself isn't enabled).
3151 # Make sure we get it printed in the list of not supported target libs.
3152 # Don't disable libffi, though, other languages use it.
3153 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3154 # Clear libgcj_saved so that even if java is enabled libffi won't be
3160 # Check whether --enable-static-libjava was given.
3161 if test "${enable_static_libjava+set}" = set; then :
3162 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3164 ENABLE_STATIC_LIBJAVA
=no
3167 enable_static_libjava
=
3168 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3169 enable_static_libjava
=yes
3172 if test x
$enable_static_libjava != xyes
; then
3173 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3177 posix_based_os
="yes"
3179 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3181 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3183 *-*-solaris2* |
*-*-hpux11*)
3185 *-*-darwin* |
*-*-aix*)
3192 # Enable libgomp by default on POSIX hosted systems.
3193 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3194 # Disable libgomp on non POSIX hosted systems.
3195 noconfigdirs
="$noconfigdirs target-libgomp"
3198 # Enable libgupc by default on POSIX hosted systems.
3199 if test x
$enable_libgupc = x
-a $posix_based_os = "no" ; then
3200 # Disable libgupc on non POSIX hosted systems.
3201 noconfigdirs
="$noconfigdirs target-libgupc"
3204 # Disable libatomic on unsupported systems.
3205 if test -d ${srcdir}/libatomic
; then
3206 if test x
$enable_libatomic = x
; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3208 $as_echo_n "checking for libatomic support... " >&6; }
3209 if (srcdir
=${srcdir}/libatomic
; \
3210 .
${srcdir}/configure.tgt
; \
3211 test -n "$UNSUPPORTED")
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3214 $as_echo "no" >&6; }
3215 noconfigdirs
="$noconfigdirs target-libatomic"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3218 $as_echo "yes" >&6; }
3223 # Disable libcilkrts on unsupported systems.
3224 if test -d ${srcdir}/libcilkrts
; then
3225 if test x
$enable_libcilkrts = x
; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3227 $as_echo_n "checking for libcilkrts support... " >&6; }
3228 if (srcdir
=${srcdir}/libcilkrts
; \
3229 .
${srcdir}/configure.tgt
; \
3230 test -n "$UNSUPPORTED")
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233 $as_echo "no" >&6; }
3234 noconfigdirs
="$noconfigdirs target-libcilkrts"
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3237 $as_echo "yes" >&6; }
3242 # Disable liboffloadmic on unsupported systems.
3243 if test -d ${srcdir}/liboffloadmic
; then
3244 if test x
$enable_liboffloadmic != xno
; then
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3246 $as_echo_n "checking for liboffloadmic support... " >&6; }
3247 if (srcdir
=${srcdir}/liboffloadmic
; \
3248 .
${srcdir}/configure.tgt
; \
3249 test -n "$UNSUPPORTED")
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3252 $as_echo "no" >&6; }
3253 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3256 $as_echo "yes" >&6; }
3261 # Disable libitm on unsupported systems.
3262 if test -d ${srcdir}/libitm
; then
3263 if test x
$enable_libitm = x
; then
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3265 $as_echo_n "checking for libitm support... " >&6; }
3266 if (srcdir
=${srcdir}/libitm
; \
3267 .
${srcdir}/configure.tgt
; \
3268 test -n "$UNSUPPORTED")
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3271 $as_echo "no" >&6; }
3272 noconfigdirs
="$noconfigdirs target-libitm"
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3275 $as_echo "yes" >&6; }
3280 # Disable libsanitizer on unsupported systems.
3281 if test -d ${srcdir}/libsanitizer
; then
3282 if test x
$enable_libsanitizer = x
; then
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3284 $as_echo_n "checking for libsanitizer support... " >&6; }
3285 if (srcdir
=${srcdir}/libsanitizer
; \
3286 .
${srcdir}/configure.tgt
; \
3287 test -n "$UNSUPPORTED")
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3290 $as_echo "no" >&6; }
3291 noconfigdirs
="$noconfigdirs target-libsanitizer"
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3294 $as_echo "yes" >&6; }
3299 # Disable libvtv on unsupported systems.
3300 if test -d ${srcdir}/libvtv
; then
3301 if test x
$enable_libvtv = x
; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3303 $as_echo_n "checking for libvtv support... " >&6; }
3304 if (srcdir
=${srcdir}/libvtv
; \
3305 .
${srcdir}/configure.tgt
; \
3306 test "$VTV_SUPPORTED" != "yes")
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3309 $as_echo "no" >&6; }
3310 noconfigdirs
="$noconfigdirs target-libvtv"
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3313 $as_echo "yes" >&6; }
3318 # Disable libquadmath for some systems.
3321 noconfigdirs
="$noconfigdirs target-libquadmath"
3323 # libquadmath is unused on AIX and libquadmath build process use of
3324 # LD_LIBRARY_PATH can break AIX bootstrap.
3325 powerpc-
*-aix* | rs6000-
*-aix*)
3326 noconfigdirs
="$noconfigdirs target-libquadmath"
3330 # Disable libssp for some systems.
3333 # No hosted I/O support.
3334 noconfigdirs
="$noconfigdirs target-libssp"
3336 powerpc-
*-aix* | rs6000-
*-aix*)
3337 noconfigdirs
="$noconfigdirs target-libssp"
3340 # libssp uses a misaligned load to trigger a fault, but the RL78
3341 # doesn't fault for those - instead, it gives a build-time error
3342 # for explicit misaligned loads.
3343 noconfigdirs
="$noconfigdirs target-libssp"
3346 # No hosted I/O support.
3347 noconfigdirs
="$noconfigdirs target-libssp"
3351 # Disable libstdc++-v3 for some systems.
3352 # Allow user to override this if they pass --enable-libstdc++-v3
3353 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3356 # VxWorks uses the Dinkumware C++ library.
3357 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3360 # the C++ libraries don't build on top of CE's C libraries
3361 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3364 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3369 # Disable Fortran for some systems.
3372 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3373 unsupported_languages
="$unsupported_languages fortran"
3377 # Disable Java if libffi is not supported.
3409 powerpc-
*-aix* | rs6000-
*-aix*)
3413 powerpc64-
*-freebsd*)
3417 s390-
*-* | s390x-
*-*)
3419 sh-
*-* | sh
[34]*-*-*)
3421 sh64-
*-* | sh5
*-*-*)
3428 unsupported_languages
="$unsupported_languages java"
3432 # Disable Java, libgcj or related libraries for some systems.
3436 i
[3456789]86-*-darwin*)
3438 x86_64-
*-darwin[912]*)
3441 noconfigdirs
="$noconfigdirs ${libgcj}"
3444 noconfigdirs
="$noconfigdirs ${libgcj}"
3447 noconfigdirs
="$noconfigdirs ${libgcj}"
3450 noconfigdirs
="$noconfigdirs ${libgcj}"
3453 noconfigdirs
="$noconfigdirs ${libgcj}"
3456 noconfigdirs
="$noconfigdirs ${libgcj}"
3459 noconfigdirs
="$noconfigdirs ${libgcj}"
3462 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3471 noconfigdirs
="$noconfigdirs target-boehm-gc"
3473 cris-
*-* | crisv32-
*-*)
3474 unsupported_languages
="$unsupported_languages java"
3478 *) # See PR46792 regarding target-libffi.
3479 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3483 # In this case, it's because the hppa64-linux target is for
3484 # the kernel only at this point and has no libc, and thus no
3485 # headers, crt*.o, etc., all of which are needed by these.
3486 unsupported_languages
="$unsupported_languages java"
3489 noconfigdirs
="$noconfigdirs ${libgcj}"
3494 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3495 # build on HP-UX 10.20.
3496 noconfigdirs
="$noconfigdirs ${libgcj}"
3499 noconfigdirs
="$noconfigdirs ${libgcj}"
3501 i
[3456789]86-w64-mingw*)
3502 noconfigdirs
="$noconfigdirs ${libgcj}"
3504 i
[3456789]86-*-mingw*)
3505 noconfigdirs
="$noconfigdirs ${libgcj}"
3508 noconfigdirs
="$noconfigdirs ${libgcj}"
3511 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3514 # copied from rs6000-*-* entry
3515 noconfigdirs
="$noconfigdirs ${libgcj}"
3518 noconfigdirs
="$noconfigdirs ${libgcj}"
3521 noconfigdirs
="$noconfigdirs ${libgcj}"
3525 # Disable the go frontend on systems where it is known to not work. Please keep
3526 # this in sync with contrib/config-list.mk.
3528 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3529 unsupported_languages
="$unsupported_languages go"
3533 # Disable libgo for some systems where it is known to not work.
3534 # For testing, you can easily override this with --enable-libgo.
3535 if test x
$enable_libgo = x
; then
3539 noconfigdirs
="$noconfigdirs target-libgo"
3541 *-*-cygwin* |
*-*-mingw*)
3542 noconfigdirs
="$noconfigdirs target-libgo"
3545 noconfigdirs
="$noconfigdirs target-libgo"
3550 # Default libgloss CPU subdirectory.
3551 libgloss_dir
="$target_cpu"
3554 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3558 libgloss_dir
=aarch64
3563 cris-
*-* | crisv32-
*-*)
3572 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3573 libgloss_dir
=m68hc11
3575 m68
*-*-* | fido-
*-*)
3589 # Disable newlib and libgloss for various target OSes.
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 i
[3456789]86-*-linux*)
3595 # This section makes it possible to build newlib natively on linux.
3596 # If we are using a cross compiler then don't configure newlib.
3597 if test x
${is_cross_compiler} != xno
; then
3598 noconfigdirs
="$noconfigdirs target-newlib"
3600 noconfigdirs
="$noconfigdirs target-libgloss"
3601 # If we are not using a cross compiler, do configure newlib.
3602 # Note however, that newlib will only be configured in this situation
3603 # if the --with-newlib option has been given, because otherwise
3604 # 'target-newlib' will appear in skipdirs.
3606 i
[3456789]86-*-rdos*)
3607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3619 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3622 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3625 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3628 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3630 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3631 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3634 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3637 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3640 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3643 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3646 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3649 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3652 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3660 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3661 noconfigdirs
="$noconfigdirs sim target-rda"
3663 i
[3456789]86-*-darwin*)
3664 noconfigdirs
="$noconfigdirs ld gprof"
3665 noconfigdirs
="$noconfigdirs sim target-rda"
3667 x86_64-
*-darwin[912]*)
3668 noconfigdirs
="$noconfigdirs ld gas gprof"
3669 noconfigdirs
="$noconfigdirs sim target-rda"
3672 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3673 noconfigdirs
="$noconfigdirs sim target-rda"
3678 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3679 && test -f /usr
/local
/include
/gmp.h
; then
3684 # Remove unsupported stuff on all kaOS configurations.
3685 noconfigdirs
="$noconfigdirs target-libgloss"
3692 noconfigdirs
="$noconfigdirs target-libgloss"
3693 # this is not caught below because this stanza matches earlier
3695 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3698 # The tpf target doesn't support gdb yet.
3700 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3703 noconfigdirs
="$noconfigdirs target-rda"
3708 # ld works, but does not support shared libraries.
3709 # gas doesn't generate exception information.
3710 noconfigdirs
="$noconfigdirs gas ld"
3713 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3716 # newlib is not 64 bit ready
3717 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3719 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3720 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3723 noconfigdirs
="$noconfigdirs target-libgloss"
3726 noconfigdirs
="$noconfigdirs target-libgloss"
3729 noconfigdirs
="$noconfigdirs ld target-libgloss"
3734 if test x
${with_avrlibc} != xno
; then
3735 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3738 c4x-
*-* | tic4x-
*-*)
3739 noconfigdirs
="$noconfigdirs target-libgloss"
3742 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3745 noconfigdirs
="$noconfigdirs target-libgloss"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 noconfigdirs
="$noconfigdirs gdb"
3754 noconfigdirs
="$noconfigdirs gprof"
3757 noconfigdirs
="$noconfigdirs target-libgloss"
3760 noconfigdirs
="$noconfigdirs target-libgloss"
3762 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3770 hppa
*-*-openbsd* | \
3774 noconfigdirs
="$noconfigdirs ld"
3779 noconfigdirs
="$noconfigdirs ld"
3782 noconfigdirs
="$noconfigdirs gdb"
3785 # No gdb support yet.
3786 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3789 # No ld support yet.
3790 noconfigdirs
="$noconfigdirs libgui itcl ld"
3793 # No ld support yet.
3794 noconfigdirs
="$noconfigdirs libgui itcl ld"
3796 i
[3456789]86-w64-mingw*)
3798 i
[3456789]86-*-mingw*)
3799 target_configdirs
="$target_configdirs target-winsup"
3802 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3803 noconfigdirs
="$noconfigdirs target-libgloss"
3804 # always build newlib if winsup directory is present.
3805 if test -d "$srcdir/winsup/cygwin"; then
3806 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3807 elif test -d "$srcdir/newlib"; then
3808 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3812 noconfigdirs
="$noconfigdirs target-libgloss"
3814 i
[3456789]86-*-sco3.2v5
*)
3815 # The linker does not yet know about weak symbols in COFF,
3816 # and is not configured to handle mixed ELF and COFF.
3817 noconfigdirs
="$noconfigdirs ld target-libgloss"
3819 i
[3456789]86-*-sco*)
3820 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3822 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3823 noconfigdirs
="$noconfigdirs target-libgloss"
3825 i
[3456789]86-*-sysv4*)
3826 noconfigdirs
="$noconfigdirs target-libgloss"
3828 i
[3456789]86-*-beos*)
3829 noconfigdirs
="$noconfigdirs gdb"
3831 i
[3456789]86-*-rdos*)
3832 noconfigdirs
="$noconfigdirs gdb"
3835 noconfigdirs
="$noconfigdirs gdb"
3838 noconfigdirs
="$noconfigdirs sim"
3841 # copied from rs6000-*-* entry
3842 noconfigdirs
="$noconfigdirs gprof"
3844 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3845 target_configdirs
="$target_configdirs target-winsup"
3846 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3847 # always build newlib.
3848 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3850 # This is temporary until we can link against shared libraries
3851 powerpcle-
*-solaris*)
3852 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3855 noconfigdirs
="$noconfigdirs gdb"
3858 noconfigdirs
="$noconfigdirs gprof"
3861 noconfigdirs
="$noconfigdirs gprof"
3864 noconfigdirs
="$noconfigdirs gprof"
3867 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3870 noconfigdirs
="$noconfigdirs gprof"
3872 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3873 if test x
$with_newlib = xyes
; then
3874 noconfigdirs
="$noconfigdirs gprof"
3878 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3881 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3884 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3888 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3889 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3890 noconfigdirs
="$noconfigdirs ld gas gprof"
3893 noconfigdirs
="$noconfigdirs gprof"
3896 noconfigdirs
="$noconfigdirs gdb"
3899 # nvptx is just a compiler
3900 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3903 noconfigdirs
="$noconfigdirs gdb"
3910 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3914 if test x
${is_cross_compiler} = xno
; then
3919 noconfigdirs
="$noconfigdirs sim"
3921 tilepro
*-*-* | tilegx
*-*-*)
3922 noconfigdirs
="$noconfigdirs sim"
3925 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3928 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3932 # If we aren't building newlib, then don't build libgloss, since libgloss
3933 # depends upon some newlib header files.
3934 case "${noconfigdirs}" in
3935 *target-libgloss
*) ;;
3936 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3939 # Work in distributions that contain no compiler tools, like Autoconf.
3940 host_makefile_frag
=/dev
/null
3941 if test -d ${srcdir}/config
; then
3943 i
[3456789]86-*-msdosdjgpp*)
3944 host_makefile_frag
="config/mh-djgpp"
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3949 $as_echo_n "checking to see if cat works as expected... " >&6; }
3950 echo a
>cygwin-cat-check
3951 if test `cat cygwin-cat-check` = a
; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3954 $as_echo "yes" >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3959 as_fn_error
"The cat command does not ignore carriage return characters.
3960 Please either mount the build directory in binary mode or run the following
3961 commands before running any configure script:
3967 host_makefile_frag
="config/mh-cygwin"
3970 host_makefile_frag
="config/mh-mingw"
3973 host_makefile_frag
="config/mh-pa-hpux10"
3976 host_makefile_frag
="config/mh-pa"
3979 host_makefile_frag
="config/mh-pa"
3982 host_makefile_frag
="config/mh-darwin"
3985 host_makefile_frag
="config/mh-ppc-aix"
3988 host_makefile_frag
="config/mh-ppc-aix"
3993 if test "${build}" != "${host}" ; then
3994 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3995 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3996 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3997 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3998 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3999 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4000 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4001 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
4002 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4003 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4004 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4005 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4006 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4007 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4009 AR_FOR_BUILD
="\$(AR)"
4010 AS_FOR_BUILD
="\$(AS)"
4011 CC_FOR_BUILD
="\$(CC)"
4012 CXX_FOR_BUILD
="\$(CXX)"
4013 GCJ_FOR_BUILD
="\$(GCJ)"
4014 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4015 GOC_FOR_BUILD
="\$(GOC)"
4016 GUPC_FOR_BUILD
="\$(GUPC)"
4017 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4018 LD_FOR_BUILD
="\$(LD)"
4019 NM_FOR_BUILD
="\$(NM)"
4020 RANLIB_FOR_BUILD
="\$(RANLIB)"
4021 WINDRES_FOR_BUILD
="\$(WINDRES)"
4022 WINDMC_FOR_BUILD
="\$(WINDMC)"
4026 ac_cpp
='$CPP $CPPFLAGS'
4027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4030 if test -n "$ac_tool_prefix"; then
4031 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4032 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_CC+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$CC"; then
4039 ac_cv_prog_CC
="$CC" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4069 if test -z "$ac_cv_prog_CC"; then
4071 # Extract the first word of "gcc", so it can be a program name with args.
4072 set dummy gcc
; ac_word
=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$ac_ct_CC"; then
4079 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4085 test -z "$as_dir" && as_dir
=.
4086 for ac_exec_ext
in '' $ac_executable_extensions; do
4087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4088 ac_cv_prog_ac_ct_CC
="gcc"
4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4099 if test -n "$ac_ct_CC"; then
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4101 $as_echo "$ac_ct_CC" >&6; }
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104 $as_echo "no" >&6; }
4107 if test "x$ac_ct_CC" = x
; then
4110 case $cross_compiling:$ac_tool_warned in
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4113 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4114 ac_tool_warned
=yes ;;
4122 if test -z "$CC"; then
4123 if test -n "$ac_tool_prefix"; then
4124 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4125 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if test "${ac_cv_prog_CC+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4131 if test -n "$CC"; then
4132 ac_cv_prog_CC
="$CC" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 if test -n "$CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4154 $as_echo "$CC" >&6; }
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4163 if test -z "$CC"; then
4164 # Extract the first word of "cc", so it can be a program name with args.
4165 set dummy cc
; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if test "${ac_cv_prog_CC+set}" = set; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$CC"; then
4172 ac_cv_prog_CC
="$CC" # Let the user override the test.
4175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4179 test -z "$as_dir" && as_dir
=.
4180 for ac_exec_ext
in '' $ac_executable_extensions; do
4181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4182 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4183 ac_prog_rejected
=yes
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 if test $ac_prog_rejected = yes; then
4195 # We found a bogon in the path, so make sure we never use it.
4196 set dummy
$ac_cv_prog_CC
4198 if test $# != 0; then
4199 # We chose a different compiler from the bogus one.
4200 # However, it has the same basename, so the bogon will be chosen
4201 # first if we set CC to just the basename; use the full file name.
4203 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4209 if test -n "$CC"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4211 $as_echo "$CC" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4219 if test -z "$CC"; then
4220 if test -n "$ac_tool_prefix"; then
4221 for ac_prog
in cl.exe
4223 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4224 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if test "${ac_cv_prog_CC+set}" = set; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$CC"; then
4231 ac_cv_prog_CC
="$CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 if test -n "$CC"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4253 $as_echo "$CC" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$CC" && break
4263 if test -z "$CC"; then
4265 for ac_prog
in cl.exe
4267 # Extract the first word of "$ac_prog", so it can be a program name with args.
4268 set dummy
$ac_prog; ac_word
=$2
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4270 $as_echo_n "checking for $ac_word... " >&6; }
4271 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4274 if test -n "$ac_ct_CC"; then
4275 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4281 test -z "$as_dir" && as_dir
=.
4282 for ac_exec_ext
in '' $ac_executable_extensions; do
4283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284 ac_cv_prog_ac_ct_CC
="$ac_prog"
4285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4294 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4295 if test -n "$ac_ct_CC"; then
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4297 $as_echo "$ac_ct_CC" >&6; }
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4300 $as_echo "no" >&6; }
4304 test -n "$ac_ct_CC" && break
4307 if test "x$ac_ct_CC" = x
; then
4310 case $cross_compiling:$ac_tool_warned in
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4314 ac_tool_warned
=yes ;;
4323 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error
"no acceptable C compiler found in \$PATH
4326 See \`config.log' for more details." "$LINENO" 5; }
4328 # Provide some information about the compiler.
4329 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4332 for ac_option
in --version -v -V -qversion; do
4333 { { ac_try
="$ac_compiler $ac_option >&5"
4335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4336 *) ac_try_echo=$ac_try;;
4338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4339 $as_echo "$ac_try_echo"; } >&5
4340 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4342 if test -s conftest.err; then
4344 ... rest of stderr output deleted ...
4345 10q' conftest.err >conftest.er1
4346 cat conftest.er1 >&5
4347 rm -f conftest.er1 conftest.err
4349 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4350 test $ac_status = 0; }
4353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4354 /* end confdefs.h. */
4364 ac_clean_files_save=$ac_clean_files
4365 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4366 # Try to create an executable without -o first, disregard a.out.
4367 # It will help us diagnose broken compilers, and finding out an intuition
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4370 $as_echo_n "checking for C compiler default output file name... " >&6; }
4371 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4373 # The possible output files:
4374 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4377 for ac_file in $ac_files
4380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4381 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4386 if { { ac_try="$ac_link_default"
4388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4389 *) ac_try_echo
=$ac_try;;
4391 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4392 $as_echo "$ac_try_echo"; } >&5
4393 (eval "$ac_link_default") 2>&5
4395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4396 test $ac_status = 0; }; then :
4397 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4398 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4399 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4400 # so that the user can short-circuit this test for compilers unknown to
4402 for ac_file
in $ac_files ''
4404 test -f "$ac_file" ||
continue
4406 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4409 # We found the default executable, but exeext='' is most
4413 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4415 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4417 # We set ac_cv_exeext here because the later test for it is not
4418 # safe: cross compilers may not add the suffix if given an `-o'
4419 # argument, so we may need to know it at that point already.
4420 # Even if this section looks crufty: it has the advantage of
4427 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4433 $as_echo "$ac_file" >&6; }
4434 if test -z "$ac_file"; then :
4435 $as_echo "$as_me: failed program was:" >&5
4436 sed 's/^/| /' conftest.
$ac_ext >&5
4438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4440 { as_fn_set_status
77
4441 as_fn_error
"C compiler cannot create executables
4442 See \`config.log' for more details." "$LINENO" 5; }; }
4444 ac_exeext
=$ac_cv_exeext
4446 # Check that the compiler produces executables we can run. If not, either
4447 # the compiler is broken, or we cross compile.
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4449 $as_echo_n "checking whether the C compiler works... " >&6; }
4450 # If not cross compiling, check that we can run a simple program.
4451 if test "$cross_compiling" != yes; then
4452 if { ac_try
='./$ac_file'
4453 { { case "(($ac_try" in
4454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4455 *) ac_try_echo=$ac_try;;
4457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458 $as_echo "$ac_try_echo"; } >&5
4459 (eval "$ac_try") 2>&5
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }; }; then
4465 if test "$cross_compiling" = maybe; then
4468 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4470 as_fn_error "cannot run C compiled programs.
4471 If you meant to cross compile
, use \
`--host'.
4472 See \`config.log
' for more details." "$LINENO" 5; }
4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4477 $as_echo "yes" >&6; }
4479 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4480 ac_clean_files=$ac_clean_files_save
4481 # Check that the compiler produces executables we can run. If not, either
4482 # the compiler is broken, or we cross compile.
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4484 $as_echo_n "checking whether we are cross compiling... " >&6; }
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4486 $as_echo "$cross_compiling" >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4489 $as_echo_n "checking for suffix of executables... " >&6; }
4490 if { { ac_try="$ac_link"
4492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4493 *) ac_try_echo=$ac_try;;
4495 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4496 $as_echo "$ac_try_echo"; } >&5
4497 (eval "$ac_link") 2>&5
4499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4500 test $ac_status = 0; }; then :
4501 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4502 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4503 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4505 for ac_file
in conftest.exe conftest conftest.
*; do
4506 test -f "$ac_file" ||
continue
4508 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4509 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4517 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4518 See \`config.log' for more details." "$LINENO" 5; }
4520 rm -f conftest
$ac_cv_exeext
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4522 $as_echo "$ac_cv_exeext" >&6; }
4524 rm -f conftest.
$ac_ext
4525 EXEEXT
=$ac_cv_exeext
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4528 $as_echo_n "checking for suffix of object files... " >&6; }
4529 if test "${ac_cv_objext+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
4532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4533 /* end confdefs.h. */
4543 rm -f conftest.o conftest.obj
4544 if { { ac_try
="$ac_compile"
4546 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4550 $as_echo "$ac_try_echo"; } >&5
4551 (eval "$ac_compile") 2>&5
4553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4554 test $ac_status = 0; }; then :
4555 for ac_file in conftest.o conftest.obj conftest.*; do
4556 test -f "$ac_file" || continue;
4558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4559 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4564 $as_echo "$as_me: failed program was:" >&5
4565 sed 's/^/| /' conftest.$ac_ext >&5
4567 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4568 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4569 as_fn_error "cannot compute suffix of object files
: cannot compile
4570 See \
`config.log' for more details." "$LINENO" 5; }
4572 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4575 $as_echo "$ac_cv_objext" >&6; }
4576 OBJEXT=$ac_cv_objext
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4579 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4580 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4584 /* end confdefs.h. */
4597 if ac_fn_c_try_compile "$LINENO"; then :
4602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4603 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4607 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4608 if test $ac_compiler_gnu = yes; then
4613 ac_test_CFLAGS=${CFLAGS+set}
4614 ac_save_CFLAGS=$CFLAGS
4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4616 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4617 if test "${ac_cv_prog_cc_g+set}" = set; then :
4618 $as_echo_n "(cached) " >&6
4620 ac_save_c_werror_flag=$ac_c_werror_flag
4621 ac_c_werror_flag=yes
4624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4625 /* end confdefs.h. */
4635 if ac_fn_c_try_compile "$LINENO"; then :
4639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640 /* end confdefs.h. */
4650 if ac_fn_c_try_compile "$LINENO"; then :
4653 ac_c_werror_flag=$ac_save_c_werror_flag
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4666 if ac_fn_c_try_compile "$LINENO"; then :
4669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 ac_c_werror_flag=$ac_save_c_werror_flag
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4677 $as_echo "$ac_cv_prog_cc_g" >&6; }
4678 if test "$ac_test_CFLAGS" = set; then
4679 CFLAGS=$ac_save_CFLAGS
4680 elif test $ac_cv_prog_cc_g = yes; then
4681 if test "$GCC" = yes; then
4687 if test "$GCC" = yes; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4694 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4695 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 ac_cv_prog_cc_c89=no
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4704 #include <sys/types.h>
4705 #include <sys/stat.h>
4706 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4707 struct buf { int x; };
4708 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4709 static char *e (p, i)
4715 static char *f (char * (*g) (char **, int), char **p, ...)
4720 s = g (p, va_arg (v,int));
4725 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4726 function prototypes and stuff, but not '\xHH' hex character constants.
4727 These don't provoke an error unfortunately, instead are silently treated
4728 as 'x'. The following induces an error, until -std is added to get
4729 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4730 array size at least. It's necessary to write '\x00'==0 to get something
4731 that's true only with -std. */
4732 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4734 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4735 inside strings and character constants. */
4737 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4739 int test (int i, double x);
4740 struct s1 {int (*f) (int a);};
4741 struct s2 {int (*f) (double a);};
4742 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4748 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4753 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4754 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4756 CC="$ac_save_CC $ac_arg"
4757 if ac_fn_c_try_compile "$LINENO"; then :
4758 ac_cv_prog_cc_c89=$ac_arg
4760 rm -f core conftest.err conftest.$ac_objext
4761 test "x$ac_cv_prog_cc_c89" != "xno" && break
4763 rm -f conftest.$ac_ext
4768 case "x$ac_cv_prog_cc_c89" in
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4771 $as_echo "none needed" >&6; } ;;
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4774 $as_echo "unsupported" >&6; } ;;
4776 CC="$CC $ac_cv_prog_cc_c89"
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4778 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4780 if test "x$ac_cv_prog_cc_c89" != xno; then :
4785 ac_cpp='$CPP $CPPFLAGS'
4786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if test "${ac_cv_prog_CXX+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4842 if test -z "$CXX"; then
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4851 $as_echo_n "(cached) " >&6
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4886 if test "x$ac_ct_CXX" = x; then
4889 case $cross_compiling:$ac_tool_warned in
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4908 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4909 *) ac_try_echo
=$ac_try;;
4911 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4915 if test -s conftest.err
; then
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err
>conftest.er1
4919 cat conftest.er1
>&5
4920 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4929 $as_echo_n "(cached) " >&6
4931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4945 if ac_fn_cxx_try_compile
"$LINENO"; then :
4950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4951 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4961 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS
=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4966 $as_echo_n "(cached) " >&6
4968 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag
=yes
4972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4983 if ac_fn_cxx_try_compile
"$LINENO"; then :
4984 ac_cv_prog_cxx_g
=yes
4987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4998 if ac_fn_cxx_try_compile
"$LINENO"; then :
5001 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5014 if ac_fn_cxx_try_compile
"$LINENO"; then :
5015 ac_cv_prog_cxx_g
=yes
5017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5022 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS
=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5035 if test "$GXX" = yes; then
5042 ac_cpp
='$CPP $CPPFLAGS'
5043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5048 # We must set the default linker to the linker used by gcc for the correct
5049 # operation of libtool. If LD is not defined and we are using gcc, try to
5050 # set the LD default to the ld used by gcc.
5051 if test -z "$LD"; then
5052 if test "$GCC" = yes; then
5055 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5057 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5059 case $gcc_prog_ld in
5060 # Accept absolute paths.
5061 [\\/]* |
[A-Za-z
]:[\\/]*)
5062 LD
="$gcc_prog_ld" ;;
5067 # Check whether -static-libstdc++ -static-libgcc is supported.
5069 if test "$GCC" = yes; then
5070 saved_LDFLAGS
="$LDFLAGS"
5072 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5074 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5076 ac_cpp
='$CXXCPP $CPPFLAGS'
5077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5085 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5086 #error -static-libstdc++ not implemented
5090 if ac_fn_cxx_try_link
"$LINENO"; then :
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5092 $as_echo "yes" >&6; }; have_static_libs
=yes
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5095 $as_echo "no" >&6; }
5097 rm -f core conftest.err conftest.
$ac_objext \
5098 conftest
$ac_exeext conftest.
$ac_ext
5100 ac_cpp
='$CPP $CPPFLAGS'
5101 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5102 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5103 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5106 LDFLAGS
="$saved_LDFLAGS"
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5114 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5120 if test -n "$GNATBIND"; then
5121 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 test -z "$as_dir" && as_dir
=.
5128 for ac_exec_ext
in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 GNATBIND
=$ac_cv_prog_GNATBIND
5141 if test -n "$GNATBIND"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5143 $as_echo "$GNATBIND" >&6; }
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5151 if test -z "$ac_cv_prog_GNATBIND"; then
5152 ac_ct_GNATBIND
=$GNATBIND
5153 # Extract the first word of "gnatbind", so it can be a program name with args.
5154 set dummy gnatbind
; ac_word
=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5160 if test -n "$ac_ct_GNATBIND"; then
5161 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir
=.
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5181 if test -n "$ac_ct_GNATBIND"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5183 $as_echo "$ac_ct_GNATBIND" >&6; }
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5189 if test "x$ac_ct_GNATBIND" = x
; then
5192 case $cross_compiling:$ac_tool_warned in
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned
=yes ;;
5198 GNATBIND
=$ac_ct_GNATBIND
5201 GNATBIND
="$ac_cv_prog_GNATBIND"
5204 if test -n "$ac_tool_prefix"; then
5205 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5206 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$GNATMAKE"; then
5213 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 GNATMAKE
=$ac_cv_prog_GNATMAKE
5233 if test -n "$GNATMAKE"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5235 $as_echo "$GNATMAKE" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5243 if test -z "$ac_cv_prog_GNATMAKE"; then
5244 ac_ct_GNATMAKE
=$GNATMAKE
5245 # Extract the first word of "gnatmake", so it can be a program name with args.
5246 set dummy gnatmake
; ac_word
=$2
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5248 $as_echo_n "checking for $ac_word... " >&6; }
5249 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5250 $as_echo_n "(cached) " >&6
5252 if test -n "$ac_ct_GNATMAKE"; then
5253 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5262 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5272 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5273 if test -n "$ac_ct_GNATMAKE"; then
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5275 $as_echo "$ac_ct_GNATMAKE" >&6; }
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5278 $as_echo "no" >&6; }
5281 if test "x$ac_ct_GNATMAKE" = x
; then
5284 case $cross_compiling:$ac_tool_warned in
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5287 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5288 ac_tool_warned
=yes ;;
5290 GNATMAKE
=$ac_ct_GNATMAKE
5293 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5297 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5298 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5299 $as_echo_n "(cached) " >&6
5301 cat >conftest.adb
<<EOF
5302 procedure conftest is begin null; end conftest;
5304 acx_cv_cc_gcc_supports_ada
=no
5305 # There is a bug in old released versions of GCC which causes the
5306 # driver to exit successfully when the appropriate language module
5307 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5308 # Therefore we must check for the error message as well as an
5309 # unsuccessful exit.
5310 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5311 # given a .adb file, but produce no object file. So we must check
5312 # if an object file was really produced to guard against this.
5313 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5314 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5315 acx_cv_cc_gcc_supports_ada
=yes
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5320 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5322 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5329 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5330 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5335 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5336 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5337 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5340 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5343 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5344 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5347 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5354 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5355 do_compare
="$gcc_cv_prog_cmp_skip"
5359 # Check whether --enable-bootstrap was given.
5360 if test "${enable_bootstrap+set}" = set; then :
5361 enableval
=$enable_bootstrap;
5363 enable_bootstrap
=default
5367 # Issue errors and warnings for invalid/strange bootstrap combinations.
5368 if test -r $srcdir/gcc
/configure
; then
5374 case "$have_compiler:$host:$target:$enable_bootstrap" in
5377 # Default behavior. Enable bootstrap if we have a compiler
5378 # and we are in a native configuration.
5379 yes:$build:$build:default
)
5380 enable_bootstrap
=yes ;;
5383 enable_bootstrap
=no
;;
5385 # We have a compiler and we are in a native configuration, bootstrap is ok
5386 yes:$build:$build:yes)
5389 # Other configurations, but we have a compiler. Assume the user knows
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5393 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5396 # No compiler: if they passed --enable-bootstrap explicitly, fail
5398 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5400 # Fail if wrong command line
5402 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5406 # Used for setting $lt_cv_objdir
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5408 $as_echo_n "checking for objdir... " >&6; }
5409 if test "${lt_cv_objdir+set}" = set; then :
5410 $as_echo_n "(cached) " >&6
5412 rm -f .libs
2>/dev
/null
5413 mkdir .libs
2>/dev
/null
5414 if test -d .libs
; then
5417 # MS-DOS does not allow filenames that begin with a dot.
5420 rmdir .libs
2>/dev
/null
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5423 $as_echo "$lt_cv_objdir" >&6; }
5424 objdir
=$lt_cv_objdir
5430 cat >>confdefs.h
<<_ACEOF
5431 #define LT_OBJDIR "$lt_cv_objdir/"
5436 # Check for GMP, MPFR and MPC
5437 gmplibs
="-lmpc -lmpfr -lgmp"
5441 # Specify a location for mpc
5442 # check for this first so it ends up on the link line before mpfr.
5444 # Check whether --with-mpc was given.
5445 if test "${with_mpc+set}" = set; then :
5450 # Check whether --with-mpc-include was given.
5451 if test "${with_mpc_include+set}" = set; then :
5452 withval
=$with_mpc_include;
5456 # Check whether --with-mpc-lib was given.
5457 if test "${with_mpc_lib+set}" = set; then :
5458 withval
=$with_mpc_lib;
5462 if test "x$with_mpc" != x
; then
5463 gmplibs
="-L$with_mpc/lib $gmplibs"
5464 gmpinc
="-I$with_mpc/include $gmpinc"
5466 if test "x$with_mpc_include" != x
; then
5467 gmpinc
="-I$with_mpc_include $gmpinc"
5469 if test "x$with_mpc_lib" != x
; then
5470 gmplibs
="-L$with_mpc_lib $gmplibs"
5472 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5473 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5474 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5475 # Do not test the mpc version. Assume that it is sufficient, since
5476 # it is in the source tree, and the library has not been built yet
5477 # but it would be included on the link line in the version check below
5478 # hence making the test fail.
5482 # Specify a location for mpfr
5483 # check for this first so it ends up on the link line before gmp.
5485 # Check whether --with-mpfr-dir was given.
5486 if test "${with_mpfr_dir+set}" = set; then :
5487 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5488 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5493 # Check whether --with-mpfr was given.
5494 if test "${with_mpfr+set}" = set; then :
5499 # Check whether --with-mpfr-include was given.
5500 if test "${with_mpfr_include+set}" = set; then :
5501 withval
=$with_mpfr_include;
5505 # Check whether --with-mpfr-lib was given.
5506 if test "${with_mpfr_lib+set}" = set; then :
5507 withval
=$with_mpfr_lib;
5511 if test "x$with_mpfr" != x
; then
5512 gmplibs
="-L$with_mpfr/lib $gmplibs"
5513 gmpinc
="-I$with_mpfr/include $gmpinc"
5515 if test "x$with_mpfr_include" != x
; then
5516 gmpinc
="-I$with_mpfr_include $gmpinc"
5518 if test "x$with_mpfr_lib" != x
; then
5519 gmplibs
="-L$with_mpfr_lib $gmplibs"
5521 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5522 # MPFR v3.1.0 moved the sources into a src sub-directory.
5523 if test -d ${srcdir}/mpfr
/src
; then
5524 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5525 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5526 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5528 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5529 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5530 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5532 # Do not test the mpfr version. Assume that it is sufficient, since
5533 # it is in the source tree, and the library has not been built yet
5534 # but it would be included on the link line in the version check below
5535 # hence making the test fail.
5539 # Specify a location for gmp
5541 # Check whether --with-gmp-dir was given.
5542 if test "${with_gmp_dir+set}" = set; then :
5543 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5544 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5549 # Check whether --with-gmp was given.
5550 if test "${with_gmp+set}" = set; then :
5555 # Check whether --with-gmp-include was given.
5556 if test "${with_gmp_include+set}" = set; then :
5557 withval
=$with_gmp_include;
5561 # Check whether --with-gmp-lib was given.
5562 if test "${with_gmp_lib+set}" = set; then :
5563 withval
=$with_gmp_lib;
5568 if test "x$with_gmp" != x
; then
5569 gmplibs
="-L$with_gmp/lib $gmplibs"
5570 gmpinc
="-I$with_gmp/include $gmpinc"
5572 if test "x$with_gmp_include" != x
; then
5573 gmpinc
="-I$with_gmp_include $gmpinc"
5575 if test "x$with_gmp_lib" != x
; then
5576 gmplibs
="-L$with_gmp_lib $gmplibs"
5578 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5579 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5580 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5581 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5582 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5583 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5584 # Do not test the gmp version. Assume that it is sufficient, since
5585 # it is in the source tree, and the library has not been built yet
5586 # but it would be included on the link line in the version check below
5587 # hence making the test fail.
5591 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5593 saved_CFLAGS
="$CFLAGS"
5594 CFLAGS
="$CFLAGS $gmpinc"
5595 # Check for the recommended and required versions of GMP.
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5597 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5606 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5607 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5608 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5616 if ac_fn_c_try_compile
"$LINENO"; then :
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5624 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5625 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5626 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5634 if ac_fn_c_try_compile
"$LINENO"; then :
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5636 $as_echo "yes" >&6; }
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5639 $as_echo "buggy but acceptable" >&6; }
5641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5644 $as_echo "no" >&6; }; have_gmp
=no
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 # If we have GMP, check the MPFR version.
5649 if test x
"$have_gmp" = xyes
; then
5650 # Check for the recommended and required versions of MPFR.
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5652 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5661 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5671 /* end confdefs.h. */
5678 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5686 if ac_fn_c_try_compile
"$LINENO"; then :
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5688 $as_echo "yes" >&6; }
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5691 $as_echo "buggy but acceptable" >&6; }
5693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5696 $as_echo "no" >&6; }; have_gmp
=no
5698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 # Check for the MPC header version.
5702 if test x
"$have_gmp" = xyes
; then
5703 # Check for the recommended and required versions of MPC.
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5705 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5707 /* end confdefs.h. */
5713 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5721 if ac_fn_c_try_compile
"$LINENO"; then :
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5729 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5737 if ac_fn_c_try_compile
"$LINENO"; then :
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5739 $as_echo "yes" >&6; }
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5742 $as_echo "buggy but acceptable" >&6; }
5744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }; have_gmp
=no
5749 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5752 # Now check the MPFR library.
5753 if test x
"$have_gmp" = xyes
; then
5755 LIBS
="$LIBS $gmplibs"
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5757 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5771 mpfr_atan2 (n, n, x, GMP_RNDN);
5772 mpfr_erfc (n, x, GMP_RNDN);
5773 mpfr_subnormalize (x, t, GMP_RNDN);
5777 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5778 mpc_cosh (c, c, MPC_RNDNN);
5779 mpc_pow (c, c, c, MPC_RNDNN);
5780 mpc_acosh (c, c, MPC_RNDNN);
5787 if ac_fn_c_try_link
"$LINENO"; then :
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5789 $as_echo "yes" >&6; }
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }; have_gmp
=no
5794 rm -f core conftest.err conftest.
$ac_objext \
5795 conftest
$ac_exeext conftest.
$ac_ext
5799 CFLAGS
="$saved_CFLAGS"
5801 # The library versions listed in the error message below should match
5802 # the HARD-minimums enforced above.
5803 if test x
$have_gmp != xyes
; then
5804 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5805 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5806 their locations. Source code for these libraries can be found at
5807 their respective hosting sites as well as at
5808 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5809 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5810 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5811 make sure that you have installed both the libraries and the header
5812 files. They may be located in separate packages." "$LINENO" 5
5816 # Flags needed for both GMP, MPFR and/or MPC.
5824 # Allow host libstdc++ to be specified for static linking with PPL.
5826 # Check whether --with-host-libstdcxx was given.
5827 if test "${with_host_libstdcxx+set}" = set; then :
5828 withval
=$with_host_libstdcxx;
5832 case $with_host_libstdcxx in
5834 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5838 # Libraries to use for stage1 or when not bootstrapping.
5840 # Check whether --with-stage1-libs was given.
5841 if test "${with_stage1_libs+set}" = set; then :
5842 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5845 stage1_libs
=$withval
5848 stage1_libs
=$with_host_libstdcxx
5853 # Linker flags to use for stage1 or when not bootstrapping.
5855 # Check whether --with-stage1-ldflags was given.
5856 if test "${with_stage1_ldflags+set}" = set; then :
5857 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5860 stage1_ldflags
=$withval
5864 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5865 # if supported. But if the user explicitly specified the libraries to use,
5866 # trust that they are doing what they want.
5867 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5868 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5874 # Libraries to use for stage2 and later builds. This defaults to the
5875 # argument passed to --with-host-libstdcxx.
5877 # Check whether --with-boot-libs was given.
5878 if test "${with_boot_libs+set}" = set; then :
5879 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5882 poststage1_libs
=$withval
5885 poststage1_libs
=$with_host_libstdcxx
5890 # Linker flags to use for stage2 and later builds.
5892 # Check whether --with-boot-ldflags was given.
5893 if test "${with_boot_ldflags+set}" = set; then :
5894 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5897 poststage1_ldflags
=$withval
5901 # In stages 2 and 3, default to linking libstdc++ and libgcc
5902 # statically. But if the user explicitly specified the libraries to
5903 # use, trust that they are doing what they want.
5904 if test "$poststage1_libs" = ""; then
5905 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5911 # GCC GRAPHITE dependency ISL.
5912 # Basic setup is inlined here, actual checks are in config/isl.m4
5915 # Check whether --with-isl was given.
5916 if test "${with_isl+set}" = set; then :
5921 # Treat --without-isl as a request to disable
5922 # GRAPHITE support and skip all following checks.
5923 if test "x$with_isl" != "xno"; then
5927 # Check whether --with-isl-include was given.
5928 if test "${with_isl_include+set}" = set; then :
5929 withval
=$with_isl_include;
5933 # Check whether --with-isl-lib was given.
5934 if test "${with_isl_lib+set}" = set; then :
5935 withval
=$with_isl_lib;
5939 # Check whether --enable-isl-version-check was given.
5940 if test "${enable_isl_version_check+set}" = set; then :
5941 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5943 ENABLE_ISL_CHECK
=yes
5947 # Initialize isllibs and islinc.
5956 isllibs
="-L$with_isl/lib"
5957 islinc
="-I$with_isl/include"
5960 if test "x${with_isl_include}" != x
; then
5961 islinc
="-I$with_isl_include"
5963 if test "x${with_isl_lib}" != x
; then
5964 isllibs
="-L$with_isl_lib"
5966 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5967 && test -d ${srcdir}/isl
; then
5968 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5969 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5972 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5975 isllibs
="${isllibs} -lisl"
5979 if test "${ENABLE_ISL_CHECK}" = yes ; then
5980 _isl_saved_CFLAGS
=$CFLAGS
5981 _isl_saved_LDFLAGS
=$LDFLAGS
5982 _isl_saved_LIBS
=$LIBS
5984 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5985 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5986 LIBS
="${_isl_saved_LIBS} -lisl"
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5989 $as_echo_n "checking for compatible ISL... " >&6; }
5990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5991 /* end confdefs.h. */
5992 #include <isl/val.h>
6001 if ac_fn_c_try_link
"$LINENO"; then :
6006 rm -f core conftest.err conftest.
$ac_objext \
6007 conftest
$ac_exeext conftest.
$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6009 $as_echo "$gcc_cv_isl" >&6; }
6011 CFLAGS
=$_isl_saved_CFLAGS
6012 LDFLAGS
=$_isl_saved_LDFLAGS
6013 LIBS
=$_isl_saved_LIBS
6021 if test "x${with_isl}" = xno
; then
6022 graphite_requested
=no
6023 elif test "x${with_isl}" != x \
6024 ||
test "x${with_isl_include}" != x \
6025 ||
test "x${with_isl_lib}" != x
; then
6026 graphite_requested
=yes
6028 graphite_requested
=no
6033 if test "${gcc_cv_isl}" = no
; then
6038 if test "${graphite_requested}" = yes \
6039 && test "x${isllibs}" = x \
6040 && test "x${islinc}" = x
; then
6042 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6048 # If the ISL check failed, disable builds of in-tree variant of ISL
6049 if test "x$with_isl" = xno ||
6050 test "x$gcc_cv_isl" = xno
; then
6051 noconfigdirs
="$noconfigdirs isl"
6058 # Check for LTO support.
6059 # Check whether --enable-lto was given.
6060 if test "${enable_lto+set}" = set; then :
6061 enableval
=$enable_lto; enable_lto
=$enableval
6063 enable_lto
=yes; default_enable_lto
=yes
6072 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6073 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6074 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6083 if test $target_elf = yes; then :
6084 # ELF platforms build the lto-plugin always.
6085 build_lto_plugin
=yes
6088 if test x
"$default_enable_lto" = x
"yes" ; then
6090 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6091 # On other non-ELF platforms, LTO has yet to be validated.
6095 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6096 # It would also be nice to check the binutils support, but we don't
6097 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6098 # warn during gcc/ subconfigure; unless you're bootstrapping with
6099 # -flto it won't be needed until after installation anyway.
6101 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6102 *) if test x
"$enable_lto" = x
"yes"; then
6103 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6108 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6109 # Build it unless LTO was explicitly disabled.
6111 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6118 # Check whether --enable-linker-plugin-configure-flags was given.
6119 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6120 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6122 extra_linker_plugin_configure_flags
=
6126 # Check whether --enable-linker-plugin-flags was given.
6127 if test "${enable_linker_plugin_flags+set}" = set; then :
6128 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6130 extra_linker_plugin_flags
=
6136 # By default, C and C++ are the only stage 1 languages.
6137 stage1_languages
=,c
,
6139 # Target libraries that we bootstrap.
6140 bootstrap_target_libs
=,target-libgcc
,
6142 # Figure out what language subdirectories are present.
6143 # Look if the user specified --enable-languages="..."; if not, use
6144 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6146 # NB: embedded tabs in this IF block -- do not untabify
6147 if test -d ${srcdir}/gcc
; then
6148 if test x
"${enable_languages+set}" != xset
; then
6149 if test x
"${LANGUAGES+set}" = xset
; then
6150 enable_languages
="${LANGUAGES}"
6151 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6153 enable_languages
=all
6156 if test x
"${enable_languages}" = x ||
6157 test x
"${enable_languages}" = xyes
;
6159 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6163 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6165 # 'f95' is the old name for the 'fortran' language. We issue a warning
6166 # and make the substitution.
6167 case ,${enable_languages}, in
6169 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6170 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6174 # If bootstrapping, C++ must be enabled.
6175 case ",$enable_languages,:$enable_bootstrap" in
6178 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6179 enable_languages
="${enable_languages},c++"
6181 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6186 # First scan to see if an enabled language requires some other language.
6187 # We assume that a given config-lang.in will list all the language
6188 # front ends it requires, even if some are required indirectly.
6189 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6190 case ${lang_frag} in
6192 # The odd quoting in the next line works around
6193 # an apparent bug in bash 1.12 on linux.
6194 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6196 # From the config-lang.in, get $language, $lang_requires, and
6197 # $lang_requires_boot_languages.
6200 lang_requires_boot_languages
=
6202 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6203 case ,${enable_languages}, in
6207 echo " \`$other' language required by \`$language'; enabling" 1>&2
6208 enable_languages
="${enable_languages},${other}"
6212 for other
in ${lang_requires_boot_languages} ; do
6213 if test "$other" != "c"; then
6214 case ,${enable_stage1_languages}, in
6218 case ,${enable_languages}, in
6220 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6221 enable_stage1_languages
="$enable_stage1_languages,${other}"
6232 new_enable_languages
=,c
,
6234 # If LTO is enabled, add the LTO front end.
6235 if test "$enable_lto" = "yes" ; then
6236 case ,${enable_languages}, in
6238 *) enable_languages
="${enable_languages},lto" ;;
6240 if test "${build_lto_plugin}" = "yes" ; then
6241 configdirs
="$configdirs lto-plugin"
6245 # If we're building an offloading compiler, add the LTO front end.
6246 if test x
"$enable_as_accelerator_for" != x
; then
6247 case ,${enable_languages}, in
6249 *) enable_languages
="${enable_languages},lto" ;;
6253 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6254 potential_languages
=,c
,
6256 enabled_target_libs
=
6257 disabled_target_libs
=
6259 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6260 case ${lang_frag} in
6262 # The odd quoting in the next line works around
6263 # an apparent bug in bash 1.12 on linux.
6264 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6266 # From the config-lang.in, get $language, $target_libs,
6267 # $lang_dirs, $boot_language, and $build_by_default
6273 build_by_default
=yes
6275 if test x
${language} = x
; then
6276 echo "${lang_frag} doesn't set \$language." 1>&2
6280 if test "$language" = "c++"; then
6285 case ,${enable_languages}, in
6287 # Language was explicitly selected; include it
6288 # unless it is C, which is enabled by default.
6289 if test "$language" != "c"; then
6294 # 'all' was selected, select it if it is a default language
6295 if test "$language" != "c"; then
6296 add_this_lang
=${build_by_default}
6301 # Disable languages that need other directories if these aren't available.
6302 for i
in $subdir_requires; do
6303 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6304 case ,${enable_languages}, in
6306 # Specifically requested language; tell them.
6307 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6311 add_this_lang
=unsupported
6316 # Disable Ada if no preexisting GNAT is available.
6317 case ,${enable_languages},:${language}:${have_gnat} in
6318 *,${language},*:ada
:no
)
6319 # Specifically requested language; tell them.
6320 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6324 add_this_lang
=unsupported
6328 # Disable a language that is unsupported by the target.
6329 case " $unsupported_languages " in
6331 add_this_lang
=unsupported
6335 case $add_this_lang in
6337 # Remove language-dependent dirs.
6338 disabled_target_libs
="$disabled_target_libs $target_libs"
6339 noconfigdirs
="$noconfigdirs $lang_dirs"
6342 # Remove language-dependent dirs; still show language as supported.
6343 disabled_target_libs
="$disabled_target_libs $target_libs"
6344 noconfigdirs
="$noconfigdirs $lang_dirs"
6345 potential_languages
="${potential_languages}${language},"
6348 new_enable_languages
="${new_enable_languages}${language},"
6349 potential_languages
="${potential_languages}${language},"
6350 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6351 enabled_target_libs
="$enabled_target_libs $target_libs"
6352 case "${boot_language}:,$enable_stage1_languages," in
6353 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6354 # Add to (comma-separated) list of stage 1 languages.
6355 case ",$stage1_languages," in
6356 *,$language,* |
,yes, |
,all
,) ;;
6357 *) stage1_languages
="${stage1_languages}${language}," ;;
6359 # We need to bootstrap any supporting libraries.
6360 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6369 # Add target libraries which are only needed for disabled languages
6371 if test -n "$disabled_target_libs"; then
6372 for dir
in $disabled_target_libs; do
6373 case " $enabled_target_libs " in
6375 *) noconfigdirs
="$noconfigdirs $dir" ;;
6380 # Check whether --enable-stage1-languages was given.
6381 if test "${enable_stage1_languages+set}" = set; then :
6382 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6384 # Set it to something that will have no effect in the loop below
6385 enable_stage1_languages
=c
;;
6387 enable_stage1_languages
=`echo $new_enable_languages | \
6388 sed -e "s/^,//" -e "s/,$//" ` ;;
6390 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6391 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6394 # Add "good" languages from enable_stage1_languages to stage1_languages,
6395 # while "bad" languages go in missing_languages. Leave no duplicates.
6396 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6397 case $potential_languages in
6399 case $stage1_languages in
6401 *) stage1_languages
="$stage1_languages$i," ;;
6404 case $missing_languages in
6406 *) missing_languages
="$missing_languages$i," ;;
6413 # Remove leading/trailing commas that were added for simplicity
6414 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6415 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6416 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6417 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6419 if test "x$missing_languages" != x
; then
6421 The following requested languages could not be built: ${missing_languages}
6422 Supported languages are: ${potential_languages}" "$LINENO" 5
6424 if test "x$new_enable_languages" != "x$enable_languages"; then
6425 echo The following languages will be built
: ${new_enable_languages}
6426 enable_languages
="$new_enable_languages"
6430 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6433 # Handle --disable-<component> generically.
6434 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6435 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6436 varname
=`echo $dirname | sed -e s/+/_/g`
6437 if eval test x\
${enable_${varname}} "=" xno
; then
6438 noconfigdirs
="$noconfigdirs $dir"
6442 # Check for Boehm's garbage collector
6443 # Check whether --enable-objc-gc was given.
6444 if test "${enable_objc_gc+set}" = set; then :
6445 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6446 *,objc
,*:*:yes:*target-boehm-gc
*)
6447 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6453 # Make sure we only build Boehm's garbage collector if required.
6454 case ,${enable_languages},:${enable_objc_gc} in
6456 # Keep target-boehm-gc if requested for Objective-C.
6459 # Otherwise remove target-boehm-gc depending on target-libjava.
6460 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6461 noconfigdirs
="$noconfigdirs target-boehm-gc"
6467 # Check whether --with-upc-pts was given.
6468 if test "${with_upc_pts+set}" = set; then :
6469 withval
=$with_upc_pts;
6470 if test "$withval"x
!= "struct"x
&& test "$withval"x
!= "packed"x
; then \
6471 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6477 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6478 case ,${enable_languages}, in
6480 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6481 case "${noconfigdirs}" in
6482 *target-libstdc
++-v3*)
6483 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6489 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6493 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6494 # $build_configdirs and $target_configdirs.
6495 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6498 for dir
in .
$skipdirs $noconfigdirs ; do
6499 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6500 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6501 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6502 if test -r $srcdir/$dirname/configure
; then
6503 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6506 notsupp
="$notsupp $dir"
6510 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6511 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6512 if test -r $srcdir/$dirname/configure
; then
6513 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6516 notsupp
="$notsupp $dir"
6520 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6521 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6522 if test -r $srcdir/$dirname/configure
; then
6523 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6526 notsupp
="$notsupp $dir"
6532 # Quietly strip out all directories which aren't configurable in this tree.
6533 # This relies on all configurable subdirectories being autoconfiscated, which
6535 build_configdirs_all
="$build_configdirs"
6537 for i
in ${build_configdirs_all} ; do
6538 j
=`echo $i | sed -e s/build-//g`
6539 if test -f ${srcdir}/$j/configure
; then
6540 build_configdirs
="${build_configdirs} $i"
6544 configdirs_all
="$configdirs"
6546 for i
in ${configdirs_all} ; do
6547 if test -f ${srcdir}/$i/configure
; then
6548 configdirs
="${configdirs} $i"
6552 target_configdirs_all
="$target_configdirs"
6554 for i
in ${target_configdirs_all} ; do
6555 j
=`echo $i | sed -e s/target-//g`
6556 if test -f ${srcdir}/$j/configure
; then
6557 target_configdirs
="${target_configdirs} $i"
6561 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6562 # so we have to add it after the preceding checks.
6563 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6565 case " $configdirs " in
6567 # If we can build libiberty, we can also build libiberty-linker-plugin.
6568 configdirs
="$configdirs libiberty-linker-plugin"
6569 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6570 --with-libiberty=../libiberty-linker-plugin";;
6572 as_fn_error
"libiberty missing" "$LINENO" 5;;
6576 # Sometimes we have special requirements for the host libiberty.
6577 extra_host_libiberty_configure_flags
=
6578 case " $configdirs " in
6579 *" lto-plugin "* |
*" libcc1 "*)
6580 # When these are to be built as shared libraries, the same applies to
6582 extra_host_libiberty_configure_flags
=--enable-shared
6587 # Produce a warning message for the subdirs we can't configure.
6588 # This isn't especially interesting in the Cygnus tree, but in the individual
6589 # FSF releases, it's important to let people know when their machine isn't
6590 # supported by the one or two programs in a package.
6592 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6593 # If $appdirs is non-empty, at least one of those directories must still
6594 # be configured, or we error out. (E.g., if the gas release supports a
6595 # specified target in some subdirs but not the gas subdir, we shouldn't
6596 # pretend that all is well.)
6597 if test -n "$appdirs" ; then
6598 for dir
in $appdirs ; do
6599 if test -r $dir/Makefile.
in ; then
6600 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6604 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6610 if test -n "$appdirs" ; then
6611 echo "*** This configuration is not supported by this package." 1>&2
6615 # Okay, some application will build, or we don't care to check. Still
6616 # notify of subdirs not getting built.
6617 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6618 echo " ${notsupp}" 1>&2
6619 echo " (Any other directories should still work fine.)" 1>&2
6627 # To find our prefix, in gcc_cv_tool_prefix.
6629 # The user is always right.
6630 if test "${PATH_SEPARATOR+set}" != set; then
6631 echo "#! /bin/sh" >conf$$.sh
6632 echo "exit 0" >>conf$$.sh
6634 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6644 if test "x$exec_prefix" = xNONE
; then
6645 if test "x$prefix" = xNONE
; then
6646 gcc_cv_tool_prefix
=$ac_default_prefix
6648 gcc_cv_tool_prefix
=$prefix
6651 gcc_cv_tool_prefix
=$exec_prefix
6654 # If there is no compiler in the tree, use the PATH only. In any
6655 # case, if there is no compiler in the tree nobody should use
6656 # AS_FOR_TARGET and LD_FOR_TARGET.
6657 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6658 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6659 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6660 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6661 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6662 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6663 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6664 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6669 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6670 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6678 # Check whether --with-build-sysroot was given.
6679 if test "${with_build_sysroot+set}" = set; then :
6680 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6681 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6684 SYSROOT_CFLAGS_FOR_TARGET
=
6690 # Check whether --with-debug-prefix-map was given.
6691 if test "${with_debug_prefix_map+set}" = set; then :
6692 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6693 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6694 for debug_map
in $withval; do
6695 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6699 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6704 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6705 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6706 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6707 # We want to ensure that TARGET libraries (which we know are built with
6708 # gcc) are built with "-O2 -g", so include those options when setting
6709 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6710 if test "x$CFLAGS_FOR_TARGET" = x
; then
6711 CFLAGS_FOR_TARGET
=$CFLAGS
6714 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6717 *" -g "* |
*" -g3 "*) ;;
6718 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6723 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6724 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6725 case " $CXXFLAGS " in
6727 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6729 case " $CXXFLAGS " in
6730 *" -g "* |
*" -g3 "*) ;;
6731 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6738 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6739 # the named directory are copied to $(tooldir)/sys-include.
6740 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6741 if test x
${is_cross_compiler} = xno
; then
6742 echo 1>&2 '***' --with-headers is only supported when cross compiling
6745 if test x
"${with_headers}" != xyes
; then
6746 x
=${gcc_cv_tool_prefix}
6747 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6751 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6752 # the name directories are copied to $(tooldir)/lib. Multiple directories
6754 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6755 if test x
${is_cross_compiler} = xno
; then
6756 echo 1>&2 '***' --with-libs is only supported when cross compiling
6759 if test x
"${with_libs}" != xyes
; then
6760 # Copy the libraries in reverse order, so that files in the first named
6761 # library override files in subsequent libraries.
6762 x
=${gcc_cv_tool_prefix}
6763 for l
in ${with_libs}; do
6764 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6769 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6771 # This is done by determining whether or not the appropriate directory
6772 # is available, and by checking whether or not specific configurations
6773 # have requested that this magic not happen.
6775 # The command line options always override the explicit settings in
6776 # configure.in, and the settings in configure.in override this magic.
6778 # If the default for a toolchain is to use GNU as and ld, and you don't
6779 # want to do that, then you should use the --without-gnu-as and
6780 # --without-gnu-ld options for the configure script. Similarly, if
6781 # the default is to use the included zlib and you don't want to do that,
6782 # you should use the --with-system-zlib option for the configure script.
6784 if test x
${use_gnu_as} = x
&&
6785 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6787 extra_host_args
="$extra_host_args --with-gnu-as"
6790 if test x
${use_gnu_ld} = x
&&
6791 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6793 extra_host_args
="$extra_host_args --with-gnu-ld"
6796 if test x
${use_included_zlib} = x
&&
6797 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6800 with_system_zlib
=yes
6801 extra_host_args
="$extra_host_args --with-system-zlib"
6804 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6805 # can detect this case.
6807 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6809 extra_host_args
="$extra_host_args --with-newlib"
6812 # Handle ${copy_dirs}
6813 set fnord
${copy_dirs}
6815 while test $# != 0 ; do
6816 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6819 echo Copying
$1 to
$2
6821 # Use the install script to create the directory and all required
6822 # parent directories.
6823 if test -d $2 ; then
6827 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6830 # Copy the directory, assuming we have tar.
6831 # FIXME: Should we use B in the second tar? Not all systems support it.
6832 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6834 # It is the responsibility of the user to correctly adjust all
6835 # symlinks. If somebody can figure out how to handle them correctly
6836 # here, feel free to add the code.
6843 # Determine a target-dependent exec_prefix that the installed
6844 # gcc will search in. Keep this list sorted by triplet, with
6845 # the *-*-osname triplets last.
6848 i
[34567]86-pc-msdosdjgpp*)
6849 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6854 md_exec_prefix
=/usr
/ccs
/bin
6858 extra_arflags_for_target
=
6859 extra_nmflags_for_target
=
6860 extra_ranlibflags_for_target
=
6861 target_makefile_frag
=/dev
/null
6864 target_makefile_frag
="config/mt-spu"
6866 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6867 target_makefile_frag
="config/mt-sde"
6869 mipsisa
*-*-elfoabi*)
6870 target_makefile_frag
="config/mt-mips-elfoabi"
6872 mips
*-*-*linux
* | mips
*-*-gnu*)
6873 target_makefile_frag
="config/mt-mips-gnu"
6876 target_makefile_frag
="config/mt-nios2-elf"
6878 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6879 target_makefile_frag
="config/mt-gnu"
6881 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6882 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6883 # commands to handle both 32-bit and 64-bit objects. These flags are
6884 # harmless if we're using GNU nm or ar.
6885 extra_arflags_for_target
=" -X32_64"
6886 extra_nmflags_for_target
=" -B -X32_64"
6890 alphaieee_frag
=/dev
/null
6893 # This just makes sure to use the -mieee option to build target libs.
6894 # This should probably be set individually by each library.
6895 alphaieee_frag
="config/mt-alphaieee"
6899 # If --enable-target-optspace always use -Os instead of -O2 to build
6900 # the target libraries, similarly if it is not specified, use -Os
6901 # on selected platforms.
6902 ospace_frag
=/dev
/null
6903 case "${enable_target_optspace}:${target}" in
6905 ospace_frag
="config/mt-ospace"
6908 ospace_frag
="config/mt-d30v"
6910 :m32r-
* |
:d10v-
* |
:fr30-
*)
6911 ospace_frag
="config/mt-ospace"
6916 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6920 # Some systems (e.g., one of the i386-aix systems the gas testers are
6921 # using) don't handle "\$" correctly, so don't use it here.
6922 tooldir
='${exec_prefix}'/${target_noncanonical}
6923 build_tooldir
=${tooldir}
6925 # Create a .gdbinit file which runs the one in srcdir
6926 # and tells GDB to look there for source files.
6928 if test -r ${srcdir}/.gdbinit
; then
6931 *) cat > .
/.gdbinit
<<EOF
6935 source ${srcdir}/.gdbinit
6941 # Make sure that the compiler is able to generate an executable. If it
6942 # can't, we are probably in trouble. We don't care whether we can run the
6943 # executable--we might be using a cross compiler--we only care whether it
6944 # can be created. At this point the main configure script has set CC.
6946 echo "int main () { return 0; }" > conftest.c
6947 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6948 if test $?
= 0 ; then
6949 if test -s conftest ||
test -s conftest.exe
; then
6955 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6956 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6963 # Decide which environment variable is used to find dynamic libraries.
6965 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6966 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6967 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6968 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6971 # On systems where the dynamic library environment variable is PATH,
6972 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6973 # built executables to PATH.
6974 if test "$RPATH_ENVVAR" = PATH
; then
6975 GCC_SHLIB_SUBDIR
=/shlib
6980 # Adjust the toplevel makefile according to whether bootstrap was selected.
6981 case $enable_bootstrap in
6983 bootstrap_suffix
=bootstrap
6984 BUILD_CONFIG
=bootstrap-debug
6987 bootstrap_suffix
=no-bootstrap
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6993 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6996 # Check whether --with-build-config was given.
6997 if test "${with_build_config+set}" = set; then :
6998 withval
=$with_build_config; case $with_build_config in
6999 yes) with_build_config
= ;;
7000 no
) with_build_config
= BUILD_CONFIG
= ;;
7005 if test "x${with_build_config}" != x
; then
7006 BUILD_CONFIG
=$with_build_config
7008 case $BUILD_CONFIG in
7010 if echo "int f (void) { return 0; }" > conftest.c
&&
7011 ${CC} -c conftest.c
&&
7012 mv conftest.o conftest.o.g0
&&
7013 ${CC} -c -g conftest.c
&&
7014 mv conftest.o conftest.o.g
&&
7015 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7020 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7025 $as_echo "$BUILD_CONFIG" >&6; }
7028 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7030 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7031 # Check whether --enable-vtable-verify was given.
7032 if test "${enable_vtable_verify+set}" = set; then :
7033 enableval
=$enable_vtable_verify; case "$enableval" in
7034 yes) enable_vtable_verify
=yes ;;
7035 no
) enable_vtable_verify
=no
;;
7036 *) enable_vtable_verify
=no
;;
7039 enable_vtable_verify
=no
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7043 $as_echo "$enable_vtable_verify" >&6; }
7045 # Record target_configdirs and the configure arguments for target and
7046 # build configuration in Makefile.
7047 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7048 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7049 bootstrap_fixincludes
=no
7051 # If we are building libgomp, bootstrap it.
7052 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7053 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7056 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7057 # or bootstrap-ubsan, bootstrap it.
7058 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7059 case "$BUILD_CONFIG" in
7060 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7061 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7062 bootstrap_fixincludes
=yes
7067 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7068 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7069 test "$enable_vtable_verify" != no
; then
7070 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7073 # Determine whether gdb needs tk/tcl or not.
7074 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7075 # and in that case we want gdb to be built without tk. Ugh!
7076 # In fact I believe gdb is the *only* package directly dependent on tk,
7077 # so we should be able to put the 'maybe's in unconditionally and
7078 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7079 # 100% sure that that's safe though.
7081 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7082 case "$enable_gdbtk" in
7086 GDB_TK
="${gdb_tk}" ;;
7088 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7089 # distro. Eventually someone will fix this and move Insight, nee
7090 # gdbtk to a separate directory.
7091 if test -d ${srcdir}/gdb
/gdbtk
; then
7098 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7099 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7101 # Strip out unwanted targets.
7103 # While at that, we remove Makefiles if we were started for recursive
7104 # configuration, so that the top-level Makefile reconfigures them,
7105 # like we used to do when configure itself was recursive.
7107 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7108 # but now we're fixing up the Makefile ourselves with the additional
7109 # commands passed to AC_CONFIG_FILES. Use separate variables
7110 # extrasub-{build,host,target} not because there is any reason to split
7111 # the substitutions up that way, but only to remain below the limit of
7112 # 99 commands in a script, for HP-UX sed.
7113 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7115 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7116 yes:yes:*\ gold\
*:*,c
++,*) ;;
7117 yes:yes:*\ gold\
*:*)
7118 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7123 for module
in ${build_configdirs} ; do
7124 if test -z "${no_recursion}" \
7125 && test -f ${build_subdir}/${module}/Makefile
; then
7126 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7127 rm -f ${build_subdir}/${module}/Makefile
7129 extrasub_build
="$extrasub_build
7130 /^@if build-$module\$/d
7131 /^@endif build-$module\$/d
7132 /^@if build-$module-$bootstrap_suffix\$/d
7133 /^@endif build-$module-$bootstrap_suffix\$/d"
7136 for module
in ${configdirs} ; do
7137 if test -z "${no_recursion}"; then
7138 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7139 if test -f ${file}; then
7140 echo 1>&2 "*** removing ${file} to force reconfigure"
7145 case ${module},${bootstrap_fixincludes} in
7146 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7147 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7149 extrasub_host
="$extrasub_host
7151 /^@endif $module\$/d
7152 /^@if $module-$host_bootstrap_suffix\$/d
7153 /^@endif $module-$host_bootstrap_suffix\$/d"
7156 for module
in ${target_configdirs} ; do
7157 if test -z "${no_recursion}" \
7158 && test -f ${target_subdir}/${module}/Makefile
; then
7159 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7160 rm -f ${target_subdir}/${module}/Makefile
7163 # We only bootstrap target libraries listed in bootstrap_target_libs.
7164 case $bootstrap_target_libs in
7165 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7166 *) target_bootstrap_suffix
=no-bootstrap
;;
7169 extrasub_target
="$extrasub_target
7170 /^@if target-$module\$/d
7171 /^@endif target-$module\$/d
7172 /^@if target-$module-$target_bootstrap_suffix\$/d
7173 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7176 # Do the final fixup along with target modules.
7177 extrasub_target
="$extrasub_target
7178 /^@if /,/^@endif /d"
7180 # Create the serialization dependencies. This uses a temporary file.
7182 # Check whether --enable-serial-configure was given.
7183 if test "${enable_serial_configure+set}" = set; then :
7184 enableval
=$enable_serial_configure;
7188 case ${enable_serial_configure} in
7190 enable_serial_build_configure
=yes
7191 enable_serial_host_configure
=yes
7192 enable_serial_target_configure
=yes
7196 # These force 'configure's to be done one at a time, to avoid problems
7197 # with contention over a shared config.cache.
7199 echo '# serdep.tmp' > serdep.tmp
7201 test "x${enable_serial_build_configure}" = xyes
&&
7202 for item
in ${build_configdirs} ; do
7205 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7210 test "x${enable_serial_host_configure}" = xyes
&&
7211 for item
in ${configdirs} ; do
7214 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7219 test "x${enable_serial_target_configure}" = xyes
&&
7220 for item
in ${target_configdirs} ; do
7223 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7227 serialization_dependencies
=serdep.tmp
7230 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7231 # target, nonopt, and variable assignments. These are the ones we
7232 # might not want to pass down to subconfigures. The exception being
7233 # --cache-file=/dev/null, which is used to turn off the use of cache
7234 # files altogether, and which should be passed on to subconfigures.
7235 # Also strip program-prefix, program-suffix, and program-transform-name,
7236 # so that we can pass down a consistent program-transform-name.
7241 eval "set -- $ac_configure_args"
7244 if test X
"$skip_next" = X
"yes"; then
7248 if test X
"$keep_next" = X
"yes"; then
7251 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7253 baseargs
="$baseargs '$ac_arg'"
7254 tbaseargs
="$tbaseargs '$ac_arg'"
7259 # Handle separated arguments. Based on the logic generated by
7262 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7263 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7264 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7265 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7279 --with-* |
--without-*)
7280 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7284 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7287 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7296 mpc | mpfr | gmp | isl
)
7297 # If we're processing --with-$lib, --with-$lib-include or
7298 # --with-$lib-lib, for one of the libs above, and target is
7299 # different from host, don't pass the current argument to any
7300 # target library's configure.
7301 if test x
$is_cross_compiler = xyes
; then
7310 --cache-file=/dev
/null | \
7311 -cache-file=/dev
/null
)
7312 # Handled here to avoid the test to skip args below.
7313 baseargs
="$baseargs '$ac_arg'"
7314 tbaseargs
="$tbaseargs '$ac_arg'"
7315 # Assert: $separate_arg should always be no.
7316 keep_next
=$separate_arg
7332 -program-prefix* | \
7333 -program-suffix* | \
7334 -program-transform-name* )
7335 skip_next
=$separate_arg
7339 # An option. Add it.
7342 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7344 baseargs
="$baseargs '$ac_arg'"
7345 if test X
"$skip_targ" = Xno
; then
7346 tbaseargs
="$tbaseargs '$ac_arg'"
7348 keep_next
=$separate_arg
7351 # Either a variable assignment, or a nonopt (triplet). Don't
7352 # pass it down; let the Makefile handle this.
7357 # Remove the initial space we just introduced and, as these will be
7358 # expanded by make, quote '$'.
7359 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7361 # Add in --program-transform-name, after --program-prefix and
7362 # --program-suffix have been applied to it. Autoconf has already
7363 # doubled dollar signs and backslashes in program_transform_name; we want
7364 # the backslashes un-doubled, and then the entire thing wrapped in single
7365 # quotes, because this will be expanded first by make and then by the shell.
7366 # Also, because we want to override the logic in subdir configure scripts to
7367 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7368 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7369 ${program_transform_name}
7371 gcc_transform_name
=`cat conftestsed.out`
7372 rm -f conftestsed.out
7373 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7374 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7375 if test "$silent" = yes; then
7376 baseargs
="$baseargs --silent"
7377 tbaseargs
="$tbaseargs --silent"
7379 baseargs
="$baseargs --disable-option-checking"
7380 tbaseargs
="$tbaseargs --disable-option-checking"
7382 # Record and document user additions to sub configure arguments.
7387 # For the build-side libraries, we just need to pretend we're native,
7388 # and not use the same cache file. Multilibs are neither needed nor
7389 # desired. We can't even use the same cache file for all build-side
7390 # libraries, as they're compiled differently; some with C, some with
7391 # C++ or with different feature-enabling options.
7392 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7394 # For host modules, accept cache file option, or specification as blank.
7395 case "${cache_file}" in
7397 cache_file_option
="" ;;
7398 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7399 cache_file_option
="--cache-file=${cache_file}" ;;
7401 cache_file_option
="--cache-file=../${cache_file}" ;;
7404 # Host dirs don't like to share a cache file either, horribly enough.
7405 # This seems to be due to autoconf 2.5x stupidity.
7406 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7408 target_configargs
="$target_configargs ${tbaseargs}"
7410 # Passing a --with-cross-host argument lets the target libraries know
7411 # whether they are being built with a cross-compiler or being built
7412 # native. However, it would be better to use other mechanisms to make the
7413 # sorts of decisions they want to make on this basis. Please consider
7414 # this option to be deprecated. FIXME.
7415 if test x
${is_cross_compiler} = xyes
; then
7416 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7419 # Special user-friendly check for native x86_64-linux build, if
7420 # multilib is not explicitly enabled.
7421 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7422 x86_64-
*linux
*:yes:$build:$build:)
7423 # Make sure we have a developement environment that handles 32-bit
7425 echo "int main () { return 0; }" > conftest.c
7426 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7427 if test $?
= 0 ; then
7428 if test -s conftest ||
test -s conftest.exe
; then
7433 if test x
${dev64} != xyes
; then
7434 as_fn_error
"I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7439 # Default to --enable-multilib.
7440 if test x
${enable_multilib} = x
; then
7441 target_configargs
="--enable-multilib ${target_configargs}"
7444 # Pass --with-newlib if appropriate. Note that target_configdirs has
7445 # changed from the earlier setting of with_newlib.
7446 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7447 target_configargs
="--with-newlib ${target_configargs}"
7450 # Different target subdirs use different values of certain variables
7451 # (notably CXX). Worse, multilibs use *lots* of different values.
7452 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7453 # it doesn't automatically accept command-line overrides of them.
7454 # This means it's not safe for target subdirs to share a cache file,
7455 # which is disgusting, but there you have it. Hopefully this can be
7456 # fixed in future. It's still worthwhile to use a cache file for each
7457 # directory. I think.
7459 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7460 # We need to pass --target, as newer autoconf's requires consistency
7461 # for target_alias and gcc doesn't manage it consistently.
7462 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7465 case " $target_configdirs " in
7467 case " $target_configargs " in
7468 *" --with-newlib "*)
7471 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7475 # If we're not building GCC, don't discard standard headers.
7476 if test -d ${srcdir}/gcc
; then
7477 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7479 if test "${build}" != "${host}"; then
7480 # On Canadian crosses, CC_FOR_TARGET will have already been set
7481 # by `configure', so we won't have an opportunity to add -Bgcc/
7482 # to it. This is right: we don't want to search that directory
7483 # for binaries, but we want the header files in there, so add
7485 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7487 # Someone might think of using the pre-installed headers on
7488 # Canadian crosses, in case the installed compiler is not fully
7489 # compatible with the compiler being built. In this case, it
7490 # would be better to flag an error than risking having
7491 # incompatible object files being constructed. We can't
7492 # guarantee that an error will be flagged, but let's hope the
7493 # compiler will do it, when presented with incompatible header
7498 case "${target}-${is_cross_compiler}" in
7499 i
[3456789]86-*-linux*-no)
7500 # Here host == target, so we don't need to build gcc,
7501 # so we don't want to discard standard headers.
7502 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7505 # If we're building newlib, use its generic headers last, but search
7506 # for any libc-related directories first (so make it the last -B
7508 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7510 # If we're building libgloss, find the startup file, simulator library
7511 # and linker script.
7512 case " $target_configdirs " in
7514 # Look for startup file, simulator library and maybe linker script.
7515 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7516 # Look for libnosys.a in case the target needs it.
7517 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7518 # Most targets have the linker script in the source directory.
7519 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7530 x86_64-
*mingw
* |
*-w64-mingw*)
7531 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7532 # however, use a symlink named 'mingw' in ${prefix} .
7533 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7536 # MinGW can't be handled as Cygwin above since it does not use newlib.
7537 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'
7541 # Allow the user to override the flags for
7542 # our build compiler if desired.
7543 if test x
"${build}" = x
"${host}" ; then
7544 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7545 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7546 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7549 # On Canadian crosses, we'll be searching the right directories for
7550 # the previously-installed cross compiler, so don't bother to add
7551 # flags for directories within the install tree of the compiler
7552 # being built; programs in there won't even run.
7553 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7554 # Search for pre-installed headers if nothing else fits.
7555 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7558 if test "x
${use_gnu_ld}" = x &&
7559 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7560 # Arrange for us to find uninstalled linker scripts.
7561 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7564 # Search for other target-specific linker scripts and such.
7567 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7571 # UPC linker script check
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7573 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7574 # Check whether --enable-upc-link-script was given.
7575 if test "${enable_upc_link_script+set}" = set; then :
7576 enableval=$enable_upc_link_script;
7580 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7586 if test x${use_gnu_ld} != xno ; then
7588 # disable linker script for Apple Mac OS X
7590 enable_upc_link_script=no
7593 enable_upc_link_script=yes
7597 enable_upc_link_script=no
7599 if test "$enable_upc_link_script" = yes; then
7600 target_configargs="${target_configargs} --enable-upc-link-script"
7601 host_configargs="${host_configargs} --enable-upc-link-script"
7606 if test "$enable_upc_link_script" = yes; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7608 $as_echo "yes" >&6; };
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7611 $as_echo "no
" >&6; };
7615 # Makefile fragments.
7616 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7618 eval fragval=\$$frag
7619 if test $fragval != /dev/null; then
7620 eval $frag=${srcdir}/$fragval
7628 # Miscellanea: directories, flags, etc.
7637 # Build module lists & subconfigure args.
7641 # Host module lists & subconfigure args.
7646 # Target module lists & subconfigure args.
7669 # Generate default definitions for YACC, M4, LEX and other programs that run
7670 # on the build machine. These are used if the Makefile can't locate these
7671 # programs in objdir.
7672 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7674 for ac_prog in 'bison -y' byacc yacc
7676 # Extract the first word of "$ac_prog", so it can be a program name with args.
7677 set dummy $ac_prog; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7679 $as_echo_n "checking
for $ac_word...
" >&6; }
7680 if test "${ac_cv_prog_YACC+set}" = set; then :
7681 $as_echo_n "(cached
) " >&6
7683 if test -n "$YACC"; then
7684 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_YACC="$ac_prog"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7703 YACC=$ac_cv_prog_YACC
7704 if test -n "$YACC"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7706 $as_echo "$YACC" >&6; }
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7709 $as_echo "no
" >&6; }
7713 test -n "$YACC" && break
7715 test -n "$YACC" || YACC="$MISSING bison
-y"
7717 case " $build_configdirs " in
7718 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7721 for ac_prog in bison
7723 # Extract the first word of "$ac_prog", so it can be a program name with args.
7724 set dummy $ac_prog; ac_word=$2
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7726 $as_echo_n "checking
for $ac_word...
" >&6; }
7727 if test "${ac_cv_prog_BISON+set}" = set; then :
7728 $as_echo_n "(cached
) " >&6
7730 if test -n "$BISON"; then
7731 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7737 test -z "$as_dir" && as_dir=.
7738 for ac_exec_ext in '' $ac_executable_extensions; do
7739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7740 ac_cv_prog_BISON="$ac_prog"
7741 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7750 BISON=$ac_cv_prog_BISON
7751 if test -n "$BISON"; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7753 $as_echo "$BISON" >&6; }
7755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7756 $as_echo "no
" >&6; }
7760 test -n "$BISON" && break
7762 test -n "$BISON" || BISON="$MISSING bison
"
7764 case " $build_configdirs " in
7765 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7768 for ac_prog in gm4 gnum4 m4
7770 # Extract the first word of "$ac_prog", so it can be a program name with args.
7771 set dummy $ac_prog; ac_word=$2
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7773 $as_echo_n "checking
for $ac_word...
" >&6; }
7774 if test "${ac_cv_prog_M4+set}" = set; then :
7775 $as_echo_n "(cached
) " >&6
7777 if test -n "$M4"; then
7778 ac_cv_prog_M4="$M4" # Let the user override the test.
7780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7784 test -z "$as_dir" && as_dir=.
7785 for ac_exec_ext in '' $ac_executable_extensions; do
7786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7787 ac_cv_prog_M4="$ac_prog"
7788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7798 if test -n "$M4"; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7800 $as_echo "$M4" >&6; }
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7803 $as_echo "no
" >&6; }
7807 test -n "$M4" && break
7809 test -n "$M4" || M4="$MISSING m4"
7811 case " $build_configdirs " in
7812 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7815 for ac_prog in flex lex
7817 # Extract the first word of "$ac_prog", so it can be a program name with args.
7818 set dummy $ac_prog; ac_word=$2
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7820 $as_echo_n "checking
for $ac_word...
" >&6; }
7821 if test "${ac_cv_prog_LEX+set}" = set; then :
7822 $as_echo_n "(cached
) " >&6
7824 if test -n "$LEX"; then
7825 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_LEX="$ac_prog"
7835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7845 if test -n "$LEX"; then
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7847 $as_echo "$LEX" >&6; }
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7850 $as_echo "no
" >&6; }
7854 test -n "$LEX" && break
7856 test -n "$LEX" || LEX="$MISSING flex
"
7858 case " $build_configdirs " in
7859 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7860 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7865 # Extract the first word of "$ac_prog", so it can be a program name with args.
7866 set dummy $ac_prog; ac_word=$2
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7868 $as_echo_n "checking
for $ac_word...
" >&6; }
7869 if test "${ac_cv_prog_FLEX+set}" = set; then :
7870 $as_echo_n "(cached
) " >&6
7872 if test -n "$FLEX"; then
7873 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7879 test -z "$as_dir" && as_dir=.
7880 for ac_exec_ext in '' $ac_executable_extensions; do
7881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7882 ac_cv_prog_FLEX="$ac_prog"
7883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7892 FLEX=$ac_cv_prog_FLEX
7893 if test -n "$FLEX"; then
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7895 $as_echo "$FLEX" >&6; }
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7898 $as_echo "no
" >&6; }
7902 test -n "$FLEX" && break
7904 test -n "$FLEX" || FLEX="$MISSING flex
"
7906 case " $build_configdirs " in
7907 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7910 for ac_prog in makeinfo
7912 # Extract the first word of "$ac_prog", so it can be a program name with args.
7913 set dummy $ac_prog; ac_word=$2
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7915 $as_echo_n "checking
for $ac_word...
" >&6; }
7916 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7917 $as_echo_n "(cached
) " >&6
7919 if test -n "$MAKEINFO"; then
7920 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_MAKEINFO="$ac_prog"
7930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7939 MAKEINFO=$ac_cv_prog_MAKEINFO
7940 if test -n "$MAKEINFO"; then
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7942 $as_echo "$MAKEINFO" >&6; }
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7945 $as_echo "no
" >&6; }
7949 test -n "$MAKEINFO" && break
7951 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7953 case " $build_configdirs " in
7954 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7957 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7958 # higher, else we use the "missing
" dummy.
7959 if ${MAKEINFO} --version \
7960 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7963 MAKEINFO="$MISSING makeinfo
"
7969 # FIXME: expect and dejagnu may become build tools?
7971 for ac_prog in expect
7973 # Extract the first word of "$ac_prog", so it can be a program name with args.
7974 set dummy $ac_prog; ac_word=$2
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7976 $as_echo_n "checking
for $ac_word...
" >&6; }
7977 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7978 $as_echo_n "(cached
) " >&6
7980 if test -n "$EXPECT"; then
7981 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7987 test -z "$as_dir" && as_dir=.
7988 for ac_exec_ext in '' $ac_executable_extensions; do
7989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7990 ac_cv_prog_EXPECT="$ac_prog"
7991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8000 EXPECT=$ac_cv_prog_EXPECT
8001 if test -n "$EXPECT"; then
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8003 $as_echo "$EXPECT" >&6; }
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8006 $as_echo "no
" >&6; }
8010 test -n "$EXPECT" && break
8012 test -n "$EXPECT" || EXPECT="expect
"
8014 case " $configdirs " in
8016 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8020 for ac_prog in runtest
8022 # Extract the first word of "$ac_prog", so it can be a program name with args.
8023 set dummy $ac_prog; ac_word=$2
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8025 $as_echo_n "checking
for $ac_word...
" >&6; }
8026 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8027 $as_echo_n "(cached
) " >&6
8029 if test -n "$RUNTEST"; then
8030 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039 ac_cv_prog_RUNTEST="$ac_prog"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8049 RUNTEST=$ac_cv_prog_RUNTEST
8050 if test -n "$RUNTEST"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8052 $as_echo "$RUNTEST" >&6; }
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8055 $as_echo "no
" >&6; }
8059 test -n "$RUNTEST" && break
8061 test -n "$RUNTEST" || RUNTEST="runtest
"
8063 case " $configdirs " in
8065 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8072 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8073 ncn_target_tool_prefix=
8074 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8078 if test -n "$AR"; then
8080 elif test -n "$ac_cv_prog_AR"; then
8084 if test -n "$ac_cv_prog_AR"; then
8085 for ncn_progname in ar; do
8086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8087 set dummy ${ncn_progname}; ac_word=$2
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8089 $as_echo_n "checking
for $ac_word...
" >&6; }
8090 if test "${ac_cv_prog_AR+set}" = set; then :
8091 $as_echo_n "(cached
) " >&6
8093 if test -n "$AR"; then
8094 ac_cv_prog_AR="$AR" # Let the user override the test.
8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 test -z "$as_dir" && as_dir=.
8101 for ac_exec_ext in '' $ac_executable_extensions; do
8102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8103 ac_cv_prog_AR="${ncn_progname}"
8104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8114 if test -n "$AR"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8116 $as_echo "$AR" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8119 $as_echo "no
" >&6; }
8126 for ncn_progname in ar; do
8127 if test -n "$ncn_tool_prefix"; then
8128 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8129 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8131 $as_echo_n "checking
for $ac_word...
" >&6; }
8132 if test "${ac_cv_prog_AR+set}" = set; then :
8133 $as_echo_n "(cached
) " >&6
8135 if test -n "$AR"; then
8136 ac_cv_prog_AR="$AR" # Let the user override the test.
8138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8142 test -z "$as_dir" && as_dir=.
8143 for ac_exec_ext in '' $ac_executable_extensions; do
8144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8145 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8146 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8156 if test -n "$AR"; then
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8158 $as_echo "$AR" >&6; }
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8161 $as_echo "no
" >&6; }
8166 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8168 set dummy ${ncn_progname}; ac_word=$2
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8170 $as_echo_n "checking
for $ac_word...
" >&6; }
8171 if test "${ac_cv_prog_AR+set}" = set; then :
8172 $as_echo_n "(cached
) " >&6
8174 if test -n "$AR"; then
8175 ac_cv_prog_AR="$AR" # Let the user override the test.
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 test -z "$as_dir" && as_dir=.
8182 for ac_exec_ext in '' $ac_executable_extensions; do
8183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8184 ac_cv_prog_AR="${ncn_progname}"
8185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8195 if test -n "$AR"; then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8197 $as_echo "$AR" >&6; }
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8200 $as_echo "no
" >&6; }
8205 test -n "$ac_cv_prog_AR" && break
8208 if test -z "$ac_cv_prog_AR" ; then
8210 if test $build = $host ; then
8213 AR="${ncn_tool_prefix}$2"
8219 if test -n "$AS"; then
8221 elif test -n "$ac_cv_prog_AS"; then
8225 if test -n "$ac_cv_prog_AS"; then
8226 for ncn_progname in as; do
8227 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8228 set dummy ${ncn_progname}; ac_word=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8230 $as_echo_n "checking
for $ac_word...
" >&6; }
8231 if test "${ac_cv_prog_AS+set}" = set; then :
8232 $as_echo_n "(cached
) " >&6
8234 if test -n "$AS"; then
8235 ac_cv_prog_AS="$AS" # Let the user override the test.
8237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir=.
8242 for ac_exec_ext in '' $ac_executable_extensions; do
8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244 ac_cv_prog_AS="${ncn_progname}"
8245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8255 if test -n "$AS"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8257 $as_echo "$AS" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8260 $as_echo "no
" >&6; }
8267 for ncn_progname in as; do
8268 if test -n "$ncn_tool_prefix"; then
8269 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8270 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8272 $as_echo_n "checking
for $ac_word...
" >&6; }
8273 if test "${ac_cv_prog_AS+set}" = set; then :
8274 $as_echo_n "(cached
) " >&6
8276 if test -n "$AS"; then
8277 ac_cv_prog_AS="$AS" # Let the user override the test.
8279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 test -z "$as_dir" && as_dir=.
8284 for ac_exec_ext in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8297 if test -n "$AS"; then
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8299 $as_echo "$AS" >&6; }
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8302 $as_echo "no
" >&6; }
8307 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8308 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8309 set dummy ${ncn_progname}; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8311 $as_echo_n "checking
for $ac_word...
" >&6; }
8312 if test "${ac_cv_prog_AS+set}" = set; then :
8313 $as_echo_n "(cached
) " >&6
8315 if test -n "$AS"; then
8316 ac_cv_prog_AS="$AS" # Let the user override the test.
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8325 ac_cv_prog_AS="${ncn_progname}"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8336 if test -n "$AS"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8338 $as_echo "$AS" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8341 $as_echo "no
" >&6; }
8346 test -n "$ac_cv_prog_AS" && break
8349 if test -z "$ac_cv_prog_AS" ; then
8351 if test $build = $host ; then
8354 AS="${ncn_tool_prefix}$2"
8360 if test -n "$DLLTOOL"; then
8361 ac_cv_prog_DLLTOOL=$DLLTOOL
8362 elif test -n "$ac_cv_prog_DLLTOOL"; then
8363 DLLTOOL=$ac_cv_prog_DLLTOOL
8366 if test -n "$ac_cv_prog_DLLTOOL"; then
8367 for ncn_progname in dlltool; do
8368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8369 set dummy ${ncn_progname}; ac_word=$2
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8371 $as_echo_n "checking
for $ac_word...
" >&6; }
8372 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8373 $as_echo_n "(cached
) " >&6
8375 if test -n "$DLLTOOL"; then
8376 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8382 test -z "$as_dir" && as_dir=.
8383 for ac_exec_ext in '' $ac_executable_extensions; do
8384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8385 ac_cv_prog_DLLTOOL="${ncn_progname}"
8386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8395 DLLTOOL=$ac_cv_prog_DLLTOOL
8396 if test -n "$DLLTOOL"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8398 $as_echo "$DLLTOOL" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8401 $as_echo "no
" >&6; }
8408 for ncn_progname in dlltool; do
8409 if test -n "$ncn_tool_prefix"; then
8410 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8411 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8413 $as_echo_n "checking
for $ac_word...
" >&6; }
8414 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8415 $as_echo_n "(cached
) " >&6
8417 if test -n "$DLLTOOL"; then
8418 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8424 test -z "$as_dir" && as_dir=.
8425 for ac_exec_ext in '' $ac_executable_extensions; do
8426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8427 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8437 DLLTOOL=$ac_cv_prog_DLLTOOL
8438 if test -n "$DLLTOOL"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8440 $as_echo "$DLLTOOL" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8443 $as_echo "no
" >&6; }
8448 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8450 set dummy ${ncn_progname}; ac_word=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8452 $as_echo_n "checking
for $ac_word...
" >&6; }
8453 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8454 $as_echo_n "(cached
) " >&6
8456 if test -n "$DLLTOOL"; then
8457 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir=.
8464 for ac_exec_ext in '' $ac_executable_extensions; do
8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8466 ac_cv_prog_DLLTOOL="${ncn_progname}"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8476 DLLTOOL=$ac_cv_prog_DLLTOOL
8477 if test -n "$DLLTOOL"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8479 $as_echo "$DLLTOOL" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8482 $as_echo "no
" >&6; }
8487 test -n "$ac_cv_prog_DLLTOOL" && break
8490 if test -z "$ac_cv_prog_DLLTOOL" ; then
8492 if test $build = $host ; then
8495 DLLTOOL="${ncn_tool_prefix}$2"
8501 if test -n "$LD"; then
8503 elif test -n "$ac_cv_prog_LD"; then
8507 if test -n "$ac_cv_prog_LD"; then
8508 for ncn_progname in ld; do
8509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8510 set dummy ${ncn_progname}; ac_word=$2
8511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8512 $as_echo_n "checking
for $ac_word...
" >&6; }
8513 if test "${ac_cv_prog_LD+set}" = set; then :
8514 $as_echo_n "(cached
) " >&6
8516 if test -n "$LD"; then
8517 ac_cv_prog_LD="$LD" # Let the user override the test.
8519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8523 test -z "$as_dir" && as_dir=.
8524 for ac_exec_ext in '' $ac_executable_extensions; do
8525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8526 ac_cv_prog_LD="${ncn_progname}"
8527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8537 if test -n "$LD"; then
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8539 $as_echo "$LD" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8542 $as_echo "no
" >&6; }
8549 for ncn_progname in ld; do
8550 if test -n "$ncn_tool_prefix"; then
8551 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8552 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8554 $as_echo_n "checking
for $ac_word...
" >&6; }
8555 if test "${ac_cv_prog_LD+set}" = set; then :
8556 $as_echo_n "(cached
) " >&6
8558 if test -n "$LD"; then
8559 ac_cv_prog_LD="$LD" # Let the user override the test.
8561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8565 test -z "$as_dir" && as_dir=.
8566 for ac_exec_ext in '' $ac_executable_extensions; do
8567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8568 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 if test -n "$LD"; then
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8581 $as_echo "$LD" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8584 $as_echo "no
" >&6; }
8589 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8591 set dummy ${ncn_progname}; ac_word=$2
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8593 $as_echo_n "checking
for $ac_word...
" >&6; }
8594 if test "${ac_cv_prog_LD+set}" = set; then :
8595 $as_echo_n "(cached
) " >&6
8597 if test -n "$LD"; then
8598 ac_cv_prog_LD="$LD" # Let the user override the test.
8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir=.
8605 for ac_exec_ext in '' $ac_executable_extensions; do
8606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8607 ac_cv_prog_LD="${ncn_progname}"
8608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8618 if test -n "$LD"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8620 $as_echo "$LD" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8623 $as_echo "no
" >&6; }
8628 test -n "$ac_cv_prog_LD" && break
8631 if test -z "$ac_cv_prog_LD" ; then
8633 if test $build = $host ; then
8636 LD="${ncn_tool_prefix}$2"
8642 if test -n "$LIPO"; then
8643 ac_cv_prog_LIPO=$LIPO
8644 elif test -n "$ac_cv_prog_LIPO"; then
8645 LIPO=$ac_cv_prog_LIPO
8648 if test -n "$ac_cv_prog_LIPO"; then
8649 for ncn_progname in lipo; do
8650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8651 set dummy ${ncn_progname}; ac_word=$2
8652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8653 $as_echo_n "checking
for $ac_word...
" >&6; }
8654 if test "${ac_cv_prog_LIPO+set}" = set; then :
8655 $as_echo_n "(cached
) " >&6
8657 if test -n "$LIPO"; then
8658 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir=.
8665 for ac_exec_ext in '' $ac_executable_extensions; do
8666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8667 ac_cv_prog_LIPO="${ncn_progname}"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8677 LIPO=$ac_cv_prog_LIPO
8678 if test -n "$LIPO"; then
8679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8680 $as_echo "$LIPO" >&6; }
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8683 $as_echo "no
" >&6; }
8690 for ncn_progname in lipo; do
8691 if test -n "$ncn_tool_prefix"; then
8692 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8693 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8695 $as_echo_n "checking
for $ac_word...
" >&6; }
8696 if test "${ac_cv_prog_LIPO+set}" = set; then :
8697 $as_echo_n "(cached
) " >&6
8699 if test -n "$LIPO"; then
8700 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706 test -z "$as_dir" && as_dir=.
8707 for ac_exec_ext in '' $ac_executable_extensions; do
8708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8709 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8719 LIPO=$ac_cv_prog_LIPO
8720 if test -n "$LIPO"; then
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8722 $as_echo "$LIPO" >&6; }
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8725 $as_echo "no
" >&6; }
8730 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8732 set dummy ${ncn_progname}; ac_word=$2
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8734 $as_echo_n "checking
for $ac_word...
" >&6; }
8735 if test "${ac_cv_prog_LIPO+set}" = set; then :
8736 $as_echo_n "(cached
) " >&6
8738 if test -n "$LIPO"; then
8739 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 test -z "$as_dir" && as_dir=.
8746 for ac_exec_ext in '' $ac_executable_extensions; do
8747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8748 ac_cv_prog_LIPO="${ncn_progname}"
8749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8758 LIPO=$ac_cv_prog_LIPO
8759 if test -n "$LIPO"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8761 $as_echo "$LIPO" >&6; }
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8764 $as_echo "no
" >&6; }
8769 test -n "$ac_cv_prog_LIPO" && break
8772 if test -z "$ac_cv_prog_LIPO" ; then
8774 if test $build = $host ; then
8777 LIPO="${ncn_tool_prefix}$2"
8783 if test -n "$NM"; then
8785 elif test -n "$ac_cv_prog_NM"; then
8789 if test -n "$ac_cv_prog_NM"; then
8790 for ncn_progname in nm; do
8791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8792 set dummy ${ncn_progname}; ac_word=$2
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8794 $as_echo_n "checking
for $ac_word...
" >&6; }
8795 if test "${ac_cv_prog_NM+set}" = set; then :
8796 $as_echo_n "(cached
) " >&6
8798 if test -n "$NM"; then
8799 ac_cv_prog_NM="$NM" # Let the user override the test.
8801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8805 test -z "$as_dir" && as_dir=.
8806 for ac_exec_ext in '' $ac_executable_extensions; do
8807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8808 ac_cv_prog_NM="${ncn_progname}"
8809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8819 if test -n "$NM"; then
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8821 $as_echo "$NM" >&6; }
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8824 $as_echo "no
" >&6; }
8831 for ncn_progname in nm; do
8832 if test -n "$ncn_tool_prefix"; then
8833 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8834 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8836 $as_echo_n "checking
for $ac_word...
" >&6; }
8837 if test "${ac_cv_prog_NM+set}" = set; then :
8838 $as_echo_n "(cached
) " >&6
8840 if test -n "$NM"; then
8841 ac_cv_prog_NM="$NM" # Let the user override the test.
8843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir=.
8848 for ac_exec_ext in '' $ac_executable_extensions; do
8849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8850 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8861 if test -n "$NM"; then
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8863 $as_echo "$NM" >&6; }
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8866 $as_echo "no
" >&6; }
8871 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8873 set dummy ${ncn_progname}; ac_word=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8875 $as_echo_n "checking
for $ac_word...
" >&6; }
8876 if test "${ac_cv_prog_NM+set}" = set; then :
8877 $as_echo_n "(cached
) " >&6
8879 if test -n "$NM"; then
8880 ac_cv_prog_NM="$NM" # Let the user override the test.
8882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir=.
8887 for ac_exec_ext in '' $ac_executable_extensions; do
8888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8889 ac_cv_prog_NM="${ncn_progname}"
8890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8900 if test -n "$NM"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8902 $as_echo "$NM" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8905 $as_echo "no
" >&6; }
8910 test -n "$ac_cv_prog_NM" && break
8913 if test -z "$ac_cv_prog_NM" ; then
8915 if test $build = $host ; then
8918 NM="${ncn_tool_prefix}$2"
8924 if test -n "$RANLIB"; then
8925 ac_cv_prog_RANLIB=$RANLIB
8926 elif test -n "$ac_cv_prog_RANLIB"; then
8927 RANLIB=$ac_cv_prog_RANLIB
8930 if test -n "$ac_cv_prog_RANLIB"; then
8931 for ncn_progname in ranlib; do
8932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8933 set dummy ${ncn_progname}; ac_word=$2
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8935 $as_echo_n "checking
for $ac_word...
" >&6; }
8936 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8937 $as_echo_n "(cached
) " >&6
8939 if test -n "$RANLIB"; then
8940 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8946 test -z "$as_dir" && as_dir=.
8947 for ac_exec_ext in '' $ac_executable_extensions; do
8948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8949 ac_cv_prog_RANLIB="${ncn_progname}"
8950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8959 RANLIB=$ac_cv_prog_RANLIB
8960 if test -n "$RANLIB"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8962 $as_echo "$RANLIB" >&6; }
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8965 $as_echo "no
" >&6; }
8972 for ncn_progname in ranlib; do
8973 if test -n "$ncn_tool_prefix"; then
8974 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8975 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8977 $as_echo_n "checking
for $ac_word...
" >&6; }
8978 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8979 $as_echo_n "(cached
) " >&6
8981 if test -n "$RANLIB"; then
8982 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8988 test -z "$as_dir" && as_dir=.
8989 for ac_exec_ext in '' $ac_executable_extensions; do
8990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8991 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9001 RANLIB=$ac_cv_prog_RANLIB
9002 if test -n "$RANLIB"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9004 $as_echo "$RANLIB" >&6; }
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9007 $as_echo "no
" >&6; }
9012 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9014 set dummy ${ncn_progname}; ac_word=$2
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9016 $as_echo_n "checking
for $ac_word...
" >&6; }
9017 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9018 $as_echo_n "(cached
) " >&6
9020 if test -n "$RANLIB"; then
9021 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9027 test -z "$as_dir" && as_dir=.
9028 for ac_exec_ext in '' $ac_executable_extensions; do
9029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9030 ac_cv_prog_RANLIB="${ncn_progname}"
9031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9040 RANLIB=$ac_cv_prog_RANLIB
9041 if test -n "$RANLIB"; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9043 $as_echo "$RANLIB" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9046 $as_echo "no
" >&6; }
9051 test -n "$ac_cv_prog_RANLIB" && break
9054 if test -z "$ac_cv_prog_RANLIB" ; then
9060 if test -n "$STRIP"; then
9061 ac_cv_prog_STRIP=$STRIP
9062 elif test -n "$ac_cv_prog_STRIP"; then
9063 STRIP=$ac_cv_prog_STRIP
9066 if test -n "$ac_cv_prog_STRIP"; then
9067 for ncn_progname in strip; do
9068 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9069 set dummy ${ncn_progname}; ac_word=$2
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9071 $as_echo_n "checking
for $ac_word...
" >&6; }
9072 if test "${ac_cv_prog_STRIP+set}" = set; then :
9073 $as_echo_n "(cached
) " >&6
9075 if test -n "$STRIP"; then
9076 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9082 test -z "$as_dir" && as_dir=.
9083 for ac_exec_ext in '' $ac_executable_extensions; do
9084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9085 ac_cv_prog_STRIP="${ncn_progname}"
9086 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9095 STRIP=$ac_cv_prog_STRIP
9096 if test -n "$STRIP"; then
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9098 $as_echo "$STRIP" >&6; }
9100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9101 $as_echo "no
" >&6; }
9108 for ncn_progname in strip; do
9109 if test -n "$ncn_tool_prefix"; then
9110 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9111 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9113 $as_echo_n "checking
for $ac_word...
" >&6; }
9114 if test "${ac_cv_prog_STRIP+set}" = set; then :
9115 $as_echo_n "(cached
) " >&6
9117 if test -n "$STRIP"; then
9118 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir=.
9125 for ac_exec_ext in '' $ac_executable_extensions; do
9126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9127 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9137 STRIP=$ac_cv_prog_STRIP
9138 if test -n "$STRIP"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9140 $as_echo "$STRIP" >&6; }
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9143 $as_echo "no
" >&6; }
9148 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9150 set dummy ${ncn_progname}; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if test "${ac_cv_prog_STRIP+set}" = set; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$STRIP"; then
9157 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_prog_STRIP="${ncn_progname}"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 STRIP=$ac_cv_prog_STRIP
9177 if test -n "$STRIP"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9179 $as_echo "$STRIP" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9187 test -n "$ac_cv_prog_STRIP" && break
9190 if test -z "$ac_cv_prog_STRIP" ; then
9196 if test -n "$WINDRES"; then
9197 ac_cv_prog_WINDRES=$WINDRES
9198 elif test -n "$ac_cv_prog_WINDRES"; then
9199 WINDRES=$ac_cv_prog_WINDRES
9202 if test -n "$ac_cv_prog_WINDRES"; then
9203 for ncn_progname in windres; do
9204 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9205 set dummy ${ncn_progname}; ac_word=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9207 $as_echo_n "checking
for $ac_word...
" >&6; }
9208 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9209 $as_echo_n "(cached
) " >&6
9211 if test -n "$WINDRES"; then
9212 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir=.
9219 for ac_exec_ext in '' $ac_executable_extensions; do
9220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9221 ac_cv_prog_WINDRES="${ncn_progname}"
9222 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9231 WINDRES=$ac_cv_prog_WINDRES
9232 if test -n "$WINDRES"; then
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9234 $as_echo "$WINDRES" >&6; }
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9237 $as_echo "no
" >&6; }
9244 for ncn_progname in windres; do
9245 if test -n "$ncn_tool_prefix"; then
9246 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9247 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9249 $as_echo_n "checking
for $ac_word...
" >&6; }
9250 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9251 $as_echo_n "(cached
) " >&6
9253 if test -n "$WINDRES"; then
9254 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9260 test -z "$as_dir" && as_dir=.
9261 for ac_exec_ext in '' $ac_executable_extensions; do
9262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9263 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9273 WINDRES=$ac_cv_prog_WINDRES
9274 if test -n "$WINDRES"; then
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9276 $as_echo "$WINDRES" >&6; }
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9279 $as_echo "no
" >&6; }
9284 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9286 set dummy ${ncn_progname}; ac_word=$2
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9288 $as_echo_n "checking
for $ac_word...
" >&6; }
9289 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9290 $as_echo_n "(cached
) " >&6
9292 if test -n "$WINDRES"; then
9293 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9302 ac_cv_prog_WINDRES="${ncn_progname}"
9303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9312 WINDRES=$ac_cv_prog_WINDRES
9313 if test -n "$WINDRES"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9315 $as_echo "$WINDRES" >&6; }
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9318 $as_echo "no
" >&6; }
9323 test -n "$ac_cv_prog_WINDRES" && break
9326 if test -z "$ac_cv_prog_WINDRES" ; then
9328 if test $build = $host ; then
9331 WINDRES="${ncn_tool_prefix}$2"
9337 if test -n "$WINDMC"; then
9338 ac_cv_prog_WINDMC=$WINDMC
9339 elif test -n "$ac_cv_prog_WINDMC"; then
9340 WINDMC=$ac_cv_prog_WINDMC
9343 if test -n "$ac_cv_prog_WINDMC"; then
9344 for ncn_progname in windmc; do
9345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9346 set dummy ${ncn_progname}; ac_word=$2
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9348 $as_echo_n "checking
for $ac_word...
" >&6; }
9349 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9350 $as_echo_n "(cached
) " >&6
9352 if test -n "$WINDMC"; then
9353 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 test -z "$as_dir" && as_dir=.
9360 for ac_exec_ext in '' $ac_executable_extensions; do
9361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9362 ac_cv_prog_WINDMC="${ncn_progname}"
9363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9372 WINDMC=$ac_cv_prog_WINDMC
9373 if test -n "$WINDMC"; then
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9375 $as_echo "$WINDMC" >&6; }
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9378 $as_echo "no
" >&6; }
9385 for ncn_progname in windmc; do
9386 if test -n "$ncn_tool_prefix"; then
9387 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9388 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9390 $as_echo_n "checking
for $ac_word...
" >&6; }
9391 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9392 $as_echo_n "(cached
) " >&6
9394 if test -n "$WINDMC"; then
9395 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9401 test -z "$as_dir" && as_dir=.
9402 for ac_exec_ext in '' $ac_executable_extensions; do
9403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9404 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9414 WINDMC=$ac_cv_prog_WINDMC
9415 if test -n "$WINDMC"; then
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9417 $as_echo "$WINDMC" >&6; }
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9420 $as_echo "no
" >&6; }
9425 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9426 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9427 set dummy ${ncn_progname}; ac_word=$2
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9429 $as_echo_n "checking
for $ac_word...
" >&6; }
9430 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9431 $as_echo_n "(cached
) " >&6
9433 if test -n "$WINDMC"; then
9434 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir=.
9441 for ac_exec_ext in '' $ac_executable_extensions; do
9442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9443 ac_cv_prog_WINDMC="${ncn_progname}"
9444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9453 WINDMC=$ac_cv_prog_WINDMC
9454 if test -n "$WINDMC"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9456 $as_echo "$WINDMC" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9459 $as_echo "no
" >&6; }
9464 test -n "$ac_cv_prog_WINDMC" && break
9467 if test -z "$ac_cv_prog_WINDMC" ; then
9469 if test $build = $host ; then
9472 WINDMC="${ncn_tool_prefix}$2"
9478 if test -n "$OBJCOPY"; then
9479 ac_cv_prog_OBJCOPY=$OBJCOPY
9480 elif test -n "$ac_cv_prog_OBJCOPY"; then
9481 OBJCOPY=$ac_cv_prog_OBJCOPY
9484 if test -n "$ac_cv_prog_OBJCOPY"; then
9485 for ncn_progname in objcopy; do
9486 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9487 set dummy ${ncn_progname}; ac_word=$2
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9489 $as_echo_n "checking
for $ac_word...
" >&6; }
9490 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9491 $as_echo_n "(cached
) " >&6
9493 if test -n "$OBJCOPY"; then
9494 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9500 test -z "$as_dir" && as_dir=.
9501 for ac_exec_ext in '' $ac_executable_extensions; do
9502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9503 ac_cv_prog_OBJCOPY="${ncn_progname}"
9504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9513 OBJCOPY=$ac_cv_prog_OBJCOPY
9514 if test -n "$OBJCOPY"; then
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9516 $as_echo "$OBJCOPY" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9519 $as_echo "no
" >&6; }
9526 for ncn_progname in objcopy; do
9527 if test -n "$ncn_tool_prefix"; then
9528 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9529 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9531 $as_echo_n "checking
for $ac_word...
" >&6; }
9532 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9533 $as_echo_n "(cached
) " >&6
9535 if test -n "$OBJCOPY"; then
9536 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9542 test -z "$as_dir" && as_dir=.
9543 for ac_exec_ext in '' $ac_executable_extensions; do
9544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9545 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9555 OBJCOPY=$ac_cv_prog_OBJCOPY
9556 if test -n "$OBJCOPY"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9558 $as_echo "$OBJCOPY" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9561 $as_echo "no
" >&6; }
9566 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9567 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9568 set dummy ${ncn_progname}; ac_word=$2
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9570 $as_echo_n "checking
for $ac_word...
" >&6; }
9571 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9572 $as_echo_n "(cached
) " >&6
9574 if test -n "$OBJCOPY"; then
9575 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9581 test -z "$as_dir" && as_dir=.
9582 for ac_exec_ext in '' $ac_executable_extensions; do
9583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9584 ac_cv_prog_OBJCOPY="${ncn_progname}"
9585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9594 OBJCOPY=$ac_cv_prog_OBJCOPY
9595 if test -n "$OBJCOPY"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9597 $as_echo "$OBJCOPY" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9600 $as_echo "no
" >&6; }
9605 test -n "$ac_cv_prog_OBJCOPY" && break
9608 if test -z "$ac_cv_prog_OBJCOPY" ; then
9610 if test $build = $host ; then
9613 OBJCOPY="${ncn_tool_prefix}$2"
9619 if test -n "$OBJDUMP"; then
9620 ac_cv_prog_OBJDUMP=$OBJDUMP
9621 elif test -n "$ac_cv_prog_OBJDUMP"; then
9622 OBJDUMP=$ac_cv_prog_OBJDUMP
9625 if test -n "$ac_cv_prog_OBJDUMP"; then
9626 for ncn_progname in objdump; do
9627 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9628 set dummy ${ncn_progname}; ac_word=$2
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9630 $as_echo_n "checking
for $ac_word...
" >&6; }
9631 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9632 $as_echo_n "(cached
) " >&6
9634 if test -n "$OBJDUMP"; then
9635 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir=.
9642 for ac_exec_ext in '' $ac_executable_extensions; do
9643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9644 ac_cv_prog_OBJDUMP="${ncn_progname}"
9645 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9654 OBJDUMP=$ac_cv_prog_OBJDUMP
9655 if test -n "$OBJDUMP"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9657 $as_echo "$OBJDUMP" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9660 $as_echo "no
" >&6; }
9667 for ncn_progname in objdump; do
9668 if test -n "$ncn_tool_prefix"; then
9669 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9670 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9672 $as_echo_n "checking
for $ac_word...
" >&6; }
9673 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9674 $as_echo_n "(cached
) " >&6
9676 if test -n "$OBJDUMP"; then
9677 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir=.
9684 for ac_exec_ext in '' $ac_executable_extensions; do
9685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9686 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9687 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9696 OBJDUMP=$ac_cv_prog_OBJDUMP
9697 if test -n "$OBJDUMP"; then
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9699 $as_echo "$OBJDUMP" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9702 $as_echo "no
" >&6; }
9707 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9709 set dummy ${ncn_progname}; ac_word=$2
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9711 $as_echo_n "checking
for $ac_word...
" >&6; }
9712 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9713 $as_echo_n "(cached
) " >&6
9715 if test -n "$OBJDUMP"; then
9716 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 test -z "$as_dir" && as_dir=.
9723 for ac_exec_ext in '' $ac_executable_extensions; do
9724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725 ac_cv_prog_OBJDUMP="${ncn_progname}"
9726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9735 OBJDUMP=$ac_cv_prog_OBJDUMP
9736 if test -n "$OBJDUMP"; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9738 $as_echo "$OBJDUMP" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9741 $as_echo "no
" >&6; }
9746 test -n "$ac_cv_prog_OBJDUMP" && break
9749 if test -z "$ac_cv_prog_OBJDUMP" ; then
9751 if test $build = $host ; then
9754 OBJDUMP="${ncn_tool_prefix}$2"
9760 if test -n "$READELF"; then
9761 ac_cv_prog_READELF=$READELF
9762 elif test -n "$ac_cv_prog_READELF"; then
9763 READELF=$ac_cv_prog_READELF
9766 if test -n "$ac_cv_prog_READELF"; then
9767 for ncn_progname in readelf; do
9768 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9769 set dummy ${ncn_progname}; ac_word=$2
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9771 $as_echo_n "checking
for $ac_word...
" >&6; }
9772 if test "${ac_cv_prog_READELF+set}" = set; then :
9773 $as_echo_n "(cached
) " >&6
9775 if test -n "$READELF"; then
9776 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9782 test -z "$as_dir" && as_dir=.
9783 for ac_exec_ext in '' $ac_executable_extensions; do
9784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9785 ac_cv_prog_READELF="${ncn_progname}"
9786 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9795 READELF=$ac_cv_prog_READELF
9796 if test -n "$READELF"; then
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9798 $as_echo "$READELF" >&6; }
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9801 $as_echo "no
" >&6; }
9808 for ncn_progname in readelf; do
9809 if test -n "$ncn_tool_prefix"; then
9810 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9811 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9813 $as_echo_n "checking
for $ac_word...
" >&6; }
9814 if test "${ac_cv_prog_READELF+set}" = set; then :
9815 $as_echo_n "(cached
) " >&6
9817 if test -n "$READELF"; then
9818 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9824 test -z "$as_dir" && as_dir=.
9825 for ac_exec_ext in '' $ac_executable_extensions; do
9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9827 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9837 READELF=$ac_cv_prog_READELF
9838 if test -n "$READELF"; then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9840 $as_echo "$READELF" >&6; }
9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9843 $as_echo "no
" >&6; }
9848 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9849 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9850 set dummy ${ncn_progname}; ac_word=$2
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9852 $as_echo_n "checking
for $ac_word...
" >&6; }
9853 if test "${ac_cv_prog_READELF+set}" = set; then :
9854 $as_echo_n "(cached
) " >&6
9856 if test -n "$READELF"; then
9857 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir=.
9864 for ac_exec_ext in '' $ac_executable_extensions; do
9865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866 ac_cv_prog_READELF="${ncn_progname}"
9867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9876 READELF=$ac_cv_prog_READELF
9877 if test -n "$READELF"; then
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9879 $as_echo "$READELF" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9882 $as_echo "no
" >&6; }
9887 test -n "$ac_cv_prog_READELF" && break
9890 if test -z "$ac_cv_prog_READELF" ; then
9892 if test $build = $host ; then
9895 READELF="${ncn_tool_prefix}$2"
9906 # Check whether --with-build-time-tools was given.
9907 if test "${with_build_time_tools+set}" = set; then :
9908 withval=$with_build_time_tools; case x"$withval" in
9911 with_build_time_tools=
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9913 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9917 with_build_time_tools=
9923 if test -n "$CC_FOR_TARGET"; then
9924 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9925 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9926 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9929 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9930 for ncn_progname in cc gcc; do
9931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9932 set dummy ${ncn_progname}; ac_word=$2
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9934 $as_echo_n "checking
for $ac_word...
" >&6; }
9935 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9936 $as_echo_n "(cached
) " >&6
9938 if test -n "$CC_FOR_TARGET"; then
9939 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9945 test -z "$as_dir" && as_dir=.
9946 for ac_exec_ext in '' $ac_executable_extensions; do
9947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9948 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9958 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9959 if test -n "$CC_FOR_TARGET"; then
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9961 $as_echo "$CC_FOR_TARGET" >&6; }
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9964 $as_echo "no
" >&6; }
9971 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9972 for ncn_progname in cc gcc; do
9973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9974 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9975 if test -x $with_build_time_tools/${ncn_progname}; then
9976 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9978 $as_echo "yes" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9982 $as_echo "no
" >&6; }
9987 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9988 for ncn_progname in cc gcc; do
9989 if test -n "$ncn_target_tool_prefix"; then
9990 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9991 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9993 $as_echo_n "checking
for $ac_word...
" >&6; }
9994 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9995 $as_echo_n "(cached
) " >&6
9997 if test -n "$CC_FOR_TARGET"; then
9998 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 for as_dir in $PATH
10004 test -z "$as_dir" && as_dir=.
10005 for ac_exec_ext in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10017 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10018 if test -n "$CC_FOR_TARGET"; then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10020 $as_echo "$CC_FOR_TARGET" >&6; }
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10023 $as_echo "no
" >&6; }
10028 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10029 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10030 set dummy ${ncn_progname}; ac_word=$2
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10032 $as_echo_n "checking
for $ac_word...
" >&6; }
10033 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10034 $as_echo_n "(cached
) " >&6
10036 if test -n "$CC_FOR_TARGET"; then
10037 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10040 for as_dir in $PATH
10043 test -z "$as_dir" && as_dir=.
10044 for ac_exec_ext in '' $ac_executable_extensions; do
10045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10046 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10047 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10056 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10057 if test -n "$CC_FOR_TARGET"; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10059 $as_echo "$CC_FOR_TARGET" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10062 $as_echo "no
" >&6; }
10067 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10071 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10073 if test $build = $target ; then
10076 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10079 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10084 if test -n "$CXX_FOR_TARGET"; then
10085 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10086 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10087 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10090 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10091 for ncn_progname in c++ g++ cxx gxx; do
10092 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10093 set dummy ${ncn_progname}; ac_word=$2
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10095 $as_echo_n "checking
for $ac_word...
" >&6; }
10096 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10097 $as_echo_n "(cached
) " >&6
10099 if test -n "$CXX_FOR_TARGET"; then
10100 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10103 for as_dir in $PATH
10106 test -z "$as_dir" && as_dir=.
10107 for ac_exec_ext in '' $ac_executable_extensions; do
10108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10109 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10110 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10119 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10120 if test -n "$CXX_FOR_TARGET"; then
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10122 $as_echo "$CXX_FOR_TARGET" >&6; }
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10125 $as_echo "no
" >&6; }
10132 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10133 for ncn_progname in c++ g++ cxx gxx; do
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10135 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10136 if test -x $with_build_time_tools/${ncn_progname}; then
10137 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10139 $as_echo "yes" >&6; }
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10143 $as_echo "no
" >&6; }
10148 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10149 for ncn_progname in c++ g++ cxx gxx; do
10150 if test -n "$ncn_target_tool_prefix"; then
10151 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10152 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10154 $as_echo_n "checking
for $ac_word...
" >&6; }
10155 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10156 $as_echo_n "(cached
) " >&6
10158 if test -n "$CXX_FOR_TARGET"; then
10159 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10162 for as_dir in $PATH
10165 test -z "$as_dir" && as_dir=.
10166 for ac_exec_ext in '' $ac_executable_extensions; do
10167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10168 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10178 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10179 if test -n "$CXX_FOR_TARGET"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10181 $as_echo "$CXX_FOR_TARGET" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10184 $as_echo "no
" >&6; }
10189 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10190 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10191 set dummy ${ncn_progname}; ac_word=$2
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10193 $as_echo_n "checking
for $ac_word...
" >&6; }
10194 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10195 $as_echo_n "(cached
) " >&6
10197 if test -n "$CXX_FOR_TARGET"; then
10198 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10201 for as_dir in $PATH
10204 test -z "$as_dir" && as_dir=.
10205 for ac_exec_ext in '' $ac_executable_extensions; do
10206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10207 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10217 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10218 if test -n "$CXX_FOR_TARGET"; then
10219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10220 $as_echo "$CXX_FOR_TARGET" >&6; }
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10223 $as_echo "no
" >&6; }
10228 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10232 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10233 set dummy c++ g++ cxx gxx
10234 if test $build = $target ; then
10235 CXX_FOR_TARGET="$2"
10237 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10240 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10245 if test -n "$GCC_FOR_TARGET"; then
10246 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10247 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10248 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10251 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10252 for ncn_progname in gcc; do
10253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10254 set dummy ${ncn_progname}; ac_word=$2
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10256 $as_echo_n "checking
for $ac_word...
" >&6; }
10257 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10258 $as_echo_n "(cached
) " >&6
10260 if test -n "$GCC_FOR_TARGET"; then
10261 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10264 for as_dir in $PATH
10267 test -z "$as_dir" && as_dir=.
10268 for ac_exec_ext in '' $ac_executable_extensions; do
10269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10280 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10281 if test -n "$GCC_FOR_TARGET"; then
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10283 $as_echo "$GCC_FOR_TARGET" >&6; }
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10286 $as_echo "no
" >&6; }
10293 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10294 for ncn_progname in gcc; do
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10296 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10297 if test -x $with_build_time_tools/${ncn_progname}; then
10298 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10300 $as_echo "yes" >&6; }
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10304 $as_echo "no
" >&6; }
10309 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10310 for ncn_progname in gcc; do
10311 if test -n "$ncn_target_tool_prefix"; then
10312 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10313 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10315 $as_echo_n "checking
for $ac_word...
" >&6; }
10316 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10317 $as_echo_n "(cached
) " >&6
10319 if test -n "$GCC_FOR_TARGET"; then
10320 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10323 for as_dir in $PATH
10326 test -z "$as_dir" && as_dir=.
10327 for ac_exec_ext in '' $ac_executable_extensions; do
10328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10329 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10339 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10340 if test -n "$GCC_FOR_TARGET"; then
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10342 $as_echo "$GCC_FOR_TARGET" >&6; }
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10345 $as_echo "no
" >&6; }
10350 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10352 set dummy ${ncn_progname}; ac_word=$2
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10354 $as_echo_n "checking
for $ac_word...
" >&6; }
10355 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10356 $as_echo_n "(cached
) " >&6
10358 if test -n "$GCC_FOR_TARGET"; then
10359 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in $PATH
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10368 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10378 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10379 if test -n "$GCC_FOR_TARGET"; then
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10381 $as_echo "$GCC_FOR_TARGET" >&6; }
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10384 $as_echo "no
" >&6; }
10389 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10393 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10394 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10396 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10401 if test -n "$GCJ_FOR_TARGET"; then
10402 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10403 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10404 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10407 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10408 for ncn_progname in gcj; do
10409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10410 set dummy ${ncn_progname}; ac_word=$2
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10412 $as_echo_n "checking
for $ac_word...
" >&6; }
10413 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10414 $as_echo_n "(cached
) " >&6
10416 if test -n "$GCJ_FOR_TARGET"; then
10417 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10420 for as_dir in $PATH
10423 test -z "$as_dir" && as_dir=.
10424 for ac_exec_ext in '' $ac_executable_extensions; do
10425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10426 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10436 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10437 if test -n "$GCJ_FOR_TARGET"; then
10438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10439 $as_echo "$GCJ_FOR_TARGET" >&6; }
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10442 $as_echo "no
" >&6; }
10449 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10450 for ncn_progname in gcj; do
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10452 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10453 if test -x $with_build_time_tools/${ncn_progname}; then
10454 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10456 $as_echo "yes" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10460 $as_echo "no
" >&6; }
10465 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10466 for ncn_progname in gcj; do
10467 if test -n "$ncn_target_tool_prefix"; then
10468 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10469 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10471 $as_echo_n "checking
for $ac_word...
" >&6; }
10472 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10473 $as_echo_n "(cached
) " >&6
10475 if test -n "$GCJ_FOR_TARGET"; then
10476 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10479 for as_dir in $PATH
10482 test -z "$as_dir" && as_dir=.
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10485 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10495 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10496 if test -n "$GCJ_FOR_TARGET"; then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10498 $as_echo "$GCJ_FOR_TARGET" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10501 $as_echo "no
" >&6; }
10506 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10508 set dummy ${ncn_progname}; ac_word=$2
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10510 $as_echo_n "checking
for $ac_word...
" >&6; }
10511 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10512 $as_echo_n "(cached
) " >&6
10514 if test -n "$GCJ_FOR_TARGET"; then
10515 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10518 for as_dir in $PATH
10521 test -z "$as_dir" && as_dir=.
10522 for ac_exec_ext in '' $ac_executable_extensions; do
10523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10524 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10534 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10535 if test -n "$GCJ_FOR_TARGET"; then
10536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10537 $as_echo "$GCJ_FOR_TARGET" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10540 $as_echo "no
" >&6; }
10545 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10549 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10551 if test $build = $target ; then
10552 GCJ_FOR_TARGET="$2"
10554 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10557 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10562 if test -n "$GFORTRAN_FOR_TARGET"; then
10563 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10564 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10565 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10568 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10569 for ncn_progname in gfortran; do
10570 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10571 set dummy ${ncn_progname}; ac_word=$2
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10573 $as_echo_n "checking
for $ac_word...
" >&6; }
10574 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10575 $as_echo_n "(cached
) " >&6
10577 if test -n "$GFORTRAN_FOR_TARGET"; then
10578 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10581 for as_dir in $PATH
10584 test -z "$as_dir" && as_dir=.
10585 for ac_exec_ext in '' $ac_executable_extensions; do
10586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10587 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10588 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10597 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10598 if test -n "$GFORTRAN_FOR_TARGET"; then
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10600 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10603 $as_echo "no
" >&6; }
10610 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10611 for ncn_progname in gfortran; do
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10613 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10614 if test -x $with_build_time_tools/${ncn_progname}; then
10615 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10617 $as_echo "yes" >&6; }
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10621 $as_echo "no
" >&6; }
10626 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10627 for ncn_progname in gfortran; do
10628 if test -n "$ncn_target_tool_prefix"; then
10629 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10630 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10632 $as_echo_n "checking
for $ac_word...
" >&6; }
10633 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10634 $as_echo_n "(cached
) " >&6
10636 if test -n "$GFORTRAN_FOR_TARGET"; then
10637 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10640 for as_dir in $PATH
10643 test -z "$as_dir" && as_dir=.
10644 for ac_exec_ext in '' $ac_executable_extensions; do
10645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10646 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10656 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10657 if test -n "$GFORTRAN_FOR_TARGET"; then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10659 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10662 $as_echo "no
" >&6; }
10667 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10669 set dummy ${ncn_progname}; ac_word=$2
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10671 $as_echo_n "checking
for $ac_word...
" >&6; }
10672 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10673 $as_echo_n "(cached
) " >&6
10675 if test -n "$GFORTRAN_FOR_TARGET"; then
10676 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10679 for as_dir in $PATH
10682 test -z "$as_dir" && as_dir=.
10683 for ac_exec_ext in '' $ac_executable_extensions; do
10684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10685 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10695 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10696 if test -n "$GFORTRAN_FOR_TARGET"; then
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10698 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10706 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10710 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10712 if test $build = $target ; then
10713 GFORTRAN_FOR_TARGET="$2"
10715 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10718 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10723 if test -n "$GOC_FOR_TARGET"; then
10724 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10725 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10726 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10729 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10730 for ncn_progname in gccgo; do
10731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10732 set dummy ${ncn_progname}; ac_word=$2
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10734 $as_echo_n "checking
for $ac_word...
" >&6; }
10735 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10736 $as_echo_n "(cached
) " >&6
10738 if test -n "$GOC_FOR_TARGET"; then
10739 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10742 for as_dir in $PATH
10745 test -z "$as_dir" && as_dir=.
10746 for ac_exec_ext in '' $ac_executable_extensions; do
10747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10748 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10758 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10759 if test -n "$GOC_FOR_TARGET"; then
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10761 $as_echo "$GOC_FOR_TARGET" >&6; }
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10764 $as_echo "no
" >&6; }
10771 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10772 for ncn_progname in gccgo; do
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10774 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10775 if test -x $with_build_time_tools/${ncn_progname}; then
10776 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10778 $as_echo "yes" >&6; }
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10782 $as_echo "no
" >&6; }
10787 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10788 for ncn_progname in gccgo; do
10789 if test -n "$ncn_target_tool_prefix"; then
10790 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10791 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10793 $as_echo_n "checking
for $ac_word...
" >&6; }
10794 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10795 $as_echo_n "(cached
) " >&6
10797 if test -n "$GOC_FOR_TARGET"; then
10798 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10801 for as_dir in $PATH
10804 test -z "$as_dir" && as_dir=.
10805 for ac_exec_ext in '' $ac_executable_extensions; do
10806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10807 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10817 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10818 if test -n "$GOC_FOR_TARGET"; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10820 $as_echo "$GOC_FOR_TARGET" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10823 $as_echo "no
" >&6; }
10828 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10830 set dummy ${ncn_progname}; ac_word=$2
10831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10832 $as_echo_n "checking
for $ac_word...
" >&6; }
10833 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10834 $as_echo_n "(cached
) " >&6
10836 if test -n "$GOC_FOR_TARGET"; then
10837 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10840 for as_dir in $PATH
10843 test -z "$as_dir" && as_dir=.
10844 for ac_exec_ext in '' $ac_executable_extensions; do
10845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10846 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10856 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10857 if test -n "$GOC_FOR_TARGET"; then
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10859 $as_echo "$GOC_FOR_TARGET" >&6; }
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10862 $as_echo "no
" >&6; }
10867 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10871 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10873 if test $build = $target ; then
10874 GOC_FOR_TARGET="$2"
10876 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10879 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10884 if test -n "$GUPC_FOR_TARGET"; then
10885 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10886 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10887 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10890 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10891 for ncn_progname in gupc; do
10892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10893 set dummy ${ncn_progname}; ac_word=$2
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10895 $as_echo_n "checking
for $ac_word...
" >&6; }
10896 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10897 $as_echo_n "(cached
) " >&6
10899 if test -n "$GUPC_FOR_TARGET"; then
10900 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10903 for as_dir in $PATH
10906 test -z "$as_dir" && as_dir=.
10907 for ac_exec_ext in '' $ac_executable_extensions; do
10908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10909 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
10910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10919 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10920 if test -n "$GUPC_FOR_TARGET"; then
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10922 $as_echo "$GUPC_FOR_TARGET" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10925 $as_echo "no
" >&6; }
10932 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10933 for ncn_progname in gupc; do
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10935 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10936 if test -x $with_build_time_tools/${ncn_progname}; then
10937 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10939 $as_echo "yes" >&6; }
10942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10943 $as_echo "no
" >&6; }
10948 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
10949 for ncn_progname in gupc; do
10950 if test -n "$ncn_target_tool_prefix"; then
10951 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10952 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10954 $as_echo_n "checking
for $ac_word...
" >&6; }
10955 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10956 $as_echo_n "(cached
) " >&6
10958 if test -n "$GUPC_FOR_TARGET"; then
10959 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10962 for as_dir in $PATH
10965 test -z "$as_dir" && as_dir=.
10966 for ac_exec_ext in '' $ac_executable_extensions; do
10967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10968 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10978 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10979 if test -n "$GUPC_FOR_TARGET"; then
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10981 $as_echo "$GUPC_FOR_TARGET" >&6; }
10983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10984 $as_echo "no
" >&6; }
10989 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
10990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10991 set dummy ${ncn_progname}; ac_word=$2
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10993 $as_echo_n "checking
for $ac_word...
" >&6; }
10994 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10995 $as_echo_n "(cached
) " >&6
10997 if test -n "$GUPC_FOR_TARGET"; then
10998 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11001 for as_dir in $PATH
11004 test -z "$as_dir" && as_dir=.
11005 for ac_exec_ext in '' $ac_executable_extensions; do
11006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11007 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11017 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11018 if test -n "$GUPC_FOR_TARGET"; then
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11020 $as_echo "$GUPC_FOR_TARGET" >&6; }
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11023 $as_echo "no
" >&6; }
11028 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
11032 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
11034 if test $build = $target ; then
11035 GUPC_FOR_TARGET="$2"
11037 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11040 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
11045 cat > conftest.c << \EOF
11050 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11051 have_gcc_for_target=yes
11053 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11054 have_gcc_for_target=no
11061 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11062 if test -n "$with_build_time_tools"; then
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11064 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11065 if test -x $with_build_time_tools/ar; then
11066 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11067 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11069 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11072 $as_echo "no
" >&6; }
11074 elif test $build != $host && test $have_gcc_for_target = yes; then
11075 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11076 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11077 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11080 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11081 # Extract the first word of "ar", so it can be a program name with args.
11082 set dummy ar; ac_word=$2
11083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11084 $as_echo_n "checking
for $ac_word...
" >&6; }
11085 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11086 $as_echo_n "(cached
) " >&6
11088 case $AR_FOR_TARGET in
11090 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11094 for as_dir in $gcc_cv_tool_dirs
11097 test -z "$as_dir" && as_dir=.
11098 for ac_exec_ext in '' $ac_executable_extensions; do
11099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11100 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11111 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11112 if test -n "$AR_FOR_TARGET"; then
11113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11114 $as_echo "$AR_FOR_TARGET" >&6; }
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11117 $as_echo "no
" >&6; }
11122 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11125 if test -n "$AR_FOR_TARGET"; then
11126 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11127 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11128 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11131 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11132 for ncn_progname in ar; do
11133 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11134 set dummy ${ncn_progname}; ac_word=$2
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11136 $as_echo_n "checking
for $ac_word...
" >&6; }
11137 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11138 $as_echo_n "(cached
) " >&6
11140 if test -n "$AR_FOR_TARGET"; then
11141 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11144 for as_dir in $PATH
11147 test -z "$as_dir" && as_dir=.
11148 for ac_exec_ext in '' $ac_executable_extensions; do
11149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11150 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11151 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11160 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11161 if test -n "$AR_FOR_TARGET"; then
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11163 $as_echo "$AR_FOR_TARGET" >&6; }
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11166 $as_echo "no
" >&6; }
11173 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11174 for ncn_progname in ar; do
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11176 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11177 if test -x $with_build_time_tools/${ncn_progname}; then
11178 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11180 $as_echo "yes" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11184 $as_echo "no
" >&6; }
11189 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11190 for ncn_progname in ar; do
11191 if test -n "$ncn_target_tool_prefix"; then
11192 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11193 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11195 $as_echo_n "checking
for $ac_word...
" >&6; }
11196 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11197 $as_echo_n "(cached
) " >&6
11199 if test -n "$AR_FOR_TARGET"; then
11200 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11203 for as_dir in $PATH
11206 test -z "$as_dir" && as_dir=.
11207 for ac_exec_ext in '' $ac_executable_extensions; do
11208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11209 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11210 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11219 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11220 if test -n "$AR_FOR_TARGET"; then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11222 $as_echo "$AR_FOR_TARGET" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11225 $as_echo "no
" >&6; }
11230 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11232 set dummy ${ncn_progname}; ac_word=$2
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11234 $as_echo_n "checking
for $ac_word...
" >&6; }
11235 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11236 $as_echo_n "(cached
) " >&6
11238 if test -n "$AR_FOR_TARGET"; then
11239 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11242 for as_dir in $PATH
11245 test -z "$as_dir" && as_dir=.
11246 for ac_exec_ext in '' $ac_executable_extensions; do
11247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11248 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11258 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11259 if test -n "$AR_FOR_TARGET"; then
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11261 $as_echo "$AR_FOR_TARGET" >&6; }
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11264 $as_echo "no
" >&6; }
11269 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11273 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11275 if test $build = $target ; then
11278 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11281 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11285 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11291 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11292 if test -n "$with_build_time_tools"; then
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11294 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11295 if test -x $with_build_time_tools/as; then
11296 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11297 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11299 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11302 $as_echo "no
" >&6; }
11304 elif test $build != $host && test $have_gcc_for_target = yes; then
11305 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11306 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11307 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11310 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11311 # Extract the first word of "as
", so it can be a program name with args.
11312 set dummy as; ac_word=$2
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11314 $as_echo_n "checking
for $ac_word...
" >&6; }
11315 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11316 $as_echo_n "(cached
) " >&6
11318 case $AS_FOR_TARGET in
11320 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11324 for as_dir in $gcc_cv_tool_dirs
11327 test -z "$as_dir" && as_dir=.
11328 for ac_exec_ext in '' $ac_executable_extensions; do
11329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11330 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11341 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11342 if test -n "$AS_FOR_TARGET"; then
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11344 $as_echo "$AS_FOR_TARGET" >&6; }
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11347 $as_echo "no
" >&6; }
11352 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11355 if test -n "$AS_FOR_TARGET"; then
11356 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11357 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11358 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11361 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11362 for ncn_progname in as; do
11363 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11364 set dummy ${ncn_progname}; ac_word=$2
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11366 $as_echo_n "checking
for $ac_word...
" >&6; }
11367 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11368 $as_echo_n "(cached
) " >&6
11370 if test -n "$AS_FOR_TARGET"; then
11371 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11374 for as_dir in $PATH
11377 test -z "$as_dir" && as_dir=.
11378 for ac_exec_ext in '' $ac_executable_extensions; do
11379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11380 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11381 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11390 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11391 if test -n "$AS_FOR_TARGET"; then
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11393 $as_echo "$AS_FOR_TARGET" >&6; }
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11396 $as_echo "no
" >&6; }
11403 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11404 for ncn_progname in as; do
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11406 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11407 if test -x $with_build_time_tools/${ncn_progname}; then
11408 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11410 $as_echo "yes" >&6; }
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11414 $as_echo "no
" >&6; }
11419 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11420 for ncn_progname in as; do
11421 if test -n "$ncn_target_tool_prefix"; then
11422 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11423 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11425 $as_echo_n "checking
for $ac_word...
" >&6; }
11426 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11427 $as_echo_n "(cached
) " >&6
11429 if test -n "$AS_FOR_TARGET"; then
11430 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11433 for as_dir in $PATH
11436 test -z "$as_dir" && as_dir=.
11437 for ac_exec_ext in '' $ac_executable_extensions; do
11438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11439 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11449 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11450 if test -n "$AS_FOR_TARGET"; then
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11452 $as_echo "$AS_FOR_TARGET" >&6; }
11454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11455 $as_echo "no
" >&6; }
11460 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11462 set dummy ${ncn_progname}; ac_word=$2
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11464 $as_echo_n "checking
for $ac_word...
" >&6; }
11465 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11466 $as_echo_n "(cached
) " >&6
11468 if test -n "$AS_FOR_TARGET"; then
11469 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11472 for as_dir in $PATH
11475 test -z "$as_dir" && as_dir=.
11476 for ac_exec_ext in '' $ac_executable_extensions; do
11477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11478 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11488 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11489 if test -n "$AS_FOR_TARGET"; then
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11491 $as_echo "$AS_FOR_TARGET" >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11494 $as_echo "no
" >&6; }
11499 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11503 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11505 if test $build = $target ; then
11508 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11511 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11515 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11521 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11522 if test -n "$with_build_time_tools"; then
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11524 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11525 if test -x $with_build_time_tools/dlltool; then
11526 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11527 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11529 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11532 $as_echo "no
" >&6; }
11534 elif test $build != $host && test $have_gcc_for_target = yes; then
11535 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11536 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11537 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11540 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11541 # Extract the first word of "dlltool
", so it can be a program name with args.
11542 set dummy dlltool; ac_word=$2
11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11544 $as_echo_n "checking
for $ac_word...
" >&6; }
11545 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11546 $as_echo_n "(cached
) " >&6
11548 case $DLLTOOL_FOR_TARGET in
11550 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11554 for as_dir in $gcc_cv_tool_dirs
11557 test -z "$as_dir" && as_dir=.
11558 for ac_exec_ext in '' $ac_executable_extensions; do
11559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11560 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11571 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11572 if test -n "$DLLTOOL_FOR_TARGET"; then
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11574 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11577 $as_echo "no
" >&6; }
11582 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11585 if test -n "$DLLTOOL_FOR_TARGET"; then
11586 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11587 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11588 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11591 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11592 for ncn_progname in dlltool; do
11593 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11594 set dummy ${ncn_progname}; ac_word=$2
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11596 $as_echo_n "checking
for $ac_word...
" >&6; }
11597 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11598 $as_echo_n "(cached
) " >&6
11600 if test -n "$DLLTOOL_FOR_TARGET"; then
11601 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11604 for as_dir in $PATH
11607 test -z "$as_dir" && as_dir=.
11608 for ac_exec_ext in '' $ac_executable_extensions; do
11609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11610 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11611 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11620 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11621 if test -n "$DLLTOOL_FOR_TARGET"; then
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11623 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11626 $as_echo "no
" >&6; }
11633 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11634 for ncn_progname in dlltool; do
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11636 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11637 if test -x $with_build_time_tools/${ncn_progname}; then
11638 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11640 $as_echo "yes" >&6; }
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11644 $as_echo "no
" >&6; }
11649 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11650 for ncn_progname in dlltool; do
11651 if test -n "$ncn_target_tool_prefix"; then
11652 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11653 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11655 $as_echo_n "checking
for $ac_word...
" >&6; }
11656 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11657 $as_echo_n "(cached
) " >&6
11659 if test -n "$DLLTOOL_FOR_TARGET"; then
11660 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11663 for as_dir in $PATH
11666 test -z "$as_dir" && as_dir=.
11667 for ac_exec_ext in '' $ac_executable_extensions; do
11668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11669 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11679 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11680 if test -n "$DLLTOOL_FOR_TARGET"; then
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11682 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11685 $as_echo "no
" >&6; }
11690 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11692 set dummy ${ncn_progname}; ac_word=$2
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11694 $as_echo_n "checking
for $ac_word...
" >&6; }
11695 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11696 $as_echo_n "(cached
) " >&6
11698 if test -n "$DLLTOOL_FOR_TARGET"; then
11699 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11702 for as_dir in $PATH
11705 test -z "$as_dir" && as_dir=.
11706 for ac_exec_ext in '' $ac_executable_extensions; do
11707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11708 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11718 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11719 if test -n "$DLLTOOL_FOR_TARGET"; then
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11721 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11724 $as_echo "no
" >&6; }
11729 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11733 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11735 if test $build = $target ; then
11736 DLLTOOL_FOR_TARGET="$2"
11738 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11741 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11745 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11751 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11752 if test -n "$with_build_time_tools"; then
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11754 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11755 if test -x $with_build_time_tools/ld; then
11756 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11757 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11759 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11762 $as_echo "no
" >&6; }
11764 elif test $build != $host && test $have_gcc_for_target = yes; then
11765 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11766 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11767 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11770 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11771 # Extract the first word of "ld
", so it can be a program name with args.
11772 set dummy ld; ac_word=$2
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11774 $as_echo_n "checking
for $ac_word...
" >&6; }
11775 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11776 $as_echo_n "(cached
) " >&6
11778 case $LD_FOR_TARGET in
11780 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11784 for as_dir in $gcc_cv_tool_dirs
11787 test -z "$as_dir" && as_dir=.
11788 for ac_exec_ext in '' $ac_executable_extensions; do
11789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11790 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11801 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11802 if test -n "$LD_FOR_TARGET"; then
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11804 $as_echo "$LD_FOR_TARGET" >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11807 $as_echo "no
" >&6; }
11812 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11815 if test -n "$LD_FOR_TARGET"; then
11816 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11817 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11818 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11821 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11822 for ncn_progname in ld; do
11823 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11824 set dummy ${ncn_progname}; ac_word=$2
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11826 $as_echo_n "checking
for $ac_word...
" >&6; }
11827 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11828 $as_echo_n "(cached
) " >&6
11830 if test -n "$LD_FOR_TARGET"; then
11831 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11834 for as_dir in $PATH
11837 test -z "$as_dir" && as_dir=.
11838 for ac_exec_ext in '' $ac_executable_extensions; do
11839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11840 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11850 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11851 if test -n "$LD_FOR_TARGET"; then
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11853 $as_echo "$LD_FOR_TARGET" >&6; }
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11856 $as_echo "no
" >&6; }
11863 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11864 for ncn_progname in ld; do
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11866 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11867 if test -x $with_build_time_tools/${ncn_progname}; then
11868 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11870 $as_echo "yes" >&6; }
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11874 $as_echo "no
" >&6; }
11879 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11880 for ncn_progname in ld; do
11881 if test -n "$ncn_target_tool_prefix"; then
11882 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11883 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11885 $as_echo_n "checking
for $ac_word...
" >&6; }
11886 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11887 $as_echo_n "(cached
) " >&6
11889 if test -n "$LD_FOR_TARGET"; then
11890 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893 for as_dir in $PATH
11896 test -z "$as_dir" && as_dir=.
11897 for ac_exec_ext in '' $ac_executable_extensions; do
11898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11899 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11909 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11910 if test -n "$LD_FOR_TARGET"; then
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11912 $as_echo "$LD_FOR_TARGET" >&6; }
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11915 $as_echo "no
" >&6; }
11920 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11921 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11922 set dummy ${ncn_progname}; ac_word=$2
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11924 $as_echo_n "checking
for $ac_word...
" >&6; }
11925 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11926 $as_echo_n "(cached
) " >&6
11928 if test -n "$LD_FOR_TARGET"; then
11929 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11932 for as_dir in $PATH
11935 test -z "$as_dir" && as_dir=.
11936 for ac_exec_ext in '' $ac_executable_extensions; do
11937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11938 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11939 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11948 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11949 if test -n "$LD_FOR_TARGET"; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11951 $as_echo "$LD_FOR_TARGET" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11954 $as_echo "no
" >&6; }
11959 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11963 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11965 if test $build = $target ; then
11968 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11971 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11975 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11981 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11982 if test -n "$with_build_time_tools"; then
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11984 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11985 if test -x $with_build_time_tools/lipo; then
11986 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11987 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11989 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11992 $as_echo "no
" >&6; }
11994 elif test $build != $host && test $have_gcc_for_target = yes; then
11995 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11996 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11997 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12000 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12001 # Extract the first word of "lipo
", so it can be a program name with args.
12002 set dummy lipo; ac_word=$2
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12004 $as_echo_n "checking
for $ac_word...
" >&6; }
12005 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12006 $as_echo_n "(cached
) " >&6
12008 case $LIPO_FOR_TARGET in
12010 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12014 for as_dir in $gcc_cv_tool_dirs
12017 test -z "$as_dir" && as_dir=.
12018 for ac_exec_ext in '' $ac_executable_extensions; do
12019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12020 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12031 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12032 if test -n "$LIPO_FOR_TARGET"; then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12034 $as_echo "$LIPO_FOR_TARGET" >&6; }
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12037 $as_echo "no
" >&6; }
12042 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12045 if test -n "$LIPO_FOR_TARGET"; then
12046 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12047 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12048 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12051 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12052 for ncn_progname in lipo; do
12053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12054 set dummy ${ncn_progname}; ac_word=$2
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12056 $as_echo_n "checking
for $ac_word...
" >&6; }
12057 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12058 $as_echo_n "(cached
) " >&6
12060 if test -n "$LIPO_FOR_TARGET"; then
12061 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12070 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12080 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12081 if test -n "$LIPO_FOR_TARGET"; then
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12083 $as_echo "$LIPO_FOR_TARGET" >&6; }
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12086 $as_echo "no
" >&6; }
12093 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12094 for ncn_progname in lipo; do
12095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12096 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12097 if test -x $with_build_time_tools/${ncn_progname}; then
12098 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12100 $as_echo "yes" >&6; }
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12104 $as_echo "no
" >&6; }
12109 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12110 for ncn_progname in lipo; do
12111 if test -n "$ncn_target_tool_prefix"; then
12112 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12113 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12115 $as_echo_n "checking
for $ac_word...
" >&6; }
12116 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12117 $as_echo_n "(cached
) " >&6
12119 if test -n "$LIPO_FOR_TARGET"; then
12120 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12123 for as_dir in $PATH
12126 test -z "$as_dir" && as_dir=.
12127 for ac_exec_ext in '' $ac_executable_extensions; do
12128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12129 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12139 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12140 if test -n "$LIPO_FOR_TARGET"; then
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12142 $as_echo "$LIPO_FOR_TARGET" >&6; }
12144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12145 $as_echo "no
" >&6; }
12150 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12152 set dummy ${ncn_progname}; ac_word=$2
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12154 $as_echo_n "checking
for $ac_word...
" >&6; }
12155 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12156 $as_echo_n "(cached
) " >&6
12158 if test -n "$LIPO_FOR_TARGET"; then
12159 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12162 for as_dir in $PATH
12165 test -z "$as_dir" && as_dir=.
12166 for ac_exec_ext in '' $ac_executable_extensions; do
12167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12168 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12178 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12179 if test -n "$LIPO_FOR_TARGET"; then
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12181 $as_echo "$LIPO_FOR_TARGET" >&6; }
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12184 $as_echo "no
" >&6; }
12189 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12193 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12195 if test $build = $target ; then
12196 LIPO_FOR_TARGET="$2"
12198 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12201 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12205 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12211 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12212 if test -n "$with_build_time_tools"; then
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12214 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12215 if test -x $with_build_time_tools/nm; then
12216 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12217 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12219 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12222 $as_echo "no
" >&6; }
12224 elif test $build != $host && test $have_gcc_for_target = yes; then
12225 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12226 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12227 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12230 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12231 # Extract the first word of "nm
", so it can be a program name with args.
12232 set dummy nm; ac_word=$2
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12234 $as_echo_n "checking
for $ac_word...
" >&6; }
12235 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12236 $as_echo_n "(cached
) " >&6
12238 case $NM_FOR_TARGET in
12240 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12244 for as_dir in $gcc_cv_tool_dirs
12247 test -z "$as_dir" && as_dir=.
12248 for ac_exec_ext in '' $ac_executable_extensions; do
12249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12250 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12261 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12262 if test -n "$NM_FOR_TARGET"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12264 $as_echo "$NM_FOR_TARGET" >&6; }
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12267 $as_echo "no
" >&6; }
12272 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12275 if test -n "$NM_FOR_TARGET"; then
12276 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12277 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12278 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12281 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12282 for ncn_progname in nm; do
12283 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12284 set dummy ${ncn_progname}; ac_word=$2
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12286 $as_echo_n "checking
for $ac_word...
" >&6; }
12287 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12288 $as_echo_n "(cached
) " >&6
12290 if test -n "$NM_FOR_TARGET"; then
12291 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12294 for as_dir in $PATH
12297 test -z "$as_dir" && as_dir=.
12298 for ac_exec_ext in '' $ac_executable_extensions; do
12299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12300 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12301 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12310 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12311 if test -n "$NM_FOR_TARGET"; then
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12313 $as_echo "$NM_FOR_TARGET" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12316 $as_echo "no
" >&6; }
12323 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12324 for ncn_progname in nm; do
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12326 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12327 if test -x $with_build_time_tools/${ncn_progname}; then
12328 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12330 $as_echo "yes" >&6; }
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12334 $as_echo "no
" >&6; }
12339 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12340 for ncn_progname in nm; do
12341 if test -n "$ncn_target_tool_prefix"; then
12342 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12343 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12345 $as_echo_n "checking
for $ac_word...
" >&6; }
12346 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12347 $as_echo_n "(cached
) " >&6
12349 if test -n "$NM_FOR_TARGET"; then
12350 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12353 for as_dir in $PATH
12356 test -z "$as_dir" && as_dir=.
12357 for ac_exec_ext in '' $ac_executable_extensions; do
12358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12359 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12369 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12370 if test -n "$NM_FOR_TARGET"; then
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12372 $as_echo "$NM_FOR_TARGET" >&6; }
12374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12375 $as_echo "no
" >&6; }
12380 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12381 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12382 set dummy ${ncn_progname}; ac_word=$2
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12384 $as_echo_n "checking
for $ac_word...
" >&6; }
12385 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12386 $as_echo_n "(cached
) " >&6
12388 if test -n "$NM_FOR_TARGET"; then
12389 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12392 for as_dir in $PATH
12395 test -z "$as_dir" && as_dir=.
12396 for ac_exec_ext in '' $ac_executable_extensions; do
12397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12398 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12408 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12409 if test -n "$NM_FOR_TARGET"; then
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12411 $as_echo "$NM_FOR_TARGET" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12414 $as_echo "no
" >&6; }
12419 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12423 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12425 if test $build = $target ; then
12428 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12431 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12435 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12441 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12442 if test -n "$with_build_time_tools"; then
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12444 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12445 if test -x $with_build_time_tools/objcopy; then
12446 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12447 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12449 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12452 $as_echo "no
" >&6; }
12454 elif test $build != $host && test $have_gcc_for_target = yes; then
12455 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12456 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12457 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12460 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12461 # Extract the first word of "objcopy
", so it can be a program name with args.
12462 set dummy objcopy; ac_word=$2
12463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12464 $as_echo_n "checking
for $ac_word...
" >&6; }
12465 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12466 $as_echo_n "(cached
) " >&6
12468 case $OBJCOPY_FOR_TARGET in
12470 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12474 for as_dir in $gcc_cv_tool_dirs
12477 test -z "$as_dir" && as_dir=.
12478 for ac_exec_ext in '' $ac_executable_extensions; do
12479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12480 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12491 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12492 if test -n "$OBJCOPY_FOR_TARGET"; then
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12494 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12497 $as_echo "no
" >&6; }
12502 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12505 if test -n "$OBJCOPY_FOR_TARGET"; then
12506 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12507 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12508 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12511 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12512 for ncn_progname in objcopy; do
12513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12514 set dummy ${ncn_progname}; ac_word=$2
12515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12516 $as_echo_n "checking
for $ac_word...
" >&6; }
12517 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12518 $as_echo_n "(cached
) " >&6
12520 if test -n "$OBJCOPY_FOR_TARGET"; then
12521 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12524 for as_dir in $PATH
12527 test -z "$as_dir" && as_dir=.
12528 for ac_exec_ext in '' $ac_executable_extensions; do
12529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12530 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12540 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12541 if test -n "$OBJCOPY_FOR_TARGET"; then
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12543 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12546 $as_echo "no
" >&6; }
12553 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12554 for ncn_progname in objcopy; do
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12556 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12557 if test -x $with_build_time_tools/${ncn_progname}; then
12558 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12560 $as_echo "yes" >&6; }
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12564 $as_echo "no
" >&6; }
12569 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12570 for ncn_progname in objcopy; do
12571 if test -n "$ncn_target_tool_prefix"; then
12572 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12573 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12575 $as_echo_n "checking
for $ac_word...
" >&6; }
12576 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12577 $as_echo_n "(cached
) " >&6
12579 if test -n "$OBJCOPY_FOR_TARGET"; then
12580 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12583 for as_dir in $PATH
12586 test -z "$as_dir" && as_dir=.
12587 for ac_exec_ext in '' $ac_executable_extensions; do
12588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12589 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12599 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12600 if test -n "$OBJCOPY_FOR_TARGET"; then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12602 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12605 $as_echo "no
" >&6; }
12610 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12611 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12612 set dummy ${ncn_progname}; ac_word=$2
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12614 $as_echo_n "checking
for $ac_word...
" >&6; }
12615 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12616 $as_echo_n "(cached
) " >&6
12618 if test -n "$OBJCOPY_FOR_TARGET"; then
12619 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12622 for as_dir in $PATH
12625 test -z "$as_dir" && as_dir=.
12626 for ac_exec_ext in '' $ac_executable_extensions; do
12627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12628 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12638 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12639 if test -n "$OBJCOPY_FOR_TARGET"; then
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12641 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12644 $as_echo "no
" >&6; }
12649 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12653 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12655 if test $build = $target ; then
12656 OBJCOPY_FOR_TARGET="$2"
12658 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12661 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12665 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12671 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12672 if test -n "$with_build_time_tools"; then
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12674 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12675 if test -x $with_build_time_tools/objdump; then
12676 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12677 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12679 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12682 $as_echo "no
" >&6; }
12684 elif test $build != $host && test $have_gcc_for_target = yes; then
12685 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12686 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12687 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12690 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12691 # Extract the first word of "objdump
", so it can be a program name with args.
12692 set dummy objdump; ac_word=$2
12693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12694 $as_echo_n "checking
for $ac_word...
" >&6; }
12695 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12696 $as_echo_n "(cached
) " >&6
12698 case $OBJDUMP_FOR_TARGET in
12700 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12704 for as_dir in $gcc_cv_tool_dirs
12707 test -z "$as_dir" && as_dir=.
12708 for ac_exec_ext in '' $ac_executable_extensions; do
12709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12710 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12721 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12722 if test -n "$OBJDUMP_FOR_TARGET"; then
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12724 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12727 $as_echo "no
" >&6; }
12732 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12735 if test -n "$OBJDUMP_FOR_TARGET"; then
12736 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12737 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12738 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12741 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12742 for ncn_progname in objdump; do
12743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12744 set dummy ${ncn_progname}; ac_word=$2
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12746 $as_echo_n "checking
for $ac_word...
" >&6; }
12747 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12748 $as_echo_n "(cached
) " >&6
12750 if test -n "$OBJDUMP_FOR_TARGET"; then
12751 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12754 for as_dir in $PATH
12757 test -z "$as_dir" && as_dir=.
12758 for ac_exec_ext in '' $ac_executable_extensions; do
12759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12760 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12770 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12771 if test -n "$OBJDUMP_FOR_TARGET"; then
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12773 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12776 $as_echo "no
" >&6; }
12783 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12784 for ncn_progname in objdump; do
12785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12786 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12787 if test -x $with_build_time_tools/${ncn_progname}; then
12788 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12790 $as_echo "yes" >&6; }
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12794 $as_echo "no
" >&6; }
12799 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12800 for ncn_progname in objdump; do
12801 if test -n "$ncn_target_tool_prefix"; then
12802 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12803 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12805 $as_echo_n "checking
for $ac_word...
" >&6; }
12806 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12807 $as_echo_n "(cached
) " >&6
12809 if test -n "$OBJDUMP_FOR_TARGET"; then
12810 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12813 for as_dir in $PATH
12816 test -z "$as_dir" && as_dir=.
12817 for ac_exec_ext in '' $ac_executable_extensions; do
12818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12819 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12829 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12830 if test -n "$OBJDUMP_FOR_TARGET"; then
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12832 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12835 $as_echo "no
" >&6; }
12840 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12841 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12842 set dummy ${ncn_progname}; ac_word=$2
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12844 $as_echo_n "checking
for $ac_word...
" >&6; }
12845 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12846 $as_echo_n "(cached
) " >&6
12848 if test -n "$OBJDUMP_FOR_TARGET"; then
12849 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12852 for as_dir in $PATH
12855 test -z "$as_dir" && as_dir=.
12856 for ac_exec_ext in '' $ac_executable_extensions; do
12857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12858 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12868 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12869 if test -n "$OBJDUMP_FOR_TARGET"; then
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12871 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12874 $as_echo "no
" >&6; }
12879 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12883 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12885 if test $build = $target ; then
12886 OBJDUMP_FOR_TARGET="$2"
12888 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12891 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12895 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12901 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12902 if test -n "$with_build_time_tools"; then
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12904 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12905 if test -x $with_build_time_tools/ranlib; then
12906 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12907 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12909 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12912 $as_echo "no
" >&6; }
12914 elif test $build != $host && test $have_gcc_for_target = yes; then
12915 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12916 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12917 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12920 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12921 # Extract the first word of "ranlib
", so it can be a program name with args.
12922 set dummy ranlib; ac_word=$2
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12924 $as_echo_n "checking
for $ac_word...
" >&6; }
12925 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12926 $as_echo_n "(cached
) " >&6
12928 case $RANLIB_FOR_TARGET in
12930 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12934 for as_dir in $gcc_cv_tool_dirs
12937 test -z "$as_dir" && as_dir=.
12938 for ac_exec_ext in '' $ac_executable_extensions; do
12939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12940 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12951 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12952 if test -n "$RANLIB_FOR_TARGET"; then
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12954 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12957 $as_echo "no
" >&6; }
12962 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12965 if test -n "$RANLIB_FOR_TARGET"; then
12966 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12967 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12968 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12971 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12972 for ncn_progname in ranlib; do
12973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12974 set dummy ${ncn_progname}; ac_word=$2
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12976 $as_echo_n "checking
for $ac_word...
" >&6; }
12977 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12978 $as_echo_n "(cached
) " >&6
12980 if test -n "$RANLIB_FOR_TARGET"; then
12981 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12984 for as_dir in $PATH
12987 test -z "$as_dir" && as_dir=.
12988 for ac_exec_ext in '' $ac_executable_extensions; do
12989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12990 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13000 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13001 if test -n "$RANLIB_FOR_TARGET"; then
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13003 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13006 $as_echo "no
" >&6; }
13013 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13014 for ncn_progname in ranlib; do
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13016 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13017 if test -x $with_build_time_tools/${ncn_progname}; then
13018 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13020 $as_echo "yes" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13024 $as_echo "no
" >&6; }
13029 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13030 for ncn_progname in ranlib; do
13031 if test -n "$ncn_target_tool_prefix"; then
13032 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13033 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13035 $as_echo_n "checking
for $ac_word...
" >&6; }
13036 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13037 $as_echo_n "(cached
) " >&6
13039 if test -n "$RANLIB_FOR_TARGET"; then
13040 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13043 for as_dir in $PATH
13046 test -z "$as_dir" && as_dir=.
13047 for ac_exec_ext in '' $ac_executable_extensions; do
13048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13049 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13059 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13060 if test -n "$RANLIB_FOR_TARGET"; then
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13062 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13065 $as_echo "no
" >&6; }
13070 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13071 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13072 set dummy ${ncn_progname}; ac_word=$2
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13074 $as_echo_n "checking
for $ac_word...
" >&6; }
13075 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13076 $as_echo_n "(cached
) " >&6
13078 if test -n "$RANLIB_FOR_TARGET"; then
13079 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13082 for as_dir in $PATH
13085 test -z "$as_dir" && as_dir=.
13086 for ac_exec_ext in '' $ac_executable_extensions; do
13087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13088 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13098 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13099 if test -n "$RANLIB_FOR_TARGET"; then
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13101 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13104 $as_echo "no
" >&6; }
13109 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13113 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13115 if test $build = $target ; then
13116 RANLIB_FOR_TARGET="$2"
13118 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13121 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13125 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13131 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13132 if test -n "$with_build_time_tools"; then
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13134 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13135 if test -x $with_build_time_tools/readelf; then
13136 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13137 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13139 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13142 $as_echo "no
" >&6; }
13144 elif test $build != $host && test $have_gcc_for_target = yes; then
13145 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13146 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13147 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13150 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13151 # Extract the first word of "readelf
", so it can be a program name with args.
13152 set dummy readelf; ac_word=$2
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13154 $as_echo_n "checking
for $ac_word...
" >&6; }
13155 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13156 $as_echo_n "(cached
) " >&6
13158 case $READELF_FOR_TARGET in
13160 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13164 for as_dir in $gcc_cv_tool_dirs
13167 test -z "$as_dir" && as_dir=.
13168 for ac_exec_ext in '' $ac_executable_extensions; do
13169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13170 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13181 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13182 if test -n "$READELF_FOR_TARGET"; then
13183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13184 $as_echo "$READELF_FOR_TARGET" >&6; }
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13187 $as_echo "no
" >&6; }
13192 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13195 if test -n "$READELF_FOR_TARGET"; then
13196 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13197 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13198 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13201 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13202 for ncn_progname in readelf; do
13203 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13204 set dummy ${ncn_progname}; ac_word=$2
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13206 $as_echo_n "checking
for $ac_word...
" >&6; }
13207 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13208 $as_echo_n "(cached
) " >&6
13210 if test -n "$READELF_FOR_TARGET"; then
13211 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13214 for as_dir in $PATH
13217 test -z "$as_dir" && as_dir=.
13218 for ac_exec_ext in '' $ac_executable_extensions; do
13219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13220 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13221 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13230 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13231 if test -n "$READELF_FOR_TARGET"; then
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13233 $as_echo "$READELF_FOR_TARGET" >&6; }
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13236 $as_echo "no
" >&6; }
13243 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13244 for ncn_progname in readelf; do
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13246 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13247 if test -x $with_build_time_tools/${ncn_progname}; then
13248 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13250 $as_echo "yes" >&6; }
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13254 $as_echo "no
" >&6; }
13259 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13260 for ncn_progname in readelf; do
13261 if test -n "$ncn_target_tool_prefix"; then
13262 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13263 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13265 $as_echo_n "checking
for $ac_word...
" >&6; }
13266 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13267 $as_echo_n "(cached
) " >&6
13269 if test -n "$READELF_FOR_TARGET"; then
13270 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273 for as_dir in $PATH
13276 test -z "$as_dir" && as_dir=.
13277 for ac_exec_ext in '' $ac_executable_extensions; do
13278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13289 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13290 if test -n "$READELF_FOR_TARGET"; then
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13292 $as_echo "$READELF_FOR_TARGET" >&6; }
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13295 $as_echo "no
" >&6; }
13300 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13301 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13302 set dummy ${ncn_progname}; ac_word=$2
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13304 $as_echo_n "checking
for $ac_word...
" >&6; }
13305 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13306 $as_echo_n "(cached
) " >&6
13308 if test -n "$READELF_FOR_TARGET"; then
13309 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312 for as_dir in $PATH
13315 test -z "$as_dir" && as_dir=.
13316 for ac_exec_ext in '' $ac_executable_extensions; do
13317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13318 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13328 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13329 if test -n "$READELF_FOR_TARGET"; then
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13331 $as_echo "$READELF_FOR_TARGET" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13334 $as_echo "no
" >&6; }
13339 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13343 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13345 if test $build = $target ; then
13346 READELF_FOR_TARGET="$2"
13348 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13351 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13355 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13361 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13362 if test -n "$with_build_time_tools"; then
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13364 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13365 if test -x $with_build_time_tools/strip; then
13366 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13367 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13369 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13372 $as_echo "no
" >&6; }
13374 elif test $build != $host && test $have_gcc_for_target = yes; then
13375 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13376 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13377 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13380 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13381 # Extract the first word of "strip
", so it can be a program name with args.
13382 set dummy strip; ac_word=$2
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13384 $as_echo_n "checking
for $ac_word...
" >&6; }
13385 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13386 $as_echo_n "(cached
) " >&6
13388 case $STRIP_FOR_TARGET in
13390 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13394 for as_dir in $gcc_cv_tool_dirs
13397 test -z "$as_dir" && as_dir=.
13398 for ac_exec_ext in '' $ac_executable_extensions; do
13399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13400 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13411 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13412 if test -n "$STRIP_FOR_TARGET"; then
13413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13414 $as_echo "$STRIP_FOR_TARGET" >&6; }
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13417 $as_echo "no
" >&6; }
13422 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13425 if test -n "$STRIP_FOR_TARGET"; then
13426 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13427 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13428 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13431 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13432 for ncn_progname in strip; do
13433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13434 set dummy ${ncn_progname}; ac_word=$2
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13436 $as_echo_n "checking
for $ac_word...
" >&6; }
13437 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13438 $as_echo_n "(cached
) " >&6
13440 if test -n "$STRIP_FOR_TARGET"; then
13441 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13444 for as_dir in $PATH
13447 test -z "$as_dir" && as_dir=.
13448 for ac_exec_ext in '' $ac_executable_extensions; do
13449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13450 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13460 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13461 if test -n "$STRIP_FOR_TARGET"; then
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13463 $as_echo "$STRIP_FOR_TARGET" >&6; }
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13466 $as_echo "no
" >&6; }
13473 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13474 for ncn_progname in strip; do
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13476 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13477 if test -x $with_build_time_tools/${ncn_progname}; then
13478 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13480 $as_echo "yes" >&6; }
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13484 $as_echo "no
" >&6; }
13489 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13490 for ncn_progname in strip; do
13491 if test -n "$ncn_target_tool_prefix"; then
13492 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13493 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13495 $as_echo_n "checking
for $ac_word...
" >&6; }
13496 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13497 $as_echo_n "(cached
) " >&6
13499 if test -n "$STRIP_FOR_TARGET"; then
13500 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13503 for as_dir in $PATH
13506 test -z "$as_dir" && as_dir=.
13507 for ac_exec_ext in '' $ac_executable_extensions; do
13508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13509 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13519 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13520 if test -n "$STRIP_FOR_TARGET"; then
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13522 $as_echo "$STRIP_FOR_TARGET" >&6; }
13524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13525 $as_echo "no
" >&6; }
13530 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13532 set dummy ${ncn_progname}; ac_word=$2
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13534 $as_echo_n "checking
for $ac_word...
" >&6; }
13535 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13536 $as_echo_n "(cached
) " >&6
13538 if test -n "$STRIP_FOR_TARGET"; then
13539 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13542 for as_dir in $PATH
13545 test -z "$as_dir" && as_dir=.
13546 for ac_exec_ext in '' $ac_executable_extensions; do
13547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13548 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13558 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13559 if test -n "$STRIP_FOR_TARGET"; then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13561 $as_echo "$STRIP_FOR_TARGET" >&6; }
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13564 $as_echo "no
" >&6; }
13569 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13573 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13575 if test $build = $target ; then
13576 STRIP_FOR_TARGET="$2"
13578 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13581 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13585 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13591 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13592 if test -n "$with_build_time_tools"; then
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13594 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13595 if test -x $with_build_time_tools/windres; then
13596 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13597 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13599 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13602 $as_echo "no
" >&6; }
13604 elif test $build != $host && test $have_gcc_for_target = yes; then
13605 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13606 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13607 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13610 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13611 # Extract the first word of "windres
", so it can be a program name with args.
13612 set dummy windres; ac_word=$2
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13614 $as_echo_n "checking
for $ac_word...
" >&6; }
13615 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13616 $as_echo_n "(cached
) " >&6
13618 case $WINDRES_FOR_TARGET in
13620 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13624 for as_dir in $gcc_cv_tool_dirs
13627 test -z "$as_dir" && as_dir=.
13628 for ac_exec_ext in '' $ac_executable_extensions; do
13629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13630 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13641 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13642 if test -n "$WINDRES_FOR_TARGET"; then
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13644 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13647 $as_echo "no
" >&6; }
13652 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13655 if test -n "$WINDRES_FOR_TARGET"; then
13656 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13657 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13658 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13661 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13662 for ncn_progname in windres; do
13663 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13664 set dummy ${ncn_progname}; ac_word=$2
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13666 $as_echo_n "checking
for $ac_word...
" >&6; }
13667 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13668 $as_echo_n "(cached
) " >&6
13670 if test -n "$WINDRES_FOR_TARGET"; then
13671 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13674 for as_dir in $PATH
13677 test -z "$as_dir" && as_dir=.
13678 for ac_exec_ext in '' $ac_executable_extensions; do
13679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13680 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13690 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13691 if test -n "$WINDRES_FOR_TARGET"; then
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13693 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13696 $as_echo "no
" >&6; }
13703 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13704 for ncn_progname in windres; do
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13706 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13707 if test -x $with_build_time_tools/${ncn_progname}; then
13708 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13710 $as_echo "yes" >&6; }
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13714 $as_echo "no
" >&6; }
13719 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13720 for ncn_progname in windres; do
13721 if test -n "$ncn_target_tool_prefix"; then
13722 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13723 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13725 $as_echo_n "checking
for $ac_word...
" >&6; }
13726 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13727 $as_echo_n "(cached
) " >&6
13729 if test -n "$WINDRES_FOR_TARGET"; then
13730 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13733 for as_dir in $PATH
13736 test -z "$as_dir" && as_dir=.
13737 for ac_exec_ext in '' $ac_executable_extensions; do
13738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13739 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13749 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13750 if test -n "$WINDRES_FOR_TARGET"; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13752 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13755 $as_echo "no
" >&6; }
13760 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13761 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13762 set dummy ${ncn_progname}; ac_word=$2
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13764 $as_echo_n "checking
for $ac_word...
" >&6; }
13765 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13766 $as_echo_n "(cached
) " >&6
13768 if test -n "$WINDRES_FOR_TARGET"; then
13769 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13772 for as_dir in $PATH
13775 test -z "$as_dir" && as_dir=.
13776 for ac_exec_ext in '' $ac_executable_extensions; do
13777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13778 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13788 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13789 if test -n "$WINDRES_FOR_TARGET"; then
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13791 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13794 $as_echo "no
" >&6; }
13799 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13803 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13805 if test $build = $target ; then
13806 WINDRES_FOR_TARGET="$2"
13808 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13811 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13815 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13821 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13822 if test -n "$with_build_time_tools"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13824 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13825 if test -x $with_build_time_tools/windmc; then
13826 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13827 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13829 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13832 $as_echo "no
" >&6; }
13834 elif test $build != $host && test $have_gcc_for_target = yes; then
13835 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13836 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13837 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13840 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13841 # Extract the first word of "windmc
", so it can be a program name with args.
13842 set dummy windmc; ac_word=$2
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13844 $as_echo_n "checking
for $ac_word...
" >&6; }
13845 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13846 $as_echo_n "(cached
) " >&6
13848 case $WINDMC_FOR_TARGET in
13850 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13854 for as_dir in $gcc_cv_tool_dirs
13857 test -z "$as_dir" && as_dir=.
13858 for ac_exec_ext in '' $ac_executable_extensions; do
13859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13860 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13871 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13872 if test -n "$WINDMC_FOR_TARGET"; then
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13874 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13877 $as_echo "no
" >&6; }
13882 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13885 if test -n "$WINDMC_FOR_TARGET"; then
13886 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13887 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13888 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13891 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13892 for ncn_progname in windmc; do
13893 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13894 set dummy ${ncn_progname}; ac_word=$2
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13896 $as_echo_n "checking
for $ac_word...
" >&6; }
13897 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13898 $as_echo_n "(cached
) " >&6
13900 if test -n "$WINDMC_FOR_TARGET"; then
13901 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13904 for as_dir in $PATH
13907 test -z "$as_dir" && as_dir=.
13908 for ac_exec_ext in '' $ac_executable_extensions; do
13909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13910 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13920 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13921 if test -n "$WINDMC_FOR_TARGET"; then
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13923 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13926 $as_echo "no
" >&6; }
13933 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13934 for ncn_progname in windmc; do
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13936 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13937 if test -x $with_build_time_tools/${ncn_progname}; then
13938 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13940 $as_echo "yes" >&6; }
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13944 $as_echo "no
" >&6; }
13949 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13950 for ncn_progname in windmc; do
13951 if test -n "$ncn_target_tool_prefix"; then
13952 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13953 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13955 $as_echo_n "checking
for $ac_word...
" >&6; }
13956 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13957 $as_echo_n "(cached
) " >&6
13959 if test -n "$WINDMC_FOR_TARGET"; then
13960 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13963 for as_dir in $PATH
13966 test -z "$as_dir" && as_dir=.
13967 for ac_exec_ext in '' $ac_executable_extensions; do
13968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13969 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13979 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13980 if test -n "$WINDMC_FOR_TARGET"; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13982 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13985 $as_echo "no
" >&6; }
13990 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13991 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13992 set dummy ${ncn_progname}; ac_word=$2
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13994 $as_echo_n "checking
for $ac_word...
" >&6; }
13995 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13996 $as_echo_n "(cached
) " >&6
13998 if test -n "$WINDMC_FOR_TARGET"; then
13999 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
14001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14002 for as_dir in $PATH
14005 test -z "$as_dir" && as_dir=.
14006 for ac_exec_ext in '' $ac_executable_extensions; do
14007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14008 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14018 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14019 if test -n "$WINDMC_FOR_TARGET"; then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14021 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14024 $as_echo "no
" >&6; }
14029 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14033 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14035 if test $build = $target ; then
14036 WINDMC_FOR_TARGET="$2"
14038 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14041 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14045 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14049 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14052 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14053 if test "x
${build}" != "x
${host}" ; then
14054 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14055 # We already found the complete path
14056 ac_dir=`dirname $AR_FOR_TARGET`
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14058 $as_echo "pre-installed
in $ac_dir" >&6; }
14060 # Canadian cross, just use what we found
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14062 $as_echo "pre-installed
" >&6; }
14066 case " ${configdirs} " in
14071 if test $ok = yes; then
14072 # An in-tree tool is available and we can use it
14073 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14075 $as_echo "just compiled
" >&6; }
14076 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14077 # We already found the complete path
14078 ac_dir=`dirname $AR_FOR_TARGET`
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14080 $as_echo "pre-installed
in $ac_dir" >&6; }
14081 elif test "x
$target" = "x
$host"; then
14082 # We can use an host tool
14083 AR_FOR_TARGET='$(AR)'
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14085 $as_echo "host tool
" >&6; }
14087 # We need a cross tool
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14089 $as_echo "pre-installed
" >&6; }
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14094 $as_echo_n "checking where to
find the target as...
" >&6; }
14095 if test "x
${build}" != "x
${host}" ; then
14096 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14097 # We already found the complete path
14098 ac_dir=`dirname $AS_FOR_TARGET`
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14100 $as_echo "pre-installed
in $ac_dir" >&6; }
14102 # Canadian cross, just use what we found
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14104 $as_echo "pre-installed
" >&6; }
14108 case " ${configdirs} " in
14113 if test $ok = yes; then
14114 # An in-tree tool is available and we can use it
14115 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14117 $as_echo "just compiled
" >&6; }
14118 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14119 # We already found the complete path
14120 ac_dir=`dirname $AS_FOR_TARGET`
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14122 $as_echo "pre-installed
in $ac_dir" >&6; }
14123 elif test "x
$target" = "x
$host"; then
14124 # We can use an host tool
14125 AS_FOR_TARGET='$(AS)'
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14127 $as_echo "host tool
" >&6; }
14129 # We need a cross tool
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14131 $as_echo "pre-installed
" >&6; }
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14136 $as_echo_n "checking where to
find the target cc...
" >&6; }
14137 if test "x
${build}" != "x
${host}" ; then
14138 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14139 # We already found the complete path
14140 ac_dir=`dirname $CC_FOR_TARGET`
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14142 $as_echo "pre-installed
in $ac_dir" >&6; }
14144 # Canadian cross, just use what we found
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14146 $as_echo "pre-installed
" >&6; }
14150 case " ${configdirs} " in
14155 if test $ok = yes; then
14156 # An in-tree tool is available and we can use it
14157 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14159 $as_echo "just compiled
" >&6; }
14160 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14161 # We already found the complete path
14162 ac_dir=`dirname $CC_FOR_TARGET`
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14164 $as_echo "pre-installed
in $ac_dir" >&6; }
14165 elif test "x
$target" = "x
$host"; then
14166 # We can use an host tool
14167 CC_FOR_TARGET='$(CC)'
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14169 $as_echo "host tool
" >&6; }
14171 # We need a cross tool
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14173 $as_echo "pre-installed
" >&6; }
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14178 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14179 if test "x
${build}" != "x
${host}" ; then
14180 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14181 # We already found the complete path
14182 ac_dir=`dirname $CXX_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; }
14186 # Canadian cross, just use what we found
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14188 $as_echo "pre-installed
" >&6; }
14192 case " ${configdirs} " in
14196 case ,${enable_languages}, in
14200 if test $ok = yes; then
14201 # An in-tree tool is available and we can use it
14202 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'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14204 $as_echo "just compiled
" >&6; }
14205 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14206 # We already found the complete path
14207 ac_dir=`dirname $CXX_FOR_TARGET`
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14209 $as_echo "pre-installed
in $ac_dir" >&6; }
14210 elif test "x
$target" = "x
$host"; then
14211 # We can use an host tool
14212 CXX_FOR_TARGET='$(CXX)'
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14214 $as_echo "host tool
" >&6; }
14216 # We need a cross tool
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14218 $as_echo "pre-installed
" >&6; }
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14223 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14224 if test "x
${build}" != "x
${host}" ; then
14225 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14226 # We already found the complete path
14227 ac_dir=`dirname $RAW_CXX_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; }
14231 # Canadian cross, just use what we found
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14233 $as_echo "pre-installed
" >&6; }
14237 case " ${configdirs} " in
14241 case ,${enable_languages}, in
14245 if test $ok = yes; then
14246 # An in-tree tool is available and we can use it
14247 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'
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14249 $as_echo "just compiled
" >&6; }
14250 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14251 # We already found the complete path
14252 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14254 $as_echo "pre-installed
in $ac_dir" >&6; }
14255 elif test "x
$target" = "x
$host"; then
14256 # We can use an host tool
14257 RAW_CXX_FOR_TARGET='$(CXX)'
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14259 $as_echo "host tool
" >&6; }
14261 # We need a cross tool
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14263 $as_echo "pre-installed
" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14268 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14269 if test "x
${build}" != "x
${host}" ; then
14270 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14271 # We already found the complete path
14272 ac_dir=`dirname $DLLTOOL_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; }
14276 # Canadian cross, just use what we found
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14278 $as_echo "pre-installed
" >&6; }
14282 case " ${configdirs} " in
14287 if test $ok = yes; then
14288 # An in-tree tool is available and we can use it
14289 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14291 $as_echo "just compiled
" >&6; }
14292 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14293 # We already found the complete path
14294 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14296 $as_echo "pre-installed
in $ac_dir" >&6; }
14297 elif test "x
$target" = "x
$host"; then
14298 # We can use an host tool
14299 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14301 $as_echo "host tool
" >&6; }
14303 # We need a cross tool
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14305 $as_echo "pre-installed
" >&6; }
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14310 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14311 if test "x
${build}" != "x
${host}" ; then
14312 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14313 # We already found the complete path
14314 ac_dir=`dirname $GCC_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; }
14318 # Canadian cross, just use what we found
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14320 $as_echo "pre-installed
" >&6; }
14324 case " ${configdirs} " in
14329 if test $ok = yes; then
14330 # An in-tree tool is available and we can use it
14331 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14333 $as_echo "just compiled
" >&6; }
14334 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14335 # We already found the complete path
14336 ac_dir=`dirname $GCC_FOR_TARGET`
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14338 $as_echo "pre-installed
in $ac_dir" >&6; }
14339 elif test "x
$target" = "x
$host"; then
14340 # We can use an host tool
14341 GCC_FOR_TARGET='$()'
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14343 $as_echo "host tool
" >&6; }
14345 # We need a cross tool
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14347 $as_echo "pre-installed
" >&6; }
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14352 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14353 if test "x
${build}" != "x
${host}" ; then
14354 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14355 # We already found the complete path
14356 ac_dir=`dirname $GCJ_FOR_TARGET`
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14358 $as_echo "pre-installed
in $ac_dir" >&6; }
14360 # Canadian cross, just use what we found
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14362 $as_echo "pre-installed
" >&6; }
14366 case " ${configdirs} " in
14370 case ,${enable_languages}, in
14374 if test $ok = yes; then
14375 # An in-tree tool is available and we can use it
14376 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14378 $as_echo "just compiled
" >&6; }
14379 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14380 # We already found the complete path
14381 ac_dir=`dirname $GCJ_FOR_TARGET`
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14383 $as_echo "pre-installed
in $ac_dir" >&6; }
14384 elif test "x
$target" = "x
$host"; then
14385 # We can use an host tool
14386 GCJ_FOR_TARGET='$(GCJ)'
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14388 $as_echo "host tool
" >&6; }
14390 # We need a cross tool
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14392 $as_echo "pre-installed
" >&6; }
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14397 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14398 if test "x
${build}" != "x
${host}" ; then
14399 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14400 # We already found the complete path
14401 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14403 $as_echo "pre-installed
in $ac_dir" >&6; }
14405 # Canadian cross, just use what we found
14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14407 $as_echo "pre-installed
" >&6; }
14411 case " ${configdirs} " in
14415 case ,${enable_languages}, in
14419 if test $ok = yes; then
14420 # An in-tree tool is available and we can use it
14421 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14423 $as_echo "just compiled
" >&6; }
14424 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14425 # We already found the complete path
14426 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14428 $as_echo "pre-installed
in $ac_dir" >&6; }
14429 elif test "x
$target" = "x
$host"; then
14430 # We can use an host tool
14431 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14433 $as_echo "host tool
" >&6; }
14435 # We need a cross tool
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14437 $as_echo "pre-installed
" >&6; }
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14442 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14443 if test "x
${build}" != "x
${host}" ; then
14444 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14445 # We already found the complete path
14446 ac_dir=`dirname $GOC_FOR_TARGET`
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14448 $as_echo "pre-installed
in $ac_dir" >&6; }
14450 # Canadian cross, just use what we found
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14452 $as_echo "pre-installed
" >&6; }
14456 case " ${configdirs} " in
14460 case ,${enable_languages}, in
14464 if test $ok = yes; then
14465 # An in-tree tool is available and we can use it
14466 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14468 $as_echo "just compiled
" >&6; }
14469 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14470 # We already found the complete path
14471 ac_dir=`dirname $GOC_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 GOC_FOR_TARGET='$(GOC)'
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 gupc
" >&5
14487 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14488 if test "x
${build}" != "x
${host}" ; then
14489 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14490 # We already found the complete path
14491 ac_dir=`dirname $GUPC_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
14505 case ,${enable_languages}, in
14509 if test $ok = yes; then
14510 # An in-tree tool is available and we can use it
14511 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14513 $as_echo "just compiled
" >&6; }
14514 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14515 # We already found the complete path
14516 ac_dir=`dirname $GUPC_FOR_TARGET`
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14518 $as_echo "pre-installed
in $ac_dir" >&6; }
14519 elif test "x
$target" = "x
$host"; then
14520 # We can use an host tool
14521 GUPC_FOR_TARGET='$(GUPC)'
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14523 $as_echo "host tool
" >&6; }
14525 # We need a cross tool
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14527 $as_echo "pre-installed
" >&6; }
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14532 $as_echo_n "checking where to
find the target ld...
" >&6; }
14533 if test "x
${build}" != "x
${host}" ; then
14534 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14535 # We already found the complete path
14536 ac_dir=`dirname $LD_FOR_TARGET`
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14538 $as_echo "pre-installed
in $ac_dir" >&6; }
14540 # Canadian cross, just use what we found
14541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14542 $as_echo "pre-installed
" >&6; }
14546 case " ${configdirs} " in
14551 if test $ok = yes; then
14552 # An in-tree tool is available and we can use it
14553 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14555 $as_echo "just compiled
" >&6; }
14556 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14557 # We already found the complete path
14558 ac_dir=`dirname $LD_FOR_TARGET`
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14560 $as_echo "pre-installed
in $ac_dir" >&6; }
14561 elif test "x
$target" = "x
$host"; then
14562 # We can use an host tool
14563 LD_FOR_TARGET='$(LD)'
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14565 $as_echo "host tool
" >&6; }
14567 # We need a cross tool
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14569 $as_echo "pre-installed
" >&6; }
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14574 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14575 if test "x
${build}" != "x
${host}" ; then
14576 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14577 # We already found the complete path
14578 ac_dir=`dirname $LIPO_FOR_TARGET`
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14580 $as_echo "pre-installed
in $ac_dir" >&6; }
14582 # Canadian cross, just use what we found
14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14584 $as_echo "pre-installed
" >&6; }
14587 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14588 # We already found the complete path
14589 ac_dir=`dirname $LIPO_FOR_TARGET`
14590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14591 $as_echo "pre-installed
in $ac_dir" >&6; }
14592 elif test "x
$target" = "x
$host"; then
14593 # We can use an host tool
14594 LIPO_FOR_TARGET='$(LIPO)'
14595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14596 $as_echo "host tool
" >&6; }
14598 # We need a cross tool
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14600 $as_echo "pre-installed
" >&6; }
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14605 $as_echo_n "checking where to
find the target nm...
" >&6; }
14606 if test "x
${build}" != "x
${host}" ; then
14607 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14608 # We already found the complete path
14609 ac_dir=`dirname $NM_FOR_TARGET`
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14611 $as_echo "pre-installed
in $ac_dir" >&6; }
14613 # Canadian cross, just use what we found
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14615 $as_echo "pre-installed
" >&6; }
14619 case " ${configdirs} " in
14624 if test $ok = yes; then
14625 # An in-tree tool is available and we can use it
14626 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14628 $as_echo "just compiled
" >&6; }
14629 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14630 # We already found the complete path
14631 ac_dir=`dirname $NM_FOR_TARGET`
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14633 $as_echo "pre-installed
in $ac_dir" >&6; }
14634 elif test "x
$target" = "x
$host"; then
14635 # We can use an host tool
14636 NM_FOR_TARGET='$(NM)'
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14638 $as_echo "host tool
" >&6; }
14640 # We need a cross tool
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14642 $as_echo "pre-installed
" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14647 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14648 if test "x
${build}" != "x
${host}" ; then
14649 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14650 # We already found the complete path
14651 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14653 $as_echo "pre-installed
in $ac_dir" >&6; }
14655 # Canadian cross, just use what we found
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14657 $as_echo "pre-installed
" >&6; }
14661 case " ${configdirs} " in
14666 if test $ok = yes; then
14667 # An in-tree tool is available and we can use it
14668 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14670 $as_echo "just compiled
" >&6; }
14671 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14672 # We already found the complete path
14673 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14675 $as_echo "pre-installed
in $ac_dir" >&6; }
14676 elif test "x
$target" = "x
$host"; then
14677 # We can use an host tool
14678 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14680 $as_echo "host tool
" >&6; }
14682 # We need a cross tool
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14684 $as_echo "pre-installed
" >&6; }
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14689 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14690 if test "x
${build}" != "x
${host}" ; then
14691 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14692 # We already found the complete path
14693 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14695 $as_echo "pre-installed
in $ac_dir" >&6; }
14697 # Canadian cross, just use what we found
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14699 $as_echo "pre-installed
" >&6; }
14703 case " ${configdirs} " in
14708 if test $ok = yes; then
14709 # An in-tree tool is available and we can use it
14710 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14712 $as_echo "just compiled
" >&6; }
14713 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14714 # We already found the complete path
14715 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14717 $as_echo "pre-installed
in $ac_dir" >&6; }
14718 elif test "x
$target" = "x
$host"; then
14719 # We can use an host tool
14720 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14722 $as_echo "host tool
" >&6; }
14724 # We need a cross tool
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14726 $as_echo "pre-installed
" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14731 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14732 if test "x
${build}" != "x
${host}" ; then
14733 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14734 # We already found the complete path
14735 ac_dir=`dirname $RANLIB_FOR_TARGET`
14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14737 $as_echo "pre-installed
in $ac_dir" >&6; }
14739 # Canadian cross, just use what we found
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14741 $as_echo "pre-installed
" >&6; }
14745 case " ${configdirs} " in
14750 if test $ok = yes; then
14751 # An in-tree tool is available and we can use it
14752 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14754 $as_echo "just compiled
" >&6; }
14755 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14756 # We already found the complete path
14757 ac_dir=`dirname $RANLIB_FOR_TARGET`
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14759 $as_echo "pre-installed
in $ac_dir" >&6; }
14760 elif test "x
$target" = "x
$host"; then
14761 # We can use an host tool
14762 RANLIB_FOR_TARGET='$(RANLIB)'
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14764 $as_echo "host tool
" >&6; }
14766 # We need a cross tool
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14768 $as_echo "pre-installed
" >&6; }
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14773 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14774 if test "x
${build}" != "x
${host}" ; then
14775 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14776 # We already found the complete path
14777 ac_dir=`dirname $READELF_FOR_TARGET`
14778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14779 $as_echo "pre-installed
in $ac_dir" >&6; }
14781 # Canadian cross, just use what we found
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14783 $as_echo "pre-installed
" >&6; }
14787 case " ${configdirs} " in
14792 if test $ok = yes; then
14793 # An in-tree tool is available and we can use it
14794 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14796 $as_echo "just compiled
" >&6; }
14797 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14798 # We already found the complete path
14799 ac_dir=`dirname $READELF_FOR_TARGET`
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14801 $as_echo "pre-installed
in $ac_dir" >&6; }
14802 elif test "x
$target" = "x
$host"; then
14803 # We can use an host tool
14804 READELF_FOR_TARGET='$(READELF)'
14805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14806 $as_echo "host tool
" >&6; }
14808 # We need a cross tool
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14810 $as_echo "pre-installed
" >&6; }
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14815 $as_echo_n "checking where to
find the target strip...
" >&6; }
14816 if test "x
${build}" != "x
${host}" ; then
14817 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14818 # We already found the complete path
14819 ac_dir=`dirname $STRIP_FOR_TARGET`
14820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14821 $as_echo "pre-installed
in $ac_dir" >&6; }
14823 # Canadian cross, just use what we found
14824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14825 $as_echo "pre-installed
" >&6; }
14829 case " ${configdirs} " in
14834 if test $ok = yes; then
14835 # An in-tree tool is available and we can use it
14836 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14838 $as_echo "just compiled
" >&6; }
14839 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14840 # We already found the complete path
14841 ac_dir=`dirname $STRIP_FOR_TARGET`
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14843 $as_echo "pre-installed
in $ac_dir" >&6; }
14844 elif test "x
$target" = "x
$host"; then
14845 # We can use an host tool
14846 STRIP_FOR_TARGET='$(STRIP)'
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14848 $as_echo "host tool
" >&6; }
14850 # We need a cross tool
14851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14852 $as_echo "pre-installed
" >&6; }
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14857 $as_echo_n "checking where to
find the target windres...
" >&6; }
14858 if test "x
${build}" != "x
${host}" ; then
14859 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14860 # We already found the complete path
14861 ac_dir=`dirname $WINDRES_FOR_TARGET`
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14863 $as_echo "pre-installed
in $ac_dir" >&6; }
14865 # Canadian cross, just use what we found
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14867 $as_echo "pre-installed
" >&6; }
14871 case " ${configdirs} " in
14876 if test $ok = yes; then
14877 # An in-tree tool is available and we can use it
14878 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14880 $as_echo "just compiled
" >&6; }
14881 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14882 # We already found the complete path
14883 ac_dir=`dirname $WINDRES_FOR_TARGET`
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14885 $as_echo "pre-installed
in $ac_dir" >&6; }
14886 elif test "x
$target" = "x
$host"; then
14887 # We can use an host tool
14888 WINDRES_FOR_TARGET='$(WINDRES)'
14889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14890 $as_echo "host tool
" >&6; }
14892 # We need a cross tool
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14894 $as_echo "pre-installed
" >&6; }
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14899 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14900 if test "x
${build}" != "x
${host}" ; then
14901 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14902 # We already found the complete path
14903 ac_dir=`dirname $WINDMC_FOR_TARGET`
14904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14905 $as_echo "pre-installed
in $ac_dir" >&6; }
14907 # Canadian cross, just use what we found
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14909 $as_echo "pre-installed
" >&6; }
14913 case " ${configdirs} " in
14918 if test $ok = yes; then
14919 # An in-tree tool is available and we can use it
14920 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14922 $as_echo "just compiled
" >&6; }
14923 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14924 # We already found the complete path
14925 ac_dir=`dirname $WINDMC_FOR_TARGET`
14926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14927 $as_echo "pre-installed
in $ac_dir" >&6; }
14928 elif test "x
$target" = "x
$host"; then
14929 # We can use an host tool
14930 WINDMC_FOR_TARGET='$(WINDMC)'
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14932 $as_echo "host tool
" >&6; }
14934 # We need a cross tool
14935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14936 $as_echo "pre-installed
" >&6; }
14944 # Certain tools may need extra flags.
14945 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14946 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14947 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14949 # When building target libraries, except in a Canadian cross, we use
14950 # the same toolchain as the compiler we just built.
14951 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14952 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14953 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14954 if test $host = $build; then
14955 case " $configdirs " in
14957 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14958 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14959 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14969 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14970 # Check whether --enable-maintainer-mode was given.
14971 if test "${enable_maintainer_mode+set}" = set; then :
14972 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14974 USE_MAINTAINER_MODE=no
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14978 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14981 if test "$USE_MAINTAINER_MODE" = yes; then
14982 MAINTAINER_MODE_TRUE=
14983 MAINTAINER_MODE_FALSE='#'
14985 MAINTAINER_MODE_TRUE='#'
14986 MAINTAINER_MODE_FALSE=
14988 MAINT=$MAINTAINER_MODE_TRUE
14990 # ---------------------
14991 # GCC bootstrap support
14992 # ---------------------
14994 # Stage specific cflags for build.
14999 yes) stage1_cflags="-g -Wa,-J" ;;
15000 *) stage1_cflags="-g -J" ;;
15006 # Enable --enable-checking in stage1 of the compiler.
15007 # Check whether --enable-stage1-checking was given.
15008 if test "${enable_stage1_checking+set}" = set; then :
15009 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15011 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15012 stage1_checking=--enable-checking=yes,types
15014 stage1_checking=--enable-checking=$enable_checking,types
15020 # Enable -Werror in bootstrap stage2 and later.
15021 # Check whether --enable-werror was given.
15022 if test "${enable_werror+set}" = set; then :
15023 enableval=$enable_werror;
15025 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15032 case ${enable_werror} in
15033 yes) stage2_werror_flag="--enable-werror-always" ;;
15034 *) stage2_werror_flag="" ;;
15038 # Enable --enable-host-shared.
15039 # Check whether --enable-host-shared was given.
15040 if test "${enable_host_shared+set}" = set; then :
15041 enableval=$enable_host_shared; host_shared=$enableval
15048 # PR jit/64780: Require the user to explicitly specify
15049 # --enable-host-shared if the jit is enabled, hinting
15050 # that they might want to do a separate configure/build of
15051 # the jit, to avoid users from slowing down the rest of the
15052 # compiler by enabling the jit.
15053 if test ${host_shared} = "no
" ; then
15054 case "${enable_languages}" in
15057 Enabling language
\"jit
\" requires
--enable-host-shared.
15059 --enable-host-shared typically slows the rest of the compiler down by
15060 a few
%, so you must explicitly
enable it.
15062 If you want to build both the jit and the regular compiler
, it is often
15063 best to
do this via two separate configure
/builds
, in separate
15064 directories
, to avoid imposing the performance cost of
15065 --enable-host-shared on the regular compiler.
" "$LINENO" 5
15072 # Specify what files to not compare during bootstrap.
15074 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15076 hppa*64*-*-hpux*) ;;
15077 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
15078 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15082 ac_config_files="$ac_config_files Makefile
"
15084 cat >confcache <<\_ACEOF
15085 # This file is a shell script that caches the results of configure
15086 # tests run on this system so they can be shared between configure
15087 # scripts and configure runs, see configure's option --config-cache.
15088 # It is not useful on other systems. If it contains results you don't
15089 # want to keep, you may remove or edit it.
15091 # config.status only pays attention to the cache file if you give it
15092 # the --recheck option to rerun configure.
15094 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15095 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15096 # following values.
15100 # The following way of writing the cache mishandles newlines in values,
15101 # but we know of no workaround that is simple, portable, and efficient.
15102 # So, we kill variables containing newlines.
15103 # Ultrix sh set writes to stderr and can't be redirected directly,
15104 # and sets the high bit in the cache file unless we assign to the vars.
15106 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15107 eval ac_val=\$$ac_var
15111 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15112 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15115 _ | IFS | as_nl) ;; #(
15116 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15117 *) { eval $ac_var=; unset $ac_var;} ;;
15123 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15124 *${as_nl}ac_space=\ *)
15125 # `set' does not quote correctly, so add quotes: double-quote
15126 # substitution turns \\\\ into \\, and sed turns \\ into \.
15129 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15132 # `set' quotes correctly as required by POSIX, so do not add quotes.
15133 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15142 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15144 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15146 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15147 if test -w "$cache_file"; then
15148 test "x
$cache_file" != "x
/dev
/null
" &&
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15150 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15151 cat confcache >$cache_file
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15154 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15159 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15160 # Let make expand exec_prefix.
15161 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15163 # Transform confdefs.h into DEFS.
15164 # Protect against shell expansion while executing Makefile rules.
15165 # Protect against Makefile macro expansion.
15167 # If the first sed substitution is executed (which looks for macros that
15168 # take arguments), then branch to the quote section. Otherwise,
15169 # look for a macro that doesn't take arguments.
15179 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15181 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15185 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15198 DEFS=`sed -n "$ac_script" confdefs.h`
15203 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15204 # 1. Remove the extension, and $U if already installed.
15205 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15206 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15207 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15208 # will be set to the directory where LIBOBJS objects are built.
15209 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15210 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15212 LIBOBJS=$ac_libobjs
15214 LTLIBOBJS=$ac_ltlibobjs
15218 : ${CONFIG_STATUS=./config.status}
15220 ac_clean_files_save=$ac_clean_files
15221 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15222 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15223 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15225 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15227 # Generated by $as_me.
15228 # Run this file to recreate the current configuration.
15229 # Compiler output produced by configure, useful for debugging
15230 # configure, is in config.log if it exists.
15233 ac_cs_recheck=false
15236 SHELL=\${CONFIG_SHELL-$SHELL}
15239 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15240 ## -------------------- ##
15241 ## M4sh Initialization. ##
15242 ## -------------------- ##
15244 # Be more Bourne compatible
15245 DUALCASE=1; export DUALCASE # for MKS sh
15246 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15249 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15250 # is contrary to our usage. Disable this feature.
15251 alias -g '${1+"$@"}'='"$@"'
15252 setopt NO_GLOB_SUBST
15254 case `(set -o) 2>/dev/null` in #(
15266 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15267 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15268 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15269 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15270 # Prefer a ksh shell builtin over an external printf program on Solaris,
15271 # but without wasting forks for bash or zsh.
15272 if test -z "$BASH_VERSION$ZSH_VERSION" \
15273 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15274 as_echo
='print -r --'
15275 as_echo_n
='print -rn --'
15276 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15277 as_echo
='printf %s\n'
15278 as_echo_n
='printf %s'
15280 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15281 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15282 as_echo_n
='/usr/ucb/echo -n'
15284 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15285 as_echo_n_body
='eval
15289 expr "X$arg" : "X\\(.*\\)$as_nl";
15290 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15292 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15294 export as_echo_n_body
15295 as_echo_n
='sh -c $as_echo_n_body as_echo'
15297 export as_echo_body
15298 as_echo
='sh -c $as_echo_body as_echo'
15301 # The user is always right.
15302 if test "${PATH_SEPARATOR+set}" != set; then
15304 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15305 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15312 # We need space, tab and new line, in precisely that order. Quoting is
15313 # there to prevent editors from complaining about space-tab.
15314 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15315 # splitting by setting IFS to empty value.)
15318 # Find who we are. Look in the path if we contain no directory separator.
15320 *[\\/]* ) as_myself
=$0 ;;
15321 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15322 for as_dir
in $PATH
15325 test -z "$as_dir" && as_dir
=.
15326 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15332 # We did not find ourselves, most probably we were run as `sh COMMAND'
15333 # in which case we are not to be found in the path.
15334 if test "x$as_myself" = x
; then
15337 if test ! -f "$as_myself"; then
15338 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15342 # Unset variables that we do not need and which cause bugs (e.g. in
15343 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15344 # suppresses any "Segmentation fault" message there. '((' could
15345 # trigger a bug in pdksh 5.2.14.
15346 for as_var
in BASH_ENV ENV MAIL MAILPATH
15347 do eval test x\
${$as_var+set} = xset \
15348 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15361 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15364 # as_fn_error ERROR [LINENO LOG_FD]
15365 # ---------------------------------
15366 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15367 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15368 # script with status $?, using 1 if that was 0.
15371 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15373 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15374 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15376 $as_echo "$as_me: error: $1" >&2
15377 as_fn_exit
$as_status
15381 # as_fn_set_status STATUS
15382 # -----------------------
15383 # Set $? to STATUS, without forking.
15384 as_fn_set_status
()
15387 } # as_fn_set_status
15389 # as_fn_exit STATUS
15390 # -----------------
15391 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15395 as_fn_set_status
$1
15401 # Portably unset VAR.
15404 { eval $1=; unset $1;}
15406 as_unset
=as_fn_unset
15407 # as_fn_append VAR VALUE
15408 # ----------------------
15409 # Append the text in VALUE to the end of the definition contained in VAR. Take
15410 # advantage of any shell optimizations that allow amortized linear growth over
15411 # repeated appends, instead of the typical quadratic growth present in naive
15413 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15414 eval 'as_fn_append ()
15425 # as_fn_arith ARG...
15426 # ------------------
15427 # Perform arithmetic evaluation on the ARGs, and store the result in the
15428 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15429 # must be portable across $(()) and expr.
15430 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15431 eval 'as_fn_arith ()
15438 as_val
=`expr "$@" || test $? -eq 1`
15443 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15444 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15450 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15451 as_basename
=basename
15456 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15462 as_me
=`$as_basename -- "$0" ||
15463 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15464 X"$0" : 'X\(//\)$' \| \
15465 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15467 sed '/^.*\/\([^/][^/]*\)\/*$/{
15481 # Avoid depending upon Character Ranges.
15482 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15483 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15484 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15485 as_cr_digits
='0123456789'
15486 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15488 ECHO_C
= ECHO_N
= ECHO_T
=
15489 case `echo -n x` in #(((((
15491 case `echo 'xy\c'` in
15492 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15494 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15501 rm -f conf$$ conf$$.exe conf$$.
file
15502 if test -d conf$$.dir
; then
15503 rm -f conf$$.dir
/conf$$.
file
15506 mkdir conf$$.dir
2>/dev
/null
15508 if (echo >conf$$.
file) 2>/dev
/null
; then
15509 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15511 # ... but there are two gotchas:
15512 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15513 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15514 # In both cases, we have to default to `cp -p'.
15515 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15517 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15525 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15526 rmdir conf$$.dir
2>/dev
/null
15531 # Create "$as_dir" as a directory, including parents if necessary.
15536 -*) as_dir
=.
/$as_dir;;
15538 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15542 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15543 *) as_qdir
=$as_dir;;
15545 as_dirs
="'$as_qdir' $as_dirs"
15546 as_dir
=`$as_dirname -- "$as_dir" ||
15547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15548 X"$as_dir" : 'X\(//\)[^/]' \| \
15549 X"$as_dir" : 'X\(//\)$' \| \
15550 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15551 $as_echo X"$as_dir" |
15552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15556 /^X\(\/\/\)[^/].*/{
15569 test -d "$as_dir" && break
15571 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15572 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15576 if mkdir
-p .
2>/dev
/null
; then
15577 as_mkdir_p
='mkdir -p "$as_dir"'
15579 test -d .
/-p && rmdir .
/-p
15583 if test -x / >/dev
/null
2>&1; then
15584 as_test_x
='test -x'
15586 if ls -dL / >/dev
/null
2>&1; then
15593 if test -d "$1"; then
15599 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15600 ???[sx]*):;;*)false;;esac;fi
15604 as_executable_p
=$as_test_x
15606 # Sed expression to map a string onto a valid CPP name.
15607 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15609 # Sed expression to map a string onto a valid variable name.
15610 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15614 ## ----------------------------------- ##
15615 ## Main body of $CONFIG_STATUS script. ##
15616 ## ----------------------------------- ##
15618 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15621 # Save the log message, to keep $0 and so on meaningful, and to
15622 # report actual input values of CONFIG_FILES etc. instead of their
15623 # values after options handling.
15625 This file was extended by $as_me, which was
15626 generated by GNU Autoconf 2.64. Invocation command line was
15628 CONFIG_FILES = $CONFIG_FILES
15629 CONFIG_HEADERS = $CONFIG_HEADERS
15630 CONFIG_LINKS = $CONFIG_LINKS
15631 CONFIG_COMMANDS = $CONFIG_COMMANDS
15634 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15639 case $ac_config_files in *"
15640 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15646 # Files that config.status was made for.
15647 config_files="$ac_config_files"
15651 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15653 \`$as_me' instantiates files and other configuration actions
15654 from templates according to the current configuration. Unless the files
15655 and actions are specified as TAGs, all are instantiated by default.
15657 Usage: $0 [OPTION]... [TAG]...
15659 -h, --help print this help, then exit
15660 -V, --version print version number and configuration settings, then exit
15661 -q, --quiet, --silent
15662 do not print progress messages
15663 -d, --debug don't remove temporary files
15664 --recheck update $as_me by reconfiguring in the same conditions
15665 --file=FILE[:TEMPLATE]
15666 instantiate the configuration file FILE
15668 Configuration files:
15671 Report bugs to the package provider."
15674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15677 configured by $0, generated by GNU Autoconf 2.64,
15678 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15680 Copyright (C) 2009 Free Software Foundation, Inc.
15681 This config.status script is free software; the Free Software Foundation
15682 gives unlimited permission to copy, distribute and modify it."
15688 test -n "\$AWK" || AWK=awk
15691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15692 # The default lists apply if the user does not specify any file.
15698 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15699 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15710 # Handling of the options.
15711 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15713 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15714 $as_echo "$ac_cs_version"; exit ;;
15715 --debug |
--debu |
--deb |
--de |
--d |
-d )
15717 --file |
--fil |
--fi |
--f )
15720 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15722 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15723 ac_need_defaults
=false
;;
15724 --he |
--h |
--help |
--hel |
-h )
15725 $as_echo "$ac_cs_usage"; exit ;;
15726 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15727 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15730 # This is an error.
15731 -*) as_fn_error
"unrecognized option: \`$1'
15732 Try \`$0 --help' for more information." ;;
15734 *) as_fn_append ac_config_targets
" $1"
15735 ac_need_defaults
=false
;;
15741 ac_configure_extra_args
=
15743 if $ac_cs_silent; then
15745 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15750 if \$ac_cs_recheck; then
15751 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15753 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15754 CONFIG_SHELL='$SHELL'
15755 export CONFIG_SHELL
15760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15764 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15765 ## Running $as_me. ##
15771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15775 extrasub_build="$extrasub_build"
15776 extrasub_host="$extrasub_host"
15777 extrasub_target="$extrasub_target"
15781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15783 # Handling of arguments.
15784 for ac_config_target
in $ac_config_targets
15786 case $ac_config_target in
15787 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15789 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15794 # If the user did not use the arguments to specify the items to instantiate,
15795 # then the envvar interface is used. Set only those that are not.
15796 # We use the long form for the default assignment because of an extremely
15797 # bizarre bug on SunOS 4.1.3.
15798 if $ac_need_defaults; then
15799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15802 # Have a temporary directory for convenience. Make it in the build tree
15803 # simply because there is no reason against having it here, and in addition,
15804 # creating and moving files from /tmp can sometimes cause problems.
15805 # Hook for its removal unless debugging.
15806 # Note that there is a small window in which the directory will not be cleaned:
15807 # after its creation but before its name has been assigned to `$tmp'.
15811 trap 'exit_status=$?
15812 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15814 trap 'as_fn_exit 1' 1 2 13 15
15816 # Create a (secure) tmp directory for tmp files.
15819 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15820 test -n "$tmp" && test -d "$tmp"
15823 tmp
=.
/conf$$
-$RANDOM
15824 (umask 077 && mkdir
"$tmp")
15825 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15827 # Set up the scripts for CONFIG_FILES section.
15828 # No need to generate them if there are no CONFIG_FILES.
15829 # This happens for instance with `./config.status config.h'.
15830 if test -n "$CONFIG_FILES"; then
15832 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15833 ac_cs_awk_getline
=:
15834 ac_cs_awk_pipe_init
=
15835 ac_cs_awk_read_file
='
15836 while ((getline aline < (F[key])) > 0)
15839 ac_cs_awk_pipe_fini
=
15841 ac_cs_awk_getline
=false
15842 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15843 ac_cs_awk_read_file
='
15845 print "cat " F[key] " &&"
15846 '$ac_cs_awk_pipe_init
15847 # The final `:' finishes the AND list.
15848 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15850 ac_cr
=`echo X | tr X '\015'`
15851 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15852 # But we know of no other shell where ac_cr would be empty at this
15853 # point, so we can use a bashism as a fallback.
15854 if test "x$ac_cr" = x
; then
15855 eval ac_cr
=\$
\'\\r
\'
15857 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15858 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15861 ac_cs_awk_cr
=$ac_cr
15864 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15867 # Create commands to substitute file output variables.
15869 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15870 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15871 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15874 } >conf$
$files.sh
&&
15875 . .
/conf$
$files.sh ||
15876 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15877 rm -f conf$
$files.sh
15880 echo "cat >conf$$subs.awk <<_ACEOF" &&
15881 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15883 } >conf$$subs.sh ||
15884 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15885 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15887 for ac_last_try in false false false false false :; do
15888 . ./conf$$subs.sh ||
15889 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15891 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15892 if test $ac_delim_n = $ac_delim_num; then
15894 elif $ac_last_try; then
15895 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15897 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15900 rm -f conf$$subs.sh
15902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15903 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15907 s/^/S["/; s
/!.
*/"]=/
15917 s/\(.\{148\}\).*/\1/
15919 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15924 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15931 s/\(.\{148\}\).*/\1/
15933 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15942 ' <conf$$subs.awk | sed '
15947 ' >>$CONFIG_STATUS || ac_write_fail=1
15948 rm -f conf$$subs.awk
15949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15951 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15952 for (key in S) S_is_set[key] = 1
15954 \$ac_cs_awk_pipe_init
15958 nfields = split(line, field, "@
")
15960 len = length(field[1])
15961 for (i = 2; i < nfields; i++) {
15963 keylen = length(key)
15964 if (S_is_set[key]) {
15966 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15967 len += length(value) + length(field[++i])
15972 if (nfields == 3 && !substed) {
15974 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15975 \$ac_cs_awk_read_file
15981 \$ac_cs_awk_pipe_fini
15984 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15985 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15986 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15989 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15990 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15993 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15994 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15995 # trailing colons and then remove the whole line if VPATH becomes empty
15996 # (actually we leave an empty line to preserve line numbers).
15997 if test "x
$srcdir" = x.; then
15998 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15999 s/:*\$(srcdir):*/:/
16000 s/:*\${srcdir}:*/:/
16002 s/^\([^=]*=[ ]*\):*/\1/
16008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16009 fi # test -n "$CONFIG_FILES"
16012 eval set X " :F
$CONFIG_FILES "
16017 :[FHLC]) ac_mode=$ac_tag; continue;;
16019 case $ac_mode$ac_tag in
16021 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
16022 :[FH]-) ac_tag=-:-;;
16023 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16040 -) ac_f="$tmp/stdin";;
16041 *) # Look for the file first in the build tree, then in the source tree
16042 # (if the path is not absolute). The absolute path cannot be DOS-style,
16043 # because $ac_f cannot contain `:'.
16047 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16049 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16051 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16052 as_fn_append ac_file_inputs " '$ac_f'"
16055 # Let's still pretend it is `configure' which instantiates (i.e., don't
16056 # use $as_me), people would be surprised to read:
16057 # /* config.h. Generated by config.status. */
16058 configure_input='Generated from '`
16059 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16061 if test x"$ac_file" != x-; then
16062 configure_input="$ac_file.
$configure_input"
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16064 $as_echo "$as_me: creating
$ac_file" >&6;}
16066 # Neutralize special characters interpreted by sed in replacement strings.
16067 case $configure_input in #(
16068 *\&* | *\|* | *\\* )
16069 ac_sed_conf_input=`$as_echo "$configure_input" |
16070 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16071 *) ac_sed_conf_input=$configure_input;;
16075 *:-:* | *:-) cat >"$tmp/stdin
" \
16076 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16081 ac_dir=`$as_dirname -- "$ac_file" ||
16082 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16083 X"$ac_file" : 'X\(//\)[^/]' \| \
16084 X"$ac_file" : 'X\(//\)$' \| \
16085 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16086 $as_echo X"$ac_file" |
16087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16091 /^X\(\/\/\)[^/].*/{
16104 as_dir="$ac_dir"; as_fn_mkdir_p
16108 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16110 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16111 # A "..
" for each directory in $ac_dir_suffix.
16112 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16113 case $ac_top_builddir_sub in
16114 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16115 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16118 ac_abs_top_builddir=$ac_pwd
16119 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16120 # for backward compatibility:
16121 ac_top_builddir=$ac_top_build_prefix
16124 .) # We are building in place.
16126 ac_top_srcdir=$ac_top_builddir_sub
16127 ac_abs_top_srcdir=$ac_pwd ;;
16128 [\\/]* | ?:[\\/]* ) # Absolute name.
16129 ac_srcdir=$srcdir$ac_dir_suffix;
16130 ac_top_srcdir=$srcdir
16131 ac_abs_top_srcdir=$srcdir ;;
16132 *) # Relative name.
16133 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16134 ac_top_srcdir=$ac_top_build_prefix$srcdir
16135 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16137 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16147 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16148 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16152 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16153 # If the template does not know about datarootdir, expand it.
16154 # FIXME: This hack should be removed a few years after 2.60.
16155 ac_datarootdir_hack=; ac_datarootdir_seen=
16166 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16167 *datarootdir*) ac_datarootdir_seen=yes;;
16168 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16170 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16173 ac_datarootdir_hack='
16174 s&@datadir@&$datadir&g
16175 s&@docdir@&$docdir&g
16176 s&@infodir@&$infodir&g
16177 s&@localedir@&$localedir&g
16178 s&@mandir@&$mandir&g
16179 s&\\\${datarootdir}&$datarootdir&g' ;;
16183 # Neutralize VPATH when `$srcdir' = `.'.
16184 # Shell code in configure.ac might set extrasub.
16185 # FIXME: do we really want to maintain this feature?
16186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16187 ac_sed_extra="$ac_vpsub
16190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16192 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16193 s|@configure_input@|
$ac_sed_conf_input|
;t t
16194 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16195 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16196 s
&@srcdir@
&$ac_srcdir&;t t
16197 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16198 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16199 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16200 s
&@builddir@
&$ac_builddir&;t t
16201 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16202 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16203 s
&@INSTALL@
&$ac_INSTALL&;t t
16204 $ac_datarootdir_hack
16206 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16207 if $ac_cs_awk_getline; then
16208 $AWK -f "$tmp/subs.
awk"
16210 $AWK -f "$tmp/subs.
awk" | $SHELL
16212 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16214 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16215 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16216 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16218 which seems to be undefined. Please make sure it is defined." >&5
16219 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16220 which seems to be undefined. Please make sure it is defined." >&2;}
16224 -) cat "$tmp/out" && rm -f "$tmp/out";;
16225 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16227 || as_fn_error "could not create $ac_file" "$LINENO" 5
16235 case $ac_file$ac_mode in
16236 "Makefile":F) sed "$extrasub_build" Makefile |
16237 sed "$extrasub_host" |
16238 sed "$extrasub_target" > mf$$
16239 mv -f mf$$ Makefile ;;
16247 ac_clean_files=$ac_clean_files_save
16249 test $ac_write_fail = 0 ||
16250 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16253 # configure is writing to config.log, and then calls config.status.
16254 # config.status does its own redirection, appending to config.log.
16255 # Unfortunately, on DOS this fails, as config.log is still kept open
16256 # by configure, so config.status won't be able to
write to it
; its
16257 # output is simply discarded. So we exec the FD to /dev/null,
16258 # effectively closing config.log, so it can be properly (re)opened and
16259 # appended to by config.status. When coming back to configure, we
16260 # need to make the FD available again.
16261 if test "$no_create" != yes; then
16263 ac_config_status_args
=
16264 test "$silent" = yes &&
16265 ac_config_status_args
="$ac_config_status_args --quiet"
16267 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16269 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16270 # would make configure fail if this is the last instruction.
16271 $ac_cs_success || as_fn_exit $?
16273 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16275 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}