2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
645 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
655 extra_isl_gmp_configure_flags
656 extra_mpc_mpfr_configure_flags
657 extra_mpc_gmp_configure_flags
658 extra_mpfr_configure_flags
674 EXTRA_CONFIGARGS_LIBJAVA
675 extra_liboffloadmic_configure_flags
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
749 enable_as_accelerator_for
750 enable_offload_targets
754 enable_libquadmath_support
759 enable_static_libjava
780 enable_isl_version_check
782 enable_linker_plugin_configure_flags
783 enable_linker_plugin_flags
784 enable_stage1_languages
787 with_debug_prefix_map
790 enable_serial_configure
791 with_build_time_tools
792 enable_maintainer_mode
793 enable_stage1_checking
797 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information."
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used." >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1371 as_fn_error
"path to source, $srcdir, contains spaces"
1374 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1376 for ac_var
in $ac_precious_vars; do
1377 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1379 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1390 \`configure' configures this package to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1453 --build=BUILD configure
for building on BUILD
[guessed
]
1454 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1455 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1459 if test -n "$ac_init_help"; then
1464 --disable-option-checking ignore unrecognized
--enable/--with options
1465 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1466 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1467 --enable-as-accelerator-for=ARG
1468 build as offload target compiler. Specify offload
1470 --enable-offload-targets=LIST
1471 enable offloading to devices from comma-separated
1472 LIST of TARGET
[=DIR
]. Use optional path to
find
1473 offload target compiler during the build
1474 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1475 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1476 --disable-libquadmath do not build libquadmath directory
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1479 --enable-libada build libada directory
1480 --enable-libssp build libssp directory
1481 --disable-libstdcxx do not build libstdc
++-v3 directory
1482 --enable-liboffloadmic=ARG
1483 build liboffloadmic
[ARG
={no
,host,target
}]
1484 --enable-static-libjava[=ARG
]
1485 build static libjava
[default
=no
]
1486 --enable-bootstrap enable bootstrapping
[yes if native build
]
1487 --disable-isl-version-check
1488 disable check
for ISL version
1489 --enable-lto enable link
time optimization support
1490 --enable-linker-plugin-configure-flags=FLAGS
1491 additional flags
for configuring linker plugins
1493 --enable-linker-plugin-flags=FLAGS
1494 additional flags
for configuring and building linker
1496 --enable-stage1-languages[=all
]
1497 choose additional languages to build during stage1.
1498 Mostly useful
for compiler development
1499 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1501 --enable-vtable-verify Enable vtable verification feature
1502 --enable-serial-[{host,target,build}-]configure
1503 force sequential configuration of sub-packages for
1504 the host, target or build machine, or all
1506 --enable-maintainer-mode
1507 enable make rules and dependencies not useful (and
1508 sometimes confusing) to the casual installer
1509 --enable-stage1-checking[=all]
1510 choose additional checking for stage1 of the
1512 --enable-werror enable -Werror in bootstrap stage2 and later
1513 --enable-host-shared build host code as shared libraries
1516 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1517 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1518 --with-build-libsubdir=DIR Directory where to find libraries for build system
1519 --with-mpc=PATH specify prefix directory for installed MPC package.
1520 Equivalent to --with-mpc-include=PATH/include plus
1521 --with-mpc-lib=PATH/lib
1522 --with-mpc-include=PATH specify directory for installed MPC include files
1523 --with-mpc-lib=PATH specify directory for the installed MPC library
1524 --with-mpfr-dir=PATH this option has been REMOVED
1525 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1526 Equivalent to --with-mpfr-include=PATH/include plus
1527 --with-mpfr-lib=PATH/lib
1528 --with-mpfr-include=PATH
1529 specify directory for installed MPFR include files
1530 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1531 --with-gmp-dir=PATH this option has been REMOVED
1532 --with-gmp=PATH specify prefix directory for the installed GMP
1533 package. Equivalent to
1534 --with-gmp-include=PATH/include plus
1535 --with-gmp-lib=PATH/lib
1536 --with-gmp-include=PATH specify directory for installed GMP include files
1537 --with-gmp-lib=PATH specify directory for the installed GMP library
1538 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1540 --with-stage1-libs=LIBS libraries for stage1
1541 --with-stage1-ldflags=FLAGS
1542 linker flags for stage1
1543 --with-boot-libs=LIBS libraries for stage2 and later
1544 --with-boot-ldflags=FLAGS
1545 linker flags for stage2 and later
1546 --with-isl=PATH Specify prefix directory for the installed ISL
1547 package. Equivalent to
1548 --with-isl-include=PATH/include plus
1549 --with-isl-lib=PATH/lib
1550 --with-isl-include=PATH Specify directory for installed ISL include files
1551 --with-isl-lib=PATH Specify the directory for the installed ISL library
1552 --with-build-sysroot=SYSROOT
1553 use sysroot as the system root during the build
1554 --with-debug-prefix-map='A
=B C
=D ...
'
1555 map A to B, C to D ... in debug information
1556 --with-build-config='NAME NAME2...
'
1557 use config/NAME.mk build configuration
1558 --with-build-time-tools=PATH
1559 use given path to find target tools during the build
1561 Some influential environment variables:
1562 CC C compiler command
1563 CFLAGS C compiler flags
1564 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1565 nonstandard directory <lib dir>
1566 LIBS libraries to pass to the linker, e.g. -l<library>
1567 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1568 you have headers in a nonstandard directory <include dir>
1569 CXX C++ compiler command
1570 CXXFLAGS C++ compiler flags
1572 additional configure arguments for build directories
1574 additional configure arguments for host directories
1576 additional configure arguments for target directories
1579 DLLTOOL DLLTOOL for the host
1581 LIPO LIPO for the host
1583 RANLIB RANLIB for the host
1584 STRIP STRIP for the host
1585 WINDRES WINDRES for the host
1586 WINDMC WINDMC for the host
1587 OBJCOPY OBJCOPY for the host
1588 OBJDUMP OBJDUMP for the host
1589 READELF READELF for the host
1599 GFORTRAN for the target
1607 DLLTOOL for the target
1615 OBJDUMP for the target
1617 RANLIB for the target
1619 READELF for the target
1621 STRIP for the target
1623 WINDRES for the target
1625 WINDMC for the target
1627 Use these variables to override the choices made by `configure' or to
help
1628 it to
find libraries and programs with nonstandard names
/locations.
1630 Report bugs to the package provider.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1644 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1646 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1651 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir
=$ac_pwd
1655 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir
=$ac_top_build_prefix
1660 .
) # We are building in place.
1662 ac_top_srcdir
=$ac_top_builddir_sub
1663 ac_abs_top_srcdir
=$ac_pwd ;;
1664 [\\/]* | ?
:[\\/]* ) # Absolute name.
1665 ac_srcdir
=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir
=$srcdir
1667 ac_abs_top_srcdir
=$srcdir ;;
1669 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1694 generated by GNU Autoconf
2.64
1696 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1697 This configure
script is free software
; the Free Software Foundation
1698 gives unlimited permission to copy
, distribute and modify it.
1703 ## ------------------------ ##
1704 ## Autoconf initialization. ##
1705 ## ------------------------ ##
1707 # ac_fn_c_try_compile LINENO
1708 # --------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_compile
()
1712 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1713 rm -f conftest.
$ac_objext
1714 if { { ac_try
="$ac_compile"
1716 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1717 *) ac_try_echo=$ac_try;;
1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err; then
1724 grep -v '^ *+' conftest.err >conftest.er1
1725 cat conftest.er1 >&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 } # ac_fn_c_try_compile
1745 # ac_fn_cxx_try_compile LINENO
1746 # ----------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile ()
1750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751 rm -f conftest.$ac_objext
1752 if { { ac_try="$ac_compile"
1754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1755 *) ac_try_echo
=$ac_try;;
1757 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err
; then
1762 grep -v '^ *+' conftest.err
>conftest.er1
1763 cat conftest.er1
>&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.
$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.
$ac_ext >&5
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1781 } # ac_fn_cxx_try_compile
1783 # ac_fn_cxx_try_link LINENO
1784 # -------------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1786 ac_fn_cxx_try_link
()
1788 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1789 rm -f conftest.
$ac_objext conftest
$ac_exeext
1790 if { { ac_try
="$ac_link"
1792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1793 *) ac_try_echo=$ac_try;;
1795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err; then
1800 grep -v '^ *+' conftest.err >conftest.er1
1801 cat conftest.er1 >&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_cxx_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1827 } # ac_fn_cxx_try_link
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1839 *) ac_try_echo
=$ac_try;;
1841 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1845 if test -s conftest.err
; then
1846 grep -v '^ *+' conftest.err
>conftest.er1
1847 cat conftest.er1
>&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest
$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest
$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1873 } # ac_fn_c_try_link
1874 cat >config.log
<<_ACEOF
1875 This file contains any messages produced by compilers while
1876 running configure, to aid debugging if configure makes a mistake.
1878 It was created by $as_me, which was
1879 generated by GNU Autoconf 2.64. Invocation command line was
1891 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1892 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1893 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1894 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1895 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1897 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1898 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1900 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1901 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1902 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1903 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1904 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1905 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1906 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir
=.
1915 $as_echo "PATH: $as_dir"
1931 # Keep a trace of the command line.
1932 # Strip out --no-create and --no-recursion so they do not pile up.
1933 # Strip out --silent because we don't want to record it for future runs.
1934 # Also quote any args containing shell meta-characters.
1935 # Make two passes to allow for proper duplicate-argument suppression.
1939 ac_must_keep_next
=false
1945 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1946 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1947 |
-silent |
--silent |
--silen |
--sile |
--sil)
1950 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1953 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1955 as_fn_append ac_configure_args1
" '$ac_arg'"
1956 if test $ac_must_keep_next = true
; then
1957 ac_must_keep_next
=false
# Got value, back to normal.
1960 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1961 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1962 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1963 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1964 case "$ac_configure_args0 " in
1965 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1968 -* ) ac_must_keep_next
=true
;;
1971 as_fn_append ac_configure_args
" '$ac_arg'"
1976 { ac_configure_args0
=; unset ac_configure_args0
;}
1977 { ac_configure_args1
=; unset ac_configure_args1
;}
1979 # When interrupted or exit'd, cleanup temporary files, and complete
1980 # config.log. We remove comments because anyway the quotes in there
1981 # would cause problems or look ugly.
1982 # WARNING: Use '\'' to represent an apostrophe within the trap.
1983 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1984 trap 'exit_status=$?
1985 # Save into config.log some information that might help in debugging.
1990 ## ---------------- ##
1991 ## Cache variables. ##
1992 ## ---------------- ##
1995 # The following way of writing the cache mishandles newlines in values,
1997 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1998 eval ac_val=\$$ac_var
2002 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2003 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2006 _ | IFS | as_nl) ;; #(
2007 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2008 *) { eval $ac_var=; unset $ac_var;} ;;
2013 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2014 *${as_nl}ac_space=\ *)
2016 "s/'\''/'\''\\\\'\'''\''/g;
2017 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2020 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028 ## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##
2033 for ac_var in $ac_subst_vars
2035 eval ac_val=\$$ac_var
2037 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2039 $as_echo "$ac_var='\''$ac_val'\''"
2043 if test -n "$ac_subst_files"; then
2045 ## ------------------- ##
2046 ## File substitutions. ##
2047 ## ------------------- ##
2050 for ac_var
in $ac_subst_files
2052 eval ac_val
=\$
$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2061 if test -s confdefs.h; then
2071 test "$ac_signal" != 0 &&
2072 $as_echo "$as_me: caught signal $ac_signal"
2073 $as_echo "$as_me: exit $exit_status"
2075 rm -f core *.core core.conftest.* &&
2076 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2079 for ac_signal
in 1 2 13 15; do
2080 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2084 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2085 rm -f -r conftest
* confdefs.h
2087 $as_echo "/* confdefs.h */" > confdefs.h
2089 # Predefined preprocessor variables.
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_NAME "$PACKAGE_NAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_STRING "$PACKAGE_STRING"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2111 cat >>confdefs.h
<<_ACEOF
2112 #define PACKAGE_URL "$PACKAGE_URL"
2116 # Let the site file select an alternate cache file if it wants to.
2117 # Prefer an explicitly selected file to automatically selected ones.
2120 if test -n "$CONFIG_SITE"; then
2121 ac_site_file1
=$CONFIG_SITE
2122 elif test "x$prefix" != xNONE
; then
2123 ac_site_file1
=$prefix/share
/config.site
2124 ac_site_file2
=$prefix/etc
/config.site
2126 ac_site_file1
=$ac_default_prefix/share
/config.site
2127 ac_site_file2
=$ac_default_prefix/etc
/config.site
2129 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2131 test "x$ac_site_file" = xNONE
&& continue
2132 if test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2140 if test -r "$cache_file"; then
2141 # Some versions of bash will fail to source /dev/null (special
2142 # files actually), so we avoid doing that.
2143 if test -f "$cache_file"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2145 $as_echo "$as_me: loading cache $cache_file" >&6;}
2147 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2148 *) .
"./$cache_file";;
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2153 $as_echo "$as_me: creating cache $cache_file" >&6;}
2157 # Check that the precious variables saved in the cache have kept the same
2159 ac_cache_corrupted
=false
2160 for ac_var
in $ac_precious_vars; do
2161 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2162 eval ac_new_set
=\
$ac_env_${ac_var}_set
2163 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2164 eval ac_new_val
=\
$ac_env_${ac_var}_value
2165 case $ac_old_set,$ac_new_set in
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2169 ac_cache_corrupted
=: ;;
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2173 ac_cache_corrupted
=: ;;
2176 if test "x$ac_old_val" != "x$ac_new_val"; then
2177 # differences in whitespace do not lead to failure.
2178 ac_old_val_w
=`echo x $ac_old_val`
2179 ac_new_val_w
=`echo x $ac_new_val`
2180 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2182 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2183 ac_cache_corrupted
=:
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2186 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2187 eval $ac_var=\
$ac_old_val
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2190 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2192 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2195 # Pass precious variables to config.status.
2196 if test "$ac_new_set" = set; then
2198 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2199 *) ac_arg
=$ac_var=$ac_new_val ;;
2201 case " $ac_configure_args " in
2202 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2203 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2207 if $ac_cache_corrupted; then
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2209 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2211 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2212 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2214 ## -------------------- ##
2215 ## Main body of script. ##
2216 ## -------------------- ##
2219 ac_cpp
='$CPP $CPPFLAGS'
2220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2233 # if PWD already has a value, it is probably wrong.
2234 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2236 # Export original configure arguments for use by sub-configures.
2237 # Quote arguments with shell meta charatcers.
2238 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2239 set -- "$progname" "$@"
2243 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2244 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2245 # if the argument is of the form -foo=baz, quote the baz part only
2246 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2249 # Add the quoted argument to the list.
2250 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2252 if test "$silent" = yes; then
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2255 # Remove the initial space we just introduced and, as these will be
2256 # expanded by make, quote '$'.
2257 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2260 # Find the build, host, and target systems.
2262 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2263 for ac_t
in install-sh
install.sh shtool
; do
2264 if test -f "$ac_dir/$ac_t"; then
2266 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2271 if test -z "$ac_aux_dir"; then
2272 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2275 # These three variables are undocumented and unsupported,
2276 # and are intended to be withdrawn in a future Autoconf release.
2277 # They can cause serious problems if a builder's source tree is in a directory
2278 # whose full name contains unusual characters.
2279 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2280 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2281 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2284 # Make sure we can run config.sub.
2285 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2286 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2289 $as_echo_n "checking build system type... " >&6; }
2290 if test "${ac_cv_build+set}" = set; then :
2291 $as_echo_n "(cached) " >&6
2293 ac_build_alias
=$build_alias
2294 test "x$ac_build_alias" = x
&&
2295 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2296 test "x$ac_build_alias" = x
&&
2297 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2298 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2299 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2303 $as_echo "$ac_cv_build" >&6; }
2304 case $ac_cv_build in
2306 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2309 ac_save_IFS
=$IFS; IFS
='-'
2315 # Remember, the first character of IFS is used to create $*,
2316 # except with old shells:
2319 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2322 case ${build_alias} in
2323 "") build_noncanonical
=${build} ;;
2324 *) build_noncanonical
=${build_alias} ;;
2329 case ${host_alias} in
2330 "") host_noncanonical
=${build_noncanonical} ;;
2331 *) host_noncanonical
=${host_alias} ;;
2336 case ${target_alias} in
2337 "") target_noncanonical
=${host_noncanonical} ;;
2338 *) target_noncanonical
=${target_alias} ;;
2344 test "$host_noncanonical" = "$target_noncanonical" &&
2345 test "$program_prefix$program_suffix$program_transform_name" = \
2347 program_transform_name
=s
,y
,y
,
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2350 $as_echo_n "checking host system type... " >&6; }
2351 if test "${ac_cv_host+set}" = set; then :
2352 $as_echo_n "(cached) " >&6
2354 if test "x$host_alias" = x
; then
2355 ac_cv_host
=$ac_cv_build
2357 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2358 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2363 $as_echo "$ac_cv_host" >&6; }
2366 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2369 ac_save_IFS
=$IFS; IFS
='-'
2375 # Remember, the first character of IFS is used to create $*,
2376 # except with old shells:
2379 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2383 $as_echo_n "checking target system type... " >&6; }
2384 if test "${ac_cv_target+set}" = set; then :
2385 $as_echo_n "(cached) " >&6
2387 if test "x$target_alias" = x
; then
2388 ac_cv_target
=$ac_cv_host
2390 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2391 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2396 $as_echo "$ac_cv_target" >&6; }
2397 case $ac_cv_target in
2399 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2401 target
=$ac_cv_target
2402 ac_save_IFS
=$IFS; IFS
='-'
2408 # Remember, the first character of IFS is used to create $*,
2409 # except with old shells:
2412 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2415 # The aliases save the names the user supplied, while $host etc.
2416 # will get canonicalized.
2417 test -n "$target_alias" &&
2418 test "$program_prefix$program_suffix$program_transform_name" = \
2420 program_prefix
=${target_alias}-
2422 test "$program_prefix" != NONE
&&
2423 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2424 # Use a double $ so make ignores it.
2425 test "$program_suffix" != NONE
&&
2426 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2427 # Double any \ or $.
2428 # By default was `s,x,x', remove it if useless.
2429 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2430 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2434 # Get 'install' or 'install-sh' and its variants.
2435 # Find a good install program. We prefer a C program (faster),
2436 # so one script is as good as another. But avoid the broken or
2437 # incompatible versions:
2438 # SysV /etc/install, /usr/sbin/install
2439 # SunOS /usr/etc/install
2440 # IRIX /sbin/install
2442 # AmigaOS /C/install, which installs bootblocks on floppy discs
2443 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2444 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2445 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2446 # OS/2's system install, which has a completely different semantic
2447 # ./install, which can be erroneously created by make from ./install.sh.
2448 # Reject install programs that cannot install multiple files.
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2450 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2451 if test -z "$INSTALL"; then
2452 if test "${ac_cv_path_install+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2459 test -z "$as_dir" && as_dir
=.
2460 # Account for people who put trailing slashes in PATH elements.
2461 case $as_dir/ in #((
2462 .
/ | .
// |
/[cC
]/* | \
2463 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2464 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2467 # OSF1 and SCO ODT 3.0 have their own names for install.
2468 # Don't use installbsd from OSF since it installs stuff as root
2470 for ac_prog
in ginstall scoinst
install; do
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2473 if test $ac_prog = install &&
2474 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2475 # AIX install. It has an incompatible calling convention.
2477 elif test $ac_prog = install &&
2478 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2479 # program-specific install script used by HP pwplus--don't use.
2482 rm -rf conftest.one conftest.two conftest.dir
2483 echo one
> conftest.one
2484 echo two
> conftest.two
2486 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2487 test -s conftest.one
&& test -s conftest.two
&&
2488 test -s conftest.dir
/conftest.one
&&
2489 test -s conftest.dir
/conftest.two
2491 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2504 rm -rf conftest.one conftest.two conftest.dir
2507 if test "${ac_cv_path_install+set}" = set; then
2508 INSTALL
=$ac_cv_path_install
2510 # As a last resort, use the slow shell script. Don't cache a
2511 # value for INSTALL within a source directory, because that will
2512 # break other packages using the cache if that directory is
2513 # removed, or if the value is a relative name.
2514 INSTALL
=$ac_install_sh
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2518 $as_echo "$INSTALL" >&6; }
2520 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2521 # It thinks the first close brace ends the variable substitution.
2522 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2524 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2526 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2529 $as_echo_n "checking whether ln works... " >&6; }
2530 if test "${acx_cv_prog_LN+set}" = set; then :
2531 $as_echo_n "(cached) " >&6
2533 rm -f conftestdata_t
2534 echo >conftestdata_f
2535 if ln conftestdata_f conftestdata_t
2>/dev
/null
2541 rm -f conftestdata_f conftestdata_t
2544 if test $acx_cv_prog_LN = no
; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2547 $as_echo "no, using $LN" >&6; }
2549 LN
="$acx_cv_prog_LN"
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2551 $as_echo "yes" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2555 $as_echo_n "checking whether ln -s works... " >&6; }
2557 if test "$LN_S" = "ln -s"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2559 $as_echo "yes" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2562 $as_echo "no, using $LN_S" >&6; }
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2566 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2567 if test "${ac_cv_path_SED+set}" = set; then :
2568 $as_echo_n "(cached) " >&6
2570 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2571 for ac_i
in 1 2 3 4 5 6 7; do
2572 ac_script
="$ac_script$as_nl$ac_script"
2574 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2575 { ac_script
=; unset ac_script
;}
2576 if test -z "$SED"; then
2577 ac_path_SED_found
=false
2578 # Loop through the user's path and test for each of PROGNAME-LIST
2579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2583 test -z "$as_dir" && as_dir
=.
2584 for ac_prog
in sed gsed
; do
2585 for ac_exec_ext
in '' $ac_executable_extensions; do
2586 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2587 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2588 # Check for GNU ac_path_SED and select it if it is found.
2589 # Check for GNU $ac_path_SED
2590 case `"$ac_path_SED" --version 2>&1` in
2592 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2595 $as_echo_n 0123456789 >"conftest.in"
2598 cat "conftest.in" "conftest.in" >"conftest.tmp"
2599 mv "conftest.tmp" "conftest.in"
2600 cp "conftest.in" "conftest.nl"
2601 $as_echo '' >> "conftest.nl"
2602 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2603 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2604 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2605 if test $ac_count -gt ${ac_path_SED_max-0}; then
2606 # Best one so far, save it but keep looking for a better one
2607 ac_cv_path_SED
="$ac_path_SED"
2608 ac_path_SED_max
=$ac_count
2610 # 10*(2^10) chars as input seems more than enough
2611 test $ac_count -gt 10 && break
2613 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2616 $ac_path_SED_found && break 3
2621 if test -z "$ac_cv_path_SED"; then
2622 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2630 $as_echo "$ac_cv_path_SED" >&6; }
2631 SED
="$ac_cv_path_SED"
2634 for ac_prog
in gawk mawk nawk
awk
2636 # Extract the first word of "$ac_prog", so it can be a program name with args.
2637 set dummy
$ac_prog; ac_word
=$2
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2639 $as_echo_n "checking for $ac_word... " >&6; }
2640 if test "${ac_cv_prog_AWK+set}" = set; then :
2641 $as_echo_n "(cached) " >&6
2643 if test -n "$AWK"; then
2644 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2650 test -z "$as_dir" && as_dir
=.
2651 for ac_exec_ext
in '' $ac_executable_extensions; do
2652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2653 ac_cv_prog_AWK
="$ac_prog"
2654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$AWK"; then
2665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2666 $as_echo "$AWK" >&6; }
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2673 test -n "$AWK" && break
2677 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2679 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2681 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2682 INSTALL
="${srcpwd}/install-sh -c"
2685 # Set srcdir to "." if that's what it is.
2686 # This is important for multilib support.
2688 if test "${pwd}" = "${srcpwd}" ; then
2696 ### To add a new directory to the tree, first choose whether it is a target
2697 ### or a host dependent tool. Then put it into the appropriate list
2698 ### (library or tools, host or target), doing a dependency sort.
2700 # Subdirs will be configured in the order listed in build_configdirs,
2701 # configdirs, or target_configdirs; see the serialization section below.
2703 # Dependency sorting is only needed when *configuration* must be done in
2704 # a particular order. In all cases a dependency should be specified in
2705 # the Makefile, whether or not it's implicitly specified here.
2707 # Double entries in build_configdirs, configdirs, or target_configdirs may
2708 # cause circular dependencies and break everything horribly.
2710 # these library is used by various programs built for the build
2713 build_libs
="build-libiberty build-libcpp"
2715 # these tools are built for the build environment
2716 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2718 # these libraries are used by various programs built for the host environment
2720 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2722 # these tools are built for the host environment
2723 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2724 # know that we are building the simulator.
2725 # binutils, gas and ld appear in that order because it makes sense to run
2726 # "make check" in that particular order.
2727 # If --enable-gold is used, "gold" may replace "ld".
2728 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1"
2730 # libgcj represents the runtime libraries only used by gcj.
2731 libgcj
="target-libffi \
2735 # these libraries are built for the target environment, and are built after
2736 # the host libraries and the host tools (which may be a cross compiler)
2737 # Note that libiberty is not a target library.
2738 target_libraries
="target-libgcc \
2739 target-libbacktrace \
2744 target-liboffloadmic \
2747 target-libstdc++-v3 \
2748 target-libsanitizer \
2751 target-libquadmath \
2752 target-libgfortran \
2759 # these tools are built using the target libraries, and are intended to
2760 # run only in the target environment
2762 # note: any program that *uses* libraries that are in the "target_libraries"
2763 # list belongs in this list.
2765 target_tools
="target-rda"
2767 ################################################################################
2769 ## All tools belong in one of the four categories, and are assigned above
2770 ## We assign ${configdirs} this way to remove all embedded newlines. This
2771 ## is important because configure will choke if they ever get through.
2772 ## ${configdirs} is directories we build using the host tools.
2773 ## ${target_configdirs} is directories we build using the target tools.
2774 configdirs
=`echo ${host_libs} ${host_tools}`
2775 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2776 build_configdirs
=`echo ${build_libs} ${build_tools}`
2780 ################################################################################
2782 srcname
="gnu development package"
2784 # This gets set non-empty for some net releases of packages.
2787 # Define is_cross_compiler to save on calls to 'test'.
2789 if test x
"${host}" = x
"${target}" ; then
2790 is_cross_compiler
=no
2792 is_cross_compiler
=yes
2795 # Find the build and target subdir names.
2797 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2798 # have matching libraries, they should use host libraries: Makefile.tpl
2799 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2800 # However, they still use the build modules, because the corresponding
2801 # host modules (e.g. bison) are only built for the host when bootstrap
2803 # - build_subdir is where we find build modules, and never changes.
2804 # - build_libsubdir is where we find build libraries, and can be overridden.
2806 # Prefix 'build-' so this never conflicts with target_subdir.
2807 build_subdir
="build-${build_noncanonical}"
2809 # Check whether --with-build-libsubdir was given.
2810 if test "${with_build_libsubdir+set}" = set; then :
2811 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2813 build_libsubdir
="$build_subdir"
2816 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2817 if ( test $srcdir = .
&& test -d gcc
) \
2818 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2819 host_subdir
="host-${host_noncanonical}"
2824 target_subdir
=${target_noncanonical}
2826 # Be sure to cover against remnants of an in-tree build.
2827 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2828 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2829 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2832 # Skipdirs are removed silently.
2834 # Noconfigdirs are removed loudly.
2838 # Make sure we don't let GNU ld be added if we didn't want it.
2839 if test x
$with_gnu_ld = xno
; then
2841 noconfigdirs
="$noconfigdirs ld gold"
2845 # Make sure we don't let GNU as be added if we didn't want it.
2846 if test x
$with_gnu_as = xno
; then
2848 noconfigdirs
="$noconfigdirs gas"
2852 # Make sure we don't let ZLIB be added if we didn't want it.
2853 if test x
$with_system_zlib = xyes
; then
2854 use_included_zlib
=no
2855 noconfigdirs
="$noconfigdirs zlib"
2858 # some tools are so dependent upon X11 that if we're not building with X,
2859 # it's not even worth trying to configure, much less build, that tool.
2862 yes |
"") ;; # the default value for this tree is that X11 is available
2864 skipdirs
="${skipdirs} tk itcl libgui"
2865 # We won't be able to build gdbtk without X.
2868 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2871 # Some are only suitable for cross toolchains.
2872 # Remove these if host=target.
2873 cross_only
="target-libgloss target-newlib target-opcodes"
2875 case $is_cross_compiler in
2876 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2879 # If both --with-headers and --with-libs are specified, default to
2881 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2882 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2883 if test x
"${with_newlib}" = x
; then
2888 # Recognize --with-newlib/--without-newlib.
2889 case ${with_newlib} in
2890 no
) skipdirs
="${skipdirs} target-newlib" ;;
2891 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2894 # Check whether --enable-as-accelerator-for was given.
2895 if test "${enable_as_accelerator_for+set}" = set; then :
2896 enableval
=$enable_as_accelerator_for; ENABLE_AS_ACCELERATOR_FOR
=$enableval
2898 ENABLE_AS_ACCELERATOR_FOR
=no
2902 # Check whether --enable-offload-targets was given.
2903 if test "${enable_offload_targets+set}" = set; then :
2904 enableval
=$enable_offload_targets;
2905 if test x
"$enable_offload_targets" = x
; then
2906 as_fn_error
"no offload targets specified" "$LINENO" 5
2910 enable_offload_targets
=
2914 # Handle --enable-gold, --enable-ld.
2915 # --disable-gold [--enable-ld]
2916 # Build only ld. Default option.
2917 # --enable-gold [--enable-ld]
2918 # Build both gold and ld. Install gold as "ld.gold", install ld
2919 # as "ld.bfd" and "ld".
2920 # --enable-gold=default [--enable-ld]
2921 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2922 # install ld as "ld.bfd".
2923 # --enable-gold[=default] --disable-ld
2924 # Build only gold, which is then installed as both "ld.gold" and "ld".
2925 # --enable-gold --enable-ld=default
2926 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2928 # In other words, ld is default
2929 # --enable-gold=default --enable-ld=default
2933 # Check whether --enable-gold was given.
2934 if test "${enable_gold+set}" = set; then :
2935 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2940 case "${ENABLE_GOLD}" in
2942 # Check for ELF target.
2945 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2946 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2947 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2948 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2950 *-*-linux*aout
* |
*-*-linux*oldld
*)
2958 if test "$is_elf" = "yes"; then
2959 # Check for target supported by gold.
2961 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2962 | aarch64
*-*-* | tilegx
*-*-*)
2963 configdirs
="$configdirs gold"
2964 if test x
${ENABLE_GOLD} = xdefault
; then
2975 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2979 # Check whether --enable-ld was given.
2980 if test "${enable_ld+set}" = set; then :
2981 enableval
=$enable_ld; ENABLE_LD
=$enableval
2987 case "${ENABLE_LD}" in
2989 if test x
${default_ld} != x
; then
2990 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2996 if test x
${ENABLE_GOLD} != xyes
; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2998 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3000 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3003 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3007 # Configure extra directories which are host specific
3011 configdirs
="$configdirs libtermcap" ;;
3014 # A target can indicate whether a language isn't supported for some reason.
3015 # Only spaces may be used in this macro; not newlines or tabs.
3016 unsupported_languages
=
3018 # Remove more programs from consideration, based on the host or
3019 # target this usually means that a port of the program doesn't
3023 i
[3456789]86-*-msdosdjgpp*)
3024 noconfigdirs
="$noconfigdirs tcl tk itcl"
3029 # Check whether --enable-libquadmath was given.
3030 if test "${enable_libquadmath+set}" = set; then :
3031 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3033 ENABLE_LIBQUADMATH
=yes
3036 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3037 noconfigdirs
="$noconfigdirs target-libquadmath"
3041 # Check whether --enable-libquadmath-support was given.
3042 if test "${enable_libquadmath_support+set}" = set; then :
3043 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3045 ENABLE_LIBQUADMATH_SUPPORT
=yes
3048 enable_libquadmath_support
=
3049 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3050 enable_libquadmath_support
=no
3054 # Check whether --enable-libada was given.
3055 if test "${enable_libada+set}" = set; then :
3056 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3061 if test "${ENABLE_LIBADA}" != "yes" ; then
3062 noconfigdirs
="$noconfigdirs gnattools"
3065 # Check whether --enable-libssp was given.
3066 if test "${enable_libssp+set}" = set; then :
3067 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3073 # Check whether --enable-libstdcxx was given.
3074 if test "${enable_libstdcxx+set}" = set; then :
3075 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3077 ENABLE_LIBSTDCXX
=default
3080 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3081 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3084 # If this is accelerator compiler and its target is intelmic we enable
3085 # target liboffloadmic by default. If this is compiler with offloading
3086 # for intelmic we enable host liboffloadmic by default. Otherwise
3087 # liboffloadmic is disabled by default.
3088 # Check whether --enable-liboffloadmic was given.
3089 if test "${enable_liboffloadmic+set}" = set; then :
3090 enableval
=$enable_liboffloadmic; case "$enableval" in
3092 enable_liboffloadmic
=$enableval ;;
3094 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3097 if test "${ENABLE_AS_ACCELERATOR_FOR}" != "no"; then
3099 *-intelmic-* |
*-intelmicemul-*)
3100 enable_liboffloadmic
=target
3101 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3104 enable_liboffloadmic
=no
3108 case "${enable_offload_targets}" in
3109 *-intelmic-* |
*-intelmicemul-*)
3110 enable_liboffloadmic
=host
3111 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3114 enable_liboffloadmic
=no
3122 # Save it here so that, even in case of --enable-libgcj, if the Java
3123 # front-end isn't enabled, we still get libgcj disabled.
3124 libgcj_saved
=$libgcj
3125 case $enable_libgcj in
3127 # If we reset it here, it won't get added to noconfigdirs in the
3128 # target-specific build rules, so it will be forcibly enabled
3129 # (unless the Java language itself isn't enabled).
3133 # Make sure we get it printed in the list of not supported target libs.
3134 # Don't disable libffi, though, other languages use it.
3135 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3136 # Clear libgcj_saved so that even if java is enabled libffi won't be
3142 # Check whether --enable-static-libjava was given.
3143 if test "${enable_static_libjava+set}" = set; then :
3144 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3146 ENABLE_STATIC_LIBJAVA
=no
3149 enable_static_libjava
=
3150 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3151 enable_static_libjava
=yes
3154 if test x
$enable_static_libjava != xyes
; then
3155 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3159 # Disable libgomp on non POSIX hosted systems.
3160 if test x
$enable_libgomp = x
; then
3161 # Enable libgomp by default on hosted POSIX systems.
3163 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3165 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3167 *-*-solaris2* |
*-*-hpux11*)
3169 *-*-darwin* |
*-*-aix*)
3172 noconfigdirs
="$noconfigdirs target-libgomp"
3177 # Disable libatomic on unsupported systems.
3178 if test -d ${srcdir}/libatomic
; then
3179 if test x
$enable_libatomic = x
; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3181 $as_echo_n "checking for libatomic support... " >&6; }
3182 if (srcdir
=${srcdir}/libatomic
; \
3183 .
${srcdir}/configure.tgt
; \
3184 test -n "$UNSUPPORTED")
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 noconfigdirs
="$noconfigdirs target-libatomic"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191 $as_echo "yes" >&6; }
3196 # Disable libcilkrts on unsupported systems.
3197 if test -d ${srcdir}/libcilkrts
; then
3198 if test x
$enable_libcilkrts = x
; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3200 $as_echo_n "checking for libcilkrts support... " >&6; }
3201 if (srcdir
=${srcdir}/libcilkrts
; \
3202 .
${srcdir}/configure.tgt
; \
3203 test -n "$UNSUPPORTED")
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 noconfigdirs
="$noconfigdirs target-libcilkrts"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210 $as_echo "yes" >&6; }
3215 # Disable liboffloadmic on unsupported systems.
3216 if test -d ${srcdir}/liboffloadmic
; then
3217 if test x
$enable_liboffloadmic != xno
; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3219 $as_echo_n "checking for liboffloadmic support... " >&6; }
3220 if (srcdir
=${srcdir}/liboffloadmic
; \
3221 .
${srcdir}/configure.tgt
; \
3222 test -n "$UNSUPPORTED")
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225 $as_echo "no" >&6; }
3226 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3229 $as_echo "yes" >&6; }
3234 # Disable libitm on unsupported systems.
3235 if test -d ${srcdir}/libitm
; then
3236 if test x
$enable_libitm = x
; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3238 $as_echo_n "checking for libitm support... " >&6; }
3239 if (srcdir
=${srcdir}/libitm
; \
3240 .
${srcdir}/configure.tgt
; \
3241 test -n "$UNSUPPORTED")
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3244 $as_echo "no" >&6; }
3245 noconfigdirs
="$noconfigdirs target-libitm"
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3248 $as_echo "yes" >&6; }
3253 # Disable libsanitizer on unsupported systems.
3254 if test -d ${srcdir}/libsanitizer
; then
3255 if test x
$enable_libsanitizer = x
; then
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3257 $as_echo_n "checking for libsanitizer support... " >&6; }
3258 if (srcdir
=${srcdir}/libsanitizer
; \
3259 .
${srcdir}/configure.tgt
; \
3260 test -n "$UNSUPPORTED")
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263 $as_echo "no" >&6; }
3264 noconfigdirs
="$noconfigdirs target-libsanitizer"
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3267 $as_echo "yes" >&6; }
3272 # Disable libvtv on unsupported systems.
3273 if test -d ${srcdir}/libvtv
; then
3274 if test x
$enable_libvtv = x
; then
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3276 $as_echo_n "checking for libvtv support... " >&6; }
3277 if (srcdir
=${srcdir}/libvtv
; \
3278 .
${srcdir}/configure.tgt
; \
3279 test "$VTV_SUPPORTED" != "yes")
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 noconfigdirs
="$noconfigdirs target-libvtv"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3286 $as_echo "yes" >&6; }
3291 # Disable libquadmath for some systems.
3294 noconfigdirs
="$noconfigdirs target-libquadmath"
3296 # libquadmath is unused on AIX and libquadmath build process use of
3297 # LD_LIBRARY_PATH can break AIX bootstrap.
3298 powerpc-
*-aix* | rs6000-
*-aix*)
3299 noconfigdirs
="$noconfigdirs target-libquadmath"
3303 # Disable libssp for some systems.
3306 # No hosted I/O support.
3307 noconfigdirs
="$noconfigdirs target-libssp"
3309 powerpc-
*-aix* | rs6000-
*-aix*)
3310 noconfigdirs
="$noconfigdirs target-libssp"
3313 # libssp uses a misaligned load to trigger a fault, but the RL78
3314 # doesn't fault for those - instead, it gives a build-time error
3315 # for explicit misaligned loads.
3316 noconfigdirs
="$noconfigdirs target-libssp"
3320 # Disable libstdc++-v3 for some systems.
3321 # Allow user to override this if they pass --enable-libstdc++-v3
3322 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3325 # VxWorks uses the Dinkumware C++ library.
3326 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3329 # the C++ libraries don't build on top of CE's C libraries
3330 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3333 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3338 # Disable Fortran for some systems.
3341 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3342 unsupported_languages
="$unsupported_languages fortran"
3346 # Disable Java if libffi is not supported.
3378 powerpc-
*-aix* | rs6000-
*-aix*)
3382 powerpc64-
*-freebsd*)
3386 s390-
*-* | s390x-
*-*)
3388 sh-
*-* | sh
[34]*-*-*)
3390 sh64-
*-* | sh5
*-*-*)
3397 unsupported_languages
="$unsupported_languages java"
3401 # Disable Java, libgcj or related libraries for some systems.
3405 i
[3456789]86-*-darwin*)
3407 x86_64-
*-darwin[912]*)
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3413 noconfigdirs
="$noconfigdirs ${libgcj}"
3416 noconfigdirs
="$noconfigdirs ${libgcj}"
3419 noconfigdirs
="$noconfigdirs ${libgcj}"
3422 noconfigdirs
="$noconfigdirs ${libgcj}"
3425 noconfigdirs
="$noconfigdirs ${libgcj}"
3428 noconfigdirs
="$noconfigdirs ${libgcj}"
3431 noconfigdirs
="$noconfigdirs ${libgcj}"
3434 noconfigdirs
="$noconfigdirs ${libgcj}"
3437 noconfigdirs
="$noconfigdirs target-boehm-gc"
3439 cris-
*-* | crisv32-
*-*)
3440 unsupported_languages
="$unsupported_languages java"
3444 *) # See PR46792 regarding target-libffi.
3445 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3449 # In this case, it's because the hppa64-linux target is for
3450 # the kernel only at this point and has no libc, and thus no
3451 # headers, crt*.o, etc., all of which are needed by these.
3452 unsupported_languages
="$unsupported_languages java"
3455 noconfigdirs
="$noconfigdirs ${libgcj}"
3460 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3461 # build on HP-UX 10.20.
3462 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 noconfigdirs
="$noconfigdirs ${libgcj}"
3467 i
[3456789]86-w64-mingw*)
3468 noconfigdirs
="$noconfigdirs ${libgcj}"
3470 i
[3456789]86-*-mingw*)
3471 noconfigdirs
="$noconfigdirs ${libgcj}"
3474 noconfigdirs
="$noconfigdirs ${libgcj}"
3477 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3480 # copied from rs6000-*-* entry
3481 noconfigdirs
="$noconfigdirs ${libgcj}"
3484 noconfigdirs
="$noconfigdirs ${libgcj}"
3487 noconfigdirs
="$noconfigdirs ${libgcj}"
3491 # Disable the go frontend on systems where it is known to not work. Please keep
3492 # this in sync with contrib/config-list.mk.
3494 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3495 unsupported_languages
="$unsupported_languages go"
3499 # Disable libgo for some systems where it is known to not work.
3500 # For testing, you can easily override this with --enable-libgo.
3501 if test x
$enable_libgo = x
; then
3505 noconfigdirs
="$noconfigdirs target-libgo"
3507 *-*-cygwin* |
*-*-mingw*)
3508 noconfigdirs
="$noconfigdirs target-libgo"
3511 noconfigdirs
="$noconfigdirs target-libgo"
3516 # Default libgloss CPU subdirectory.
3517 libgloss_dir
="$target_cpu"
3520 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3524 libgloss_dir
=aarch64
3529 cris-
*-* | crisv32-
*-*)
3538 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3539 libgloss_dir
=m68hc11
3541 m68
*-*-* | fido-
*-*)
3555 # Disable newlib and libgloss for various target OSes.
3558 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3560 i
[3456789]86-*-linux*)
3561 # This section makes it possible to build newlib natively on linux.
3562 # If we are using a cross compiler then don't configure newlib.
3563 if test x
${is_cross_compiler} != xno
; then
3564 noconfigdirs
="$noconfigdirs target-newlib"
3566 noconfigdirs
="$noconfigdirs target-libgloss"
3567 # If we are not using a cross compiler, do configure newlib.
3568 # Note however, that newlib will only be configured in this situation
3569 # if the --with-newlib option has been given, because otherwise
3570 # 'target-newlib' will appear in skipdirs.
3572 i
[3456789]86-*-rdos*)
3573 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3575 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3576 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3582 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3585 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3596 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3597 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3600 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3603 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3615 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3618 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3626 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3627 noconfigdirs
="$noconfigdirs sim target-rda"
3629 i
[3456789]86-*-darwin*)
3630 noconfigdirs
="$noconfigdirs ld gprof"
3631 noconfigdirs
="$noconfigdirs sim target-rda"
3633 x86_64-
*-darwin[912]*)
3634 noconfigdirs
="$noconfigdirs ld gas gprof"
3635 noconfigdirs
="$noconfigdirs sim target-rda"
3638 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3639 noconfigdirs
="$noconfigdirs sim target-rda"
3644 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3645 && test -f /usr
/local
/include
/gmp.h
; then
3650 # Remove unsupported stuff on all kaOS configurations.
3651 noconfigdirs
="$noconfigdirs target-libgloss"
3658 noconfigdirs
="$noconfigdirs target-libgloss"
3660 # The tpf target doesn't support gdb yet.
3662 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3665 noconfigdirs
="$noconfigdirs target-rda"
3670 # ld works, but does not support shared libraries.
3671 # gas doesn't generate exception information.
3672 noconfigdirs
="$noconfigdirs gas ld"
3675 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3678 # newlib is not 64 bit ready
3679 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3681 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3682 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3685 noconfigdirs
="$noconfigdirs target-libgloss"
3688 noconfigdirs
="$noconfigdirs target-libgloss"
3691 noconfigdirs
="$noconfigdirs ld target-libgloss"
3696 if test x
${with_avrlibc} != xno
; then
3697 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 c4x-
*-* | tic4x-
*-*)
3701 noconfigdirs
="$noconfigdirs target-libgloss"
3704 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3707 noconfigdirs
="$noconfigdirs target-libgloss"
3710 noconfigdirs
="$noconfigdirs gdb"
3713 noconfigdirs
="$noconfigdirs gdb"
3716 noconfigdirs
="$noconfigdirs gprof"
3719 noconfigdirs
="$noconfigdirs target-libgloss"
3722 noconfigdirs
="$noconfigdirs target-libgloss"
3724 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3732 hppa
*-*-openbsd* | \
3736 noconfigdirs
="$noconfigdirs ld"
3741 noconfigdirs
="$noconfigdirs ld"
3744 noconfigdirs
="$noconfigdirs gdb"
3747 # No gdb support yet.
3748 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3751 # No ld support yet.
3752 noconfigdirs
="$noconfigdirs libgui itcl ld"
3755 # No ld support yet.
3756 noconfigdirs
="$noconfigdirs libgui itcl ld"
3758 i
[3456789]86-w64-mingw*)
3760 i
[3456789]86-*-mingw*)
3761 target_configdirs
="$target_configdirs target-winsup"
3764 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3765 noconfigdirs
="$noconfigdirs target-libgloss"
3766 # always build newlib if winsup directory is present.
3767 if test -d "$srcdir/winsup/cygwin"; then
3768 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3769 elif test -d "$srcdir/newlib"; then
3770 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3774 noconfigdirs
="$noconfigdirs target-libgloss"
3776 i
[3456789]86-*-sco3.2v5
*)
3777 # The linker does not yet know about weak symbols in COFF,
3778 # and is not configured to handle mixed ELF and COFF.
3779 noconfigdirs
="$noconfigdirs ld target-libgloss"
3781 i
[3456789]86-*-sco*)
3782 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3784 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3785 noconfigdirs
="$noconfigdirs target-libgloss"
3787 i
[3456789]86-*-sysv4*)
3788 noconfigdirs
="$noconfigdirs target-libgloss"
3790 i
[3456789]86-*-beos*)
3791 noconfigdirs
="$noconfigdirs gdb"
3793 i
[3456789]86-*-rdos*)
3794 noconfigdirs
="$noconfigdirs gdb"
3797 noconfigdirs
="$noconfigdirs gdb"
3800 noconfigdirs
="$noconfigdirs sim"
3803 # copied from rs6000-*-* entry
3804 noconfigdirs
="$noconfigdirs gprof"
3806 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3807 target_configdirs
="$target_configdirs target-winsup"
3808 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3809 # always build newlib.
3810 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3812 # This is temporary until we can link against shared libraries
3813 powerpcle-
*-solaris*)
3814 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3817 noconfigdirs
="$noconfigdirs gdb"
3820 noconfigdirs
="$noconfigdirs gprof"
3823 noconfigdirs
="$noconfigdirs gprof"
3826 noconfigdirs
="$noconfigdirs gprof"
3829 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3832 noconfigdirs
="$noconfigdirs gprof"
3834 mips
*-sde-elf* | mips
*-mti-elf*)
3835 if test x
$with_newlib = xyes
; then
3836 noconfigdirs
="$noconfigdirs gprof"
3840 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3843 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3846 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3850 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3851 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3852 noconfigdirs
="$noconfigdirs ld gas gprof"
3855 noconfigdirs
="$noconfigdirs gprof"
3858 # nvptx is just a compiler
3859 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3866 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3870 if test x
${is_cross_compiler} = xno
; then
3875 noconfigdirs
="$noconfigdirs sim"
3877 tilepro
*-*-* | tilegx
*-*-*)
3878 noconfigdirs
="$noconfigdirs sim"
3881 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3884 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3888 # If we aren't building newlib, then don't build libgloss, since libgloss
3889 # depends upon some newlib header files.
3890 case "${noconfigdirs}" in
3891 *target-libgloss
*) ;;
3892 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3895 # Work in distributions that contain no compiler tools, like Autoconf.
3896 host_makefile_frag
=/dev
/null
3897 if test -d ${srcdir}/config
; then
3899 i
[3456789]86-*-msdosdjgpp*)
3900 host_makefile_frag
="config/mh-djgpp"
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3905 $as_echo_n "checking to see if cat works as expected... " >&6; }
3906 echo a
>cygwin-cat-check
3907 if test `cat cygwin-cat-check` = a
; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3910 $as_echo "yes" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3915 as_fn_error
"The cat command does not ignore carriage return characters.
3916 Please either mount the build directory in binary mode or run the following
3917 commands before running any configure script:
3923 host_makefile_frag
="config/mh-cygwin"
3926 host_makefile_frag
="config/mh-mingw"
3929 host_makefile_frag
="config/mh-alpha-linux"
3932 host_makefile_frag
="config/mh-pa-hpux10"
3935 host_makefile_frag
="config/mh-pa"
3938 host_makefile_frag
="config/mh-pa"
3941 host_makefile_frag
="config/mh-darwin"
3944 host_makefile_frag
="config/mh-ppc-aix"
3947 host_makefile_frag
="config/mh-ppc-aix"
3952 if test "${build}" != "${host}" ; then
3953 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3954 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3955 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3956 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3957 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3958 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3959 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3960 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3961 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3962 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3963 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3964 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3965 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3967 AR_FOR_BUILD
="\$(AR)"
3968 AS_FOR_BUILD
="\$(AS)"
3969 CC_FOR_BUILD
="\$(CC)"
3970 CXX_FOR_BUILD
="\$(CXX)"
3971 GCJ_FOR_BUILD
="\$(GCJ)"
3972 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3973 GOC_FOR_BUILD
="\$(GOC)"
3974 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3975 LD_FOR_BUILD
="\$(LD)"
3976 NM_FOR_BUILD
="\$(NM)"
3977 RANLIB_FOR_BUILD
="\$(RANLIB)"
3978 WINDRES_FOR_BUILD
="\$(WINDRES)"
3979 WINDMC_FOR_BUILD
="\$(WINDMC)"
3983 ac_cpp
='$CPP $CPPFLAGS'
3984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3987 if test -n "$ac_tool_prefix"; then
3988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3989 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if test "${ac_cv_prog_CC+set}" = set; then :
3993 $as_echo_n "(cached) " >&6
3995 if test -n "$CC"; then
3996 ac_cv_prog_CC
="$CC" # Let the user override the test.
3998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4002 test -z "$as_dir" && as_dir
=.
4003 for ac_exec_ext
in '' $ac_executable_extensions; do
4004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4005 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 if test -n "$CC"; then
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4018 $as_echo "$CC" >&6; }
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4021 $as_echo "no" >&6; }
4026 if test -z "$ac_cv_prog_CC"; then
4028 # Extract the first word of "gcc", so it can be a program name with args.
4029 set dummy gcc
; ac_word
=$2
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4031 $as_echo_n "checking for $ac_word... " >&6; }
4032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4033 $as_echo_n "(cached) " >&6
4035 if test -n "$ac_ct_CC"; then
4036 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4042 test -z "$as_dir" && as_dir
=.
4043 for ac_exec_ext
in '' $ac_executable_extensions; do
4044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4045 ac_cv_prog_ac_ct_CC
="gcc"
4046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4056 if test -n "$ac_ct_CC"; then
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4058 $as_echo "$ac_ct_CC" >&6; }
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4061 $as_echo "no" >&6; }
4064 if test "x$ac_ct_CC" = x
; then
4067 case $cross_compiling:$ac_tool_warned in
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4071 ac_tool_warned
=yes ;;
4079 if test -z "$CC"; then
4080 if test -n "$ac_tool_prefix"; then
4081 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4082 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4084 $as_echo_n "checking for $ac_word... " >&6; }
4085 if test "${ac_cv_prog_CC+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4088 if test -n "$CC"; then
4089 ac_cv_prog_CC
="$CC" # Let the user override the test.
4091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4095 test -z "$as_dir" && as_dir
=.
4096 for ac_exec_ext
in '' $ac_executable_extensions; do
4097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4098 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4109 if test -n "$CC"; then
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4111 $as_echo "$CC" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4120 if test -z "$CC"; then
4121 # Extract the first word of "cc", so it can be a program name with args.
4122 set dummy cc
; ac_word
=$2
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124 $as_echo_n "checking for $ac_word... " >&6; }
4125 if test "${ac_cv_prog_CC+set}" = set; then :
4126 $as_echo_n "(cached) " >&6
4128 if test -n "$CC"; then
4129 ac_cv_prog_CC
="$CC" # Let the user override the test.
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 test -z "$as_dir" && as_dir
=.
4137 for ac_exec_ext
in '' $ac_executable_extensions; do
4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4139 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4140 ac_prog_rejected
=yes
4144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4151 if test $ac_prog_rejected = yes; then
4152 # We found a bogon in the path, so make sure we never use it.
4153 set dummy
$ac_cv_prog_CC
4155 if test $# != 0; then
4156 # We chose a different compiler from the bogus one.
4157 # However, it has the same basename, so the bogon will be chosen
4158 # first if we set CC to just the basename; use the full file name.
4160 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4166 if test -n "$CC"; then
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4168 $as_echo "$CC" >&6; }
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171 $as_echo "no" >&6; }
4176 if test -z "$CC"; then
4177 if test -n "$ac_tool_prefix"; then
4178 for ac_prog
in cl.exe
4180 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4181 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4183 $as_echo_n "checking for $ac_word... " >&6; }
4184 if test "${ac_cv_prog_CC+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4187 if test -n "$CC"; then
4188 ac_cv_prog_CC
="$CC" # Let the user override the test.
4190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4194 test -z "$as_dir" && as_dir
=.
4195 for ac_exec_ext
in '' $ac_executable_extensions; do
4196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4197 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 if test -n "$CC"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4210 $as_echo "$CC" >&6; }
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4217 test -n "$CC" && break
4220 if test -z "$CC"; then
4222 for ac_prog
in cl.exe
4224 # Extract the first word of "$ac_prog", so it can be a program name with args.
4225 set dummy
$ac_prog; ac_word
=$2
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4227 $as_echo_n "checking for $ac_word... " >&6; }
4228 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4229 $as_echo_n "(cached) " >&6
4231 if test -n "$ac_ct_CC"; then
4232 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4238 test -z "$as_dir" && as_dir
=.
4239 for ac_exec_ext
in '' $ac_executable_extensions; do
4240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4241 ac_cv_prog_ac_ct_CC
="$ac_prog"
4242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4252 if test -n "$ac_ct_CC"; then
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4254 $as_echo "$ac_ct_CC" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4257 $as_echo "no" >&6; }
4261 test -n "$ac_ct_CC" && break
4264 if test "x$ac_ct_CC" = x
; then
4267 case $cross_compiling:$ac_tool_warned in
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4270 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4271 ac_tool_warned
=yes ;;
4280 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4282 as_fn_error
"no acceptable C compiler found in \$PATH
4283 See \`config.log' for more details." "$LINENO" 5; }
4285 # Provide some information about the compiler.
4286 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4289 for ac_option
in --version -v -V -qversion; do
4290 { { ac_try
="$ac_compiler $ac_option >&5"
4292 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4295 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4296 $as_echo "$ac_try_echo"; } >&5
4297 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4299 if test -s conftest.err; then
4301 ... rest of stderr output deleted ...
4302 10q' conftest.err >conftest.er1
4303 cat conftest.er1 >&5
4304 rm -f conftest.er1 conftest.err
4306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4307 test $ac_status = 0; }
4310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4311 /* end confdefs.h. */
4321 ac_clean_files_save=$ac_clean_files
4322 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4323 # Try to create an executable without -o first, disregard a.out.
4324 # It will help us diagnose broken compilers, and finding out an intuition
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4327 $as_echo_n "checking for C compiler default output file name... " >&6; }
4328 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4330 # The possible output files:
4331 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4334 for ac_file in $ac_files
4337 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4338 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4343 if { { ac_try="$ac_link_default"
4345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4346 *) ac_try_echo
=$ac_try;;
4348 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4349 $as_echo "$ac_try_echo"; } >&5
4350 (eval "$ac_link_default") 2>&5
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }; then :
4354 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4355 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4356 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4357 # so that the user can short-circuit this test for compilers unknown to
4359 for ac_file
in $ac_files ''
4361 test -f "$ac_file" ||
continue
4363 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4366 # We found the default executable, but exeext='' is most
4370 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4372 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4374 # We set ac_cv_exeext here because the later test for it is not
4375 # safe: cross compilers may not add the suffix if given an `-o'
4376 # argument, so we may need to know it at that point already.
4377 # Even if this section looks crufty: it has the advantage of
4384 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4390 $as_echo "$ac_file" >&6; }
4391 if test -z "$ac_file"; then :
4392 $as_echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.
$ac_ext >&5
4395 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4396 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4397 { as_fn_set_status
77
4398 as_fn_error
"C compiler cannot create executables
4399 See \`config.log' for more details." "$LINENO" 5; }; }
4401 ac_exeext
=$ac_cv_exeext
4403 # Check that the compiler produces executables we can run. If not, either
4404 # the compiler is broken, or we cross compile.
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4406 $as_echo_n "checking whether the C compiler works... " >&6; }
4407 # If not cross compiling, check that we can run a simple program.
4408 if test "$cross_compiling" != yes; then
4409 if { ac_try
='./$ac_file'
4410 { { case "(($ac_try" in
4411 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4412 *) ac_try_echo=$ac_try;;
4414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4415 $as_echo "$ac_try_echo"; } >&5
4416 (eval "$ac_try") 2>&5
4418 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4419 test $ac_status = 0; }; }; then
4422 if test "$cross_compiling" = maybe; then
4425 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4426 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4427 as_fn_error "cannot run C compiled programs.
4428 If you meant to cross compile
, use \
`--host'.
4429 See \`config.log
' for more details." "$LINENO" 5; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4434 $as_echo "yes" >&6; }
4436 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4437 ac_clean_files=$ac_clean_files_save
4438 # Check that the compiler produces executables we can run. If not, either
4439 # the compiler is broken, or we cross compile.
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4441 $as_echo_n "checking whether we are cross compiling... " >&6; }
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4443 $as_echo "$cross_compiling" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4446 $as_echo_n "checking for suffix of executables... " >&6; }
4447 if { { ac_try="$ac_link"
4449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4450 *) ac_try_echo=$ac_try;;
4452 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4453 $as_echo "$ac_try_echo"; } >&5
4454 (eval "$ac_link") 2>&5
4456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4457 test $ac_status = 0; }; then :
4458 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4459 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4460 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4462 for ac_file
in conftest.exe conftest conftest.
*; do
4463 test -f "$ac_file" ||
continue
4465 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4466 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4472 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4473 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4474 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4475 See \`config.log' for more details." "$LINENO" 5; }
4477 rm -f conftest
$ac_cv_exeext
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4479 $as_echo "$ac_cv_exeext" >&6; }
4481 rm -f conftest.
$ac_ext
4482 EXEEXT
=$ac_cv_exeext
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4485 $as_echo_n "checking for suffix of object files... " >&6; }
4486 if test "${ac_cv_objext+set}" = set; then :
4487 $as_echo_n "(cached) " >&6
4489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4490 /* end confdefs.h. */
4500 rm -f conftest.o conftest.obj
4501 if { { ac_try
="$ac_compile"
4503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507 $as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compile") 2>&5
4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4511 test $ac_status = 0; }; then :
4512 for ac_file in conftest.o conftest.obj conftest.*; do
4513 test -f "$ac_file" || continue;
4515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4516 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4521 $as_echo "$as_me: failed program was:" >&5
4522 sed 's/^/| /' conftest.$ac_ext >&5
4524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526 as_fn_error "cannot compute suffix of object files
: cannot compile
4527 See \
`config.log' for more details." "$LINENO" 5; }
4529 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4532 $as_echo "$ac_cv_objext" >&6; }
4533 OBJEXT=$ac_cv_objext
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4536 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4537 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4541 /* end confdefs.h. */
4554 if ac_fn_c_try_compile "$LINENO"; then :
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4564 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4565 if test $ac_compiler_gnu = yes; then
4570 ac_test_CFLAGS=${CFLAGS+set}
4571 ac_save_CFLAGS=$CFLAGS
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4573 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4574 if test "${ac_cv_prog_cc_g+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 ac_save_c_werror_flag=$ac_c_werror_flag
4578 ac_c_werror_flag=yes
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4592 if ac_fn_c_try_compile "$LINENO"; then :
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4607 if ac_fn_c_try_compile "$LINENO"; then :
4610 ac_c_werror_flag=$ac_save_c_werror_flag
4612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4613 /* end confdefs.h. */
4623 if ac_fn_c_try_compile "$LINENO"; then :
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4631 ac_c_werror_flag=$ac_save_c_werror_flag
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4634 $as_echo "$ac_cv_prog_cc_g" >&6; }
4635 if test "$ac_test_CFLAGS" = set; then
4636 CFLAGS=$ac_save_CFLAGS
4637 elif test $ac_cv_prog_cc_g = yes; then
4638 if test "$GCC" = yes; then
4644 if test "$GCC" = yes; then
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4651 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4652 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 ac_cv_prog_cc_c89=no
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4661 #include <sys/types.h>
4662 #include <sys/stat.h>
4663 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4664 struct buf { int x; };
4665 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4666 static char *e (p, i)
4672 static char *f (char * (*g) (char **, int), char **p, ...)
4677 s = g (p, va_arg (v,int));
4682 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4683 function prototypes and stuff, but not '\xHH' hex character constants.
4684 These don't provoke an error unfortunately, instead are silently treated
4685 as 'x'. The following induces an error, until -std is added to get
4686 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4687 array size at least. It's necessary to write '\x00'==0 to get something
4688 that's true only with -std. */
4689 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4691 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4692 inside strings and character constants. */
4694 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4696 int test (int i, double x);
4697 struct s1 {int (*f) (int a);};
4698 struct s2 {int (*f) (double a);};
4699 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4705 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4710 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4711 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4713 CC="$ac_save_CC $ac_arg"
4714 if ac_fn_c_try_compile "$LINENO"; then :
4715 ac_cv_prog_cc_c89=$ac_arg
4717 rm -f core conftest.err conftest.$ac_objext
4718 test "x$ac_cv_prog_cc_c89" != "xno" && break
4720 rm -f conftest.$ac_ext
4725 case "x$ac_cv_prog_cc_c89" in
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4728 $as_echo "none needed" >&6; } ;;
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4731 $as_echo "unsupported" >&6; } ;;
4733 CC="$CC $ac_cv_prog_cc_c89"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4735 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4737 if test "x$ac_cv_prog_cc_c89" != xno; then :
4742 ac_cpp='$CPP $CPPFLAGS'
4743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4748 ac_cpp='$CXXCPP $CPPFLAGS'
4749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4752 if test -z "$CXX"; then
4753 if test -n "$CCC"; then
4756 if test -n "$ac_tool_prefix"; then
4757 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4759 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4760 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4762 $as_echo_n "checking for $ac_word... " >&6; }
4763 if test "${ac_cv_prog_CXX+set}" = set; then :
4764 $as_echo_n "(cached) " >&6
4766 if test -n "$CXX"; then
4767 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773 test -z "$as_dir" && as_dir=.
4774 for ac_exec_ext in '' $ac_executable_extensions; do
4775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4776 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4787 if test -n "$CXX"; then
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4789 $as_echo "$CXX" >&6; }
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4792 $as_echo "no" >&6; }
4796 test -n "$CXX" && break
4799 if test -z "$CXX"; then
4801 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4803 # Extract the first word of "$ac_prog", so it can be a program name with args.
4804 set dummy $ac_prog; ac_word=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4808 $as_echo_n "(cached) " >&6
4810 if test -n "$ac_ct_CXX"; then
4811 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir=.
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820 ac_cv_prog_ac_ct_CXX="$ac_prog"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4831 if test -n "$ac_ct_CXX"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4833 $as_echo "$ac_ct_CXX" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4840 test -n "$ac_ct_CXX" && break
4843 if test "x$ac_ct_CXX" = x; then
4846 case $cross_compiling:$ac_tool_warned in
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4850 ac_tool_warned=yes ;;
4858 # Provide some information about the compiler.
4859 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4862 for ac_option in --version -v -V -qversion; do
4863 { { ac_try="$ac_compiler $ac_option >&5"
4865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4866 *) ac_try_echo
=$ac_try;;
4868 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4869 $as_echo "$ac_try_echo"; } >&5
4870 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4872 if test -s conftest.err
; then
4874 ... rest of stderr output deleted ...
4875 10q' conftest.err
>conftest.er1
4876 cat conftest.er1
>&5
4877 rm -f conftest.er1 conftest.err
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4884 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4885 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4889 /* end confdefs.h. */
4902 if ac_fn_cxx_try_compile
"$LINENO"; then :
4907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4908 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4912 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4913 if test $ac_compiler_gnu = yes; then
4918 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4919 ac_save_CXXFLAGS
=$CXXFLAGS
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4921 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4922 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4926 ac_cxx_werror_flag
=yes
4929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4930 /* end confdefs.h. */
4940 if ac_fn_cxx_try_compile
"$LINENO"; then :
4941 ac_cv_prog_cxx_g
=yes
4944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4945 /* end confdefs.h. */
4955 if ac_fn_cxx_try_compile
"$LINENO"; then :
4958 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4971 if ac_fn_cxx_try_compile
"$LINENO"; then :
4972 ac_cv_prog_cxx_g
=yes
4974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4982 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4983 if test "$ac_test_CXXFLAGS" = set; then
4984 CXXFLAGS
=$ac_save_CXXFLAGS
4985 elif test $ac_cv_prog_cxx_g = yes; then
4986 if test "$GXX" = yes; then
4992 if test "$GXX" = yes; then
4999 ac_cpp
='$CPP $CPPFLAGS'
5000 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5001 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5002 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5005 # We must set the default linker to the linker used by gcc for the correct
5006 # operation of libtool. If LD is not defined and we are using gcc, try to
5007 # set the LD default to the ld used by gcc.
5008 if test -z "$LD"; then
5009 if test "$GCC" = yes; then
5012 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5014 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5016 case $gcc_prog_ld in
5017 # Accept absolute paths.
5018 [\\/]* |
[A-Za-z
]:[\\/]*)
5019 LD
="$gcc_prog_ld" ;;
5024 # Check whether -static-libstdc++ -static-libgcc is supported.
5026 if test "$GCC" = yes; then
5027 saved_LDFLAGS
="$LDFLAGS"
5029 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5031 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5033 ac_cpp
='$CXXCPP $CPPFLAGS'
5034 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5035 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5036 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5042 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5043 #error -static-libstdc++ not implemented
5047 if ac_fn_cxx_try_link
"$LINENO"; then :
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5049 $as_echo "yes" >&6; }; have_static_libs
=yes
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5054 rm -f core conftest.err conftest.
$ac_objext \
5055 conftest
$ac_exeext conftest.
$ac_ext
5057 ac_cpp
='$CPP $CPPFLAGS'
5058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5063 LDFLAGS
="$saved_LDFLAGS"
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5071 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5075 $as_echo_n "(cached) " >&6
5077 if test -n "$GNATBIND"; then
5078 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5084 test -z "$as_dir" && as_dir
=.
5085 for ac_exec_ext
in '' $ac_executable_extensions; do
5086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5087 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5097 GNATBIND
=$ac_cv_prog_GNATBIND
5098 if test -n "$GNATBIND"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5100 $as_echo "$GNATBIND" >&6; }
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5108 if test -z "$ac_cv_prog_GNATBIND"; then
5109 ac_ct_GNATBIND
=$GNATBIND
5110 # Extract the first word of "gnatbind", so it can be a program name with args.
5111 set dummy gnatbind
; ac_word
=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5115 $as_echo_n "(cached) " >&6
5117 if test -n "$ac_ct_GNATBIND"; then
5118 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5124 test -z "$as_dir" && as_dir
=.
5125 for ac_exec_ext
in '' $ac_executable_extensions; do
5126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5127 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5137 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5138 if test -n "$ac_ct_GNATBIND"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5140 $as_echo "$ac_ct_GNATBIND" >&6; }
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5146 if test "x$ac_ct_GNATBIND" = x
; then
5149 case $cross_compiling:$ac_tool_warned in
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5153 ac_tool_warned
=yes ;;
5155 GNATBIND
=$ac_ct_GNATBIND
5158 GNATBIND
="$ac_cv_prog_GNATBIND"
5161 if test -n "$ac_tool_prefix"; then
5162 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5163 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5167 $as_echo_n "(cached) " >&6
5169 if test -n "$GNATMAKE"; then
5170 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5176 test -z "$as_dir" && as_dir
=.
5177 for ac_exec_ext
in '' $ac_executable_extensions; do
5178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 GNATMAKE
=$ac_cv_prog_GNATMAKE
5190 if test -n "$GNATMAKE"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5192 $as_echo "$GNATMAKE" >&6; }
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5200 if test -z "$ac_cv_prog_GNATMAKE"; then
5201 ac_ct_GNATMAKE
=$GNATMAKE
5202 # Extract the first word of "gnatmake", so it can be a program name with args.
5203 set dummy gnatmake
; ac_word
=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5207 $as_echo_n "(cached) " >&6
5209 if test -n "$ac_ct_GNATMAKE"; then
5210 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5216 test -z "$as_dir" && as_dir
=.
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5229 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5230 if test -n "$ac_ct_GNATMAKE"; then
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5232 $as_echo "$ac_ct_GNATMAKE" >&6; }
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5238 if test "x$ac_ct_GNATMAKE" = x
; then
5241 case $cross_compiling:$ac_tool_warned in
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned
=yes ;;
5247 GNATMAKE
=$ac_ct_GNATMAKE
5250 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5254 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5255 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 cat >conftest.adb
<<EOF
5259 procedure conftest is begin null; end conftest;
5261 acx_cv_cc_gcc_supports_ada
=no
5262 # There is a bug in old released versions of GCC which causes the
5263 # driver to exit successfully when the appropriate language module
5264 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5265 # Therefore we must check for the error message as well as an
5266 # unsuccessful exit.
5267 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5268 # given a .adb file, but produce no object file. So we must check
5269 # if an object file was really produced to guard against this.
5270 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5271 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5272 acx_cv_cc_gcc_supports_ada
=yes
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5277 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5279 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5286 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5287 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5288 $as_echo_n "(cached) " >&6
5292 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5293 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5294 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5297 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5300 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5301 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5304 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5311 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5312 do_compare
="$gcc_cv_prog_cmp_skip"
5316 # Check whether --enable-bootstrap was given.
5317 if test "${enable_bootstrap+set}" = set; then :
5318 enableval
=$enable_bootstrap;
5320 enable_bootstrap
=default
5324 # Issue errors and warnings for invalid/strange bootstrap combinations.
5325 if test -r $srcdir/gcc
/configure
; then
5331 case "$have_compiler:$host:$target:$enable_bootstrap" in
5334 # Default behavior. Enable bootstrap if we have a compiler
5335 # and we are in a native configuration.
5336 yes:$build:$build:default
)
5337 enable_bootstrap
=yes ;;
5340 enable_bootstrap
=no
;;
5342 # We have a compiler and we are in a native configuration, bootstrap is ok
5343 yes:$build:$build:yes)
5346 # Other configurations, but we have a compiler. Assume the user knows
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5350 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5353 # No compiler: if they passed --enable-bootstrap explicitly, fail
5355 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5357 # Fail if wrong command line
5359 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5363 # Used for setting $lt_cv_objdir
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5365 $as_echo_n "checking for objdir... " >&6; }
5366 if test "${lt_cv_objdir+set}" = set; then :
5367 $as_echo_n "(cached) " >&6
5369 rm -f .libs
2>/dev
/null
5370 mkdir .libs
2>/dev
/null
5371 if test -d .libs
; then
5374 # MS-DOS does not allow filenames that begin with a dot.
5377 rmdir .libs
2>/dev
/null
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5380 $as_echo "$lt_cv_objdir" >&6; }
5381 objdir
=$lt_cv_objdir
5387 cat >>confdefs.h
<<_ACEOF
5388 #define LT_OBJDIR "$lt_cv_objdir/"
5393 # Check for GMP, MPFR and MPC
5394 gmplibs
="-lmpc -lmpfr -lgmp"
5398 # Specify a location for mpc
5399 # check for this first so it ends up on the link line before mpfr.
5401 # Check whether --with-mpc was given.
5402 if test "${with_mpc+set}" = set; then :
5407 # Check whether --with-mpc-include was given.
5408 if test "${with_mpc_include+set}" = set; then :
5409 withval
=$with_mpc_include;
5413 # Check whether --with-mpc-lib was given.
5414 if test "${with_mpc_lib+set}" = set; then :
5415 withval
=$with_mpc_lib;
5419 if test "x$with_mpc" != x
; then
5420 gmplibs
="-L$with_mpc/lib $gmplibs"
5421 gmpinc
="-I$with_mpc/include $gmpinc"
5423 if test "x$with_mpc_include" != x
; then
5424 gmpinc
="-I$with_mpc_include $gmpinc"
5426 if test "x$with_mpc_lib" != x
; then
5427 gmplibs
="-L$with_mpc_lib $gmplibs"
5429 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5430 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5431 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5432 # Do not test the mpc version. Assume that it is sufficient, since
5433 # it is in the source tree, and the library has not been built yet
5434 # but it would be included on the link line in the version check below
5435 # hence making the test fail.
5439 # Specify a location for mpfr
5440 # check for this first so it ends up on the link line before gmp.
5442 # Check whether --with-mpfr-dir was given.
5443 if test "${with_mpfr_dir+set}" = set; then :
5444 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5445 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5450 # Check whether --with-mpfr was given.
5451 if test "${with_mpfr+set}" = set; then :
5456 # Check whether --with-mpfr-include was given.
5457 if test "${with_mpfr_include+set}" = set; then :
5458 withval
=$with_mpfr_include;
5462 # Check whether --with-mpfr-lib was given.
5463 if test "${with_mpfr_lib+set}" = set; then :
5464 withval
=$with_mpfr_lib;
5468 if test "x$with_mpfr" != x
; then
5469 gmplibs
="-L$with_mpfr/lib $gmplibs"
5470 gmpinc
="-I$with_mpfr/include $gmpinc"
5472 if test "x$with_mpfr_include" != x
; then
5473 gmpinc
="-I$with_mpfr_include $gmpinc"
5475 if test "x$with_mpfr_lib" != x
; then
5476 gmplibs
="-L$with_mpfr_lib $gmplibs"
5478 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5479 # MPFR v3.1.0 moved the sources into a src sub-directory.
5480 if test -d ${srcdir}/mpfr
/src
; then
5481 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5482 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5483 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5485 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5486 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5487 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5489 # Do not test the mpfr version. Assume that it is sufficient, since
5490 # it is in the source tree, and the library has not been built yet
5491 # but it would be included on the link line in the version check below
5492 # hence making the test fail.
5496 # Specify a location for gmp
5498 # Check whether --with-gmp-dir was given.
5499 if test "${with_gmp_dir+set}" = set; then :
5500 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5501 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5506 # Check whether --with-gmp was given.
5507 if test "${with_gmp+set}" = set; then :
5512 # Check whether --with-gmp-include was given.
5513 if test "${with_gmp_include+set}" = set; then :
5514 withval
=$with_gmp_include;
5518 # Check whether --with-gmp-lib was given.
5519 if test "${with_gmp_lib+set}" = set; then :
5520 withval
=$with_gmp_lib;
5525 if test "x$with_gmp" != x
; then
5526 gmplibs
="-L$with_gmp/lib $gmplibs"
5527 gmpinc
="-I$with_gmp/include $gmpinc"
5529 if test "x$with_gmp_include" != x
; then
5530 gmpinc
="-I$with_gmp_include $gmpinc"
5532 if test "x$with_gmp_lib" != x
; then
5533 gmplibs
="-L$with_gmp_lib $gmplibs"
5535 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5536 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5537 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5538 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5539 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5540 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5541 # Do not test the gmp version. Assume that it is sufficient, since
5542 # it is in the source tree, and the library has not been built yet
5543 # but it would be included on the link line in the version check below
5544 # hence making the test fail.
5548 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5550 saved_CFLAGS
="$CFLAGS"
5551 CFLAGS
="$CFLAGS $gmpinc"
5552 # Check for the recommended and required versions of GMP.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5554 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5557 /* end confdefs.h. */
5563 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5564 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5565 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5573 if ac_fn_c_try_compile
"$LINENO"; then :
5574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5581 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5582 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5583 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5591 if ac_fn_c_try_compile
"$LINENO"; then :
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5593 $as_echo "yes" >&6; }
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5596 $as_echo "buggy but acceptable" >&6; }
5598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601 $as_echo "no" >&6; }; have_gmp
=no
5603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 # If we have GMP, check the MPFR version.
5606 if test x
"$have_gmp" = xyes
; then
5607 # Check for the recommended and required versions of MPFR.
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5609 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5611 /* end confdefs.h. */
5618 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5626 if ac_fn_c_try_compile
"$LINENO"; then :
5627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5635 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5643 if ac_fn_c_try_compile
"$LINENO"; then :
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5645 $as_echo "yes" >&6; }
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5648 $as_echo "buggy but acceptable" >&6; }
5650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }; have_gmp
=no
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5658 # Check for the MPC header version.
5659 if test x
"$have_gmp" = xyes
; then
5660 # Check for the recommended and required versions of MPC.
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5662 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5670 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5678 if ac_fn_c_try_compile
"$LINENO"; then :
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5686 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5694 if ac_fn_c_try_compile
"$LINENO"; then :
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5696 $as_echo "yes" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5699 $as_echo "buggy but acceptable" >&6; }
5701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704 $as_echo "no" >&6; }; have_gmp
=no
5706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5709 # Now check the MPFR library.
5710 if test x
"$have_gmp" = xyes
; then
5712 LIBS
="$LIBS $gmplibs"
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5714 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5716 /* end confdefs.h. */
5728 mpfr_atan2 (n, n, x, GMP_RNDN);
5729 mpfr_erfc (n, x, GMP_RNDN);
5730 mpfr_subnormalize (x, t, GMP_RNDN);
5734 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5735 mpc_cosh (c, c, MPC_RNDNN);
5736 mpc_pow (c, c, c, MPC_RNDNN);
5737 mpc_acosh (c, c, MPC_RNDNN);
5744 if ac_fn_c_try_link
"$LINENO"; then :
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5746 $as_echo "yes" >&6; }
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749 $as_echo "no" >&6; }; have_gmp
=no
5751 rm -f core conftest.err conftest.
$ac_objext \
5752 conftest
$ac_exeext conftest.
$ac_ext
5756 CFLAGS
="$saved_CFLAGS"
5758 # The library versions listed in the error message below should match
5759 # the HARD-minimums enforced above.
5760 if test x
$have_gmp != xyes
; then
5761 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5762 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5763 their locations. Source code for these libraries can be found at
5764 their respective hosting sites as well as at
5765 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5766 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5767 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5768 make sure that you have installed both the libraries and the header
5769 files. They may be located in separate packages." "$LINENO" 5
5773 # Flags needed for both GMP, MPFR and/or MPC.
5781 # Allow host libstdc++ to be specified for static linking with PPL.
5783 # Check whether --with-host-libstdcxx was given.
5784 if test "${with_host_libstdcxx+set}" = set; then :
5785 withval
=$with_host_libstdcxx;
5789 case $with_host_libstdcxx in
5791 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5795 # Libraries to use for stage1 or when not bootstrapping.
5797 # Check whether --with-stage1-libs was given.
5798 if test "${with_stage1_libs+set}" = set; then :
5799 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5802 stage1_libs
=$withval
5805 stage1_libs
=$with_host_libstdcxx
5810 # Linker flags to use for stage1 or when not bootstrapping.
5812 # Check whether --with-stage1-ldflags was given.
5813 if test "${with_stage1_ldflags+set}" = set; then :
5814 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5817 stage1_ldflags
=$withval
5821 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5822 # if supported. But if the user explicitly specified the libraries to use,
5823 # trust that they are doing what they want.
5824 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5825 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5831 # Libraries to use for stage2 and later builds. This defaults to the
5832 # argument passed to --with-host-libstdcxx.
5834 # Check whether --with-boot-libs was given.
5835 if test "${with_boot_libs+set}" = set; then :
5836 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5839 poststage1_libs
=$withval
5842 poststage1_libs
=$with_host_libstdcxx
5847 # Linker flags to use for stage2 and later builds.
5849 # Check whether --with-boot-ldflags was given.
5850 if test "${with_boot_ldflags+set}" = set; then :
5851 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5854 poststage1_ldflags
=$withval
5858 # In stages 2 and 3, default to linking libstdc++ and libgcc
5859 # statically. But if the user explicitly specified the libraries to
5860 # use, trust that they are doing what they want.
5861 if test "$poststage1_libs" = ""; then
5862 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5868 # GCC GRAPHITE dependency ISL.
5869 # Basic setup is inlined here, actual checks are in config/isl.m4
5872 # Check whether --with-isl was given.
5873 if test "${with_isl+set}" = set; then :
5878 # Treat --without-isl as a request to disable
5879 # GRAPHITE support and skip all following checks.
5880 if test "x$with_isl" != "xno"; then
5884 # Check whether --with-isl-include was given.
5885 if test "${with_isl_include+set}" = set; then :
5886 withval
=$with_isl_include;
5890 # Check whether --with-isl-lib was given.
5891 if test "${with_isl_lib+set}" = set; then :
5892 withval
=$with_isl_lib;
5896 # Check whether --enable-isl-version-check was given.
5897 if test "${enable_isl_version_check+set}" = set; then :
5898 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5900 ENABLE_ISL_CHECK
=yes
5904 # Initialize isllibs and islinc.
5913 isllibs
="-L$with_isl/lib"
5914 islinc
="-I$with_isl/include"
5917 if test "x${with_isl_include}" != x
; then
5918 islinc
="-I$with_isl_include"
5920 if test "x${with_isl_lib}" != x
; then
5921 isllibs
="-L$with_isl_lib"
5923 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5924 && test -d ${srcdir}/isl
; then
5925 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5926 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5929 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5932 islinc
="-DCLOOG_INT_GMP ${islinc}"
5933 isllibs
="${isllibs} -lisl"
5937 if test "${ENABLE_ISL_CHECK}" = yes ; then
5938 _isl_saved_CFLAGS
=$CFLAGS
5939 _isl_saved_LDFLAGS
=$LDFLAGS
5940 _isl_saved_LIBS
=$LIBS
5942 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5943 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5944 LIBS
="${_isl_saved_LIBS} -lisl"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5947 $as_echo_n "checking for compatible ISL... " >&6; }
5948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h. */
5950 #include <isl/val.h>
5959 if ac_fn_c_try_link
"$LINENO"; then :
5964 rm -f core conftest.err conftest.
$ac_objext \
5965 conftest
$ac_exeext conftest.
$ac_ext
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5967 $as_echo "$gcc_cv_isl" >&6; }
5969 CFLAGS
=$_isl_saved_CFLAGS
5970 LDFLAGS
=$_isl_saved_LDFLAGS
5971 LIBS
=$_isl_saved_LIBS
5979 if test "x${with_isl}" = xno
; then
5980 graphite_requested
=no
5981 elif test "x${with_isl}" != x \
5982 ||
test "x${with_isl_include}" != x \
5983 ||
test "x${with_isl_lib}" != x
; then
5984 graphite_requested
=yes
5986 graphite_requested
=no
5991 if test "${gcc_cv_isl}" = no
; then
5996 if test "${graphite_requested}" = yes \
5997 && test "x${isllibs}" = x \
5998 && test "x${islinc}" = x
; then
6000 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6006 # If the ISL check failed, disable builds of in-tree variant of ISL
6007 if test "x$with_isl" = xno ||
6008 test "x$gcc_cv_isl" = xno
; then
6009 noconfigdirs
="$noconfigdirs isl"
6016 # Check for LTO support.
6017 # Check whether --enable-lto was given.
6018 if test "${enable_lto+set}" = set; then :
6019 enableval
=$enable_lto; enable_lto
=$enableval
6021 enable_lto
=yes; default_enable_lto
=yes
6030 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6031 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6032 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6040 if test $target_elf = yes; then :
6041 # ELF platforms build the lto-plugin always.
6042 build_lto_plugin
=yes
6045 if test x
"$default_enable_lto" = x
"yes" ; then
6047 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6048 # On other non-ELF platforms, LTO has yet to be validated.
6052 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6053 # It would also be nice to check the binutils support, but we don't
6054 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6055 # warn during gcc/ subconfigure; unless you're bootstrapping with
6056 # -flto it won't be needed until after installation anyway.
6058 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6059 *) if test x
"$enable_lto" = x
"yes"; then
6060 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6065 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6066 # Build it unless LTO was explicitly disabled.
6068 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6075 # Check whether --enable-linker-plugin-configure-flags was given.
6076 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6077 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6079 extra_linker_plugin_configure_flags
=
6083 # Check whether --enable-linker-plugin-flags was given.
6084 if test "${enable_linker_plugin_flags+set}" = set; then :
6085 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6087 extra_linker_plugin_flags
=
6093 # By default, C and C++ are the only stage 1 languages.
6094 stage1_languages
=,c
,
6096 # Target libraries that we bootstrap.
6097 bootstrap_target_libs
=,target-libgcc
,
6099 # Figure out what language subdirectories are present.
6100 # Look if the user specified --enable-languages="..."; if not, use
6101 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6103 # NB: embedded tabs in this IF block -- do not untabify
6104 if test -d ${srcdir}/gcc
; then
6105 if test x
"${enable_languages+set}" != xset
; then
6106 if test x
"${LANGUAGES+set}" = xset
; then
6107 enable_languages
="${LANGUAGES}"
6108 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6110 enable_languages
=all
6113 if test x
"${enable_languages}" = x ||
6114 test x
"${enable_languages}" = xyes
;
6116 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6120 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6122 # 'f95' is the old name for the 'fortran' language. We issue a warning
6123 # and make the substitution.
6124 case ,${enable_languages}, in
6126 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6127 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6131 # If bootstrapping, C++ must be enabled.
6132 case ",$enable_languages,:$enable_bootstrap" in
6135 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6136 enable_languages
="${enable_languages},c++"
6138 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6143 # First scan to see if an enabled language requires some other language.
6144 # We assume that a given config-lang.in will list all the language
6145 # front ends it requires, even if some are required indirectly.
6146 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6147 case ${lang_frag} in
6149 # The odd quoting in the next line works around
6150 # an apparent bug in bash 1.12 on linux.
6151 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6153 # From the config-lang.in, get $language, $lang_requires, and
6154 # $lang_requires_boot_languages.
6157 lang_requires_boot_languages
=
6159 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6160 case ,${enable_languages}, in
6164 echo " \`$other' language required by \`$language'; enabling" 1>&2
6165 enable_languages
="${enable_languages},${other}"
6169 for other
in ${lang_requires_boot_languages} ; do
6170 if test "$other" != "c"; then
6171 case ,${enable_stage1_languages}, in
6175 case ,${enable_languages}, in
6177 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6178 enable_stage1_languages
="$enable_stage1_languages,${other}"
6189 new_enable_languages
=,c
,
6191 # If LTO is enabled, add the LTO front end.
6192 if test "$enable_lto" = "yes" ; then
6193 case ,${enable_languages}, in
6195 *) enable_languages
="${enable_languages},lto" ;;
6197 if test "${build_lto_plugin}" = "yes" ; then
6198 configdirs
="$configdirs lto-plugin"
6202 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6203 potential_languages
=,c
,
6205 enabled_target_libs
=
6206 disabled_target_libs
=
6208 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6209 case ${lang_frag} in
6211 # The odd quoting in the next line works around
6212 # an apparent bug in bash 1.12 on linux.
6213 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6215 # From the config-lang.in, get $language, $target_libs,
6216 # $lang_dirs, $boot_language, and $build_by_default
6222 build_by_default
=yes
6224 if test x
${language} = x
; then
6225 echo "${lang_frag} doesn't set \$language." 1>&2
6229 if test "$language" = "c++"; then
6234 case ,${enable_languages}, in
6236 # Language was explicitly selected; include it
6237 # unless it is C, which is enabled by default.
6238 if test "$language" != "c"; then
6243 # 'all' was selected, select it if it is a default language
6244 if test "$language" != "c"; then
6245 add_this_lang
=${build_by_default}
6250 # Disable languages that need other directories if these aren't available.
6251 for i
in $subdir_requires; do
6252 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6253 case ,${enable_languages}, in
6255 # Specifically requested language; tell them.
6256 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6260 add_this_lang
=unsupported
6265 # Disable Ada if no preexisting GNAT is available.
6266 case ,${enable_languages},:${language}:${have_gnat} in
6267 *,${language},*:ada
:no
)
6268 # Specifically requested language; tell them.
6269 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6273 add_this_lang
=unsupported
6277 # Disable a language that is unsupported by the target.
6278 case " $unsupported_languages " in
6280 add_this_lang
=unsupported
6284 case $add_this_lang in
6286 # Remove language-dependent dirs.
6287 disabled_target_libs
="$disabled_target_libs $target_libs"
6288 noconfigdirs
="$noconfigdirs $lang_dirs"
6291 # Remove language-dependent dirs; still show language as supported.
6292 disabled_target_libs
="$disabled_target_libs $target_libs"
6293 noconfigdirs
="$noconfigdirs $lang_dirs"
6294 potential_languages
="${potential_languages}${language},"
6297 new_enable_languages
="${new_enable_languages}${language},"
6298 potential_languages
="${potential_languages}${language},"
6299 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6300 enabled_target_libs
="$enabled_target_libs $target_libs"
6301 case "${boot_language}:,$enable_stage1_languages," in
6302 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6303 # Add to (comma-separated) list of stage 1 languages.
6304 case ",$stage1_languages," in
6305 *,$language,* |
,yes, |
,all
,) ;;
6306 *) stage1_languages
="${stage1_languages}${language}," ;;
6308 # We need to bootstrap any supporting libraries.
6309 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6318 # Add target libraries which are only needed for disabled languages
6320 if test -n "$disabled_target_libs"; then
6321 for dir
in $disabled_target_libs; do
6322 case " $enabled_target_libs " in
6324 *) noconfigdirs
="$noconfigdirs $dir" ;;
6329 # Check whether --enable-stage1-languages was given.
6330 if test "${enable_stage1_languages+set}" = set; then :
6331 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6333 # Set it to something that will have no effect in the loop below
6334 enable_stage1_languages
=c
;;
6336 enable_stage1_languages
=`echo $new_enable_languages | \
6337 sed -e "s/^,//" -e "s/,$//" ` ;;
6339 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6340 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6343 # Add "good" languages from enable_stage1_languages to stage1_languages,
6344 # while "bad" languages go in missing_languages. Leave no duplicates.
6345 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6346 case $potential_languages in
6348 case $stage1_languages in
6350 *) stage1_languages
="$stage1_languages$i," ;;
6353 case $missing_languages in
6355 *) missing_languages
="$missing_languages$i," ;;
6362 # Remove leading/trailing commas that were added for simplicity
6363 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6364 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6365 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6366 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6368 if test "x$missing_languages" != x
; then
6370 The following requested languages could not be built: ${missing_languages}
6371 Supported languages are: ${potential_languages}" "$LINENO" 5
6373 if test "x$new_enable_languages" != "x$enable_languages"; then
6374 echo The following languages will be built
: ${new_enable_languages}
6375 enable_languages
="$new_enable_languages"
6379 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6382 # Handle --disable-<component> generically.
6383 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6384 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6385 varname
=`echo $dirname | sed -e s/+/_/g`
6386 if eval test x\
${enable_${varname}} "=" xno
; then
6387 noconfigdirs
="$noconfigdirs $dir"
6391 # Check for Boehm's garbage collector
6392 # Check whether --enable-objc-gc was given.
6393 if test "${enable_objc_gc+set}" = set; then :
6394 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6395 *,objc
,*:*:yes:*target-boehm-gc
*)
6396 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6402 # Make sure we only build Boehm's garbage collector if required.
6403 case ,${enable_languages},:${enable_objc_gc} in
6405 # Keep target-boehm-gc if requested for Objective-C.
6408 # Otherwise remove target-boehm-gc depending on target-libjava.
6409 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6410 noconfigdirs
="$noconfigdirs target-boehm-gc"
6415 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6416 case ,${enable_languages}, in
6418 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6419 case "${noconfigdirs}" in
6420 *target-libstdc
++-v3*)
6421 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6427 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6431 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6432 # $build_configdirs and $target_configdirs.
6433 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6436 for dir
in .
$skipdirs $noconfigdirs ; do
6437 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6438 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6439 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6440 if test -r $srcdir/$dirname/configure
; then
6441 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6444 notsupp
="$notsupp $dir"
6448 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6449 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6450 if test -r $srcdir/$dirname/configure
; then
6451 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6454 notsupp
="$notsupp $dir"
6458 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6459 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6460 if test -r $srcdir/$dirname/configure
; then
6461 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6464 notsupp
="$notsupp $dir"
6470 # Quietly strip out all directories which aren't configurable in this tree.
6471 # This relies on all configurable subdirectories being autoconfiscated, which
6473 build_configdirs_all
="$build_configdirs"
6475 for i
in ${build_configdirs_all} ; do
6476 j
=`echo $i | sed -e s/build-//g`
6477 if test -f ${srcdir}/$j/configure
; then
6478 build_configdirs
="${build_configdirs} $i"
6482 configdirs_all
="$configdirs"
6484 for i
in ${configdirs_all} ; do
6485 if test -f ${srcdir}/$i/configure
; then
6486 configdirs
="${configdirs} $i"
6490 target_configdirs_all
="$target_configdirs"
6492 for i
in ${target_configdirs_all} ; do
6493 j
=`echo $i | sed -e s/target-//g`
6494 if test -f ${srcdir}/$j/configure
; then
6495 target_configdirs
="${target_configdirs} $i"
6499 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6500 # so we have to add it after the preceding checks.
6501 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6503 case " $configdirs " in
6505 # If we can build libiberty, we can also build libiberty-linker-plugin.
6506 configdirs
="$configdirs libiberty-linker-plugin"
6507 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6508 --with-libiberty=../libiberty-linker-plugin";;
6510 as_fn_error
"libiberty missing" "$LINENO" 5;;
6514 # Sometimes we have special requirements for the host libiberty.
6515 extra_host_libiberty_configure_flags
=
6516 case " $configdirs " in
6517 *" lto-plugin "* |
*" libcc1 "*)
6518 # When these are to be built as shared libraries, the same applies to
6520 extra_host_libiberty_configure_flags
=--enable-shared
6525 # Produce a warning message for the subdirs we can't configure.
6526 # This isn't especially interesting in the Cygnus tree, but in the individual
6527 # FSF releases, it's important to let people know when their machine isn't
6528 # supported by the one or two programs in a package.
6530 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6531 # If $appdirs is non-empty, at least one of those directories must still
6532 # be configured, or we error out. (E.g., if the gas release supports a
6533 # specified target in some subdirs but not the gas subdir, we shouldn't
6534 # pretend that all is well.)
6535 if test -n "$appdirs" ; then
6536 for dir
in $appdirs ; do
6537 if test -r $dir/Makefile.
in ; then
6538 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6542 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6548 if test -n "$appdirs" ; then
6549 echo "*** This configuration is not supported by this package." 1>&2
6553 # Okay, some application will build, or we don't care to check. Still
6554 # notify of subdirs not getting built.
6555 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6556 echo " ${notsupp}" 1>&2
6557 echo " (Any other directories should still work fine.)" 1>&2
6565 # To find our prefix, in gcc_cv_tool_prefix.
6567 # The user is always right.
6568 if test "${PATH_SEPARATOR+set}" != set; then
6569 echo "#! /bin/sh" >conf$$.sh
6570 echo "exit 0" >>conf$$.sh
6572 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6582 if test "x$exec_prefix" = xNONE
; then
6583 if test "x$prefix" = xNONE
; then
6584 gcc_cv_tool_prefix
=$ac_default_prefix
6586 gcc_cv_tool_prefix
=$prefix
6589 gcc_cv_tool_prefix
=$exec_prefix
6592 # If there is no compiler in the tree, use the PATH only. In any
6593 # case, if there is no compiler in the tree nobody should use
6594 # AS_FOR_TARGET and LD_FOR_TARGET.
6595 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6596 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6597 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6598 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6599 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6600 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6601 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6602 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6607 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6608 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6616 # Check whether --with-build-sysroot was given.
6617 if test "${with_build_sysroot+set}" = set; then :
6618 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6619 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6622 SYSROOT_CFLAGS_FOR_TARGET
=
6628 # Check whether --with-debug-prefix-map was given.
6629 if test "${with_debug_prefix_map+set}" = set; then :
6630 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6631 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6632 for debug_map
in $withval; do
6633 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6637 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6642 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6643 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6644 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6645 # We want to ensure that TARGET libraries (which we know are built with
6646 # gcc) are built with "-O2 -g", so include those options when setting
6647 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6648 if test "x$CFLAGS_FOR_TARGET" = x
; then
6649 CFLAGS_FOR_TARGET
=$CFLAGS
6652 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6655 *" -g "* |
*" -g3 "*) ;;
6656 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6661 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6662 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6663 case " $CXXFLAGS " in
6665 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6667 case " $CXXFLAGS " in
6668 *" -g "* |
*" -g3 "*) ;;
6669 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6676 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6677 # the named directory are copied to $(tooldir)/sys-include.
6678 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6679 if test x
${is_cross_compiler} = xno
; then
6680 echo 1>&2 '***' --with-headers is only supported when cross compiling
6683 if test x
"${with_headers}" != xyes
; then
6684 x
=${gcc_cv_tool_prefix}
6685 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6689 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6690 # the name directories are copied to $(tooldir)/lib. Multiple directories
6692 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6693 if test x
${is_cross_compiler} = xno
; then
6694 echo 1>&2 '***' --with-libs is only supported when cross compiling
6697 if test x
"${with_libs}" != xyes
; then
6698 # Copy the libraries in reverse order, so that files in the first named
6699 # library override files in subsequent libraries.
6700 x
=${gcc_cv_tool_prefix}
6701 for l
in ${with_libs}; do
6702 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6707 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6709 # This is done by determining whether or not the appropriate directory
6710 # is available, and by checking whether or not specific configurations
6711 # have requested that this magic not happen.
6713 # The command line options always override the explicit settings in
6714 # configure.in, and the settings in configure.in override this magic.
6716 # If the default for a toolchain is to use GNU as and ld, and you don't
6717 # want to do that, then you should use the --without-gnu-as and
6718 # --without-gnu-ld options for the configure script. Similarly, if
6719 # the default is to use the included zlib and you don't want to do that,
6720 # you should use the --with-system-zlib option for the configure script.
6722 if test x
${use_gnu_as} = x
&&
6723 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6725 extra_host_args
="$extra_host_args --with-gnu-as"
6728 if test x
${use_gnu_ld} = x
&&
6729 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6731 extra_host_args
="$extra_host_args --with-gnu-ld"
6734 if test x
${use_included_zlib} = x
&&
6735 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6738 with_system_zlib
=yes
6739 extra_host_args
="$extra_host_args --with-system-zlib"
6742 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6743 # can detect this case.
6745 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6747 extra_host_args
="$extra_host_args --with-newlib"
6750 # Handle ${copy_dirs}
6751 set fnord
${copy_dirs}
6753 while test $# != 0 ; do
6754 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6757 echo Copying
$1 to
$2
6759 # Use the install script to create the directory and all required
6760 # parent directories.
6761 if test -d $2 ; then
6765 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6768 # Copy the directory, assuming we have tar.
6769 # FIXME: Should we use B in the second tar? Not all systems support it.
6770 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6772 # It is the responsibility of the user to correctly adjust all
6773 # symlinks. If somebody can figure out how to handle them correctly
6774 # here, feel free to add the code.
6781 # Determine a target-dependent exec_prefix that the installed
6782 # gcc will search in. Keep this list sorted by triplet, with
6783 # the *-*-osname triplets last.
6786 i
[34567]86-pc-msdosdjgpp*)
6787 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6792 md_exec_prefix
=/usr
/ccs
/bin
6796 extra_arflags_for_target
=
6797 extra_nmflags_for_target
=
6798 extra_ranlibflags_for_target
=
6799 target_makefile_frag
=/dev
/null
6802 target_makefile_frag
="config/mt-spu"
6804 mips
*-sde-elf* | mips
*-mti-elf*)
6805 target_makefile_frag
="config/mt-sde"
6807 mipsisa
*-*-elfoabi*)
6808 target_makefile_frag
="config/mt-mips-elfoabi"
6810 mips
*-*-*linux
* | mips
*-*-gnu*)
6811 target_makefile_frag
="config/mt-mips-gnu"
6814 target_makefile_frag
="config/mt-nios2-elf"
6816 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6817 target_makefile_frag
="config/mt-gnu"
6819 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6820 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6821 # commands to handle both 32-bit and 64-bit objects. These flags are
6822 # harmless if we're using GNU nm or ar.
6823 extra_arflags_for_target
=" -X32_64"
6824 extra_nmflags_for_target
=" -B -X32_64"
6828 alphaieee_frag
=/dev
/null
6831 # This just makes sure to use the -mieee option to build target libs.
6832 # This should probably be set individually by each library.
6833 alphaieee_frag
="config/mt-alphaieee"
6837 # If --enable-target-optspace always use -Os instead of -O2 to build
6838 # the target libraries, similarly if it is not specified, use -Os
6839 # on selected platforms.
6840 ospace_frag
=/dev
/null
6841 case "${enable_target_optspace}:${target}" in
6843 ospace_frag
="config/mt-ospace"
6846 ospace_frag
="config/mt-d30v"
6848 :m32r-
* |
:d10v-
* |
:fr30-
*)
6849 ospace_frag
="config/mt-ospace"
6854 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6858 # Some systems (e.g., one of the i386-aix systems the gas testers are
6859 # using) don't handle "\$" correctly, so don't use it here.
6860 tooldir
='${exec_prefix}'/${target_noncanonical}
6861 build_tooldir
=${tooldir}
6863 # Create a .gdbinit file which runs the one in srcdir
6864 # and tells GDB to look there for source files.
6866 if test -r ${srcdir}/.gdbinit
; then
6869 *) cat > .
/.gdbinit
<<EOF
6873 source ${srcdir}/.gdbinit
6879 # Make sure that the compiler is able to generate an executable. If it
6880 # can't, we are probably in trouble. We don't care whether we can run the
6881 # executable--we might be using a cross compiler--we only care whether it
6882 # can be created. At this point the main configure script has set CC.
6884 echo "int main () { return 0; }" > conftest.c
6885 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6886 if test $?
= 0 ; then
6887 if test -s conftest ||
test -s conftest.exe
; then
6893 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6894 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6901 # Decide which environment variable is used to find dynamic libraries.
6903 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6904 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6905 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6906 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6909 # On systems where the dynamic library environment variable is PATH,
6910 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6911 # built executables to PATH.
6912 if test "$RPATH_ENVVAR" = PATH
; then
6913 GCC_SHLIB_SUBDIR
=/shlib
6918 # Adjust the toplevel makefile according to whether bootstrap was selected.
6919 case $enable_bootstrap in
6921 bootstrap_suffix
=bootstrap
6922 BUILD_CONFIG
=bootstrap-debug
6925 bootstrap_suffix
=no-bootstrap
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6931 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6934 # Check whether --with-build-config was given.
6935 if test "${with_build_config+set}" = set; then :
6936 withval
=$with_build_config; case $with_build_config in
6937 yes) with_build_config
= ;;
6938 no
) with_build_config
= BUILD_CONFIG
= ;;
6943 if test "x${with_build_config}" != x
; then
6944 BUILD_CONFIG
=$with_build_config
6946 case $BUILD_CONFIG in
6948 if echo "int f (void) { return 0; }" > conftest.c
&&
6949 ${CC} -c conftest.c
&&
6950 mv conftest.o conftest.o.g0
&&
6951 ${CC} -c -g conftest.c
&&
6952 mv conftest.o conftest.o.g
&&
6953 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6958 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6963 $as_echo "$BUILD_CONFIG" >&6; }
6966 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6968 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6969 # Check whether --enable-vtable-verify was given.
6970 if test "${enable_vtable_verify+set}" = set; then :
6971 enableval
=$enable_vtable_verify; case "$enableval" in
6972 yes) enable_vtable_verify
=yes ;;
6973 no
) enable_vtable_verify
=no
;;
6974 *) enable_vtable_verify
=no
;;
6977 enable_vtable_verify
=no
6980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6981 $as_echo "$enable_vtable_verify" >&6; }
6983 # Record target_configdirs and the configure arguments for target and
6984 # build configuration in Makefile.
6985 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6986 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6987 bootstrap_fixincludes
=no
6989 # If we are building libgomp, bootstrap it.
6990 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6991 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6994 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
6995 # or bootstrap-ubsan, bootstrap it.
6996 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
6997 case "$BUILD_CONFIG" in
6998 *bootstrap-asan
* |
*bootstrap-ubsan
* )
6999 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7000 bootstrap_fixincludes
=yes
7005 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7006 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7007 test "$enable_vtable_verify" != no
; then
7008 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7011 # Determine whether gdb needs tk/tcl or not.
7012 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7013 # and in that case we want gdb to be built without tk. Ugh!
7014 # In fact I believe gdb is the *only* package directly dependent on tk,
7015 # so we should be able to put the 'maybe's in unconditionally and
7016 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7017 # 100% sure that that's safe though.
7019 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7020 case "$enable_gdbtk" in
7024 GDB_TK
="${gdb_tk}" ;;
7026 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7027 # distro. Eventually someone will fix this and move Insight, nee
7028 # gdbtk to a separate directory.
7029 if test -d ${srcdir}/gdb
/gdbtk
; then
7036 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7037 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7039 # Strip out unwanted targets.
7041 # While at that, we remove Makefiles if we were started for recursive
7042 # configuration, so that the top-level Makefile reconfigures them,
7043 # like we used to do when configure itself was recursive.
7045 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7046 # but now we're fixing up the Makefile ourselves with the additional
7047 # commands passed to AC_CONFIG_FILES. Use separate variables
7048 # extrasub-{build,host,target} not because there is any reason to split
7049 # the substitutions up that way, but only to remain below the limit of
7050 # 99 commands in a script, for HP-UX sed.
7051 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7053 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7054 yes:yes:*\ gold\
*:*,c
++,*) ;;
7055 yes:yes:*\ gold\
*:*)
7056 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7061 for module
in ${build_configdirs} ; do
7062 if test -z "${no_recursion}" \
7063 && test -f ${build_subdir}/${module}/Makefile
; then
7064 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7065 rm -f ${build_subdir}/${module}/Makefile
7067 extrasub_build
="$extrasub_build
7068 /^@if build-$module\$/d
7069 /^@endif build-$module\$/d
7070 /^@if build-$module-$bootstrap_suffix\$/d
7071 /^@endif build-$module-$bootstrap_suffix\$/d"
7074 for module
in ${configdirs} ; do
7075 if test -z "${no_recursion}"; then
7076 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7077 if test -f ${file}; then
7078 echo 1>&2 "*** removing ${file} to force reconfigure"
7083 case ${module},${bootstrap_fixincludes} in
7084 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7085 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7087 extrasub_host
="$extrasub_host
7089 /^@endif $module\$/d
7090 /^@if $module-$host_bootstrap_suffix\$/d
7091 /^@endif $module-$host_bootstrap_suffix\$/d"
7094 for module
in ${target_configdirs} ; do
7095 if test -z "${no_recursion}" \
7096 && test -f ${target_subdir}/${module}/Makefile
; then
7097 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7098 rm -f ${target_subdir}/${module}/Makefile
7101 # We only bootstrap target libraries listed in bootstrap_target_libs.
7102 case $bootstrap_target_libs in
7103 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7104 *) target_bootstrap_suffix
=no-bootstrap
;;
7107 extrasub_target
="$extrasub_target
7108 /^@if target-$module\$/d
7109 /^@endif target-$module\$/d
7110 /^@if target-$module-$target_bootstrap_suffix\$/d
7111 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7114 # Do the final fixup along with target modules.
7115 extrasub_target
="$extrasub_target
7116 /^@if /,/^@endif /d"
7118 # Create the serialization dependencies. This uses a temporary file.
7120 # Check whether --enable-serial-configure was given.
7121 if test "${enable_serial_configure+set}" = set; then :
7122 enableval
=$enable_serial_configure;
7126 case ${enable_serial_configure} in
7128 enable_serial_build_configure
=yes
7129 enable_serial_host_configure
=yes
7130 enable_serial_target_configure
=yes
7134 # These force 'configure's to be done one at a time, to avoid problems
7135 # with contention over a shared config.cache.
7137 echo '# serdep.tmp' > serdep.tmp
7139 test "x${enable_serial_build_configure}" = xyes
&&
7140 for item
in ${build_configdirs} ; do
7143 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7148 test "x${enable_serial_host_configure}" = xyes
&&
7149 for item
in ${configdirs} ; do
7152 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7157 test "x${enable_serial_target_configure}" = xyes
&&
7158 for item
in ${target_configdirs} ; do
7161 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7165 serialization_dependencies
=serdep.tmp
7168 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7169 # target, nonopt, and variable assignments. These are the ones we
7170 # might not want to pass down to subconfigures. The exception being
7171 # --cache-file=/dev/null, which is used to turn off the use of cache
7172 # files altogether, and which should be passed on to subconfigures.
7173 # Also strip program-prefix, program-suffix, and program-transform-name,
7174 # so that we can pass down a consistent program-transform-name.
7179 eval "set -- $ac_configure_args"
7182 if test X
"$skip_next" = X
"yes"; then
7186 if test X
"$keep_next" = X
"yes"; then
7189 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7191 baseargs
="$baseargs '$ac_arg'"
7192 tbaseargs
="$tbaseargs '$ac_arg'"
7197 # Handle separated arguments. Based on the logic generated by
7200 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7201 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7202 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7203 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7217 --with-* |
--without-*)
7218 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7222 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7225 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7234 mpc | mpfr | gmp | isl
)
7235 # If we're processing --with-$lib, --with-$lib-include or
7236 # --with-$lib-lib, for one of the libs above, and target is
7237 # different from host, don't pass the current argument to any
7238 # target library's configure.
7239 if test x
$is_cross_compiler = xyes
; then
7248 --cache-file=/dev
/null | \
7249 -cache-file=/dev
/null
)
7250 # Handled here to avoid the test to skip args below.
7251 baseargs
="$baseargs '$ac_arg'"
7252 tbaseargs
="$tbaseargs '$ac_arg'"
7253 # Assert: $separate_arg should always be no.
7254 keep_next
=$separate_arg
7270 -program-prefix* | \
7271 -program-suffix* | \
7272 -program-transform-name* )
7273 skip_next
=$separate_arg
7277 # An option. Add it.
7280 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7282 baseargs
="$baseargs '$ac_arg'"
7283 if test X
"$skip_targ" = Xno
; then
7284 tbaseargs
="$tbaseargs '$ac_arg'"
7286 keep_next
=$separate_arg
7289 # Either a variable assignment, or a nonopt (triplet). Don't
7290 # pass it down; let the Makefile handle this.
7295 # Remove the initial space we just introduced and, as these will be
7296 # expanded by make, quote '$'.
7297 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7299 # Add in --program-transform-name, after --program-prefix and
7300 # --program-suffix have been applied to it. Autoconf has already
7301 # doubled dollar signs and backslashes in program_transform_name; we want
7302 # the backslashes un-doubled, and then the entire thing wrapped in single
7303 # quotes, because this will be expanded first by make and then by the shell.
7304 # Also, because we want to override the logic in subdir configure scripts to
7305 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7306 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7307 ${program_transform_name}
7309 gcc_transform_name
=`cat conftestsed.out`
7310 rm -f conftestsed.out
7311 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7312 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7313 if test "$silent" = yes; then
7314 baseargs
="$baseargs --silent"
7315 tbaseargs
="$tbaseargs --silent"
7317 baseargs
="$baseargs --disable-option-checking"
7318 tbaseargs
="$tbaseargs --disable-option-checking"
7320 # Record and document user additions to sub configure arguments.
7325 # For the build-side libraries, we just need to pretend we're native,
7326 # and not use the same cache file. Multilibs are neither needed nor
7327 # desired. We can't even use the same cache file for all build-side
7328 # libraries, as they're compiled differently; some with C, some with
7329 # C++ or with different feature-enabling options.
7330 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7332 # For host modules, accept cache file option, or specification as blank.
7333 case "${cache_file}" in
7335 cache_file_option
="" ;;
7336 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7337 cache_file_option
="--cache-file=${cache_file}" ;;
7339 cache_file_option
="--cache-file=../${cache_file}" ;;
7342 # Host dirs don't like to share a cache file either, horribly enough.
7343 # This seems to be due to autoconf 2.5x stupidity.
7344 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7346 target_configargs
="$target_configargs ${tbaseargs}"
7348 # Passing a --with-cross-host argument lets the target libraries know
7349 # whether they are being built with a cross-compiler or being built
7350 # native. However, it would be better to use other mechanisms to make the
7351 # sorts of decisions they want to make on this basis. Please consider
7352 # this option to be deprecated. FIXME.
7353 if test x
${is_cross_compiler} = xyes
; then
7354 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7357 # Special user-friendly check for native x86_64-linux build, if
7358 # multilib is not explicitly enabled.
7359 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7360 x86_64-
*linux
*:yes:$build:$build:)
7361 # Make sure we have a developement environment that handles 32-bit
7363 echo "int main () { return 0; }" > conftest.c
7364 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7365 if test $?
= 0 ; then
7366 if test -s conftest ||
test -s conftest.exe
; then
7371 if test x
${dev64} != xyes
; then
7372 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
7377 # Default to --enable-multilib.
7378 if test x
${enable_multilib} = x
; then
7379 target_configargs
="--enable-multilib ${target_configargs}"
7382 # Pass --with-newlib if appropriate. Note that target_configdirs has
7383 # changed from the earlier setting of with_newlib.
7384 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7385 target_configargs
="--with-newlib ${target_configargs}"
7388 # Different target subdirs use different values of certain variables
7389 # (notably CXX). Worse, multilibs use *lots* of different values.
7390 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7391 # it doesn't automatically accept command-line overrides of them.
7392 # This means it's not safe for target subdirs to share a cache file,
7393 # which is disgusting, but there you have it. Hopefully this can be
7394 # fixed in future. It's still worthwhile to use a cache file for each
7395 # directory. I think.
7397 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7398 # We need to pass --target, as newer autoconf's requires consistency
7399 # for target_alias and gcc doesn't manage it consistently.
7400 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7403 case " $target_configdirs " in
7405 case " $target_configargs " in
7406 *" --with-newlib "*)
7409 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7413 # If we're not building GCC, don't discard standard headers.
7414 if test -d ${srcdir}/gcc
; then
7415 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7417 if test "${build}" != "${host}"; then
7418 # On Canadian crosses, CC_FOR_TARGET will have already been set
7419 # by `configure', so we won't have an opportunity to add -Bgcc/
7420 # to it. This is right: we don't want to search that directory
7421 # for binaries, but we want the header files in there, so add
7423 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7425 # Someone might think of using the pre-installed headers on
7426 # Canadian crosses, in case the installed compiler is not fully
7427 # compatible with the compiler being built. In this case, it
7428 # would be better to flag an error than risking having
7429 # incompatible object files being constructed. We can't
7430 # guarantee that an error will be flagged, but let's hope the
7431 # compiler will do it, when presented with incompatible header
7436 case "${target}-${is_cross_compiler}" in
7437 i
[3456789]86-*-linux*-no)
7438 # Here host == target, so we don't need to build gcc,
7439 # so we don't want to discard standard headers.
7440 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7443 # If we're building newlib, use its generic headers last, but search
7444 # for any libc-related directories first (so make it the last -B
7446 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7448 # If we're building libgloss, find the startup file, simulator library
7449 # and linker script.
7450 case " $target_configdirs " in
7452 # Look for startup file, simulator library and maybe linker script.
7453 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7454 # Look for libnosys.a in case the target needs it.
7455 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7456 # Most targets have the linker script in the source directory.
7457 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7468 x86_64-
*mingw
* |
*-w64-mingw*)
7469 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7470 # however, use a symlink named 'mingw' in ${prefix} .
7471 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7474 # MinGW can't be handled as Cygwin above since it does not use newlib.
7475 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'
7479 # Allow the user to override the flags for
7480 # our build compiler if desired.
7481 if test x
"${build}" = x
"${host}" ; then
7482 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7483 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7484 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7487 # On Canadian crosses, we'll be searching the right directories for
7488 # the previously-installed cross compiler, so don't bother to add
7489 # flags for directories within the install tree of the compiler
7490 # being built; programs in there won't even run.
7491 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7492 # Search for pre-installed headers if nothing else fits.
7493 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7496 if test "x
${use_gnu_ld}" = x &&
7497 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7498 # Arrange for us to find uninstalled linker scripts.
7499 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7502 # Search for other target-specific linker scripts and such.
7505 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7509 # Makefile fragments.
7510 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7512 eval fragval=\$$frag
7513 if test $fragval != /dev/null; then
7514 eval $frag=${srcdir}/$fragval
7522 # Miscellanea: directories, flags, etc.
7531 # Build module lists & subconfigure args.
7535 # Host module lists & subconfigure args.
7540 # Target module lists & subconfigure args.
7562 # Generate default definitions for YACC, M4, LEX and other programs that run
7563 # on the build machine. These are used if the Makefile can't locate these
7564 # programs in objdir.
7565 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7567 for ac_prog in 'bison -y' byacc yacc
7569 # Extract the first word of "$ac_prog", so it can be a program name with args.
7570 set dummy $ac_prog; ac_word=$2
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7572 $as_echo_n "checking
for $ac_word...
" >&6; }
7573 if test "${ac_cv_prog_YACC+set}" = set; then :
7574 $as_echo_n "(cached
) " >&6
7576 if test -n "$YACC"; then
7577 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 test -z "$as_dir" && as_dir=.
7584 for ac_exec_ext in '' $ac_executable_extensions; do
7585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586 ac_cv_prog_YACC="$ac_prog"
7587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7596 YACC=$ac_cv_prog_YACC
7597 if test -n "$YACC"; then
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7599 $as_echo "$YACC" >&6; }
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7602 $as_echo "no
" >&6; }
7606 test -n "$YACC" && break
7608 test -n "$YACC" || YACC="$MISSING bison
-y"
7610 case " $build_configdirs " in
7611 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7614 for ac_prog in bison
7616 # Extract the first word of "$ac_prog", so it can be a program name with args.
7617 set dummy $ac_prog; ac_word=$2
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7619 $as_echo_n "checking
for $ac_word...
" >&6; }
7620 if test "${ac_cv_prog_BISON+set}" = set; then :
7621 $as_echo_n "(cached
) " >&6
7623 if test -n "$BISON"; then
7624 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 test -z "$as_dir" && as_dir=.
7631 for ac_exec_ext in '' $ac_executable_extensions; do
7632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7633 ac_cv_prog_BISON="$ac_prog"
7634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7643 BISON=$ac_cv_prog_BISON
7644 if test -n "$BISON"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7646 $as_echo "$BISON" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7649 $as_echo "no
" >&6; }
7653 test -n "$BISON" && break
7655 test -n "$BISON" || BISON="$MISSING bison
"
7657 case " $build_configdirs " in
7658 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7661 for ac_prog in gm4 gnum4 m4
7663 # Extract the first word of "$ac_prog", so it can be a program name with args.
7664 set dummy $ac_prog; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7666 $as_echo_n "checking
for $ac_word...
" >&6; }
7667 if test "${ac_cv_prog_M4+set}" = set; then :
7668 $as_echo_n "(cached
) " >&6
7670 if test -n "$M4"; then
7671 ac_cv_prog_M4="$M4" # Let the user override the test.
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_M4="$ac_prog"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7691 if test -n "$M4"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7693 $as_echo "$M4" >&6; }
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7696 $as_echo "no
" >&6; }
7700 test -n "$M4" && break
7702 test -n "$M4" || M4="$MISSING m4"
7704 case " $build_configdirs " in
7705 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7708 for ac_prog in flex lex
7710 # Extract the first word of "$ac_prog", so it can be a program name with args.
7711 set dummy $ac_prog; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7713 $as_echo_n "checking
for $ac_word...
" >&6; }
7714 if test "${ac_cv_prog_LEX+set}" = set; then :
7715 $as_echo_n "(cached
) " >&6
7717 if test -n "$LEX"; then
7718 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7727 ac_cv_prog_LEX="$ac_prog"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7738 if test -n "$LEX"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7740 $as_echo "$LEX" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7743 $as_echo "no
" >&6; }
7747 test -n "$LEX" && break
7749 test -n "$LEX" || LEX="$MISSING flex
"
7751 case " $build_configdirs " in
7752 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7753 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7758 # Extract the first word of "$ac_prog", so it can be a program name with args.
7759 set dummy $ac_prog; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7761 $as_echo_n "checking
for $ac_word...
" >&6; }
7762 if test "${ac_cv_prog_FLEX+set}" = set; then :
7763 $as_echo_n "(cached
) " >&6
7765 if test -n "$FLEX"; then
7766 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_FLEX="$ac_prog"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7785 FLEX=$ac_cv_prog_FLEX
7786 if test -n "$FLEX"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7788 $as_echo "$FLEX" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7791 $as_echo "no
" >&6; }
7795 test -n "$FLEX" && break
7797 test -n "$FLEX" || FLEX="$MISSING flex
"
7799 case " $build_configdirs " in
7800 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7803 for ac_prog in makeinfo
7805 # Extract the first word of "$ac_prog", so it can be a program name with args.
7806 set dummy $ac_prog; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7808 $as_echo_n "checking
for $ac_word...
" >&6; }
7809 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7810 $as_echo_n "(cached
) " >&6
7812 if test -n "$MAKEINFO"; then
7813 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822 ac_cv_prog_MAKEINFO="$ac_prog"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7832 MAKEINFO=$ac_cv_prog_MAKEINFO
7833 if test -n "$MAKEINFO"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7835 $as_echo "$MAKEINFO" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7838 $as_echo "no
" >&6; }
7842 test -n "$MAKEINFO" && break
7844 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7846 case " $build_configdirs " in
7847 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7850 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7851 # higher, else we use the "missing
" dummy.
7852 if ${MAKEINFO} --version \
7853 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7856 MAKEINFO="$MISSING makeinfo
"
7862 # FIXME: expect and dejagnu may become build tools?
7864 for ac_prog in expect
7866 # Extract the first word of "$ac_prog", so it can be a program name with args.
7867 set dummy $ac_prog; ac_word=$2
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7869 $as_echo_n "checking
for $ac_word...
" >&6; }
7870 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7871 $as_echo_n "(cached
) " >&6
7873 if test -n "$EXPECT"; then
7874 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7880 test -z "$as_dir" && as_dir=.
7881 for ac_exec_ext in '' $ac_executable_extensions; do
7882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7883 ac_cv_prog_EXPECT="$ac_prog"
7884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7893 EXPECT=$ac_cv_prog_EXPECT
7894 if test -n "$EXPECT"; then
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7896 $as_echo "$EXPECT" >&6; }
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7899 $as_echo "no
" >&6; }
7903 test -n "$EXPECT" && break
7905 test -n "$EXPECT" || EXPECT="expect
"
7907 case " $configdirs " in
7909 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7913 for ac_prog in runtest
7915 # Extract the first word of "$ac_prog", so it can be a program name with args.
7916 set dummy $ac_prog; ac_word=$2
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7918 $as_echo_n "checking
for $ac_word...
" >&6; }
7919 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7920 $as_echo_n "(cached
) " >&6
7922 if test -n "$RUNTEST"; then
7923 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7929 test -z "$as_dir" && as_dir=.
7930 for ac_exec_ext in '' $ac_executable_extensions; do
7931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7932 ac_cv_prog_RUNTEST="$ac_prog"
7933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7942 RUNTEST=$ac_cv_prog_RUNTEST
7943 if test -n "$RUNTEST"; then
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7945 $as_echo "$RUNTEST" >&6; }
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7948 $as_echo "no
" >&6; }
7952 test -n "$RUNTEST" && break
7954 test -n "$RUNTEST" || RUNTEST="runtest
"
7956 case " $configdirs " in
7958 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7965 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7966 ncn_target_tool_prefix=
7967 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7971 if test -n "$AR"; then
7973 elif test -n "$ac_cv_prog_AR"; then
7977 if test -n "$ac_cv_prog_AR"; then
7978 for ncn_progname in ar; do
7979 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7980 set dummy ${ncn_progname}; ac_word=$2
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7982 $as_echo_n "checking
for $ac_word...
" >&6; }
7983 if test "${ac_cv_prog_AR+set}" = set; then :
7984 $as_echo_n "(cached
) " >&6
7986 if test -n "$AR"; then
7987 ac_cv_prog_AR="$AR" # Let the user override the test.
7989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993 test -z "$as_dir" && as_dir=.
7994 for ac_exec_ext in '' $ac_executable_extensions; do
7995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7996 ac_cv_prog_AR="${ncn_progname}"
7997 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8007 if test -n "$AR"; then
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8009 $as_echo "$AR" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8012 $as_echo "no
" >&6; }
8019 for ncn_progname in ar; do
8020 if test -n "$ncn_tool_prefix"; then
8021 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8022 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8024 $as_echo_n "checking
for $ac_word...
" >&6; }
8025 if test "${ac_cv_prog_AR+set}" = set; then :
8026 $as_echo_n "(cached
) " >&6
8028 if test -n "$AR"; then
8029 ac_cv_prog_AR="$AR" # Let the user override the test.
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8038 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8049 if test -n "$AR"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8051 $as_echo "$AR" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8054 $as_echo "no
" >&6; }
8059 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8060 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8061 set dummy ${ncn_progname}; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8063 $as_echo_n "checking
for $ac_word...
" >&6; }
8064 if test "${ac_cv_prog_AR+set}" = set; then :
8065 $as_echo_n "(cached
) " >&6
8067 if test -n "$AR"; then
8068 ac_cv_prog_AR="$AR" # Let the user override the test.
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8077 ac_cv_prog_AR="${ncn_progname}"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8088 if test -n "$AR"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8090 $as_echo "$AR" >&6; }
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8093 $as_echo "no
" >&6; }
8098 test -n "$ac_cv_prog_AR" && break
8101 if test -z "$ac_cv_prog_AR" ; then
8103 if test $build = $host ; then
8106 AR="${ncn_tool_prefix}$2"
8112 if test -n "$AS"; then
8114 elif test -n "$ac_cv_prog_AS"; then
8118 if test -n "$ac_cv_prog_AS"; then
8119 for ncn_progname in as; do
8120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8121 set dummy ${ncn_progname}; ac_word=$2
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8123 $as_echo_n "checking
for $ac_word...
" >&6; }
8124 if test "${ac_cv_prog_AS+set}" = set; then :
8125 $as_echo_n "(cached
) " >&6
8127 if test -n "$AS"; then
8128 ac_cv_prog_AS="$AS" # Let the user override the test.
8130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir=.
8135 for ac_exec_ext in '' $ac_executable_extensions; do
8136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8137 ac_cv_prog_AS="${ncn_progname}"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8148 if test -n "$AS"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8150 $as_echo "$AS" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8153 $as_echo "no
" >&6; }
8160 for ncn_progname in as; do
8161 if test -n "$ncn_tool_prefix"; then
8162 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8163 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8165 $as_echo_n "checking
for $ac_word...
" >&6; }
8166 if test "${ac_cv_prog_AS+set}" = set; then :
8167 $as_echo_n "(cached
) " >&6
8169 if test -n "$AS"; then
8170 ac_cv_prog_AS="$AS" # Let the user override the test.
8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8176 test -z "$as_dir" && as_dir=.
8177 for ac_exec_ext in '' $ac_executable_extensions; do
8178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8179 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8190 if test -n "$AS"; then
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8192 $as_echo "$AS" >&6; }
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8195 $as_echo "no
" >&6; }
8200 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8201 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8202 set dummy ${ncn_progname}; ac_word=$2
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8204 $as_echo_n "checking
for $ac_word...
" >&6; }
8205 if test "${ac_cv_prog_AS+set}" = set; then :
8206 $as_echo_n "(cached
) " >&6
8208 if test -n "$AS"; then
8209 ac_cv_prog_AS="$AS" # Let the user override the test.
8211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8215 test -z "$as_dir" && as_dir=.
8216 for ac_exec_ext in '' $ac_executable_extensions; do
8217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8218 ac_cv_prog_AS="${ncn_progname}"
8219 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8229 if test -n "$AS"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8231 $as_echo "$AS" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8234 $as_echo "no
" >&6; }
8239 test -n "$ac_cv_prog_AS" && break
8242 if test -z "$ac_cv_prog_AS" ; then
8244 if test $build = $host ; then
8247 AS="${ncn_tool_prefix}$2"
8253 if test -n "$DLLTOOL"; then
8254 ac_cv_prog_DLLTOOL=$DLLTOOL
8255 elif test -n "$ac_cv_prog_DLLTOOL"; then
8256 DLLTOOL=$ac_cv_prog_DLLTOOL
8259 if test -n "$ac_cv_prog_DLLTOOL"; then
8260 for ncn_progname in dlltool; do
8261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8262 set dummy ${ncn_progname}; ac_word=$2
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8264 $as_echo_n "checking
for $ac_word...
" >&6; }
8265 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8266 $as_echo_n "(cached
) " >&6
8268 if test -n "$DLLTOOL"; then
8269 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8275 test -z "$as_dir" && as_dir=.
8276 for ac_exec_ext in '' $ac_executable_extensions; do
8277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8278 ac_cv_prog_DLLTOOL="${ncn_progname}"
8279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8288 DLLTOOL=$ac_cv_prog_DLLTOOL
8289 if test -n "$DLLTOOL"; then
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8291 $as_echo "$DLLTOOL" >&6; }
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8294 $as_echo "no
" >&6; }
8301 for ncn_progname in dlltool; do
8302 if test -n "$ncn_tool_prefix"; then
8303 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8304 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8306 $as_echo_n "checking
for $ac_word...
" >&6; }
8307 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8308 $as_echo_n "(cached
) " >&6
8310 if test -n "$DLLTOOL"; then
8311 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8317 test -z "$as_dir" && as_dir=.
8318 for ac_exec_ext in '' $ac_executable_extensions; do
8319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8320 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8330 DLLTOOL=$ac_cv_prog_DLLTOOL
8331 if test -n "$DLLTOOL"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8333 $as_echo "$DLLTOOL" >&6; }
8335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8336 $as_echo "no
" >&6; }
8341 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8342 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8343 set dummy ${ncn_progname}; ac_word=$2
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8345 $as_echo_n "checking
for $ac_word...
" >&6; }
8346 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8347 $as_echo_n "(cached
) " >&6
8349 if test -n "$DLLTOOL"; then
8350 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 test -z "$as_dir" && as_dir=.
8357 for ac_exec_ext in '' $ac_executable_extensions; do
8358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8359 ac_cv_prog_DLLTOOL="${ncn_progname}"
8360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8369 DLLTOOL=$ac_cv_prog_DLLTOOL
8370 if test -n "$DLLTOOL"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8372 $as_echo "$DLLTOOL" >&6; }
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8375 $as_echo "no
" >&6; }
8380 test -n "$ac_cv_prog_DLLTOOL" && break
8383 if test -z "$ac_cv_prog_DLLTOOL" ; then
8385 if test $build = $host ; then
8388 DLLTOOL="${ncn_tool_prefix}$2"
8394 if test -n "$LD"; then
8396 elif test -n "$ac_cv_prog_LD"; then
8400 if test -n "$ac_cv_prog_LD"; then
8401 for ncn_progname in ld; do
8402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8403 set dummy ${ncn_progname}; ac_word=$2
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8405 $as_echo_n "checking
for $ac_word...
" >&6; }
8406 if test "${ac_cv_prog_LD+set}" = set; then :
8407 $as_echo_n "(cached
) " >&6
8409 if test -n "$LD"; then
8410 ac_cv_prog_LD="$LD" # Let the user override the test.
8412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir=.
8417 for ac_exec_ext in '' $ac_executable_extensions; do
8418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8419 ac_cv_prog_LD="${ncn_progname}"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8430 if test -n "$LD"; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8432 $as_echo "$LD" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8435 $as_echo "no
" >&6; }
8442 for ncn_progname in ld; do
8443 if test -n "$ncn_tool_prefix"; then
8444 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8445 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8447 $as_echo_n "checking
for $ac_word...
" >&6; }
8448 if test "${ac_cv_prog_LD+set}" = set; then :
8449 $as_echo_n "(cached
) " >&6
8451 if test -n "$LD"; then
8452 ac_cv_prog_LD="$LD" # Let the user override the test.
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8461 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8472 if test -n "$LD"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8474 $as_echo "$LD" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8482 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8483 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8484 set dummy ${ncn_progname}; ac_word=$2
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8486 $as_echo_n "checking
for $ac_word...
" >&6; }
8487 if test "${ac_cv_prog_LD+set}" = set; then :
8488 $as_echo_n "(cached
) " >&6
8490 if test -n "$LD"; then
8491 ac_cv_prog_LD="$LD" # Let the user override the test.
8493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8497 test -z "$as_dir" && as_dir=.
8498 for ac_exec_ext in '' $ac_executable_extensions; do
8499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8500 ac_cv_prog_LD="${ncn_progname}"
8501 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8511 if test -n "$LD"; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8513 $as_echo "$LD" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8516 $as_echo "no
" >&6; }
8521 test -n "$ac_cv_prog_LD" && break
8524 if test -z "$ac_cv_prog_LD" ; then
8526 if test $build = $host ; then
8529 LD="${ncn_tool_prefix}$2"
8535 if test -n "$LIPO"; then
8536 ac_cv_prog_LIPO=$LIPO
8537 elif test -n "$ac_cv_prog_LIPO"; then
8538 LIPO=$ac_cv_prog_LIPO
8541 if test -n "$ac_cv_prog_LIPO"; then
8542 for ncn_progname in lipo; do
8543 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8544 set dummy ${ncn_progname}; ac_word=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8546 $as_echo_n "checking
for $ac_word...
" >&6; }
8547 if test "${ac_cv_prog_LIPO+set}" = set; then :
8548 $as_echo_n "(cached
) " >&6
8550 if test -n "$LIPO"; then
8551 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8560 ac_cv_prog_LIPO="${ncn_progname}"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8570 LIPO=$ac_cv_prog_LIPO
8571 if test -n "$LIPO"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8573 $as_echo "$LIPO" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8576 $as_echo "no
" >&6; }
8583 for ncn_progname in lipo; do
8584 if test -n "$ncn_tool_prefix"; then
8585 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8586 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8588 $as_echo_n "checking
for $ac_word...
" >&6; }
8589 if test "${ac_cv_prog_LIPO+set}" = set; then :
8590 $as_echo_n "(cached
) " >&6
8592 if test -n "$LIPO"; then
8593 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8612 LIPO=$ac_cv_prog_LIPO
8613 if test -n "$LIPO"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8615 $as_echo "$LIPO" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8618 $as_echo "no
" >&6; }
8623 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8624 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8625 set dummy ${ncn_progname}; ac_word=$2
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8627 $as_echo_n "checking
for $ac_word...
" >&6; }
8628 if test "${ac_cv_prog_LIPO+set}" = set; then :
8629 $as_echo_n "(cached
) " >&6
8631 if test -n "$LIPO"; then
8632 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8638 test -z "$as_dir" && as_dir=.
8639 for ac_exec_ext in '' $ac_executable_extensions; do
8640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8641 ac_cv_prog_LIPO="${ncn_progname}"
8642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8651 LIPO=$ac_cv_prog_LIPO
8652 if test -n "$LIPO"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8654 $as_echo "$LIPO" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8657 $as_echo "no
" >&6; }
8662 test -n "$ac_cv_prog_LIPO" && break
8665 if test -z "$ac_cv_prog_LIPO" ; then
8667 if test $build = $host ; then
8670 LIPO="${ncn_tool_prefix}$2"
8676 if test -n "$NM"; then
8678 elif test -n "$ac_cv_prog_NM"; then
8682 if test -n "$ac_cv_prog_NM"; then
8683 for ncn_progname in nm; do
8684 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8685 set dummy ${ncn_progname}; ac_word=$2
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8687 $as_echo_n "checking
for $ac_word...
" >&6; }
8688 if test "${ac_cv_prog_NM+set}" = set; then :
8689 $as_echo_n "(cached
) " >&6
8691 if test -n "$NM"; then
8692 ac_cv_prog_NM="$NM" # Let the user override the test.
8694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8698 test -z "$as_dir" && as_dir=.
8699 for ac_exec_ext in '' $ac_executable_extensions; do
8700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8701 ac_cv_prog_NM="${ncn_progname}"
8702 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8712 if test -n "$NM"; then
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8714 $as_echo "$NM" >&6; }
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8717 $as_echo "no
" >&6; }
8724 for ncn_progname in nm; do
8725 if test -n "$ncn_tool_prefix"; then
8726 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8727 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8729 $as_echo_n "checking
for $ac_word...
" >&6; }
8730 if test "${ac_cv_prog_NM+set}" = set; then :
8731 $as_echo_n "(cached
) " >&6
8733 if test -n "$NM"; then
8734 ac_cv_prog_NM="$NM" # Let the user override the test.
8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8740 test -z "$as_dir" && as_dir=.
8741 for ac_exec_ext in '' $ac_executable_extensions; do
8742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8743 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8754 if test -n "$NM"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8756 $as_echo "$NM" >&6; }
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8759 $as_echo "no
" >&6; }
8764 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8765 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8766 set dummy ${ncn_progname}; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8768 $as_echo_n "checking
for $ac_word...
" >&6; }
8769 if test "${ac_cv_prog_NM+set}" = set; then :
8770 $as_echo_n "(cached
) " >&6
8772 if test -n "$NM"; then
8773 ac_cv_prog_NM="$NM" # Let the user override the test.
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8779 test -z "$as_dir" && as_dir=.
8780 for ac_exec_ext in '' $ac_executable_extensions; do
8781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8782 ac_cv_prog_NM="${ncn_progname}"
8783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8793 if test -n "$NM"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8795 $as_echo "$NM" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8798 $as_echo "no
" >&6; }
8803 test -n "$ac_cv_prog_NM" && break
8806 if test -z "$ac_cv_prog_NM" ; then
8808 if test $build = $host ; then
8811 NM="${ncn_tool_prefix}$2"
8817 if test -n "$RANLIB"; then
8818 ac_cv_prog_RANLIB=$RANLIB
8819 elif test -n "$ac_cv_prog_RANLIB"; then
8820 RANLIB=$ac_cv_prog_RANLIB
8823 if test -n "$ac_cv_prog_RANLIB"; then
8824 for ncn_progname in ranlib; do
8825 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8826 set dummy ${ncn_progname}; ac_word=$2
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8828 $as_echo_n "checking
for $ac_word...
" >&6; }
8829 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8830 $as_echo_n "(cached
) " >&6
8832 if test -n "$RANLIB"; then
8833 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8839 test -z "$as_dir" && as_dir=.
8840 for ac_exec_ext in '' $ac_executable_extensions; do
8841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8842 ac_cv_prog_RANLIB="${ncn_progname}"
8843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8852 RANLIB=$ac_cv_prog_RANLIB
8853 if test -n "$RANLIB"; then
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8855 $as_echo "$RANLIB" >&6; }
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8858 $as_echo "no
" >&6; }
8865 for ncn_progname in ranlib; do
8866 if test -n "$ncn_tool_prefix"; then
8867 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8868 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8870 $as_echo_n "checking
for $ac_word...
" >&6; }
8871 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8872 $as_echo_n "(cached
) " >&6
8874 if test -n "$RANLIB"; then
8875 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8881 test -z "$as_dir" && as_dir=.
8882 for ac_exec_ext in '' $ac_executable_extensions; do
8883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8884 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8894 RANLIB=$ac_cv_prog_RANLIB
8895 if test -n "$RANLIB"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8897 $as_echo "$RANLIB" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8900 $as_echo "no
" >&6; }
8905 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8906 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8907 set dummy ${ncn_progname}; ac_word=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8909 $as_echo_n "checking
for $ac_word...
" >&6; }
8910 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8911 $as_echo_n "(cached
) " >&6
8913 if test -n "$RANLIB"; then
8914 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8920 test -z "$as_dir" && as_dir=.
8921 for ac_exec_ext in '' $ac_executable_extensions; do
8922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8923 ac_cv_prog_RANLIB="${ncn_progname}"
8924 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8933 RANLIB=$ac_cv_prog_RANLIB
8934 if test -n "$RANLIB"; then
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8936 $as_echo "$RANLIB" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8939 $as_echo "no
" >&6; }
8944 test -n "$ac_cv_prog_RANLIB" && break
8947 if test -z "$ac_cv_prog_RANLIB" ; then
8953 if test -n "$STRIP"; then
8954 ac_cv_prog_STRIP=$STRIP
8955 elif test -n "$ac_cv_prog_STRIP"; then
8956 STRIP=$ac_cv_prog_STRIP
8959 if test -n "$ac_cv_prog_STRIP"; then
8960 for ncn_progname in strip; do
8961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8962 set dummy ${ncn_progname}; ac_word=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8964 $as_echo_n "checking
for $ac_word...
" >&6; }
8965 if test "${ac_cv_prog_STRIP+set}" = set; then :
8966 $as_echo_n "(cached
) " >&6
8968 if test -n "$STRIP"; then
8969 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_prog_STRIP="${ncn_progname}"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8988 STRIP=$ac_cv_prog_STRIP
8989 if test -n "$STRIP"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8991 $as_echo "$STRIP" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8994 $as_echo "no
" >&6; }
9001 for ncn_progname in strip; do
9002 if test -n "$ncn_tool_prefix"; then
9003 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9004 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9006 $as_echo_n "checking
for $ac_word...
" >&6; }
9007 if test "${ac_cv_prog_STRIP+set}" = set; then :
9008 $as_echo_n "(cached
) " >&6
9010 if test -n "$STRIP"; then
9011 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9017 test -z "$as_dir" && as_dir=.
9018 for ac_exec_ext in '' $ac_executable_extensions; do
9019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9020 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9030 STRIP=$ac_cv_prog_STRIP
9031 if test -n "$STRIP"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9033 $as_echo "$STRIP" >&6; }
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9036 $as_echo "no
" >&6; }
9041 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9043 set dummy ${ncn_progname}; ac_word=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9045 $as_echo_n "checking
for $ac_word...
" >&6; }
9046 if test "${ac_cv_prog_STRIP+set}" = set; then :
9047 $as_echo_n "(cached
) " >&6
9049 if test -n "$STRIP"; then
9050 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 test -z "$as_dir" && as_dir=.
9057 for ac_exec_ext in '' $ac_executable_extensions; do
9058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9059 ac_cv_prog_STRIP="${ncn_progname}"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9069 STRIP=$ac_cv_prog_STRIP
9070 if test -n "$STRIP"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9072 $as_echo "$STRIP" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9075 $as_echo "no
" >&6; }
9080 test -n "$ac_cv_prog_STRIP" && break
9083 if test -z "$ac_cv_prog_STRIP" ; then
9089 if test -n "$WINDRES"; then
9090 ac_cv_prog_WINDRES=$WINDRES
9091 elif test -n "$ac_cv_prog_WINDRES"; then
9092 WINDRES=$ac_cv_prog_WINDRES
9095 if test -n "$ac_cv_prog_WINDRES"; then
9096 for ncn_progname in windres; do
9097 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9098 set dummy ${ncn_progname}; ac_word=$2
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9100 $as_echo_n "checking
for $ac_word...
" >&6; }
9101 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9102 $as_echo_n "(cached
) " >&6
9104 if test -n "$WINDRES"; then
9105 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_prog_WINDRES="${ncn_progname}"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 WINDRES=$ac_cv_prog_WINDRES
9125 if test -n "$WINDRES"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9127 $as_echo "$WINDRES" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9130 $as_echo "no
" >&6; }
9137 for ncn_progname in windres; do
9138 if test -n "$ncn_tool_prefix"; then
9139 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9140 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9142 $as_echo_n "checking
for $ac_word...
" >&6; }
9143 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9144 $as_echo_n "(cached
) " >&6
9146 if test -n "$WINDRES"; then
9147 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir=.
9154 for ac_exec_ext in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9166 WINDRES=$ac_cv_prog_WINDRES
9167 if test -n "$WINDRES"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9169 $as_echo "$WINDRES" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9172 $as_echo "no
" >&6; }
9177 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9179 set dummy ${ncn_progname}; ac_word=$2
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9181 $as_echo_n "checking
for $ac_word...
" >&6; }
9182 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9183 $as_echo_n "(cached
) " >&6
9185 if test -n "$WINDRES"; then
9186 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir=.
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195 ac_cv_prog_WINDRES="${ncn_progname}"
9196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9205 WINDRES=$ac_cv_prog_WINDRES
9206 if test -n "$WINDRES"; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9208 $as_echo "$WINDRES" >&6; }
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9211 $as_echo "no
" >&6; }
9216 test -n "$ac_cv_prog_WINDRES" && break
9219 if test -z "$ac_cv_prog_WINDRES" ; then
9221 if test $build = $host ; then
9224 WINDRES="${ncn_tool_prefix}$2"
9230 if test -n "$WINDMC"; then
9231 ac_cv_prog_WINDMC=$WINDMC
9232 elif test -n "$ac_cv_prog_WINDMC"; then
9233 WINDMC=$ac_cv_prog_WINDMC
9236 if test -n "$ac_cv_prog_WINDMC"; then
9237 for ncn_progname in windmc; do
9238 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9239 set dummy ${ncn_progname}; ac_word=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9241 $as_echo_n "checking
for $ac_word...
" >&6; }
9242 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9243 $as_echo_n "(cached
) " >&6
9245 if test -n "$WINDMC"; then
9246 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 test -z "$as_dir" && as_dir=.
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9255 ac_cv_prog_WINDMC="${ncn_progname}"
9256 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9265 WINDMC=$ac_cv_prog_WINDMC
9266 if test -n "$WINDMC"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9268 $as_echo "$WINDMC" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9271 $as_echo "no
" >&6; }
9278 for ncn_progname in windmc; do
9279 if test -n "$ncn_tool_prefix"; then
9280 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9281 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9283 $as_echo_n "checking
for $ac_word...
" >&6; }
9284 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9285 $as_echo_n "(cached
) " >&6
9287 if test -n "$WINDMC"; then
9288 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9294 test -z "$as_dir" && as_dir=.
9295 for ac_exec_ext in '' $ac_executable_extensions; do
9296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9297 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9307 WINDMC=$ac_cv_prog_WINDMC
9308 if test -n "$WINDMC"; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9310 $as_echo "$WINDMC" >&6; }
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9313 $as_echo "no
" >&6; }
9318 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9319 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9320 set dummy ${ncn_progname}; ac_word=$2
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9322 $as_echo_n "checking
for $ac_word...
" >&6; }
9323 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9324 $as_echo_n "(cached
) " >&6
9326 if test -n "$WINDMC"; then
9327 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9333 test -z "$as_dir" && as_dir=.
9334 for ac_exec_ext in '' $ac_executable_extensions; do
9335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9336 ac_cv_prog_WINDMC="${ncn_progname}"
9337 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9346 WINDMC=$ac_cv_prog_WINDMC
9347 if test -n "$WINDMC"; then
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9349 $as_echo "$WINDMC" >&6; }
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9352 $as_echo "no
" >&6; }
9357 test -n "$ac_cv_prog_WINDMC" && break
9360 if test -z "$ac_cv_prog_WINDMC" ; then
9362 if test $build = $host ; then
9365 WINDMC="${ncn_tool_prefix}$2"
9371 if test -n "$OBJCOPY"; then
9372 ac_cv_prog_OBJCOPY=$OBJCOPY
9373 elif test -n "$ac_cv_prog_OBJCOPY"; then
9374 OBJCOPY=$ac_cv_prog_OBJCOPY
9377 if test -n "$ac_cv_prog_OBJCOPY"; then
9378 for ncn_progname in objcopy; do
9379 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9380 set dummy ${ncn_progname}; ac_word=$2
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9382 $as_echo_n "checking
for $ac_word...
" >&6; }
9383 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9384 $as_echo_n "(cached
) " >&6
9386 if test -n "$OBJCOPY"; then
9387 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9393 test -z "$as_dir" && as_dir=.
9394 for ac_exec_ext in '' $ac_executable_extensions; do
9395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9396 ac_cv_prog_OBJCOPY="${ncn_progname}"
9397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9406 OBJCOPY=$ac_cv_prog_OBJCOPY
9407 if test -n "$OBJCOPY"; then
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9409 $as_echo "$OBJCOPY" >&6; }
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9412 $as_echo "no
" >&6; }
9419 for ncn_progname in objcopy; do
9420 if test -n "$ncn_tool_prefix"; then
9421 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9422 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9424 $as_echo_n "checking
for $ac_word...
" >&6; }
9425 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9426 $as_echo_n "(cached
) " >&6
9428 if test -n "$OBJCOPY"; then
9429 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir=.
9436 for ac_exec_ext in '' $ac_executable_extensions; do
9437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9448 OBJCOPY=$ac_cv_prog_OBJCOPY
9449 if test -n "$OBJCOPY"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9451 $as_echo "$OBJCOPY" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9454 $as_echo "no
" >&6; }
9459 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9461 set dummy ${ncn_progname}; ac_word=$2
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9463 $as_echo_n "checking
for $ac_word...
" >&6; }
9464 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9465 $as_echo_n "(cached
) " >&6
9467 if test -n "$OBJCOPY"; then
9468 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9474 test -z "$as_dir" && as_dir=.
9475 for ac_exec_ext in '' $ac_executable_extensions; do
9476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9477 ac_cv_prog_OBJCOPY="${ncn_progname}"
9478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9487 OBJCOPY=$ac_cv_prog_OBJCOPY
9488 if test -n "$OBJCOPY"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9490 $as_echo "$OBJCOPY" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9493 $as_echo "no
" >&6; }
9498 test -n "$ac_cv_prog_OBJCOPY" && break
9501 if test -z "$ac_cv_prog_OBJCOPY" ; then
9503 if test $build = $host ; then
9506 OBJCOPY="${ncn_tool_prefix}$2"
9512 if test -n "$OBJDUMP"; then
9513 ac_cv_prog_OBJDUMP=$OBJDUMP
9514 elif test -n "$ac_cv_prog_OBJDUMP"; then
9515 OBJDUMP=$ac_cv_prog_OBJDUMP
9518 if test -n "$ac_cv_prog_OBJDUMP"; then
9519 for ncn_progname in objdump; do
9520 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9521 set dummy ${ncn_progname}; ac_word=$2
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9523 $as_echo_n "checking
for $ac_word...
" >&6; }
9524 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9525 $as_echo_n "(cached
) " >&6
9527 if test -n "$OBJDUMP"; then
9528 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9534 test -z "$as_dir" && as_dir=.
9535 for ac_exec_ext in '' $ac_executable_extensions; do
9536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9537 ac_cv_prog_OBJDUMP="${ncn_progname}"
9538 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9547 OBJDUMP=$ac_cv_prog_OBJDUMP
9548 if test -n "$OBJDUMP"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9550 $as_echo "$OBJDUMP" >&6; }
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9553 $as_echo "no
" >&6; }
9560 for ncn_progname in objdump; do
9561 if test -n "$ncn_tool_prefix"; then
9562 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9563 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9565 $as_echo_n "checking
for $ac_word...
" >&6; }
9566 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9567 $as_echo_n "(cached
) " >&6
9569 if test -n "$OBJDUMP"; then
9570 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9576 test -z "$as_dir" && as_dir=.
9577 for ac_exec_ext in '' $ac_executable_extensions; do
9578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9579 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9589 OBJDUMP=$ac_cv_prog_OBJDUMP
9590 if test -n "$OBJDUMP"; then
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9592 $as_echo "$OBJDUMP" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9595 $as_echo "no
" >&6; }
9600 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9601 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9602 set dummy ${ncn_progname}; ac_word=$2
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9604 $as_echo_n "checking
for $ac_word...
" >&6; }
9605 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9606 $as_echo_n "(cached
) " >&6
9608 if test -n "$OBJDUMP"; then
9609 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9615 test -z "$as_dir" && as_dir=.
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9618 ac_cv_prog_OBJDUMP="${ncn_progname}"
9619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9628 OBJDUMP=$ac_cv_prog_OBJDUMP
9629 if test -n "$OBJDUMP"; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9631 $as_echo "$OBJDUMP" >&6; }
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9634 $as_echo "no
" >&6; }
9639 test -n "$ac_cv_prog_OBJDUMP" && break
9642 if test -z "$ac_cv_prog_OBJDUMP" ; then
9644 if test $build = $host ; then
9647 OBJDUMP="${ncn_tool_prefix}$2"
9653 if test -n "$READELF"; then
9654 ac_cv_prog_READELF=$READELF
9655 elif test -n "$ac_cv_prog_READELF"; then
9656 READELF=$ac_cv_prog_READELF
9659 if test -n "$ac_cv_prog_READELF"; then
9660 for ncn_progname in readelf; do
9661 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9662 set dummy ${ncn_progname}; ac_word=$2
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9664 $as_echo_n "checking
for $ac_word...
" >&6; }
9665 if test "${ac_cv_prog_READELF+set}" = set; then :
9666 $as_echo_n "(cached
) " >&6
9668 if test -n "$READELF"; then
9669 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9678 ac_cv_prog_READELF="${ncn_progname}"
9679 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9688 READELF=$ac_cv_prog_READELF
9689 if test -n "$READELF"; then
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9691 $as_echo "$READELF" >&6; }
9693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9694 $as_echo "no
" >&6; }
9701 for ncn_progname in readelf; do
9702 if test -n "$ncn_tool_prefix"; then
9703 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9704 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9706 $as_echo_n "checking
for $ac_word...
" >&6; }
9707 if test "${ac_cv_prog_READELF+set}" = set; then :
9708 $as_echo_n "(cached
) " >&6
9710 if test -n "$READELF"; then
9711 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9717 test -z "$as_dir" && as_dir=.
9718 for ac_exec_ext in '' $ac_executable_extensions; do
9719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9720 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9730 READELF=$ac_cv_prog_READELF
9731 if test -n "$READELF"; then
9732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9733 $as_echo "$READELF" >&6; }
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9736 $as_echo "no
" >&6; }
9741 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9742 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9743 set dummy ${ncn_progname}; ac_word=$2
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9745 $as_echo_n "checking
for $ac_word...
" >&6; }
9746 if test "${ac_cv_prog_READELF+set}" = set; then :
9747 $as_echo_n "(cached
) " >&6
9749 if test -n "$READELF"; then
9750 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9756 test -z "$as_dir" && as_dir=.
9757 for ac_exec_ext in '' $ac_executable_extensions; do
9758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9759 ac_cv_prog_READELF="${ncn_progname}"
9760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9769 READELF=$ac_cv_prog_READELF
9770 if test -n "$READELF"; then
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9772 $as_echo "$READELF" >&6; }
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9775 $as_echo "no
" >&6; }
9780 test -n "$ac_cv_prog_READELF" && break
9783 if test -z "$ac_cv_prog_READELF" ; then
9785 if test $build = $host ; then
9788 READELF="${ncn_tool_prefix}$2"
9799 # Check whether --with-build-time-tools was given.
9800 if test "${with_build_time_tools+set}" = set; then :
9801 withval=$with_build_time_tools; case x"$withval" in
9804 with_build_time_tools=
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9806 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9810 with_build_time_tools=
9816 if test -n "$CC_FOR_TARGET"; then
9817 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9818 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9819 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9822 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9823 for ncn_progname in cc gcc; do
9824 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9825 set dummy ${ncn_progname}; ac_word=$2
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9827 $as_echo_n "checking
for $ac_word...
" >&6; }
9828 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9829 $as_echo_n "(cached
) " >&6
9831 if test -n "$CC_FOR_TARGET"; then
9832 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9838 test -z "$as_dir" && as_dir=.
9839 for ac_exec_ext in '' $ac_executable_extensions; do
9840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9841 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9842 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9851 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9852 if test -n "$CC_FOR_TARGET"; then
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9854 $as_echo "$CC_FOR_TARGET" >&6; }
9856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9857 $as_echo "no
" >&6; }
9864 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9865 for ncn_progname in cc gcc; do
9866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9867 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9868 if test -x $with_build_time_tools/${ncn_progname}; then
9869 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9871 $as_echo "yes" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9875 $as_echo "no
" >&6; }
9880 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9881 for ncn_progname in cc gcc; do
9882 if test -n "$ncn_target_tool_prefix"; then
9883 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9884 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9886 $as_echo_n "checking
for $ac_word...
" >&6; }
9887 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9888 $as_echo_n "(cached
) " >&6
9890 if test -n "$CC_FOR_TARGET"; then
9891 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9897 test -z "$as_dir" && as_dir=.
9898 for ac_exec_ext in '' $ac_executable_extensions; do
9899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9900 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9910 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9911 if test -n "$CC_FOR_TARGET"; then
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9913 $as_echo "$CC_FOR_TARGET" >&6; }
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9916 $as_echo "no
" >&6; }
9921 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9922 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9923 set dummy ${ncn_progname}; ac_word=$2
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9925 $as_echo_n "checking
for $ac_word...
" >&6; }
9926 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9927 $as_echo_n "(cached
) " >&6
9929 if test -n "$CC_FOR_TARGET"; then
9930 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9936 test -z "$as_dir" && as_dir=.
9937 for ac_exec_ext in '' $ac_executable_extensions; do
9938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9939 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9949 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9950 if test -n "$CC_FOR_TARGET"; then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9952 $as_echo "$CC_FOR_TARGET" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9955 $as_echo "no
" >&6; }
9960 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9964 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9966 if test $build = $target ; then
9969 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9972 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9977 if test -n "$CXX_FOR_TARGET"; then
9978 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9979 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9980 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9983 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9984 for ncn_progname in c++ g++ cxx gxx; do
9985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9986 set dummy ${ncn_progname}; ac_word=$2
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9988 $as_echo_n "checking
for $ac_word...
" >&6; }
9989 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9990 $as_echo_n "(cached
) " >&6
9992 if test -n "$CXX_FOR_TARGET"; then
9993 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9999 test -z "$as_dir" && as_dir=.
10000 for ac_exec_ext in '' $ac_executable_extensions; do
10001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10002 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10012 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10013 if test -n "$CXX_FOR_TARGET"; then
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10015 $as_echo "$CXX_FOR_TARGET" >&6; }
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10018 $as_echo "no
" >&6; }
10025 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10026 for ncn_progname in c++ g++ cxx gxx; do
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10028 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10029 if test -x $with_build_time_tools/${ncn_progname}; then
10030 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10032 $as_echo "yes" >&6; }
10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10036 $as_echo "no
" >&6; }
10041 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10042 for ncn_progname in c++ g++ cxx gxx; do
10043 if test -n "$ncn_target_tool_prefix"; then
10044 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10045 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10047 $as_echo_n "checking
for $ac_word...
" >&6; }
10048 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10049 $as_echo_n "(cached
) " >&6
10051 if test -n "$CXX_FOR_TARGET"; then
10052 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10055 for as_dir in $PATH
10058 test -z "$as_dir" && as_dir=.
10059 for ac_exec_ext in '' $ac_executable_extensions; do
10060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10061 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10071 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10072 if test -n "$CXX_FOR_TARGET"; then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10074 $as_echo "$CXX_FOR_TARGET" >&6; }
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10077 $as_echo "no
" >&6; }
10082 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10083 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10084 set dummy ${ncn_progname}; ac_word=$2
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10086 $as_echo_n "checking
for $ac_word...
" >&6; }
10087 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10088 $as_echo_n "(cached
) " >&6
10090 if test -n "$CXX_FOR_TARGET"; then
10091 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094 for as_dir in $PATH
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10100 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10110 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10111 if test -n "$CXX_FOR_TARGET"; then
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10113 $as_echo "$CXX_FOR_TARGET" >&6; }
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10116 $as_echo "no
" >&6; }
10121 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10125 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10126 set dummy c++ g++ cxx gxx
10127 if test $build = $target ; then
10128 CXX_FOR_TARGET="$2"
10130 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10133 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10138 if test -n "$GCC_FOR_TARGET"; then
10139 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10140 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10141 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10144 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10145 for ncn_progname in gcc; do
10146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10147 set dummy ${ncn_progname}; ac_word=$2
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10149 $as_echo_n "checking
for $ac_word...
" >&6; }
10150 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10151 $as_echo_n "(cached
) " >&6
10153 if test -n "$GCC_FOR_TARGET"; then
10154 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10157 for as_dir in $PATH
10160 test -z "$as_dir" && as_dir=.
10161 for ac_exec_ext in '' $ac_executable_extensions; do
10162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10163 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10173 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10174 if test -n "$GCC_FOR_TARGET"; then
10175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10176 $as_echo "$GCC_FOR_TARGET" >&6; }
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10179 $as_echo "no
" >&6; }
10186 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10187 for ncn_progname in gcc; do
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10189 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10190 if test -x $with_build_time_tools/${ncn_progname}; then
10191 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10193 $as_echo "yes" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10197 $as_echo "no
" >&6; }
10202 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10203 for ncn_progname in gcc; do
10204 if test -n "$ncn_target_tool_prefix"; then
10205 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10206 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10208 $as_echo_n "checking
for $ac_word...
" >&6; }
10209 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10210 $as_echo_n "(cached
) " >&6
10212 if test -n "$GCC_FOR_TARGET"; then
10213 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10216 for as_dir in $PATH
10219 test -z "$as_dir" && as_dir=.
10220 for ac_exec_ext in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10232 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10233 if test -n "$GCC_FOR_TARGET"; then
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10235 $as_echo "$GCC_FOR_TARGET" >&6; }
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10238 $as_echo "no
" >&6; }
10243 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10245 set dummy ${ncn_progname}; ac_word=$2
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10247 $as_echo_n "checking
for $ac_word...
" >&6; }
10248 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10249 $as_echo_n "(cached
) " >&6
10251 if test -n "$GCC_FOR_TARGET"; then
10252 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10255 for as_dir in $PATH
10258 test -z "$as_dir" && as_dir=.
10259 for ac_exec_ext in '' $ac_executable_extensions; do
10260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10261 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10271 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10272 if test -n "$GCC_FOR_TARGET"; then
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10274 $as_echo "$GCC_FOR_TARGET" >&6; }
10276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10277 $as_echo "no
" >&6; }
10282 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10286 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10287 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10289 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10294 if test -n "$GCJ_FOR_TARGET"; then
10295 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10296 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10297 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10300 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10301 for ncn_progname in gcj; do
10302 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10303 set dummy ${ncn_progname}; ac_word=$2
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10305 $as_echo_n "checking
for $ac_word...
" >&6; }
10306 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10307 $as_echo_n "(cached
) " >&6
10309 if test -n "$GCJ_FOR_TARGET"; then
10310 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in $PATH
10316 test -z "$as_dir" && as_dir=.
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10319 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10320 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10329 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10330 if test -n "$GCJ_FOR_TARGET"; then
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10332 $as_echo "$GCJ_FOR_TARGET" >&6; }
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10335 $as_echo "no
" >&6; }
10342 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10343 for ncn_progname in gcj; do
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10345 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10346 if test -x $with_build_time_tools/${ncn_progname}; then
10347 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10349 $as_echo "yes" >&6; }
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10353 $as_echo "no
" >&6; }
10358 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10359 for ncn_progname in gcj; do
10360 if test -n "$ncn_target_tool_prefix"; then
10361 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10362 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10364 $as_echo_n "checking
for $ac_word...
" >&6; }
10365 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10366 $as_echo_n "(cached
) " >&6
10368 if test -n "$GCJ_FOR_TARGET"; then
10369 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10372 for as_dir in $PATH
10375 test -z "$as_dir" && as_dir=.
10376 for ac_exec_ext in '' $ac_executable_extensions; do
10377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10378 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10388 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10389 if test -n "$GCJ_FOR_TARGET"; then
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10391 $as_echo "$GCJ_FOR_TARGET" >&6; }
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10394 $as_echo "no
" >&6; }
10399 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10400 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10401 set dummy ${ncn_progname}; ac_word=$2
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10403 $as_echo_n "checking
for $ac_word...
" >&6; }
10404 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10405 $as_echo_n "(cached
) " >&6
10407 if test -n "$GCJ_FOR_TARGET"; then
10408 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10411 for as_dir in $PATH
10414 test -z "$as_dir" && as_dir=.
10415 for ac_exec_ext in '' $ac_executable_extensions; do
10416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10417 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10418 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10427 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10428 if test -n "$GCJ_FOR_TARGET"; then
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10430 $as_echo "$GCJ_FOR_TARGET" >&6; }
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10433 $as_echo "no
" >&6; }
10438 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10442 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10444 if test $build = $target ; then
10445 GCJ_FOR_TARGET="$2"
10447 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10450 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10455 if test -n "$GFORTRAN_FOR_TARGET"; then
10456 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10457 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10458 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10461 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10462 for ncn_progname in gfortran; do
10463 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10464 set dummy ${ncn_progname}; ac_word=$2
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10466 $as_echo_n "checking
for $ac_word...
" >&6; }
10467 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10468 $as_echo_n "(cached
) " >&6
10470 if test -n "$GFORTRAN_FOR_TARGET"; then
10471 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10474 for as_dir in $PATH
10477 test -z "$as_dir" && as_dir=.
10478 for ac_exec_ext in '' $ac_executable_extensions; do
10479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10480 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10490 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10491 if test -n "$GFORTRAN_FOR_TARGET"; then
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10493 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10496 $as_echo "no
" >&6; }
10503 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10504 for ncn_progname in gfortran; do
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10506 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10507 if test -x $with_build_time_tools/${ncn_progname}; then
10508 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10510 $as_echo "yes" >&6; }
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10514 $as_echo "no
" >&6; }
10519 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10520 for ncn_progname in gfortran; do
10521 if test -n "$ncn_target_tool_prefix"; then
10522 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10523 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10525 $as_echo_n "checking
for $ac_word...
" >&6; }
10526 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10527 $as_echo_n "(cached
) " >&6
10529 if test -n "$GFORTRAN_FOR_TARGET"; then
10530 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10533 for as_dir in $PATH
10536 test -z "$as_dir" && as_dir=.
10537 for ac_exec_ext in '' $ac_executable_extensions; do
10538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10539 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10549 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10550 if test -n "$GFORTRAN_FOR_TARGET"; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10552 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10555 $as_echo "no
" >&6; }
10560 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10562 set dummy ${ncn_progname}; ac_word=$2
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10564 $as_echo_n "checking
for $ac_word...
" >&6; }
10565 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10566 $as_echo_n "(cached
) " >&6
10568 if test -n "$GFORTRAN_FOR_TARGET"; then
10569 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10572 for as_dir in $PATH
10575 test -z "$as_dir" && as_dir=.
10576 for ac_exec_ext in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10588 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10589 if test -n "$GFORTRAN_FOR_TARGET"; then
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10591 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10594 $as_echo "no
" >&6; }
10599 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10603 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10605 if test $build = $target ; then
10606 GFORTRAN_FOR_TARGET="$2"
10608 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10611 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10616 if test -n "$GOC_FOR_TARGET"; then
10617 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10618 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10619 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10622 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10623 for ncn_progname in gccgo; do
10624 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10625 set dummy ${ncn_progname}; ac_word=$2
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10627 $as_echo_n "checking
for $ac_word...
" >&6; }
10628 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10629 $as_echo_n "(cached
) " >&6
10631 if test -n "$GOC_FOR_TARGET"; then
10632 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10635 for as_dir in $PATH
10638 test -z "$as_dir" && as_dir=.
10639 for ac_exec_ext in '' $ac_executable_extensions; do
10640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10641 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10642 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10651 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10652 if test -n "$GOC_FOR_TARGET"; then
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10654 $as_echo "$GOC_FOR_TARGET" >&6; }
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10657 $as_echo "no
" >&6; }
10664 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10665 for ncn_progname in gccgo; do
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10667 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10668 if test -x $with_build_time_tools/${ncn_progname}; then
10669 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10671 $as_echo "yes" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10675 $as_echo "no
" >&6; }
10680 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10681 for ncn_progname in gccgo; do
10682 if test -n "$ncn_target_tool_prefix"; then
10683 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10684 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10686 $as_echo_n "checking
for $ac_word...
" >&6; }
10687 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10688 $as_echo_n "(cached
) " >&6
10690 if test -n "$GOC_FOR_TARGET"; then
10691 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10694 for as_dir in $PATH
10697 test -z "$as_dir" && as_dir=.
10698 for ac_exec_ext in '' $ac_executable_extensions; do
10699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10700 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10710 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10711 if test -n "$GOC_FOR_TARGET"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10713 $as_echo "$GOC_FOR_TARGET" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10716 $as_echo "no
" >&6; }
10721 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10722 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10723 set dummy ${ncn_progname}; ac_word=$2
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10725 $as_echo_n "checking
for $ac_word...
" >&6; }
10726 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10727 $as_echo_n "(cached
) " >&6
10729 if test -n "$GOC_FOR_TARGET"; then
10730 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10733 for as_dir in $PATH
10736 test -z "$as_dir" && as_dir=.
10737 for ac_exec_ext in '' $ac_executable_extensions; do
10738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10739 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10749 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10750 if test -n "$GOC_FOR_TARGET"; then
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10752 $as_echo "$GOC_FOR_TARGET" >&6; }
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10755 $as_echo "no
" >&6; }
10760 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10764 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10766 if test $build = $target ; then
10767 GOC_FOR_TARGET="$2"
10769 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10772 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10777 cat > conftest.c << \EOF
10782 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10783 have_gcc_for_target=yes
10785 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10786 have_gcc_for_target=no
10793 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10794 if test -n "$with_build_time_tools"; then
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10796 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10797 if test -x $with_build_time_tools/ar; then
10798 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10799 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10801 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10804 $as_echo "no
" >&6; }
10806 elif test $build != $host && test $have_gcc_for_target = yes; then
10807 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10808 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10809 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10812 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10813 # Extract the first word of "ar", so it can be a program name with args.
10814 set dummy ar; ac_word=$2
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10816 $as_echo_n "checking
for $ac_word...
" >&6; }
10817 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10818 $as_echo_n "(cached
) " >&6
10820 case $AR_FOR_TARGET in
10822 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10826 for as_dir in $gcc_cv_tool_dirs
10829 test -z "$as_dir" && as_dir=.
10830 for ac_exec_ext in '' $ac_executable_extensions; do
10831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10832 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10833 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10843 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10844 if test -n "$AR_FOR_TARGET"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10846 $as_echo "$AR_FOR_TARGET" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10849 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10857 if test -n "$AR_FOR_TARGET"; then
10858 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10859 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10860 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10863 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10864 for ncn_progname in ar; do
10865 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10866 set dummy ${ncn_progname}; ac_word=$2
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10868 $as_echo_n "checking
for $ac_word...
" >&6; }
10869 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10870 $as_echo_n "(cached
) " >&6
10872 if test -n "$AR_FOR_TARGET"; then
10873 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10876 for as_dir in $PATH
10879 test -z "$as_dir" && as_dir=.
10880 for ac_exec_ext in '' $ac_executable_extensions; do
10881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10882 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10883 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10892 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10893 if test -n "$AR_FOR_TARGET"; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10895 $as_echo "$AR_FOR_TARGET" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10898 $as_echo "no
" >&6; }
10905 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10906 for ncn_progname in ar; do
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10908 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10909 if test -x $with_build_time_tools/${ncn_progname}; then
10910 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10912 $as_echo "yes" >&6; }
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10916 $as_echo "no
" >&6; }
10921 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10922 for ncn_progname in ar; do
10923 if test -n "$ncn_target_tool_prefix"; then
10924 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10925 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10927 $as_echo_n "checking
for $ac_word...
" >&6; }
10928 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10929 $as_echo_n "(cached
) " >&6
10931 if test -n "$AR_FOR_TARGET"; then
10932 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10935 for as_dir in $PATH
10938 test -z "$as_dir" && as_dir=.
10939 for ac_exec_ext in '' $ac_executable_extensions; do
10940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10941 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10942 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10951 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10952 if test -n "$AR_FOR_TARGET"; then
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10954 $as_echo "$AR_FOR_TARGET" >&6; }
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10957 $as_echo "no
" >&6; }
10962 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10964 set dummy ${ncn_progname}; ac_word=$2
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10966 $as_echo_n "checking
for $ac_word...
" >&6; }
10967 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10968 $as_echo_n "(cached
) " >&6
10970 if test -n "$AR_FOR_TARGET"; then
10971 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10974 for as_dir in $PATH
10977 test -z "$as_dir" && as_dir=.
10978 for ac_exec_ext in '' $ac_executable_extensions; do
10979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10980 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10981 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10990 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10991 if test -n "$AR_FOR_TARGET"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10993 $as_echo "$AR_FOR_TARGET" >&6; }
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10996 $as_echo "no
" >&6; }
11001 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11005 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11007 if test $build = $target ; then
11010 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11013 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11017 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11023 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11024 if test -n "$with_build_time_tools"; then
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11026 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11027 if test -x $with_build_time_tools/as; then
11028 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11029 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11031 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11034 $as_echo "no
" >&6; }
11036 elif test $build != $host && test $have_gcc_for_target = yes; then
11037 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11038 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11039 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11042 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11043 # Extract the first word of "as
", so it can be a program name with args.
11044 set dummy as; ac_word=$2
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11046 $as_echo_n "checking
for $ac_word...
" >&6; }
11047 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11048 $as_echo_n "(cached
) " >&6
11050 case $AS_FOR_TARGET in
11052 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11056 for as_dir in $gcc_cv_tool_dirs
11059 test -z "$as_dir" && as_dir=.
11060 for ac_exec_ext in '' $ac_executable_extensions; do
11061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11062 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11073 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11074 if test -n "$AS_FOR_TARGET"; then
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11076 $as_echo "$AS_FOR_TARGET" >&6; }
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11079 $as_echo "no
" >&6; }
11084 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11087 if test -n "$AS_FOR_TARGET"; then
11088 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11089 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11090 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11093 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11094 for ncn_progname in as; do
11095 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11096 set dummy ${ncn_progname}; ac_word=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11098 $as_echo_n "checking
for $ac_word...
" >&6; }
11099 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11100 $as_echo_n "(cached
) " >&6
11102 if test -n "$AS_FOR_TARGET"; then
11103 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11106 for as_dir in $PATH
11109 test -z "$as_dir" && as_dir=.
11110 for ac_exec_ext in '' $ac_executable_extensions; do
11111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11112 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11113 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11122 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11123 if test -n "$AS_FOR_TARGET"; then
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11125 $as_echo "$AS_FOR_TARGET" >&6; }
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11128 $as_echo "no
" >&6; }
11135 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11136 for ncn_progname in as; do
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11138 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11139 if test -x $with_build_time_tools/${ncn_progname}; then
11140 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11142 $as_echo "yes" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11146 $as_echo "no
" >&6; }
11151 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11152 for ncn_progname in as; do
11153 if test -n "$ncn_target_tool_prefix"; then
11154 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11155 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11157 $as_echo_n "checking
for $ac_word...
" >&6; }
11158 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11159 $as_echo_n "(cached
) " >&6
11161 if test -n "$AS_FOR_TARGET"; then
11162 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11165 for as_dir in $PATH
11168 test -z "$as_dir" && as_dir=.
11169 for ac_exec_ext in '' $ac_executable_extensions; do
11170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11171 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11172 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11181 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11182 if test -n "$AS_FOR_TARGET"; then
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11184 $as_echo "$AS_FOR_TARGET" >&6; }
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11187 $as_echo "no
" >&6; }
11192 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11193 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11194 set dummy ${ncn_progname}; ac_word=$2
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11196 $as_echo_n "checking
for $ac_word...
" >&6; }
11197 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11198 $as_echo_n "(cached
) " >&6
11200 if test -n "$AS_FOR_TARGET"; then
11201 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11204 for as_dir in $PATH
11207 test -z "$as_dir" && as_dir=.
11208 for ac_exec_ext in '' $ac_executable_extensions; do
11209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11210 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11220 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11221 if test -n "$AS_FOR_TARGET"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11223 $as_echo "$AS_FOR_TARGET" >&6; }
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11226 $as_echo "no
" >&6; }
11231 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11235 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11237 if test $build = $target ; then
11240 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11243 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11247 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11253 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11254 if test -n "$with_build_time_tools"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11256 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11257 if test -x $with_build_time_tools/dlltool; then
11258 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11259 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11261 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11264 $as_echo "no
" >&6; }
11266 elif test $build != $host && test $have_gcc_for_target = yes; then
11267 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11268 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11269 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11272 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11273 # Extract the first word of "dlltool
", so it can be a program name with args.
11274 set dummy dlltool; ac_word=$2
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11276 $as_echo_n "checking
for $ac_word...
" >&6; }
11277 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11278 $as_echo_n "(cached
) " >&6
11280 case $DLLTOOL_FOR_TARGET in
11282 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11286 for as_dir in $gcc_cv_tool_dirs
11289 test -z "$as_dir" && as_dir=.
11290 for ac_exec_ext in '' $ac_executable_extensions; do
11291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11292 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11303 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11304 if test -n "$DLLTOOL_FOR_TARGET"; then
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11306 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11309 $as_echo "no
" >&6; }
11314 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11317 if test -n "$DLLTOOL_FOR_TARGET"; then
11318 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11319 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11320 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11323 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11324 for ncn_progname in dlltool; do
11325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11326 set dummy ${ncn_progname}; ac_word=$2
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11328 $as_echo_n "checking
for $ac_word...
" >&6; }
11329 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11330 $as_echo_n "(cached
) " >&6
11332 if test -n "$DLLTOOL_FOR_TARGET"; then
11333 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11336 for as_dir in $PATH
11339 test -z "$as_dir" && as_dir=.
11340 for ac_exec_ext in '' $ac_executable_extensions; do
11341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11342 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11352 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11353 if test -n "$DLLTOOL_FOR_TARGET"; then
11354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11355 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11358 $as_echo "no
" >&6; }
11365 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11366 for ncn_progname in dlltool; do
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11368 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11369 if test -x $with_build_time_tools/${ncn_progname}; then
11370 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11372 $as_echo "yes" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11376 $as_echo "no
" >&6; }
11381 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11382 for ncn_progname in dlltool; do
11383 if test -n "$ncn_target_tool_prefix"; then
11384 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11385 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11387 $as_echo_n "checking
for $ac_word...
" >&6; }
11388 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11389 $as_echo_n "(cached
) " >&6
11391 if test -n "$DLLTOOL_FOR_TARGET"; then
11392 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11395 for as_dir in $PATH
11398 test -z "$as_dir" && as_dir=.
11399 for ac_exec_ext in '' $ac_executable_extensions; do
11400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11401 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11411 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11412 if test -n "$DLLTOOL_FOR_TARGET"; then
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11414 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11417 $as_echo "no
" >&6; }
11422 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11423 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11424 set dummy ${ncn_progname}; ac_word=$2
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11426 $as_echo_n "checking
for $ac_word...
" >&6; }
11427 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11428 $as_echo_n "(cached
) " >&6
11430 if test -n "$DLLTOOL_FOR_TARGET"; then
11431 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11434 for as_dir in $PATH
11437 test -z "$as_dir" && as_dir=.
11438 for ac_exec_ext in '' $ac_executable_extensions; do
11439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11440 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11441 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11450 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11451 if test -n "$DLLTOOL_FOR_TARGET"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11453 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11456 $as_echo "no
" >&6; }
11461 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11465 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11467 if test $build = $target ; then
11468 DLLTOOL_FOR_TARGET="$2"
11470 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11473 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11477 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11483 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11484 if test -n "$with_build_time_tools"; then
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11486 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11487 if test -x $with_build_time_tools/ld; then
11488 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11489 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11491 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11494 $as_echo "no
" >&6; }
11496 elif test $build != $host && test $have_gcc_for_target = yes; then
11497 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11498 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11499 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11502 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11503 # Extract the first word of "ld
", so it can be a program name with args.
11504 set dummy ld; ac_word=$2
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11506 $as_echo_n "checking
for $ac_word...
" >&6; }
11507 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11508 $as_echo_n "(cached
) " >&6
11510 case $LD_FOR_TARGET in
11512 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11516 for as_dir in $gcc_cv_tool_dirs
11519 test -z "$as_dir" && as_dir=.
11520 for ac_exec_ext in '' $ac_executable_extensions; do
11521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11522 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11523 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11533 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11534 if test -n "$LD_FOR_TARGET"; then
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11536 $as_echo "$LD_FOR_TARGET" >&6; }
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11539 $as_echo "no
" >&6; }
11544 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11547 if test -n "$LD_FOR_TARGET"; then
11548 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11549 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11550 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11553 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11554 for ncn_progname in ld; do
11555 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11556 set dummy ${ncn_progname}; ac_word=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11558 $as_echo_n "checking
for $ac_word...
" >&6; }
11559 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11560 $as_echo_n "(cached
) " >&6
11562 if test -n "$LD_FOR_TARGET"; then
11563 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11566 for as_dir in $PATH
11569 test -z "$as_dir" && as_dir=.
11570 for ac_exec_ext in '' $ac_executable_extensions; do
11571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11572 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11582 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11583 if test -n "$LD_FOR_TARGET"; then
11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11585 $as_echo "$LD_FOR_TARGET" >&6; }
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11588 $as_echo "no
" >&6; }
11595 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11596 for ncn_progname in ld; do
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11598 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11599 if test -x $with_build_time_tools/${ncn_progname}; then
11600 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11602 $as_echo "yes" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11606 $as_echo "no
" >&6; }
11611 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11612 for ncn_progname in ld; do
11613 if test -n "$ncn_target_tool_prefix"; then
11614 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11615 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11617 $as_echo_n "checking
for $ac_word...
" >&6; }
11618 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11619 $as_echo_n "(cached
) " >&6
11621 if test -n "$LD_FOR_TARGET"; then
11622 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11625 for as_dir in $PATH
11628 test -z "$as_dir" && as_dir=.
11629 for ac_exec_ext in '' $ac_executable_extensions; do
11630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11631 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11641 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11642 if test -n "$LD_FOR_TARGET"; then
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11644 $as_echo "$LD_FOR_TARGET" >&6; }
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11647 $as_echo "no
" >&6; }
11652 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11654 set dummy ${ncn_progname}; ac_word=$2
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11656 $as_echo_n "checking
for $ac_word...
" >&6; }
11657 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11658 $as_echo_n "(cached
) " >&6
11660 if test -n "$LD_FOR_TARGET"; then
11661 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11664 for as_dir in $PATH
11667 test -z "$as_dir" && as_dir=.
11668 for ac_exec_ext in '' $ac_executable_extensions; do
11669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11670 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11680 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11681 if test -n "$LD_FOR_TARGET"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11683 $as_echo "$LD_FOR_TARGET" >&6; }
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11686 $as_echo "no
" >&6; }
11691 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11695 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11697 if test $build = $target ; then
11700 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11703 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11707 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11713 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11714 if test -n "$with_build_time_tools"; then
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11716 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11717 if test -x $with_build_time_tools/lipo; then
11718 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11719 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11721 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11724 $as_echo "no
" >&6; }
11726 elif test $build != $host && test $have_gcc_for_target = yes; then
11727 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11728 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11729 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11732 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11733 # Extract the first word of "lipo
", so it can be a program name with args.
11734 set dummy lipo; ac_word=$2
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11736 $as_echo_n "checking
for $ac_word...
" >&6; }
11737 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11738 $as_echo_n "(cached
) " >&6
11740 case $LIPO_FOR_TARGET in
11742 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11746 for as_dir in $gcc_cv_tool_dirs
11749 test -z "$as_dir" && as_dir=.
11750 for ac_exec_ext in '' $ac_executable_extensions; do
11751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11752 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11763 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11764 if test -n "$LIPO_FOR_TARGET"; then
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11766 $as_echo "$LIPO_FOR_TARGET" >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11769 $as_echo "no
" >&6; }
11774 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11777 if test -n "$LIPO_FOR_TARGET"; then
11778 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11779 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11780 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11783 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11784 for ncn_progname in lipo; do
11785 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11786 set dummy ${ncn_progname}; ac_word=$2
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11788 $as_echo_n "checking
for $ac_word...
" >&6; }
11789 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11790 $as_echo_n "(cached
) " >&6
11792 if test -n "$LIPO_FOR_TARGET"; then
11793 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11796 for as_dir in $PATH
11799 test -z "$as_dir" && as_dir=.
11800 for ac_exec_ext in '' $ac_executable_extensions; do
11801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11802 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11812 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11813 if test -n "$LIPO_FOR_TARGET"; then
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11815 $as_echo "$LIPO_FOR_TARGET" >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11818 $as_echo "no
" >&6; }
11825 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11826 for ncn_progname in lipo; do
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11828 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11829 if test -x $with_build_time_tools/${ncn_progname}; then
11830 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11832 $as_echo "yes" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11836 $as_echo "no
" >&6; }
11841 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11842 for ncn_progname in lipo; do
11843 if test -n "$ncn_target_tool_prefix"; then
11844 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11845 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11847 $as_echo_n "checking
for $ac_word...
" >&6; }
11848 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11849 $as_echo_n "(cached
) " >&6
11851 if test -n "$LIPO_FOR_TARGET"; then
11852 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11855 for as_dir in $PATH
11858 test -z "$as_dir" && as_dir=.
11859 for ac_exec_ext in '' $ac_executable_extensions; do
11860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11861 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11871 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11872 if test -n "$LIPO_FOR_TARGET"; then
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11874 $as_echo "$LIPO_FOR_TARGET" >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11877 $as_echo "no
" >&6; }
11882 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11883 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11884 set dummy ${ncn_progname}; ac_word=$2
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11886 $as_echo_n "checking
for $ac_word...
" >&6; }
11887 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11888 $as_echo_n "(cached
) " >&6
11890 if test -n "$LIPO_FOR_TARGET"; then
11891 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11894 for as_dir in $PATH
11897 test -z "$as_dir" && as_dir=.
11898 for ac_exec_ext in '' $ac_executable_extensions; do
11899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11900 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11910 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11911 if test -n "$LIPO_FOR_TARGET"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11913 $as_echo "$LIPO_FOR_TARGET" >&6; }
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11916 $as_echo "no
" >&6; }
11921 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11925 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11927 if test $build = $target ; then
11928 LIPO_FOR_TARGET="$2"
11930 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11933 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11937 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11943 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11944 if test -n "$with_build_time_tools"; then
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11946 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11947 if test -x $with_build_time_tools/nm; then
11948 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11949 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11951 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11954 $as_echo "no
" >&6; }
11956 elif test $build != $host && test $have_gcc_for_target = yes; then
11957 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11958 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11959 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11962 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11963 # Extract the first word of "nm
", so it can be a program name with args.
11964 set dummy nm; ac_word=$2
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11966 $as_echo_n "checking
for $ac_word...
" >&6; }
11967 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11968 $as_echo_n "(cached
) " >&6
11970 case $NM_FOR_TARGET in
11972 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11976 for as_dir in $gcc_cv_tool_dirs
11979 test -z "$as_dir" && as_dir=.
11980 for ac_exec_ext in '' $ac_executable_extensions; do
11981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11982 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11983 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11993 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11994 if test -n "$NM_FOR_TARGET"; then
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11996 $as_echo "$NM_FOR_TARGET" >&6; }
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11999 $as_echo "no
" >&6; }
12004 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12007 if test -n "$NM_FOR_TARGET"; then
12008 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12009 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12010 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12013 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12014 for ncn_progname in nm; do
12015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12016 set dummy ${ncn_progname}; ac_word=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12018 $as_echo_n "checking
for $ac_word...
" >&6; }
12019 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12020 $as_echo_n "(cached
) " >&6
12022 if test -n "$NM_FOR_TARGET"; then
12023 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12026 for as_dir in $PATH
12029 test -z "$as_dir" && as_dir=.
12030 for ac_exec_ext in '' $ac_executable_extensions; do
12031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12032 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12042 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12043 if test -n "$NM_FOR_TARGET"; then
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12045 $as_echo "$NM_FOR_TARGET" >&6; }
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12048 $as_echo "no
" >&6; }
12055 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12056 for ncn_progname in nm; do
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12058 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12059 if test -x $with_build_time_tools/${ncn_progname}; then
12060 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12062 $as_echo "yes" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12066 $as_echo "no
" >&6; }
12071 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12072 for ncn_progname in nm; do
12073 if test -n "$ncn_target_tool_prefix"; then
12074 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12075 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12077 $as_echo_n "checking
for $ac_word...
" >&6; }
12078 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12079 $as_echo_n "(cached
) " >&6
12081 if test -n "$NM_FOR_TARGET"; then
12082 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12085 for as_dir in $PATH
12088 test -z "$as_dir" && as_dir=.
12089 for ac_exec_ext in '' $ac_executable_extensions; do
12090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12091 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12092 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12101 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12102 if test -n "$NM_FOR_TARGET"; then
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12104 $as_echo "$NM_FOR_TARGET" >&6; }
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12107 $as_echo "no
" >&6; }
12112 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12114 set dummy ${ncn_progname}; ac_word=$2
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12116 $as_echo_n "checking
for $ac_word...
" >&6; }
12117 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12118 $as_echo_n "(cached
) " >&6
12120 if test -n "$NM_FOR_TARGET"; then
12121 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12124 for as_dir in $PATH
12127 test -z "$as_dir" && as_dir=.
12128 for ac_exec_ext in '' $ac_executable_extensions; do
12129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12130 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12140 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12141 if test -n "$NM_FOR_TARGET"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12143 $as_echo "$NM_FOR_TARGET" >&6; }
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12146 $as_echo "no
" >&6; }
12151 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12155 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12157 if test $build = $target ; then
12160 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12163 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12167 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12173 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12174 if test -n "$with_build_time_tools"; then
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12176 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12177 if test -x $with_build_time_tools/objdump; then
12178 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12179 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12181 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12184 $as_echo "no
" >&6; }
12186 elif test $build != $host && test $have_gcc_for_target = yes; then
12187 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12188 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12189 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12192 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12193 # Extract the first word of "objdump
", so it can be a program name with args.
12194 set dummy objdump; ac_word=$2
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12196 $as_echo_n "checking
for $ac_word...
" >&6; }
12197 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12198 $as_echo_n "(cached
) " >&6
12200 case $OBJDUMP_FOR_TARGET in
12202 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12206 for as_dir in $gcc_cv_tool_dirs
12209 test -z "$as_dir" && as_dir=.
12210 for ac_exec_ext in '' $ac_executable_extensions; do
12211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12212 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12213 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12223 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12224 if test -n "$OBJDUMP_FOR_TARGET"; then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12226 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12229 $as_echo "no
" >&6; }
12234 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12237 if test -n "$OBJDUMP_FOR_TARGET"; then
12238 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12239 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12240 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12243 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12244 for ncn_progname in objdump; do
12245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12246 set dummy ${ncn_progname}; ac_word=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12248 $as_echo_n "checking
for $ac_word...
" >&6; }
12249 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12250 $as_echo_n "(cached
) " >&6
12252 if test -n "$OBJDUMP_FOR_TARGET"; then
12253 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12256 for as_dir in $PATH
12259 test -z "$as_dir" && as_dir=.
12260 for ac_exec_ext in '' $ac_executable_extensions; do
12261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12262 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12272 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12273 if test -n "$OBJDUMP_FOR_TARGET"; then
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12275 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12278 $as_echo "no
" >&6; }
12285 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12286 for ncn_progname in objdump; do
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12288 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12289 if test -x $with_build_time_tools/${ncn_progname}; then
12290 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12292 $as_echo "yes" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12296 $as_echo "no
" >&6; }
12301 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12302 for ncn_progname in objdump; do
12303 if test -n "$ncn_target_tool_prefix"; then
12304 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12305 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12307 $as_echo_n "checking
for $ac_word...
" >&6; }
12308 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12309 $as_echo_n "(cached
) " >&6
12311 if test -n "$OBJDUMP_FOR_TARGET"; then
12312 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12315 for as_dir in $PATH
12318 test -z "$as_dir" && as_dir=.
12319 for ac_exec_ext in '' $ac_executable_extensions; do
12320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12321 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12331 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12332 if test -n "$OBJDUMP_FOR_TARGET"; then
12333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12334 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12337 $as_echo "no
" >&6; }
12342 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12344 set dummy ${ncn_progname}; ac_word=$2
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12346 $as_echo_n "checking
for $ac_word...
" >&6; }
12347 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12348 $as_echo_n "(cached
) " >&6
12350 if test -n "$OBJDUMP_FOR_TARGET"; then
12351 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12354 for as_dir in $PATH
12357 test -z "$as_dir" && as_dir=.
12358 for ac_exec_ext in '' $ac_executable_extensions; do
12359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12360 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12370 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12371 if test -n "$OBJDUMP_FOR_TARGET"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12373 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12376 $as_echo "no
" >&6; }
12381 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12385 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12387 if test $build = $target ; then
12388 OBJDUMP_FOR_TARGET="$2"
12390 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12393 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12397 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12403 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12404 if test -n "$with_build_time_tools"; then
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12406 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12407 if test -x $with_build_time_tools/ranlib; then
12408 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12409 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12411 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12414 $as_echo "no
" >&6; }
12416 elif test $build != $host && test $have_gcc_for_target = yes; then
12417 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12418 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12419 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12422 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12423 # Extract the first word of "ranlib
", so it can be a program name with args.
12424 set dummy ranlib; ac_word=$2
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12426 $as_echo_n "checking
for $ac_word...
" >&6; }
12427 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12428 $as_echo_n "(cached
) " >&6
12430 case $RANLIB_FOR_TARGET in
12432 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12436 for as_dir in $gcc_cv_tool_dirs
12439 test -z "$as_dir" && as_dir=.
12440 for ac_exec_ext in '' $ac_executable_extensions; do
12441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12442 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12453 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12454 if test -n "$RANLIB_FOR_TARGET"; then
12455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12456 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12459 $as_echo "no
" >&6; }
12464 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12467 if test -n "$RANLIB_FOR_TARGET"; then
12468 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12469 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12470 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12473 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12474 for ncn_progname in ranlib; do
12475 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12476 set dummy ${ncn_progname}; ac_word=$2
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12478 $as_echo_n "checking
for $ac_word...
" >&6; }
12479 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12480 $as_echo_n "(cached
) " >&6
12482 if test -n "$RANLIB_FOR_TARGET"; then
12483 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12486 for as_dir in $PATH
12489 test -z "$as_dir" && as_dir=.
12490 for ac_exec_ext in '' $ac_executable_extensions; do
12491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12492 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12502 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12503 if test -n "$RANLIB_FOR_TARGET"; then
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12505 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12508 $as_echo "no
" >&6; }
12515 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12516 for ncn_progname in ranlib; do
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12518 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12519 if test -x $with_build_time_tools/${ncn_progname}; then
12520 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12522 $as_echo "yes" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12526 $as_echo "no
" >&6; }
12531 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12532 for ncn_progname in ranlib; do
12533 if test -n "$ncn_target_tool_prefix"; then
12534 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12535 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12537 $as_echo_n "checking
for $ac_word...
" >&6; }
12538 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12539 $as_echo_n "(cached
) " >&6
12541 if test -n "$RANLIB_FOR_TARGET"; then
12542 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12545 for as_dir in $PATH
12548 test -z "$as_dir" && as_dir=.
12549 for ac_exec_ext in '' $ac_executable_extensions; do
12550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12551 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12552 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12561 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12562 if test -n "$RANLIB_FOR_TARGET"; then
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12564 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12567 $as_echo "no
" >&6; }
12572 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12573 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12574 set dummy ${ncn_progname}; ac_word=$2
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12576 $as_echo_n "checking
for $ac_word...
" >&6; }
12577 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12578 $as_echo_n "(cached
) " >&6
12580 if test -n "$RANLIB_FOR_TARGET"; then
12581 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12584 for as_dir in $PATH
12587 test -z "$as_dir" && as_dir=.
12588 for ac_exec_ext in '' $ac_executable_extensions; do
12589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12590 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12591 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12600 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12601 if test -n "$RANLIB_FOR_TARGET"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12603 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12606 $as_echo "no
" >&6; }
12611 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12615 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12617 if test $build = $target ; then
12618 RANLIB_FOR_TARGET="$2"
12620 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12623 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12627 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12633 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12634 if test -n "$with_build_time_tools"; then
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12636 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12637 if test -x $with_build_time_tools/readelf; then
12638 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12639 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12641 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12644 $as_echo "no
" >&6; }
12646 elif test $build != $host && test $have_gcc_for_target = yes; then
12647 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12648 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12649 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12652 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12653 # Extract the first word of "readelf
", so it can be a program name with args.
12654 set dummy readelf; ac_word=$2
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12656 $as_echo_n "checking
for $ac_word...
" >&6; }
12657 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12658 $as_echo_n "(cached
) " >&6
12660 case $READELF_FOR_TARGET in
12662 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12666 for as_dir in $gcc_cv_tool_dirs
12669 test -z "$as_dir" && as_dir=.
12670 for ac_exec_ext in '' $ac_executable_extensions; do
12671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12672 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12673 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12683 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12684 if test -n "$READELF_FOR_TARGET"; then
12685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12686 $as_echo "$READELF_FOR_TARGET" >&6; }
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12689 $as_echo "no
" >&6; }
12694 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12697 if test -n "$READELF_FOR_TARGET"; then
12698 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12699 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12700 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12703 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12704 for ncn_progname in readelf; do
12705 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12706 set dummy ${ncn_progname}; ac_word=$2
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12708 $as_echo_n "checking
for $ac_word...
" >&6; }
12709 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12710 $as_echo_n "(cached
) " >&6
12712 if test -n "$READELF_FOR_TARGET"; then
12713 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12716 for as_dir in $PATH
12719 test -z "$as_dir" && as_dir=.
12720 for ac_exec_ext in '' $ac_executable_extensions; do
12721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12722 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12732 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12733 if test -n "$READELF_FOR_TARGET"; then
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12735 $as_echo "$READELF_FOR_TARGET" >&6; }
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12738 $as_echo "no
" >&6; }
12745 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12746 for ncn_progname in readelf; do
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12748 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12749 if test -x $with_build_time_tools/${ncn_progname}; then
12750 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12752 $as_echo "yes" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12756 $as_echo "no
" >&6; }
12761 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12762 for ncn_progname in readelf; do
12763 if test -n "$ncn_target_tool_prefix"; then
12764 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12765 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12767 $as_echo_n "checking
for $ac_word...
" >&6; }
12768 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12769 $as_echo_n "(cached
) " >&6
12771 if test -n "$READELF_FOR_TARGET"; then
12772 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12775 for as_dir in $PATH
12778 test -z "$as_dir" && as_dir=.
12779 for ac_exec_ext in '' $ac_executable_extensions; do
12780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12781 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12782 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12791 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12792 if test -n "$READELF_FOR_TARGET"; then
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12794 $as_echo "$READELF_FOR_TARGET" >&6; }
12796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12797 $as_echo "no
" >&6; }
12802 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12804 set dummy ${ncn_progname}; ac_word=$2
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12806 $as_echo_n "checking
for $ac_word...
" >&6; }
12807 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12808 $as_echo_n "(cached
) " >&6
12810 if test -n "$READELF_FOR_TARGET"; then
12811 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12814 for as_dir in $PATH
12817 test -z "$as_dir" && as_dir=.
12818 for ac_exec_ext in '' $ac_executable_extensions; do
12819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12820 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12830 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12831 if test -n "$READELF_FOR_TARGET"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12833 $as_echo "$READELF_FOR_TARGET" >&6; }
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12836 $as_echo "no
" >&6; }
12841 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12845 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12847 if test $build = $target ; then
12848 READELF_FOR_TARGET="$2"
12850 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12853 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12857 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12863 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12864 if test -n "$with_build_time_tools"; then
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12866 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12867 if test -x $with_build_time_tools/strip; then
12868 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12869 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12871 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12874 $as_echo "no
" >&6; }
12876 elif test $build != $host && test $have_gcc_for_target = yes; then
12877 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12878 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12879 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12882 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12883 # Extract the first word of "strip
", so it can be a program name with args.
12884 set dummy strip; ac_word=$2
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12886 $as_echo_n "checking
for $ac_word...
" >&6; }
12887 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12888 $as_echo_n "(cached
) " >&6
12890 case $STRIP_FOR_TARGET in
12892 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896 for as_dir in $gcc_cv_tool_dirs
12899 test -z "$as_dir" && as_dir=.
12900 for ac_exec_ext in '' $ac_executable_extensions; do
12901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12902 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12913 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12914 if test -n "$STRIP_FOR_TARGET"; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12916 $as_echo "$STRIP_FOR_TARGET" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12919 $as_echo "no
" >&6; }
12924 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12927 if test -n "$STRIP_FOR_TARGET"; then
12928 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12929 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12930 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12933 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12934 for ncn_progname in strip; do
12935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12936 set dummy ${ncn_progname}; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12938 $as_echo_n "checking
for $ac_word...
" >&6; }
12939 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12940 $as_echo_n "(cached
) " >&6
12942 if test -n "$STRIP_FOR_TARGET"; then
12943 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12946 for as_dir in $PATH
12949 test -z "$as_dir" && as_dir=.
12950 for ac_exec_ext in '' $ac_executable_extensions; do
12951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12952 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12962 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12963 if test -n "$STRIP_FOR_TARGET"; then
12964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12965 $as_echo "$STRIP_FOR_TARGET" >&6; }
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12968 $as_echo "no
" >&6; }
12975 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12976 for ncn_progname in strip; do
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12978 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12979 if test -x $with_build_time_tools/${ncn_progname}; then
12980 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12982 $as_echo "yes" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12986 $as_echo "no
" >&6; }
12991 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12992 for ncn_progname in strip; do
12993 if test -n "$ncn_target_tool_prefix"; then
12994 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12995 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12997 $as_echo_n "checking
for $ac_word...
" >&6; }
12998 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12999 $as_echo_n "(cached
) " >&6
13001 if test -n "$STRIP_FOR_TARGET"; then
13002 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13008 test -z "$as_dir" && as_dir=.
13009 for ac_exec_ext in '' $ac_executable_extensions; do
13010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13011 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13012 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13021 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13022 if test -n "$STRIP_FOR_TARGET"; then
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13024 $as_echo "$STRIP_FOR_TARGET" >&6; }
13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13027 $as_echo "no
" >&6; }
13032 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13033 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13034 set dummy ${ncn_progname}; ac_word=$2
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13036 $as_echo_n "checking
for $ac_word...
" >&6; }
13037 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13038 $as_echo_n "(cached
) " >&6
13040 if test -n "$STRIP_FOR_TARGET"; then
13041 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13047 test -z "$as_dir" && as_dir=.
13048 for ac_exec_ext in '' $ac_executable_extensions; do
13049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13051 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13060 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13061 if test -n "$STRIP_FOR_TARGET"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13063 $as_echo "$STRIP_FOR_TARGET" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13066 $as_echo "no
" >&6; }
13071 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13075 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13077 if test $build = $target ; then
13078 STRIP_FOR_TARGET="$2"
13080 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13083 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13087 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13093 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13094 if test -n "$with_build_time_tools"; then
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13096 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13097 if test -x $with_build_time_tools/windres; then
13098 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13099 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13101 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13104 $as_echo "no
" >&6; }
13106 elif test $build != $host && test $have_gcc_for_target = yes; then
13107 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13108 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13109 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13112 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13113 # Extract the first word of "windres
", so it can be a program name with args.
13114 set dummy windres; ac_word=$2
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13116 $as_echo_n "checking
for $ac_word...
" >&6; }
13117 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13118 $as_echo_n "(cached
) " >&6
13120 case $WINDRES_FOR_TARGET in
13122 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13126 for as_dir in $gcc_cv_tool_dirs
13129 test -z "$as_dir" && as_dir=.
13130 for ac_exec_ext in '' $ac_executable_extensions; do
13131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13132 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13143 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13144 if test -n "$WINDRES_FOR_TARGET"; then
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13146 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13149 $as_echo "no
" >&6; }
13154 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13157 if test -n "$WINDRES_FOR_TARGET"; then
13158 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13159 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13160 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13163 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13164 for ncn_progname in windres; do
13165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13166 set dummy ${ncn_progname}; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13168 $as_echo_n "checking
for $ac_word...
" >&6; }
13169 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13170 $as_echo_n "(cached
) " >&6
13172 if test -n "$WINDRES_FOR_TARGET"; then
13173 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13176 for as_dir in $PATH
13179 test -z "$as_dir" && as_dir=.
13180 for ac_exec_ext in '' $ac_executable_extensions; do
13181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13182 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13192 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13193 if test -n "$WINDRES_FOR_TARGET"; then
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13195 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13198 $as_echo "no
" >&6; }
13205 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13206 for ncn_progname in windres; do
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13208 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13209 if test -x $with_build_time_tools/${ncn_progname}; then
13210 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13212 $as_echo "yes" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13216 $as_echo "no
" >&6; }
13221 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13222 for ncn_progname in windres; do
13223 if test -n "$ncn_target_tool_prefix"; then
13224 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13225 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13227 $as_echo_n "checking
for $ac_word...
" >&6; }
13228 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13229 $as_echo_n "(cached
) " >&6
13231 if test -n "$WINDRES_FOR_TARGET"; then
13232 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13235 for as_dir in $PATH
13238 test -z "$as_dir" && as_dir=.
13239 for ac_exec_ext in '' $ac_executable_extensions; do
13240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13241 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13242 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13251 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13252 if test -n "$WINDRES_FOR_TARGET"; then
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13254 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13257 $as_echo "no
" >&6; }
13262 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13263 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13264 set dummy ${ncn_progname}; ac_word=$2
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13266 $as_echo_n "checking
for $ac_word...
" >&6; }
13267 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13268 $as_echo_n "(cached
) " >&6
13270 if test -n "$WINDRES_FOR_TARGET"; then
13271 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13274 for as_dir in $PATH
13277 test -z "$as_dir" && as_dir=.
13278 for ac_exec_ext in '' $ac_executable_extensions; do
13279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13280 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13281 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13290 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13291 if test -n "$WINDRES_FOR_TARGET"; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13293 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13296 $as_echo "no
" >&6; }
13301 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13305 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13307 if test $build = $target ; then
13308 WINDRES_FOR_TARGET="$2"
13310 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13313 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13317 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13323 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13324 if test -n "$with_build_time_tools"; then
13325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13326 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13327 if test -x $with_build_time_tools/windmc; then
13328 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13329 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13331 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13334 $as_echo "no
" >&6; }
13336 elif test $build != $host && test $have_gcc_for_target = yes; then
13337 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13338 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13339 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13342 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13343 # Extract the first word of "windmc
", so it can be a program name with args.
13344 set dummy windmc; ac_word=$2
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13346 $as_echo_n "checking
for $ac_word...
" >&6; }
13347 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13348 $as_echo_n "(cached
) " >&6
13350 case $WINDMC_FOR_TARGET in
13352 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13356 for as_dir in $gcc_cv_tool_dirs
13359 test -z "$as_dir" && as_dir=.
13360 for ac_exec_ext in '' $ac_executable_extensions; do
13361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13362 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13363 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13373 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13374 if test -n "$WINDMC_FOR_TARGET"; then
13375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13376 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13379 $as_echo "no
" >&6; }
13384 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13387 if test -n "$WINDMC_FOR_TARGET"; then
13388 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13389 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13390 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13393 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13394 for ncn_progname in windmc; do
13395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13396 set dummy ${ncn_progname}; ac_word=$2
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13398 $as_echo_n "checking
for $ac_word...
" >&6; }
13399 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13400 $as_echo_n "(cached
) " >&6
13402 if test -n "$WINDMC_FOR_TARGET"; then
13403 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13406 for as_dir in $PATH
13409 test -z "$as_dir" && as_dir=.
13410 for ac_exec_ext in '' $ac_executable_extensions; do
13411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13412 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13422 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13423 if test -n "$WINDMC_FOR_TARGET"; then
13424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13425 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13428 $as_echo "no
" >&6; }
13435 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13436 for ncn_progname in windmc; do
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13438 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13439 if test -x $with_build_time_tools/${ncn_progname}; then
13440 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13442 $as_echo "yes" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13446 $as_echo "no
" >&6; }
13451 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13452 for ncn_progname in windmc; do
13453 if test -n "$ncn_target_tool_prefix"; then
13454 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13455 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13457 $as_echo_n "checking
for $ac_word...
" >&6; }
13458 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13459 $as_echo_n "(cached
) " >&6
13461 if test -n "$WINDMC_FOR_TARGET"; then
13462 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13465 for as_dir in $PATH
13468 test -z "$as_dir" && as_dir=.
13469 for ac_exec_ext in '' $ac_executable_extensions; do
13470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13471 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13481 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13482 if test -n "$WINDMC_FOR_TARGET"; then
13483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13484 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13487 $as_echo "no
" >&6; }
13492 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13493 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13494 set dummy ${ncn_progname}; ac_word=$2
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13496 $as_echo_n "checking
for $ac_word...
" >&6; }
13497 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13498 $as_echo_n "(cached
) " >&6
13500 if test -n "$WINDMC_FOR_TARGET"; then
13501 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13504 for as_dir in $PATH
13507 test -z "$as_dir" && as_dir=.
13508 for ac_exec_ext in '' $ac_executable_extensions; do
13509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13510 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13520 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13521 if test -n "$WINDMC_FOR_TARGET"; then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13523 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13526 $as_echo "no
" >&6; }
13531 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13535 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13537 if test $build = $target ; then
13538 WINDMC_FOR_TARGET="$2"
13540 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13543 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13547 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13551 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13554 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13555 if test "x
${build}" != "x
${host}" ; then
13556 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13557 # We already found the complete path
13558 ac_dir=`dirname $AR_FOR_TARGET`
13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13560 $as_echo "pre-installed
in $ac_dir" >&6; }
13562 # Canadian cross, just use what we found
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13564 $as_echo "pre-installed
" >&6; }
13568 case " ${configdirs} " in
13573 if test $ok = yes; then
13574 # An in-tree tool is available and we can use it
13575 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13577 $as_echo "just compiled
" >&6; }
13578 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13579 # We already found the complete path
13580 ac_dir=`dirname $AR_FOR_TARGET`
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13582 $as_echo "pre-installed
in $ac_dir" >&6; }
13583 elif test "x
$target" = "x
$host"; then
13584 # We can use an host tool
13585 AR_FOR_TARGET='$(AR)'
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13587 $as_echo "host tool
" >&6; }
13589 # We need a cross tool
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13591 $as_echo "pre-installed
" >&6; }
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13596 $as_echo_n "checking where to
find the target as...
" >&6; }
13597 if test "x
${build}" != "x
${host}" ; then
13598 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13599 # We already found the complete path
13600 ac_dir=`dirname $AS_FOR_TARGET`
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13602 $as_echo "pre-installed
in $ac_dir" >&6; }
13604 # Canadian cross, just use what we found
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13606 $as_echo "pre-installed
" >&6; }
13610 case " ${configdirs} " in
13615 if test $ok = yes; then
13616 # An in-tree tool is available and we can use it
13617 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13619 $as_echo "just compiled
" >&6; }
13620 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13621 # We already found the complete path
13622 ac_dir=`dirname $AS_FOR_TARGET`
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13624 $as_echo "pre-installed
in $ac_dir" >&6; }
13625 elif test "x
$target" = "x
$host"; then
13626 # We can use an host tool
13627 AS_FOR_TARGET='$(AS)'
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13629 $as_echo "host tool
" >&6; }
13631 # We need a cross tool
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13633 $as_echo "pre-installed
" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13638 $as_echo_n "checking where to
find the target cc...
" >&6; }
13639 if test "x
${build}" != "x
${host}" ; then
13640 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13641 # We already found the complete path
13642 ac_dir=`dirname $CC_FOR_TARGET`
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13644 $as_echo "pre-installed
in $ac_dir" >&6; }
13646 # Canadian cross, just use what we found
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13648 $as_echo "pre-installed
" >&6; }
13652 case " ${configdirs} " in
13657 if test $ok = yes; then
13658 # An in-tree tool is available and we can use it
13659 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13661 $as_echo "just compiled
" >&6; }
13662 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13663 # We already found the complete path
13664 ac_dir=`dirname $CC_FOR_TARGET`
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13666 $as_echo "pre-installed
in $ac_dir" >&6; }
13667 elif test "x
$target" = "x
$host"; then
13668 # We can use an host tool
13669 CC_FOR_TARGET='$(CC)'
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13671 $as_echo "host tool
" >&6; }
13673 # We need a cross tool
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13675 $as_echo "pre-installed
" >&6; }
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13680 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13681 if test "x
${build}" != "x
${host}" ; then
13682 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13683 # We already found the complete path
13684 ac_dir=`dirname $CXX_FOR_TARGET`
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13686 $as_echo "pre-installed
in $ac_dir" >&6; }
13688 # Canadian cross, just use what we found
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13690 $as_echo "pre-installed
" >&6; }
13694 case " ${configdirs} " in
13698 case ,${enable_languages}, in
13702 if test $ok = yes; then
13703 # An in-tree tool is available and we can use it
13704 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'
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13706 $as_echo "just compiled
" >&6; }
13707 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13708 # We already found the complete path
13709 ac_dir=`dirname $CXX_FOR_TARGET`
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13711 $as_echo "pre-installed
in $ac_dir" >&6; }
13712 elif test "x
$target" = "x
$host"; then
13713 # We can use an host tool
13714 CXX_FOR_TARGET='$(CXX)'
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13716 $as_echo "host tool
" >&6; }
13718 # We need a cross tool
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13720 $as_echo "pre-installed
" >&6; }
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13725 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13726 if test "x
${build}" != "x
${host}" ; then
13727 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13728 # We already found the complete path
13729 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13731 $as_echo "pre-installed
in $ac_dir" >&6; }
13733 # Canadian cross, just use what we found
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13735 $as_echo "pre-installed
" >&6; }
13739 case " ${configdirs} " in
13743 case ,${enable_languages}, in
13747 if test $ok = yes; then
13748 # An in-tree tool is available and we can use it
13749 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'
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13751 $as_echo "just compiled
" >&6; }
13752 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13753 # We already found the complete path
13754 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13756 $as_echo "pre-installed
in $ac_dir" >&6; }
13757 elif test "x
$target" = "x
$host"; then
13758 # We can use an host tool
13759 RAW_CXX_FOR_TARGET='$(CXX)'
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13761 $as_echo "host tool
" >&6; }
13763 # We need a cross tool
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13765 $as_echo "pre-installed
" >&6; }
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13770 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13771 if test "x
${build}" != "x
${host}" ; then
13772 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13773 # We already found the complete path
13774 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13776 $as_echo "pre-installed
in $ac_dir" >&6; }
13778 # Canadian cross, just use what we found
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13780 $as_echo "pre-installed
" >&6; }
13784 case " ${configdirs} " in
13789 if test $ok = yes; then
13790 # An in-tree tool is available and we can use it
13791 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13793 $as_echo "just compiled
" >&6; }
13794 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13795 # We already found the complete path
13796 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13798 $as_echo "pre-installed
in $ac_dir" >&6; }
13799 elif test "x
$target" = "x
$host"; then
13800 # We can use an host tool
13801 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13803 $as_echo "host tool
" >&6; }
13805 # We need a cross tool
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13807 $as_echo "pre-installed
" >&6; }
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13812 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13813 if test "x
${build}" != "x
${host}" ; then
13814 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13815 # We already found the complete path
13816 ac_dir=`dirname $GCC_FOR_TARGET`
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13818 $as_echo "pre-installed
in $ac_dir" >&6; }
13820 # Canadian cross, just use what we found
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13822 $as_echo "pre-installed
" >&6; }
13826 case " ${configdirs} " in
13831 if test $ok = yes; then
13832 # An in-tree tool is available and we can use it
13833 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13835 $as_echo "just compiled
" >&6; }
13836 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13837 # We already found the complete path
13838 ac_dir=`dirname $GCC_FOR_TARGET`
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13840 $as_echo "pre-installed
in $ac_dir" >&6; }
13841 elif test "x
$target" = "x
$host"; then
13842 # We can use an host tool
13843 GCC_FOR_TARGET='$()'
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13845 $as_echo "host tool
" >&6; }
13847 # We need a cross tool
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13849 $as_echo "pre-installed
" >&6; }
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13854 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13855 if test "x
${build}" != "x
${host}" ; then
13856 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13857 # We already found the complete path
13858 ac_dir=`dirname $GCJ_FOR_TARGET`
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13860 $as_echo "pre-installed
in $ac_dir" >&6; }
13862 # Canadian cross, just use what we found
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13864 $as_echo "pre-installed
" >&6; }
13868 case " ${configdirs} " in
13872 case ,${enable_languages}, in
13876 if test $ok = yes; then
13877 # An in-tree tool is available and we can use it
13878 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13880 $as_echo "just compiled
" >&6; }
13881 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13882 # We already found the complete path
13883 ac_dir=`dirname $GCJ_FOR_TARGET`
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13885 $as_echo "pre-installed
in $ac_dir" >&6; }
13886 elif test "x
$target" = "x
$host"; then
13887 # We can use an host tool
13888 GCJ_FOR_TARGET='$(GCJ)'
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13890 $as_echo "host tool
" >&6; }
13892 # We need a cross tool
13893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13894 $as_echo "pre-installed
" >&6; }
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13899 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13900 if test "x
${build}" != "x
${host}" ; then
13901 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13902 # We already found the complete path
13903 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13905 $as_echo "pre-installed
in $ac_dir" >&6; }
13907 # Canadian cross, just use what we found
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13909 $as_echo "pre-installed
" >&6; }
13913 case " ${configdirs} " in
13917 case ,${enable_languages}, in
13921 if test $ok = yes; then
13922 # An in-tree tool is available and we can use it
13923 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13925 $as_echo "just compiled
" >&6; }
13926 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13927 # We already found the complete path
13928 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13930 $as_echo "pre-installed
in $ac_dir" >&6; }
13931 elif test "x
$target" = "x
$host"; then
13932 # We can use an host tool
13933 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13935 $as_echo "host tool
" >&6; }
13937 # We need a cross tool
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13939 $as_echo "pre-installed
" >&6; }
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13944 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13945 if test "x
${build}" != "x
${host}" ; then
13946 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13947 # We already found the complete path
13948 ac_dir=`dirname $GOC_FOR_TARGET`
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13950 $as_echo "pre-installed
in $ac_dir" >&6; }
13952 # Canadian cross, just use what we found
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13954 $as_echo "pre-installed
" >&6; }
13958 case " ${configdirs} " in
13962 case ,${enable_languages}, in
13966 if test $ok = yes; then
13967 # An in-tree tool is available and we can use it
13968 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13970 $as_echo "just compiled
" >&6; }
13971 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13972 # We already found the complete path
13973 ac_dir=`dirname $GOC_FOR_TARGET`
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13975 $as_echo "pre-installed
in $ac_dir" >&6; }
13976 elif test "x
$target" = "x
$host"; then
13977 # We can use an host tool
13978 GOC_FOR_TARGET='$(GOC)'
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13980 $as_echo "host tool
" >&6; }
13982 # We need a cross tool
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13984 $as_echo "pre-installed
" >&6; }
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13989 $as_echo_n "checking where to
find the target ld...
" >&6; }
13990 if test "x
${build}" != "x
${host}" ; then
13991 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13992 # We already found the complete path
13993 ac_dir=`dirname $LD_FOR_TARGET`
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13995 $as_echo "pre-installed
in $ac_dir" >&6; }
13997 # Canadian cross, just use what we found
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13999 $as_echo "pre-installed
" >&6; }
14003 case " ${configdirs} " in
14008 if test $ok = yes; then
14009 # An in-tree tool is available and we can use it
14010 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14012 $as_echo "just compiled
" >&6; }
14013 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14014 # We already found the complete path
14015 ac_dir=`dirname $LD_FOR_TARGET`
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14017 $as_echo "pre-installed
in $ac_dir" >&6; }
14018 elif test "x
$target" = "x
$host"; then
14019 # We can use an host tool
14020 LD_FOR_TARGET='$(LD)'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14022 $as_echo "host tool
" >&6; }
14024 # We need a cross tool
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14026 $as_echo "pre-installed
" >&6; }
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14031 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14032 if test "x
${build}" != "x
${host}" ; then
14033 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14034 # We already found the complete path
14035 ac_dir=`dirname $LIPO_FOR_TARGET`
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14037 $as_echo "pre-installed
in $ac_dir" >&6; }
14039 # Canadian cross, just use what we found
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14041 $as_echo "pre-installed
" >&6; }
14044 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14045 # We already found the complete path
14046 ac_dir=`dirname $LIPO_FOR_TARGET`
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14048 $as_echo "pre-installed
in $ac_dir" >&6; }
14049 elif test "x
$target" = "x
$host"; then
14050 # We can use an host tool
14051 LIPO_FOR_TARGET='$(LIPO)'
14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14053 $as_echo "host tool
" >&6; }
14055 # We need a cross tool
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14057 $as_echo "pre-installed
" >&6; }
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14062 $as_echo_n "checking where to
find the target nm...
" >&6; }
14063 if test "x
${build}" != "x
${host}" ; then
14064 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14065 # We already found the complete path
14066 ac_dir=`dirname $NM_FOR_TARGET`
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14068 $as_echo "pre-installed
in $ac_dir" >&6; }
14070 # Canadian cross, just use what we found
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14072 $as_echo "pre-installed
" >&6; }
14076 case " ${configdirs} " in
14081 if test $ok = yes; then
14082 # An in-tree tool is available and we can use it
14083 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14085 $as_echo "just compiled
" >&6; }
14086 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14087 # We already found the complete path
14088 ac_dir=`dirname $NM_FOR_TARGET`
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14090 $as_echo "pre-installed
in $ac_dir" >&6; }
14091 elif test "x
$target" = "x
$host"; then
14092 # We can use an host tool
14093 NM_FOR_TARGET='$(NM)'
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14095 $as_echo "host tool
" >&6; }
14097 # We need a cross tool
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14099 $as_echo "pre-installed
" >&6; }
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14104 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14105 if test "x
${build}" != "x
${host}" ; then
14106 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14107 # We already found the complete path
14108 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14110 $as_echo "pre-installed
in $ac_dir" >&6; }
14112 # Canadian cross, just use what we found
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14114 $as_echo "pre-installed
" >&6; }
14118 case " ${configdirs} " in
14123 if test $ok = yes; then
14124 # An in-tree tool is available and we can use it
14125 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14127 $as_echo "just compiled
" >&6; }
14128 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14129 # We already found the complete path
14130 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14132 $as_echo "pre-installed
in $ac_dir" >&6; }
14133 elif test "x
$target" = "x
$host"; then
14134 # We can use an host tool
14135 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14137 $as_echo "host tool
" >&6; }
14139 # We need a cross tool
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14141 $as_echo "pre-installed
" >&6; }
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14146 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14147 if test "x
${build}" != "x
${host}" ; then
14148 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14149 # We already found the complete path
14150 ac_dir=`dirname $RANLIB_FOR_TARGET`
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14152 $as_echo "pre-installed
in $ac_dir" >&6; }
14154 # Canadian cross, just use what we found
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14156 $as_echo "pre-installed
" >&6; }
14160 case " ${configdirs} " in
14165 if test $ok = yes; then
14166 # An in-tree tool is available and we can use it
14167 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14169 $as_echo "just compiled
" >&6; }
14170 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14171 # We already found the complete path
14172 ac_dir=`dirname $RANLIB_FOR_TARGET`
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14174 $as_echo "pre-installed
in $ac_dir" >&6; }
14175 elif test "x
$target" = "x
$host"; then
14176 # We can use an host tool
14177 RANLIB_FOR_TARGET='$(RANLIB)'
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14179 $as_echo "host tool
" >&6; }
14181 # We need a cross tool
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14183 $as_echo "pre-installed
" >&6; }
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14188 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14189 if test "x
${build}" != "x
${host}" ; then
14190 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14191 # We already found the complete path
14192 ac_dir=`dirname $READELF_FOR_TARGET`
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14194 $as_echo "pre-installed
in $ac_dir" >&6; }
14196 # Canadian cross, just use what we found
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14198 $as_echo "pre-installed
" >&6; }
14202 case " ${configdirs} " in
14207 if test $ok = yes; then
14208 # An in-tree tool is available and we can use it
14209 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14211 $as_echo "just compiled
" >&6; }
14212 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14213 # We already found the complete path
14214 ac_dir=`dirname $READELF_FOR_TARGET`
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14216 $as_echo "pre-installed
in $ac_dir" >&6; }
14217 elif test "x
$target" = "x
$host"; then
14218 # We can use an host tool
14219 READELF_FOR_TARGET='$(READELF)'
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14221 $as_echo "host tool
" >&6; }
14223 # We need a cross tool
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14225 $as_echo "pre-installed
" >&6; }
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14230 $as_echo_n "checking where to
find the target strip...
" >&6; }
14231 if test "x
${build}" != "x
${host}" ; then
14232 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14233 # We already found the complete path
14234 ac_dir=`dirname $STRIP_FOR_TARGET`
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14236 $as_echo "pre-installed
in $ac_dir" >&6; }
14238 # Canadian cross, just use what we found
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14240 $as_echo "pre-installed
" >&6; }
14244 case " ${configdirs} " in
14249 if test $ok = yes; then
14250 # An in-tree tool is available and we can use it
14251 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14253 $as_echo "just compiled
" >&6; }
14254 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14255 # We already found the complete path
14256 ac_dir=`dirname $STRIP_FOR_TARGET`
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14258 $as_echo "pre-installed
in $ac_dir" >&6; }
14259 elif test "x
$target" = "x
$host"; then
14260 # We can use an host tool
14261 STRIP_FOR_TARGET='$(STRIP)'
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14263 $as_echo "host tool
" >&6; }
14265 # We need a cross tool
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14267 $as_echo "pre-installed
" >&6; }
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14272 $as_echo_n "checking where to
find the target windres...
" >&6; }
14273 if test "x
${build}" != "x
${host}" ; then
14274 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14275 # We already found the complete path
14276 ac_dir=`dirname $WINDRES_FOR_TARGET`
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14278 $as_echo "pre-installed
in $ac_dir" >&6; }
14280 # Canadian cross, just use what we found
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14282 $as_echo "pre-installed
" >&6; }
14286 case " ${configdirs} " in
14291 if test $ok = yes; then
14292 # An in-tree tool is available and we can use it
14293 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14295 $as_echo "just compiled
" >&6; }
14296 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14297 # We already found the complete path
14298 ac_dir=`dirname $WINDRES_FOR_TARGET`
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14300 $as_echo "pre-installed
in $ac_dir" >&6; }
14301 elif test "x
$target" = "x
$host"; then
14302 # We can use an host tool
14303 WINDRES_FOR_TARGET='$(WINDRES)'
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14305 $as_echo "host tool
" >&6; }
14307 # We need a cross tool
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14309 $as_echo "pre-installed
" >&6; }
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14314 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14315 if test "x
${build}" != "x
${host}" ; then
14316 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14317 # We already found the complete path
14318 ac_dir=`dirname $WINDMC_FOR_TARGET`
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14320 $as_echo "pre-installed
in $ac_dir" >&6; }
14322 # Canadian cross, just use what we found
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14324 $as_echo "pre-installed
" >&6; }
14328 case " ${configdirs} " in
14333 if test $ok = yes; then
14334 # An in-tree tool is available and we can use it
14335 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14337 $as_echo "just compiled
" >&6; }
14338 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14339 # We already found the complete path
14340 ac_dir=`dirname $WINDMC_FOR_TARGET`
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14342 $as_echo "pre-installed
in $ac_dir" >&6; }
14343 elif test "x
$target" = "x
$host"; then
14344 # We can use an host tool
14345 WINDMC_FOR_TARGET='$(WINDMC)'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14347 $as_echo "host tool
" >&6; }
14349 # We need a cross tool
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14351 $as_echo "pre-installed
" >&6; }
14359 # Certain tools may need extra flags.
14360 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14361 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14362 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14364 # When building target libraries, except in a Canadian cross, we use
14365 # the same toolchain as the compiler we just built.
14366 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14367 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14368 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14369 if test $host = $build; then
14370 case " $configdirs " in
14372 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14373 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14374 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14384 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14385 # Check whether --enable-maintainer-mode was given.
14386 if test "${enable_maintainer_mode+set}" = set; then :
14387 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14389 USE_MAINTAINER_MODE=no
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14393 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14396 if test "$USE_MAINTAINER_MODE" = yes; then
14397 MAINTAINER_MODE_TRUE=
14398 MAINTAINER_MODE_FALSE='#'
14400 MAINTAINER_MODE_TRUE='#'
14401 MAINTAINER_MODE_FALSE=
14403 MAINT=$MAINTAINER_MODE_TRUE
14405 # ---------------------
14406 # GCC bootstrap support
14407 # ---------------------
14409 # Stage specific cflags for build.
14414 yes) stage1_cflags="-g -Wa,-J" ;;
14415 *) stage1_cflags="-g -J" ;;
14421 # Enable --enable-checking in stage1 of the compiler.
14422 # Check whether --enable-stage1-checking was given.
14423 if test "${enable_stage1_checking+set}" = set; then :
14424 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14426 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14427 stage1_checking=--enable-checking=yes,types
14429 stage1_checking=--enable-checking=$enable_checking,types
14435 # Enable -Werror in bootstrap stage2 and later.
14436 # Check whether --enable-werror was given.
14437 if test "${enable_werror+set}" = set; then :
14438 enableval=$enable_werror;
14440 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14447 case ${enable_werror} in
14448 yes) stage2_werror_flag="--enable-werror-always" ;;
14449 *) stage2_werror_flag="" ;;
14453 # Enable --enable-host-shared.
14454 # Check whether --enable-host-shared was given.
14455 if test "${enable_host_shared+set}" = set; then :
14456 enableval=$enable_host_shared; host_shared=$enableval
14463 # Specify what files to not compare during bootstrap.
14465 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14467 hppa*64*-*-hpux*) ;;
14468 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14469 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14473 ac_config_files="$ac_config_files Makefile
"
14475 cat >confcache <<\_ACEOF
14476 # This file is a shell script that caches the results of configure
14477 # tests run on this system so they can be shared between configure
14478 # scripts and configure runs, see configure's option --config-cache.
14479 # It is not useful on other systems. If it contains results you don't
14480 # want to keep, you may remove or edit it.
14482 # config.status only pays attention to the cache file if you give it
14483 # the --recheck option to rerun configure.
14485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14487 # following values.
14491 # The following way of writing the cache mishandles newlines in values,
14492 # but we know of no workaround that is simple, portable, and efficient.
14493 # So, we kill variables containing newlines.
14494 # Ultrix sh set writes to stderr and can't be redirected directly,
14495 # and sets the high bit in the cache file unless we assign to the vars.
14497 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14498 eval ac_val=\$$ac_var
14502 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14503 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14506 _ | IFS | as_nl) ;; #(
14507 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14508 *) { eval $ac_var=; unset $ac_var;} ;;
14514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14515 *${as_nl}ac_space=\ *)
14516 # `set' does not quote correctly, so add quotes: double-quote
14517 # substitution turns \\\\ into \\, and sed turns \\ into \.
14520 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14523 # `set' quotes correctly as required by POSIX, so do not add quotes.
14524 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14538 if test -w "$cache_file"; then
14539 test "x
$cache_file" != "x
/dev
/null
" &&
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14541 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14542 cat confcache >$cache_file
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14545 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14550 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14551 # Let make expand exec_prefix.
14552 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14554 # Transform confdefs.h into DEFS.
14555 # Protect against shell expansion while executing Makefile rules.
14556 # Protect against Makefile macro expansion.
14558 # If the first sed substitution is executed (which looks for macros that
14559 # take arguments), then branch to the quote section. Otherwise,
14560 # look for a macro that doesn't take arguments.
14570 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14572 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14576 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14589 DEFS=`sed -n "$ac_script" confdefs.h`
14594 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14595 # 1. Remove the extension, and $U if already installed.
14596 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14597 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14598 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14599 # will be set to the directory where LIBOBJS objects are built.
14600 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14601 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14603 LIBOBJS=$ac_libobjs
14605 LTLIBOBJS=$ac_ltlibobjs
14609 : ${CONFIG_STATUS=./config.status}
14611 ac_clean_files_save=$ac_clean_files
14612 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14614 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14616 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14618 # Generated by $as_me.
14619 # Run this file to recreate the current configuration.
14620 # Compiler output produced by configure, useful for debugging
14621 # configure, is in config.log if it exists.
14624 ac_cs_recheck=false
14627 SHELL=\${CONFIG_SHELL-$SHELL}
14630 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14631 ## -------------------- ##
14632 ## M4sh Initialization. ##
14633 ## -------------------- ##
14635 # Be more Bourne compatible
14636 DUALCASE=1; export DUALCASE # for MKS sh
14637 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14640 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14641 # is contrary to our usage. Disable this feature.
14642 alias -g '${1+"$@"}'='"$@"'
14643 setopt NO_GLOB_SUBST
14645 case `(set -o) 2>/dev/null` in #(
14657 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14658 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14659 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14660 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14661 # Prefer a ksh shell builtin over an external printf program on Solaris,
14662 # but without wasting forks for bash or zsh.
14663 if test -z "$BASH_VERSION$ZSH_VERSION" \
14664 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14665 as_echo
='print -r --'
14666 as_echo_n
='print -rn --'
14667 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14668 as_echo
='printf %s\n'
14669 as_echo_n
='printf %s'
14671 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14672 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14673 as_echo_n
='/usr/ucb/echo -n'
14675 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14676 as_echo_n_body
='eval
14680 expr "X$arg" : "X\\(.*\\)$as_nl";
14681 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14683 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14685 export as_echo_n_body
14686 as_echo_n
='sh -c $as_echo_n_body as_echo'
14688 export as_echo_body
14689 as_echo
='sh -c $as_echo_body as_echo'
14692 # The user is always right.
14693 if test "${PATH_SEPARATOR+set}" != set; then
14695 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14696 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14703 # We need space, tab and new line, in precisely that order. Quoting is
14704 # there to prevent editors from complaining about space-tab.
14705 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14706 # splitting by setting IFS to empty value.)
14709 # Find who we are. Look in the path if we contain no directory separator.
14711 *[\\/]* ) as_myself
=$0 ;;
14712 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14713 for as_dir
in $PATH
14716 test -z "$as_dir" && as_dir
=.
14717 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14723 # We did not find ourselves, most probably we were run as `sh COMMAND'
14724 # in which case we are not to be found in the path.
14725 if test "x$as_myself" = x
; then
14728 if test ! -f "$as_myself"; then
14729 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14733 # Unset variables that we do not need and which cause bugs (e.g. in
14734 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14735 # suppresses any "Segmentation fault" message there. '((' could
14736 # trigger a bug in pdksh 5.2.14.
14737 for as_var
in BASH_ENV ENV MAIL MAILPATH
14738 do eval test x\
${$as_var+set} = xset \
14739 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14752 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14755 # as_fn_error ERROR [LINENO LOG_FD]
14756 # ---------------------------------
14757 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14758 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14759 # script with status $?, using 1 if that was 0.
14762 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14764 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14765 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14767 $as_echo "$as_me: error: $1" >&2
14768 as_fn_exit
$as_status
14772 # as_fn_set_status STATUS
14773 # -----------------------
14774 # Set $? to STATUS, without forking.
14775 as_fn_set_status
()
14778 } # as_fn_set_status
14780 # as_fn_exit STATUS
14781 # -----------------
14782 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14786 as_fn_set_status
$1
14792 # Portably unset VAR.
14795 { eval $1=; unset $1;}
14797 as_unset
=as_fn_unset
14798 # as_fn_append VAR VALUE
14799 # ----------------------
14800 # Append the text in VALUE to the end of the definition contained in VAR. Take
14801 # advantage of any shell optimizations that allow amortized linear growth over
14802 # repeated appends, instead of the typical quadratic growth present in naive
14804 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14805 eval 'as_fn_append ()
14816 # as_fn_arith ARG...
14817 # ------------------
14818 # Perform arithmetic evaluation on the ARGs, and store the result in the
14819 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14820 # must be portable across $(()) and expr.
14821 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14822 eval 'as_fn_arith ()
14829 as_val
=`expr "$@" || test $? -eq 1`
14834 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14835 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14841 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14842 as_basename
=basename
14847 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14853 as_me
=`$as_basename -- "$0" ||
14854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14855 X"$0" : 'X\(//\)$' \| \
14856 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14858 sed '/^.*\/\([^/][^/]*\)\/*$/{
14872 # Avoid depending upon Character Ranges.
14873 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14874 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14875 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14876 as_cr_digits
='0123456789'
14877 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14879 ECHO_C
= ECHO_N
= ECHO_T
=
14880 case `echo -n x` in #(((((
14882 case `echo 'xy\c'` in
14883 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14885 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14892 rm -f conf$$ conf$$.exe conf$$.
file
14893 if test -d conf$$.dir
; then
14894 rm -f conf$$.dir
/conf$$.
file
14897 mkdir conf$$.dir
2>/dev
/null
14899 if (echo >conf$$.
file) 2>/dev
/null
; then
14900 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14902 # ... but there are two gotchas:
14903 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14904 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14905 # In both cases, we have to default to `cp -p'.
14906 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14908 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14916 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14917 rmdir conf$$.dir
2>/dev
/null
14922 # Create "$as_dir" as a directory, including parents if necessary.
14927 -*) as_dir
=.
/$as_dir;;
14929 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14933 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14934 *) as_qdir
=$as_dir;;
14936 as_dirs
="'$as_qdir' $as_dirs"
14937 as_dir
=`$as_dirname -- "$as_dir" ||
14938 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14939 X"$as_dir" : 'X\(//\)[^/]' \| \
14940 X"$as_dir" : 'X\(//\)$' \| \
14941 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14942 $as_echo X"$as_dir" |
14943 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14947 /^X\(\/\/\)[^/].*/{
14960 test -d "$as_dir" && break
14962 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14963 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14967 if mkdir
-p .
2>/dev
/null
; then
14968 as_mkdir_p
='mkdir -p "$as_dir"'
14970 test -d .
/-p && rmdir .
/-p
14974 if test -x / >/dev
/null
2>&1; then
14975 as_test_x
='test -x'
14977 if ls -dL / >/dev
/null
2>&1; then
14984 if test -d "$1"; then
14990 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14991 ???[sx]*):;;*)false;;esac;fi
14995 as_executable_p
=$as_test_x
14997 # Sed expression to map a string onto a valid CPP name.
14998 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15000 # Sed expression to map a string onto a valid variable name.
15001 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15005 ## ----------------------------------- ##
15006 ## Main body of $CONFIG_STATUS script. ##
15007 ## ----------------------------------- ##
15009 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15011 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15012 # Save the log message, to keep $0 and so on meaningful, and to
15013 # report actual input values of CONFIG_FILES etc. instead of their
15014 # values after options handling.
15016 This file was extended by $as_me, which was
15017 generated by GNU Autoconf 2.64. Invocation command line was
15019 CONFIG_FILES = $CONFIG_FILES
15020 CONFIG_HEADERS = $CONFIG_HEADERS
15021 CONFIG_LINKS = $CONFIG_LINKS
15022 CONFIG_COMMANDS = $CONFIG_COMMANDS
15025 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15030 case $ac_config_files in *"
15031 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15037 # Files that config.status was made for.
15038 config_files="$ac_config_files"
15042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15044 \`$as_me' instantiates files and other configuration actions
15045 from templates according to the current configuration. Unless the files
15046 and actions are specified as TAGs, all are instantiated by default.
15048 Usage: $0 [OPTION]... [TAG]...
15050 -h, --help print this help, then exit
15051 -V, --version print version number and configuration settings, then exit
15052 -q, --quiet, --silent
15053 do not print progress messages
15054 -d, --debug don't remove temporary files
15055 --recheck update $as_me by reconfiguring in the same conditions
15056 --file=FILE[:TEMPLATE]
15057 instantiate the configuration file FILE
15059 Configuration files:
15062 Report bugs to the package provider."
15065 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15068 configured by $0, generated by GNU Autoconf 2.64,
15069 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15071 Copyright (C) 2009 Free Software Foundation, Inc.
15072 This config.status script is free software; the Free Software Foundation
15073 gives unlimited permission to copy, distribute and modify it."
15079 test -n "\$AWK" || AWK=awk
15082 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15083 # The default lists apply if the user does not specify any file.
15089 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15090 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15101 # Handling of the options.
15102 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15104 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15105 $as_echo "$ac_cs_version"; exit ;;
15106 --debug |
--debu |
--deb |
--de |
--d |
-d )
15108 --file |
--fil |
--fi |
--f )
15111 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15113 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15114 ac_need_defaults
=false
;;
15115 --he |
--h |
--help |
--hel |
-h )
15116 $as_echo "$ac_cs_usage"; exit ;;
15117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15118 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15121 # This is an error.
15122 -*) as_fn_error
"unrecognized option: \`$1'
15123 Try \`$0 --help' for more information." ;;
15125 *) as_fn_append ac_config_targets
" $1"
15126 ac_need_defaults
=false
;;
15132 ac_configure_extra_args
=
15134 if $ac_cs_silent; then
15136 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15141 if \$ac_cs_recheck; then
15142 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15144 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15145 CONFIG_SHELL='$SHELL'
15146 export CONFIG_SHELL
15151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15155 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15156 ## Running $as_me. ##
15162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15166 extrasub_build="$extrasub_build"
15167 extrasub_host="$extrasub_host"
15168 extrasub_target="$extrasub_target"
15172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15174 # Handling of arguments.
15175 for ac_config_target
in $ac_config_targets
15177 case $ac_config_target in
15178 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15180 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15185 # If the user did not use the arguments to specify the items to instantiate,
15186 # then the envvar interface is used. Set only those that are not.
15187 # We use the long form for the default assignment because of an extremely
15188 # bizarre bug on SunOS 4.1.3.
15189 if $ac_need_defaults; then
15190 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15193 # Have a temporary directory for convenience. Make it in the build tree
15194 # simply because there is no reason against having it here, and in addition,
15195 # creating and moving files from /tmp can sometimes cause problems.
15196 # Hook for its removal unless debugging.
15197 # Note that there is a small window in which the directory will not be cleaned:
15198 # after its creation but before its name has been assigned to `$tmp'.
15202 trap 'exit_status=$?
15203 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15205 trap 'as_fn_exit 1' 1 2 13 15
15207 # Create a (secure) tmp directory for tmp files.
15210 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15211 test -n "$tmp" && test -d "$tmp"
15214 tmp
=.
/conf$$
-$RANDOM
15215 (umask 077 && mkdir
"$tmp")
15216 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15218 # Set up the scripts for CONFIG_FILES section.
15219 # No need to generate them if there are no CONFIG_FILES.
15220 # This happens for instance with `./config.status config.h'.
15221 if test -n "$CONFIG_FILES"; then
15223 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15224 ac_cs_awk_getline
=:
15225 ac_cs_awk_pipe_init
=
15226 ac_cs_awk_read_file
='
15227 while ((getline aline < (F[key])) > 0)
15230 ac_cs_awk_pipe_fini
=
15232 ac_cs_awk_getline
=false
15233 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15234 ac_cs_awk_read_file
='
15236 print "cat " F[key] " &&"
15237 '$ac_cs_awk_pipe_init
15238 # The final `:' finishes the AND list.
15239 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15241 ac_cr
=`echo X | tr X '\015'`
15242 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15243 # But we know of no other shell where ac_cr would be empty at this
15244 # point, so we can use a bashism as a fallback.
15245 if test "x$ac_cr" = x
; then
15246 eval ac_cr
=\$
\'\\r
\'
15248 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15249 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15252 ac_cs_awk_cr
=$ac_cr
15255 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15258 # Create commands to substitute file output variables.
15260 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15261 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15262 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15265 } >conf$
$files.sh
&&
15266 . .
/conf$
$files.sh ||
15267 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15268 rm -f conf$
$files.sh
15271 echo "cat >conf$$subs.awk <<_ACEOF" &&
15272 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15274 } >conf$$subs.sh ||
15275 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15276 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15278 for ac_last_try in false false false false false :; do
15279 . ./conf$$subs.sh ||
15280 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15282 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15283 if test $ac_delim_n = $ac_delim_num; then
15285 elif $ac_last_try; then
15286 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15288 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15291 rm -f conf$$subs.sh
15293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15294 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15298 s/^/S["/; s
/!.
*/"]=/
15308 s/\(.\{148\}\).*/\1/
15310 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15315 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15322 s/\(.\{148\}\).*/\1/
15324 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15328 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15333 ' <conf$$subs.awk | sed '
15338 ' >>$CONFIG_STATUS || ac_write_fail=1
15339 rm -f conf$$subs.awk
15340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15342 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15343 for (key in S) S_is_set[key] = 1
15345 \$ac_cs_awk_pipe_init
15349 nfields = split(line, field, "@
")
15351 len = length(field[1])
15352 for (i = 2; i < nfields; i++) {
15354 keylen = length(key)
15355 if (S_is_set[key]) {
15357 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15358 len += length(value) + length(field[++i])
15363 if (nfields == 3 && !substed) {
15365 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15366 \$ac_cs_awk_read_file
15372 \$ac_cs_awk_pipe_fini
15375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15376 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15377 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15380 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15381 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15384 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15385 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15386 # trailing colons and then remove the whole line if VPATH becomes empty
15387 # (actually we leave an empty line to preserve line numbers).
15388 if test "x
$srcdir" = x.; then
15389 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15390 s/:*\$(srcdir):*/:/
15391 s/:*\${srcdir}:*/:/
15393 s/^\([^=]*=[ ]*\):*/\1/
15399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15400 fi # test -n "$CONFIG_FILES"
15403 eval set X " :F
$CONFIG_FILES "
15408 :[FHLC]) ac_mode=$ac_tag; continue;;
15410 case $ac_mode$ac_tag in
15412 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15413 :[FH]-) ac_tag=-:-;;
15414 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15431 -) ac_f="$tmp/stdin";;
15432 *) # Look for the file first in the build tree, then in the source tree
15433 # (if the path is not absolute). The absolute path cannot be DOS-style,
15434 # because $ac_f cannot contain `:'.
15438 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15440 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15442 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15443 as_fn_append ac_file_inputs " '$ac_f'"
15446 # Let's still pretend it is `configure' which instantiates (i.e., don't
15447 # use $as_me), people would be surprised to read:
15448 # /* config.h. Generated by config.status. */
15449 configure_input='Generated from '`
15450 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15452 if test x"$ac_file" != x-; then
15453 configure_input="$ac_file.
$configure_input"
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15455 $as_echo "$as_me: creating
$ac_file" >&6;}
15457 # Neutralize special characters interpreted by sed in replacement strings.
15458 case $configure_input in #(
15459 *\&* | *\|* | *\\* )
15460 ac_sed_conf_input=`$as_echo "$configure_input" |
15461 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15462 *) ac_sed_conf_input=$configure_input;;
15466 *:-:* | *:-) cat >"$tmp/stdin
" \
15467 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15472 ac_dir=`$as_dirname -- "$ac_file" ||
15473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15474 X"$ac_file" : 'X\(//\)[^/]' \| \
15475 X"$ac_file" : 'X\(//\)$' \| \
15476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15477 $as_echo X"$ac_file" |
15478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15482 /^X\(\/\/\)[^/].*/{
15495 as_dir="$ac_dir"; as_fn_mkdir_p
15499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15501 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15502 # A "..
" for each directory in $ac_dir_suffix.
15503 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15504 case $ac_top_builddir_sub in
15505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15509 ac_abs_top_builddir=$ac_pwd
15510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15511 # for backward compatibility:
15512 ac_top_builddir=$ac_top_build_prefix
15515 .) # We are building in place.
15517 ac_top_srcdir=$ac_top_builddir_sub
15518 ac_abs_top_srcdir=$ac_pwd ;;
15519 [\\/]* | ?:[\\/]* ) # Absolute name.
15520 ac_srcdir=$srcdir$ac_dir_suffix;
15521 ac_top_srcdir=$srcdir
15522 ac_abs_top_srcdir=$srcdir ;;
15523 *) # Relative name.
15524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15525 ac_top_srcdir=$ac_top_build_prefix$srcdir
15526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15538 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15539 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15544 # If the template does not know about datarootdir, expand it.
15545 # FIXME: This hack should be removed a few years after 2.60.
15546 ac_datarootdir_hack=; ac_datarootdir_seen=
15557 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15558 *datarootdir*) ac_datarootdir_seen=yes;;
15559 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15561 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15564 ac_datarootdir_hack='
15565 s&@datadir@&$datadir&g
15566 s&@docdir@&$docdir&g
15567 s&@infodir@&$infodir&g
15568 s&@localedir@&$localedir&g
15569 s&@mandir@&$mandir&g
15570 s&\\\${datarootdir}&$datarootdir&g' ;;
15574 # Neutralize VPATH when `$srcdir' = `.'.
15575 # Shell code in configure.ac might set extrasub.
15576 # FIXME: do we really want to maintain this feature?
15577 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15578 ac_sed_extra="$ac_vpsub
15581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15583 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15584 s|@configure_input@|
$ac_sed_conf_input|
;t t
15585 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15586 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15587 s
&@srcdir@
&$ac_srcdir&;t t
15588 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15589 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15590 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15591 s
&@builddir@
&$ac_builddir&;t t
15592 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15593 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15594 s
&@INSTALL@
&$ac_INSTALL&;t t
15595 $ac_datarootdir_hack
15597 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15598 if $ac_cs_awk_getline; then
15599 $AWK -f "$tmp/subs.
awk"
15601 $AWK -f "$tmp/subs.
awk" | $SHELL
15603 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15605 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15606 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15607 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15609 which seems to be undefined. Please make sure it is defined." >&5
15610 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15611 which seems to be undefined. Please make sure it is defined." >&2;}
15615 -) cat "$tmp/out" && rm -f "$tmp/out";;
15616 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15618 || as_fn_error "could not create $ac_file" "$LINENO" 5
15626 case $ac_file$ac_mode in
15627 "Makefile":F) sed "$extrasub_build" Makefile |
15628 sed "$extrasub_host" |
15629 sed "$extrasub_target" > mf$$
15630 mv -f mf$$ Makefile ;;
15638 ac_clean_files=$ac_clean_files_save
15640 test $ac_write_fail = 0 ||
15641 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15644 # configure is writing to config.log, and then calls config.status.
15645 # config.status does its own redirection, appending to config.log.
15646 # Unfortunately, on DOS this fails, as config.log is still kept open
15647 # by configure, so config.status won't be able to
write to it
; its
15648 # output is simply discarded. So we exec the FD to /dev/null,
15649 # effectively closing config.log, so it can be properly (re)opened and
15650 # appended to by config.status. When coming back to configure, we
15651 # need to make the FD available again.
15652 if test "$no_create" != yes; then
15654 ac_config_status_args
=
15655 test "$silent" = yes &&
15656 ac_config_status_args
="$ac_config_status_args --quiet"
15658 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15660 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15661 # would make configure fail if this is the last instruction.
15662 $ac_cs_success || as_fn_exit $?
15664 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15666 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}