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-alpha-linux"
3976 host_makefile_frag
="config/mh-pa-hpux10"
3979 host_makefile_frag
="config/mh-pa"
3982 host_makefile_frag
="config/mh-pa"
3985 host_makefile_frag
="config/mh-darwin"
3988 host_makefile_frag
="config/mh-ppc-aix"
3991 host_makefile_frag
="config/mh-ppc-aix"
3996 if test "${build}" != "${host}" ; then
3997 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3998 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3999 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
4000 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
4001 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
4002 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
4003 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
4004 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
4005 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
4006 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
4007 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
4008 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
4009 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
4010 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
4012 AR_FOR_BUILD
="\$(AR)"
4013 AS_FOR_BUILD
="\$(AS)"
4014 CC_FOR_BUILD
="\$(CC)"
4015 CXX_FOR_BUILD
="\$(CXX)"
4016 GCJ_FOR_BUILD
="\$(GCJ)"
4017 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
4018 GOC_FOR_BUILD
="\$(GOC)"
4019 GUPC_FOR_BUILD
="\$(GUPC)"
4020 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
4021 LD_FOR_BUILD
="\$(LD)"
4022 NM_FOR_BUILD
="\$(NM)"
4023 RANLIB_FOR_BUILD
="\$(RANLIB)"
4024 WINDRES_FOR_BUILD
="\$(WINDRES)"
4025 WINDMC_FOR_BUILD
="\$(WINDMC)"
4029 ac_cpp
='$CPP $CPPFLAGS'
4030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4033 if test -n "$ac_tool_prefix"; then
4034 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4035 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if test "${ac_cv_prog_CC+set}" = set; then :
4039 $as_echo_n "(cached) " >&6
4041 if test -n "$CC"; then
4042 ac_cv_prog_CC
="$CC" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4072 if test -z "$ac_cv_prog_CC"; then
4074 # Extract the first word of "gcc", so it can be a program name with args.
4075 set dummy gcc
; ac_word
=$2
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4077 $as_echo_n "checking for $ac_word... " >&6; }
4078 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4079 $as_echo_n "(cached) " >&6
4081 if test -n "$ac_ct_CC"; then
4082 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir
=.
4089 for ac_exec_ext
in '' $ac_executable_extensions; do
4090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4091 ac_cv_prog_ac_ct_CC
="gcc"
4092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4102 if test -n "$ac_ct_CC"; then
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4104 $as_echo "$ac_ct_CC" >&6; }
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4107 $as_echo "no" >&6; }
4110 if test "x$ac_ct_CC" = x
; then
4113 case $cross_compiling:$ac_tool_warned in
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4117 ac_tool_warned
=yes ;;
4125 if test -z "$CC"; then
4126 if test -n "$ac_tool_prefix"; then
4127 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4128 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if test "${ac_cv_prog_CC+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$CC"; then
4135 ac_cv_prog_CC
="$CC" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4144 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4155 if test -n "$CC"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4157 $as_echo "$CC" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4166 if test -z "$CC"; then
4167 # Extract the first word of "cc", so it can be a program name with args.
4168 set dummy cc
; ac_word
=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if test "${ac_cv_prog_CC+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -n "$CC"; then
4175 ac_cv_prog_CC
="$CC" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4186 ac_prog_rejected
=yes
4190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4197 if test $ac_prog_rejected = yes; then
4198 # We found a bogon in the path, so make sure we never use it.
4199 set dummy
$ac_cv_prog_CC
4201 if test $# != 0; then
4202 # We chose a different compiler from the bogus one.
4203 # However, it has the same basename, so the bogon will be chosen
4204 # first if we set CC to just the basename; use the full file name.
4206 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4212 if test -n "$CC"; then
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4214 $as_echo "$CC" >&6; }
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4217 $as_echo "no" >&6; }
4222 if test -z "$CC"; then
4223 if test -n "$ac_tool_prefix"; then
4224 for ac_prog
in cl.exe
4226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4227 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4229 $as_echo_n "checking for $ac_word... " >&6; }
4230 if test "${ac_cv_prog_CC+set}" = set; then :
4231 $as_echo_n "(cached) " >&6
4233 if test -n "$CC"; then
4234 ac_cv_prog_CC
="$CC" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4254 if test -n "$CC"; then
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4256 $as_echo "$CC" >&6; }
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4259 $as_echo "no" >&6; }
4263 test -n "$CC" && break
4266 if test -z "$CC"; then
4268 for ac_prog
in cl.exe
4270 # Extract the first word of "$ac_prog", so it can be a program name with args.
4271 set dummy
$ac_prog; ac_word
=$2
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4273 $as_echo_n "checking for $ac_word... " >&6; }
4274 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4275 $as_echo_n "(cached) " >&6
4277 if test -n "$ac_ct_CC"; then
4278 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4284 test -z "$as_dir" && as_dir
=.
4285 for ac_exec_ext
in '' $ac_executable_extensions; do
4286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4287 ac_cv_prog_ac_ct_CC
="$ac_prog"
4288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4298 if test -n "$ac_ct_CC"; then
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4300 $as_echo "$ac_ct_CC" >&6; }
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4303 $as_echo "no" >&6; }
4307 test -n "$ac_ct_CC" && break
4310 if test "x$ac_ct_CC" = x
; then
4313 case $cross_compiling:$ac_tool_warned in
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4317 ac_tool_warned
=yes ;;
4326 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4328 as_fn_error
"no acceptable C compiler found in \$PATH
4329 See \`config.log' for more details." "$LINENO" 5; }
4331 # Provide some information about the compiler.
4332 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4335 for ac_option
in --version -v -V -qversion; do
4336 { { ac_try
="$ac_compiler $ac_option >&5"
4338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4345 if test -s conftest.err; then
4347 ... rest of stderr output deleted ...
4348 10q' conftest.err >conftest.er1
4349 cat conftest.er1 >&5
4350 rm -f conftest.er1 conftest.err
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4367 ac_clean_files_save=$ac_clean_files
4368 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4369 # Try to create an executable without -o first, disregard a.out.
4370 # It will help us diagnose broken compilers, and finding out an intuition
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4373 $as_echo_n "checking for C compiler default output file name... " >&6; }
4374 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4376 # The possible output files:
4377 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4380 for ac_file in $ac_files
4383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4384 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4389 if { { ac_try="$ac_link_default"
4391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4392 *) ac_try_echo
=$ac_try;;
4394 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4395 $as_echo "$ac_try_echo"; } >&5
4396 (eval "$ac_link_default") 2>&5
4398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4399 test $ac_status = 0; }; then :
4400 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4401 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4402 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4403 # so that the user can short-circuit this test for compilers unknown to
4405 for ac_file
in $ac_files ''
4407 test -f "$ac_file" ||
continue
4409 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4412 # We found the default executable, but exeext='' is most
4416 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4418 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4420 # We set ac_cv_exeext here because the later test for it is not
4421 # safe: cross compilers may not add the suffix if given an `-o'
4422 # argument, so we may need to know it at that point already.
4423 # Even if this section looks crufty: it has the advantage of
4430 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4436 $as_echo "$ac_file" >&6; }
4437 if test -z "$ac_file"; then :
4438 $as_echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.
$ac_ext >&5
4441 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4442 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4443 { as_fn_set_status
77
4444 as_fn_error
"C compiler cannot create executables
4445 See \`config.log' for more details." "$LINENO" 5; }; }
4447 ac_exeext
=$ac_cv_exeext
4449 # Check that the compiler produces executables we can run. If not, either
4450 # the compiler is broken, or we cross compile.
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4452 $as_echo_n "checking whether the C compiler works... " >&6; }
4453 # If not cross compiling, check that we can run a simple program.
4454 if test "$cross_compiling" != yes; then
4455 if { ac_try
='./$ac_file'
4456 { { case "(($ac_try" in
4457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_try") 2>&5
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; }; then
4468 if test "$cross_compiling" = maybe; then
4471 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4472 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4473 as_fn_error "cannot run C compiled programs.
4474 If you meant to cross compile
, use \
`--host'.
4475 See \`config.log
' for more details." "$LINENO" 5; }
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4480 $as_echo "yes" >&6; }
4482 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4483 ac_clean_files=$ac_clean_files_save
4484 # Check that the compiler produces executables we can run. If not, either
4485 # the compiler is broken, or we cross compile.
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4487 $as_echo_n "checking whether we are cross compiling... " >&6; }
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4489 $as_echo "$cross_compiling" >&6; }
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4492 $as_echo_n "checking for suffix of executables... " >&6; }
4493 if { { ac_try="$ac_link"
4495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4496 *) ac_try_echo=$ac_try;;
4498 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4499 $as_echo "$ac_try_echo"; } >&5
4500 (eval "$ac_link") 2>&5
4502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4503 test $ac_status = 0; }; then :
4504 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4505 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4506 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4508 for ac_file
in conftest.exe conftest conftest.
*; do
4509 test -f "$ac_file" ||
continue
4511 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4512 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4520 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4521 See \`config.log' for more details." "$LINENO" 5; }
4523 rm -f conftest
$ac_cv_exeext
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4525 $as_echo "$ac_cv_exeext" >&6; }
4527 rm -f conftest.
$ac_ext
4528 EXEEXT
=$ac_cv_exeext
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4531 $as_echo_n "checking for suffix of object files... " >&6; }
4532 if test "${ac_cv_objext+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4546 rm -f conftest.o conftest.obj
4547 if { { ac_try
="$ac_compile"
4549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4550 *) ac_try_echo=$ac_try;;
4552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4553 $as_echo "$ac_try_echo"; } >&5
4554 (eval "$ac_compile") 2>&5
4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557 test $ac_status = 0; }; then :
4558 for ac_file in conftest.o conftest.obj conftest.*; do
4559 test -f "$ac_file" || continue;
4561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4562 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4567 $as_echo "$as_me: failed program was:" >&5
4568 sed 's/^/| /' conftest.$ac_ext >&5
4570 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4572 as_fn_error "cannot compute suffix of object files
: cannot compile
4573 See \
`config.log' for more details." "$LINENO" 5; }
4575 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4578 $as_echo "$ac_cv_objext" >&6; }
4579 OBJEXT=$ac_cv_objext
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4582 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4583 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4584 $as_echo_n "(cached) " >&6
4586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4587 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4606 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4610 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4611 if test $ac_compiler_gnu = yes; then
4616 ac_test_CFLAGS=${CFLAGS+set}
4617 ac_save_CFLAGS=$CFLAGS
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4619 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4620 if test "${ac_cv_prog_cc_g+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 ac_save_c_werror_flag=$ac_c_werror_flag
4624 ac_c_werror_flag=yes
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4638 if ac_fn_c_try_compile "$LINENO"; then :
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4653 if ac_fn_c_try_compile "$LINENO"; then :
4656 ac_c_werror_flag=$ac_save_c_werror_flag
4658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4659 /* end confdefs.h. */
4669 if ac_fn_c_try_compile "$LINENO"; then :
4672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4677 ac_c_werror_flag=$ac_save_c_werror_flag
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4680 $as_echo "$ac_cv_prog_cc_g" >&6; }
4681 if test "$ac_test_CFLAGS" = set; then
4682 CFLAGS=$ac_save_CFLAGS
4683 elif test $ac_cv_prog_cc_g = yes; then
4684 if test "$GCC" = yes; then
4690 if test "$GCC" = yes; then
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4698 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4699 $as_echo_n "(cached) " >&6
4701 ac_cv_prog_cc_c89=no
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 #include <sys/types.h>
4708 #include <sys/stat.h>
4709 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4710 struct buf { int x; };
4711 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4712 static char *e (p, i)
4718 static char *f (char * (*g) (char **, int), char **p, ...)
4723 s = g (p, va_arg (v,int));
4728 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4729 function prototypes and stuff, but not '\xHH' hex character constants.
4730 These don't provoke an error unfortunately, instead are silently treated
4731 as 'x'. The following induces an error, until -std is added to get
4732 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4733 array size at least. It's necessary to write '\x00'==0 to get something
4734 that's true only with -std. */
4735 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4737 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4738 inside strings and character constants. */
4740 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4742 int test (int i, double x);
4743 struct s1 {int (*f) (int a);};
4744 struct s2 {int (*f) (double a);};
4745 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4751 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4756 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4757 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4759 CC="$ac_save_CC $ac_arg"
4760 if ac_fn_c_try_compile "$LINENO"; then :
4761 ac_cv_prog_cc_c89=$ac_arg
4763 rm -f core conftest.err conftest.$ac_objext
4764 test "x$ac_cv_prog_cc_c89" != "xno" && break
4766 rm -f conftest.$ac_ext
4771 case "x$ac_cv_prog_cc_c89" in
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4774 $as_echo "none needed" >&6; } ;;
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4777 $as_echo "unsupported" >&6; } ;;
4779 CC="$CC $ac_cv_prog_cc_c89"
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4781 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4783 if test "x$ac_cv_prog_cc_c89" != xno; then :
4788 ac_cpp='$CPP $CPPFLAGS'
4789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4794 ac_cpp='$CXXCPP $CPPFLAGS'
4795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4798 if test -z "$CXX"; then
4799 if test -n "$CCC"; then
4802 if test -n "$ac_tool_prefix"; then
4803 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4805 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4806 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_prog_CXX+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$CXX"; then
4813 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir=.
4820 for ac_exec_ext in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 if test -n "$CXX"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4835 $as_echo "$CXX" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4842 test -n "$CXX" && break
4845 if test -z "$CXX"; then
4847 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4849 # Extract the first word of "$ac_prog", so it can be a program name with args.
4850 set dummy $ac_prog; ac_word=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$ac_ct_CXX"; then
4857 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir=.
4864 for ac_exec_ext in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_ac_ct_CXX="$ac_prog"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4877 if test -n "$ac_ct_CXX"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4879 $as_echo "$ac_ct_CXX" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 test -n "$ac_ct_CXX" && break
4889 if test "x$ac_ct_CXX" = x; then
4892 case $cross_compiling:$ac_tool_warned in
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4896 ac_tool_warned=yes ;;
4904 # Provide some information about the compiler.
4905 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4908 for ac_option in --version -v -V -qversion; do
4909 { { ac_try="$ac_compiler $ac_option >&5"
4911 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4912 *) ac_try_echo
=$ac_try;;
4914 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4915 $as_echo "$ac_try_echo"; } >&5
4916 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4918 if test -s conftest.err
; then
4920 ... rest of stderr output deleted ...
4921 10q' conftest.err
>conftest.er1
4922 cat conftest.er1
>&5
4923 rm -f conftest.er1 conftest.err
4925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4926 test $ac_status = 0; }
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4930 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4931 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4932 $as_echo_n "(cached) " >&6
4934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h. */
4948 if ac_fn_cxx_try_compile
"$LINENO"; then :
4953 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4954 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4958 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4959 if test $ac_compiler_gnu = yes; then
4964 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4965 ac_save_CXXFLAGS
=$CXXFLAGS
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4967 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4968 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4969 $as_echo_n "(cached) " >&6
4971 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4972 ac_cxx_werror_flag
=yes
4975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4976 /* end confdefs.h. */
4986 if ac_fn_cxx_try_compile
"$LINENO"; then :
4987 ac_cv_prog_cxx_g
=yes
4990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4991 /* end confdefs.h. */
5001 if ac_fn_cxx_try_compile
"$LINENO"; then :
5004 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5007 /* end confdefs.h. */
5017 if ac_fn_cxx_try_compile
"$LINENO"; then :
5018 ac_cv_prog_cxx_g
=yes
5020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5028 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5029 if test "$ac_test_CXXFLAGS" = set; then
5030 CXXFLAGS
=$ac_save_CXXFLAGS
5031 elif test $ac_cv_prog_cxx_g = yes; then
5032 if test "$GXX" = yes; then
5038 if test "$GXX" = yes; then
5045 ac_cpp
='$CPP $CPPFLAGS'
5046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5051 # We must set the default linker to the linker used by gcc for the correct
5052 # operation of libtool. If LD is not defined and we are using gcc, try to
5053 # set the LD default to the ld used by gcc.
5054 if test -z "$LD"; then
5055 if test "$GCC" = yes; then
5058 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5060 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5062 case $gcc_prog_ld in
5063 # Accept absolute paths.
5064 [\\/]* |
[A-Za-z
]:[\\/]*)
5065 LD
="$gcc_prog_ld" ;;
5070 # Check whether -static-libstdc++ -static-libgcc is supported.
5072 if test "$GCC" = yes; then
5073 saved_LDFLAGS
="$LDFLAGS"
5075 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5077 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5079 ac_cpp
='$CXXCPP $CPPFLAGS'
5080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5088 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5089 #error -static-libstdc++ not implemented
5093 if ac_fn_cxx_try_link
"$LINENO"; then :
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5095 $as_echo "yes" >&6; }; have_static_libs
=yes
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5100 rm -f core conftest.err conftest.
$ac_objext \
5101 conftest
$ac_exeext conftest.
$ac_ext
5103 ac_cpp
='$CPP $CPPFLAGS'
5104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5109 LDFLAGS
="$saved_LDFLAGS"
5115 if test -n "$ac_tool_prefix"; then
5116 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5117 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119 $as_echo_n "checking for $ac_word... " >&6; }
5120 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5121 $as_echo_n "(cached) " >&6
5123 if test -n "$GNATBIND"; then
5124 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_exec_ext
in '' $ac_executable_extensions; do
5132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5133 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5143 GNATBIND
=$ac_cv_prog_GNATBIND
5144 if test -n "$GNATBIND"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5146 $as_echo "$GNATBIND" >&6; }
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149 $as_echo "no" >&6; }
5154 if test -z "$ac_cv_prog_GNATBIND"; then
5155 ac_ct_GNATBIND
=$GNATBIND
5156 # Extract the first word of "gnatbind", so it can be a program name with args.
5157 set dummy gnatbind
; ac_word
=$2
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5161 $as_echo_n "(cached) " >&6
5163 if test -n "$ac_ct_GNATBIND"; then
5164 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 test -z "$as_dir" && as_dir
=.
5171 for ac_exec_ext
in '' $ac_executable_extensions; do
5172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5173 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5184 if test -n "$ac_ct_GNATBIND"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5186 $as_echo "$ac_ct_GNATBIND" >&6; }
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5189 $as_echo "no" >&6; }
5192 if test "x$ac_ct_GNATBIND" = x
; then
5195 case $cross_compiling:$ac_tool_warned in
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5198 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5199 ac_tool_warned
=yes ;;
5201 GNATBIND
=$ac_ct_GNATBIND
5204 GNATBIND
="$ac_cv_prog_GNATBIND"
5207 if test -n "$ac_tool_prefix"; then
5208 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5209 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5213 $as_echo_n "(cached) " >&6
5215 if test -n "$GNATMAKE"; then
5216 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5222 test -z "$as_dir" && as_dir
=.
5223 for ac_exec_ext
in '' $ac_executable_extensions; do
5224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5225 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 GNATMAKE
=$ac_cv_prog_GNATMAKE
5236 if test -n "$GNATMAKE"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5238 $as_echo "$GNATMAKE" >&6; }
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5246 if test -z "$ac_cv_prog_GNATMAKE"; then
5247 ac_ct_GNATMAKE
=$GNATMAKE
5248 # Extract the first word of "gnatmake", so it can be a program name with args.
5249 set dummy gnatmake
; ac_word
=$2
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5251 $as_echo_n "checking for $ac_word... " >&6; }
5252 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5253 $as_echo_n "(cached) " >&6
5255 if test -n "$ac_ct_GNATMAKE"; then
5256 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5262 test -z "$as_dir" && as_dir
=.
5263 for ac_exec_ext
in '' $ac_executable_extensions; do
5264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5265 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5276 if test -n "$ac_ct_GNATMAKE"; then
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5278 $as_echo "$ac_ct_GNATMAKE" >&6; }
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5281 $as_echo "no" >&6; }
5284 if test "x$ac_ct_GNATMAKE" = x
; then
5287 case $cross_compiling:$ac_tool_warned in
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5291 ac_tool_warned
=yes ;;
5293 GNATMAKE
=$ac_ct_GNATMAKE
5296 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5300 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5301 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 cat >conftest.adb
<<EOF
5305 procedure conftest is begin null; end conftest;
5307 acx_cv_cc_gcc_supports_ada
=no
5308 # There is a bug in old released versions of GCC which causes the
5309 # driver to exit successfully when the appropriate language module
5310 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5311 # Therefore we must check for the error message as well as an
5312 # unsuccessful exit.
5313 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5314 # given a .adb file, but produce no object file. So we must check
5315 # if an object file was really produced to guard against this.
5316 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5317 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5318 acx_cv_cc_gcc_supports_ada
=yes
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5323 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5325 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5332 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5333 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5334 $as_echo_n "(cached) " >&6
5338 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5339 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5340 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5343 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5346 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5347 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5350 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5357 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5358 do_compare
="$gcc_cv_prog_cmp_skip"
5362 # Check whether --enable-bootstrap was given.
5363 if test "${enable_bootstrap+set}" = set; then :
5364 enableval
=$enable_bootstrap;
5366 enable_bootstrap
=default
5370 # Issue errors and warnings for invalid/strange bootstrap combinations.
5371 if test -r $srcdir/gcc
/configure
; then
5377 case "$have_compiler:$host:$target:$enable_bootstrap" in
5380 # Default behavior. Enable bootstrap if we have a compiler
5381 # and we are in a native configuration.
5382 yes:$build:$build:default
)
5383 enable_bootstrap
=yes ;;
5386 enable_bootstrap
=no
;;
5388 # We have a compiler and we are in a native configuration, bootstrap is ok
5389 yes:$build:$build:yes)
5392 # Other configurations, but we have a compiler. Assume the user knows
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5396 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5399 # No compiler: if they passed --enable-bootstrap explicitly, fail
5401 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5403 # Fail if wrong command line
5405 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5409 # Used for setting $lt_cv_objdir
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5411 $as_echo_n "checking for objdir... " >&6; }
5412 if test "${lt_cv_objdir+set}" = set; then :
5413 $as_echo_n "(cached) " >&6
5415 rm -f .libs
2>/dev
/null
5416 mkdir .libs
2>/dev
/null
5417 if test -d .libs
; then
5420 # MS-DOS does not allow filenames that begin with a dot.
5423 rmdir .libs
2>/dev
/null
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5426 $as_echo "$lt_cv_objdir" >&6; }
5427 objdir
=$lt_cv_objdir
5433 cat >>confdefs.h
<<_ACEOF
5434 #define LT_OBJDIR "$lt_cv_objdir/"
5439 # Check for GMP, MPFR and MPC
5440 gmplibs
="-lmpc -lmpfr -lgmp"
5444 # Specify a location for mpc
5445 # check for this first so it ends up on the link line before mpfr.
5447 # Check whether --with-mpc was given.
5448 if test "${with_mpc+set}" = set; then :
5453 # Check whether --with-mpc-include was given.
5454 if test "${with_mpc_include+set}" = set; then :
5455 withval
=$with_mpc_include;
5459 # Check whether --with-mpc-lib was given.
5460 if test "${with_mpc_lib+set}" = set; then :
5461 withval
=$with_mpc_lib;
5465 if test "x$with_mpc" != x
; then
5466 gmplibs
="-L$with_mpc/lib $gmplibs"
5467 gmpinc
="-I$with_mpc/include $gmpinc"
5469 if test "x$with_mpc_include" != x
; then
5470 gmpinc
="-I$with_mpc_include $gmpinc"
5472 if test "x$with_mpc_lib" != x
; then
5473 gmplibs
="-L$with_mpc_lib $gmplibs"
5475 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5476 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5477 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5478 # Do not test the mpc version. Assume that it is sufficient, since
5479 # it is in the source tree, and the library has not been built yet
5480 # but it would be included on the link line in the version check below
5481 # hence making the test fail.
5485 # Specify a location for mpfr
5486 # check for this first so it ends up on the link line before gmp.
5488 # Check whether --with-mpfr-dir was given.
5489 if test "${with_mpfr_dir+set}" = set; then :
5490 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5491 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5496 # Check whether --with-mpfr was given.
5497 if test "${with_mpfr+set}" = set; then :
5502 # Check whether --with-mpfr-include was given.
5503 if test "${with_mpfr_include+set}" = set; then :
5504 withval
=$with_mpfr_include;
5508 # Check whether --with-mpfr-lib was given.
5509 if test "${with_mpfr_lib+set}" = set; then :
5510 withval
=$with_mpfr_lib;
5514 if test "x$with_mpfr" != x
; then
5515 gmplibs
="-L$with_mpfr/lib $gmplibs"
5516 gmpinc
="-I$with_mpfr/include $gmpinc"
5518 if test "x$with_mpfr_include" != x
; then
5519 gmpinc
="-I$with_mpfr_include $gmpinc"
5521 if test "x$with_mpfr_lib" != x
; then
5522 gmplibs
="-L$with_mpfr_lib $gmplibs"
5524 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5525 # MPFR v3.1.0 moved the sources into a src sub-directory.
5526 if test -d ${srcdir}/mpfr
/src
; then
5527 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5528 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5529 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5531 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5532 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5533 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5535 # Do not test the mpfr version. Assume that it is sufficient, since
5536 # it is in the source tree, and the library has not been built yet
5537 # but it would be included on the link line in the version check below
5538 # hence making the test fail.
5542 # Specify a location for gmp
5544 # Check whether --with-gmp-dir was given.
5545 if test "${with_gmp_dir+set}" = set; then :
5546 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5547 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5552 # Check whether --with-gmp was given.
5553 if test "${with_gmp+set}" = set; then :
5558 # Check whether --with-gmp-include was given.
5559 if test "${with_gmp_include+set}" = set; then :
5560 withval
=$with_gmp_include;
5564 # Check whether --with-gmp-lib was given.
5565 if test "${with_gmp_lib+set}" = set; then :
5566 withval
=$with_gmp_lib;
5571 if test "x$with_gmp" != x
; then
5572 gmplibs
="-L$with_gmp/lib $gmplibs"
5573 gmpinc
="-I$with_gmp/include $gmpinc"
5575 if test "x$with_gmp_include" != x
; then
5576 gmpinc
="-I$with_gmp_include $gmpinc"
5578 if test "x$with_gmp_lib" != x
; then
5579 gmplibs
="-L$with_gmp_lib $gmplibs"
5581 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5582 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5583 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5584 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5585 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5586 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5587 # Do not test the gmp version. Assume that it is sufficient, since
5588 # it is in the source tree, and the library has not been built yet
5589 # but it would be included on the link line in the version check below
5590 # hence making the test fail.
5594 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5596 saved_CFLAGS
="$CFLAGS"
5597 CFLAGS
="$CFLAGS $gmpinc"
5598 # Check for the recommended and required versions of GMP.
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5600 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5609 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5610 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5611 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5619 if ac_fn_c_try_compile
"$LINENO"; then :
5620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5621 /* end confdefs.h. */
5627 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5628 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5629 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5637 if ac_fn_c_try_compile
"$LINENO"; then :
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5639 $as_echo "yes" >&6; }
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5642 $as_echo "buggy but acceptable" >&6; }
5644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5647 $as_echo "no" >&6; }; have_gmp
=no
5649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5651 # If we have GMP, check the MPFR version.
5652 if test x
"$have_gmp" = xyes
; then
5653 # Check for the recommended and required versions of MPFR.
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5655 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5664 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5672 if ac_fn_c_try_compile
"$LINENO"; then :
5673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5674 /* end confdefs.h. */
5681 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5689 if ac_fn_c_try_compile
"$LINENO"; then :
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5691 $as_echo "yes" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5694 $as_echo "buggy but acceptable" >&6; }
5696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }; have_gmp
=no
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5704 # Check for the MPC header version.
5705 if test x
"$have_gmp" = xyes
; then
5706 # Check for the recommended and required versions of MPC.
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5708 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5716 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5724 if ac_fn_c_try_compile
"$LINENO"; then :
5725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5726 /* end confdefs.h. */
5732 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5740 if ac_fn_c_try_compile
"$LINENO"; then :
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5742 $as_echo "yes" >&6; }
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5745 $as_echo "buggy but acceptable" >&6; }
5747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }; have_gmp
=no
5752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5755 # Now check the MPFR library.
5756 if test x
"$have_gmp" = xyes
; then
5758 LIBS
="$LIBS $gmplibs"
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5760 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5762 /* end confdefs.h. */
5774 mpfr_atan2 (n, n, x, GMP_RNDN);
5775 mpfr_erfc (n, x, GMP_RNDN);
5776 mpfr_subnormalize (x, t, GMP_RNDN);
5780 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5781 mpc_cosh (c, c, MPC_RNDNN);
5782 mpc_pow (c, c, c, MPC_RNDNN);
5783 mpc_acosh (c, c, MPC_RNDNN);
5790 if ac_fn_c_try_link
"$LINENO"; then :
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5792 $as_echo "yes" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5795 $as_echo "no" >&6; }; have_gmp
=no
5797 rm -f core conftest.err conftest.
$ac_objext \
5798 conftest
$ac_exeext conftest.
$ac_ext
5802 CFLAGS
="$saved_CFLAGS"
5804 # The library versions listed in the error message below should match
5805 # the HARD-minimums enforced above.
5806 if test x
$have_gmp != xyes
; then
5807 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5808 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5809 their locations. Source code for these libraries can be found at
5810 their respective hosting sites as well as at
5811 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5812 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5813 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5814 make sure that you have installed both the libraries and the header
5815 files. They may be located in separate packages." "$LINENO" 5
5819 # Flags needed for both GMP, MPFR and/or MPC.
5827 # Allow host libstdc++ to be specified for static linking with PPL.
5829 # Check whether --with-host-libstdcxx was given.
5830 if test "${with_host_libstdcxx+set}" = set; then :
5831 withval
=$with_host_libstdcxx;
5835 case $with_host_libstdcxx in
5837 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5841 # Libraries to use for stage1 or when not bootstrapping.
5843 # Check whether --with-stage1-libs was given.
5844 if test "${with_stage1_libs+set}" = set; then :
5845 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5848 stage1_libs
=$withval
5851 stage1_libs
=$with_host_libstdcxx
5856 # Linker flags to use for stage1 or when not bootstrapping.
5858 # Check whether --with-stage1-ldflags was given.
5859 if test "${with_stage1_ldflags+set}" = set; then :
5860 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5863 stage1_ldflags
=$withval
5867 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5868 # if supported. But if the user explicitly specified the libraries to use,
5869 # trust that they are doing what they want.
5870 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5871 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5877 # Libraries to use for stage2 and later builds. This defaults to the
5878 # argument passed to --with-host-libstdcxx.
5880 # Check whether --with-boot-libs was given.
5881 if test "${with_boot_libs+set}" = set; then :
5882 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5885 poststage1_libs
=$withval
5888 poststage1_libs
=$with_host_libstdcxx
5893 # Linker flags to use for stage2 and later builds.
5895 # Check whether --with-boot-ldflags was given.
5896 if test "${with_boot_ldflags+set}" = set; then :
5897 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5900 poststage1_ldflags
=$withval
5904 # In stages 2 and 3, default to linking libstdc++ and libgcc
5905 # statically. But if the user explicitly specified the libraries to
5906 # use, trust that they are doing what they want.
5907 if test "$poststage1_libs" = ""; then
5908 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5914 # GCC GRAPHITE dependency ISL.
5915 # Basic setup is inlined here, actual checks are in config/isl.m4
5918 # Check whether --with-isl was given.
5919 if test "${with_isl+set}" = set; then :
5924 # Treat --without-isl as a request to disable
5925 # GRAPHITE support and skip all following checks.
5926 if test "x$with_isl" != "xno"; then
5930 # Check whether --with-isl-include was given.
5931 if test "${with_isl_include+set}" = set; then :
5932 withval
=$with_isl_include;
5936 # Check whether --with-isl-lib was given.
5937 if test "${with_isl_lib+set}" = set; then :
5938 withval
=$with_isl_lib;
5942 # Check whether --enable-isl-version-check was given.
5943 if test "${enable_isl_version_check+set}" = set; then :
5944 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5946 ENABLE_ISL_CHECK
=yes
5950 # Initialize isllibs and islinc.
5959 isllibs
="-L$with_isl/lib"
5960 islinc
="-I$with_isl/include"
5963 if test "x${with_isl_include}" != x
; then
5964 islinc
="-I$with_isl_include"
5966 if test "x${with_isl_lib}" != x
; then
5967 isllibs
="-L$with_isl_lib"
5969 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5970 && test -d ${srcdir}/isl
; then
5971 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5972 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5975 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5978 isllibs
="${isllibs} -lisl"
5982 if test "${ENABLE_ISL_CHECK}" = yes ; then
5983 _isl_saved_CFLAGS
=$CFLAGS
5984 _isl_saved_LDFLAGS
=$LDFLAGS
5985 _isl_saved_LIBS
=$LIBS
5987 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5988 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5989 LIBS
="${_isl_saved_LIBS} -lisl"
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5992 $as_echo_n "checking for compatible ISL... " >&6; }
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 #include <isl/val.h>
6004 if ac_fn_c_try_link
"$LINENO"; then :
6009 rm -f core conftest.err conftest.
$ac_objext \
6010 conftest
$ac_exeext conftest.
$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6012 $as_echo "$gcc_cv_isl" >&6; }
6014 CFLAGS
=$_isl_saved_CFLAGS
6015 LDFLAGS
=$_isl_saved_LDFLAGS
6016 LIBS
=$_isl_saved_LIBS
6024 if test "x${with_isl}" = xno
; then
6025 graphite_requested
=no
6026 elif test "x${with_isl}" != x \
6027 ||
test "x${with_isl_include}" != x \
6028 ||
test "x${with_isl_lib}" != x
; then
6029 graphite_requested
=yes
6031 graphite_requested
=no
6036 if test "${gcc_cv_isl}" = no
; then
6041 if test "${graphite_requested}" = yes \
6042 && test "x${isllibs}" = x \
6043 && test "x${islinc}" = x
; then
6045 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6051 # If the ISL check failed, disable builds of in-tree variant of ISL
6052 if test "x$with_isl" = xno ||
6053 test "x$gcc_cv_isl" = xno
; then
6054 noconfigdirs
="$noconfigdirs isl"
6061 # Check for LTO support.
6062 # Check whether --enable-lto was given.
6063 if test "${enable_lto+set}" = set; then :
6064 enableval
=$enable_lto; enable_lto
=$enableval
6066 enable_lto
=yes; default_enable_lto
=yes
6075 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6076 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6077 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6085 if test $target_elf = yes; then :
6086 # ELF platforms build the lto-plugin always.
6087 build_lto_plugin
=yes
6090 if test x
"$default_enable_lto" = x
"yes" ; then
6092 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6093 # On other non-ELF platforms, LTO has yet to be validated.
6097 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6098 # It would also be nice to check the binutils support, but we don't
6099 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6100 # warn during gcc/ subconfigure; unless you're bootstrapping with
6101 # -flto it won't be needed until after installation anyway.
6103 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6104 *) if test x
"$enable_lto" = x
"yes"; then
6105 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6110 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6111 # Build it unless LTO was explicitly disabled.
6113 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6120 # Check whether --enable-linker-plugin-configure-flags was given.
6121 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6122 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6124 extra_linker_plugin_configure_flags
=
6128 # Check whether --enable-linker-plugin-flags was given.
6129 if test "${enable_linker_plugin_flags+set}" = set; then :
6130 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6132 extra_linker_plugin_flags
=
6138 # By default, C and C++ are the only stage 1 languages.
6139 stage1_languages
=,c
,
6141 # Target libraries that we bootstrap.
6142 bootstrap_target_libs
=,target-libgcc
,
6144 # Figure out what language subdirectories are present.
6145 # Look if the user specified --enable-languages="..."; if not, use
6146 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6148 # NB: embedded tabs in this IF block -- do not untabify
6149 if test -d ${srcdir}/gcc
; then
6150 if test x
"${enable_languages+set}" != xset
; then
6151 if test x
"${LANGUAGES+set}" = xset
; then
6152 enable_languages
="${LANGUAGES}"
6153 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6155 enable_languages
=all
6158 if test x
"${enable_languages}" = x ||
6159 test x
"${enable_languages}" = xyes
;
6161 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6165 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6167 # 'f95' is the old name for the 'fortran' language. We issue a warning
6168 # and make the substitution.
6169 case ,${enable_languages}, in
6171 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6172 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6176 # If bootstrapping, C++ must be enabled.
6177 case ",$enable_languages,:$enable_bootstrap" in
6180 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6181 enable_languages
="${enable_languages},c++"
6183 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6188 # First scan to see if an enabled language requires some other language.
6189 # We assume that a given config-lang.in will list all the language
6190 # front ends it requires, even if some are required indirectly.
6191 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6192 case ${lang_frag} in
6194 # The odd quoting in the next line works around
6195 # an apparent bug in bash 1.12 on linux.
6196 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6198 # From the config-lang.in, get $language, $lang_requires, and
6199 # $lang_requires_boot_languages.
6202 lang_requires_boot_languages
=
6204 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6205 case ,${enable_languages}, in
6209 echo " \`$other' language required by \`$language'; enabling" 1>&2
6210 enable_languages
="${enable_languages},${other}"
6214 for other
in ${lang_requires_boot_languages} ; do
6215 if test "$other" != "c"; then
6216 case ,${enable_stage1_languages}, in
6220 case ,${enable_languages}, in
6222 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6223 enable_stage1_languages
="$enable_stage1_languages,${other}"
6234 new_enable_languages
=,c
,
6236 # If LTO is enabled, add the LTO front end.
6237 if test "$enable_lto" = "yes" ; then
6238 case ,${enable_languages}, in
6240 *) enable_languages
="${enable_languages},lto" ;;
6242 if test "${build_lto_plugin}" = "yes" ; then
6243 configdirs
="$configdirs lto-plugin"
6247 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6248 potential_languages
=,c
,
6250 enabled_target_libs
=
6251 disabled_target_libs
=
6253 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6254 case ${lang_frag} in
6256 # The odd quoting in the next line works around
6257 # an apparent bug in bash 1.12 on linux.
6258 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6260 # From the config-lang.in, get $language, $target_libs,
6261 # $lang_dirs, $boot_language, and $build_by_default
6267 build_by_default
=yes
6269 if test x
${language} = x
; then
6270 echo "${lang_frag} doesn't set \$language." 1>&2
6274 if test "$language" = "c++"; then
6279 case ,${enable_languages}, in
6281 # Language was explicitly selected; include it
6282 # unless it is C, which is enabled by default.
6283 if test "$language" != "c"; then
6288 # 'all' was selected, select it if it is a default language
6289 if test "$language" != "c"; then
6290 add_this_lang
=${build_by_default}
6295 # Disable languages that need other directories if these aren't available.
6296 for i
in $subdir_requires; do
6297 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6298 case ,${enable_languages}, in
6300 # Specifically requested language; tell them.
6301 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6305 add_this_lang
=unsupported
6310 # Disable Ada if no preexisting GNAT is available.
6311 case ,${enable_languages},:${language}:${have_gnat} in
6312 *,${language},*:ada
:no
)
6313 # Specifically requested language; tell them.
6314 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6318 add_this_lang
=unsupported
6322 # Disable a language that is unsupported by the target.
6323 case " $unsupported_languages " in
6325 add_this_lang
=unsupported
6329 case $add_this_lang in
6331 # Remove language-dependent dirs.
6332 disabled_target_libs
="$disabled_target_libs $target_libs"
6333 noconfigdirs
="$noconfigdirs $lang_dirs"
6336 # Remove language-dependent dirs; still show language as supported.
6337 disabled_target_libs
="$disabled_target_libs $target_libs"
6338 noconfigdirs
="$noconfigdirs $lang_dirs"
6339 potential_languages
="${potential_languages}${language},"
6342 new_enable_languages
="${new_enable_languages}${language},"
6343 potential_languages
="${potential_languages}${language},"
6344 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6345 enabled_target_libs
="$enabled_target_libs $target_libs"
6346 case "${boot_language}:,$enable_stage1_languages," in
6347 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6348 # Add to (comma-separated) list of stage 1 languages.
6349 case ",$stage1_languages," in
6350 *,$language,* |
,yes, |
,all
,) ;;
6351 *) stage1_languages
="${stage1_languages}${language}," ;;
6353 # We need to bootstrap any supporting libraries.
6354 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6363 # Add target libraries which are only needed for disabled languages
6365 if test -n "$disabled_target_libs"; then
6366 for dir
in $disabled_target_libs; do
6367 case " $enabled_target_libs " in
6369 *) noconfigdirs
="$noconfigdirs $dir" ;;
6374 # Check whether --enable-stage1-languages was given.
6375 if test "${enable_stage1_languages+set}" = set; then :
6376 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6378 # Set it to something that will have no effect in the loop below
6379 enable_stage1_languages
=c
;;
6381 enable_stage1_languages
=`echo $new_enable_languages | \
6382 sed -e "s/^,//" -e "s/,$//" ` ;;
6384 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6385 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6388 # Add "good" languages from enable_stage1_languages to stage1_languages,
6389 # while "bad" languages go in missing_languages. Leave no duplicates.
6390 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6391 case $potential_languages in
6393 case $stage1_languages in
6395 *) stage1_languages
="$stage1_languages$i," ;;
6398 case $missing_languages in
6400 *) missing_languages
="$missing_languages$i," ;;
6407 # Remove leading/trailing commas that were added for simplicity
6408 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6409 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6410 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6411 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6413 if test "x$missing_languages" != x
; then
6415 The following requested languages could not be built: ${missing_languages}
6416 Supported languages are: ${potential_languages}" "$LINENO" 5
6418 if test "x$new_enable_languages" != "x$enable_languages"; then
6419 echo The following languages will be built
: ${new_enable_languages}
6420 enable_languages
="$new_enable_languages"
6424 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6427 # Handle --disable-<component> generically.
6428 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6429 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6430 varname
=`echo $dirname | sed -e s/+/_/g`
6431 if eval test x\
${enable_${varname}} "=" xno
; then
6432 noconfigdirs
="$noconfigdirs $dir"
6436 # Check for Boehm's garbage collector
6437 # Check whether --enable-objc-gc was given.
6438 if test "${enable_objc_gc+set}" = set; then :
6439 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6440 *,objc
,*:*:yes:*target-boehm-gc
*)
6441 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6447 # Make sure we only build Boehm's garbage collector if required.
6448 case ,${enable_languages},:${enable_objc_gc} in
6450 # Keep target-boehm-gc if requested for Objective-C.
6453 # Otherwise remove target-boehm-gc depending on target-libjava.
6454 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6455 noconfigdirs
="$noconfigdirs target-boehm-gc"
6461 # Check whether --with-upc-pts was given.
6462 if test "${with_upc_pts+set}" = set; then :
6463 withval
=$with_upc_pts;
6464 if test "$withval"x
!= "struct"x
&& test "$withval"x
!= "packed"x
; then \
6465 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6471 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6472 case ,${enable_languages}, in
6474 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6475 case "${noconfigdirs}" in
6476 *target-libstdc
++-v3*)
6477 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6483 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6487 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6488 # $build_configdirs and $target_configdirs.
6489 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6492 for dir
in .
$skipdirs $noconfigdirs ; do
6493 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6494 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6495 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6496 if test -r $srcdir/$dirname/configure
; then
6497 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6500 notsupp
="$notsupp $dir"
6504 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6505 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6506 if test -r $srcdir/$dirname/configure
; then
6507 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6510 notsupp
="$notsupp $dir"
6514 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6515 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6516 if test -r $srcdir/$dirname/configure
; then
6517 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6520 notsupp
="$notsupp $dir"
6526 # Quietly strip out all directories which aren't configurable in this tree.
6527 # This relies on all configurable subdirectories being autoconfiscated, which
6529 build_configdirs_all
="$build_configdirs"
6531 for i
in ${build_configdirs_all} ; do
6532 j
=`echo $i | sed -e s/build-//g`
6533 if test -f ${srcdir}/$j/configure
; then
6534 build_configdirs
="${build_configdirs} $i"
6538 configdirs_all
="$configdirs"
6540 for i
in ${configdirs_all} ; do
6541 if test -f ${srcdir}/$i/configure
; then
6542 configdirs
="${configdirs} $i"
6546 target_configdirs_all
="$target_configdirs"
6548 for i
in ${target_configdirs_all} ; do
6549 j
=`echo $i | sed -e s/target-//g`
6550 if test -f ${srcdir}/$j/configure
; then
6551 target_configdirs
="${target_configdirs} $i"
6555 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6556 # so we have to add it after the preceding checks.
6557 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6559 case " $configdirs " in
6561 # If we can build libiberty, we can also build libiberty-linker-plugin.
6562 configdirs
="$configdirs libiberty-linker-plugin"
6563 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6564 --with-libiberty=../libiberty-linker-plugin";;
6566 as_fn_error
"libiberty missing" "$LINENO" 5;;
6570 # Sometimes we have special requirements for the host libiberty.
6571 extra_host_libiberty_configure_flags
=
6572 case " $configdirs " in
6573 *" lto-plugin "* |
*" libcc1 "*)
6574 # When these are to be built as shared libraries, the same applies to
6576 extra_host_libiberty_configure_flags
=--enable-shared
6581 # Produce a warning message for the subdirs we can't configure.
6582 # This isn't especially interesting in the Cygnus tree, but in the individual
6583 # FSF releases, it's important to let people know when their machine isn't
6584 # supported by the one or two programs in a package.
6586 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6587 # If $appdirs is non-empty, at least one of those directories must still
6588 # be configured, or we error out. (E.g., if the gas release supports a
6589 # specified target in some subdirs but not the gas subdir, we shouldn't
6590 # pretend that all is well.)
6591 if test -n "$appdirs" ; then
6592 for dir
in $appdirs ; do
6593 if test -r $dir/Makefile.
in ; then
6594 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6598 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6604 if test -n "$appdirs" ; then
6605 echo "*** This configuration is not supported by this package." 1>&2
6609 # Okay, some application will build, or we don't care to check. Still
6610 # notify of subdirs not getting built.
6611 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6612 echo " ${notsupp}" 1>&2
6613 echo " (Any other directories should still work fine.)" 1>&2
6621 # To find our prefix, in gcc_cv_tool_prefix.
6623 # The user is always right.
6624 if test "${PATH_SEPARATOR+set}" != set; then
6625 echo "#! /bin/sh" >conf$$.sh
6626 echo "exit 0" >>conf$$.sh
6628 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6638 if test "x$exec_prefix" = xNONE
; then
6639 if test "x$prefix" = xNONE
; then
6640 gcc_cv_tool_prefix
=$ac_default_prefix
6642 gcc_cv_tool_prefix
=$prefix
6645 gcc_cv_tool_prefix
=$exec_prefix
6648 # If there is no compiler in the tree, use the PATH only. In any
6649 # case, if there is no compiler in the tree nobody should use
6650 # AS_FOR_TARGET and LD_FOR_TARGET.
6651 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6652 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6653 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6654 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6655 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6656 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6657 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6658 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6663 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6664 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6672 # Check whether --with-build-sysroot was given.
6673 if test "${with_build_sysroot+set}" = set; then :
6674 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6675 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6678 SYSROOT_CFLAGS_FOR_TARGET
=
6684 # Check whether --with-debug-prefix-map was given.
6685 if test "${with_debug_prefix_map+set}" = set; then :
6686 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6687 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6688 for debug_map
in $withval; do
6689 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6693 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6698 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6699 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6700 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6701 # We want to ensure that TARGET libraries (which we know are built with
6702 # gcc) are built with "-O2 -g", so include those options when setting
6703 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6704 if test "x$CFLAGS_FOR_TARGET" = x
; then
6705 CFLAGS_FOR_TARGET
=$CFLAGS
6708 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6711 *" -g "* |
*" -g3 "*) ;;
6712 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6717 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6718 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6719 case " $CXXFLAGS " in
6721 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6723 case " $CXXFLAGS " in
6724 *" -g "* |
*" -g3 "*) ;;
6725 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6732 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6733 # the named directory are copied to $(tooldir)/sys-include.
6734 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6735 if test x
${is_cross_compiler} = xno
; then
6736 echo 1>&2 '***' --with-headers is only supported when cross compiling
6739 if test x
"${with_headers}" != xyes
; then
6740 x
=${gcc_cv_tool_prefix}
6741 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6745 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6746 # the name directories are copied to $(tooldir)/lib. Multiple directories
6748 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6749 if test x
${is_cross_compiler} = xno
; then
6750 echo 1>&2 '***' --with-libs is only supported when cross compiling
6753 if test x
"${with_libs}" != xyes
; then
6754 # Copy the libraries in reverse order, so that files in the first named
6755 # library override files in subsequent libraries.
6756 x
=${gcc_cv_tool_prefix}
6757 for l
in ${with_libs}; do
6758 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6763 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6765 # This is done by determining whether or not the appropriate directory
6766 # is available, and by checking whether or not specific configurations
6767 # have requested that this magic not happen.
6769 # The command line options always override the explicit settings in
6770 # configure.in, and the settings in configure.in override this magic.
6772 # If the default for a toolchain is to use GNU as and ld, and you don't
6773 # want to do that, then you should use the --without-gnu-as and
6774 # --without-gnu-ld options for the configure script. Similarly, if
6775 # the default is to use the included zlib and you don't want to do that,
6776 # you should use the --with-system-zlib option for the configure script.
6778 if test x
${use_gnu_as} = x
&&
6779 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6781 extra_host_args
="$extra_host_args --with-gnu-as"
6784 if test x
${use_gnu_ld} = x
&&
6785 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6787 extra_host_args
="$extra_host_args --with-gnu-ld"
6790 if test x
${use_included_zlib} = x
&&
6791 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6794 with_system_zlib
=yes
6795 extra_host_args
="$extra_host_args --with-system-zlib"
6798 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6799 # can detect this case.
6801 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6803 extra_host_args
="$extra_host_args --with-newlib"
6806 # Handle ${copy_dirs}
6807 set fnord
${copy_dirs}
6809 while test $# != 0 ; do
6810 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6813 echo Copying
$1 to
$2
6815 # Use the install script to create the directory and all required
6816 # parent directories.
6817 if test -d $2 ; then
6821 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6824 # Copy the directory, assuming we have tar.
6825 # FIXME: Should we use B in the second tar? Not all systems support it.
6826 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6828 # It is the responsibility of the user to correctly adjust all
6829 # symlinks. If somebody can figure out how to handle them correctly
6830 # here, feel free to add the code.
6837 # Determine a target-dependent exec_prefix that the installed
6838 # gcc will search in. Keep this list sorted by triplet, with
6839 # the *-*-osname triplets last.
6842 i
[34567]86-pc-msdosdjgpp*)
6843 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6848 md_exec_prefix
=/usr
/ccs
/bin
6852 extra_arflags_for_target
=
6853 extra_nmflags_for_target
=
6854 extra_ranlibflags_for_target
=
6855 target_makefile_frag
=/dev
/null
6858 target_makefile_frag
="config/mt-spu"
6860 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6861 target_makefile_frag
="config/mt-sde"
6863 mipsisa
*-*-elfoabi*)
6864 target_makefile_frag
="config/mt-mips-elfoabi"
6866 mips
*-*-*linux
* | mips
*-*-gnu*)
6867 target_makefile_frag
="config/mt-mips-gnu"
6870 target_makefile_frag
="config/mt-nios2-elf"
6872 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6873 target_makefile_frag
="config/mt-gnu"
6875 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6876 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6877 # commands to handle both 32-bit and 64-bit objects. These flags are
6878 # harmless if we're using GNU nm or ar.
6879 extra_arflags_for_target
=" -X32_64"
6880 extra_nmflags_for_target
=" -B -X32_64"
6884 alphaieee_frag
=/dev
/null
6887 # This just makes sure to use the -mieee option to build target libs.
6888 # This should probably be set individually by each library.
6889 alphaieee_frag
="config/mt-alphaieee"
6893 # If --enable-target-optspace always use -Os instead of -O2 to build
6894 # the target libraries, similarly if it is not specified, use -Os
6895 # on selected platforms.
6896 ospace_frag
=/dev
/null
6897 case "${enable_target_optspace}:${target}" in
6899 ospace_frag
="config/mt-ospace"
6902 ospace_frag
="config/mt-d30v"
6904 :m32r-
* |
:d10v-
* |
:fr30-
*)
6905 ospace_frag
="config/mt-ospace"
6910 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6914 # Some systems (e.g., one of the i386-aix systems the gas testers are
6915 # using) don't handle "\$" correctly, so don't use it here.
6916 tooldir
='${exec_prefix}'/${target_noncanonical}
6917 build_tooldir
=${tooldir}
6919 # Create a .gdbinit file which runs the one in srcdir
6920 # and tells GDB to look there for source files.
6922 if test -r ${srcdir}/.gdbinit
; then
6925 *) cat > .
/.gdbinit
<<EOF
6929 source ${srcdir}/.gdbinit
6935 # Make sure that the compiler is able to generate an executable. If it
6936 # can't, we are probably in trouble. We don't care whether we can run the
6937 # executable--we might be using a cross compiler--we only care whether it
6938 # can be created. At this point the main configure script has set CC.
6940 echo "int main () { return 0; }" > conftest.c
6941 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6942 if test $?
= 0 ; then
6943 if test -s conftest ||
test -s conftest.exe
; then
6949 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6950 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6957 # Decide which environment variable is used to find dynamic libraries.
6959 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6960 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6961 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6962 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6965 # On systems where the dynamic library environment variable is PATH,
6966 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6967 # built executables to PATH.
6968 if test "$RPATH_ENVVAR" = PATH
; then
6969 GCC_SHLIB_SUBDIR
=/shlib
6974 # Adjust the toplevel makefile according to whether bootstrap was selected.
6975 case $enable_bootstrap in
6977 bootstrap_suffix
=bootstrap
6978 BUILD_CONFIG
=bootstrap-debug
6981 bootstrap_suffix
=no-bootstrap
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6987 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6990 # Check whether --with-build-config was given.
6991 if test "${with_build_config+set}" = set; then :
6992 withval
=$with_build_config; case $with_build_config in
6993 yes) with_build_config
= ;;
6994 no
) with_build_config
= BUILD_CONFIG
= ;;
6999 if test "x${with_build_config}" != x
; then
7000 BUILD_CONFIG
=$with_build_config
7002 case $BUILD_CONFIG in
7004 if echo "int f (void) { return 0; }" > conftest.c
&&
7005 ${CC} -c conftest.c
&&
7006 mv conftest.o conftest.o.g0
&&
7007 ${CC} -c -g conftest.c
&&
7008 mv conftest.o conftest.o.g
&&
7009 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7014 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7019 $as_echo "$BUILD_CONFIG" >&6; }
7022 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7024 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7025 # Check whether --enable-vtable-verify was given.
7026 if test "${enable_vtable_verify+set}" = set; then :
7027 enableval
=$enable_vtable_verify; case "$enableval" in
7028 yes) enable_vtable_verify
=yes ;;
7029 no
) enable_vtable_verify
=no
;;
7030 *) enable_vtable_verify
=no
;;
7033 enable_vtable_verify
=no
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7037 $as_echo "$enable_vtable_verify" >&6; }
7039 # Record target_configdirs and the configure arguments for target and
7040 # build configuration in Makefile.
7041 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7042 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7043 bootstrap_fixincludes
=no
7045 # If we are building libgomp, bootstrap it.
7046 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7047 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7050 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7051 # or bootstrap-ubsan, bootstrap it.
7052 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7053 case "$BUILD_CONFIG" in
7054 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7055 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7056 bootstrap_fixincludes
=yes
7061 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7062 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7063 test "$enable_vtable_verify" != no
; then
7064 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7067 # Determine whether gdb needs tk/tcl or not.
7068 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7069 # and in that case we want gdb to be built without tk. Ugh!
7070 # In fact I believe gdb is the *only* package directly dependent on tk,
7071 # so we should be able to put the 'maybe's in unconditionally and
7072 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7073 # 100% sure that that's safe though.
7075 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7076 case "$enable_gdbtk" in
7080 GDB_TK
="${gdb_tk}" ;;
7082 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7083 # distro. Eventually someone will fix this and move Insight, nee
7084 # gdbtk to a separate directory.
7085 if test -d ${srcdir}/gdb
/gdbtk
; then
7092 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7093 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7095 # Strip out unwanted targets.
7097 # While at that, we remove Makefiles if we were started for recursive
7098 # configuration, so that the top-level Makefile reconfigures them,
7099 # like we used to do when configure itself was recursive.
7101 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7102 # but now we're fixing up the Makefile ourselves with the additional
7103 # commands passed to AC_CONFIG_FILES. Use separate variables
7104 # extrasub-{build,host,target} not because there is any reason to split
7105 # the substitutions up that way, but only to remain below the limit of
7106 # 99 commands in a script, for HP-UX sed.
7107 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7109 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7110 yes:yes:*\ gold\
*:*,c
++,*) ;;
7111 yes:yes:*\ gold\
*:*)
7112 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7117 for module
in ${build_configdirs} ; do
7118 if test -z "${no_recursion}" \
7119 && test -f ${build_subdir}/${module}/Makefile
; then
7120 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7121 rm -f ${build_subdir}/${module}/Makefile
7123 extrasub_build
="$extrasub_build
7124 /^@if build-$module\$/d
7125 /^@endif build-$module\$/d
7126 /^@if build-$module-$bootstrap_suffix\$/d
7127 /^@endif build-$module-$bootstrap_suffix\$/d"
7130 for module
in ${configdirs} ; do
7131 if test -z "${no_recursion}"; then
7132 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7133 if test -f ${file}; then
7134 echo 1>&2 "*** removing ${file} to force reconfigure"
7139 case ${module},${bootstrap_fixincludes} in
7140 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7141 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7143 extrasub_host
="$extrasub_host
7145 /^@endif $module\$/d
7146 /^@if $module-$host_bootstrap_suffix\$/d
7147 /^@endif $module-$host_bootstrap_suffix\$/d"
7150 for module
in ${target_configdirs} ; do
7151 if test -z "${no_recursion}" \
7152 && test -f ${target_subdir}/${module}/Makefile
; then
7153 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7154 rm -f ${target_subdir}/${module}/Makefile
7157 # We only bootstrap target libraries listed in bootstrap_target_libs.
7158 case $bootstrap_target_libs in
7159 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7160 *) target_bootstrap_suffix
=no-bootstrap
;;
7163 extrasub_target
="$extrasub_target
7164 /^@if target-$module\$/d
7165 /^@endif target-$module\$/d
7166 /^@if target-$module-$target_bootstrap_suffix\$/d
7167 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7170 # Do the final fixup along with target modules.
7171 extrasub_target
="$extrasub_target
7172 /^@if /,/^@endif /d"
7174 # Create the serialization dependencies. This uses a temporary file.
7176 # Check whether --enable-serial-configure was given.
7177 if test "${enable_serial_configure+set}" = set; then :
7178 enableval
=$enable_serial_configure;
7182 case ${enable_serial_configure} in
7184 enable_serial_build_configure
=yes
7185 enable_serial_host_configure
=yes
7186 enable_serial_target_configure
=yes
7190 # These force 'configure's to be done one at a time, to avoid problems
7191 # with contention over a shared config.cache.
7193 echo '# serdep.tmp' > serdep.tmp
7195 test "x${enable_serial_build_configure}" = xyes
&&
7196 for item
in ${build_configdirs} ; do
7199 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7204 test "x${enable_serial_host_configure}" = xyes
&&
7205 for item
in ${configdirs} ; do
7208 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7213 test "x${enable_serial_target_configure}" = xyes
&&
7214 for item
in ${target_configdirs} ; do
7217 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7221 serialization_dependencies
=serdep.tmp
7224 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7225 # target, nonopt, and variable assignments. These are the ones we
7226 # might not want to pass down to subconfigures. The exception being
7227 # --cache-file=/dev/null, which is used to turn off the use of cache
7228 # files altogether, and which should be passed on to subconfigures.
7229 # Also strip program-prefix, program-suffix, and program-transform-name,
7230 # so that we can pass down a consistent program-transform-name.
7235 eval "set -- $ac_configure_args"
7238 if test X
"$skip_next" = X
"yes"; then
7242 if test X
"$keep_next" = X
"yes"; then
7245 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7247 baseargs
="$baseargs '$ac_arg'"
7248 tbaseargs
="$tbaseargs '$ac_arg'"
7253 # Handle separated arguments. Based on the logic generated by
7256 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7257 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7258 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7259 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7273 --with-* |
--without-*)
7274 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7278 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7281 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7290 mpc | mpfr | gmp | isl
)
7291 # If we're processing --with-$lib, --with-$lib-include or
7292 # --with-$lib-lib, for one of the libs above, and target is
7293 # different from host, don't pass the current argument to any
7294 # target library's configure.
7295 if test x
$is_cross_compiler = xyes
; then
7304 --cache-file=/dev
/null | \
7305 -cache-file=/dev
/null
)
7306 # Handled here to avoid the test to skip args below.
7307 baseargs
="$baseargs '$ac_arg'"
7308 tbaseargs
="$tbaseargs '$ac_arg'"
7309 # Assert: $separate_arg should always be no.
7310 keep_next
=$separate_arg
7326 -program-prefix* | \
7327 -program-suffix* | \
7328 -program-transform-name* )
7329 skip_next
=$separate_arg
7333 # An option. Add it.
7336 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7338 baseargs
="$baseargs '$ac_arg'"
7339 if test X
"$skip_targ" = Xno
; then
7340 tbaseargs
="$tbaseargs '$ac_arg'"
7342 keep_next
=$separate_arg
7345 # Either a variable assignment, or a nonopt (triplet). Don't
7346 # pass it down; let the Makefile handle this.
7351 # Remove the initial space we just introduced and, as these will be
7352 # expanded by make, quote '$'.
7353 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7355 # Add in --program-transform-name, after --program-prefix and
7356 # --program-suffix have been applied to it. Autoconf has already
7357 # doubled dollar signs and backslashes in program_transform_name; we want
7358 # the backslashes un-doubled, and then the entire thing wrapped in single
7359 # quotes, because this will be expanded first by make and then by the shell.
7360 # Also, because we want to override the logic in subdir configure scripts to
7361 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7362 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7363 ${program_transform_name}
7365 gcc_transform_name
=`cat conftestsed.out`
7366 rm -f conftestsed.out
7367 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7368 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7369 if test "$silent" = yes; then
7370 baseargs
="$baseargs --silent"
7371 tbaseargs
="$tbaseargs --silent"
7373 baseargs
="$baseargs --disable-option-checking"
7374 tbaseargs
="$tbaseargs --disable-option-checking"
7376 # Record and document user additions to sub configure arguments.
7381 # For the build-side libraries, we just need to pretend we're native,
7382 # and not use the same cache file. Multilibs are neither needed nor
7383 # desired. We can't even use the same cache file for all build-side
7384 # libraries, as they're compiled differently; some with C, some with
7385 # C++ or with different feature-enabling options.
7386 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7388 # For host modules, accept cache file option, or specification as blank.
7389 case "${cache_file}" in
7391 cache_file_option
="" ;;
7392 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7393 cache_file_option
="--cache-file=${cache_file}" ;;
7395 cache_file_option
="--cache-file=../${cache_file}" ;;
7398 # Host dirs don't like to share a cache file either, horribly enough.
7399 # This seems to be due to autoconf 2.5x stupidity.
7400 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7402 target_configargs
="$target_configargs ${tbaseargs}"
7404 # Passing a --with-cross-host argument lets the target libraries know
7405 # whether they are being built with a cross-compiler or being built
7406 # native. However, it would be better to use other mechanisms to make the
7407 # sorts of decisions they want to make on this basis. Please consider
7408 # this option to be deprecated. FIXME.
7409 if test x
${is_cross_compiler} = xyes
; then
7410 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7413 # Special user-friendly check for native x86_64-linux build, if
7414 # multilib is not explicitly enabled.
7415 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7416 x86_64-
*linux
*:yes:$build:$build:)
7417 # Make sure we have a developement environment that handles 32-bit
7419 echo "int main () { return 0; }" > conftest.c
7420 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7421 if test $?
= 0 ; then
7422 if test -s conftest ||
test -s conftest.exe
; then
7427 if test x
${dev64} != xyes
; then
7428 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
7433 # Default to --enable-multilib.
7434 if test x
${enable_multilib} = x
; then
7435 target_configargs
="--enable-multilib ${target_configargs}"
7438 # Pass --with-newlib if appropriate. Note that target_configdirs has
7439 # changed from the earlier setting of with_newlib.
7440 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7441 target_configargs
="--with-newlib ${target_configargs}"
7444 # Different target subdirs use different values of certain variables
7445 # (notably CXX). Worse, multilibs use *lots* of different values.
7446 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7447 # it doesn't automatically accept command-line overrides of them.
7448 # This means it's not safe for target subdirs to share a cache file,
7449 # which is disgusting, but there you have it. Hopefully this can be
7450 # fixed in future. It's still worthwhile to use a cache file for each
7451 # directory. I think.
7453 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7454 # We need to pass --target, as newer autoconf's requires consistency
7455 # for target_alias and gcc doesn't manage it consistently.
7456 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7459 case " $target_configdirs " in
7461 case " $target_configargs " in
7462 *" --with-newlib "*)
7465 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7469 # If we're not building GCC, don't discard standard headers.
7470 if test -d ${srcdir}/gcc
; then
7471 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7473 if test "${build}" != "${host}"; then
7474 # On Canadian crosses, CC_FOR_TARGET will have already been set
7475 # by `configure', so we won't have an opportunity to add -Bgcc/
7476 # to it. This is right: we don't want to search that directory
7477 # for binaries, but we want the header files in there, so add
7479 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7481 # Someone might think of using the pre-installed headers on
7482 # Canadian crosses, in case the installed compiler is not fully
7483 # compatible with the compiler being built. In this case, it
7484 # would be better to flag an error than risking having
7485 # incompatible object files being constructed. We can't
7486 # guarantee that an error will be flagged, but let's hope the
7487 # compiler will do it, when presented with incompatible header
7492 case "${target}-${is_cross_compiler}" in
7493 i
[3456789]86-*-linux*-no)
7494 # Here host == target, so we don't need to build gcc,
7495 # so we don't want to discard standard headers.
7496 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7499 # If we're building newlib, use its generic headers last, but search
7500 # for any libc-related directories first (so make it the last -B
7502 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7504 # If we're building libgloss, find the startup file, simulator library
7505 # and linker script.
7506 case " $target_configdirs " in
7508 # Look for startup file, simulator library and maybe linker script.
7509 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7510 # Look for libnosys.a in case the target needs it.
7511 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7512 # Most targets have the linker script in the source directory.
7513 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7524 x86_64-
*mingw
* |
*-w64-mingw*)
7525 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7526 # however, use a symlink named 'mingw' in ${prefix} .
7527 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7530 # MinGW can't be handled as Cygwin above since it does not use newlib.
7531 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'
7535 # Allow the user to override the flags for
7536 # our build compiler if desired.
7537 if test x
"${build}" = x
"${host}" ; then
7538 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7539 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7540 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7543 # On Canadian crosses, we'll be searching the right directories for
7544 # the previously-installed cross compiler, so don't bother to add
7545 # flags for directories within the install tree of the compiler
7546 # being built; programs in there won't even run.
7547 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7548 # Search for pre-installed headers if nothing else fits.
7549 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7552 if test "x
${use_gnu_ld}" = x &&
7553 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7554 # Arrange for us to find uninstalled linker scripts.
7555 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7558 # Search for other target-specific linker scripts and such.
7561 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7565 # UPC linker script check
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7567 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7568 # Check whether --enable-upc-link-script was given.
7569 if test "${enable_upc_link_script+set}" = set; then :
7570 enableval=$enable_upc_link_script;
7574 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7580 if test x${use_gnu_ld} != xno ; then
7582 # disable linker script for Apple Mac OS X
7584 enable_upc_link_script=no
7587 enable_upc_link_script=yes
7591 enable_upc_link_script=no
7593 if test "$enable_upc_link_script" = yes; then
7594 target_configargs="${target_configargs} --enable-upc-link-script"
7595 host_configargs="${host_configargs} --enable-upc-link-script"
7600 if test "$enable_upc_link_script" = yes; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7602 $as_echo "yes" >&6; };
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7605 $as_echo "no
" >&6; };
7609 # Makefile fragments.
7610 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7612 eval fragval=\$$frag
7613 if test $fragval != /dev/null; then
7614 eval $frag=${srcdir}/$fragval
7622 # Miscellanea: directories, flags, etc.
7631 # Build module lists & subconfigure args.
7635 # Host module lists & subconfigure args.
7640 # Target module lists & subconfigure args.
7663 # Generate default definitions for YACC, M4, LEX and other programs that run
7664 # on the build machine. These are used if the Makefile can't locate these
7665 # programs in objdir.
7666 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7668 for ac_prog in 'bison -y' byacc yacc
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy $ac_prog; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7673 $as_echo_n "checking
for $ac_word...
" >&6; }
7674 if test "${ac_cv_prog_YACC+set}" = set; then :
7675 $as_echo_n "(cached
) " >&6
7677 if test -n "$YACC"; then
7678 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_YACC="$ac_prog"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7697 YACC=$ac_cv_prog_YACC
7698 if test -n "$YACC"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7700 $as_echo "$YACC" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7703 $as_echo "no
" >&6; }
7707 test -n "$YACC" && break
7709 test -n "$YACC" || YACC="$MISSING bison
-y"
7711 case " $build_configdirs " in
7712 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7715 for ac_prog in bison
7717 # Extract the first word of "$ac_prog", so it can be a program name with args.
7718 set dummy $ac_prog; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7720 $as_echo_n "checking
for $ac_word...
" >&6; }
7721 if test "${ac_cv_prog_BISON+set}" = set; then :
7722 $as_echo_n "(cached
) " >&6
7724 if test -n "$BISON"; then
7725 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_BISON="$ac_prog"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7744 BISON=$ac_cv_prog_BISON
7745 if test -n "$BISON"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7747 $as_echo "$BISON" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7750 $as_echo "no
" >&6; }
7754 test -n "$BISON" && break
7756 test -n "$BISON" || BISON="$MISSING bison
"
7758 case " $build_configdirs " in
7759 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7762 for ac_prog in gm4 gnum4 m4
7764 # Extract the first word of "$ac_prog", so it can be a program name with args.
7765 set dummy $ac_prog; ac_word=$2
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7767 $as_echo_n "checking
for $ac_word...
" >&6; }
7768 if test "${ac_cv_prog_M4+set}" = set; then :
7769 $as_echo_n "(cached
) " >&6
7771 if test -n "$M4"; then
7772 ac_cv_prog_M4="$M4" # Let the user override the test.
7774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778 test -z "$as_dir" && as_dir=.
7779 for ac_exec_ext in '' $ac_executable_extensions; do
7780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7781 ac_cv_prog_M4="$ac_prog"
7782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7792 if test -n "$M4"; then
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7794 $as_echo "$M4" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7797 $as_echo "no
" >&6; }
7801 test -n "$M4" && break
7803 test -n "$M4" || M4="$MISSING m4"
7805 case " $build_configdirs " in
7806 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7809 for ac_prog in flex lex
7811 # Extract the first word of "$ac_prog", so it can be a program name with args.
7812 set dummy $ac_prog; ac_word=$2
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7814 $as_echo_n "checking
for $ac_word...
" >&6; }
7815 if test "${ac_cv_prog_LEX+set}" = set; then :
7816 $as_echo_n "(cached
) " >&6
7818 if test -n "$LEX"; then
7819 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7825 test -z "$as_dir" && as_dir=.
7826 for ac_exec_ext in '' $ac_executable_extensions; do
7827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7828 ac_cv_prog_LEX="$ac_prog"
7829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7839 if test -n "$LEX"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7841 $as_echo "$LEX" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7844 $as_echo "no
" >&6; }
7848 test -n "$LEX" && break
7850 test -n "$LEX" || LEX="$MISSING flex
"
7852 case " $build_configdirs " in
7853 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7854 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7859 # Extract the first word of "$ac_prog", so it can be a program name with args.
7860 set dummy $ac_prog; ac_word=$2
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7862 $as_echo_n "checking
for $ac_word...
" >&6; }
7863 if test "${ac_cv_prog_FLEX+set}" = set; then :
7864 $as_echo_n "(cached
) " >&6
7866 if test -n "$FLEX"; then
7867 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7876 ac_cv_prog_FLEX="$ac_prog"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7886 FLEX=$ac_cv_prog_FLEX
7887 if test -n "$FLEX"; then
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7889 $as_echo "$FLEX" >&6; }
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7892 $as_echo "no
" >&6; }
7896 test -n "$FLEX" && break
7898 test -n "$FLEX" || FLEX="$MISSING flex
"
7900 case " $build_configdirs " in
7901 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7904 for ac_prog in makeinfo
7906 # Extract the first word of "$ac_prog", so it can be a program name with args.
7907 set dummy $ac_prog; ac_word=$2
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7909 $as_echo_n "checking
for $ac_word...
" >&6; }
7910 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7911 $as_echo_n "(cached
) " >&6
7913 if test -n "$MAKEINFO"; then
7914 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7920 test -z "$as_dir" && as_dir=.
7921 for ac_exec_ext in '' $ac_executable_extensions; do
7922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7923 ac_cv_prog_MAKEINFO="$ac_prog"
7924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7933 MAKEINFO=$ac_cv_prog_MAKEINFO
7934 if test -n "$MAKEINFO"; then
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7936 $as_echo "$MAKEINFO" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7939 $as_echo "no
" >&6; }
7943 test -n "$MAKEINFO" && break
7945 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7947 case " $build_configdirs " in
7948 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7951 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7952 # higher, else we use the "missing
" dummy.
7953 if ${MAKEINFO} --version \
7954 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7957 MAKEINFO="$MISSING makeinfo
"
7963 # FIXME: expect and dejagnu may become build tools?
7965 for ac_prog in expect
7967 # Extract the first word of "$ac_prog", so it can be a program name with args.
7968 set dummy $ac_prog; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7970 $as_echo_n "checking
for $ac_word...
" >&6; }
7971 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7972 $as_echo_n "(cached
) " >&6
7974 if test -n "$EXPECT"; then
7975 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_prog_EXPECT="$ac_prog"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7994 EXPECT=$ac_cv_prog_EXPECT
7995 if test -n "$EXPECT"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7997 $as_echo "$EXPECT" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8000 $as_echo "no
" >&6; }
8004 test -n "$EXPECT" && break
8006 test -n "$EXPECT" || EXPECT="expect
"
8008 case " $configdirs " in
8010 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8014 for ac_prog in runtest
8016 # Extract the first word of "$ac_prog", so it can be a program name with args.
8017 set dummy $ac_prog; ac_word=$2
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8019 $as_echo_n "checking
for $ac_word...
" >&6; }
8020 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8021 $as_echo_n "(cached
) " >&6
8023 if test -n "$RUNTEST"; then
8024 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir=.
8031 for ac_exec_ext in '' $ac_executable_extensions; do
8032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8033 ac_cv_prog_RUNTEST="$ac_prog"
8034 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8043 RUNTEST=$ac_cv_prog_RUNTEST
8044 if test -n "$RUNTEST"; then
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8046 $as_echo "$RUNTEST" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8049 $as_echo "no
" >&6; }
8053 test -n "$RUNTEST" && break
8055 test -n "$RUNTEST" || RUNTEST="runtest
"
8057 case " $configdirs " in
8059 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8066 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8067 ncn_target_tool_prefix=
8068 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8072 if test -n "$AR"; then
8074 elif test -n "$ac_cv_prog_AR"; then
8078 if test -n "$ac_cv_prog_AR"; then
8079 for ncn_progname in ar; do
8080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8081 set dummy ${ncn_progname}; ac_word=$2
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8083 $as_echo_n "checking
for $ac_word...
" >&6; }
8084 if test "${ac_cv_prog_AR+set}" = set; then :
8085 $as_echo_n "(cached
) " >&6
8087 if test -n "$AR"; then
8088 ac_cv_prog_AR="$AR" # Let the user override the test.
8090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094 test -z "$as_dir" && as_dir=.
8095 for ac_exec_ext in '' $ac_executable_extensions; do
8096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8097 ac_cv_prog_AR="${ncn_progname}"
8098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8108 if test -n "$AR"; then
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8110 $as_echo "$AR" >&6; }
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8113 $as_echo "no
" >&6; }
8120 for ncn_progname in ar; do
8121 if test -n "$ncn_tool_prefix"; then
8122 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8123 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8125 $as_echo_n "checking
for $ac_word...
" >&6; }
8126 if test "${ac_cv_prog_AR+set}" = set; then :
8127 $as_echo_n "(cached
) " >&6
8129 if test -n "$AR"; then
8130 ac_cv_prog_AR="$AR" # Let the user override the test.
8132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8136 test -z "$as_dir" && as_dir=.
8137 for ac_exec_ext in '' $ac_executable_extensions; do
8138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8139 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8150 if test -n "$AR"; then
8151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8152 $as_echo "$AR" >&6; }
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8155 $as_echo "no
" >&6; }
8160 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8161 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8162 set dummy ${ncn_progname}; ac_word=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8164 $as_echo_n "checking
for $ac_word...
" >&6; }
8165 if test "${ac_cv_prog_AR+set}" = set; then :
8166 $as_echo_n "(cached
) " >&6
8168 if test -n "$AR"; then
8169 ac_cv_prog_AR="$AR" # Let the user override the test.
8171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 test -z "$as_dir" && as_dir=.
8176 for ac_exec_ext in '' $ac_executable_extensions; do
8177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8178 ac_cv_prog_AR="${ncn_progname}"
8179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8189 if test -n "$AR"; then
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8191 $as_echo "$AR" >&6; }
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8194 $as_echo "no
" >&6; }
8199 test -n "$ac_cv_prog_AR" && break
8202 if test -z "$ac_cv_prog_AR" ; then
8204 if test $build = $host ; then
8207 AR="${ncn_tool_prefix}$2"
8213 if test -n "$AS"; then
8215 elif test -n "$ac_cv_prog_AS"; then
8219 if test -n "$ac_cv_prog_AS"; then
8220 for ncn_progname in as; do
8221 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8222 set dummy ${ncn_progname}; ac_word=$2
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8224 $as_echo_n "checking
for $ac_word...
" >&6; }
8225 if test "${ac_cv_prog_AS+set}" = set; then :
8226 $as_echo_n "(cached
) " >&6
8228 if test -n "$AS"; then
8229 ac_cv_prog_AS="$AS" # Let the user override the test.
8231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir=.
8236 for ac_exec_ext in '' $ac_executable_extensions; do
8237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238 ac_cv_prog_AS="${ncn_progname}"
8239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8249 if test -n "$AS"; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8251 $as_echo "$AS" >&6; }
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8254 $as_echo "no
" >&6; }
8261 for ncn_progname in as; do
8262 if test -n "$ncn_tool_prefix"; then
8263 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8264 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8266 $as_echo_n "checking
for $ac_word...
" >&6; }
8267 if test "${ac_cv_prog_AS+set}" = set; then :
8268 $as_echo_n "(cached
) " >&6
8270 if test -n "$AS"; then
8271 ac_cv_prog_AS="$AS" # Let the user override the test.
8273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8277 test -z "$as_dir" && as_dir=.
8278 for ac_exec_ext in '' $ac_executable_extensions; do
8279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8280 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8291 if test -n "$AS"; then
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8293 $as_echo "$AS" >&6; }
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8296 $as_echo "no
" >&6; }
8301 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8303 set dummy ${ncn_progname}; ac_word=$2
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8305 $as_echo_n "checking
for $ac_word...
" >&6; }
8306 if test "${ac_cv_prog_AS+set}" = set; then :
8307 $as_echo_n "(cached
) " >&6
8309 if test -n "$AS"; then
8310 ac_cv_prog_AS="$AS" # Let the user override the test.
8312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8316 test -z "$as_dir" && as_dir=.
8317 for ac_exec_ext in '' $ac_executable_extensions; do
8318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8319 ac_cv_prog_AS="${ncn_progname}"
8320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8330 if test -n "$AS"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8332 $as_echo "$AS" >&6; }
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8335 $as_echo "no
" >&6; }
8340 test -n "$ac_cv_prog_AS" && break
8343 if test -z "$ac_cv_prog_AS" ; then
8345 if test $build = $host ; then
8348 AS="${ncn_tool_prefix}$2"
8354 if test -n "$DLLTOOL"; then
8355 ac_cv_prog_DLLTOOL=$DLLTOOL
8356 elif test -n "$ac_cv_prog_DLLTOOL"; then
8357 DLLTOOL=$ac_cv_prog_DLLTOOL
8360 if test -n "$ac_cv_prog_DLLTOOL"; then
8361 for ncn_progname in dlltool; do
8362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8363 set dummy ${ncn_progname}; ac_word=$2
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8365 $as_echo_n "checking
for $ac_word...
" >&6; }
8366 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8367 $as_echo_n "(cached
) " >&6
8369 if test -n "$DLLTOOL"; then
8370 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8379 ac_cv_prog_DLLTOOL="${ncn_progname}"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8389 DLLTOOL=$ac_cv_prog_DLLTOOL
8390 if test -n "$DLLTOOL"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8392 $as_echo "$DLLTOOL" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8395 $as_echo "no
" >&6; }
8402 for ncn_progname in dlltool; do
8403 if test -n "$ncn_tool_prefix"; then
8404 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8405 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8407 $as_echo_n "checking
for $ac_word...
" >&6; }
8408 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8409 $as_echo_n "(cached
) " >&6
8411 if test -n "$DLLTOOL"; then
8412 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir=.
8419 for ac_exec_ext in '' $ac_executable_extensions; do
8420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8421 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8431 DLLTOOL=$ac_cv_prog_DLLTOOL
8432 if test -n "$DLLTOOL"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8434 $as_echo "$DLLTOOL" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8437 $as_echo "no
" >&6; }
8442 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8443 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8444 set dummy ${ncn_progname}; ac_word=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8446 $as_echo_n "checking
for $ac_word...
" >&6; }
8447 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8448 $as_echo_n "(cached
) " >&6
8450 if test -n "$DLLTOOL"; then
8451 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8457 test -z "$as_dir" && as_dir=.
8458 for ac_exec_ext in '' $ac_executable_extensions; do
8459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8460 ac_cv_prog_DLLTOOL="${ncn_progname}"
8461 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8470 DLLTOOL=$ac_cv_prog_DLLTOOL
8471 if test -n "$DLLTOOL"; then
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8473 $as_echo "$DLLTOOL" >&6; }
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8476 $as_echo "no
" >&6; }
8481 test -n "$ac_cv_prog_DLLTOOL" && break
8484 if test -z "$ac_cv_prog_DLLTOOL" ; then
8486 if test $build = $host ; then
8489 DLLTOOL="${ncn_tool_prefix}$2"
8495 if test -n "$LD"; then
8497 elif test -n "$ac_cv_prog_LD"; then
8501 if test -n "$ac_cv_prog_LD"; then
8502 for ncn_progname in ld; do
8503 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8504 set dummy ${ncn_progname}; ac_word=$2
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8506 $as_echo_n "checking
for $ac_word...
" >&6; }
8507 if test "${ac_cv_prog_LD+set}" = set; then :
8508 $as_echo_n "(cached
) " >&6
8510 if test -n "$LD"; then
8511 ac_cv_prog_LD="$LD" # Let the user override the test.
8513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8517 test -z "$as_dir" && as_dir=.
8518 for ac_exec_ext in '' $ac_executable_extensions; do
8519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8520 ac_cv_prog_LD="${ncn_progname}"
8521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8531 if test -n "$LD"; then
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8533 $as_echo "$LD" >&6; }
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8536 $as_echo "no
" >&6; }
8543 for ncn_progname in ld; do
8544 if test -n "$ncn_tool_prefix"; then
8545 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8546 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8548 $as_echo_n "checking
for $ac_word...
" >&6; }
8549 if test "${ac_cv_prog_LD+set}" = set; then :
8550 $as_echo_n "(cached
) " >&6
8552 if test -n "$LD"; then
8553 ac_cv_prog_LD="$LD" # Let the user override the test.
8555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8559 test -z "$as_dir" && as_dir=.
8560 for ac_exec_ext in '' $ac_executable_extensions; do
8561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8562 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8573 if test -n "$LD"; then
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8575 $as_echo "$LD" >&6; }
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8578 $as_echo "no
" >&6; }
8583 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8584 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8585 set dummy ${ncn_progname}; ac_word=$2
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8587 $as_echo_n "checking
for $ac_word...
" >&6; }
8588 if test "${ac_cv_prog_LD+set}" = set; then :
8589 $as_echo_n "(cached
) " >&6
8591 if test -n "$LD"; then
8592 ac_cv_prog_LD="$LD" # Let the user override the test.
8594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir=.
8599 for ac_exec_ext in '' $ac_executable_extensions; do
8600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601 ac_cv_prog_LD="${ncn_progname}"
8602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 if test -n "$LD"; then
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8614 $as_echo "$LD" >&6; }
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8617 $as_echo "no
" >&6; }
8622 test -n "$ac_cv_prog_LD" && break
8625 if test -z "$ac_cv_prog_LD" ; then
8627 if test $build = $host ; then
8630 LD="${ncn_tool_prefix}$2"
8636 if test -n "$LIPO"; then
8637 ac_cv_prog_LIPO=$LIPO
8638 elif test -n "$ac_cv_prog_LIPO"; then
8639 LIPO=$ac_cv_prog_LIPO
8642 if test -n "$ac_cv_prog_LIPO"; then
8643 for ncn_progname in lipo; do
8644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8645 set dummy ${ncn_progname}; ac_word=$2
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8647 $as_echo_n "checking
for $ac_word...
" >&6; }
8648 if test "${ac_cv_prog_LIPO+set}" = set; then :
8649 $as_echo_n "(cached
) " >&6
8651 if test -n "$LIPO"; then
8652 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8658 test -z "$as_dir" && as_dir=.
8659 for ac_exec_ext in '' $ac_executable_extensions; do
8660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8661 ac_cv_prog_LIPO="${ncn_progname}"
8662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8671 LIPO=$ac_cv_prog_LIPO
8672 if test -n "$LIPO"; then
8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8674 $as_echo "$LIPO" >&6; }
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8677 $as_echo "no
" >&6; }
8684 for ncn_progname in lipo; do
8685 if test -n "$ncn_tool_prefix"; then
8686 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8687 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8689 $as_echo_n "checking
for $ac_word...
" >&6; }
8690 if test "${ac_cv_prog_LIPO+set}" = set; then :
8691 $as_echo_n "(cached
) " >&6
8693 if test -n "$LIPO"; then
8694 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir=.
8701 for ac_exec_ext in '' $ac_executable_extensions; do
8702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8703 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8713 LIPO=$ac_cv_prog_LIPO
8714 if test -n "$LIPO"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8716 $as_echo "$LIPO" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8719 $as_echo "no
" >&6; }
8724 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8726 set dummy ${ncn_progname}; ac_word=$2
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8728 $as_echo_n "checking
for $ac_word...
" >&6; }
8729 if test "${ac_cv_prog_LIPO+set}" = set; then :
8730 $as_echo_n "(cached
) " >&6
8732 if test -n "$LIPO"; then
8733 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8739 test -z "$as_dir" && as_dir=.
8740 for ac_exec_ext in '' $ac_executable_extensions; do
8741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8742 ac_cv_prog_LIPO="${ncn_progname}"
8743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8752 LIPO=$ac_cv_prog_LIPO
8753 if test -n "$LIPO"; then
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8755 $as_echo "$LIPO" >&6; }
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8758 $as_echo "no
" >&6; }
8763 test -n "$ac_cv_prog_LIPO" && break
8766 if test -z "$ac_cv_prog_LIPO" ; then
8768 if test $build = $host ; then
8771 LIPO="${ncn_tool_prefix}$2"
8777 if test -n "$NM"; then
8779 elif test -n "$ac_cv_prog_NM"; then
8783 if test -n "$ac_cv_prog_NM"; then
8784 for ncn_progname in nm; do
8785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8786 set dummy ${ncn_progname}; ac_word=$2
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8788 $as_echo_n "checking
for $ac_word...
" >&6; }
8789 if test "${ac_cv_prog_NM+set}" = set; then :
8790 $as_echo_n "(cached
) " >&6
8792 if test -n "$NM"; then
8793 ac_cv_prog_NM="$NM" # Let the user override the test.
8795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8799 test -z "$as_dir" && as_dir=.
8800 for ac_exec_ext in '' $ac_executable_extensions; do
8801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8802 ac_cv_prog_NM="${ncn_progname}"
8803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8813 if test -n "$NM"; then
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8815 $as_echo "$NM" >&6; }
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8818 $as_echo "no
" >&6; }
8825 for ncn_progname in nm; do
8826 if test -n "$ncn_tool_prefix"; then
8827 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8828 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8830 $as_echo_n "checking
for $ac_word...
" >&6; }
8831 if test "${ac_cv_prog_NM+set}" = set; then :
8832 $as_echo_n "(cached
) " >&6
8834 if test -n "$NM"; then
8835 ac_cv_prog_NM="$NM" # Let the user override the test.
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8844 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8855 if test -n "$NM"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8857 $as_echo "$NM" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8860 $as_echo "no
" >&6; }
8865 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8866 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8867 set dummy ${ncn_progname}; ac_word=$2
8868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8869 $as_echo_n "checking
for $ac_word...
" >&6; }
8870 if test "${ac_cv_prog_NM+set}" = set; then :
8871 $as_echo_n "(cached
) " >&6
8873 if test -n "$NM"; then
8874 ac_cv_prog_NM="$NM" # Let the user override the test.
8876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 test -z "$as_dir" && as_dir=.
8881 for ac_exec_ext in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_prog_NM="${ncn_progname}"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8894 if test -n "$NM"; then
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8896 $as_echo "$NM" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8899 $as_echo "no
" >&6; }
8904 test -n "$ac_cv_prog_NM" && break
8907 if test -z "$ac_cv_prog_NM" ; then
8909 if test $build = $host ; then
8912 NM="${ncn_tool_prefix}$2"
8918 if test -n "$RANLIB"; then
8919 ac_cv_prog_RANLIB=$RANLIB
8920 elif test -n "$ac_cv_prog_RANLIB"; then
8921 RANLIB=$ac_cv_prog_RANLIB
8924 if test -n "$ac_cv_prog_RANLIB"; then
8925 for ncn_progname in ranlib; do
8926 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8927 set dummy ${ncn_progname}; ac_word=$2
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8929 $as_echo_n "checking
for $ac_word...
" >&6; }
8930 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8931 $as_echo_n "(cached
) " >&6
8933 if test -n "$RANLIB"; then
8934 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8940 test -z "$as_dir" && as_dir=.
8941 for ac_exec_ext in '' $ac_executable_extensions; do
8942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8943 ac_cv_prog_RANLIB="${ncn_progname}"
8944 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8953 RANLIB=$ac_cv_prog_RANLIB
8954 if test -n "$RANLIB"; then
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8956 $as_echo "$RANLIB" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8959 $as_echo "no
" >&6; }
8966 for ncn_progname in ranlib; do
8967 if test -n "$ncn_tool_prefix"; then
8968 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8969 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8971 $as_echo_n "checking
for $ac_word...
" >&6; }
8972 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8973 $as_echo_n "(cached
) " >&6
8975 if test -n "$RANLIB"; then
8976 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir=.
8983 for ac_exec_ext in '' $ac_executable_extensions; do
8984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8985 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8995 RANLIB=$ac_cv_prog_RANLIB
8996 if test -n "$RANLIB"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8998 $as_echo "$RANLIB" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9001 $as_echo "no
" >&6; }
9006 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9007 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9008 set dummy ${ncn_progname}; ac_word=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9010 $as_echo_n "checking
for $ac_word...
" >&6; }
9011 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9012 $as_echo_n "(cached
) " >&6
9014 if test -n "$RANLIB"; then
9015 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9021 test -z "$as_dir" && as_dir=.
9022 for ac_exec_ext in '' $ac_executable_extensions; do
9023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9024 ac_cv_prog_RANLIB="${ncn_progname}"
9025 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9034 RANLIB=$ac_cv_prog_RANLIB
9035 if test -n "$RANLIB"; then
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9037 $as_echo "$RANLIB" >&6; }
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9040 $as_echo "no
" >&6; }
9045 test -n "$ac_cv_prog_RANLIB" && break
9048 if test -z "$ac_cv_prog_RANLIB" ; then
9054 if test -n "$STRIP"; then
9055 ac_cv_prog_STRIP=$STRIP
9056 elif test -n "$ac_cv_prog_STRIP"; then
9057 STRIP=$ac_cv_prog_STRIP
9060 if test -n "$ac_cv_prog_STRIP"; then
9061 for ncn_progname in strip; do
9062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9063 set dummy ${ncn_progname}; ac_word=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9065 $as_echo_n "checking
for $ac_word...
" >&6; }
9066 if test "${ac_cv_prog_STRIP+set}" = set; then :
9067 $as_echo_n "(cached
) " >&6
9069 if test -n "$STRIP"; then
9070 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9076 test -z "$as_dir" && as_dir=.
9077 for ac_exec_ext in '' $ac_executable_extensions; do
9078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9079 ac_cv_prog_STRIP="${ncn_progname}"
9080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9089 STRIP=$ac_cv_prog_STRIP
9090 if test -n "$STRIP"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9092 $as_echo "$STRIP" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9095 $as_echo "no
" >&6; }
9102 for ncn_progname in strip; do
9103 if test -n "$ncn_tool_prefix"; then
9104 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9105 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9107 $as_echo_n "checking
for $ac_word...
" >&6; }
9108 if test "${ac_cv_prog_STRIP+set}" = set; then :
9109 $as_echo_n "(cached
) " >&6
9111 if test -n "$STRIP"; then
9112 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9118 test -z "$as_dir" && as_dir=.
9119 for ac_exec_ext in '' $ac_executable_extensions; do
9120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9121 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9131 STRIP=$ac_cv_prog_STRIP
9132 if test -n "$STRIP"; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9134 $as_echo "$STRIP" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9137 $as_echo "no
" >&6; }
9142 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9143 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9144 set dummy ${ncn_progname}; ac_word=$2
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9146 $as_echo_n "checking
for $ac_word...
" >&6; }
9147 if test "${ac_cv_prog_STRIP+set}" = set; then :
9148 $as_echo_n "(cached
) " >&6
9150 if test -n "$STRIP"; then
9151 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9157 test -z "$as_dir" && as_dir=.
9158 for ac_exec_ext in '' $ac_executable_extensions; do
9159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9160 ac_cv_prog_STRIP="${ncn_progname}"
9161 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9170 STRIP=$ac_cv_prog_STRIP
9171 if test -n "$STRIP"; then
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9173 $as_echo "$STRIP" >&6; }
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9176 $as_echo "no
" >&6; }
9181 test -n "$ac_cv_prog_STRIP" && break
9184 if test -z "$ac_cv_prog_STRIP" ; then
9190 if test -n "$WINDRES"; then
9191 ac_cv_prog_WINDRES=$WINDRES
9192 elif test -n "$ac_cv_prog_WINDRES"; then
9193 WINDRES=$ac_cv_prog_WINDRES
9196 if test -n "$ac_cv_prog_WINDRES"; then
9197 for ncn_progname in windres; do
9198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9199 set dummy ${ncn_progname}; ac_word=$2
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9201 $as_echo_n "checking
for $ac_word...
" >&6; }
9202 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9203 $as_echo_n "(cached
) " >&6
9205 if test -n "$WINDRES"; then
9206 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9212 test -z "$as_dir" && as_dir=.
9213 for ac_exec_ext in '' $ac_executable_extensions; do
9214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215 ac_cv_prog_WINDRES="${ncn_progname}"
9216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9225 WINDRES=$ac_cv_prog_WINDRES
9226 if test -n "$WINDRES"; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9228 $as_echo "$WINDRES" >&6; }
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9231 $as_echo "no
" >&6; }
9238 for ncn_progname in windres; do
9239 if test -n "$ncn_tool_prefix"; then
9240 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9241 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9243 $as_echo_n "checking
for $ac_word...
" >&6; }
9244 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9245 $as_echo_n "(cached
) " >&6
9247 if test -n "$WINDRES"; then
9248 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir=.
9255 for ac_exec_ext in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9267 WINDRES=$ac_cv_prog_WINDRES
9268 if test -n "$WINDRES"; then
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9270 $as_echo "$WINDRES" >&6; }
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9273 $as_echo "no
" >&6; }
9278 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9280 set dummy ${ncn_progname}; ac_word=$2
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9282 $as_echo_n "checking
for $ac_word...
" >&6; }
9283 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9284 $as_echo_n "(cached
) " >&6
9286 if test -n "$WINDRES"; then
9287 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9293 test -z "$as_dir" && as_dir=.
9294 for ac_exec_ext in '' $ac_executable_extensions; do
9295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9296 ac_cv_prog_WINDRES="${ncn_progname}"
9297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9306 WINDRES=$ac_cv_prog_WINDRES
9307 if test -n "$WINDRES"; then
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9309 $as_echo "$WINDRES" >&6; }
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9312 $as_echo "no
" >&6; }
9317 test -n "$ac_cv_prog_WINDRES" && break
9320 if test -z "$ac_cv_prog_WINDRES" ; then
9322 if test $build = $host ; then
9325 WINDRES="${ncn_tool_prefix}$2"
9331 if test -n "$WINDMC"; then
9332 ac_cv_prog_WINDMC=$WINDMC
9333 elif test -n "$ac_cv_prog_WINDMC"; then
9334 WINDMC=$ac_cv_prog_WINDMC
9337 if test -n "$ac_cv_prog_WINDMC"; then
9338 for ncn_progname in windmc; do
9339 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9340 set dummy ${ncn_progname}; ac_word=$2
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9342 $as_echo_n "checking
for $ac_word...
" >&6; }
9343 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9344 $as_echo_n "(cached
) " >&6
9346 if test -n "$WINDMC"; then
9347 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9353 test -z "$as_dir" && as_dir=.
9354 for ac_exec_ext in '' $ac_executable_extensions; do
9355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9356 ac_cv_prog_WINDMC="${ncn_progname}"
9357 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9366 WINDMC=$ac_cv_prog_WINDMC
9367 if test -n "$WINDMC"; then
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9369 $as_echo "$WINDMC" >&6; }
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9372 $as_echo "no
" >&6; }
9379 for ncn_progname in windmc; do
9380 if test -n "$ncn_tool_prefix"; then
9381 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9382 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9384 $as_echo_n "checking
for $ac_word...
" >&6; }
9385 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9386 $as_echo_n "(cached
) " >&6
9388 if test -n "$WINDMC"; then
9389 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9395 test -z "$as_dir" && as_dir=.
9396 for ac_exec_ext in '' $ac_executable_extensions; do
9397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9398 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9399 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9408 WINDMC=$ac_cv_prog_WINDMC
9409 if test -n "$WINDMC"; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9411 $as_echo "$WINDMC" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9414 $as_echo "no
" >&6; }
9419 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9420 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9421 set dummy ${ncn_progname}; ac_word=$2
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9423 $as_echo_n "checking
for $ac_word...
" >&6; }
9424 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9425 $as_echo_n "(cached
) " >&6
9427 if test -n "$WINDMC"; then
9428 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9434 test -z "$as_dir" && as_dir=.
9435 for ac_exec_ext in '' $ac_executable_extensions; do
9436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9437 ac_cv_prog_WINDMC="${ncn_progname}"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9447 WINDMC=$ac_cv_prog_WINDMC
9448 if test -n "$WINDMC"; then
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9450 $as_echo "$WINDMC" >&6; }
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9453 $as_echo "no
" >&6; }
9458 test -n "$ac_cv_prog_WINDMC" && break
9461 if test -z "$ac_cv_prog_WINDMC" ; then
9463 if test $build = $host ; then
9466 WINDMC="${ncn_tool_prefix}$2"
9472 if test -n "$OBJCOPY"; then
9473 ac_cv_prog_OBJCOPY=$OBJCOPY
9474 elif test -n "$ac_cv_prog_OBJCOPY"; then
9475 OBJCOPY=$ac_cv_prog_OBJCOPY
9478 if test -n "$ac_cv_prog_OBJCOPY"; then
9479 for ncn_progname in objcopy; do
9480 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9481 set dummy ${ncn_progname}; ac_word=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9483 $as_echo_n "checking
for $ac_word...
" >&6; }
9484 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9485 $as_echo_n "(cached
) " >&6
9487 if test -n "$OBJCOPY"; then
9488 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir=.
9495 for ac_exec_ext in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_prog_OBJCOPY="${ncn_progname}"
9498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9507 OBJCOPY=$ac_cv_prog_OBJCOPY
9508 if test -n "$OBJCOPY"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9510 $as_echo "$OBJCOPY" >&6; }
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9513 $as_echo "no
" >&6; }
9520 for ncn_progname in objcopy; do
9521 if test -n "$ncn_tool_prefix"; then
9522 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9523 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9525 $as_echo_n "checking
for $ac_word...
" >&6; }
9526 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9527 $as_echo_n "(cached
) " >&6
9529 if test -n "$OBJCOPY"; then
9530 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9536 test -z "$as_dir" && as_dir=.
9537 for ac_exec_ext in '' $ac_executable_extensions; do
9538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9539 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9549 OBJCOPY=$ac_cv_prog_OBJCOPY
9550 if test -n "$OBJCOPY"; then
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9552 $as_echo "$OBJCOPY" >&6; }
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9555 $as_echo "no
" >&6; }
9560 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9562 set dummy ${ncn_progname}; ac_word=$2
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9564 $as_echo_n "checking
for $ac_word...
" >&6; }
9565 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9566 $as_echo_n "(cached
) " >&6
9568 if test -n "$OBJCOPY"; then
9569 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9575 test -z "$as_dir" && as_dir=.
9576 for ac_exec_ext in '' $ac_executable_extensions; do
9577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9578 ac_cv_prog_OBJCOPY="${ncn_progname}"
9579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9588 OBJCOPY=$ac_cv_prog_OBJCOPY
9589 if test -n "$OBJCOPY"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9591 $as_echo "$OBJCOPY" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9594 $as_echo "no
" >&6; }
9599 test -n "$ac_cv_prog_OBJCOPY" && break
9602 if test -z "$ac_cv_prog_OBJCOPY" ; then
9604 if test $build = $host ; then
9607 OBJCOPY="${ncn_tool_prefix}$2"
9613 if test -n "$OBJDUMP"; then
9614 ac_cv_prog_OBJDUMP=$OBJDUMP
9615 elif test -n "$ac_cv_prog_OBJDUMP"; then
9616 OBJDUMP=$ac_cv_prog_OBJDUMP
9619 if test -n "$ac_cv_prog_OBJDUMP"; then
9620 for ncn_progname in objdump; do
9621 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9622 set dummy ${ncn_progname}; ac_word=$2
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9624 $as_echo_n "checking
for $ac_word...
" >&6; }
9625 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9626 $as_echo_n "(cached
) " >&6
9628 if test -n "$OBJDUMP"; then
9629 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9635 test -z "$as_dir" && as_dir=.
9636 for ac_exec_ext in '' $ac_executable_extensions; do
9637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9638 ac_cv_prog_OBJDUMP="${ncn_progname}"
9639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9648 OBJDUMP=$ac_cv_prog_OBJDUMP
9649 if test -n "$OBJDUMP"; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9651 $as_echo "$OBJDUMP" >&6; }
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9654 $as_echo "no
" >&6; }
9661 for ncn_progname in objdump; do
9662 if test -n "$ncn_tool_prefix"; then
9663 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9664 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9666 $as_echo_n "checking
for $ac_word...
" >&6; }
9667 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9668 $as_echo_n "(cached
) " >&6
9670 if test -n "$OBJDUMP"; then
9671 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9680 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9690 OBJDUMP=$ac_cv_prog_OBJDUMP
9691 if test -n "$OBJDUMP"; then
9692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9693 $as_echo "$OBJDUMP" >&6; }
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9696 $as_echo "no
" >&6; }
9701 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9702 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9703 set dummy ${ncn_progname}; ac_word=$2
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9705 $as_echo_n "checking
for $ac_word...
" >&6; }
9706 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9707 $as_echo_n "(cached
) " >&6
9709 if test -n "$OBJDUMP"; then
9710 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9716 test -z "$as_dir" && as_dir=.
9717 for ac_exec_ext in '' $ac_executable_extensions; do
9718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9719 ac_cv_prog_OBJDUMP="${ncn_progname}"
9720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9729 OBJDUMP=$ac_cv_prog_OBJDUMP
9730 if test -n "$OBJDUMP"; then
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9732 $as_echo "$OBJDUMP" >&6; }
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9735 $as_echo "no
" >&6; }
9740 test -n "$ac_cv_prog_OBJDUMP" && break
9743 if test -z "$ac_cv_prog_OBJDUMP" ; then
9745 if test $build = $host ; then
9748 OBJDUMP="${ncn_tool_prefix}$2"
9754 if test -n "$READELF"; then
9755 ac_cv_prog_READELF=$READELF
9756 elif test -n "$ac_cv_prog_READELF"; then
9757 READELF=$ac_cv_prog_READELF
9760 if test -n "$ac_cv_prog_READELF"; then
9761 for ncn_progname in readelf; do
9762 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9763 set dummy ${ncn_progname}; ac_word=$2
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9765 $as_echo_n "checking
for $ac_word...
" >&6; }
9766 if test "${ac_cv_prog_READELF+set}" = set; then :
9767 $as_echo_n "(cached
) " >&6
9769 if test -n "$READELF"; then
9770 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9776 test -z "$as_dir" && as_dir=.
9777 for ac_exec_ext in '' $ac_executable_extensions; do
9778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9779 ac_cv_prog_READELF="${ncn_progname}"
9780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9789 READELF=$ac_cv_prog_READELF
9790 if test -n "$READELF"; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9792 $as_echo "$READELF" >&6; }
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9795 $as_echo "no
" >&6; }
9802 for ncn_progname in readelf; do
9803 if test -n "$ncn_tool_prefix"; then
9804 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9805 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9807 $as_echo_n "checking
for $ac_word...
" >&6; }
9808 if test "${ac_cv_prog_READELF+set}" = set; then :
9809 $as_echo_n "(cached
) " >&6
9811 if test -n "$READELF"; then
9812 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9831 READELF=$ac_cv_prog_READELF
9832 if test -n "$READELF"; then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9834 $as_echo "$READELF" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9837 $as_echo "no
" >&6; }
9842 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9844 set dummy ${ncn_progname}; ac_word=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9846 $as_echo_n "checking
for $ac_word...
" >&6; }
9847 if test "${ac_cv_prog_READELF+set}" = set; then :
9848 $as_echo_n "(cached
) " >&6
9850 if test -n "$READELF"; then
9851 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_prog_READELF="${ncn_progname}"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9870 READELF=$ac_cv_prog_READELF
9871 if test -n "$READELF"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9873 $as_echo "$READELF" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9876 $as_echo "no
" >&6; }
9881 test -n "$ac_cv_prog_READELF" && break
9884 if test -z "$ac_cv_prog_READELF" ; then
9886 if test $build = $host ; then
9889 READELF="${ncn_tool_prefix}$2"
9900 # Check whether --with-build-time-tools was given.
9901 if test "${with_build_time_tools+set}" = set; then :
9902 withval=$with_build_time_tools; case x"$withval" in
9905 with_build_time_tools=
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9907 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9911 with_build_time_tools=
9917 if test -n "$CC_FOR_TARGET"; then
9918 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9919 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9920 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9923 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9924 for ncn_progname in cc gcc; do
9925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9926 set dummy ${ncn_progname}; ac_word=$2
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9928 $as_echo_n "checking
for $ac_word...
" >&6; }
9929 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9930 $as_echo_n "(cached
) " >&6
9932 if test -n "$CC_FOR_TARGET"; then
9933 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9939 test -z "$as_dir" && as_dir=.
9940 for ac_exec_ext in '' $ac_executable_extensions; do
9941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9942 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9952 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9953 if test -n "$CC_FOR_TARGET"; then
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9955 $as_echo "$CC_FOR_TARGET" >&6; }
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9958 $as_echo "no
" >&6; }
9965 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9966 for ncn_progname in cc gcc; do
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9968 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9969 if test -x $with_build_time_tools/${ncn_progname}; then
9970 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9972 $as_echo "yes" >&6; }
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9976 $as_echo "no
" >&6; }
9981 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9982 for ncn_progname in cc gcc; do
9983 if test -n "$ncn_target_tool_prefix"; then
9984 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9985 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9987 $as_echo_n "checking
for $ac_word...
" >&6; }
9988 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9989 $as_echo_n "(cached
) " >&6
9991 if test -n "$CC_FOR_TARGET"; then
9992 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir=.
9999 for ac_exec_ext in '' $ac_executable_extensions; do
10000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10001 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10011 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10012 if test -n "$CC_FOR_TARGET"; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10014 $as_echo "$CC_FOR_TARGET" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10017 $as_echo "no
" >&6; }
10022 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10023 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10024 set dummy ${ncn_progname}; ac_word=$2
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10026 $as_echo_n "checking
for $ac_word...
" >&6; }
10027 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10028 $as_echo_n "(cached
) " >&6
10030 if test -n "$CC_FOR_TARGET"; then
10031 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10034 for as_dir in $PATH
10037 test -z "$as_dir" && as_dir=.
10038 for ac_exec_ext in '' $ac_executable_extensions; do
10039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10040 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10050 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10051 if test -n "$CC_FOR_TARGET"; then
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10053 $as_echo "$CC_FOR_TARGET" >&6; }
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10056 $as_echo "no
" >&6; }
10061 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10065 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10067 if test $build = $target ; then
10070 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10073 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10078 if test -n "$CXX_FOR_TARGET"; then
10079 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10080 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10081 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10084 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10085 for ncn_progname in c++ g++ cxx gxx; do
10086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10087 set dummy ${ncn_progname}; ac_word=$2
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10089 $as_echo_n "checking
for $ac_word...
" >&6; }
10090 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10091 $as_echo_n "(cached
) " >&6
10093 if test -n "$CXX_FOR_TARGET"; then
10094 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10097 for as_dir in $PATH
10100 test -z "$as_dir" && as_dir=.
10101 for ac_exec_ext in '' $ac_executable_extensions; do
10102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10103 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10113 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10114 if test -n "$CXX_FOR_TARGET"; then
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10116 $as_echo "$CXX_FOR_TARGET" >&6; }
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10119 $as_echo "no
" >&6; }
10126 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10127 for ncn_progname in c++ g++ cxx gxx; do
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10129 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10130 if test -x $with_build_time_tools/${ncn_progname}; then
10131 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10133 $as_echo "yes" >&6; }
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10137 $as_echo "no
" >&6; }
10142 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10143 for ncn_progname in c++ g++ cxx gxx; do
10144 if test -n "$ncn_target_tool_prefix"; then
10145 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10148 $as_echo_n "checking
for $ac_word...
" >&6; }
10149 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10150 $as_echo_n "(cached
) " >&6
10152 if test -n "$CXX_FOR_TARGET"; then
10153 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10156 for as_dir in $PATH
10159 test -z "$as_dir" && as_dir=.
10160 for ac_exec_ext in '' $ac_executable_extensions; do
10161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10162 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10172 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10173 if test -n "$CXX_FOR_TARGET"; then
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10175 $as_echo "$CXX_FOR_TARGET" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10178 $as_echo "no
" >&6; }
10183 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10185 set dummy ${ncn_progname}; ac_word=$2
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10187 $as_echo_n "checking
for $ac_word...
" >&6; }
10188 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10189 $as_echo_n "(cached
) " >&6
10191 if test -n "$CXX_FOR_TARGET"; then
10192 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10195 for as_dir in $PATH
10198 test -z "$as_dir" && as_dir=.
10199 for ac_exec_ext in '' $ac_executable_extensions; do
10200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10201 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10211 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10212 if test -n "$CXX_FOR_TARGET"; then
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10214 $as_echo "$CXX_FOR_TARGET" >&6; }
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10217 $as_echo "no
" >&6; }
10222 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10226 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10227 set dummy c++ g++ cxx gxx
10228 if test $build = $target ; then
10229 CXX_FOR_TARGET="$2"
10231 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10234 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10239 if test -n "$GCC_FOR_TARGET"; then
10240 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10241 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10242 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10245 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10246 for ncn_progname in gcc; do
10247 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10248 set dummy ${ncn_progname}; ac_word=$2
10249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10250 $as_echo_n "checking
for $ac_word...
" >&6; }
10251 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10252 $as_echo_n "(cached
) " >&6
10254 if test -n "$GCC_FOR_TARGET"; then
10255 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10258 for as_dir in $PATH
10261 test -z "$as_dir" && as_dir=.
10262 for ac_exec_ext in '' $ac_executable_extensions; do
10263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10264 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10274 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10275 if test -n "$GCC_FOR_TARGET"; then
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10277 $as_echo "$GCC_FOR_TARGET" >&6; }
10279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10280 $as_echo "no
" >&6; }
10287 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10288 for ncn_progname in gcc; do
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10290 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10291 if test -x $with_build_time_tools/${ncn_progname}; then
10292 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10294 $as_echo "yes" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10298 $as_echo "no
" >&6; }
10303 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10304 for ncn_progname in gcc; do
10305 if test -n "$ncn_target_tool_prefix"; then
10306 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10307 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10309 $as_echo_n "checking
for $ac_word...
" >&6; }
10310 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10311 $as_echo_n "(cached
) " >&6
10313 if test -n "$GCC_FOR_TARGET"; then
10314 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10317 for as_dir in $PATH
10320 test -z "$as_dir" && as_dir=.
10321 for ac_exec_ext in '' $ac_executable_extensions; do
10322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10323 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10333 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10334 if test -n "$GCC_FOR_TARGET"; then
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10336 $as_echo "$GCC_FOR_TARGET" >&6; }
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10339 $as_echo "no
" >&6; }
10344 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10345 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10346 set dummy ${ncn_progname}; ac_word=$2
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10348 $as_echo_n "checking
for $ac_word...
" >&6; }
10349 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10350 $as_echo_n "(cached
) " >&6
10352 if test -n "$GCC_FOR_TARGET"; then
10353 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10356 for as_dir in $PATH
10359 test -z "$as_dir" && as_dir=.
10360 for ac_exec_ext in '' $ac_executable_extensions; do
10361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10362 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10372 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10373 if test -n "$GCC_FOR_TARGET"; then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10375 $as_echo "$GCC_FOR_TARGET" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10378 $as_echo "no
" >&6; }
10383 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10387 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10388 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10390 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10395 if test -n "$GCJ_FOR_TARGET"; then
10396 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10397 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10398 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10401 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10402 for ncn_progname in gcj; do
10403 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10404 set dummy ${ncn_progname}; ac_word=$2
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10406 $as_echo_n "checking
for $ac_word...
" >&6; }
10407 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10408 $as_echo_n "(cached
) " >&6
10410 if test -n "$GCJ_FOR_TARGET"; then
10411 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10414 for as_dir in $PATH
10417 test -z "$as_dir" && as_dir=.
10418 for ac_exec_ext in '' $ac_executable_extensions; do
10419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10420 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10430 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10431 if test -n "$GCJ_FOR_TARGET"; then
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10433 $as_echo "$GCJ_FOR_TARGET" >&6; }
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10436 $as_echo "no
" >&6; }
10443 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10444 for ncn_progname in gcj; do
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10446 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10447 if test -x $with_build_time_tools/${ncn_progname}; then
10448 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10450 $as_echo "yes" >&6; }
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10454 $as_echo "no
" >&6; }
10459 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10460 for ncn_progname in gcj; do
10461 if test -n "$ncn_target_tool_prefix"; then
10462 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10463 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10465 $as_echo_n "checking
for $ac_word...
" >&6; }
10466 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10467 $as_echo_n "(cached
) " >&6
10469 if test -n "$GCJ_FOR_TARGET"; then
10470 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10473 for as_dir in $PATH
10476 test -z "$as_dir" && as_dir=.
10477 for ac_exec_ext in '' $ac_executable_extensions; do
10478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10479 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10489 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10490 if test -n "$GCJ_FOR_TARGET"; then
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10492 $as_echo "$GCJ_FOR_TARGET" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10495 $as_echo "no
" >&6; }
10500 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10502 set dummy ${ncn_progname}; ac_word=$2
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10504 $as_echo_n "checking
for $ac_word...
" >&6; }
10505 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10506 $as_echo_n "(cached
) " >&6
10508 if test -n "$GCJ_FOR_TARGET"; then
10509 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10512 for as_dir in $PATH
10515 test -z "$as_dir" && as_dir=.
10516 for ac_exec_ext in '' $ac_executable_extensions; do
10517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10518 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10528 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10529 if test -n "$GCJ_FOR_TARGET"; then
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10531 $as_echo "$GCJ_FOR_TARGET" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10534 $as_echo "no
" >&6; }
10539 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10543 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10545 if test $build = $target ; then
10546 GCJ_FOR_TARGET="$2"
10548 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10551 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10556 if test -n "$GFORTRAN_FOR_TARGET"; then
10557 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10558 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10559 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10562 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10563 for ncn_progname in gfortran; do
10564 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10565 set dummy ${ncn_progname}; ac_word=$2
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10567 $as_echo_n "checking
for $ac_word...
" >&6; }
10568 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10569 $as_echo_n "(cached
) " >&6
10571 if test -n "$GFORTRAN_FOR_TARGET"; then
10572 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10582 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10591 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10592 if test -n "$GFORTRAN_FOR_TARGET"; then
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10594 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10597 $as_echo "no
" >&6; }
10604 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10605 for ncn_progname in gfortran; do
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10607 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10608 if test -x $with_build_time_tools/${ncn_progname}; then
10609 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10611 $as_echo "yes" >&6; }
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10615 $as_echo "no
" >&6; }
10620 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10621 for ncn_progname in gfortran; do
10622 if test -n "$ncn_target_tool_prefix"; then
10623 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10624 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10626 $as_echo_n "checking
for $ac_word...
" >&6; }
10627 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10628 $as_echo_n "(cached
) " >&6
10630 if test -n "$GFORTRAN_FOR_TARGET"; then
10631 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10634 for as_dir in $PATH
10637 test -z "$as_dir" && as_dir=.
10638 for ac_exec_ext in '' $ac_executable_extensions; do
10639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10640 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10650 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10651 if test -n "$GFORTRAN_FOR_TARGET"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10653 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10656 $as_echo "no
" >&6; }
10661 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10663 set dummy ${ncn_progname}; ac_word=$2
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10665 $as_echo_n "checking
for $ac_word...
" >&6; }
10666 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10667 $as_echo_n "(cached
) " >&6
10669 if test -n "$GFORTRAN_FOR_TARGET"; then
10670 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10673 for as_dir in $PATH
10676 test -z "$as_dir" && as_dir=.
10677 for ac_exec_ext in '' $ac_executable_extensions; do
10678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10679 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10689 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10690 if test -n "$GFORTRAN_FOR_TARGET"; then
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10692 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10695 $as_echo "no
" >&6; }
10700 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10704 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10706 if test $build = $target ; then
10707 GFORTRAN_FOR_TARGET="$2"
10709 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10712 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10717 if test -n "$GOC_FOR_TARGET"; then
10718 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10719 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10720 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10723 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10724 for ncn_progname in gccgo; do
10725 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10726 set dummy ${ncn_progname}; ac_word=$2
10727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10728 $as_echo_n "checking
for $ac_word...
" >&6; }
10729 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10730 $as_echo_n "(cached
) " >&6
10732 if test -n "$GOC_FOR_TARGET"; then
10733 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10736 for as_dir in $PATH
10739 test -z "$as_dir" && as_dir=.
10740 for ac_exec_ext in '' $ac_executable_extensions; do
10741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10742 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10752 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10753 if test -n "$GOC_FOR_TARGET"; then
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10755 $as_echo "$GOC_FOR_TARGET" >&6; }
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10758 $as_echo "no
" >&6; }
10765 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10766 for ncn_progname in gccgo; do
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10768 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10769 if test -x $with_build_time_tools/${ncn_progname}; then
10770 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10772 $as_echo "yes" >&6; }
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10776 $as_echo "no
" >&6; }
10781 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10782 for ncn_progname in gccgo; do
10783 if test -n "$ncn_target_tool_prefix"; then
10784 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10785 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10787 $as_echo_n "checking
for $ac_word...
" >&6; }
10788 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10789 $as_echo_n "(cached
) " >&6
10791 if test -n "$GOC_FOR_TARGET"; then
10792 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in $PATH
10798 test -z "$as_dir" && as_dir=.
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10801 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10811 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10812 if test -n "$GOC_FOR_TARGET"; then
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10814 $as_echo "$GOC_FOR_TARGET" >&6; }
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10817 $as_echo "no
" >&6; }
10822 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10823 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10824 set dummy ${ncn_progname}; ac_word=$2
10825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10826 $as_echo_n "checking
for $ac_word...
" >&6; }
10827 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10828 $as_echo_n "(cached
) " >&6
10830 if test -n "$GOC_FOR_TARGET"; then
10831 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10834 for as_dir in $PATH
10837 test -z "$as_dir" && as_dir=.
10838 for ac_exec_ext in '' $ac_executable_extensions; do
10839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10840 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10841 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10850 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10851 if test -n "$GOC_FOR_TARGET"; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10853 $as_echo "$GOC_FOR_TARGET" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10861 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10865 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10867 if test $build = $target ; then
10868 GOC_FOR_TARGET="$2"
10870 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10873 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10878 if test -n "$GUPC_FOR_TARGET"; then
10879 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10880 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10881 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10884 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10885 for ncn_progname in gupc; do
10886 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10887 set dummy ${ncn_progname}; ac_word=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10889 $as_echo_n "checking
for $ac_word...
" >&6; }
10890 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10891 $as_echo_n "(cached
) " >&6
10893 if test -n "$GUPC_FOR_TARGET"; then
10894 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10897 for as_dir in $PATH
10900 test -z "$as_dir" && as_dir=.
10901 for ac_exec_ext in '' $ac_executable_extensions; do
10902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10903 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
10904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10913 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10914 if test -n "$GUPC_FOR_TARGET"; then
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10916 $as_echo "$GUPC_FOR_TARGET" >&6; }
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10919 $as_echo "no
" >&6; }
10926 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10927 for ncn_progname in gupc; do
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10929 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10930 if test -x $with_build_time_tools/${ncn_progname}; then
10931 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10933 $as_echo "yes" >&6; }
10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10937 $as_echo "no
" >&6; }
10942 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
10943 for ncn_progname in gupc; do
10944 if test -n "$ncn_target_tool_prefix"; then
10945 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10946 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10948 $as_echo_n "checking
for $ac_word...
" >&6; }
10949 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10950 $as_echo_n "(cached
) " >&6
10952 if test -n "$GUPC_FOR_TARGET"; then
10953 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10959 test -z "$as_dir" && as_dir=.
10960 for ac_exec_ext in '' $ac_executable_extensions; do
10961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10962 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10963 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10972 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10973 if test -n "$GUPC_FOR_TARGET"; then
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10975 $as_echo "$GUPC_FOR_TARGET" >&6; }
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10978 $as_echo "no
" >&6; }
10983 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
10984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10985 set dummy ${ncn_progname}; ac_word=$2
10986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10987 $as_echo_n "checking
for $ac_word...
" >&6; }
10988 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10989 $as_echo_n "(cached
) " >&6
10991 if test -n "$GUPC_FOR_TARGET"; then
10992 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10995 for as_dir in $PATH
10998 test -z "$as_dir" && as_dir=.
10999 for ac_exec_ext in '' $ac_executable_extensions; do
11000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11001 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11011 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11012 if test -n "$GUPC_FOR_TARGET"; then
11013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11014 $as_echo "$GUPC_FOR_TARGET" >&6; }
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11017 $as_echo "no
" >&6; }
11022 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
11026 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
11028 if test $build = $target ; then
11029 GUPC_FOR_TARGET="$2"
11031 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11034 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
11039 cat > conftest.c << \EOF
11044 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11045 have_gcc_for_target=yes
11047 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11048 have_gcc_for_target=no
11055 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11056 if test -n "$with_build_time_tools"; then
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11058 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11059 if test -x $with_build_time_tools/ar; then
11060 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11061 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11063 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11066 $as_echo "no
" >&6; }
11068 elif test $build != $host && test $have_gcc_for_target = yes; then
11069 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11070 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11071 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11074 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11075 # Extract the first word of "ar", so it can be a program name with args.
11076 set dummy ar; ac_word=$2
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11078 $as_echo_n "checking
for $ac_word...
" >&6; }
11079 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11080 $as_echo_n "(cached
) " >&6
11082 case $AR_FOR_TARGET in
11084 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11088 for as_dir in $gcc_cv_tool_dirs
11091 test -z "$as_dir" && as_dir=.
11092 for ac_exec_ext in '' $ac_executable_extensions; do
11093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11094 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11105 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11106 if test -n "$AR_FOR_TARGET"; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11108 $as_echo "$AR_FOR_TARGET" >&6; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11111 $as_echo "no
" >&6; }
11116 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11119 if test -n "$AR_FOR_TARGET"; then
11120 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11121 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11122 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11125 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11126 for ncn_progname in ar; do
11127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11128 set dummy ${ncn_progname}; ac_word=$2
11129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11130 $as_echo_n "checking
for $ac_word...
" >&6; }
11131 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11132 $as_echo_n "(cached
) " >&6
11134 if test -n "$AR_FOR_TARGET"; then
11135 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11138 for as_dir in $PATH
11141 test -z "$as_dir" && as_dir=.
11142 for ac_exec_ext in '' $ac_executable_extensions; do
11143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11144 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11154 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11155 if test -n "$AR_FOR_TARGET"; then
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11157 $as_echo "$AR_FOR_TARGET" >&6; }
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11160 $as_echo "no
" >&6; }
11167 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11168 for ncn_progname in ar; do
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11170 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11171 if test -x $with_build_time_tools/${ncn_progname}; then
11172 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11174 $as_echo "yes" >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11178 $as_echo "no
" >&6; }
11183 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11184 for ncn_progname in ar; do
11185 if test -n "$ncn_target_tool_prefix"; then
11186 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11187 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11189 $as_echo_n "checking
for $ac_word...
" >&6; }
11190 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11191 $as_echo_n "(cached
) " >&6
11193 if test -n "$AR_FOR_TARGET"; then
11194 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11197 for as_dir in $PATH
11200 test -z "$as_dir" && as_dir=.
11201 for ac_exec_ext in '' $ac_executable_extensions; do
11202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11203 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11213 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11214 if test -n "$AR_FOR_TARGET"; then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11216 $as_echo "$AR_FOR_TARGET" >&6; }
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11219 $as_echo "no
" >&6; }
11224 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11225 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11226 set dummy ${ncn_progname}; ac_word=$2
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11228 $as_echo_n "checking
for $ac_word...
" >&6; }
11229 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11230 $as_echo_n "(cached
) " >&6
11232 if test -n "$AR_FOR_TARGET"; then
11233 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11236 for as_dir in $PATH
11239 test -z "$as_dir" && as_dir=.
11240 for ac_exec_ext in '' $ac_executable_extensions; do
11241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11242 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11252 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11253 if test -n "$AR_FOR_TARGET"; then
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11255 $as_echo "$AR_FOR_TARGET" >&6; }
11257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11258 $as_echo "no
" >&6; }
11263 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11267 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11269 if test $build = $target ; then
11272 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11275 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11279 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11285 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11286 if test -n "$with_build_time_tools"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11288 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11289 if test -x $with_build_time_tools/as; then
11290 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11291 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11293 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11296 $as_echo "no
" >&6; }
11298 elif test $build != $host && test $have_gcc_for_target = yes; then
11299 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11300 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11301 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11304 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11305 # Extract the first word of "as
", so it can be a program name with args.
11306 set dummy as; ac_word=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11308 $as_echo_n "checking
for $ac_word...
" >&6; }
11309 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11310 $as_echo_n "(cached
) " >&6
11312 case $AS_FOR_TARGET in
11314 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11318 for as_dir in $gcc_cv_tool_dirs
11321 test -z "$as_dir" && as_dir=.
11322 for ac_exec_ext in '' $ac_executable_extensions; do
11323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11324 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11335 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11336 if test -n "$AS_FOR_TARGET"; then
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11338 $as_echo "$AS_FOR_TARGET" >&6; }
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11341 $as_echo "no
" >&6; }
11346 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11349 if test -n "$AS_FOR_TARGET"; then
11350 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11351 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11352 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11355 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11356 for ncn_progname in as; do
11357 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11358 set dummy ${ncn_progname}; ac_word=$2
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11360 $as_echo_n "checking
for $ac_word...
" >&6; }
11361 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11362 $as_echo_n "(cached
) " >&6
11364 if test -n "$AS_FOR_TARGET"; then
11365 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11368 for as_dir in $PATH
11371 test -z "$as_dir" && as_dir=.
11372 for ac_exec_ext in '' $ac_executable_extensions; do
11373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11374 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11375 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11384 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11385 if test -n "$AS_FOR_TARGET"; then
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11387 $as_echo "$AS_FOR_TARGET" >&6; }
11389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11390 $as_echo "no
" >&6; }
11397 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11398 for ncn_progname in as; do
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11400 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11401 if test -x $with_build_time_tools/${ncn_progname}; then
11402 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11404 $as_echo "yes" >&6; }
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11408 $as_echo "no
" >&6; }
11413 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11414 for ncn_progname in as; do
11415 if test -n "$ncn_target_tool_prefix"; then
11416 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11417 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11419 $as_echo_n "checking
for $ac_word...
" >&6; }
11420 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11421 $as_echo_n "(cached
) " >&6
11423 if test -n "$AS_FOR_TARGET"; then
11424 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11427 for as_dir in $PATH
11430 test -z "$as_dir" && as_dir=.
11431 for ac_exec_ext in '' $ac_executable_extensions; do
11432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11433 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11443 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11444 if test -n "$AS_FOR_TARGET"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11446 $as_echo "$AS_FOR_TARGET" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11449 $as_echo "no
" >&6; }
11454 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11456 set dummy ${ncn_progname}; ac_word=$2
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11458 $as_echo_n "checking
for $ac_word...
" >&6; }
11459 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11460 $as_echo_n "(cached
) " >&6
11462 if test -n "$AS_FOR_TARGET"; then
11463 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11466 for as_dir in $PATH
11469 test -z "$as_dir" && as_dir=.
11470 for ac_exec_ext in '' $ac_executable_extensions; do
11471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11472 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11482 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11483 if test -n "$AS_FOR_TARGET"; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11485 $as_echo "$AS_FOR_TARGET" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11488 $as_echo "no
" >&6; }
11493 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11497 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11499 if test $build = $target ; then
11502 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11505 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11509 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11515 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11516 if test -n "$with_build_time_tools"; then
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11518 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11519 if test -x $with_build_time_tools/dlltool; then
11520 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11521 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11523 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11526 $as_echo "no
" >&6; }
11528 elif test $build != $host && test $have_gcc_for_target = yes; then
11529 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11530 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11531 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11534 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11535 # Extract the first word of "dlltool
", so it can be a program name with args.
11536 set dummy dlltool; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11538 $as_echo_n "checking
for $ac_word...
" >&6; }
11539 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11540 $as_echo_n "(cached
) " >&6
11542 case $DLLTOOL_FOR_TARGET in
11544 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11548 for as_dir in $gcc_cv_tool_dirs
11551 test -z "$as_dir" && as_dir=.
11552 for ac_exec_ext in '' $ac_executable_extensions; do
11553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11554 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11565 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11566 if test -n "$DLLTOOL_FOR_TARGET"; then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11568 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11571 $as_echo "no
" >&6; }
11576 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11579 if test -n "$DLLTOOL_FOR_TARGET"; then
11580 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11581 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11582 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11585 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11586 for ncn_progname in dlltool; do
11587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11588 set dummy ${ncn_progname}; ac_word=$2
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11590 $as_echo_n "checking
for $ac_word...
" >&6; }
11591 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11592 $as_echo_n "(cached
) " >&6
11594 if test -n "$DLLTOOL_FOR_TARGET"; then
11595 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11598 for as_dir in $PATH
11601 test -z "$as_dir" && as_dir=.
11602 for ac_exec_ext in '' $ac_executable_extensions; do
11603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11604 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11614 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11615 if test -n "$DLLTOOL_FOR_TARGET"; then
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11617 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11620 $as_echo "no
" >&6; }
11627 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11628 for ncn_progname in dlltool; do
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11630 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11631 if test -x $with_build_time_tools/${ncn_progname}; then
11632 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11634 $as_echo "yes" >&6; }
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11638 $as_echo "no
" >&6; }
11643 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11644 for ncn_progname in dlltool; do
11645 if test -n "$ncn_target_tool_prefix"; then
11646 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11647 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11649 $as_echo_n "checking
for $ac_word...
" >&6; }
11650 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11651 $as_echo_n "(cached
) " >&6
11653 if test -n "$DLLTOOL_FOR_TARGET"; then
11654 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11657 for as_dir in $PATH
11660 test -z "$as_dir" && as_dir=.
11661 for ac_exec_ext in '' $ac_executable_extensions; do
11662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11663 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11664 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11673 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11674 if test -n "$DLLTOOL_FOR_TARGET"; then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11676 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11679 $as_echo "no
" >&6; }
11684 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11686 set dummy ${ncn_progname}; ac_word=$2
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11688 $as_echo_n "checking
for $ac_word...
" >&6; }
11689 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11690 $as_echo_n "(cached
) " >&6
11692 if test -n "$DLLTOOL_FOR_TARGET"; then
11693 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11696 for as_dir in $PATH
11699 test -z "$as_dir" && as_dir=.
11700 for ac_exec_ext in '' $ac_executable_extensions; do
11701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11702 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11712 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11713 if test -n "$DLLTOOL_FOR_TARGET"; then
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11715 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11718 $as_echo "no
" >&6; }
11723 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11727 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11729 if test $build = $target ; then
11730 DLLTOOL_FOR_TARGET="$2"
11732 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11735 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11739 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11745 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11746 if test -n "$with_build_time_tools"; then
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11748 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11749 if test -x $with_build_time_tools/ld; then
11750 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11751 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11753 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11756 $as_echo "no
" >&6; }
11758 elif test $build != $host && test $have_gcc_for_target = yes; then
11759 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11760 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11761 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11764 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11765 # Extract the first word of "ld
", so it can be a program name with args.
11766 set dummy ld; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11768 $as_echo_n "checking
for $ac_word...
" >&6; }
11769 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11770 $as_echo_n "(cached
) " >&6
11772 case $LD_FOR_TARGET in
11774 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11778 for as_dir in $gcc_cv_tool_dirs
11781 test -z "$as_dir" && as_dir=.
11782 for ac_exec_ext in '' $ac_executable_extensions; do
11783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11784 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11795 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11796 if test -n "$LD_FOR_TARGET"; then
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11798 $as_echo "$LD_FOR_TARGET" >&6; }
11800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11801 $as_echo "no
" >&6; }
11806 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11809 if test -n "$LD_FOR_TARGET"; then
11810 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11811 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11812 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11815 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11816 for ncn_progname in ld; do
11817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11818 set dummy ${ncn_progname}; ac_word=$2
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11820 $as_echo_n "checking
for $ac_word...
" >&6; }
11821 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11822 $as_echo_n "(cached
) " >&6
11824 if test -n "$LD_FOR_TARGET"; then
11825 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11828 for as_dir in $PATH
11831 test -z "$as_dir" && as_dir=.
11832 for ac_exec_ext in '' $ac_executable_extensions; do
11833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11834 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11844 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11845 if test -n "$LD_FOR_TARGET"; then
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11847 $as_echo "$LD_FOR_TARGET" >&6; }
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11850 $as_echo "no
" >&6; }
11857 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11858 for ncn_progname in ld; do
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11860 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11861 if test -x $with_build_time_tools/${ncn_progname}; then
11862 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11864 $as_echo "yes" >&6; }
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11868 $as_echo "no
" >&6; }
11873 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11874 for ncn_progname in ld; do
11875 if test -n "$ncn_target_tool_prefix"; then
11876 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11877 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11879 $as_echo_n "checking
for $ac_word...
" >&6; }
11880 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11881 $as_echo_n "(cached
) " >&6
11883 if test -n "$LD_FOR_TARGET"; then
11884 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11887 for as_dir in $PATH
11890 test -z "$as_dir" && as_dir=.
11891 for ac_exec_ext in '' $ac_executable_extensions; do
11892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11893 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11903 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11904 if test -n "$LD_FOR_TARGET"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11906 $as_echo "$LD_FOR_TARGET" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11909 $as_echo "no
" >&6; }
11914 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11916 set dummy ${ncn_progname}; ac_word=$2
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11918 $as_echo_n "checking
for $ac_word...
" >&6; }
11919 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11920 $as_echo_n "(cached
) " >&6
11922 if test -n "$LD_FOR_TARGET"; then
11923 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11926 for as_dir in $PATH
11929 test -z "$as_dir" && as_dir=.
11930 for ac_exec_ext in '' $ac_executable_extensions; do
11931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11932 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11942 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11943 if test -n "$LD_FOR_TARGET"; then
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11945 $as_echo "$LD_FOR_TARGET" >&6; }
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11948 $as_echo "no
" >&6; }
11953 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11957 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11959 if test $build = $target ; then
11962 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11965 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11969 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11975 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11976 if test -n "$with_build_time_tools"; then
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11978 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11979 if test -x $with_build_time_tools/lipo; then
11980 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11981 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11983 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11986 $as_echo "no
" >&6; }
11988 elif test $build != $host && test $have_gcc_for_target = yes; then
11989 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11990 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11991 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11994 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11995 # Extract the first word of "lipo
", so it can be a program name with args.
11996 set dummy lipo; ac_word=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11998 $as_echo_n "checking
for $ac_word...
" >&6; }
11999 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12000 $as_echo_n "(cached
) " >&6
12002 case $LIPO_FOR_TARGET in
12004 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12008 for as_dir in $gcc_cv_tool_dirs
12011 test -z "$as_dir" && as_dir=.
12012 for ac_exec_ext in '' $ac_executable_extensions; do
12013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12014 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12025 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12026 if test -n "$LIPO_FOR_TARGET"; then
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12028 $as_echo "$LIPO_FOR_TARGET" >&6; }
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12031 $as_echo "no
" >&6; }
12036 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12039 if test -n "$LIPO_FOR_TARGET"; then
12040 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12041 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12042 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12045 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12046 for ncn_progname in lipo; do
12047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12048 set dummy ${ncn_progname}; ac_word=$2
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12050 $as_echo_n "checking
for $ac_word...
" >&6; }
12051 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12052 $as_echo_n "(cached
) " >&6
12054 if test -n "$LIPO_FOR_TARGET"; then
12055 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12058 for as_dir in $PATH
12061 test -z "$as_dir" && as_dir=.
12062 for ac_exec_ext in '' $ac_executable_extensions; do
12063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12064 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12074 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12075 if test -n "$LIPO_FOR_TARGET"; then
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12077 $as_echo "$LIPO_FOR_TARGET" >&6; }
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12080 $as_echo "no
" >&6; }
12087 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12088 for ncn_progname in lipo; do
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12090 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12091 if test -x $with_build_time_tools/${ncn_progname}; then
12092 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12094 $as_echo "yes" >&6; }
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12098 $as_echo "no
" >&6; }
12103 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12104 for ncn_progname in lipo; do
12105 if test -n "$ncn_target_tool_prefix"; then
12106 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12107 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12109 $as_echo_n "checking
for $ac_word...
" >&6; }
12110 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12111 $as_echo_n "(cached
) " >&6
12113 if test -n "$LIPO_FOR_TARGET"; then
12114 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12123 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12133 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12134 if test -n "$LIPO_FOR_TARGET"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12136 $as_echo "$LIPO_FOR_TARGET" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12139 $as_echo "no
" >&6; }
12144 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12146 set dummy ${ncn_progname}; ac_word=$2
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12148 $as_echo_n "checking
for $ac_word...
" >&6; }
12149 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12150 $as_echo_n "(cached
) " >&6
12152 if test -n "$LIPO_FOR_TARGET"; then
12153 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12156 for as_dir in $PATH
12159 test -z "$as_dir" && as_dir=.
12160 for ac_exec_ext in '' $ac_executable_extensions; do
12161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12162 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12172 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12173 if test -n "$LIPO_FOR_TARGET"; then
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12175 $as_echo "$LIPO_FOR_TARGET" >&6; }
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12178 $as_echo "no
" >&6; }
12183 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12187 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12189 if test $build = $target ; then
12190 LIPO_FOR_TARGET="$2"
12192 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12195 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12199 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12205 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12206 if test -n "$with_build_time_tools"; then
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12208 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12209 if test -x $with_build_time_tools/nm; then
12210 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12211 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12213 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12216 $as_echo "no
" >&6; }
12218 elif test $build != $host && test $have_gcc_for_target = yes; then
12219 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12220 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12221 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12224 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12225 # Extract the first word of "nm
", so it can be a program name with args.
12226 set dummy nm; ac_word=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12228 $as_echo_n "checking
for $ac_word...
" >&6; }
12229 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12230 $as_echo_n "(cached
) " >&6
12232 case $NM_FOR_TARGET in
12234 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12238 for as_dir in $gcc_cv_tool_dirs
12241 test -z "$as_dir" && as_dir=.
12242 for ac_exec_ext in '' $ac_executable_extensions; do
12243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12244 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12255 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12256 if test -n "$NM_FOR_TARGET"; then
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12258 $as_echo "$NM_FOR_TARGET" >&6; }
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12261 $as_echo "no
" >&6; }
12266 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12269 if test -n "$NM_FOR_TARGET"; then
12270 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12271 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12272 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12275 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12276 for ncn_progname in nm; do
12277 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12278 set dummy ${ncn_progname}; ac_word=$2
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12280 $as_echo_n "checking
for $ac_word...
" >&6; }
12281 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12282 $as_echo_n "(cached
) " >&6
12284 if test -n "$NM_FOR_TARGET"; then
12285 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12294 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12295 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12304 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12305 if test -n "$NM_FOR_TARGET"; then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12307 $as_echo "$NM_FOR_TARGET" >&6; }
12309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12310 $as_echo "no
" >&6; }
12317 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12318 for ncn_progname in nm; do
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12320 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12321 if test -x $with_build_time_tools/${ncn_progname}; then
12322 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12324 $as_echo "yes" >&6; }
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12328 $as_echo "no
" >&6; }
12333 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12334 for ncn_progname in nm; do
12335 if test -n "$ncn_target_tool_prefix"; then
12336 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12337 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12339 $as_echo_n "checking
for $ac_word...
" >&6; }
12340 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12341 $as_echo_n "(cached
) " >&6
12343 if test -n "$NM_FOR_TARGET"; then
12344 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12347 for as_dir in $PATH
12350 test -z "$as_dir" && as_dir=.
12351 for ac_exec_ext in '' $ac_executable_extensions; do
12352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12353 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12363 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12364 if test -n "$NM_FOR_TARGET"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12366 $as_echo "$NM_FOR_TARGET" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12369 $as_echo "no
" >&6; }
12374 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12375 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12376 set dummy ${ncn_progname}; ac_word=$2
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12378 $as_echo_n "checking
for $ac_word...
" >&6; }
12379 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12380 $as_echo_n "(cached
) " >&6
12382 if test -n "$NM_FOR_TARGET"; then
12383 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12386 for as_dir in $PATH
12389 test -z "$as_dir" && as_dir=.
12390 for ac_exec_ext in '' $ac_executable_extensions; do
12391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12392 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12402 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12403 if test -n "$NM_FOR_TARGET"; then
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12405 $as_echo "$NM_FOR_TARGET" >&6; }
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12408 $as_echo "no
" >&6; }
12413 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12417 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12419 if test $build = $target ; then
12422 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12425 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12429 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12435 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12436 if test -n "$with_build_time_tools"; then
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12438 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12439 if test -x $with_build_time_tools/objcopy; then
12440 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12441 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12443 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12446 $as_echo "no
" >&6; }
12448 elif test $build != $host && test $have_gcc_for_target = yes; then
12449 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12450 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12451 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12454 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12455 # Extract the first word of "objcopy
", so it can be a program name with args.
12456 set dummy objcopy; ac_word=$2
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12458 $as_echo_n "checking
for $ac_word...
" >&6; }
12459 if test "${ac_cv_path_OBJCOPY_FOR_TARGET+set}" = set; then :
12460 $as_echo_n "(cached
) " >&6
12462 case $OBJCOPY_FOR_TARGET in
12464 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12468 for as_dir in $gcc_cv_tool_dirs
12471 test -z "$as_dir" && as_dir=.
12472 for ac_exec_ext in '' $ac_executable_extensions; do
12473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12474 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12485 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12486 if test -n "$OBJCOPY_FOR_TARGET"; then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12488 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12491 $as_echo "no
" >&6; }
12496 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12499 if test -n "$OBJCOPY_FOR_TARGET"; then
12500 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12501 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12502 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12505 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12506 for ncn_progname in objcopy; do
12507 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12508 set dummy ${ncn_progname}; ac_word=$2
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12510 $as_echo_n "checking
for $ac_word...
" >&6; }
12511 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12512 $as_echo_n "(cached
) " >&6
12514 if test -n "$OBJCOPY_FOR_TARGET"; then
12515 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12518 for as_dir in $PATH
12521 test -z "$as_dir" && as_dir=.
12522 for ac_exec_ext in '' $ac_executable_extensions; do
12523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12524 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12525 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12534 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12535 if test -n "$OBJCOPY_FOR_TARGET"; then
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12537 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12540 $as_echo "no
" >&6; }
12547 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12548 for ncn_progname in objcopy; do
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12550 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12551 if test -x $with_build_time_tools/${ncn_progname}; then
12552 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12554 $as_echo "yes" >&6; }
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12558 $as_echo "no
" >&6; }
12563 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12564 for ncn_progname in objcopy; do
12565 if test -n "$ncn_target_tool_prefix"; then
12566 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12567 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12569 $as_echo_n "checking
for $ac_word...
" >&6; }
12570 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12571 $as_echo_n "(cached
) " >&6
12573 if test -n "$OBJCOPY_FOR_TARGET"; then
12574 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12577 for as_dir in $PATH
12580 test -z "$as_dir" && as_dir=.
12581 for ac_exec_ext in '' $ac_executable_extensions; do
12582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12583 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12593 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12594 if test -n "$OBJCOPY_FOR_TARGET"; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12596 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12599 $as_echo "no
" >&6; }
12604 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12605 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12606 set dummy ${ncn_progname}; ac_word=$2
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12608 $as_echo_n "checking
for $ac_word...
" >&6; }
12609 if test "${ac_cv_prog_OBJCOPY_FOR_TARGET+set}" = set; then :
12610 $as_echo_n "(cached
) " >&6
12612 if test -n "$OBJCOPY_FOR_TARGET"; then
12613 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12616 for as_dir in $PATH
12619 test -z "$as_dir" && as_dir=.
12620 for ac_exec_ext in '' $ac_executable_extensions; do
12621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12622 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12632 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12633 if test -n "$OBJCOPY_FOR_TARGET"; then
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12635 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12638 $as_echo "no
" >&6; }
12643 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12647 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12649 if test $build = $target ; then
12650 OBJCOPY_FOR_TARGET="$2"
12652 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12655 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12659 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12665 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12666 if test -n "$with_build_time_tools"; then
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12668 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12669 if test -x $with_build_time_tools/objdump; then
12670 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12671 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12673 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12676 $as_echo "no
" >&6; }
12678 elif test $build != $host && test $have_gcc_for_target = yes; then
12679 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12680 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12681 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12684 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12685 # Extract the first word of "objdump
", so it can be a program name with args.
12686 set dummy objdump; ac_word=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12688 $as_echo_n "checking
for $ac_word...
" >&6; }
12689 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12690 $as_echo_n "(cached
) " >&6
12692 case $OBJDUMP_FOR_TARGET in
12694 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12698 for as_dir in $gcc_cv_tool_dirs
12701 test -z "$as_dir" && as_dir=.
12702 for ac_exec_ext in '' $ac_executable_extensions; do
12703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12704 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12715 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12716 if test -n "$OBJDUMP_FOR_TARGET"; then
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12718 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12721 $as_echo "no
" >&6; }
12726 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12729 if test -n "$OBJDUMP_FOR_TARGET"; then
12730 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12731 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12732 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12735 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12736 for ncn_progname in objdump; do
12737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12738 set dummy ${ncn_progname}; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12740 $as_echo_n "checking
for $ac_word...
" >&6; }
12741 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12742 $as_echo_n "(cached
) " >&6
12744 if test -n "$OBJDUMP_FOR_TARGET"; then
12745 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12748 for as_dir in $PATH
12751 test -z "$as_dir" && as_dir=.
12752 for ac_exec_ext in '' $ac_executable_extensions; do
12753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12754 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12764 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12765 if test -n "$OBJDUMP_FOR_TARGET"; then
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12767 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12770 $as_echo "no
" >&6; }
12777 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12778 for ncn_progname in objdump; do
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12780 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12781 if test -x $with_build_time_tools/${ncn_progname}; then
12782 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12784 $as_echo "yes" >&6; }
12787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12788 $as_echo "no
" >&6; }
12793 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12794 for ncn_progname in objdump; do
12795 if test -n "$ncn_target_tool_prefix"; then
12796 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12797 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12799 $as_echo_n "checking
for $ac_word...
" >&6; }
12800 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12801 $as_echo_n "(cached
) " >&6
12803 if test -n "$OBJDUMP_FOR_TARGET"; then
12804 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12807 for as_dir in $PATH
12810 test -z "$as_dir" && as_dir=.
12811 for ac_exec_ext in '' $ac_executable_extensions; do
12812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12813 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12823 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12824 if test -n "$OBJDUMP_FOR_TARGET"; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12826 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12829 $as_echo "no
" >&6; }
12834 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12836 set dummy ${ncn_progname}; ac_word=$2
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12838 $as_echo_n "checking
for $ac_word...
" >&6; }
12839 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12840 $as_echo_n "(cached
) " >&6
12842 if test -n "$OBJDUMP_FOR_TARGET"; then
12843 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12846 for as_dir in $PATH
12849 test -z "$as_dir" && as_dir=.
12850 for ac_exec_ext in '' $ac_executable_extensions; do
12851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12852 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12862 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12863 if test -n "$OBJDUMP_FOR_TARGET"; then
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12865 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12868 $as_echo "no
" >&6; }
12873 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12877 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12879 if test $build = $target ; then
12880 OBJDUMP_FOR_TARGET="$2"
12882 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12885 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12889 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12895 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12896 if test -n "$with_build_time_tools"; then
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12898 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12899 if test -x $with_build_time_tools/ranlib; then
12900 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12901 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12903 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12906 $as_echo "no
" >&6; }
12908 elif test $build != $host && test $have_gcc_for_target = yes; then
12909 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12910 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12911 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12914 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12915 # Extract the first word of "ranlib
", so it can be a program name with args.
12916 set dummy ranlib; ac_word=$2
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12918 $as_echo_n "checking
for $ac_word...
" >&6; }
12919 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12920 $as_echo_n "(cached
) " >&6
12922 case $RANLIB_FOR_TARGET in
12924 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12928 for as_dir in $gcc_cv_tool_dirs
12931 test -z "$as_dir" && as_dir=.
12932 for ac_exec_ext in '' $ac_executable_extensions; do
12933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12934 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12945 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12946 if test -n "$RANLIB_FOR_TARGET"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12948 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12951 $as_echo "no
" >&6; }
12956 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12959 if test -n "$RANLIB_FOR_TARGET"; then
12960 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12961 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12962 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12965 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12966 for ncn_progname in ranlib; do
12967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12968 set dummy ${ncn_progname}; ac_word=$2
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12970 $as_echo_n "checking
for $ac_word...
" >&6; }
12971 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12972 $as_echo_n "(cached
) " >&6
12974 if test -n "$RANLIB_FOR_TARGET"; then
12975 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12978 for as_dir in $PATH
12981 test -z "$as_dir" && as_dir=.
12982 for ac_exec_ext in '' $ac_executable_extensions; do
12983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12984 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12994 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12995 if test -n "$RANLIB_FOR_TARGET"; then
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12997 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13000 $as_echo "no
" >&6; }
13007 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
13008 for ncn_progname in ranlib; do
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13010 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13011 if test -x $with_build_time_tools/${ncn_progname}; then
13012 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13014 $as_echo "yes" >&6; }
13017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13018 $as_echo "no
" >&6; }
13023 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
13024 for ncn_progname in ranlib; do
13025 if test -n "$ncn_target_tool_prefix"; then
13026 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13027 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13029 $as_echo_n "checking
for $ac_word...
" >&6; }
13030 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13031 $as_echo_n "(cached
) " >&6
13033 if test -n "$RANLIB_FOR_TARGET"; then
13034 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13037 for as_dir in $PATH
13040 test -z "$as_dir" && as_dir=.
13041 for ac_exec_ext in '' $ac_executable_extensions; do
13042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13043 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13053 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13054 if test -n "$RANLIB_FOR_TARGET"; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13056 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13059 $as_echo "no
" >&6; }
13064 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
13065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13066 set dummy ${ncn_progname}; ac_word=$2
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13068 $as_echo_n "checking
for $ac_word...
" >&6; }
13069 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
13070 $as_echo_n "(cached
) " >&6
13072 if test -n "$RANLIB_FOR_TARGET"; then
13073 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
13075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13076 for as_dir in $PATH
13079 test -z "$as_dir" && as_dir=.
13080 for ac_exec_ext in '' $ac_executable_extensions; do
13081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13082 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
13083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13092 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
13093 if test -n "$RANLIB_FOR_TARGET"; then
13094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
13095 $as_echo "$RANLIB_FOR_TARGET" >&6; }
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13098 $as_echo "no
" >&6; }
13103 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
13107 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
13109 if test $build = $target ; then
13110 RANLIB_FOR_TARGET="$2"
13112 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13115 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13119 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13125 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13126 if test -n "$with_build_time_tools"; then
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13128 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13129 if test -x $with_build_time_tools/readelf; then
13130 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13131 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13133 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13136 $as_echo "no
" >&6; }
13138 elif test $build != $host && test $have_gcc_for_target = yes; then
13139 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13140 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13141 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13144 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13145 # Extract the first word of "readelf
", so it can be a program name with args.
13146 set dummy readelf; ac_word=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13148 $as_echo_n "checking
for $ac_word...
" >&6; }
13149 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13150 $as_echo_n "(cached
) " >&6
13152 case $READELF_FOR_TARGET in
13154 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13158 for as_dir in $gcc_cv_tool_dirs
13161 test -z "$as_dir" && as_dir=.
13162 for ac_exec_ext in '' $ac_executable_extensions; do
13163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13164 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13175 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13176 if test -n "$READELF_FOR_TARGET"; then
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13178 $as_echo "$READELF_FOR_TARGET" >&6; }
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13181 $as_echo "no
" >&6; }
13186 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13189 if test -n "$READELF_FOR_TARGET"; then
13190 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13191 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13192 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13195 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13196 for ncn_progname in readelf; do
13197 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13198 set dummy ${ncn_progname}; ac_word=$2
13199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13200 $as_echo_n "checking
for $ac_word...
" >&6; }
13201 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13202 $as_echo_n "(cached
) " >&6
13204 if test -n "$READELF_FOR_TARGET"; then
13205 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13208 for as_dir in $PATH
13211 test -z "$as_dir" && as_dir=.
13212 for ac_exec_ext in '' $ac_executable_extensions; do
13213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13214 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13224 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13225 if test -n "$READELF_FOR_TARGET"; then
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13227 $as_echo "$READELF_FOR_TARGET" >&6; }
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13230 $as_echo "no
" >&6; }
13237 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13238 for ncn_progname in readelf; do
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13240 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13241 if test -x $with_build_time_tools/${ncn_progname}; then
13242 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13244 $as_echo "yes" >&6; }
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13248 $as_echo "no
" >&6; }
13253 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13254 for ncn_progname in readelf; do
13255 if test -n "$ncn_target_tool_prefix"; then
13256 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13257 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13259 $as_echo_n "checking
for $ac_word...
" >&6; }
13260 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13261 $as_echo_n "(cached
) " >&6
13263 if test -n "$READELF_FOR_TARGET"; then
13264 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13267 for as_dir in $PATH
13270 test -z "$as_dir" && as_dir=.
13271 for ac_exec_ext in '' $ac_executable_extensions; do
13272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13273 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13283 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13284 if test -n "$READELF_FOR_TARGET"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13286 $as_echo "$READELF_FOR_TARGET" >&6; }
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13289 $as_echo "no
" >&6; }
13294 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13296 set dummy ${ncn_progname}; ac_word=$2
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13298 $as_echo_n "checking
for $ac_word...
" >&6; }
13299 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13300 $as_echo_n "(cached
) " >&6
13302 if test -n "$READELF_FOR_TARGET"; then
13303 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13306 for as_dir in $PATH
13309 test -z "$as_dir" && as_dir=.
13310 for ac_exec_ext in '' $ac_executable_extensions; do
13311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13312 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13322 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13323 if test -n "$READELF_FOR_TARGET"; then
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13325 $as_echo "$READELF_FOR_TARGET" >&6; }
13327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13328 $as_echo "no
" >&6; }
13333 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13337 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13339 if test $build = $target ; then
13340 READELF_FOR_TARGET="$2"
13342 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13345 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13349 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13355 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13356 if test -n "$with_build_time_tools"; then
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13358 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13359 if test -x $with_build_time_tools/strip; then
13360 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13361 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13363 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13366 $as_echo "no
" >&6; }
13368 elif test $build != $host && test $have_gcc_for_target = yes; then
13369 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13370 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13371 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13374 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13375 # Extract the first word of "strip
", so it can be a program name with args.
13376 set dummy strip; ac_word=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13378 $as_echo_n "checking
for $ac_word...
" >&6; }
13379 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13380 $as_echo_n "(cached
) " >&6
13382 case $STRIP_FOR_TARGET in
13384 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13388 for as_dir in $gcc_cv_tool_dirs
13391 test -z "$as_dir" && as_dir=.
13392 for ac_exec_ext in '' $ac_executable_extensions; do
13393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13394 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13405 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13406 if test -n "$STRIP_FOR_TARGET"; then
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13408 $as_echo "$STRIP_FOR_TARGET" >&6; }
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13411 $as_echo "no
" >&6; }
13416 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13419 if test -n "$STRIP_FOR_TARGET"; then
13420 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13421 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13422 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13425 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13426 for ncn_progname in strip; do
13427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13428 set dummy ${ncn_progname}; ac_word=$2
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13430 $as_echo_n "checking
for $ac_word...
" >&6; }
13431 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13432 $as_echo_n "(cached
) " >&6
13434 if test -n "$STRIP_FOR_TARGET"; then
13435 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13438 for as_dir in $PATH
13441 test -z "$as_dir" && as_dir=.
13442 for ac_exec_ext in '' $ac_executable_extensions; do
13443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13444 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13454 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13455 if test -n "$STRIP_FOR_TARGET"; then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13457 $as_echo "$STRIP_FOR_TARGET" >&6; }
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13460 $as_echo "no
" >&6; }
13467 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13468 for ncn_progname in strip; do
13469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13470 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13471 if test -x $with_build_time_tools/${ncn_progname}; then
13472 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13474 $as_echo "yes" >&6; }
13477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13478 $as_echo "no
" >&6; }
13483 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13484 for ncn_progname in strip; do
13485 if test -n "$ncn_target_tool_prefix"; then
13486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13489 $as_echo_n "checking
for $ac_word...
" >&6; }
13490 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13491 $as_echo_n "(cached
) " >&6
13493 if test -n "$STRIP_FOR_TARGET"; then
13494 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13497 for as_dir in $PATH
13500 test -z "$as_dir" && as_dir=.
13501 for ac_exec_ext in '' $ac_executable_extensions; do
13502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13503 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13513 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13514 if test -n "$STRIP_FOR_TARGET"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13516 $as_echo "$STRIP_FOR_TARGET" >&6; }
13518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13519 $as_echo "no
" >&6; }
13524 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13526 set dummy ${ncn_progname}; ac_word=$2
13527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13528 $as_echo_n "checking
for $ac_word...
" >&6; }
13529 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13530 $as_echo_n "(cached
) " >&6
13532 if test -n "$STRIP_FOR_TARGET"; then
13533 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13536 for as_dir in $PATH
13539 test -z "$as_dir" && as_dir=.
13540 for ac_exec_ext in '' $ac_executable_extensions; do
13541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13542 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13552 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13553 if test -n "$STRIP_FOR_TARGET"; then
13554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13555 $as_echo "$STRIP_FOR_TARGET" >&6; }
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13558 $as_echo "no
" >&6; }
13563 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13567 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13569 if test $build = $target ; then
13570 STRIP_FOR_TARGET="$2"
13572 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13575 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13579 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13585 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13586 if test -n "$with_build_time_tools"; then
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13588 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13589 if test -x $with_build_time_tools/windres; then
13590 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13591 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13593 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13596 $as_echo "no
" >&6; }
13598 elif test $build != $host && test $have_gcc_for_target = yes; then
13599 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13600 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13601 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13604 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13605 # Extract the first word of "windres
", so it can be a program name with args.
13606 set dummy windres; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13608 $as_echo_n "checking
for $ac_word...
" >&6; }
13609 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13610 $as_echo_n "(cached
) " >&6
13612 case $WINDRES_FOR_TARGET in
13614 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13618 for as_dir in $gcc_cv_tool_dirs
13621 test -z "$as_dir" && as_dir=.
13622 for ac_exec_ext in '' $ac_executable_extensions; do
13623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13624 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13635 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13636 if test -n "$WINDRES_FOR_TARGET"; then
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13638 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13641 $as_echo "no
" >&6; }
13646 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13649 if test -n "$WINDRES_FOR_TARGET"; then
13650 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13651 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13652 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13655 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13656 for ncn_progname in windres; do
13657 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13658 set dummy ${ncn_progname}; ac_word=$2
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13660 $as_echo_n "checking
for $ac_word...
" >&6; }
13661 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13662 $as_echo_n "(cached
) " >&6
13664 if test -n "$WINDRES_FOR_TARGET"; then
13665 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13668 for as_dir in $PATH
13671 test -z "$as_dir" && as_dir=.
13672 for ac_exec_ext in '' $ac_executable_extensions; do
13673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13674 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13675 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13684 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13685 if test -n "$WINDRES_FOR_TARGET"; then
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13687 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13690 $as_echo "no
" >&6; }
13697 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13698 for ncn_progname in windres; do
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13700 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13701 if test -x $with_build_time_tools/${ncn_progname}; then
13702 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13704 $as_echo "yes" >&6; }
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13708 $as_echo "no
" >&6; }
13713 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13714 for ncn_progname in windres; do
13715 if test -n "$ncn_target_tool_prefix"; then
13716 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13717 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13719 $as_echo_n "checking
for $ac_word...
" >&6; }
13720 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13721 $as_echo_n "(cached
) " >&6
13723 if test -n "$WINDRES_FOR_TARGET"; then
13724 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727 for as_dir in $PATH
13730 test -z "$as_dir" && as_dir=.
13731 for ac_exec_ext in '' $ac_executable_extensions; do
13732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13733 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13743 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13744 if test -n "$WINDRES_FOR_TARGET"; then
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13746 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13749 $as_echo "no
" >&6; }
13754 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13756 set dummy ${ncn_progname}; ac_word=$2
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13758 $as_echo_n "checking
for $ac_word...
" >&6; }
13759 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13760 $as_echo_n "(cached
) " >&6
13762 if test -n "$WINDRES_FOR_TARGET"; then
13763 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13766 for as_dir in $PATH
13769 test -z "$as_dir" && as_dir=.
13770 for ac_exec_ext in '' $ac_executable_extensions; do
13771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13772 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13782 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13783 if test -n "$WINDRES_FOR_TARGET"; then
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13785 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13788 $as_echo "no
" >&6; }
13793 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13797 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13799 if test $build = $target ; then
13800 WINDRES_FOR_TARGET="$2"
13802 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13805 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13809 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13815 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13816 if test -n "$with_build_time_tools"; then
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13818 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13819 if test -x $with_build_time_tools/windmc; then
13820 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13821 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13823 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13826 $as_echo "no
" >&6; }
13828 elif test $build != $host && test $have_gcc_for_target = yes; then
13829 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13830 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13831 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13834 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13835 # Extract the first word of "windmc
", so it can be a program name with args.
13836 set dummy windmc; ac_word=$2
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13838 $as_echo_n "checking
for $ac_word...
" >&6; }
13839 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13840 $as_echo_n "(cached
) " >&6
13842 case $WINDMC_FOR_TARGET in
13844 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13848 for as_dir in $gcc_cv_tool_dirs
13851 test -z "$as_dir" && as_dir=.
13852 for ac_exec_ext in '' $ac_executable_extensions; do
13853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13854 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13865 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13866 if test -n "$WINDMC_FOR_TARGET"; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13868 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13871 $as_echo "no
" >&6; }
13876 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13879 if test -n "$WINDMC_FOR_TARGET"; then
13880 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13881 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13882 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13885 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13886 for ncn_progname in windmc; do
13887 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13888 set dummy ${ncn_progname}; ac_word=$2
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13890 $as_echo_n "checking
for $ac_word...
" >&6; }
13891 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13892 $as_echo_n "(cached
) " >&6
13894 if test -n "$WINDMC_FOR_TARGET"; then
13895 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13898 for as_dir in $PATH
13901 test -z "$as_dir" && as_dir=.
13902 for ac_exec_ext in '' $ac_executable_extensions; do
13903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13904 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13905 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13914 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13915 if test -n "$WINDMC_FOR_TARGET"; then
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13917 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13920 $as_echo "no
" >&6; }
13927 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13928 for ncn_progname in windmc; do
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13930 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13931 if test -x $with_build_time_tools/${ncn_progname}; then
13932 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13934 $as_echo "yes" >&6; }
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13938 $as_echo "no
" >&6; }
13943 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13944 for ncn_progname in windmc; do
13945 if test -n "$ncn_target_tool_prefix"; then
13946 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13947 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13949 $as_echo_n "checking
for $ac_word...
" >&6; }
13950 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13951 $as_echo_n "(cached
) " >&6
13953 if test -n "$WINDMC_FOR_TARGET"; then
13954 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13957 for as_dir in $PATH
13960 test -z "$as_dir" && as_dir=.
13961 for ac_exec_ext in '' $ac_executable_extensions; do
13962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13963 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13973 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13974 if test -n "$WINDMC_FOR_TARGET"; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13976 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13979 $as_echo "no
" >&6; }
13984 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13986 set dummy ${ncn_progname}; ac_word=$2
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13988 $as_echo_n "checking
for $ac_word...
" >&6; }
13989 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13990 $as_echo_n "(cached
) " >&6
13992 if test -n "$WINDMC_FOR_TARGET"; then
13993 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13996 for as_dir in $PATH
13999 test -z "$as_dir" && as_dir=.
14000 for ac_exec_ext in '' $ac_executable_extensions; do
14001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14002 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
14003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
14012 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
14013 if test -n "$WINDMC_FOR_TARGET"; then
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
14015 $as_echo "$WINDMC_FOR_TARGET" >&6; }
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14018 $as_echo "no
" >&6; }
14023 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
14027 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
14029 if test $build = $target ; then
14030 WINDMC_FOR_TARGET="$2"
14032 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
14035 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
14039 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
14043 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
14046 $as_echo_n "checking where to
find the target
ar...
" >&6; }
14047 if test "x
${build}" != "x
${host}" ; then
14048 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14049 # We already found the complete path
14050 ac_dir=`dirname $AR_FOR_TARGET`
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14052 $as_echo "pre-installed
in $ac_dir" >&6; }
14054 # Canadian cross, just use what we found
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14056 $as_echo "pre-installed
" >&6; }
14060 case " ${configdirs} " in
14065 if test $ok = yes; then
14066 # An in-tree tool is available and we can use it
14067 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14069 $as_echo "just compiled
" >&6; }
14070 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
14071 # We already found the complete path
14072 ac_dir=`dirname $AR_FOR_TARGET`
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14074 $as_echo "pre-installed
in $ac_dir" >&6; }
14075 elif test "x
$target" = "x
$host"; then
14076 # We can use an host tool
14077 AR_FOR_TARGET='$(AR)'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14079 $as_echo "host tool
" >&6; }
14081 # We need a cross tool
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14083 $as_echo "pre-installed
" >&6; }
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
14088 $as_echo_n "checking where to
find the target as...
" >&6; }
14089 if test "x
${build}" != "x
${host}" ; then
14090 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14091 # We already found the complete path
14092 ac_dir=`dirname $AS_FOR_TARGET`
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14094 $as_echo "pre-installed
in $ac_dir" >&6; }
14096 # Canadian cross, just use what we found
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14098 $as_echo "pre-installed
" >&6; }
14102 case " ${configdirs} " in
14107 if test $ok = yes; then
14108 # An in-tree tool is available and we can use it
14109 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14111 $as_echo "just compiled
" >&6; }
14112 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14113 # We already found the complete path
14114 ac_dir=`dirname $AS_FOR_TARGET`
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14116 $as_echo "pre-installed
in $ac_dir" >&6; }
14117 elif test "x
$target" = "x
$host"; then
14118 # We can use an host tool
14119 AS_FOR_TARGET='$(AS)'
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14121 $as_echo "host tool
" >&6; }
14123 # We need a cross tool
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14125 $as_echo "pre-installed
" >&6; }
14129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14130 $as_echo_n "checking where to
find the target cc...
" >&6; }
14131 if test "x
${build}" != "x
${host}" ; then
14132 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14133 # We already found the complete path
14134 ac_dir=`dirname $CC_FOR_TARGET`
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14136 $as_echo "pre-installed
in $ac_dir" >&6; }
14138 # Canadian cross, just use what we found
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14140 $as_echo "pre-installed
" >&6; }
14144 case " ${configdirs} " in
14149 if test $ok = yes; then
14150 # An in-tree tool is available and we can use it
14151 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14153 $as_echo "just compiled
" >&6; }
14154 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14155 # We already found the complete path
14156 ac_dir=`dirname $CC_FOR_TARGET`
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14158 $as_echo "pre-installed
in $ac_dir" >&6; }
14159 elif test "x
$target" = "x
$host"; then
14160 # We can use an host tool
14161 CC_FOR_TARGET='$(CC)'
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14163 $as_echo "host tool
" >&6; }
14165 # We need a cross tool
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14167 $as_echo "pre-installed
" >&6; }
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14172 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14173 if test "x
${build}" != "x
${host}" ; then
14174 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14175 # We already found the complete path
14176 ac_dir=`dirname $CXX_FOR_TARGET`
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14178 $as_echo "pre-installed
in $ac_dir" >&6; }
14180 # Canadian cross, just use what we found
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14182 $as_echo "pre-installed
" >&6; }
14186 case " ${configdirs} " in
14190 case ,${enable_languages}, in
14194 if test $ok = yes; then
14195 # An in-tree tool is available and we can use it
14196 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'
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14198 $as_echo "just compiled
" >&6; }
14199 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $CXX_FOR_TARGET`
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14203 $as_echo "pre-installed
in $ac_dir" >&6; }
14204 elif test "x
$target" = "x
$host"; then
14205 # We can use an host tool
14206 CXX_FOR_TARGET='$(CXX)'
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14208 $as_echo "host tool
" >&6; }
14210 # We need a cross tool
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14212 $as_echo "pre-installed
" >&6; }
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14217 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14218 if test "x
${build}" != "x
${host}" ; then
14219 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14220 # We already found the complete path
14221 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14223 $as_echo "pre-installed
in $ac_dir" >&6; }
14225 # Canadian cross, just use what we found
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14227 $as_echo "pre-installed
" >&6; }
14231 case " ${configdirs} " in
14235 case ,${enable_languages}, in
14239 if test $ok = yes; then
14240 # An in-tree tool is available and we can use it
14241 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'
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14243 $as_echo "just compiled
" >&6; }
14244 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14245 # We already found the complete path
14246 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14248 $as_echo "pre-installed
in $ac_dir" >&6; }
14249 elif test "x
$target" = "x
$host"; then
14250 # We can use an host tool
14251 RAW_CXX_FOR_TARGET='$(CXX)'
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14253 $as_echo "host tool
" >&6; }
14255 # We need a cross tool
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14257 $as_echo "pre-installed
" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14262 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14263 if test "x
${build}" != "x
${host}" ; then
14264 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14265 # We already found the complete path
14266 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14268 $as_echo "pre-installed
in $ac_dir" >&6; }
14270 # Canadian cross, just use what we found
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14272 $as_echo "pre-installed
" >&6; }
14276 case " ${configdirs} " in
14281 if test $ok = yes; then
14282 # An in-tree tool is available and we can use it
14283 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14285 $as_echo "just compiled
" >&6; }
14286 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14287 # We already found the complete path
14288 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14290 $as_echo "pre-installed
in $ac_dir" >&6; }
14291 elif test "x
$target" = "x
$host"; then
14292 # We can use an host tool
14293 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14295 $as_echo "host tool
" >&6; }
14297 # We need a cross tool
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14299 $as_echo "pre-installed
" >&6; }
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14304 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14305 if test "x
${build}" != "x
${host}" ; then
14306 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14307 # We already found the complete path
14308 ac_dir=`dirname $GCC_FOR_TARGET`
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14310 $as_echo "pre-installed
in $ac_dir" >&6; }
14312 # Canadian cross, just use what we found
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14314 $as_echo "pre-installed
" >&6; }
14318 case " ${configdirs} " in
14323 if test $ok = yes; then
14324 # An in-tree tool is available and we can use it
14325 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14327 $as_echo "just compiled
" >&6; }
14328 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14329 # We already found the complete path
14330 ac_dir=`dirname $GCC_FOR_TARGET`
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14332 $as_echo "pre-installed
in $ac_dir" >&6; }
14333 elif test "x
$target" = "x
$host"; then
14334 # We can use an host tool
14335 GCC_FOR_TARGET='$()'
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14337 $as_echo "host tool
" >&6; }
14339 # We need a cross tool
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14341 $as_echo "pre-installed
" >&6; }
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14346 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14347 if test "x
${build}" != "x
${host}" ; then
14348 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14349 # We already found the complete path
14350 ac_dir=`dirname $GCJ_FOR_TARGET`
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14352 $as_echo "pre-installed
in $ac_dir" >&6; }
14354 # Canadian cross, just use what we found
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14356 $as_echo "pre-installed
" >&6; }
14360 case " ${configdirs} " in
14364 case ,${enable_languages}, in
14368 if test $ok = yes; then
14369 # An in-tree tool is available and we can use it
14370 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14372 $as_echo "just compiled
" >&6; }
14373 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14374 # We already found the complete path
14375 ac_dir=`dirname $GCJ_FOR_TARGET`
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14377 $as_echo "pre-installed
in $ac_dir" >&6; }
14378 elif test "x
$target" = "x
$host"; then
14379 # We can use an host tool
14380 GCJ_FOR_TARGET='$(GCJ)'
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14382 $as_echo "host tool
" >&6; }
14384 # We need a cross tool
14385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14386 $as_echo "pre-installed
" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14391 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14392 if test "x
${build}" != "x
${host}" ; then
14393 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14394 # We already found the complete path
14395 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14397 $as_echo "pre-installed
in $ac_dir" >&6; }
14399 # Canadian cross, just use what we found
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14401 $as_echo "pre-installed
" >&6; }
14405 case " ${configdirs} " in
14409 case ,${enable_languages}, in
14413 if test $ok = yes; then
14414 # An in-tree tool is available and we can use it
14415 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14417 $as_echo "just compiled
" >&6; }
14418 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14419 # We already found the complete path
14420 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14422 $as_echo "pre-installed
in $ac_dir" >&6; }
14423 elif test "x
$target" = "x
$host"; then
14424 # We can use an host tool
14425 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14427 $as_echo "host tool
" >&6; }
14429 # We need a cross tool
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14431 $as_echo "pre-installed
" >&6; }
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14436 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14437 if test "x
${build}" != "x
${host}" ; then
14438 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14439 # We already found the complete path
14440 ac_dir=`dirname $GOC_FOR_TARGET`
14441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14442 $as_echo "pre-installed
in $ac_dir" >&6; }
14444 # Canadian cross, just use what we found
14445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14446 $as_echo "pre-installed
" >&6; }
14450 case " ${configdirs} " in
14454 case ,${enable_languages}, in
14458 if test $ok = yes; then
14459 # An in-tree tool is available and we can use it
14460 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14462 $as_echo "just compiled
" >&6; }
14463 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14464 # We already found the complete path
14465 ac_dir=`dirname $GOC_FOR_TARGET`
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14467 $as_echo "pre-installed
in $ac_dir" >&6; }
14468 elif test "x
$target" = "x
$host"; then
14469 # We can use an host tool
14470 GOC_FOR_TARGET='$(GOC)'
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14472 $as_echo "host tool
" >&6; }
14474 # We need a cross tool
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14476 $as_echo "pre-installed
" >&6; }
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gupc
" >&5
14481 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14482 if test "x
${build}" != "x
${host}" ; then
14483 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14484 # We already found the complete path
14485 ac_dir=`dirname $GUPC_FOR_TARGET`
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14487 $as_echo "pre-installed
in $ac_dir" >&6; }
14489 # Canadian cross, just use what we found
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14491 $as_echo "pre-installed
" >&6; }
14495 case " ${configdirs} " in
14499 case ,${enable_languages}, in
14503 if test $ok = yes; then
14504 # An in-tree tool is available and we can use it
14505 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14507 $as_echo "just compiled
" >&6; }
14508 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14509 # We already found the complete path
14510 ac_dir=`dirname $GUPC_FOR_TARGET`
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14512 $as_echo "pre-installed
in $ac_dir" >&6; }
14513 elif test "x
$target" = "x
$host"; then
14514 # We can use an host tool
14515 GUPC_FOR_TARGET='$(GUPC)'
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14517 $as_echo "host tool
" >&6; }
14519 # We need a cross tool
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14521 $as_echo "pre-installed
" >&6; }
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14526 $as_echo_n "checking where to
find the target ld...
" >&6; }
14527 if test "x
${build}" != "x
${host}" ; then
14528 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14529 # We already found the complete path
14530 ac_dir=`dirname $LD_FOR_TARGET`
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14532 $as_echo "pre-installed
in $ac_dir" >&6; }
14534 # Canadian cross, just use what we found
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14536 $as_echo "pre-installed
" >&6; }
14540 case " ${configdirs} " in
14545 if test $ok = yes; then
14546 # An in-tree tool is available and we can use it
14547 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14549 $as_echo "just compiled
" >&6; }
14550 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14551 # We already found the complete path
14552 ac_dir=`dirname $LD_FOR_TARGET`
14553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14554 $as_echo "pre-installed
in $ac_dir" >&6; }
14555 elif test "x
$target" = "x
$host"; then
14556 # We can use an host tool
14557 LD_FOR_TARGET='$(LD)'
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14559 $as_echo "host tool
" >&6; }
14561 # We need a cross tool
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14563 $as_echo "pre-installed
" >&6; }
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14568 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14569 if test "x
${build}" != "x
${host}" ; then
14570 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14571 # We already found the complete path
14572 ac_dir=`dirname $LIPO_FOR_TARGET`
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14574 $as_echo "pre-installed
in $ac_dir" >&6; }
14576 # Canadian cross, just use what we found
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14578 $as_echo "pre-installed
" >&6; }
14581 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14582 # We already found the complete path
14583 ac_dir=`dirname $LIPO_FOR_TARGET`
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14585 $as_echo "pre-installed
in $ac_dir" >&6; }
14586 elif test "x
$target" = "x
$host"; then
14587 # We can use an host tool
14588 LIPO_FOR_TARGET='$(LIPO)'
14589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14590 $as_echo "host tool
" >&6; }
14592 # We need a cross tool
14593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14594 $as_echo "pre-installed
" >&6; }
14598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14599 $as_echo_n "checking where to
find the target nm...
" >&6; }
14600 if test "x
${build}" != "x
${host}" ; then
14601 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14602 # We already found the complete path
14603 ac_dir=`dirname $NM_FOR_TARGET`
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14605 $as_echo "pre-installed
in $ac_dir" >&6; }
14607 # Canadian cross, just use what we found
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14609 $as_echo "pre-installed
" >&6; }
14613 case " ${configdirs} " in
14618 if test $ok = yes; then
14619 # An in-tree tool is available and we can use it
14620 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14622 $as_echo "just compiled
" >&6; }
14623 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14624 # We already found the complete path
14625 ac_dir=`dirname $NM_FOR_TARGET`
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14627 $as_echo "pre-installed
in $ac_dir" >&6; }
14628 elif test "x
$target" = "x
$host"; then
14629 # We can use an host tool
14630 NM_FOR_TARGET='$(NM)'
14631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14632 $as_echo "host tool
" >&6; }
14634 # We need a cross tool
14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14636 $as_echo "pre-installed
" >&6; }
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14641 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14642 if test "x
${build}" != "x
${host}" ; then
14643 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14644 # We already found the complete path
14645 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14647 $as_echo "pre-installed
in $ac_dir" >&6; }
14649 # Canadian cross, just use what we found
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14651 $as_echo "pre-installed
" >&6; }
14655 case " ${configdirs} " in
14660 if test $ok = yes; then
14661 # An in-tree tool is available and we can use it
14662 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14664 $as_echo "just compiled
" >&6; }
14665 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14666 # We already found the complete path
14667 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14669 $as_echo "pre-installed
in $ac_dir" >&6; }
14670 elif test "x
$target" = "x
$host"; then
14671 # We can use an host tool
14672 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14674 $as_echo "host tool
" >&6; }
14676 # We need a cross tool
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14678 $as_echo "pre-installed
" >&6; }
14682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14683 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14684 if test "x
${build}" != "x
${host}" ; then
14685 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14686 # We already found the complete path
14687 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14689 $as_echo "pre-installed
in $ac_dir" >&6; }
14691 # Canadian cross, just use what we found
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14693 $as_echo "pre-installed
" >&6; }
14697 case " ${configdirs} " in
14702 if test $ok = yes; then
14703 # An in-tree tool is available and we can use it
14704 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14706 $as_echo "just compiled
" >&6; }
14707 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14708 # We already found the complete path
14709 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14711 $as_echo "pre-installed
in $ac_dir" >&6; }
14712 elif test "x
$target" = "x
$host"; then
14713 # We can use an host tool
14714 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14716 $as_echo "host tool
" >&6; }
14718 # We need a cross tool
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14720 $as_echo "pre-installed
" >&6; }
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14725 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14726 if test "x
${build}" != "x
${host}" ; then
14727 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14728 # We already found the complete path
14729 ac_dir=`dirname $RANLIB_FOR_TARGET`
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14731 $as_echo "pre-installed
in $ac_dir" >&6; }
14733 # Canadian cross, just use what we found
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14735 $as_echo "pre-installed
" >&6; }
14739 case " ${configdirs} " in
14744 if test $ok = yes; then
14745 # An in-tree tool is available and we can use it
14746 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14748 $as_echo "just compiled
" >&6; }
14749 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14750 # We already found the complete path
14751 ac_dir=`dirname $RANLIB_FOR_TARGET`
14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14753 $as_echo "pre-installed
in $ac_dir" >&6; }
14754 elif test "x
$target" = "x
$host"; then
14755 # We can use an host tool
14756 RANLIB_FOR_TARGET='$(RANLIB)'
14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14758 $as_echo "host tool
" >&6; }
14760 # We need a cross tool
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14762 $as_echo "pre-installed
" >&6; }
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14767 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14768 if test "x
${build}" != "x
${host}" ; then
14769 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14770 # We already found the complete path
14771 ac_dir=`dirname $READELF_FOR_TARGET`
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14773 $as_echo "pre-installed
in $ac_dir" >&6; }
14775 # Canadian cross, just use what we found
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14777 $as_echo "pre-installed
" >&6; }
14781 case " ${configdirs} " in
14786 if test $ok = yes; then
14787 # An in-tree tool is available and we can use it
14788 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14790 $as_echo "just compiled
" >&6; }
14791 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14792 # We already found the complete path
14793 ac_dir=`dirname $READELF_FOR_TARGET`
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14795 $as_echo "pre-installed
in $ac_dir" >&6; }
14796 elif test "x
$target" = "x
$host"; then
14797 # We can use an host tool
14798 READELF_FOR_TARGET='$(READELF)'
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14800 $as_echo "host tool
" >&6; }
14802 # We need a cross tool
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14804 $as_echo "pre-installed
" >&6; }
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14809 $as_echo_n "checking where to
find the target strip...
" >&6; }
14810 if test "x
${build}" != "x
${host}" ; then
14811 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14812 # We already found the complete path
14813 ac_dir=`dirname $STRIP_FOR_TARGET`
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14815 $as_echo "pre-installed
in $ac_dir" >&6; }
14817 # Canadian cross, just use what we found
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14819 $as_echo "pre-installed
" >&6; }
14823 case " ${configdirs} " in
14828 if test $ok = yes; then
14829 # An in-tree tool is available and we can use it
14830 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14832 $as_echo "just compiled
" >&6; }
14833 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14834 # We already found the complete path
14835 ac_dir=`dirname $STRIP_FOR_TARGET`
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14837 $as_echo "pre-installed
in $ac_dir" >&6; }
14838 elif test "x
$target" = "x
$host"; then
14839 # We can use an host tool
14840 STRIP_FOR_TARGET='$(STRIP)'
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14842 $as_echo "host tool
" >&6; }
14844 # We need a cross tool
14845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14846 $as_echo "pre-installed
" >&6; }
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14851 $as_echo_n "checking where to
find the target windres...
" >&6; }
14852 if test "x
${build}" != "x
${host}" ; then
14853 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14854 # We already found the complete path
14855 ac_dir=`dirname $WINDRES_FOR_TARGET`
14856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14857 $as_echo "pre-installed
in $ac_dir" >&6; }
14859 # Canadian cross, just use what we found
14860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14861 $as_echo "pre-installed
" >&6; }
14865 case " ${configdirs} " in
14870 if test $ok = yes; then
14871 # An in-tree tool is available and we can use it
14872 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14874 $as_echo "just compiled
" >&6; }
14875 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14876 # We already found the complete path
14877 ac_dir=`dirname $WINDRES_FOR_TARGET`
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14879 $as_echo "pre-installed
in $ac_dir" >&6; }
14880 elif test "x
$target" = "x
$host"; then
14881 # We can use an host tool
14882 WINDRES_FOR_TARGET='$(WINDRES)'
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14884 $as_echo "host tool
" >&6; }
14886 # We need a cross tool
14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14888 $as_echo "pre-installed
" >&6; }
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14893 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14894 if test "x
${build}" != "x
${host}" ; then
14895 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14896 # We already found the complete path
14897 ac_dir=`dirname $WINDMC_FOR_TARGET`
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14899 $as_echo "pre-installed
in $ac_dir" >&6; }
14901 # Canadian cross, just use what we found
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14903 $as_echo "pre-installed
" >&6; }
14907 case " ${configdirs} " in
14912 if test $ok = yes; then
14913 # An in-tree tool is available and we can use it
14914 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14916 $as_echo "just compiled
" >&6; }
14917 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14918 # We already found the complete path
14919 ac_dir=`dirname $WINDMC_FOR_TARGET`
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14921 $as_echo "pre-installed
in $ac_dir" >&6; }
14922 elif test "x
$target" = "x
$host"; then
14923 # We can use an host tool
14924 WINDMC_FOR_TARGET='$(WINDMC)'
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14926 $as_echo "host tool
" >&6; }
14928 # We need a cross tool
14929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14930 $as_echo "pre-installed
" >&6; }
14938 # Certain tools may need extra flags.
14939 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14940 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14941 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14943 # When building target libraries, except in a Canadian cross, we use
14944 # the same toolchain as the compiler we just built.
14945 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14946 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14947 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14948 if test $host = $build; then
14949 case " $configdirs " in
14951 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14952 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14953 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14963 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14964 # Check whether --enable-maintainer-mode was given.
14965 if test "${enable_maintainer_mode+set}" = set; then :
14966 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14968 USE_MAINTAINER_MODE=no
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14972 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14975 if test "$USE_MAINTAINER_MODE" = yes; then
14976 MAINTAINER_MODE_TRUE=
14977 MAINTAINER_MODE_FALSE='#'
14979 MAINTAINER_MODE_TRUE='#'
14980 MAINTAINER_MODE_FALSE=
14982 MAINT=$MAINTAINER_MODE_TRUE
14984 # ---------------------
14985 # GCC bootstrap support
14986 # ---------------------
14988 # Stage specific cflags for build.
14993 yes) stage1_cflags="-g -Wa,-J" ;;
14994 *) stage1_cflags="-g -J" ;;
15000 # Enable --enable-checking in stage1 of the compiler.
15001 # Check whether --enable-stage1-checking was given.
15002 if test "${enable_stage1_checking+set}" = set; then :
15003 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
15005 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
15006 stage1_checking=--enable-checking=yes,types
15008 stage1_checking=--enable-checking=$enable_checking,types
15014 # Enable -Werror in bootstrap stage2 and later.
15015 # Check whether --enable-werror was given.
15016 if test "${enable_werror+set}" = set; then :
15017 enableval=$enable_werror;
15019 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
15026 case ${enable_werror} in
15027 yes) stage2_werror_flag="--enable-werror-always" ;;
15028 *) stage2_werror_flag="" ;;
15032 # Enable --enable-host-shared.
15033 # Check whether --enable-host-shared was given.
15034 if test "${enable_host_shared+set}" = set; then :
15035 enableval=$enable_host_shared; host_shared=$enableval
15042 # Specify what files to not compare during bootstrap.
15044 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
15046 hppa*64*-*-hpux*) ;;
15047 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
15048 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
15052 ac_config_files="$ac_config_files Makefile
"
15054 cat >confcache <<\_ACEOF
15055 # This file is a shell script that caches the results of configure
15056 # tests run on this system so they can be shared between configure
15057 # scripts and configure runs, see configure's option --config-cache.
15058 # It is not useful on other systems. If it contains results you don't
15059 # want to keep, you may remove or edit it.
15061 # config.status only pays attention to the cache file if you give it
15062 # the --recheck option to rerun configure.
15064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15066 # following values.
15070 # The following way of writing the cache mishandles newlines in values,
15071 # but we know of no workaround that is simple, portable, and efficient.
15072 # So, we kill variables containing newlines.
15073 # Ultrix sh set writes to stderr and can't be redirected directly,
15074 # and sets the high bit in the cache file unless we assign to the vars.
15076 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15077 eval ac_val=\$$ac_var
15081 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
15082 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
15085 _ | IFS | as_nl) ;; #(
15086 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15087 *) { eval $ac_var=; unset $ac_var;} ;;
15093 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15094 *${as_nl}ac_space=\ *)
15095 # `set' does not quote correctly, so add quotes: double-quote
15096 # substitution turns \\\\ into \\, and sed turns \\ into \.
15099 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15102 # `set' quotes correctly as required by POSIX, so do not add quotes.
15103 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15112 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15114 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15116 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15117 if test -w "$cache_file"; then
15118 test "x
$cache_file" != "x
/dev
/null
" &&
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
15120 $as_echo "$as_me: updating cache
$cache_file" >&6;}
15121 cat confcache >$cache_file
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
15124 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15129 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
15130 # Let make expand exec_prefix.
15131 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
15133 # Transform confdefs.h into DEFS.
15134 # Protect against shell expansion while executing Makefile rules.
15135 # Protect against Makefile macro expansion.
15137 # If the first sed substitution is executed (which looks for macros that
15138 # take arguments), then branch to the quote section. Otherwise,
15139 # look for a macro that doesn't take arguments.
15149 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
15151 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15155 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15168 DEFS=`sed -n "$ac_script" confdefs.h`
15173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15174 # 1. Remove the extension, and $U if already installed.
15175 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15176 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15178 # will be set to the directory where LIBOBJS objects are built.
15179 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15180 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15182 LIBOBJS=$ac_libobjs
15184 LTLIBOBJS=$ac_ltlibobjs
15188 : ${CONFIG_STATUS=./config.status}
15190 ac_clean_files_save=$ac_clean_files
15191 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15193 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15195 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15197 # Generated by $as_me.
15198 # Run this file to recreate the current configuration.
15199 # Compiler output produced by configure, useful for debugging
15200 # configure, is in config.log if it exists.
15203 ac_cs_recheck=false
15206 SHELL=\${CONFIG_SHELL-$SHELL}
15209 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15210 ## -------------------- ##
15211 ## M4sh Initialization. ##
15212 ## -------------------- ##
15214 # Be more Bourne compatible
15215 DUALCASE=1; export DUALCASE # for MKS sh
15216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15219 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15220 # is contrary to our usage. Disable this feature.
15221 alias -g '${1+"$@"}'='"$@"'
15222 setopt NO_GLOB_SUBST
15224 case `(set -o) 2>/dev/null` in #(
15236 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15237 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15238 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15239 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15240 # Prefer a ksh shell builtin over an external printf program on Solaris,
15241 # but without wasting forks for bash or zsh.
15242 if test -z "$BASH_VERSION$ZSH_VERSION" \
15243 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15244 as_echo
='print -r --'
15245 as_echo_n
='print -rn --'
15246 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15247 as_echo
='printf %s\n'
15248 as_echo_n
='printf %s'
15250 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15251 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15252 as_echo_n
='/usr/ucb/echo -n'
15254 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15255 as_echo_n_body
='eval
15259 expr "X$arg" : "X\\(.*\\)$as_nl";
15260 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15262 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15264 export as_echo_n_body
15265 as_echo_n
='sh -c $as_echo_n_body as_echo'
15267 export as_echo_body
15268 as_echo
='sh -c $as_echo_body as_echo'
15271 # The user is always right.
15272 if test "${PATH_SEPARATOR+set}" != set; then
15274 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15275 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15282 # We need space, tab and new line, in precisely that order. Quoting is
15283 # there to prevent editors from complaining about space-tab.
15284 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15285 # splitting by setting IFS to empty value.)
15288 # Find who we are. Look in the path if we contain no directory separator.
15290 *[\\/]* ) as_myself
=$0 ;;
15291 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15292 for as_dir
in $PATH
15295 test -z "$as_dir" && as_dir
=.
15296 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15302 # We did not find ourselves, most probably we were run as `sh COMMAND'
15303 # in which case we are not to be found in the path.
15304 if test "x$as_myself" = x
; then
15307 if test ! -f "$as_myself"; then
15308 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15312 # Unset variables that we do not need and which cause bugs (e.g. in
15313 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15314 # suppresses any "Segmentation fault" message there. '((' could
15315 # trigger a bug in pdksh 5.2.14.
15316 for as_var
in BASH_ENV ENV MAIL MAILPATH
15317 do eval test x\
${$as_var+set} = xset \
15318 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15331 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15334 # as_fn_error ERROR [LINENO LOG_FD]
15335 # ---------------------------------
15336 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15337 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15338 # script with status $?, using 1 if that was 0.
15341 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15343 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15344 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15346 $as_echo "$as_me: error: $1" >&2
15347 as_fn_exit
$as_status
15351 # as_fn_set_status STATUS
15352 # -----------------------
15353 # Set $? to STATUS, without forking.
15354 as_fn_set_status
()
15357 } # as_fn_set_status
15359 # as_fn_exit STATUS
15360 # -----------------
15361 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15365 as_fn_set_status
$1
15371 # Portably unset VAR.
15374 { eval $1=; unset $1;}
15376 as_unset
=as_fn_unset
15377 # as_fn_append VAR VALUE
15378 # ----------------------
15379 # Append the text in VALUE to the end of the definition contained in VAR. Take
15380 # advantage of any shell optimizations that allow amortized linear growth over
15381 # repeated appends, instead of the typical quadratic growth present in naive
15383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15384 eval 'as_fn_append ()
15395 # as_fn_arith ARG...
15396 # ------------------
15397 # Perform arithmetic evaluation on the ARGs, and store the result in the
15398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15399 # must be portable across $(()) and expr.
15400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15401 eval 'as_fn_arith ()
15408 as_val
=`expr "$@" || test $? -eq 1`
15413 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15414 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15420 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15421 as_basename
=basename
15426 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15432 as_me
=`$as_basename -- "$0" ||
15433 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15434 X"$0" : 'X\(//\)$' \| \
15435 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15437 sed '/^.*\/\([^/][^/]*\)\/*$/{
15451 # Avoid depending upon Character Ranges.
15452 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15453 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15454 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15455 as_cr_digits
='0123456789'
15456 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15458 ECHO_C
= ECHO_N
= ECHO_T
=
15459 case `echo -n x` in #(((((
15461 case `echo 'xy\c'` in
15462 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15464 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15471 rm -f conf$$ conf$$.exe conf$$.
file
15472 if test -d conf$$.dir
; then
15473 rm -f conf$$.dir
/conf$$.
file
15476 mkdir conf$$.dir
2>/dev
/null
15478 if (echo >conf$$.
file) 2>/dev
/null
; then
15479 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15481 # ... but there are two gotchas:
15482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15484 # In both cases, we have to default to `cp -p'.
15485 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15487 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15495 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15496 rmdir conf$$.dir
2>/dev
/null
15501 # Create "$as_dir" as a directory, including parents if necessary.
15506 -*) as_dir
=.
/$as_dir;;
15508 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15512 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15513 *) as_qdir
=$as_dir;;
15515 as_dirs
="'$as_qdir' $as_dirs"
15516 as_dir
=`$as_dirname -- "$as_dir" ||
15517 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15518 X"$as_dir" : 'X\(//\)[^/]' \| \
15519 X"$as_dir" : 'X\(//\)$' \| \
15520 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15521 $as_echo X"$as_dir" |
15522 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15526 /^X\(\/\/\)[^/].*/{
15539 test -d "$as_dir" && break
15541 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15542 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15546 if mkdir
-p .
2>/dev
/null
; then
15547 as_mkdir_p
='mkdir -p "$as_dir"'
15549 test -d .
/-p && rmdir .
/-p
15553 if test -x / >/dev
/null
2>&1; then
15554 as_test_x
='test -x'
15556 if ls -dL / >/dev
/null
2>&1; then
15563 if test -d "$1"; then
15569 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15570 ???[sx]*):;;*)false;;esac;fi
15574 as_executable_p
=$as_test_x
15576 # Sed expression to map a string onto a valid CPP name.
15577 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15579 # Sed expression to map a string onto a valid variable name.
15580 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15584 ## ----------------------------------- ##
15585 ## Main body of $CONFIG_STATUS script. ##
15586 ## ----------------------------------- ##
15588 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15591 # Save the log message, to keep $0 and so on meaningful, and to
15592 # report actual input values of CONFIG_FILES etc. instead of their
15593 # values after options handling.
15595 This file was extended by $as_me, which was
15596 generated by GNU Autoconf 2.64. Invocation command line was
15598 CONFIG_FILES = $CONFIG_FILES
15599 CONFIG_HEADERS = $CONFIG_HEADERS
15600 CONFIG_LINKS = $CONFIG_LINKS
15601 CONFIG_COMMANDS = $CONFIG_COMMANDS
15604 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15609 case $ac_config_files in *"
15610 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15616 # Files that config.status was made for.
15617 config_files="$ac_config_files"
15621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15623 \`$as_me' instantiates files and other configuration actions
15624 from templates according to the current configuration. Unless the files
15625 and actions are specified as TAGs, all are instantiated by default.
15627 Usage: $0 [OPTION]... [TAG]...
15629 -h, --help print this help, then exit
15630 -V, --version print version number and configuration settings, then exit
15631 -q, --quiet, --silent
15632 do not print progress messages
15633 -d, --debug don't remove temporary files
15634 --recheck update $as_me by reconfiguring in the same conditions
15635 --file=FILE[:TEMPLATE]
15636 instantiate the configuration file FILE
15638 Configuration files:
15641 Report bugs to the package provider."
15644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15647 configured by $0, generated by GNU Autoconf 2.64,
15648 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15650 Copyright (C) 2009 Free Software Foundation, Inc.
15651 This config.status script is free software; the Free Software Foundation
15652 gives unlimited permission to copy, distribute and modify it."
15658 test -n "\$AWK" || AWK=awk
15661 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15662 # The default lists apply if the user does not specify any file.
15668 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15669 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15680 # Handling of the options.
15681 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15683 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15684 $as_echo "$ac_cs_version"; exit ;;
15685 --debug |
--debu |
--deb |
--de |
--d |
-d )
15687 --file |
--fil |
--fi |
--f )
15690 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15692 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15693 ac_need_defaults
=false
;;
15694 --he |
--h |
--help |
--hel |
-h )
15695 $as_echo "$ac_cs_usage"; exit ;;
15696 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15697 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15700 # This is an error.
15701 -*) as_fn_error
"unrecognized option: \`$1'
15702 Try \`$0 --help' for more information." ;;
15704 *) as_fn_append ac_config_targets
" $1"
15705 ac_need_defaults
=false
;;
15711 ac_configure_extra_args
=
15713 if $ac_cs_silent; then
15715 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15720 if \$ac_cs_recheck; then
15721 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15723 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15724 CONFIG_SHELL='$SHELL'
15725 export CONFIG_SHELL
15730 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15734 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15735 ## Running $as_me. ##
15741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15745 extrasub_build="$extrasub_build"
15746 extrasub_host="$extrasub_host"
15747 extrasub_target="$extrasub_target"
15751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15753 # Handling of arguments.
15754 for ac_config_target
in $ac_config_targets
15756 case $ac_config_target in
15757 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15759 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15764 # If the user did not use the arguments to specify the items to instantiate,
15765 # then the envvar interface is used. Set only those that are not.
15766 # We use the long form for the default assignment because of an extremely
15767 # bizarre bug on SunOS 4.1.3.
15768 if $ac_need_defaults; then
15769 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15772 # Have a temporary directory for convenience. Make it in the build tree
15773 # simply because there is no reason against having it here, and in addition,
15774 # creating and moving files from /tmp can sometimes cause problems.
15775 # Hook for its removal unless debugging.
15776 # Note that there is a small window in which the directory will not be cleaned:
15777 # after its creation but before its name has been assigned to `$tmp'.
15781 trap 'exit_status=$?
15782 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15784 trap 'as_fn_exit 1' 1 2 13 15
15786 # Create a (secure) tmp directory for tmp files.
15789 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15790 test -n "$tmp" && test -d "$tmp"
15793 tmp
=.
/conf$$
-$RANDOM
15794 (umask 077 && mkdir
"$tmp")
15795 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15797 # Set up the scripts for CONFIG_FILES section.
15798 # No need to generate them if there are no CONFIG_FILES.
15799 # This happens for instance with `./config.status config.h'.
15800 if test -n "$CONFIG_FILES"; then
15802 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15803 ac_cs_awk_getline
=:
15804 ac_cs_awk_pipe_init
=
15805 ac_cs_awk_read_file
='
15806 while ((getline aline < (F[key])) > 0)
15809 ac_cs_awk_pipe_fini
=
15811 ac_cs_awk_getline
=false
15812 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15813 ac_cs_awk_read_file
='
15815 print "cat " F[key] " &&"
15816 '$ac_cs_awk_pipe_init
15817 # The final `:' finishes the AND list.
15818 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15820 ac_cr
=`echo X | tr X '\015'`
15821 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15822 # But we know of no other shell where ac_cr would be empty at this
15823 # point, so we can use a bashism as a fallback.
15824 if test "x$ac_cr" = x
; then
15825 eval ac_cr
=\$
\'\\r
\'
15827 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15828 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15831 ac_cs_awk_cr
=$ac_cr
15834 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15837 # Create commands to substitute file output variables.
15839 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15840 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15841 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15844 } >conf$
$files.sh
&&
15845 . .
/conf$
$files.sh ||
15846 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15847 rm -f conf$
$files.sh
15850 echo "cat >conf$$subs.awk <<_ACEOF" &&
15851 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15853 } >conf$$subs.sh ||
15854 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15855 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15857 for ac_last_try in false false false false false :; do
15858 . ./conf$$subs.sh ||
15859 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15861 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15862 if test $ac_delim_n = $ac_delim_num; then
15864 elif $ac_last_try; then
15865 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15867 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15870 rm -f conf$$subs.sh
15872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15873 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15877 s/^/S["/; s
/!.
*/"]=/
15887 s/\(.\{148\}\).*/\1/
15889 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15894 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15901 s/\(.\{148\}\).*/\1/
15903 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15907 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15912 ' <conf$$subs.awk | sed '
15917 ' >>$CONFIG_STATUS || ac_write_fail=1
15918 rm -f conf$$subs.awk
15919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15921 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15922 for (key in S) S_is_set[key] = 1
15924 \$ac_cs_awk_pipe_init
15928 nfields = split(line, field, "@
")
15930 len = length(field[1])
15931 for (i = 2; i < nfields; i++) {
15933 keylen = length(key)
15934 if (S_is_set[key]) {
15936 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15937 len += length(value) + length(field[++i])
15942 if (nfields == 3 && !substed) {
15944 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15945 \$ac_cs_awk_read_file
15951 \$ac_cs_awk_pipe_fini
15954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15955 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15956 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15959 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15960 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15963 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15964 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15965 # trailing colons and then remove the whole line if VPATH becomes empty
15966 # (actually we leave an empty line to preserve line numbers).
15967 if test "x
$srcdir" = x.; then
15968 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15969 s/:*\$(srcdir):*/:/
15970 s/:*\${srcdir}:*/:/
15972 s/^\([^=]*=[ ]*\):*/\1/
15978 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15979 fi # test -n "$CONFIG_FILES"
15982 eval set X " :F
$CONFIG_FILES "
15987 :[FHLC]) ac_mode=$ac_tag; continue;;
15989 case $ac_mode$ac_tag in
15991 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15992 :[FH]-) ac_tag=-:-;;
15993 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16010 -) ac_f="$tmp/stdin";;
16011 *) # Look for the file first in the build tree, then in the source tree
16012 # (if the path is not absolute). The absolute path cannot be DOS-style,
16013 # because $ac_f cannot contain `:'.
16017 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16019 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16021 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
16022 as_fn_append ac_file_inputs " '$ac_f'"
16025 # Let's still pretend it is `configure' which instantiates (i.e., don't
16026 # use $as_me), people would be surprised to read:
16027 # /* config.h. Generated by config.status. */
16028 configure_input='Generated from '`
16029 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16031 if test x"$ac_file" != x-; then
16032 configure_input="$ac_file.
$configure_input"
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
16034 $as_echo "$as_me: creating
$ac_file" >&6;}
16036 # Neutralize special characters interpreted by sed in replacement strings.
16037 case $configure_input in #(
16038 *\&* | *\|* | *\\* )
16039 ac_sed_conf_input=`$as_echo "$configure_input" |
16040 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16041 *) ac_sed_conf_input=$configure_input;;
16045 *:-:* | *:-) cat >"$tmp/stdin
" \
16046 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
16051 ac_dir=`$as_dirname -- "$ac_file" ||
16052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16053 X"$ac_file" : 'X\(//\)[^/]' \| \
16054 X"$ac_file" : 'X\(//\)$' \| \
16055 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16056 $as_echo X"$ac_file" |
16057 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16061 /^X\(\/\/\)[^/].*/{
16074 as_dir="$ac_dir"; as_fn_mkdir_p
16078 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16080 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16081 # A "..
" for each directory in $ac_dir_suffix.
16082 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16083 case $ac_top_builddir_sub in
16084 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16085 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16088 ac_abs_top_builddir=$ac_pwd
16089 ac_abs_builddir=$ac_pwd$ac_dir_suffix
16090 # for backward compatibility:
16091 ac_top_builddir=$ac_top_build_prefix
16094 .) # We are building in place.
16096 ac_top_srcdir=$ac_top_builddir_sub
16097 ac_abs_top_srcdir=$ac_pwd ;;
16098 [\\/]* | ?:[\\/]* ) # Absolute name.
16099 ac_srcdir=$srcdir$ac_dir_suffix;
16100 ac_top_srcdir=$srcdir
16101 ac_abs_top_srcdir=$srcdir ;;
16102 *) # Relative name.
16103 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16104 ac_top_srcdir=$ac_top_build_prefix$srcdir
16105 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16107 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16117 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16118 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16123 # If the template does not know about datarootdir, expand it.
16124 # FIXME: This hack should be removed a few years after 2.60.
16125 ac_datarootdir_hack=; ac_datarootdir_seen=
16136 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
16137 *datarootdir*) ac_datarootdir_seen=yes;;
16138 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
16140 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
16142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16143 ac_datarootdir_hack='
16144 s&@datadir@&$datadir&g
16145 s&@docdir@&$docdir&g
16146 s&@infodir@&$infodir&g
16147 s&@localedir@&$localedir&g
16148 s&@mandir@&$mandir&g
16149 s&\\\${datarootdir}&$datarootdir&g' ;;
16153 # Neutralize VPATH when `$srcdir' = `.'.
16154 # Shell code in configure.ac might set extrasub.
16155 # FIXME: do we really want to maintain this feature?
16156 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16157 ac_sed_extra="$ac_vpsub
16160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16162 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16163 s|@configure_input@|
$ac_sed_conf_input|
;t t
16164 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16165 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16166 s
&@srcdir@
&$ac_srcdir&;t t
16167 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16168 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16169 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16170 s
&@builddir@
&$ac_builddir&;t t
16171 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16172 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16173 s
&@INSTALL@
&$ac_INSTALL&;t t
16174 $ac_datarootdir_hack
16176 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16177 if $ac_cs_awk_getline; then
16178 $AWK -f "$tmp/subs.
awk"
16180 $AWK -f "$tmp/subs.
awk" | $SHELL
16182 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16184 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16185 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16186 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16188 which seems to be undefined. Please make sure it is defined." >&5
16189 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16190 which seems to be undefined. Please make sure it is defined." >&2;}
16194 -) cat "$tmp/out" && rm -f "$tmp/out";;
16195 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16197 || as_fn_error "could not create $ac_file" "$LINENO" 5
16205 case $ac_file$ac_mode in
16206 "Makefile":F) sed "$extrasub_build" Makefile |
16207 sed "$extrasub_host" |
16208 sed "$extrasub_target" > mf$$
16209 mv -f mf$$ Makefile ;;
16217 ac_clean_files=$ac_clean_files_save
16219 test $ac_write_fail = 0 ||
16220 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16223 # configure is writing to config.log, and then calls config.status.
16224 # config.status does its own redirection, appending to config.log.
16225 # Unfortunately, on DOS this fails, as config.log is still kept open
16226 # by configure, so config.status won't be able to
write to it
; its
16227 # output is simply discarded. So we exec the FD to /dev/null,
16228 # effectively closing config.log, so it can be properly (re)opened and
16229 # appended to by config.status. When coming back to configure, we
16230 # need to make the FD available again.
16231 if test "$no_create" != yes; then
16233 ac_config_status_args
=
16234 test "$silent" = yes &&
16235 ac_config_status_args
="$ac_config_status_args --quiet"
16237 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16239 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16240 # would make configure fail if this is the last instruction.
16241 $ac_cs_success || as_fn_exit $?
16243 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16245 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}