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;
2900 # Check whether --enable-offload-targets was given.
2901 if test "${enable_offload_targets+set}" = set; then :
2902 enableval
=$enable_offload_targets;
2903 if test x
"$enable_offload_targets" = x
; then
2904 as_fn_error
"no offload targets specified" "$LINENO" 5
2908 enable_offload_targets
=
2912 # Handle --enable-gold, --enable-ld.
2913 # --disable-gold [--enable-ld]
2914 # Build only ld. Default option.
2915 # --enable-gold [--enable-ld]
2916 # Build both gold and ld. Install gold as "ld.gold", install ld
2917 # as "ld.bfd" and "ld".
2918 # --enable-gold=default [--enable-ld]
2919 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2920 # install ld as "ld.bfd".
2921 # --enable-gold[=default] --disable-ld
2922 # Build only gold, which is then installed as both "ld.gold" and "ld".
2923 # --enable-gold --enable-ld=default
2924 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2926 # In other words, ld is default
2927 # --enable-gold=default --enable-ld=default
2931 # Check whether --enable-gold was given.
2932 if test "${enable_gold+set}" = set; then :
2933 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2938 case "${ENABLE_GOLD}" in
2940 # Check for ELF target.
2943 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2944 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2945 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2946 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2948 *-*-linux*aout
* |
*-*-linux*oldld
*)
2956 if test "$is_elf" = "yes"; then
2957 # Check for target supported by gold.
2959 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
2960 | aarch64
*-*-* | tilegx
*-*-*)
2961 configdirs
="$configdirs gold"
2962 if test x
${ENABLE_GOLD} = xdefault
; then
2973 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2977 # Check whether --enable-ld was given.
2978 if test "${enable_ld+set}" = set; then :
2979 enableval
=$enable_ld; ENABLE_LD
=$enableval
2985 case "${ENABLE_LD}" in
2987 if test x
${default_ld} != x
; then
2988 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2994 if test x
${ENABLE_GOLD} != xyes
; then
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2996 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2998 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3001 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3005 # Configure extra directories which are host specific
3009 configdirs
="$configdirs libtermcap" ;;
3012 # A target can indicate whether a language isn't supported for some reason.
3013 # Only spaces may be used in this macro; not newlines or tabs.
3014 unsupported_languages
=
3016 # Remove more programs from consideration, based on the host or
3017 # target this usually means that a port of the program doesn't
3021 i
[3456789]86-*-msdosdjgpp*)
3022 noconfigdirs
="$noconfigdirs tcl tk itcl"
3027 # Check whether --enable-libquadmath was given.
3028 if test "${enable_libquadmath+set}" = set; then :
3029 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3031 ENABLE_LIBQUADMATH
=yes
3034 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3035 noconfigdirs
="$noconfigdirs target-libquadmath"
3039 # Check whether --enable-libquadmath-support was given.
3040 if test "${enable_libquadmath_support+set}" = set; then :
3041 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3043 ENABLE_LIBQUADMATH_SUPPORT
=yes
3046 enable_libquadmath_support
=
3047 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3048 enable_libquadmath_support
=no
3052 # Check whether --enable-libada was given.
3053 if test "${enable_libada+set}" = set; then :
3054 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3059 if test "${ENABLE_LIBADA}" != "yes" ; then
3060 noconfigdirs
="$noconfigdirs gnattools"
3063 # Check whether --enable-libssp was given.
3064 if test "${enable_libssp+set}" = set; then :
3065 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3071 # Check whether --enable-libstdcxx was given.
3072 if test "${enable_libstdcxx+set}" = set; then :
3073 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3075 ENABLE_LIBSTDCXX
=default
3078 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3079 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3082 # If this is accelerator compiler and its target is intelmic we enable
3083 # target liboffloadmic by default. If this is compiler with offloading
3084 # for intelmic we enable host liboffloadmic by default. Otherwise
3085 # liboffloadmic is disabled by default.
3086 # Check whether --enable-liboffloadmic was given.
3087 if test "${enable_liboffloadmic+set}" = set; then :
3088 enableval
=$enable_liboffloadmic; case "$enableval" in
3090 enable_liboffloadmic
=$enableval ;;
3092 as_fn_error
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3095 if test x
"$enable_as_accelerator_for" != x
; then
3097 *-intelmic-* |
*-intelmicemul-*)
3098 enable_liboffloadmic
=target
3099 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3102 enable_liboffloadmic
=no
3106 case "${enable_offload_targets}" in
3107 *-intelmic-* |
*-intelmicemul-*)
3108 enable_liboffloadmic
=host
3109 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3112 enable_liboffloadmic
=no
3120 # Save it here so that, even in case of --enable-libgcj, if the Java
3121 # front-end isn't enabled, we still get libgcj disabled.
3122 libgcj_saved
=$libgcj
3123 case $enable_libgcj in
3125 # If we reset it here, it won't get added to noconfigdirs in the
3126 # target-specific build rules, so it will be forcibly enabled
3127 # (unless the Java language itself isn't enabled).
3131 # Make sure we get it printed in the list of not supported target libs.
3132 # Don't disable libffi, though, other languages use it.
3133 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3134 # Clear libgcj_saved so that even if java is enabled libffi won't be
3140 # Check whether --enable-static-libjava was given.
3141 if test "${enable_static_libjava+set}" = set; then :
3142 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3144 ENABLE_STATIC_LIBJAVA
=no
3147 enable_static_libjava
=
3148 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3149 enable_static_libjava
=yes
3152 if test x
$enable_static_libjava != xyes
; then
3153 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3157 # Disable libgomp on non POSIX hosted systems.
3158 if test x
$enable_libgomp = x
; then
3159 # Enable libgomp by default on hosted POSIX systems.
3161 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3163 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3165 *-*-solaris2* |
*-*-hpux11*)
3167 *-*-darwin* |
*-*-aix*)
3170 noconfigdirs
="$noconfigdirs target-libgomp"
3175 # Disable libatomic on unsupported systems.
3176 if test -d ${srcdir}/libatomic
; then
3177 if test x
$enable_libatomic = x
; then
3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3179 $as_echo_n "checking for libatomic support... " >&6; }
3180 if (srcdir
=${srcdir}/libatomic
; \
3181 .
${srcdir}/configure.tgt
; \
3182 test -n "$UNSUPPORTED")
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3185 $as_echo "no" >&6; }
3186 noconfigdirs
="$noconfigdirs target-libatomic"
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3189 $as_echo "yes" >&6; }
3194 # Disable libcilkrts on unsupported systems.
3195 if test -d ${srcdir}/libcilkrts
; then
3196 if test x
$enable_libcilkrts = x
; then
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3198 $as_echo_n "checking for libcilkrts support... " >&6; }
3199 if (srcdir
=${srcdir}/libcilkrts
; \
3200 .
${srcdir}/configure.tgt
; \
3201 test -n "$UNSUPPORTED")
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3204 $as_echo "no" >&6; }
3205 noconfigdirs
="$noconfigdirs target-libcilkrts"
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3208 $as_echo "yes" >&6; }
3213 # Disable liboffloadmic on unsupported systems.
3214 if test -d ${srcdir}/liboffloadmic
; then
3215 if test x
$enable_liboffloadmic != xno
; then
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3217 $as_echo_n "checking for liboffloadmic support... " >&6; }
3218 if (srcdir
=${srcdir}/liboffloadmic
; \
3219 .
${srcdir}/configure.tgt
; \
3220 test -n "$UNSUPPORTED")
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3223 $as_echo "no" >&6; }
3224 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3232 # Disable libitm on unsupported systems.
3233 if test -d ${srcdir}/libitm
; then
3234 if test x
$enable_libitm = x
; then
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3236 $as_echo_n "checking for libitm support... " >&6; }
3237 if (srcdir
=${srcdir}/libitm
; \
3238 .
${srcdir}/configure.tgt
; \
3239 test -n "$UNSUPPORTED")
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242 $as_echo "no" >&6; }
3243 noconfigdirs
="$noconfigdirs target-libitm"
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3246 $as_echo "yes" >&6; }
3251 # Disable libsanitizer on unsupported systems.
3252 if test -d ${srcdir}/libsanitizer
; then
3253 if test x
$enable_libsanitizer = x
; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3255 $as_echo_n "checking for libsanitizer support... " >&6; }
3256 if (srcdir
=${srcdir}/libsanitizer
; \
3257 .
${srcdir}/configure.tgt
; \
3258 test -n "$UNSUPPORTED")
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3261 $as_echo "no" >&6; }
3262 noconfigdirs
="$noconfigdirs target-libsanitizer"
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3265 $as_echo "yes" >&6; }
3270 # Disable libvtv on unsupported systems.
3271 if test -d ${srcdir}/libvtv
; then
3272 if test x
$enable_libvtv = x
; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3274 $as_echo_n "checking for libvtv support... " >&6; }
3275 if (srcdir
=${srcdir}/libvtv
; \
3276 .
${srcdir}/configure.tgt
; \
3277 test "$VTV_SUPPORTED" != "yes")
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3280 $as_echo "no" >&6; }
3281 noconfigdirs
="$noconfigdirs target-libvtv"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3284 $as_echo "yes" >&6; }
3289 # Disable libquadmath for some systems.
3292 noconfigdirs
="$noconfigdirs target-libquadmath"
3294 # libquadmath is unused on AIX and libquadmath build process use of
3295 # LD_LIBRARY_PATH can break AIX bootstrap.
3296 powerpc-
*-aix* | rs6000-
*-aix*)
3297 noconfigdirs
="$noconfigdirs target-libquadmath"
3301 # Disable libssp for some systems.
3304 # No hosted I/O support.
3305 noconfigdirs
="$noconfigdirs target-libssp"
3307 powerpc-
*-aix* | rs6000-
*-aix*)
3308 noconfigdirs
="$noconfigdirs target-libssp"
3311 # libssp uses a misaligned load to trigger a fault, but the RL78
3312 # doesn't fault for those - instead, it gives a build-time error
3313 # for explicit misaligned loads.
3314 noconfigdirs
="$noconfigdirs target-libssp"
3318 # Disable libstdc++-v3 for some systems.
3319 # Allow user to override this if they pass --enable-libstdc++-v3
3320 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3323 # VxWorks uses the Dinkumware C++ library.
3324 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3327 # the C++ libraries don't build on top of CE's C libraries
3328 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3331 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3336 # Disable Fortran for some systems.
3339 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3340 unsupported_languages
="$unsupported_languages fortran"
3344 # Disable Java if libffi is not supported.
3376 powerpc-
*-aix* | rs6000-
*-aix*)
3380 powerpc64-
*-freebsd*)
3384 s390-
*-* | s390x-
*-*)
3386 sh-
*-* | sh
[34]*-*-*)
3388 sh64-
*-* | sh5
*-*-*)
3395 unsupported_languages
="$unsupported_languages java"
3399 # Disable Java, libgcj or related libraries for some systems.
3403 i
[3456789]86-*-darwin*)
3405 x86_64-
*-darwin[912]*)
3408 noconfigdirs
="$noconfigdirs ${libgcj}"
3411 noconfigdirs
="$noconfigdirs ${libgcj}"
3414 noconfigdirs
="$noconfigdirs ${libgcj}"
3417 noconfigdirs
="$noconfigdirs ${libgcj}"
3420 noconfigdirs
="$noconfigdirs ${libgcj}"
3423 noconfigdirs
="$noconfigdirs ${libgcj}"
3426 noconfigdirs
="$noconfigdirs ${libgcj}"
3429 noconfigdirs
="$noconfigdirs ${libgcj}"
3432 noconfigdirs
="$noconfigdirs ${libgcj}"
3435 noconfigdirs
="$noconfigdirs target-boehm-gc"
3437 cris-
*-* | crisv32-
*-*)
3438 unsupported_languages
="$unsupported_languages java"
3442 *) # See PR46792 regarding target-libffi.
3443 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3447 # In this case, it's because the hppa64-linux target is for
3448 # the kernel only at this point and has no libc, and thus no
3449 # headers, crt*.o, etc., all of which are needed by these.
3450 unsupported_languages
="$unsupported_languages java"
3453 noconfigdirs
="$noconfigdirs ${libgcj}"
3458 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3459 # build on HP-UX 10.20.
3460 noconfigdirs
="$noconfigdirs ${libgcj}"
3463 noconfigdirs
="$noconfigdirs ${libgcj}"
3465 i
[3456789]86-w64-mingw*)
3466 noconfigdirs
="$noconfigdirs ${libgcj}"
3468 i
[3456789]86-*-mingw*)
3469 noconfigdirs
="$noconfigdirs ${libgcj}"
3472 noconfigdirs
="$noconfigdirs ${libgcj}"
3475 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3478 # copied from rs6000-*-* entry
3479 noconfigdirs
="$noconfigdirs ${libgcj}"
3482 noconfigdirs
="$noconfigdirs ${libgcj}"
3485 noconfigdirs
="$noconfigdirs ${libgcj}"
3489 # Disable the go frontend on systems where it is known to not work. Please keep
3490 # this in sync with contrib/config-list.mk.
3492 *-*-darwin* |
*-*-cygwin* |
*-*-mingw* |
*-*-aix*)
3493 unsupported_languages
="$unsupported_languages go"
3497 # Disable libgo for some systems where it is known to not work.
3498 # For testing, you can easily override this with --enable-libgo.
3499 if test x
$enable_libgo = x
; then
3503 noconfigdirs
="$noconfigdirs target-libgo"
3505 *-*-cygwin* |
*-*-mingw*)
3506 noconfigdirs
="$noconfigdirs target-libgo"
3509 noconfigdirs
="$noconfigdirs target-libgo"
3514 # Default libgloss CPU subdirectory.
3515 libgloss_dir
="$target_cpu"
3518 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3522 libgloss_dir
=aarch64
3527 cris-
*-* | crisv32-
*-*)
3536 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3537 libgloss_dir
=m68hc11
3539 m68
*-*-* | fido-
*-*)
3553 # Disable newlib and libgloss for various target OSes.
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3558 i
[3456789]86-*-linux*)
3559 # This section makes it possible to build newlib natively on linux.
3560 # If we are using a cross compiler then don't configure newlib.
3561 if test x
${is_cross_compiler} != xno
; then
3562 noconfigdirs
="$noconfigdirs target-newlib"
3564 noconfigdirs
="$noconfigdirs target-libgloss"
3565 # If we are not using a cross compiler, do configure newlib.
3566 # Note however, that newlib will only be configured in this situation
3567 # if the --with-newlib option has been given, because otherwise
3568 # 'target-newlib' will appear in skipdirs.
3570 i
[3456789]86-*-rdos*)
3571 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3573 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3574 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3577 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3580 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3589 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3594 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3601 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3604 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3607 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3624 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3625 noconfigdirs
="$noconfigdirs sim target-rda"
3627 i
[3456789]86-*-darwin*)
3628 noconfigdirs
="$noconfigdirs ld gprof"
3629 noconfigdirs
="$noconfigdirs sim target-rda"
3631 x86_64-
*-darwin[912]*)
3632 noconfigdirs
="$noconfigdirs ld gas gprof"
3633 noconfigdirs
="$noconfigdirs sim target-rda"
3636 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3637 noconfigdirs
="$noconfigdirs sim target-rda"
3642 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3643 && test -f /usr
/local
/include
/gmp.h
; then
3648 # Remove unsupported stuff on all kaOS configurations.
3649 noconfigdirs
="$noconfigdirs target-libgloss"
3656 noconfigdirs
="$noconfigdirs target-libgloss"
3657 # this is not caught below because this stanza matches earlier
3659 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3662 # The tpf target doesn't support gdb yet.
3664 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3667 noconfigdirs
="$noconfigdirs target-rda"
3672 # ld works, but does not support shared libraries.
3673 # gas doesn't generate exception information.
3674 noconfigdirs
="$noconfigdirs gas ld"
3677 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3680 # newlib is not 64 bit ready
3681 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3683 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3684 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3687 noconfigdirs
="$noconfigdirs target-libgloss"
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3693 noconfigdirs
="$noconfigdirs ld target-libgloss"
3698 if test x
${with_avrlibc} != xno
; then
3699 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3702 c4x-
*-* | tic4x-
*-*)
3703 noconfigdirs
="$noconfigdirs target-libgloss"
3706 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3709 noconfigdirs
="$noconfigdirs target-libgloss"
3712 noconfigdirs
="$noconfigdirs gdb"
3715 noconfigdirs
="$noconfigdirs gdb"
3718 noconfigdirs
="$noconfigdirs gprof"
3721 noconfigdirs
="$noconfigdirs target-libgloss"
3724 noconfigdirs
="$noconfigdirs target-libgloss"
3726 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3734 hppa
*-*-openbsd* | \
3738 noconfigdirs
="$noconfigdirs ld"
3743 noconfigdirs
="$noconfigdirs ld"
3746 noconfigdirs
="$noconfigdirs gdb"
3749 # No gdb support yet.
3750 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3753 # No ld support yet.
3754 noconfigdirs
="$noconfigdirs libgui itcl ld"
3757 # No ld support yet.
3758 noconfigdirs
="$noconfigdirs libgui itcl ld"
3760 i
[3456789]86-w64-mingw*)
3762 i
[3456789]86-*-mingw*)
3763 target_configdirs
="$target_configdirs target-winsup"
3766 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3767 noconfigdirs
="$noconfigdirs target-libgloss"
3768 # always build newlib if winsup directory is present.
3769 if test -d "$srcdir/winsup/cygwin"; then
3770 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3771 elif test -d "$srcdir/newlib"; then
3772 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3776 noconfigdirs
="$noconfigdirs target-libgloss"
3778 i
[3456789]86-*-sco3.2v5
*)
3779 # The linker does not yet know about weak symbols in COFF,
3780 # and is not configured to handle mixed ELF and COFF.
3781 noconfigdirs
="$noconfigdirs ld target-libgloss"
3783 i
[3456789]86-*-sco*)
3784 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3786 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3787 noconfigdirs
="$noconfigdirs target-libgloss"
3789 i
[3456789]86-*-sysv4*)
3790 noconfigdirs
="$noconfigdirs target-libgloss"
3792 i
[3456789]86-*-beos*)
3793 noconfigdirs
="$noconfigdirs gdb"
3795 i
[3456789]86-*-rdos*)
3796 noconfigdirs
="$noconfigdirs gdb"
3799 noconfigdirs
="$noconfigdirs gdb"
3802 noconfigdirs
="$noconfigdirs sim"
3805 # copied from rs6000-*-* entry
3806 noconfigdirs
="$noconfigdirs gprof"
3808 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3809 target_configdirs
="$target_configdirs target-winsup"
3810 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3811 # always build newlib.
3812 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3814 # This is temporary until we can link against shared libraries
3815 powerpcle-
*-solaris*)
3816 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3819 noconfigdirs
="$noconfigdirs gdb"
3822 noconfigdirs
="$noconfigdirs gprof"
3825 noconfigdirs
="$noconfigdirs gprof"
3828 noconfigdirs
="$noconfigdirs gprof"
3831 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3834 noconfigdirs
="$noconfigdirs gprof"
3836 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3837 if test x
$with_newlib = xyes
; then
3838 noconfigdirs
="$noconfigdirs gprof"
3842 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3845 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3848 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3852 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3853 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3854 noconfigdirs
="$noconfigdirs ld gas gprof"
3857 noconfigdirs
="$noconfigdirs gprof"
3860 noconfigdirs
="$noconfigdirs gdb"
3863 # nvptx is just a compiler
3864 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3867 noconfigdirs
="$noconfigdirs gdb"
3874 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3878 if test x
${is_cross_compiler} = xno
; then
3883 noconfigdirs
="$noconfigdirs sim"
3885 tilepro
*-*-* | tilegx
*-*-*)
3886 noconfigdirs
="$noconfigdirs sim"
3889 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3892 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3896 # If we aren't building newlib, then don't build libgloss, since libgloss
3897 # depends upon some newlib header files.
3898 case "${noconfigdirs}" in
3899 *target-libgloss
*) ;;
3900 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3903 # Work in distributions that contain no compiler tools, like Autoconf.
3904 host_makefile_frag
=/dev
/null
3905 if test -d ${srcdir}/config
; then
3907 i
[3456789]86-*-msdosdjgpp*)
3908 host_makefile_frag
="config/mh-djgpp"
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3913 $as_echo_n "checking to see if cat works as expected... " >&6; }
3914 echo a
>cygwin-cat-check
3915 if test `cat cygwin-cat-check` = a
; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3918 $as_echo "yes" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3923 as_fn_error
"The cat command does not ignore carriage return characters.
3924 Please either mount the build directory in binary mode or run the following
3925 commands before running any configure script:
3931 host_makefile_frag
="config/mh-cygwin"
3934 host_makefile_frag
="config/mh-mingw"
3937 host_makefile_frag
="config/mh-alpha-linux"
3940 host_makefile_frag
="config/mh-pa-hpux10"
3943 host_makefile_frag
="config/mh-pa"
3946 host_makefile_frag
="config/mh-pa"
3949 host_makefile_frag
="config/mh-darwin"
3952 host_makefile_frag
="config/mh-ppc-aix"
3955 host_makefile_frag
="config/mh-ppc-aix"
3960 if test "${build}" != "${host}" ; then
3961 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3962 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3963 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3964 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3965 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3966 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3967 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3968 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3969 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3970 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3971 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3972 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3973 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3975 AR_FOR_BUILD
="\$(AR)"
3976 AS_FOR_BUILD
="\$(AS)"
3977 CC_FOR_BUILD
="\$(CC)"
3978 CXX_FOR_BUILD
="\$(CXX)"
3979 GCJ_FOR_BUILD
="\$(GCJ)"
3980 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3981 GOC_FOR_BUILD
="\$(GOC)"
3982 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3983 LD_FOR_BUILD
="\$(LD)"
3984 NM_FOR_BUILD
="\$(NM)"
3985 RANLIB_FOR_BUILD
="\$(RANLIB)"
3986 WINDRES_FOR_BUILD
="\$(WINDRES)"
3987 WINDMC_FOR_BUILD
="\$(WINDMC)"
3991 ac_cpp
='$CPP $CPPFLAGS'
3992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3995 if test -n "$ac_tool_prefix"; then
3996 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3997 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if test "${ac_cv_prog_CC+set}" = set; then :
4001 $as_echo_n "(cached) " >&6
4003 if test -n "$CC"; then
4004 ac_cv_prog_CC
="$CC" # Let the user override the test.
4006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4010 test -z "$as_dir" && as_dir
=.
4011 for ac_exec_ext
in '' $ac_executable_extensions; do
4012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4013 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4024 if test -n "$CC"; then
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4026 $as_echo "$CC" >&6; }
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4029 $as_echo "no" >&6; }
4034 if test -z "$ac_cv_prog_CC"; then
4036 # Extract the first word of "gcc", so it can be a program name with args.
4037 set dummy gcc
; ac_word
=$2
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4039 $as_echo_n "checking for $ac_word... " >&6; }
4040 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4041 $as_echo_n "(cached) " >&6
4043 if test -n "$ac_ct_CC"; then
4044 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4050 test -z "$as_dir" && as_dir
=.
4051 for ac_exec_ext
in '' $ac_executable_extensions; do
4052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4053 ac_cv_prog_ac_ct_CC
="gcc"
4054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4064 if test -n "$ac_ct_CC"; then
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4066 $as_echo "$ac_ct_CC" >&6; }
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4069 $as_echo "no" >&6; }
4072 if test "x$ac_ct_CC" = x
; then
4075 case $cross_compiling:$ac_tool_warned in
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4079 ac_tool_warned
=yes ;;
4087 if test -z "$CC"; then
4088 if test -n "$ac_tool_prefix"; then
4089 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4090 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if test "${ac_cv_prog_CC+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$CC"; then
4097 ac_cv_prog_CC
="$CC" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 if test -n "$CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4119 $as_echo "$CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4128 if test -z "$CC"; then
4129 # Extract the first word of "cc", so it can be a program name with args.
4130 set dummy cc
; ac_word
=$2
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4132 $as_echo_n "checking for $ac_word... " >&6; }
4133 if test "${ac_cv_prog_CC+set}" = set; then :
4134 $as_echo_n "(cached) " >&6
4136 if test -n "$CC"; then
4137 ac_cv_prog_CC
="$CC" # Let the user override the test.
4140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir
=.
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4147 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4148 ac_prog_rejected
=yes
4152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 if test $ac_prog_rejected = yes; then
4160 # We found a bogon in the path, so make sure we never use it.
4161 set dummy
$ac_cv_prog_CC
4163 if test $# != 0; then
4164 # We chose a different compiler from the bogus one.
4165 # However, it has the same basename, so the bogon will be chosen
4166 # first if we set CC to just the basename; use the full file name.
4168 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4174 if test -n "$CC"; then
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4176 $as_echo "$CC" >&6; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4179 $as_echo "no" >&6; }
4184 if test -z "$CC"; then
4185 if test -n "$ac_tool_prefix"; then
4186 for ac_prog
in cl.exe
4188 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4189 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if test "${ac_cv_prog_CC+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$CC"; then
4196 ac_cv_prog_CC
="$CC" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 if test -n "$CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 $as_echo "$CC" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$CC" && break
4228 if test -z "$CC"; then
4230 for ac_prog
in cl.exe
4232 # Extract the first word of "$ac_prog", so it can be a program name with args.
4233 set dummy
$ac_prog; ac_word
=$2
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235 $as_echo_n "checking for $ac_word... " >&6; }
4236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4237 $as_echo_n "(cached) " >&6
4239 if test -n "$ac_ct_CC"; then
4240 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir
=.
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4249 ac_cv_prog_ac_ct_CC
="$ac_prog"
4250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4259 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4260 if test -n "$ac_ct_CC"; then
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4262 $as_echo "$ac_ct_CC" >&6; }
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4265 $as_echo "no" >&6; }
4269 test -n "$ac_ct_CC" && break
4272 if test "x$ac_ct_CC" = x
; then
4275 case $cross_compiling:$ac_tool_warned in
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4278 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4279 ac_tool_warned
=yes ;;
4288 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error
"no acceptable C compiler found in \$PATH
4291 See \`config.log' for more details." "$LINENO" 5; }
4293 # Provide some information about the compiler.
4294 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4297 for ac_option
in --version -v -V -qversion; do
4298 { { ac_try
="$ac_compiler $ac_option >&5"
4300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4301 *) ac_try_echo=$ac_try;;
4303 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4304 $as_echo "$ac_try_echo"; } >&5
4305 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4307 if test -s conftest.err; then
4309 ... rest of stderr output deleted ...
4310 10q' conftest.err >conftest.er1
4311 cat conftest.er1 >&5
4312 rm -f conftest.er1 conftest.err
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }
4318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4319 /* end confdefs.h. */
4329 ac_clean_files_save=$ac_clean_files
4330 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4331 # Try to create an executable without -o first, disregard a.out.
4332 # It will help us diagnose broken compilers, and finding out an intuition
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4335 $as_echo_n "checking for C compiler default output file name... " >&6; }
4336 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4338 # The possible output files:
4339 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4342 for ac_file in $ac_files
4345 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4346 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4351 if { { ac_try="$ac_link_default"
4353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4354 *) ac_try_echo
=$ac_try;;
4356 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4357 $as_echo "$ac_try_echo"; } >&5
4358 (eval "$ac_link_default") 2>&5
4360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4361 test $ac_status = 0; }; then :
4362 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4363 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4364 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4365 # so that the user can short-circuit this test for compilers unknown to
4367 for ac_file
in $ac_files ''
4369 test -f "$ac_file" ||
continue
4371 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4374 # We found the default executable, but exeext='' is most
4378 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4380 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4382 # We set ac_cv_exeext here because the later test for it is not
4383 # safe: cross compilers may not add the suffix if given an `-o'
4384 # argument, so we may need to know it at that point already.
4385 # Even if this section looks crufty: it has the advantage of
4392 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4398 $as_echo "$ac_file" >&6; }
4399 if test -z "$ac_file"; then :
4400 $as_echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.
$ac_ext >&5
4403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 { as_fn_set_status
77
4406 as_fn_error
"C compiler cannot create executables
4407 See \`config.log' for more details." "$LINENO" 5; }; }
4409 ac_exeext
=$ac_cv_exeext
4411 # Check that the compiler produces executables we can run. If not, either
4412 # the compiler is broken, or we cross compile.
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4414 $as_echo_n "checking whether the C compiler works... " >&6; }
4415 # If not cross compiling, check that we can run a simple program.
4416 if test "$cross_compiling" != yes; then
4417 if { ac_try
='./$ac_file'
4418 { { case "(($ac_try" in
4419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4423 $as_echo "$ac_try_echo"; } >&5
4424 (eval "$ac_try") 2>&5
4426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4427 test $ac_status = 0; }; }; then
4430 if test "$cross_compiling" = maybe; then
4433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4435 as_fn_error "cannot run C compiled programs.
4436 If you meant to cross compile
, use \
`--host'.
4437 See \`config.log
' for more details." "$LINENO" 5; }
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4442 $as_echo "yes" >&6; }
4444 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4445 ac_clean_files=$ac_clean_files_save
4446 # Check that the compiler produces executables we can run. If not, either
4447 # the compiler is broken, or we cross compile.
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4449 $as_echo_n "checking whether we are cross compiling... " >&6; }
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4451 $as_echo "$cross_compiling" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4454 $as_echo_n "checking for suffix of executables... " >&6; }
4455 if { { ac_try="$ac_link"
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_link") 2>&5
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4467 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4468 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4470 for ac_file
in conftest.exe conftest conftest.
*; do
4471 test -f "$ac_file" ||
continue
4473 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4474 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4482 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4483 See \`config.log' for more details." "$LINENO" 5; }
4485 rm -f conftest
$ac_cv_exeext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4487 $as_echo "$ac_cv_exeext" >&6; }
4489 rm -f conftest.
$ac_ext
4490 EXEEXT
=$ac_cv_exeext
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4493 $as_echo_n "checking for suffix of object files... " >&6; }
4494 if test "${ac_cv_objext+set}" = set; then :
4495 $as_echo_n "(cached) " >&6
4497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4498 /* end confdefs.h. */
4508 rm -f conftest.o conftest.obj
4509 if { { ac_try
="$ac_compile"
4511 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4512 *) ac_try_echo=$ac_try;;
4514 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4515 $as_echo "$ac_try_echo"; } >&5
4516 (eval "$ac_compile") 2>&5
4518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4519 test $ac_status = 0; }; then :
4520 for ac_file in conftest.o conftest.obj conftest.*; do
4521 test -f "$ac_file" || continue;
4523 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4524 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4529 $as_echo "$as_me: failed program was:" >&5
4530 sed 's/^/| /' conftest.$ac_ext >&5
4532 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4534 as_fn_error "cannot compute suffix of object files
: cannot compile
4535 See \
`config.log' for more details." "$LINENO" 5; }
4537 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4540 $as_echo "$ac_cv_objext" >&6; }
4541 OBJEXT=$ac_cv_objext
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4544 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4545 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4546 $as_echo_n "(cached) " >&6
4548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4549 /* end confdefs.h. */
4562 if ac_fn_c_try_compile "$LINENO"; then :
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4572 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4573 if test $ac_compiler_gnu = yes; then
4578 ac_test_CFLAGS=${CFLAGS+set}
4579 ac_save_CFLAGS=$CFLAGS
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4581 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4582 if test "${ac_cv_prog_cc_g+set}" = set; then :
4583 $as_echo_n "(cached) " >&6
4585 ac_save_c_werror_flag=$ac_c_werror_flag
4586 ac_c_werror_flag=yes
4589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590 /* end confdefs.h. */
4600 if ac_fn_c_try_compile "$LINENO"; then :
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4615 if ac_fn_c_try_compile "$LINENO"; then :
4618 ac_c_werror_flag=$ac_save_c_werror_flag
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4631 if ac_fn_c_try_compile "$LINENO"; then :
4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4639 ac_c_werror_flag=$ac_save_c_werror_flag
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4642 $as_echo "$ac_cv_prog_cc_g" >&6; }
4643 if test "$ac_test_CFLAGS" = set; then
4644 CFLAGS=$ac_save_CFLAGS
4645 elif test $ac_cv_prog_cc_g = yes; then
4646 if test "$GCC" = yes; then
4652 if test "$GCC" = yes; then
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4659 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4660 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 ac_cv_prog_cc_c89=no
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4669 #include <sys/types.h>
4670 #include <sys/stat.h>
4671 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4672 struct buf { int x; };
4673 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4674 static char *e (p, i)
4680 static char *f (char * (*g) (char **, int), char **p, ...)
4685 s = g (p, va_arg (v,int));
4690 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4691 function prototypes and stuff, but not '\xHH' hex character constants.
4692 These don't provoke an error unfortunately, instead are silently treated
4693 as 'x'. The following induces an error, until -std is added to get
4694 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4695 array size at least. It's necessary to write '\x00'==0 to get something
4696 that's true only with -std. */
4697 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4699 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4700 inside strings and character constants. */
4702 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4704 int test (int i, double x);
4705 struct s1 {int (*f) (int a);};
4706 struct s2 {int (*f) (double a);};
4707 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4713 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4718 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4719 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4721 CC="$ac_save_CC $ac_arg"
4722 if ac_fn_c_try_compile "$LINENO"; then :
4723 ac_cv_prog_cc_c89=$ac_arg
4725 rm -f core conftest.err conftest.$ac_objext
4726 test "x$ac_cv_prog_cc_c89" != "xno" && break
4728 rm -f conftest.$ac_ext
4733 case "x$ac_cv_prog_cc_c89" in
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4736 $as_echo "none needed" >&6; } ;;
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4739 $as_echo "unsupported" >&6; } ;;
4741 CC="$CC $ac_cv_prog_cc_c89"
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4743 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4745 if test "x$ac_cv_prog_cc_c89" != xno; then :
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4756 ac_cpp='$CXXCPP $CPPFLAGS'
4757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4760 if test -z "$CXX"; then
4761 if test -n "$CCC"; then
4764 if test -n "$ac_tool_prefix"; then
4765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if test "${ac_cv_prog_CXX+set}" = set; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -n "$CXX"; then
4775 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 if test -n "$CXX"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4797 $as_echo "$CXX" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4804 test -n "$CXX" && break
4807 if test -z "$CXX"; then
4809 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4811 # Extract the first word of "$ac_prog", so it can be a program name with args.
4812 set dummy $ac_prog; ac_word=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$ac_ct_CXX"; then
4819 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir=.
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_prog_ac_ct_CXX="$ac_prog"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4839 if test -n "$ac_ct_CXX"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4841 $as_echo "$ac_ct_CXX" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4848 test -n "$ac_ct_CXX" && break
4851 if test "x$ac_ct_CXX" = x; then
4854 case $cross_compiling:$ac_tool_warned in
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4858 ac_tool_warned=yes ;;
4866 # Provide some information about the compiler.
4867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4870 for ac_option in --version -v -V -qversion; do
4871 { { ac_try="$ac_compiler $ac_option >&5"
4873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4874 *) ac_try_echo
=$ac_try;;
4876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4880 if test -s conftest.err
; then
4882 ... rest of stderr output deleted ...
4883 10q' conftest.err
>conftest.er1
4884 cat conftest.er1
>&5
4885 rm -f conftest.er1 conftest.err
4887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4888 test $ac_status = 0; }
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4892 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4893 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4897 /* end confdefs.h. */
4910 if ac_fn_cxx_try_compile
"$LINENO"; then :
4915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4916 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4920 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4921 if test $ac_compiler_gnu = yes; then
4926 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4927 ac_save_CXXFLAGS
=$CXXFLAGS
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4929 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4930 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4931 $as_echo_n "(cached) " >&6
4933 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4934 ac_cxx_werror_flag
=yes
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4948 if ac_fn_cxx_try_compile
"$LINENO"; then :
4949 ac_cv_prog_cxx_g
=yes
4952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4963 if ac_fn_cxx_try_compile
"$LINENO"; then :
4966 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4979 if ac_fn_cxx_try_compile
"$LINENO"; then :
4980 ac_cv_prog_cxx_g
=yes
4982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4987 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4990 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4991 if test "$ac_test_CXXFLAGS" = set; then
4992 CXXFLAGS
=$ac_save_CXXFLAGS
4993 elif test $ac_cv_prog_cxx_g = yes; then
4994 if test "$GXX" = yes; then
5000 if test "$GXX" = yes; then
5007 ac_cpp
='$CPP $CPPFLAGS'
5008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5013 # We must set the default linker to the linker used by gcc for the correct
5014 # operation of libtool. If LD is not defined and we are using gcc, try to
5015 # set the LD default to the ld used by gcc.
5016 if test -z "$LD"; then
5017 if test "$GCC" = yes; then
5020 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5022 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5024 case $gcc_prog_ld in
5025 # Accept absolute paths.
5026 [\\/]* |
[A-Za-z
]:[\\/]*)
5027 LD
="$gcc_prog_ld" ;;
5032 # Check whether -static-libstdc++ -static-libgcc is supported.
5034 if test "$GCC" = yes; then
5035 saved_LDFLAGS
="$LDFLAGS"
5037 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5039 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5041 ac_cpp
='$CXXCPP $CPPFLAGS'
5042 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5043 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5044 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5050 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5051 #error -static-libstdc++ not implemented
5055 if ac_fn_cxx_try_link
"$LINENO"; then :
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5057 $as_echo "yes" >&6; }; have_static_libs
=yes
5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 $as_echo "no" >&6; }
5062 rm -f core conftest.err conftest.
$ac_objext \
5063 conftest
$ac_exeext conftest.
$ac_ext
5065 ac_cpp
='$CPP $CPPFLAGS'
5066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5071 LDFLAGS
="$saved_LDFLAGS"
5077 if test -n "$ac_tool_prefix"; then
5078 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5079 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$GNATBIND"; then
5086 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 GNATBIND
=$ac_cv_prog_GNATBIND
5106 if test -n "$GNATBIND"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5108 $as_echo "$GNATBIND" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5116 if test -z "$ac_cv_prog_GNATBIND"; then
5117 ac_ct_GNATBIND
=$GNATBIND
5118 # Extract the first word of "gnatbind", so it can be a program name with args.
5119 set dummy gnatbind
; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$ac_ct_GNATBIND"; then
5126 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5146 if test -n "$ac_ct_GNATBIND"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5148 $as_echo "$ac_ct_GNATBIND" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5154 if test "x$ac_ct_GNATBIND" = x
; then
5157 case $cross_compiling:$ac_tool_warned in
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5161 ac_tool_warned
=yes ;;
5163 GNATBIND
=$ac_ct_GNATBIND
5166 GNATBIND
="$ac_cv_prog_GNATBIND"
5169 if test -n "$ac_tool_prefix"; then
5170 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5171 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173 $as_echo_n "checking for $ac_word... " >&6; }
5174 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5175 $as_echo_n "(cached) " >&6
5177 if test -n "$GNATMAKE"; then
5178 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir
=.
5185 for ac_exec_ext
in '' $ac_executable_extensions; do
5186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5187 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 GNATMAKE
=$ac_cv_prog_GNATMAKE
5198 if test -n "$GNATMAKE"; then
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5200 $as_echo "$GNATMAKE" >&6; }
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203 $as_echo "no" >&6; }
5208 if test -z "$ac_cv_prog_GNATMAKE"; then
5209 ac_ct_GNATMAKE
=$GNATMAKE
5210 # Extract the first word of "gnatmake", so it can be a program name with args.
5211 set dummy gnatmake
; ac_word
=$2
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213 $as_echo_n "checking for $ac_word... " >&6; }
5214 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5215 $as_echo_n "(cached) " >&6
5217 if test -n "$ac_ct_GNATMAKE"; then
5218 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5224 test -z "$as_dir" && as_dir
=.
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5238 if test -n "$ac_ct_GNATMAKE"; then
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5240 $as_echo "$ac_ct_GNATMAKE" >&6; }
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243 $as_echo "no" >&6; }
5246 if test "x$ac_ct_GNATMAKE" = x
; then
5249 case $cross_compiling:$ac_tool_warned in
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5253 ac_tool_warned
=yes ;;
5255 GNATMAKE
=$ac_ct_GNATMAKE
5258 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5262 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5263 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5264 $as_echo_n "(cached) " >&6
5266 cat >conftest.adb
<<EOF
5267 procedure conftest is begin null; end conftest;
5269 acx_cv_cc_gcc_supports_ada
=no
5270 # There is a bug in old released versions of GCC which causes the
5271 # driver to exit successfully when the appropriate language module
5272 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5273 # Therefore we must check for the error message as well as an
5274 # unsuccessful exit.
5275 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5276 # given a .adb file, but produce no object file. So we must check
5277 # if an object file was really produced to guard against this.
5278 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5279 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5280 acx_cv_cc_gcc_supports_ada
=yes
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5285 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5287 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5294 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5295 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5296 $as_echo_n "(cached) " >&6
5300 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5301 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5302 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5305 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5308 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5309 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5312 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5319 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5320 do_compare
="$gcc_cv_prog_cmp_skip"
5324 # Check whether --enable-bootstrap was given.
5325 if test "${enable_bootstrap+set}" = set; then :
5326 enableval
=$enable_bootstrap;
5328 enable_bootstrap
=default
5332 # Issue errors and warnings for invalid/strange bootstrap combinations.
5333 if test -r $srcdir/gcc
/configure
; then
5339 case "$have_compiler:$host:$target:$enable_bootstrap" in
5342 # Default behavior. Enable bootstrap if we have a compiler
5343 # and we are in a native configuration.
5344 yes:$build:$build:default
)
5345 enable_bootstrap
=yes ;;
5348 enable_bootstrap
=no
;;
5350 # We have a compiler and we are in a native configuration, bootstrap is ok
5351 yes:$build:$build:yes)
5354 # Other configurations, but we have a compiler. Assume the user knows
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5358 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5361 # No compiler: if they passed --enable-bootstrap explicitly, fail
5363 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5365 # Fail if wrong command line
5367 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5371 # Used for setting $lt_cv_objdir
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5373 $as_echo_n "checking for objdir... " >&6; }
5374 if test "${lt_cv_objdir+set}" = set; then :
5375 $as_echo_n "(cached) " >&6
5377 rm -f .libs
2>/dev
/null
5378 mkdir .libs
2>/dev
/null
5379 if test -d .libs
; then
5382 # MS-DOS does not allow filenames that begin with a dot.
5385 rmdir .libs
2>/dev
/null
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5388 $as_echo "$lt_cv_objdir" >&6; }
5389 objdir
=$lt_cv_objdir
5395 cat >>confdefs.h
<<_ACEOF
5396 #define LT_OBJDIR "$lt_cv_objdir/"
5401 # Check for GMP, MPFR and MPC
5402 gmplibs
="-lmpc -lmpfr -lgmp"
5406 # Specify a location for mpc
5407 # check for this first so it ends up on the link line before mpfr.
5409 # Check whether --with-mpc was given.
5410 if test "${with_mpc+set}" = set; then :
5415 # Check whether --with-mpc-include was given.
5416 if test "${with_mpc_include+set}" = set; then :
5417 withval
=$with_mpc_include;
5421 # Check whether --with-mpc-lib was given.
5422 if test "${with_mpc_lib+set}" = set; then :
5423 withval
=$with_mpc_lib;
5427 if test "x$with_mpc" != x
; then
5428 gmplibs
="-L$with_mpc/lib $gmplibs"
5429 gmpinc
="-I$with_mpc/include $gmpinc"
5431 if test "x$with_mpc_include" != x
; then
5432 gmpinc
="-I$with_mpc_include $gmpinc"
5434 if test "x$with_mpc_lib" != x
; then
5435 gmplibs
="-L$with_mpc_lib $gmplibs"
5437 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5438 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5439 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5440 # Do not test the mpc version. Assume that it is sufficient, since
5441 # it is in the source tree, and the library has not been built yet
5442 # but it would be included on the link line in the version check below
5443 # hence making the test fail.
5447 # Specify a location for mpfr
5448 # check for this first so it ends up on the link line before gmp.
5450 # Check whether --with-mpfr-dir was given.
5451 if test "${with_mpfr_dir+set}" = set; then :
5452 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5453 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5458 # Check whether --with-mpfr was given.
5459 if test "${with_mpfr+set}" = set; then :
5464 # Check whether --with-mpfr-include was given.
5465 if test "${with_mpfr_include+set}" = set; then :
5466 withval
=$with_mpfr_include;
5470 # Check whether --with-mpfr-lib was given.
5471 if test "${with_mpfr_lib+set}" = set; then :
5472 withval
=$with_mpfr_lib;
5476 if test "x$with_mpfr" != x
; then
5477 gmplibs
="-L$with_mpfr/lib $gmplibs"
5478 gmpinc
="-I$with_mpfr/include $gmpinc"
5480 if test "x$with_mpfr_include" != x
; then
5481 gmpinc
="-I$with_mpfr_include $gmpinc"
5483 if test "x$with_mpfr_lib" != x
; then
5484 gmplibs
="-L$with_mpfr_lib $gmplibs"
5486 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5487 # MPFR v3.1.0 moved the sources into a src sub-directory.
5488 if test -d ${srcdir}/mpfr
/src
; then
5489 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5490 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5491 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5493 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5494 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5495 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5497 # Do not test the mpfr version. Assume that it is sufficient, since
5498 # it is in the source tree, and the library has not been built yet
5499 # but it would be included on the link line in the version check below
5500 # hence making the test fail.
5504 # Specify a location for gmp
5506 # Check whether --with-gmp-dir was given.
5507 if test "${with_gmp_dir+set}" = set; then :
5508 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5509 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5514 # Check whether --with-gmp was given.
5515 if test "${with_gmp+set}" = set; then :
5520 # Check whether --with-gmp-include was given.
5521 if test "${with_gmp_include+set}" = set; then :
5522 withval
=$with_gmp_include;
5526 # Check whether --with-gmp-lib was given.
5527 if test "${with_gmp_lib+set}" = set; then :
5528 withval
=$with_gmp_lib;
5533 if test "x$with_gmp" != x
; then
5534 gmplibs
="-L$with_gmp/lib $gmplibs"
5535 gmpinc
="-I$with_gmp/include $gmpinc"
5537 if test "x$with_gmp_include" != x
; then
5538 gmpinc
="-I$with_gmp_include $gmpinc"
5540 if test "x$with_gmp_lib" != x
; then
5541 gmplibs
="-L$with_gmp_lib $gmplibs"
5543 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5544 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5545 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5546 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5547 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5548 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5549 # Do not test the gmp version. Assume that it is sufficient, since
5550 # it is in the source tree, and the library has not been built yet
5551 # but it would be included on the link line in the version check below
5552 # hence making the test fail.
5556 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5558 saved_CFLAGS
="$CFLAGS"
5559 CFLAGS
="$CFLAGS $gmpinc"
5560 # Check for the recommended and required versions of GMP.
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5562 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5571 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5572 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5573 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5581 if ac_fn_c_try_compile
"$LINENO"; then :
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5589 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5590 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5591 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5599 if ac_fn_c_try_compile
"$LINENO"; then :
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5601 $as_echo "yes" >&6; }
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5604 $as_echo "buggy but acceptable" >&6; }
5606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609 $as_echo "no" >&6; }; have_gmp
=no
5611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5613 # If we have GMP, check the MPFR version.
5614 if test x
"$have_gmp" = xyes
; then
5615 # Check for the recommended and required versions of MPFR.
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5617 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5619 /* end confdefs.h. */
5626 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5634 if ac_fn_c_try_compile
"$LINENO"; then :
5635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5643 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5651 if ac_fn_c_try_compile
"$LINENO"; then :
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5653 $as_echo "yes" >&6; }
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5656 $as_echo "buggy but acceptable" >&6; }
5658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }; have_gmp
=no
5663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5666 # Check for the MPC header version.
5667 if test x
"$have_gmp" = xyes
; then
5668 # Check for the recommended and required versions of MPC.
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5670 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5672 /* end confdefs.h. */
5678 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5686 if ac_fn_c_try_compile
"$LINENO"; then :
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5694 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5702 if ac_fn_c_try_compile
"$LINENO"; then :
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5704 $as_echo "yes" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5707 $as_echo "buggy but acceptable" >&6; }
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }; have_gmp
=no
5714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5717 # Now check the MPFR library.
5718 if test x
"$have_gmp" = xyes
; then
5720 LIBS
="$LIBS $gmplibs"
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5722 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5724 /* end confdefs.h. */
5736 mpfr_atan2 (n, n, x, GMP_RNDN);
5737 mpfr_erfc (n, x, GMP_RNDN);
5738 mpfr_subnormalize (x, t, GMP_RNDN);
5742 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5743 mpc_cosh (c, c, MPC_RNDNN);
5744 mpc_pow (c, c, c, MPC_RNDNN);
5745 mpc_acosh (c, c, MPC_RNDNN);
5752 if ac_fn_c_try_link
"$LINENO"; then :
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5754 $as_echo "yes" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }; have_gmp
=no
5759 rm -f core conftest.err conftest.
$ac_objext \
5760 conftest
$ac_exeext conftest.
$ac_ext
5764 CFLAGS
="$saved_CFLAGS"
5766 # The library versions listed in the error message below should match
5767 # the HARD-minimums enforced above.
5768 if test x
$have_gmp != xyes
; then
5769 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5770 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5771 their locations. Source code for these libraries can be found at
5772 their respective hosting sites as well as at
5773 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5774 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5775 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5776 make sure that you have installed both the libraries and the header
5777 files. They may be located in separate packages." "$LINENO" 5
5781 # Flags needed for both GMP, MPFR and/or MPC.
5789 # Allow host libstdc++ to be specified for static linking with PPL.
5791 # Check whether --with-host-libstdcxx was given.
5792 if test "${with_host_libstdcxx+set}" = set; then :
5793 withval
=$with_host_libstdcxx;
5797 case $with_host_libstdcxx in
5799 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5803 # Libraries to use for stage1 or when not bootstrapping.
5805 # Check whether --with-stage1-libs was given.
5806 if test "${with_stage1_libs+set}" = set; then :
5807 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5810 stage1_libs
=$withval
5813 stage1_libs
=$with_host_libstdcxx
5818 # Linker flags to use for stage1 or when not bootstrapping.
5820 # Check whether --with-stage1-ldflags was given.
5821 if test "${with_stage1_ldflags+set}" = set; then :
5822 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5825 stage1_ldflags
=$withval
5829 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5830 # if supported. But if the user explicitly specified the libraries to use,
5831 # trust that they are doing what they want.
5832 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5833 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5839 # Libraries to use for stage2 and later builds. This defaults to the
5840 # argument passed to --with-host-libstdcxx.
5842 # Check whether --with-boot-libs was given.
5843 if test "${with_boot_libs+set}" = set; then :
5844 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5847 poststage1_libs
=$withval
5850 poststage1_libs
=$with_host_libstdcxx
5855 # Linker flags to use for stage2 and later builds.
5857 # Check whether --with-boot-ldflags was given.
5858 if test "${with_boot_ldflags+set}" = set; then :
5859 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5862 poststage1_ldflags
=$withval
5866 # In stages 2 and 3, default to linking libstdc++ and libgcc
5867 # statically. But if the user explicitly specified the libraries to
5868 # use, trust that they are doing what they want.
5869 if test "$poststage1_libs" = ""; then
5870 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5876 # GCC GRAPHITE dependency ISL.
5877 # Basic setup is inlined here, actual checks are in config/isl.m4
5880 # Check whether --with-isl was given.
5881 if test "${with_isl+set}" = set; then :
5886 # Treat --without-isl as a request to disable
5887 # GRAPHITE support and skip all following checks.
5888 if test "x$with_isl" != "xno"; then
5892 # Check whether --with-isl-include was given.
5893 if test "${with_isl_include+set}" = set; then :
5894 withval
=$with_isl_include;
5898 # Check whether --with-isl-lib was given.
5899 if test "${with_isl_lib+set}" = set; then :
5900 withval
=$with_isl_lib;
5904 # Check whether --enable-isl-version-check was given.
5905 if test "${enable_isl_version_check+set}" = set; then :
5906 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5908 ENABLE_ISL_CHECK
=yes
5912 # Initialize isllibs and islinc.
5921 isllibs
="-L$with_isl/lib"
5922 islinc
="-I$with_isl/include"
5925 if test "x${with_isl_include}" != x
; then
5926 islinc
="-I$with_isl_include"
5928 if test "x${with_isl_lib}" != x
; then
5929 isllibs
="-L$with_isl_lib"
5931 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5932 && test -d ${srcdir}/isl
; then
5933 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5934 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5937 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5940 isllibs
="${isllibs} -lisl"
5944 if test "${ENABLE_ISL_CHECK}" = yes ; then
5945 _isl_saved_CFLAGS
=$CFLAGS
5946 _isl_saved_LDFLAGS
=$LDFLAGS
5947 _isl_saved_LIBS
=$LIBS
5949 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5950 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5951 LIBS
="${_isl_saved_LIBS} -lisl"
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5954 $as_echo_n "checking for compatible ISL... " >&6; }
5955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5956 /* end confdefs.h. */
5957 #include <isl/val.h>
5966 if ac_fn_c_try_link
"$LINENO"; then :
5971 rm -f core conftest.err conftest.
$ac_objext \
5972 conftest
$ac_exeext conftest.
$ac_ext
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5974 $as_echo "$gcc_cv_isl" >&6; }
5976 CFLAGS
=$_isl_saved_CFLAGS
5977 LDFLAGS
=$_isl_saved_LDFLAGS
5978 LIBS
=$_isl_saved_LIBS
5986 if test "x${with_isl}" = xno
; then
5987 graphite_requested
=no
5988 elif test "x${with_isl}" != x \
5989 ||
test "x${with_isl_include}" != x \
5990 ||
test "x${with_isl_lib}" != x
; then
5991 graphite_requested
=yes
5993 graphite_requested
=no
5998 if test "${gcc_cv_isl}" = no
; then
6003 if test "${graphite_requested}" = yes \
6004 && test "x${isllibs}" = x \
6005 && test "x${islinc}" = x
; then
6007 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6013 # If the ISL check failed, disable builds of in-tree variant of ISL
6014 if test "x$with_isl" = xno ||
6015 test "x$gcc_cv_isl" = xno
; then
6016 noconfigdirs
="$noconfigdirs isl"
6023 # Check for LTO support.
6024 # Check whether --enable-lto was given.
6025 if test "${enable_lto+set}" = set; then :
6026 enableval
=$enable_lto; enable_lto
=$enableval
6028 enable_lto
=yes; default_enable_lto
=yes
6037 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6038 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6039 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6047 if test $target_elf = yes; then :
6048 # ELF platforms build the lto-plugin always.
6049 build_lto_plugin
=yes
6052 if test x
"$default_enable_lto" = x
"yes" ; then
6054 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6055 # On other non-ELF platforms, LTO has yet to be validated.
6059 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6060 # It would also be nice to check the binutils support, but we don't
6061 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6062 # warn during gcc/ subconfigure; unless you're bootstrapping with
6063 # -flto it won't be needed until after installation anyway.
6065 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6066 *) if test x
"$enable_lto" = x
"yes"; then
6067 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6072 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6073 # Build it unless LTO was explicitly disabled.
6075 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6082 # Check whether --enable-linker-plugin-configure-flags was given.
6083 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6084 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6086 extra_linker_plugin_configure_flags
=
6090 # Check whether --enable-linker-plugin-flags was given.
6091 if test "${enable_linker_plugin_flags+set}" = set; then :
6092 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6094 extra_linker_plugin_flags
=
6100 # By default, C and C++ are the only stage 1 languages.
6101 stage1_languages
=,c
,
6103 # Target libraries that we bootstrap.
6104 bootstrap_target_libs
=,target-libgcc
,
6106 # Figure out what language subdirectories are present.
6107 # Look if the user specified --enable-languages="..."; if not, use
6108 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6110 # NB: embedded tabs in this IF block -- do not untabify
6111 if test -d ${srcdir}/gcc
; then
6112 if test x
"${enable_languages+set}" != xset
; then
6113 if test x
"${LANGUAGES+set}" = xset
; then
6114 enable_languages
="${LANGUAGES}"
6115 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6117 enable_languages
=all
6120 if test x
"${enable_languages}" = x ||
6121 test x
"${enable_languages}" = xyes
;
6123 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6127 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6129 # 'f95' is the old name for the 'fortran' language. We issue a warning
6130 # and make the substitution.
6131 case ,${enable_languages}, in
6133 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6134 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6138 # If bootstrapping, C++ must be enabled.
6139 case ",$enable_languages,:$enable_bootstrap" in
6142 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6143 enable_languages
="${enable_languages},c++"
6145 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6150 # First scan to see if an enabled language requires some other language.
6151 # We assume that a given config-lang.in will list all the language
6152 # front ends it requires, even if some are required indirectly.
6153 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6154 case ${lang_frag} in
6156 # The odd quoting in the next line works around
6157 # an apparent bug in bash 1.12 on linux.
6158 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6160 # From the config-lang.in, get $language, $lang_requires, and
6161 # $lang_requires_boot_languages.
6164 lang_requires_boot_languages
=
6166 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6167 case ,${enable_languages}, in
6171 echo " \`$other' language required by \`$language'; enabling" 1>&2
6172 enable_languages
="${enable_languages},${other}"
6176 for other
in ${lang_requires_boot_languages} ; do
6177 if test "$other" != "c"; then
6178 case ,${enable_stage1_languages}, in
6182 case ,${enable_languages}, in
6184 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6185 enable_stage1_languages
="$enable_stage1_languages,${other}"
6196 new_enable_languages
=,c
,
6198 # If LTO is enabled, add the LTO front end.
6199 if test "$enable_lto" = "yes" ; then
6200 case ,${enable_languages}, in
6202 *) enable_languages
="${enable_languages},lto" ;;
6204 if test "${build_lto_plugin}" = "yes" ; then
6205 configdirs
="$configdirs lto-plugin"
6209 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6210 potential_languages
=,c
,
6212 enabled_target_libs
=
6213 disabled_target_libs
=
6215 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6216 case ${lang_frag} in
6218 # The odd quoting in the next line works around
6219 # an apparent bug in bash 1.12 on linux.
6220 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6222 # From the config-lang.in, get $language, $target_libs,
6223 # $lang_dirs, $boot_language, and $build_by_default
6229 build_by_default
=yes
6231 if test x
${language} = x
; then
6232 echo "${lang_frag} doesn't set \$language." 1>&2
6236 if test "$language" = "c++"; then
6241 case ,${enable_languages}, in
6243 # Language was explicitly selected; include it
6244 # unless it is C, which is enabled by default.
6245 if test "$language" != "c"; then
6250 # 'all' was selected, select it if it is a default language
6251 if test "$language" != "c"; then
6252 add_this_lang
=${build_by_default}
6257 # Disable languages that need other directories if these aren't available.
6258 for i
in $subdir_requires; do
6259 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6260 case ,${enable_languages}, in
6262 # Specifically requested language; tell them.
6263 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6267 add_this_lang
=unsupported
6272 # Disable Ada if no preexisting GNAT is available.
6273 case ,${enable_languages},:${language}:${have_gnat} in
6274 *,${language},*:ada
:no
)
6275 # Specifically requested language; tell them.
6276 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6280 add_this_lang
=unsupported
6284 # Disable a language that is unsupported by the target.
6285 case " $unsupported_languages " in
6287 add_this_lang
=unsupported
6291 case $add_this_lang in
6293 # Remove language-dependent dirs.
6294 disabled_target_libs
="$disabled_target_libs $target_libs"
6295 noconfigdirs
="$noconfigdirs $lang_dirs"
6298 # Remove language-dependent dirs; still show language as supported.
6299 disabled_target_libs
="$disabled_target_libs $target_libs"
6300 noconfigdirs
="$noconfigdirs $lang_dirs"
6301 potential_languages
="${potential_languages}${language},"
6304 new_enable_languages
="${new_enable_languages}${language},"
6305 potential_languages
="${potential_languages}${language},"
6306 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6307 enabled_target_libs
="$enabled_target_libs $target_libs"
6308 case "${boot_language}:,$enable_stage1_languages," in
6309 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6310 # Add to (comma-separated) list of stage 1 languages.
6311 case ",$stage1_languages," in
6312 *,$language,* |
,yes, |
,all
,) ;;
6313 *) stage1_languages
="${stage1_languages}${language}," ;;
6315 # We need to bootstrap any supporting libraries.
6316 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6325 # Add target libraries which are only needed for disabled languages
6327 if test -n "$disabled_target_libs"; then
6328 for dir
in $disabled_target_libs; do
6329 case " $enabled_target_libs " in
6331 *) noconfigdirs
="$noconfigdirs $dir" ;;
6336 # Check whether --enable-stage1-languages was given.
6337 if test "${enable_stage1_languages+set}" = set; then :
6338 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6340 # Set it to something that will have no effect in the loop below
6341 enable_stage1_languages
=c
;;
6343 enable_stage1_languages
=`echo $new_enable_languages | \
6344 sed -e "s/^,//" -e "s/,$//" ` ;;
6346 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6347 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6350 # Add "good" languages from enable_stage1_languages to stage1_languages,
6351 # while "bad" languages go in missing_languages. Leave no duplicates.
6352 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6353 case $potential_languages in
6355 case $stage1_languages in
6357 *) stage1_languages
="$stage1_languages$i," ;;
6360 case $missing_languages in
6362 *) missing_languages
="$missing_languages$i," ;;
6369 # Remove leading/trailing commas that were added for simplicity
6370 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6371 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6372 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6373 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6375 if test "x$missing_languages" != x
; then
6377 The following requested languages could not be built: ${missing_languages}
6378 Supported languages are: ${potential_languages}" "$LINENO" 5
6380 if test "x$new_enable_languages" != "x$enable_languages"; then
6381 echo The following languages will be built
: ${new_enable_languages}
6382 enable_languages
="$new_enable_languages"
6386 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6389 # Handle --disable-<component> generically.
6390 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6391 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6392 varname
=`echo $dirname | sed -e s/+/_/g`
6393 if eval test x\
${enable_${varname}} "=" xno
; then
6394 noconfigdirs
="$noconfigdirs $dir"
6398 # Check for Boehm's garbage collector
6399 # Check whether --enable-objc-gc was given.
6400 if test "${enable_objc_gc+set}" = set; then :
6401 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6402 *,objc
,*:*:yes:*target-boehm-gc
*)
6403 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6409 # Make sure we only build Boehm's garbage collector if required.
6410 case ,${enable_languages},:${enable_objc_gc} in
6412 # Keep target-boehm-gc if requested for Objective-C.
6415 # Otherwise remove target-boehm-gc depending on target-libjava.
6416 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6417 noconfigdirs
="$noconfigdirs target-boehm-gc"
6422 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6423 case ,${enable_languages}, in
6425 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6426 case "${noconfigdirs}" in
6427 *target-libstdc
++-v3*)
6428 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6434 noconfigdirs
="$noconfigdirs target-libcilkrts target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6438 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6439 # $build_configdirs and $target_configdirs.
6440 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6443 for dir
in .
$skipdirs $noconfigdirs ; do
6444 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6445 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6446 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6447 if test -r $srcdir/$dirname/configure
; then
6448 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6451 notsupp
="$notsupp $dir"
6455 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6456 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6457 if test -r $srcdir/$dirname/configure
; then
6458 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6461 notsupp
="$notsupp $dir"
6465 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6466 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6467 if test -r $srcdir/$dirname/configure
; then
6468 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6471 notsupp
="$notsupp $dir"
6477 # Quietly strip out all directories which aren't configurable in this tree.
6478 # This relies on all configurable subdirectories being autoconfiscated, which
6480 build_configdirs_all
="$build_configdirs"
6482 for i
in ${build_configdirs_all} ; do
6483 j
=`echo $i | sed -e s/build-//g`
6484 if test -f ${srcdir}/$j/configure
; then
6485 build_configdirs
="${build_configdirs} $i"
6489 configdirs_all
="$configdirs"
6491 for i
in ${configdirs_all} ; do
6492 if test -f ${srcdir}/$i/configure
; then
6493 configdirs
="${configdirs} $i"
6497 target_configdirs_all
="$target_configdirs"
6499 for i
in ${target_configdirs_all} ; do
6500 j
=`echo $i | sed -e s/target-//g`
6501 if test -f ${srcdir}/$j/configure
; then
6502 target_configdirs
="${target_configdirs} $i"
6506 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6507 # so we have to add it after the preceding checks.
6508 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6510 case " $configdirs " in
6512 # If we can build libiberty, we can also build libiberty-linker-plugin.
6513 configdirs
="$configdirs libiberty-linker-plugin"
6514 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6515 --with-libiberty=../libiberty-linker-plugin";;
6517 as_fn_error
"libiberty missing" "$LINENO" 5;;
6521 # Sometimes we have special requirements for the host libiberty.
6522 extra_host_libiberty_configure_flags
=
6523 case " $configdirs " in
6524 *" lto-plugin "* |
*" libcc1 "*)
6525 # When these are to be built as shared libraries, the same applies to
6527 extra_host_libiberty_configure_flags
=--enable-shared
6532 # Produce a warning message for the subdirs we can't configure.
6533 # This isn't especially interesting in the Cygnus tree, but in the individual
6534 # FSF releases, it's important to let people know when their machine isn't
6535 # supported by the one or two programs in a package.
6537 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6538 # If $appdirs is non-empty, at least one of those directories must still
6539 # be configured, or we error out. (E.g., if the gas release supports a
6540 # specified target in some subdirs but not the gas subdir, we shouldn't
6541 # pretend that all is well.)
6542 if test -n "$appdirs" ; then
6543 for dir
in $appdirs ; do
6544 if test -r $dir/Makefile.
in ; then
6545 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6549 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6555 if test -n "$appdirs" ; then
6556 echo "*** This configuration is not supported by this package." 1>&2
6560 # Okay, some application will build, or we don't care to check. Still
6561 # notify of subdirs not getting built.
6562 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6563 echo " ${notsupp}" 1>&2
6564 echo " (Any other directories should still work fine.)" 1>&2
6572 # To find our prefix, in gcc_cv_tool_prefix.
6574 # The user is always right.
6575 if test "${PATH_SEPARATOR+set}" != set; then
6576 echo "#! /bin/sh" >conf$$.sh
6577 echo "exit 0" >>conf$$.sh
6579 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6589 if test "x$exec_prefix" = xNONE
; then
6590 if test "x$prefix" = xNONE
; then
6591 gcc_cv_tool_prefix
=$ac_default_prefix
6593 gcc_cv_tool_prefix
=$prefix
6596 gcc_cv_tool_prefix
=$exec_prefix
6599 # If there is no compiler in the tree, use the PATH only. In any
6600 # case, if there is no compiler in the tree nobody should use
6601 # AS_FOR_TARGET and LD_FOR_TARGET.
6602 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6603 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6604 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6605 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6606 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6607 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6608 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6609 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6614 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6615 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6623 # Check whether --with-build-sysroot was given.
6624 if test "${with_build_sysroot+set}" = set; then :
6625 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6626 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6629 SYSROOT_CFLAGS_FOR_TARGET
=
6635 # Check whether --with-debug-prefix-map was given.
6636 if test "${with_debug_prefix_map+set}" = set; then :
6637 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6638 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6639 for debug_map
in $withval; do
6640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6649 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6650 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6651 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6652 # We want to ensure that TARGET libraries (which we know are built with
6653 # gcc) are built with "-O2 -g", so include those options when setting
6654 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6655 if test "x$CFLAGS_FOR_TARGET" = x
; then
6656 CFLAGS_FOR_TARGET
=$CFLAGS
6659 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6662 *" -g "* |
*" -g3 "*) ;;
6663 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6668 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6669 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6670 case " $CXXFLAGS " in
6672 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6674 case " $CXXFLAGS " in
6675 *" -g "* |
*" -g3 "*) ;;
6676 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6683 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6684 # the named directory are copied to $(tooldir)/sys-include.
6685 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6686 if test x
${is_cross_compiler} = xno
; then
6687 echo 1>&2 '***' --with-headers is only supported when cross compiling
6690 if test x
"${with_headers}" != xyes
; then
6691 x
=${gcc_cv_tool_prefix}
6692 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6696 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6697 # the name directories are copied to $(tooldir)/lib. Multiple directories
6699 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6700 if test x
${is_cross_compiler} = xno
; then
6701 echo 1>&2 '***' --with-libs is only supported when cross compiling
6704 if test x
"${with_libs}" != xyes
; then
6705 # Copy the libraries in reverse order, so that files in the first named
6706 # library override files in subsequent libraries.
6707 x
=${gcc_cv_tool_prefix}
6708 for l
in ${with_libs}; do
6709 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6714 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6716 # This is done by determining whether or not the appropriate directory
6717 # is available, and by checking whether or not specific configurations
6718 # have requested that this magic not happen.
6720 # The command line options always override the explicit settings in
6721 # configure.in, and the settings in configure.in override this magic.
6723 # If the default for a toolchain is to use GNU as and ld, and you don't
6724 # want to do that, then you should use the --without-gnu-as and
6725 # --without-gnu-ld options for the configure script. Similarly, if
6726 # the default is to use the included zlib and you don't want to do that,
6727 # you should use the --with-system-zlib option for the configure script.
6729 if test x
${use_gnu_as} = x
&&
6730 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6732 extra_host_args
="$extra_host_args --with-gnu-as"
6735 if test x
${use_gnu_ld} = x
&&
6736 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6738 extra_host_args
="$extra_host_args --with-gnu-ld"
6741 if test x
${use_included_zlib} = x
&&
6742 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6745 with_system_zlib
=yes
6746 extra_host_args
="$extra_host_args --with-system-zlib"
6749 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6750 # can detect this case.
6752 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6754 extra_host_args
="$extra_host_args --with-newlib"
6757 # Handle ${copy_dirs}
6758 set fnord
${copy_dirs}
6760 while test $# != 0 ; do
6761 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6764 echo Copying
$1 to
$2
6766 # Use the install script to create the directory and all required
6767 # parent directories.
6768 if test -d $2 ; then
6772 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6775 # Copy the directory, assuming we have tar.
6776 # FIXME: Should we use B in the second tar? Not all systems support it.
6777 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6779 # It is the responsibility of the user to correctly adjust all
6780 # symlinks. If somebody can figure out how to handle them correctly
6781 # here, feel free to add the code.
6788 # Determine a target-dependent exec_prefix that the installed
6789 # gcc will search in. Keep this list sorted by triplet, with
6790 # the *-*-osname triplets last.
6793 i
[34567]86-pc-msdosdjgpp*)
6794 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6799 md_exec_prefix
=/usr
/ccs
/bin
6803 extra_arflags_for_target
=
6804 extra_nmflags_for_target
=
6805 extra_ranlibflags_for_target
=
6806 target_makefile_frag
=/dev
/null
6809 target_makefile_frag
="config/mt-spu"
6811 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6812 target_makefile_frag
="config/mt-sde"
6814 mipsisa
*-*-elfoabi*)
6815 target_makefile_frag
="config/mt-mips-elfoabi"
6817 mips
*-*-*linux
* | mips
*-*-gnu*)
6818 target_makefile_frag
="config/mt-mips-gnu"
6821 target_makefile_frag
="config/mt-nios2-elf"
6823 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6824 target_makefile_frag
="config/mt-gnu"
6826 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6827 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6828 # commands to handle both 32-bit and 64-bit objects. These flags are
6829 # harmless if we're using GNU nm or ar.
6830 extra_arflags_for_target
=" -X32_64"
6831 extra_nmflags_for_target
=" -B -X32_64"
6835 alphaieee_frag
=/dev
/null
6838 # This just makes sure to use the -mieee option to build target libs.
6839 # This should probably be set individually by each library.
6840 alphaieee_frag
="config/mt-alphaieee"
6844 # If --enable-target-optspace always use -Os instead of -O2 to build
6845 # the target libraries, similarly if it is not specified, use -Os
6846 # on selected platforms.
6847 ospace_frag
=/dev
/null
6848 case "${enable_target_optspace}:${target}" in
6850 ospace_frag
="config/mt-ospace"
6853 ospace_frag
="config/mt-d30v"
6855 :m32r-
* |
:d10v-
* |
:fr30-
*)
6856 ospace_frag
="config/mt-ospace"
6861 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6865 # Some systems (e.g., one of the i386-aix systems the gas testers are
6866 # using) don't handle "\$" correctly, so don't use it here.
6867 tooldir
='${exec_prefix}'/${target_noncanonical}
6868 build_tooldir
=${tooldir}
6870 # Create a .gdbinit file which runs the one in srcdir
6871 # and tells GDB to look there for source files.
6873 if test -r ${srcdir}/.gdbinit
; then
6876 *) cat > .
/.gdbinit
<<EOF
6880 source ${srcdir}/.gdbinit
6886 # Make sure that the compiler is able to generate an executable. If it
6887 # can't, we are probably in trouble. We don't care whether we can run the
6888 # executable--we might be using a cross compiler--we only care whether it
6889 # can be created. At this point the main configure script has set CC.
6891 echo "int main () { return 0; }" > conftest.c
6892 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6893 if test $?
= 0 ; then
6894 if test -s conftest ||
test -s conftest.exe
; then
6900 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6901 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6908 # Decide which environment variable is used to find dynamic libraries.
6910 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6911 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6912 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6913 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6916 # On systems where the dynamic library environment variable is PATH,
6917 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6918 # built executables to PATH.
6919 if test "$RPATH_ENVVAR" = PATH
; then
6920 GCC_SHLIB_SUBDIR
=/shlib
6925 # Adjust the toplevel makefile according to whether bootstrap was selected.
6926 case $enable_bootstrap in
6928 bootstrap_suffix
=bootstrap
6929 BUILD_CONFIG
=bootstrap-debug
6932 bootstrap_suffix
=no-bootstrap
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6938 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6941 # Check whether --with-build-config was given.
6942 if test "${with_build_config+set}" = set; then :
6943 withval
=$with_build_config; case $with_build_config in
6944 yes) with_build_config
= ;;
6945 no
) with_build_config
= BUILD_CONFIG
= ;;
6950 if test "x${with_build_config}" != x
; then
6951 BUILD_CONFIG
=$with_build_config
6953 case $BUILD_CONFIG in
6955 if echo "int f (void) { return 0; }" > conftest.c
&&
6956 ${CC} -c conftest.c
&&
6957 mv conftest.o conftest.o.g0
&&
6958 ${CC} -c -g conftest.c
&&
6959 mv conftest.o conftest.o.g
&&
6960 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6965 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6970 $as_echo "$BUILD_CONFIG" >&6; }
6973 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
6975 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
6976 # Check whether --enable-vtable-verify was given.
6977 if test "${enable_vtable_verify+set}" = set; then :
6978 enableval
=$enable_vtable_verify; case "$enableval" in
6979 yes) enable_vtable_verify
=yes ;;
6980 no
) enable_vtable_verify
=no
;;
6981 *) enable_vtable_verify
=no
;;
6984 enable_vtable_verify
=no
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
6988 $as_echo "$enable_vtable_verify" >&6; }
6990 # Record target_configdirs and the configure arguments for target and
6991 # build configuration in Makefile.
6992 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6993 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6994 bootstrap_fixincludes
=no
6996 # If we are building libgomp, bootstrap it.
6997 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6998 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7001 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7002 # or bootstrap-ubsan, bootstrap it.
7003 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7004 case "$BUILD_CONFIG" in
7005 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7006 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7007 bootstrap_fixincludes
=yes
7012 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7013 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7014 test "$enable_vtable_verify" != no
; then
7015 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7018 # Determine whether gdb needs tk/tcl or not.
7019 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7020 # and in that case we want gdb to be built without tk. Ugh!
7021 # In fact I believe gdb is the *only* package directly dependent on tk,
7022 # so we should be able to put the 'maybe's in unconditionally and
7023 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7024 # 100% sure that that's safe though.
7026 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7027 case "$enable_gdbtk" in
7031 GDB_TK
="${gdb_tk}" ;;
7033 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7034 # distro. Eventually someone will fix this and move Insight, nee
7035 # gdbtk to a separate directory.
7036 if test -d ${srcdir}/gdb
/gdbtk
; then
7043 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7044 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7046 # Strip out unwanted targets.
7048 # While at that, we remove Makefiles if we were started for recursive
7049 # configuration, so that the top-level Makefile reconfigures them,
7050 # like we used to do when configure itself was recursive.
7052 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7053 # but now we're fixing up the Makefile ourselves with the additional
7054 # commands passed to AC_CONFIG_FILES. Use separate variables
7055 # extrasub-{build,host,target} not because there is any reason to split
7056 # the substitutions up that way, but only to remain below the limit of
7057 # 99 commands in a script, for HP-UX sed.
7058 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7060 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7061 yes:yes:*\ gold\
*:*,c
++,*) ;;
7062 yes:yes:*\ gold\
*:*)
7063 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7068 for module
in ${build_configdirs} ; do
7069 if test -z "${no_recursion}" \
7070 && test -f ${build_subdir}/${module}/Makefile
; then
7071 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7072 rm -f ${build_subdir}/${module}/Makefile
7074 extrasub_build
="$extrasub_build
7075 /^@if build-$module\$/d
7076 /^@endif build-$module\$/d
7077 /^@if build-$module-$bootstrap_suffix\$/d
7078 /^@endif build-$module-$bootstrap_suffix\$/d"
7081 for module
in ${configdirs} ; do
7082 if test -z "${no_recursion}"; then
7083 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7084 if test -f ${file}; then
7085 echo 1>&2 "*** removing ${file} to force reconfigure"
7090 case ${module},${bootstrap_fixincludes} in
7091 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7092 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7094 extrasub_host
="$extrasub_host
7096 /^@endif $module\$/d
7097 /^@if $module-$host_bootstrap_suffix\$/d
7098 /^@endif $module-$host_bootstrap_suffix\$/d"
7101 for module
in ${target_configdirs} ; do
7102 if test -z "${no_recursion}" \
7103 && test -f ${target_subdir}/${module}/Makefile
; then
7104 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7105 rm -f ${target_subdir}/${module}/Makefile
7108 # We only bootstrap target libraries listed in bootstrap_target_libs.
7109 case $bootstrap_target_libs in
7110 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7111 *) target_bootstrap_suffix
=no-bootstrap
;;
7114 extrasub_target
="$extrasub_target
7115 /^@if target-$module\$/d
7116 /^@endif target-$module\$/d
7117 /^@if target-$module-$target_bootstrap_suffix\$/d
7118 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7121 # Do the final fixup along with target modules.
7122 extrasub_target
="$extrasub_target
7123 /^@if /,/^@endif /d"
7125 # Create the serialization dependencies. This uses a temporary file.
7127 # Check whether --enable-serial-configure was given.
7128 if test "${enable_serial_configure+set}" = set; then :
7129 enableval
=$enable_serial_configure;
7133 case ${enable_serial_configure} in
7135 enable_serial_build_configure
=yes
7136 enable_serial_host_configure
=yes
7137 enable_serial_target_configure
=yes
7141 # These force 'configure's to be done one at a time, to avoid problems
7142 # with contention over a shared config.cache.
7144 echo '# serdep.tmp' > serdep.tmp
7146 test "x${enable_serial_build_configure}" = xyes
&&
7147 for item
in ${build_configdirs} ; do
7150 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7155 test "x${enable_serial_host_configure}" = xyes
&&
7156 for item
in ${configdirs} ; do
7159 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7164 test "x${enable_serial_target_configure}" = xyes
&&
7165 for item
in ${target_configdirs} ; do
7168 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7172 serialization_dependencies
=serdep.tmp
7175 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7176 # target, nonopt, and variable assignments. These are the ones we
7177 # might not want to pass down to subconfigures. The exception being
7178 # --cache-file=/dev/null, which is used to turn off the use of cache
7179 # files altogether, and which should be passed on to subconfigures.
7180 # Also strip program-prefix, program-suffix, and program-transform-name,
7181 # so that we can pass down a consistent program-transform-name.
7186 eval "set -- $ac_configure_args"
7189 if test X
"$skip_next" = X
"yes"; then
7193 if test X
"$keep_next" = X
"yes"; then
7196 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7198 baseargs
="$baseargs '$ac_arg'"
7199 tbaseargs
="$tbaseargs '$ac_arg'"
7204 # Handle separated arguments. Based on the logic generated by
7207 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7208 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7209 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7210 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7224 --with-* |
--without-*)
7225 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7229 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7232 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7241 mpc | mpfr | gmp | isl
)
7242 # If we're processing --with-$lib, --with-$lib-include or
7243 # --with-$lib-lib, for one of the libs above, and target is
7244 # different from host, don't pass the current argument to any
7245 # target library's configure.
7246 if test x
$is_cross_compiler = xyes
; then
7255 --cache-file=/dev
/null | \
7256 -cache-file=/dev
/null
)
7257 # Handled here to avoid the test to skip args below.
7258 baseargs
="$baseargs '$ac_arg'"
7259 tbaseargs
="$tbaseargs '$ac_arg'"
7260 # Assert: $separate_arg should always be no.
7261 keep_next
=$separate_arg
7277 -program-prefix* | \
7278 -program-suffix* | \
7279 -program-transform-name* )
7280 skip_next
=$separate_arg
7284 # An option. Add it.
7287 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7289 baseargs
="$baseargs '$ac_arg'"
7290 if test X
"$skip_targ" = Xno
; then
7291 tbaseargs
="$tbaseargs '$ac_arg'"
7293 keep_next
=$separate_arg
7296 # Either a variable assignment, or a nonopt (triplet). Don't
7297 # pass it down; let the Makefile handle this.
7302 # Remove the initial space we just introduced and, as these will be
7303 # expanded by make, quote '$'.
7304 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7306 # Add in --program-transform-name, after --program-prefix and
7307 # --program-suffix have been applied to it. Autoconf has already
7308 # doubled dollar signs and backslashes in program_transform_name; we want
7309 # the backslashes un-doubled, and then the entire thing wrapped in single
7310 # quotes, because this will be expanded first by make and then by the shell.
7311 # Also, because we want to override the logic in subdir configure scripts to
7312 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7313 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7314 ${program_transform_name}
7316 gcc_transform_name
=`cat conftestsed.out`
7317 rm -f conftestsed.out
7318 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7319 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7320 if test "$silent" = yes; then
7321 baseargs
="$baseargs --silent"
7322 tbaseargs
="$tbaseargs --silent"
7324 baseargs
="$baseargs --disable-option-checking"
7325 tbaseargs
="$tbaseargs --disable-option-checking"
7327 # Record and document user additions to sub configure arguments.
7332 # For the build-side libraries, we just need to pretend we're native,
7333 # and not use the same cache file. Multilibs are neither needed nor
7334 # desired. We can't even use the same cache file for all build-side
7335 # libraries, as they're compiled differently; some with C, some with
7336 # C++ or with different feature-enabling options.
7337 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7339 # For host modules, accept cache file option, or specification as blank.
7340 case "${cache_file}" in
7342 cache_file_option
="" ;;
7343 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7344 cache_file_option
="--cache-file=${cache_file}" ;;
7346 cache_file_option
="--cache-file=../${cache_file}" ;;
7349 # Host dirs don't like to share a cache file either, horribly enough.
7350 # This seems to be due to autoconf 2.5x stupidity.
7351 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7353 target_configargs
="$target_configargs ${tbaseargs}"
7355 # Passing a --with-cross-host argument lets the target libraries know
7356 # whether they are being built with a cross-compiler or being built
7357 # native. However, it would be better to use other mechanisms to make the
7358 # sorts of decisions they want to make on this basis. Please consider
7359 # this option to be deprecated. FIXME.
7360 if test x
${is_cross_compiler} = xyes
; then
7361 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7364 # Special user-friendly check for native x86_64-linux build, if
7365 # multilib is not explicitly enabled.
7366 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7367 x86_64-
*linux
*:yes:$build:$build:)
7368 # Make sure we have a developement environment that handles 32-bit
7370 echo "int main () { return 0; }" > conftest.c
7371 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7372 if test $?
= 0 ; then
7373 if test -s conftest ||
test -s conftest.exe
; then
7378 if test x
${dev64} != xyes
; then
7379 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
7384 # Default to --enable-multilib.
7385 if test x
${enable_multilib} = x
; then
7386 target_configargs
="--enable-multilib ${target_configargs}"
7389 # Pass --with-newlib if appropriate. Note that target_configdirs has
7390 # changed from the earlier setting of with_newlib.
7391 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7392 target_configargs
="--with-newlib ${target_configargs}"
7395 # Different target subdirs use different values of certain variables
7396 # (notably CXX). Worse, multilibs use *lots* of different values.
7397 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7398 # it doesn't automatically accept command-line overrides of them.
7399 # This means it's not safe for target subdirs to share a cache file,
7400 # which is disgusting, but there you have it. Hopefully this can be
7401 # fixed in future. It's still worthwhile to use a cache file for each
7402 # directory. I think.
7404 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7405 # We need to pass --target, as newer autoconf's requires consistency
7406 # for target_alias and gcc doesn't manage it consistently.
7407 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7410 case " $target_configdirs " in
7412 case " $target_configargs " in
7413 *" --with-newlib "*)
7416 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7420 # If we're not building GCC, don't discard standard headers.
7421 if test -d ${srcdir}/gcc
; then
7422 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7424 if test "${build}" != "${host}"; then
7425 # On Canadian crosses, CC_FOR_TARGET will have already been set
7426 # by `configure', so we won't have an opportunity to add -Bgcc/
7427 # to it. This is right: we don't want to search that directory
7428 # for binaries, but we want the header files in there, so add
7430 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7432 # Someone might think of using the pre-installed headers on
7433 # Canadian crosses, in case the installed compiler is not fully
7434 # compatible with the compiler being built. In this case, it
7435 # would be better to flag an error than risking having
7436 # incompatible object files being constructed. We can't
7437 # guarantee that an error will be flagged, but let's hope the
7438 # compiler will do it, when presented with incompatible header
7443 case "${target}-${is_cross_compiler}" in
7444 i
[3456789]86-*-linux*-no)
7445 # Here host == target, so we don't need to build gcc,
7446 # so we don't want to discard standard headers.
7447 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7450 # If we're building newlib, use its generic headers last, but search
7451 # for any libc-related directories first (so make it the last -B
7453 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7455 # If we're building libgloss, find the startup file, simulator library
7456 # and linker script.
7457 case " $target_configdirs " in
7459 # Look for startup file, simulator library and maybe linker script.
7460 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7461 # Look for libnosys.a in case the target needs it.
7462 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7463 # Most targets have the linker script in the source directory.
7464 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7475 x86_64-
*mingw
* |
*-w64-mingw*)
7476 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7477 # however, use a symlink named 'mingw' in ${prefix} .
7478 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7481 # MinGW can't be handled as Cygwin above since it does not use newlib.
7482 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'
7486 # Allow the user to override the flags for
7487 # our build compiler if desired.
7488 if test x
"${build}" = x
"${host}" ; then
7489 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7490 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7491 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7494 # On Canadian crosses, we'll be searching the right directories for
7495 # the previously-installed cross compiler, so don't bother to add
7496 # flags for directories within the install tree of the compiler
7497 # being built; programs in there won't even run.
7498 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7499 # Search for pre-installed headers if nothing else fits.
7500 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7503 if test "x
${use_gnu_ld}" = x &&
7504 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7505 # Arrange for us to find uninstalled linker scripts.
7506 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7509 # Search for other target-specific linker scripts and such.
7512 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7516 # Makefile fragments.
7517 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7519 eval fragval=\$$frag
7520 if test $fragval != /dev/null; then
7521 eval $frag=${srcdir}/$fragval
7529 # Miscellanea: directories, flags, etc.
7538 # Build module lists & subconfigure args.
7542 # Host module lists & subconfigure args.
7547 # Target module lists & subconfigure args.
7569 # Generate default definitions for YACC, M4, LEX and other programs that run
7570 # on the build machine. These are used if the Makefile can't locate these
7571 # programs in objdir.
7572 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7574 for ac_prog in 'bison -y' byacc yacc
7576 # Extract the first word of "$ac_prog", so it can be a program name with args.
7577 set dummy $ac_prog; ac_word=$2
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7579 $as_echo_n "checking
for $ac_word...
" >&6; }
7580 if test "${ac_cv_prog_YACC+set}" = set; then :
7581 $as_echo_n "(cached
) " >&6
7583 if test -n "$YACC"; then
7584 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 test -z "$as_dir" && as_dir=.
7591 for ac_exec_ext in '' $ac_executable_extensions; do
7592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7593 ac_cv_prog_YACC="$ac_prog"
7594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 YACC=$ac_cv_prog_YACC
7604 if test -n "$YACC"; then
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7606 $as_echo "$YACC" >&6; }
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7609 $as_echo "no
" >&6; }
7613 test -n "$YACC" && break
7615 test -n "$YACC" || YACC="$MISSING bison
-y"
7617 case " $build_configdirs " in
7618 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7621 for ac_prog in bison
7623 # Extract the first word of "$ac_prog", so it can be a program name with args.
7624 set dummy $ac_prog; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7626 $as_echo_n "checking
for $ac_word...
" >&6; }
7627 if test "${ac_cv_prog_BISON+set}" = set; then :
7628 $as_echo_n "(cached
) " >&6
7630 if test -n "$BISON"; then
7631 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_BISON="$ac_prog"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7650 BISON=$ac_cv_prog_BISON
7651 if test -n "$BISON"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7653 $as_echo "$BISON" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7656 $as_echo "no
" >&6; }
7660 test -n "$BISON" && break
7662 test -n "$BISON" || BISON="$MISSING bison
"
7664 case " $build_configdirs " in
7665 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7668 for ac_prog in gm4 gnum4 m4
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy $ac_prog; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7673 $as_echo_n "checking
for $ac_word...
" >&6; }
7674 if test "${ac_cv_prog_M4+set}" = set; then :
7675 $as_echo_n "(cached
) " >&6
7677 if test -n "$M4"; then
7678 ac_cv_prog_M4="$M4" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_M4="$ac_prog"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7698 if test -n "$M4"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7700 $as_echo "$M4" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7703 $as_echo "no
" >&6; }
7707 test -n "$M4" && break
7709 test -n "$M4" || M4="$MISSING m4"
7711 case " $build_configdirs " in
7712 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7715 for ac_prog in flex lex
7717 # Extract the first word of "$ac_prog", so it can be a program name with args.
7718 set dummy $ac_prog; ac_word=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7720 $as_echo_n "checking
for $ac_word...
" >&6; }
7721 if test "${ac_cv_prog_LEX+set}" = set; then :
7722 $as_echo_n "(cached
) " >&6
7724 if test -n "$LEX"; then
7725 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 test -z "$as_dir" && as_dir=.
7732 for ac_exec_ext in '' $ac_executable_extensions; do
7733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7734 ac_cv_prog_LEX="$ac_prog"
7735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7745 if test -n "$LEX"; then
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7747 $as_echo "$LEX" >&6; }
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7750 $as_echo "no
" >&6; }
7754 test -n "$LEX" && break
7756 test -n "$LEX" || LEX="$MISSING flex
"
7758 case " $build_configdirs " in
7759 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7760 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7765 # Extract the first word of "$ac_prog", so it can be a program name with args.
7766 set dummy $ac_prog; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7768 $as_echo_n "checking
for $ac_word...
" >&6; }
7769 if test "${ac_cv_prog_FLEX+set}" = set; then :
7770 $as_echo_n "(cached
) " >&6
7772 if test -n "$FLEX"; then
7773 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_prog_FLEX="$ac_prog"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7792 FLEX=$ac_cv_prog_FLEX
7793 if test -n "$FLEX"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7795 $as_echo "$FLEX" >&6; }
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7798 $as_echo "no
" >&6; }
7802 test -n "$FLEX" && break
7804 test -n "$FLEX" || FLEX="$MISSING flex
"
7806 case " $build_configdirs " in
7807 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7810 for ac_prog in makeinfo
7812 # Extract the first word of "$ac_prog", so it can be a program name with args.
7813 set dummy $ac_prog; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7815 $as_echo_n "checking
for $ac_word...
" >&6; }
7816 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7817 $as_echo_n "(cached
) " >&6
7819 if test -n "$MAKEINFO"; then
7820 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7829 ac_cv_prog_MAKEINFO="$ac_prog"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7839 MAKEINFO=$ac_cv_prog_MAKEINFO
7840 if test -n "$MAKEINFO"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7842 $as_echo "$MAKEINFO" >&6; }
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7845 $as_echo "no
" >&6; }
7849 test -n "$MAKEINFO" && break
7851 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7853 case " $build_configdirs " in
7854 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7857 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7858 # higher, else we use the "missing
" dummy.
7859 if ${MAKEINFO} --version \
7860 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7863 MAKEINFO="$MISSING makeinfo
"
7869 # FIXME: expect and dejagnu may become build tools?
7871 for ac_prog in expect
7873 # Extract the first word of "$ac_prog", so it can be a program name with args.
7874 set dummy $ac_prog; ac_word=$2
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7876 $as_echo_n "checking
for $ac_word...
" >&6; }
7877 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7878 $as_echo_n "(cached
) " >&6
7880 if test -n "$EXPECT"; then
7881 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 test -z "$as_dir" && as_dir=.
7888 for ac_exec_ext in '' $ac_executable_extensions; do
7889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7890 ac_cv_prog_EXPECT="$ac_prog"
7891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7900 EXPECT=$ac_cv_prog_EXPECT
7901 if test -n "$EXPECT"; then
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7903 $as_echo "$EXPECT" >&6; }
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7906 $as_echo "no
" >&6; }
7910 test -n "$EXPECT" && break
7912 test -n "$EXPECT" || EXPECT="expect
"
7914 case " $configdirs " in
7916 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7920 for ac_prog in runtest
7922 # Extract the first word of "$ac_prog", so it can be a program name with args.
7923 set dummy $ac_prog; ac_word=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7925 $as_echo_n "checking
for $ac_word...
" >&6; }
7926 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7927 $as_echo_n "(cached
) " >&6
7929 if test -n "$RUNTEST"; then
7930 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 test -z "$as_dir" && as_dir=.
7937 for ac_exec_ext in '' $ac_executable_extensions; do
7938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7939 ac_cv_prog_RUNTEST="$ac_prog"
7940 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7949 RUNTEST=$ac_cv_prog_RUNTEST
7950 if test -n "$RUNTEST"; then
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7952 $as_echo "$RUNTEST" >&6; }
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7955 $as_echo "no
" >&6; }
7959 test -n "$RUNTEST" && break
7961 test -n "$RUNTEST" || RUNTEST="runtest
"
7963 case " $configdirs " in
7965 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7972 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7973 ncn_target_tool_prefix=
7974 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7978 if test -n "$AR"; then
7980 elif test -n "$ac_cv_prog_AR"; then
7984 if test -n "$ac_cv_prog_AR"; then
7985 for ncn_progname in ar; do
7986 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7987 set dummy ${ncn_progname}; ac_word=$2
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7989 $as_echo_n "checking
for $ac_word...
" >&6; }
7990 if test "${ac_cv_prog_AR+set}" = set; then :
7991 $as_echo_n "(cached
) " >&6
7993 if test -n "$AR"; then
7994 ac_cv_prog_AR="$AR" # Let the user override the test.
7996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8000 test -z "$as_dir" && as_dir=.
8001 for ac_exec_ext in '' $ac_executable_extensions; do
8002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003 ac_cv_prog_AR="${ncn_progname}"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8014 if test -n "$AR"; then
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8016 $as_echo "$AR" >&6; }
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8019 $as_echo "no
" >&6; }
8026 for ncn_progname in ar; do
8027 if test -n "$ncn_tool_prefix"; then
8028 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8029 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8031 $as_echo_n "checking
for $ac_word...
" >&6; }
8032 if test "${ac_cv_prog_AR+set}" = set; then :
8033 $as_echo_n "(cached
) " >&6
8035 if test -n "$AR"; then
8036 ac_cv_prog_AR="$AR" # Let the user override the test.
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8056 if test -n "$AR"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8058 $as_echo "$AR" >&6; }
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8061 $as_echo "no
" >&6; }
8066 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8068 set dummy ${ncn_progname}; ac_word=$2
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8070 $as_echo_n "checking
for $ac_word...
" >&6; }
8071 if test "${ac_cv_prog_AR+set}" = set; then :
8072 $as_echo_n "(cached
) " >&6
8074 if test -n "$AR"; then
8075 ac_cv_prog_AR="$AR" # Let the user override the test.
8077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8081 test -z "$as_dir" && as_dir=.
8082 for ac_exec_ext in '' $ac_executable_extensions; do
8083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8084 ac_cv_prog_AR="${ncn_progname}"
8085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8095 if test -n "$AR"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8097 $as_echo "$AR" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8100 $as_echo "no
" >&6; }
8105 test -n "$ac_cv_prog_AR" && break
8108 if test -z "$ac_cv_prog_AR" ; then
8110 if test $build = $host ; then
8113 AR="${ncn_tool_prefix}$2"
8119 if test -n "$AS"; then
8121 elif test -n "$ac_cv_prog_AS"; then
8125 if test -n "$ac_cv_prog_AS"; then
8126 for ncn_progname in as; do
8127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8128 set dummy ${ncn_progname}; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8130 $as_echo_n "checking
for $ac_word...
" >&6; }
8131 if test "${ac_cv_prog_AS+set}" = set; then :
8132 $as_echo_n "(cached
) " >&6
8134 if test -n "$AS"; then
8135 ac_cv_prog_AS="$AS" # Let the user override the test.
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8144 ac_cv_prog_AS="${ncn_progname}"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8155 if test -n "$AS"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8157 $as_echo "$AS" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8160 $as_echo "no
" >&6; }
8167 for ncn_progname in as; do
8168 if test -n "$ncn_tool_prefix"; then
8169 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8170 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8172 $as_echo_n "checking
for $ac_word...
" >&6; }
8173 if test "${ac_cv_prog_AS+set}" = set; then :
8174 $as_echo_n "(cached
) " >&6
8176 if test -n "$AS"; then
8177 ac_cv_prog_AS="$AS" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 if test -n "$AS"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8199 $as_echo "$AS" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8202 $as_echo "no
" >&6; }
8207 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8208 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8209 set dummy ${ncn_progname}; ac_word=$2
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8211 $as_echo_n "checking
for $ac_word...
" >&6; }
8212 if test "${ac_cv_prog_AS+set}" = set; then :
8213 $as_echo_n "(cached
) " >&6
8215 if test -n "$AS"; then
8216 ac_cv_prog_AS="$AS" # Let the user override the test.
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8222 test -z "$as_dir" && as_dir=.
8223 for ac_exec_ext in '' $ac_executable_extensions; do
8224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225 ac_cv_prog_AS="${ncn_progname}"
8226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8236 if test -n "$AS"; then
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8238 $as_echo "$AS" >&6; }
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8241 $as_echo "no
" >&6; }
8246 test -n "$ac_cv_prog_AS" && break
8249 if test -z "$ac_cv_prog_AS" ; then
8251 if test $build = $host ; then
8254 AS="${ncn_tool_prefix}$2"
8260 if test -n "$DLLTOOL"; then
8261 ac_cv_prog_DLLTOOL=$DLLTOOL
8262 elif test -n "$ac_cv_prog_DLLTOOL"; then
8263 DLLTOOL=$ac_cv_prog_DLLTOOL
8266 if test -n "$ac_cv_prog_DLLTOOL"; then
8267 for ncn_progname in dlltool; do
8268 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8269 set dummy ${ncn_progname}; ac_word=$2
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8271 $as_echo_n "checking
for $ac_word...
" >&6; }
8272 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8273 $as_echo_n "(cached
) " >&6
8275 if test -n "$DLLTOOL"; then
8276 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8282 test -z "$as_dir" && as_dir=.
8283 for ac_exec_ext in '' $ac_executable_extensions; do
8284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8285 ac_cv_prog_DLLTOOL="${ncn_progname}"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8295 DLLTOOL=$ac_cv_prog_DLLTOOL
8296 if test -n "$DLLTOOL"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8298 $as_echo "$DLLTOOL" >&6; }
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8301 $as_echo "no
" >&6; }
8308 for ncn_progname in dlltool; do
8309 if test -n "$ncn_tool_prefix"; then
8310 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8311 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8313 $as_echo_n "checking
for $ac_word...
" >&6; }
8314 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8315 $as_echo_n "(cached
) " >&6
8317 if test -n "$DLLTOOL"; then
8318 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8337 DLLTOOL=$ac_cv_prog_DLLTOOL
8338 if test -n "$DLLTOOL"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8340 $as_echo "$DLLTOOL" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8343 $as_echo "no
" >&6; }
8348 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8349 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8350 set dummy ${ncn_progname}; ac_word=$2
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8352 $as_echo_n "checking
for $ac_word...
" >&6; }
8353 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8354 $as_echo_n "(cached
) " >&6
8356 if test -n "$DLLTOOL"; then
8357 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8363 test -z "$as_dir" && as_dir=.
8364 for ac_exec_ext in '' $ac_executable_extensions; do
8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366 ac_cv_prog_DLLTOOL="${ncn_progname}"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 DLLTOOL=$ac_cv_prog_DLLTOOL
8377 if test -n "$DLLTOOL"; then
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8379 $as_echo "$DLLTOOL" >&6; }
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8382 $as_echo "no
" >&6; }
8387 test -n "$ac_cv_prog_DLLTOOL" && break
8390 if test -z "$ac_cv_prog_DLLTOOL" ; then
8392 if test $build = $host ; then
8395 DLLTOOL="${ncn_tool_prefix}$2"
8401 if test -n "$LD"; then
8403 elif test -n "$ac_cv_prog_LD"; then
8407 if test -n "$ac_cv_prog_LD"; then
8408 for ncn_progname in ld; do
8409 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8410 set dummy ${ncn_progname}; ac_word=$2
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8412 $as_echo_n "checking
for $ac_word...
" >&6; }
8413 if test "${ac_cv_prog_LD+set}" = set; then :
8414 $as_echo_n "(cached
) " >&6
8416 if test -n "$LD"; then
8417 ac_cv_prog_LD="$LD" # Let the user override the test.
8419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir=.
8424 for ac_exec_ext in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_prog_LD="${ncn_progname}"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8437 if test -n "$LD"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8439 $as_echo "$LD" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8442 $as_echo "no
" >&6; }
8449 for ncn_progname in ld; do
8450 if test -n "$ncn_tool_prefix"; then
8451 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8452 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8454 $as_echo_n "checking
for $ac_word...
" >&6; }
8455 if test "${ac_cv_prog_LD+set}" = set; then :
8456 $as_echo_n "(cached
) " >&6
8458 if test -n "$LD"; then
8459 ac_cv_prog_LD="$LD" # Let the user override the test.
8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465 test -z "$as_dir" && as_dir=.
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8479 if test -n "$LD"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8481 $as_echo "$LD" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8484 $as_echo "no
" >&6; }
8489 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8491 set dummy ${ncn_progname}; ac_word=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8493 $as_echo_n "checking
for $ac_word...
" >&6; }
8494 if test "${ac_cv_prog_LD+set}" = set; then :
8495 $as_echo_n "(cached
) " >&6
8497 if test -n "$LD"; then
8498 ac_cv_prog_LD="$LD" # Let the user override the test.
8500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir=.
8505 for ac_exec_ext in '' $ac_executable_extensions; do
8506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8507 ac_cv_prog_LD="${ncn_progname}"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8518 if test -n "$LD"; then
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8520 $as_echo "$LD" >&6; }
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8523 $as_echo "no
" >&6; }
8528 test -n "$ac_cv_prog_LD" && break
8531 if test -z "$ac_cv_prog_LD" ; then
8533 if test $build = $host ; then
8536 LD="${ncn_tool_prefix}$2"
8542 if test -n "$LIPO"; then
8543 ac_cv_prog_LIPO=$LIPO
8544 elif test -n "$ac_cv_prog_LIPO"; then
8545 LIPO=$ac_cv_prog_LIPO
8548 if test -n "$ac_cv_prog_LIPO"; then
8549 for ncn_progname in lipo; do
8550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8551 set dummy ${ncn_progname}; ac_word=$2
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8553 $as_echo_n "checking
for $ac_word...
" >&6; }
8554 if test "${ac_cv_prog_LIPO+set}" = set; then :
8555 $as_echo_n "(cached
) " >&6
8557 if test -n "$LIPO"; then
8558 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8564 test -z "$as_dir" && as_dir=.
8565 for ac_exec_ext in '' $ac_executable_extensions; do
8566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8567 ac_cv_prog_LIPO="${ncn_progname}"
8568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8577 LIPO=$ac_cv_prog_LIPO
8578 if test -n "$LIPO"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8580 $as_echo "$LIPO" >&6; }
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8583 $as_echo "no
" >&6; }
8590 for ncn_progname in lipo; do
8591 if test -n "$ncn_tool_prefix"; then
8592 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8593 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if test "${ac_cv_prog_LIPO+set}" = set; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$LIPO"; then
8600 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8619 LIPO=$ac_cv_prog_LIPO
8620 if test -n "$LIPO"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8622 $as_echo "$LIPO" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8630 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8632 set dummy ${ncn_progname}; ac_word=$2
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8634 $as_echo_n "checking
for $ac_word...
" >&6; }
8635 if test "${ac_cv_prog_LIPO+set}" = set; then :
8636 $as_echo_n "(cached
) " >&6
8638 if test -n "$LIPO"; then
8639 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8645 test -z "$as_dir" && as_dir=.
8646 for ac_exec_ext in '' $ac_executable_extensions; do
8647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8648 ac_cv_prog_LIPO="${ncn_progname}"
8649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8658 LIPO=$ac_cv_prog_LIPO
8659 if test -n "$LIPO"; then
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8661 $as_echo "$LIPO" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8664 $as_echo "no
" >&6; }
8669 test -n "$ac_cv_prog_LIPO" && break
8672 if test -z "$ac_cv_prog_LIPO" ; then
8674 if test $build = $host ; then
8677 LIPO="${ncn_tool_prefix}$2"
8683 if test -n "$NM"; then
8685 elif test -n "$ac_cv_prog_NM"; then
8689 if test -n "$ac_cv_prog_NM"; then
8690 for ncn_progname in nm; do
8691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8692 set dummy ${ncn_progname}; ac_word=$2
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8694 $as_echo_n "checking
for $ac_word...
" >&6; }
8695 if test "${ac_cv_prog_NM+set}" = set; then :
8696 $as_echo_n "(cached
) " >&6
8698 if test -n "$NM"; then
8699 ac_cv_prog_NM="$NM" # Let the user override the test.
8701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8705 test -z "$as_dir" && as_dir=.
8706 for ac_exec_ext in '' $ac_executable_extensions; do
8707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8708 ac_cv_prog_NM="${ncn_progname}"
8709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8719 if test -n "$NM"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8721 $as_echo "$NM" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8724 $as_echo "no
" >&6; }
8731 for ncn_progname in nm; do
8732 if test -n "$ncn_tool_prefix"; then
8733 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8734 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8736 $as_echo_n "checking
for $ac_word...
" >&6; }
8737 if test "${ac_cv_prog_NM+set}" = set; then :
8738 $as_echo_n "(cached
) " >&6
8740 if test -n "$NM"; then
8741 ac_cv_prog_NM="$NM" # Let the user override the test.
8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8761 if test -n "$NM"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8763 $as_echo "$NM" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8766 $as_echo "no
" >&6; }
8771 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8773 set dummy ${ncn_progname}; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8775 $as_echo_n "checking
for $ac_word...
" >&6; }
8776 if test "${ac_cv_prog_NM+set}" = set; then :
8777 $as_echo_n "(cached
) " >&6
8779 if test -n "$NM"; then
8780 ac_cv_prog_NM="$NM" # Let the user override the test.
8782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 test -z "$as_dir" && as_dir=.
8787 for ac_exec_ext in '' $ac_executable_extensions; do
8788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8789 ac_cv_prog_NM="${ncn_progname}"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8800 if test -n "$NM"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8802 $as_echo "$NM" >&6; }
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8805 $as_echo "no
" >&6; }
8810 test -n "$ac_cv_prog_NM" && break
8813 if test -z "$ac_cv_prog_NM" ; then
8815 if test $build = $host ; then
8818 NM="${ncn_tool_prefix}$2"
8824 if test -n "$RANLIB"; then
8825 ac_cv_prog_RANLIB=$RANLIB
8826 elif test -n "$ac_cv_prog_RANLIB"; then
8827 RANLIB=$ac_cv_prog_RANLIB
8830 if test -n "$ac_cv_prog_RANLIB"; then
8831 for ncn_progname in ranlib; do
8832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8833 set dummy ${ncn_progname}; ac_word=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8835 $as_echo_n "checking
for $ac_word...
" >&6; }
8836 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8837 $as_echo_n "(cached
) " >&6
8839 if test -n "$RANLIB"; then
8840 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8846 test -z "$as_dir" && as_dir=.
8847 for ac_exec_ext in '' $ac_executable_extensions; do
8848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8849 ac_cv_prog_RANLIB="${ncn_progname}"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8859 RANLIB=$ac_cv_prog_RANLIB
8860 if test -n "$RANLIB"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8862 $as_echo "$RANLIB" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8865 $as_echo "no
" >&6; }
8872 for ncn_progname in ranlib; do
8873 if test -n "$ncn_tool_prefix"; then
8874 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8875 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8877 $as_echo_n "checking
for $ac_word...
" >&6; }
8878 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8879 $as_echo_n "(cached
) " >&6
8881 if test -n "$RANLIB"; then
8882 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8891 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8901 RANLIB=$ac_cv_prog_RANLIB
8902 if test -n "$RANLIB"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8904 $as_echo "$RANLIB" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8907 $as_echo "no
" >&6; }
8912 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8913 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8914 set dummy ${ncn_progname}; ac_word=$2
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8916 $as_echo_n "checking
for $ac_word...
" >&6; }
8917 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8918 $as_echo_n "(cached
) " >&6
8920 if test -n "$RANLIB"; then
8921 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8927 test -z "$as_dir" && as_dir=.
8928 for ac_exec_ext in '' $ac_executable_extensions; do
8929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8930 ac_cv_prog_RANLIB="${ncn_progname}"
8931 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8940 RANLIB=$ac_cv_prog_RANLIB
8941 if test -n "$RANLIB"; then
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8943 $as_echo "$RANLIB" >&6; }
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8946 $as_echo "no
" >&6; }
8951 test -n "$ac_cv_prog_RANLIB" && break
8954 if test -z "$ac_cv_prog_RANLIB" ; then
8960 if test -n "$STRIP"; then
8961 ac_cv_prog_STRIP=$STRIP
8962 elif test -n "$ac_cv_prog_STRIP"; then
8963 STRIP=$ac_cv_prog_STRIP
8966 if test -n "$ac_cv_prog_STRIP"; then
8967 for ncn_progname in strip; do
8968 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8969 set dummy ${ncn_progname}; ac_word=$2
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8971 $as_echo_n "checking
for $ac_word...
" >&6; }
8972 if test "${ac_cv_prog_STRIP+set}" = set; then :
8973 $as_echo_n "(cached
) " >&6
8975 if test -n "$STRIP"; then
8976 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8982 test -z "$as_dir" && as_dir=.
8983 for ac_exec_ext in '' $ac_executable_extensions; do
8984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8985 ac_cv_prog_STRIP="${ncn_progname}"
8986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8995 STRIP=$ac_cv_prog_STRIP
8996 if test -n "$STRIP"; then
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8998 $as_echo "$STRIP" >&6; }
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9001 $as_echo "no
" >&6; }
9008 for ncn_progname in strip; do
9009 if test -n "$ncn_tool_prefix"; then
9010 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9011 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9013 $as_echo_n "checking
for $ac_word...
" >&6; }
9014 if test "${ac_cv_prog_STRIP+set}" = set; then :
9015 $as_echo_n "(cached
) " >&6
9017 if test -n "$STRIP"; then
9018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9024 test -z "$as_dir" && as_dir=.
9025 for ac_exec_ext in '' $ac_executable_extensions; do
9026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9027 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9037 STRIP=$ac_cv_prog_STRIP
9038 if test -n "$STRIP"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9040 $as_echo "$STRIP" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9043 $as_echo "no
" >&6; }
9048 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9049 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9050 set dummy ${ncn_progname}; ac_word=$2
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9052 $as_echo_n "checking
for $ac_word...
" >&6; }
9053 if test "${ac_cv_prog_STRIP+set}" = set; then :
9054 $as_echo_n "(cached
) " >&6
9056 if test -n "$STRIP"; then
9057 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9063 test -z "$as_dir" && as_dir=.
9064 for ac_exec_ext in '' $ac_executable_extensions; do
9065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9066 ac_cv_prog_STRIP="${ncn_progname}"
9067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9076 STRIP=$ac_cv_prog_STRIP
9077 if test -n "$STRIP"; then
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9079 $as_echo "$STRIP" >&6; }
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9082 $as_echo "no
" >&6; }
9087 test -n "$ac_cv_prog_STRIP" && break
9090 if test -z "$ac_cv_prog_STRIP" ; then
9096 if test -n "$WINDRES"; then
9097 ac_cv_prog_WINDRES=$WINDRES
9098 elif test -n "$ac_cv_prog_WINDRES"; then
9099 WINDRES=$ac_cv_prog_WINDRES
9102 if test -n "$ac_cv_prog_WINDRES"; then
9103 for ncn_progname in windres; do
9104 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9105 set dummy ${ncn_progname}; ac_word=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9107 $as_echo_n "checking
for $ac_word...
" >&6; }
9108 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9109 $as_echo_n "(cached
) " >&6
9111 if test -n "$WINDRES"; then
9112 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9118 test -z "$as_dir" && as_dir=.
9119 for ac_exec_ext in '' $ac_executable_extensions; do
9120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9121 ac_cv_prog_WINDRES="${ncn_progname}"
9122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9131 WINDRES=$ac_cv_prog_WINDRES
9132 if test -n "$WINDRES"; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9134 $as_echo "$WINDRES" >&6; }
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9137 $as_echo "no
" >&6; }
9144 for ncn_progname in windres; do
9145 if test -n "$ncn_tool_prefix"; then
9146 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9147 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9149 $as_echo_n "checking
for $ac_word...
" >&6; }
9150 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9151 $as_echo_n "(cached
) " >&6
9153 if test -n "$WINDRES"; then
9154 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9160 test -z "$as_dir" && as_dir=.
9161 for ac_exec_ext in '' $ac_executable_extensions; do
9162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9163 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9173 WINDRES=$ac_cv_prog_WINDRES
9174 if test -n "$WINDRES"; then
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9176 $as_echo "$WINDRES" >&6; }
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9179 $as_echo "no
" >&6; }
9184 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9185 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9186 set dummy ${ncn_progname}; ac_word=$2
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9188 $as_echo_n "checking
for $ac_word...
" >&6; }
9189 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9190 $as_echo_n "(cached
) " >&6
9192 if test -n "$WINDRES"; then
9193 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir=.
9200 for ac_exec_ext in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_prog_WINDRES="${ncn_progname}"
9203 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9212 WINDRES=$ac_cv_prog_WINDRES
9213 if test -n "$WINDRES"; then
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9215 $as_echo "$WINDRES" >&6; }
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9218 $as_echo "no
" >&6; }
9223 test -n "$ac_cv_prog_WINDRES" && break
9226 if test -z "$ac_cv_prog_WINDRES" ; then
9228 if test $build = $host ; then
9231 WINDRES="${ncn_tool_prefix}$2"
9237 if test -n "$WINDMC"; then
9238 ac_cv_prog_WINDMC=$WINDMC
9239 elif test -n "$ac_cv_prog_WINDMC"; then
9240 WINDMC=$ac_cv_prog_WINDMC
9243 if test -n "$ac_cv_prog_WINDMC"; then
9244 for ncn_progname in windmc; do
9245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9246 set dummy ${ncn_progname}; ac_word=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9248 $as_echo_n "checking
for $ac_word...
" >&6; }
9249 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9250 $as_echo_n "(cached
) " >&6
9252 if test -n "$WINDMC"; then
9253 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 test -z "$as_dir" && as_dir=.
9260 for ac_exec_ext in '' $ac_executable_extensions; do
9261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9262 ac_cv_prog_WINDMC="${ncn_progname}"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9272 WINDMC=$ac_cv_prog_WINDMC
9273 if test -n "$WINDMC"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9275 $as_echo "$WINDMC" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9278 $as_echo "no
" >&6; }
9285 for ncn_progname in windmc; do
9286 if test -n "$ncn_tool_prefix"; then
9287 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9288 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9290 $as_echo_n "checking
for $ac_word...
" >&6; }
9291 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9292 $as_echo_n "(cached
) " >&6
9294 if test -n "$WINDMC"; then
9295 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 WINDMC=$ac_cv_prog_WINDMC
9315 if test -n "$WINDMC"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9317 $as_echo "$WINDMC" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9325 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9326 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9327 set dummy ${ncn_progname}; ac_word=$2
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9329 $as_echo_n "checking
for $ac_word...
" >&6; }
9330 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9331 $as_echo_n "(cached
) " >&6
9333 if test -n "$WINDMC"; then
9334 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340 test -z "$as_dir" && as_dir=.
9341 for ac_exec_ext in '' $ac_executable_extensions; do
9342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343 ac_cv_prog_WINDMC="${ncn_progname}"
9344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9353 WINDMC=$ac_cv_prog_WINDMC
9354 if test -n "$WINDMC"; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9356 $as_echo "$WINDMC" >&6; }
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9359 $as_echo "no
" >&6; }
9364 test -n "$ac_cv_prog_WINDMC" && break
9367 if test -z "$ac_cv_prog_WINDMC" ; then
9369 if test $build = $host ; then
9372 WINDMC="${ncn_tool_prefix}$2"
9378 if test -n "$OBJCOPY"; then
9379 ac_cv_prog_OBJCOPY=$OBJCOPY
9380 elif test -n "$ac_cv_prog_OBJCOPY"; then
9381 OBJCOPY=$ac_cv_prog_OBJCOPY
9384 if test -n "$ac_cv_prog_OBJCOPY"; then
9385 for ncn_progname in objcopy; do
9386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9387 set dummy ${ncn_progname}; ac_word=$2
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9389 $as_echo_n "checking
for $ac_word...
" >&6; }
9390 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9391 $as_echo_n "(cached
) " >&6
9393 if test -n "$OBJCOPY"; then
9394 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9400 test -z "$as_dir" && as_dir=.
9401 for ac_exec_ext in '' $ac_executable_extensions; do
9402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9403 ac_cv_prog_OBJCOPY="${ncn_progname}"
9404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9413 OBJCOPY=$ac_cv_prog_OBJCOPY
9414 if test -n "$OBJCOPY"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9416 $as_echo "$OBJCOPY" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9419 $as_echo "no
" >&6; }
9426 for ncn_progname in objcopy; do
9427 if test -n "$ncn_tool_prefix"; then
9428 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9429 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9431 $as_echo_n "checking
for $ac_word...
" >&6; }
9432 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9433 $as_echo_n "(cached
) " >&6
9435 if test -n "$OBJCOPY"; then
9436 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9442 test -z "$as_dir" && as_dir=.
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9445 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9455 OBJCOPY=$ac_cv_prog_OBJCOPY
9456 if test -n "$OBJCOPY"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9458 $as_echo "$OBJCOPY" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9461 $as_echo "no
" >&6; }
9466 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9468 set dummy ${ncn_progname}; ac_word=$2
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9470 $as_echo_n "checking
for $ac_word...
" >&6; }
9471 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9472 $as_echo_n "(cached
) " >&6
9474 if test -n "$OBJCOPY"; then
9475 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 test -z "$as_dir" && as_dir=.
9482 for ac_exec_ext in '' $ac_executable_extensions; do
9483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9484 ac_cv_prog_OBJCOPY="${ncn_progname}"
9485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9494 OBJCOPY=$ac_cv_prog_OBJCOPY
9495 if test -n "$OBJCOPY"; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9497 $as_echo "$OBJCOPY" >&6; }
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9500 $as_echo "no
" >&6; }
9505 test -n "$ac_cv_prog_OBJCOPY" && break
9508 if test -z "$ac_cv_prog_OBJCOPY" ; then
9510 if test $build = $host ; then
9513 OBJCOPY="${ncn_tool_prefix}$2"
9519 if test -n "$OBJDUMP"; then
9520 ac_cv_prog_OBJDUMP=$OBJDUMP
9521 elif test -n "$ac_cv_prog_OBJDUMP"; then
9522 OBJDUMP=$ac_cv_prog_OBJDUMP
9525 if test -n "$ac_cv_prog_OBJDUMP"; then
9526 for ncn_progname in objdump; do
9527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9528 set dummy ${ncn_progname}; ac_word=$2
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9530 $as_echo_n "checking
for $ac_word...
" >&6; }
9531 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9532 $as_echo_n "(cached
) " >&6
9534 if test -n "$OBJDUMP"; then
9535 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9541 test -z "$as_dir" && as_dir=.
9542 for ac_exec_ext in '' $ac_executable_extensions; do
9543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9544 ac_cv_prog_OBJDUMP="${ncn_progname}"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9554 OBJDUMP=$ac_cv_prog_OBJDUMP
9555 if test -n "$OBJDUMP"; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9557 $as_echo "$OBJDUMP" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9560 $as_echo "no
" >&6; }
9567 for ncn_progname in objdump; do
9568 if test -n "$ncn_tool_prefix"; then
9569 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9570 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9572 $as_echo_n "checking
for $ac_word...
" >&6; }
9573 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9574 $as_echo_n "(cached
) " >&6
9576 if test -n "$OBJDUMP"; then
9577 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 test -z "$as_dir" && as_dir=.
9584 for ac_exec_ext in '' $ac_executable_extensions; do
9585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9596 OBJDUMP=$ac_cv_prog_OBJDUMP
9597 if test -n "$OBJDUMP"; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9599 $as_echo "$OBJDUMP" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9602 $as_echo "no
" >&6; }
9607 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9608 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9609 set dummy ${ncn_progname}; ac_word=$2
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9611 $as_echo_n "checking
for $ac_word...
" >&6; }
9612 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9613 $as_echo_n "(cached
) " >&6
9615 if test -n "$OBJDUMP"; then
9616 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9622 test -z "$as_dir" && as_dir=.
9623 for ac_exec_ext in '' $ac_executable_extensions; do
9624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9625 ac_cv_prog_OBJDUMP="${ncn_progname}"
9626 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9635 OBJDUMP=$ac_cv_prog_OBJDUMP
9636 if test -n "$OBJDUMP"; then
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9638 $as_echo "$OBJDUMP" >&6; }
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9641 $as_echo "no
" >&6; }
9646 test -n "$ac_cv_prog_OBJDUMP" && break
9649 if test -z "$ac_cv_prog_OBJDUMP" ; then
9651 if test $build = $host ; then
9654 OBJDUMP="${ncn_tool_prefix}$2"
9660 if test -n "$READELF"; then
9661 ac_cv_prog_READELF=$READELF
9662 elif test -n "$ac_cv_prog_READELF"; then
9663 READELF=$ac_cv_prog_READELF
9666 if test -n "$ac_cv_prog_READELF"; then
9667 for ncn_progname in readelf; do
9668 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9669 set dummy ${ncn_progname}; ac_word=$2
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9671 $as_echo_n "checking
for $ac_word...
" >&6; }
9672 if test "${ac_cv_prog_READELF+set}" = set; then :
9673 $as_echo_n "(cached
) " >&6
9675 if test -n "$READELF"; then
9676 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9682 test -z "$as_dir" && as_dir=.
9683 for ac_exec_ext in '' $ac_executable_extensions; do
9684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9685 ac_cv_prog_READELF="${ncn_progname}"
9686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9695 READELF=$ac_cv_prog_READELF
9696 if test -n "$READELF"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9698 $as_echo "$READELF" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9701 $as_echo "no
" >&6; }
9708 for ncn_progname in readelf; do
9709 if test -n "$ncn_tool_prefix"; then
9710 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9711 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9713 $as_echo_n "checking
for $ac_word...
" >&6; }
9714 if test "${ac_cv_prog_READELF+set}" = set; then :
9715 $as_echo_n "(cached
) " >&6
9717 if test -n "$READELF"; then
9718 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 test -z "$as_dir" && as_dir=.
9725 for ac_exec_ext in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9737 READELF=$ac_cv_prog_READELF
9738 if test -n "$READELF"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9740 $as_echo "$READELF" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9743 $as_echo "no
" >&6; }
9748 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9749 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9750 set dummy ${ncn_progname}; ac_word=$2
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9752 $as_echo_n "checking
for $ac_word...
" >&6; }
9753 if test "${ac_cv_prog_READELF+set}" = set; then :
9754 $as_echo_n "(cached
) " >&6
9756 if test -n "$READELF"; then
9757 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9763 test -z "$as_dir" && as_dir=.
9764 for ac_exec_ext in '' $ac_executable_extensions; do
9765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9766 ac_cv_prog_READELF="${ncn_progname}"
9767 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9776 READELF=$ac_cv_prog_READELF
9777 if test -n "$READELF"; then
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9779 $as_echo "$READELF" >&6; }
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9782 $as_echo "no
" >&6; }
9787 test -n "$ac_cv_prog_READELF" && break
9790 if test -z "$ac_cv_prog_READELF" ; then
9792 if test $build = $host ; then
9795 READELF="${ncn_tool_prefix}$2"
9806 # Check whether --with-build-time-tools was given.
9807 if test "${with_build_time_tools+set}" = set; then :
9808 withval=$with_build_time_tools; case x"$withval" in
9811 with_build_time_tools=
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9813 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9817 with_build_time_tools=
9823 if test -n "$CC_FOR_TARGET"; then
9824 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9825 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9826 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9829 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9830 for ncn_progname in cc gcc; do
9831 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9832 set dummy ${ncn_progname}; ac_word=$2
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9834 $as_echo_n "checking
for $ac_word...
" >&6; }
9835 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9836 $as_echo_n "(cached
) " >&6
9838 if test -n "$CC_FOR_TARGET"; then
9839 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9845 test -z "$as_dir" && as_dir=.
9846 for ac_exec_ext in '' $ac_executable_extensions; do
9847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9848 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9858 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9859 if test -n "$CC_FOR_TARGET"; then
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9861 $as_echo "$CC_FOR_TARGET" >&6; }
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9864 $as_echo "no
" >&6; }
9871 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9872 for ncn_progname in cc gcc; do
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9874 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9875 if test -x $with_build_time_tools/${ncn_progname}; then
9876 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9878 $as_echo "yes" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9882 $as_echo "no
" >&6; }
9887 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9888 for ncn_progname in cc gcc; do
9889 if test -n "$ncn_target_tool_prefix"; then
9890 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9891 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9893 $as_echo_n "checking
for $ac_word...
" >&6; }
9894 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9895 $as_echo_n "(cached
) " >&6
9897 if test -n "$CC_FOR_TARGET"; then
9898 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir=.
9905 for ac_exec_ext in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9917 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9918 if test -n "$CC_FOR_TARGET"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9920 $as_echo "$CC_FOR_TARGET" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9923 $as_echo "no
" >&6; }
9928 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9929 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9930 set dummy ${ncn_progname}; ac_word=$2
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9932 $as_echo_n "checking
for $ac_word...
" >&6; }
9933 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9934 $as_echo_n "(cached
) " >&6
9936 if test -n "$CC_FOR_TARGET"; then
9937 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 test -z "$as_dir" && as_dir=.
9944 for ac_exec_ext in '' $ac_executable_extensions; do
9945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9946 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9947 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9956 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9957 if test -n "$CC_FOR_TARGET"; then
9958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9959 $as_echo "$CC_FOR_TARGET" >&6; }
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9962 $as_echo "no
" >&6; }
9967 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9971 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9973 if test $build = $target ; then
9976 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9979 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9984 if test -n "$CXX_FOR_TARGET"; then
9985 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9986 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9987 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9990 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9991 for ncn_progname in c++ g++ cxx gxx; do
9992 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9993 set dummy ${ncn_progname}; ac_word=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9995 $as_echo_n "checking
for $ac_word...
" >&6; }
9996 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9997 $as_echo_n "(cached
) " >&6
9999 if test -n "$CXX_FOR_TARGET"; then
10000 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10003 for as_dir in $PATH
10006 test -z "$as_dir" && as_dir=.
10007 for ac_exec_ext in '' $ac_executable_extensions; do
10008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10009 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10010 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10019 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10020 if test -n "$CXX_FOR_TARGET"; then
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10022 $as_echo "$CXX_FOR_TARGET" >&6; }
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10025 $as_echo "no
" >&6; }
10032 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10033 for ncn_progname in c++ g++ cxx gxx; do
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10035 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10036 if test -x $with_build_time_tools/${ncn_progname}; then
10037 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10039 $as_echo "yes" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10043 $as_echo "no
" >&6; }
10048 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10049 for ncn_progname in c++ g++ cxx gxx; do
10050 if test -n "$ncn_target_tool_prefix"; then
10051 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10052 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10054 $as_echo_n "checking
for $ac_word...
" >&6; }
10055 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10056 $as_echo_n "(cached
) " >&6
10058 if test -n "$CXX_FOR_TARGET"; then
10059 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10062 for as_dir in $PATH
10065 test -z "$as_dir" && as_dir=.
10066 for ac_exec_ext in '' $ac_executable_extensions; do
10067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10068 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10078 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10079 if test -n "$CXX_FOR_TARGET"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10081 $as_echo "$CXX_FOR_TARGET" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10084 $as_echo "no
" >&6; }
10089 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10091 set dummy ${ncn_progname}; ac_word=$2
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10093 $as_echo_n "checking
for $ac_word...
" >&6; }
10094 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10095 $as_echo_n "(cached
) " >&6
10097 if test -n "$CXX_FOR_TARGET"; then
10098 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10101 for as_dir in $PATH
10104 test -z "$as_dir" && as_dir=.
10105 for ac_exec_ext in '' $ac_executable_extensions; do
10106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10107 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10117 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10118 if test -n "$CXX_FOR_TARGET"; then
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10120 $as_echo "$CXX_FOR_TARGET" >&6; }
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10123 $as_echo "no
" >&6; }
10128 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10132 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10133 set dummy c++ g++ cxx gxx
10134 if test $build = $target ; then
10135 CXX_FOR_TARGET="$2"
10137 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10140 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10145 if test -n "$GCC_FOR_TARGET"; then
10146 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10147 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10148 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10151 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10152 for ncn_progname in gcc; do
10153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10154 set dummy ${ncn_progname}; ac_word=$2
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10156 $as_echo_n "checking
for $ac_word...
" >&6; }
10157 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10158 $as_echo_n "(cached
) " >&6
10160 if test -n "$GCC_FOR_TARGET"; then
10161 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10180 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10181 if test -n "$GCC_FOR_TARGET"; then
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10183 $as_echo "$GCC_FOR_TARGET" >&6; }
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10186 $as_echo "no
" >&6; }
10193 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10194 for ncn_progname in gcc; do
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10196 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10197 if test -x $with_build_time_tools/${ncn_progname}; then
10198 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10200 $as_echo "yes" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10204 $as_echo "no
" >&6; }
10209 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10210 for ncn_progname in gcc; do
10211 if test -n "$ncn_target_tool_prefix"; then
10212 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10213 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10215 $as_echo_n "checking
for $ac_word...
" >&6; }
10216 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10217 $as_echo_n "(cached
) " >&6
10219 if test -n "$GCC_FOR_TARGET"; then
10220 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10223 for as_dir in $PATH
10226 test -z "$as_dir" && as_dir=.
10227 for ac_exec_ext in '' $ac_executable_extensions; do
10228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10229 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10239 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10240 if test -n "$GCC_FOR_TARGET"; then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10242 $as_echo "$GCC_FOR_TARGET" >&6; }
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10245 $as_echo "no
" >&6; }
10250 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10251 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10252 set dummy ${ncn_progname}; ac_word=$2
10253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10254 $as_echo_n "checking
for $ac_word...
" >&6; }
10255 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10256 $as_echo_n "(cached
) " >&6
10258 if test -n "$GCC_FOR_TARGET"; then
10259 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10262 for as_dir in $PATH
10265 test -z "$as_dir" && as_dir=.
10266 for ac_exec_ext in '' $ac_executable_extensions; do
10267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10268 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10269 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10278 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10279 if test -n "$GCC_FOR_TARGET"; then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10281 $as_echo "$GCC_FOR_TARGET" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10284 $as_echo "no
" >&6; }
10289 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10293 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10294 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10296 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10301 if test -n "$GCJ_FOR_TARGET"; then
10302 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10303 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10304 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10307 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10308 for ncn_progname in gcj; do
10309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10310 set dummy ${ncn_progname}; ac_word=$2
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10312 $as_echo_n "checking
for $ac_word...
" >&6; }
10313 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10314 $as_echo_n "(cached
) " >&6
10316 if test -n "$GCJ_FOR_TARGET"; then
10317 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10320 for as_dir in $PATH
10323 test -z "$as_dir" && as_dir=.
10324 for ac_exec_ext in '' $ac_executable_extensions; do
10325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10326 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10336 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10337 if test -n "$GCJ_FOR_TARGET"; then
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10339 $as_echo "$GCJ_FOR_TARGET" >&6; }
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10342 $as_echo "no
" >&6; }
10349 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10350 for ncn_progname in gcj; do
10351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10352 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10353 if test -x $with_build_time_tools/${ncn_progname}; then
10354 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10356 $as_echo "yes" >&6; }
10359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10360 $as_echo "no
" >&6; }
10365 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10366 for ncn_progname in gcj; do
10367 if test -n "$ncn_target_tool_prefix"; then
10368 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10369 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10371 $as_echo_n "checking
for $ac_word...
" >&6; }
10372 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10373 $as_echo_n "(cached
) " >&6
10375 if test -n "$GCJ_FOR_TARGET"; then
10376 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10379 for as_dir in $PATH
10382 test -z "$as_dir" && as_dir=.
10383 for ac_exec_ext in '' $ac_executable_extensions; do
10384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10385 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10395 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10396 if test -n "$GCJ_FOR_TARGET"; then
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10398 $as_echo "$GCJ_FOR_TARGET" >&6; }
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10401 $as_echo "no
" >&6; }
10406 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10408 set dummy ${ncn_progname}; ac_word=$2
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10410 $as_echo_n "checking
for $ac_word...
" >&6; }
10411 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10412 $as_echo_n "(cached
) " >&6
10414 if test -n "$GCJ_FOR_TARGET"; then
10415 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10418 for as_dir in $PATH
10421 test -z "$as_dir" && as_dir=.
10422 for ac_exec_ext in '' $ac_executable_extensions; do
10423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10424 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10434 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10435 if test -n "$GCJ_FOR_TARGET"; then
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10437 $as_echo "$GCJ_FOR_TARGET" >&6; }
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10440 $as_echo "no
" >&6; }
10445 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10449 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10451 if test $build = $target ; then
10452 GCJ_FOR_TARGET="$2"
10454 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10457 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10462 if test -n "$GFORTRAN_FOR_TARGET"; then
10463 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10464 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10465 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10468 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10469 for ncn_progname in gfortran; do
10470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10471 set dummy ${ncn_progname}; ac_word=$2
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10473 $as_echo_n "checking
for $ac_word...
" >&6; }
10474 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10475 $as_echo_n "(cached
) " >&6
10477 if test -n "$GFORTRAN_FOR_TARGET"; then
10478 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10497 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10498 if test -n "$GFORTRAN_FOR_TARGET"; then
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10500 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10503 $as_echo "no
" >&6; }
10510 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10511 for ncn_progname in gfortran; do
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10513 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10514 if test -x $with_build_time_tools/${ncn_progname}; then
10515 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10517 $as_echo "yes" >&6; }
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10521 $as_echo "no
" >&6; }
10526 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10527 for ncn_progname in gfortran; do
10528 if test -n "$ncn_target_tool_prefix"; then
10529 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10530 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10532 $as_echo_n "checking
for $ac_word...
" >&6; }
10533 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10534 $as_echo_n "(cached
) " >&6
10536 if test -n "$GFORTRAN_FOR_TARGET"; then
10537 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in $PATH
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10546 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10556 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10557 if test -n "$GFORTRAN_FOR_TARGET"; then
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10559 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10562 $as_echo "no
" >&6; }
10567 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10568 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10569 set dummy ${ncn_progname}; ac_word=$2
10570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10571 $as_echo_n "checking
for $ac_word...
" >&6; }
10572 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10573 $as_echo_n "(cached
) " >&6
10575 if test -n "$GFORTRAN_FOR_TARGET"; then
10576 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10579 for as_dir in $PATH
10582 test -z "$as_dir" && as_dir=.
10583 for ac_exec_ext in '' $ac_executable_extensions; do
10584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10585 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10595 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10596 if test -n "$GFORTRAN_FOR_TARGET"; then
10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10598 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10601 $as_echo "no
" >&6; }
10606 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10610 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10612 if test $build = $target ; then
10613 GFORTRAN_FOR_TARGET="$2"
10615 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10618 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10623 if test -n "$GOC_FOR_TARGET"; then
10624 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10625 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10626 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10629 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10630 for ncn_progname in gccgo; do
10631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10632 set dummy ${ncn_progname}; ac_word=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10634 $as_echo_n "checking
for $ac_word...
" >&6; }
10635 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10636 $as_echo_n "(cached
) " >&6
10638 if test -n "$GOC_FOR_TARGET"; then
10639 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10645 test -z "$as_dir" && as_dir=.
10646 for ac_exec_ext in '' $ac_executable_extensions; do
10647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10648 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10658 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10659 if test -n "$GOC_FOR_TARGET"; then
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10661 $as_echo "$GOC_FOR_TARGET" >&6; }
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10664 $as_echo "no
" >&6; }
10671 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10672 for ncn_progname in gccgo; do
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10674 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10675 if test -x $with_build_time_tools/${ncn_progname}; then
10676 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10678 $as_echo "yes" >&6; }
10681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10682 $as_echo "no
" >&6; }
10687 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10688 for ncn_progname in gccgo; do
10689 if test -n "$ncn_target_tool_prefix"; then
10690 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10691 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10693 $as_echo_n "checking
for $ac_word...
" >&6; }
10694 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10695 $as_echo_n "(cached
) " >&6
10697 if test -n "$GOC_FOR_TARGET"; then
10698 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10701 for as_dir in $PATH
10704 test -z "$as_dir" && as_dir=.
10705 for ac_exec_ext in '' $ac_executable_extensions; do
10706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10707 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10717 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10718 if test -n "$GOC_FOR_TARGET"; then
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10720 $as_echo "$GOC_FOR_TARGET" >&6; }
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10723 $as_echo "no
" >&6; }
10728 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10729 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10730 set dummy ${ncn_progname}; ac_word=$2
10731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10732 $as_echo_n "checking
for $ac_word...
" >&6; }
10733 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10734 $as_echo_n "(cached
) " >&6
10736 if test -n "$GOC_FOR_TARGET"; then
10737 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10740 for as_dir in $PATH
10743 test -z "$as_dir" && as_dir=.
10744 for ac_exec_ext in '' $ac_executable_extensions; do
10745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10746 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10747 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10756 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10757 if test -n "$GOC_FOR_TARGET"; then
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10759 $as_echo "$GOC_FOR_TARGET" >&6; }
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10762 $as_echo "no
" >&6; }
10767 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10771 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10773 if test $build = $target ; then
10774 GOC_FOR_TARGET="$2"
10776 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10779 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10784 cat > conftest.c << \EOF
10789 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10790 have_gcc_for_target=yes
10792 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10793 have_gcc_for_target=no
10800 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10801 if test -n "$with_build_time_tools"; then
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10803 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10804 if test -x $with_build_time_tools/ar; then
10805 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10806 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10808 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10811 $as_echo "no
" >&6; }
10813 elif test $build != $host && test $have_gcc_for_target = yes; then
10814 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10815 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10816 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10819 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10820 # Extract the first word of "ar", so it can be a program name with args.
10821 set dummy ar; ac_word=$2
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10823 $as_echo_n "checking
for $ac_word...
" >&6; }
10824 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10825 $as_echo_n "(cached
) " >&6
10827 case $AR_FOR_TARGET in
10829 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10833 for as_dir in $gcc_cv_tool_dirs
10836 test -z "$as_dir" && as_dir=.
10837 for ac_exec_ext in '' $ac_executable_extensions; do
10838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10839 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10840 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10850 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10851 if test -n "$AR_FOR_TARGET"; then
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10853 $as_echo "$AR_FOR_TARGET" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10861 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10864 if test -n "$AR_FOR_TARGET"; then
10865 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10866 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10867 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10870 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10871 for ncn_progname in ar; do
10872 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10873 set dummy ${ncn_progname}; ac_word=$2
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10875 $as_echo_n "checking
for $ac_word...
" >&6; }
10876 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10877 $as_echo_n "(cached
) " >&6
10879 if test -n "$AR_FOR_TARGET"; then
10880 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10883 for as_dir in $PATH
10886 test -z "$as_dir" && as_dir=.
10887 for ac_exec_ext in '' $ac_executable_extensions; do
10888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10889 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10899 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10900 if test -n "$AR_FOR_TARGET"; then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10902 $as_echo "$AR_FOR_TARGET" >&6; }
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10905 $as_echo "no
" >&6; }
10912 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10913 for ncn_progname in ar; do
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10915 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10916 if test -x $with_build_time_tools/${ncn_progname}; then
10917 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10919 $as_echo "yes" >&6; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10923 $as_echo "no
" >&6; }
10928 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10929 for ncn_progname in ar; do
10930 if test -n "$ncn_target_tool_prefix"; then
10931 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10932 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10934 $as_echo_n "checking
for $ac_word...
" >&6; }
10935 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10936 $as_echo_n "(cached
) " >&6
10938 if test -n "$AR_FOR_TARGET"; then
10939 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10942 for as_dir in $PATH
10945 test -z "$as_dir" && as_dir=.
10946 for ac_exec_ext in '' $ac_executable_extensions; do
10947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10948 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10958 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10959 if test -n "$AR_FOR_TARGET"; then
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10961 $as_echo "$AR_FOR_TARGET" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10964 $as_echo "no
" >&6; }
10969 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10970 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10971 set dummy ${ncn_progname}; ac_word=$2
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10973 $as_echo_n "checking
for $ac_word...
" >&6; }
10974 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10975 $as_echo_n "(cached
) " >&6
10977 if test -n "$AR_FOR_TARGET"; then
10978 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10981 for as_dir in $PATH
10984 test -z "$as_dir" && as_dir=.
10985 for ac_exec_ext in '' $ac_executable_extensions; do
10986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10987 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10997 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10998 if test -n "$AR_FOR_TARGET"; then
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11000 $as_echo "$AR_FOR_TARGET" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11003 $as_echo "no
" >&6; }
11008 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11012 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11014 if test $build = $target ; then
11017 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11020 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11024 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11030 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11031 if test -n "$with_build_time_tools"; then
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11033 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11034 if test -x $with_build_time_tools/as; then
11035 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11036 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11038 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11041 $as_echo "no
" >&6; }
11043 elif test $build != $host && test $have_gcc_for_target = yes; then
11044 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11045 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11046 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11049 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11050 # Extract the first word of "as
", so it can be a program name with args.
11051 set dummy as; ac_word=$2
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11053 $as_echo_n "checking
for $ac_word...
" >&6; }
11054 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11055 $as_echo_n "(cached
) " >&6
11057 case $AS_FOR_TARGET in
11059 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11063 for as_dir in $gcc_cv_tool_dirs
11066 test -z "$as_dir" && as_dir=.
11067 for ac_exec_ext in '' $ac_executable_extensions; do
11068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11069 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11080 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11081 if test -n "$AS_FOR_TARGET"; then
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11083 $as_echo "$AS_FOR_TARGET" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11086 $as_echo "no
" >&6; }
11091 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11094 if test -n "$AS_FOR_TARGET"; then
11095 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11096 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11097 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11100 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11101 for ncn_progname in as; do
11102 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11103 set dummy ${ncn_progname}; ac_word=$2
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11105 $as_echo_n "checking
for $ac_word...
" >&6; }
11106 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11107 $as_echo_n "(cached
) " >&6
11109 if test -n "$AS_FOR_TARGET"; then
11110 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11113 for as_dir in $PATH
11116 test -z "$as_dir" && as_dir=.
11117 for ac_exec_ext in '' $ac_executable_extensions; do
11118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11119 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11129 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11130 if test -n "$AS_FOR_TARGET"; then
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11132 $as_echo "$AS_FOR_TARGET" >&6; }
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11135 $as_echo "no
" >&6; }
11142 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11143 for ncn_progname in as; do
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11145 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11146 if test -x $with_build_time_tools/${ncn_progname}; then
11147 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11149 $as_echo "yes" >&6; }
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11153 $as_echo "no
" >&6; }
11158 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11159 for ncn_progname in as; do
11160 if test -n "$ncn_target_tool_prefix"; then
11161 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11162 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11164 $as_echo_n "checking
for $ac_word...
" >&6; }
11165 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11166 $as_echo_n "(cached
) " >&6
11168 if test -n "$AS_FOR_TARGET"; then
11169 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11172 for as_dir in $PATH
11175 test -z "$as_dir" && as_dir=.
11176 for ac_exec_ext in '' $ac_executable_extensions; do
11177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11178 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11179 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11188 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11189 if test -n "$AS_FOR_TARGET"; then
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11191 $as_echo "$AS_FOR_TARGET" >&6; }
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11194 $as_echo "no
" >&6; }
11199 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11200 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11201 set dummy ${ncn_progname}; ac_word=$2
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11203 $as_echo_n "checking
for $ac_word...
" >&6; }
11204 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11205 $as_echo_n "(cached
) " >&6
11207 if test -n "$AS_FOR_TARGET"; then
11208 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11211 for as_dir in $PATH
11214 test -z "$as_dir" && as_dir=.
11215 for ac_exec_ext in '' $ac_executable_extensions; do
11216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11217 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11227 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11228 if test -n "$AS_FOR_TARGET"; then
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11230 $as_echo "$AS_FOR_TARGET" >&6; }
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11233 $as_echo "no
" >&6; }
11238 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11242 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11244 if test $build = $target ; then
11247 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11250 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11254 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11260 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11261 if test -n "$with_build_time_tools"; then
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11263 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11264 if test -x $with_build_time_tools/dlltool; then
11265 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11266 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11268 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11271 $as_echo "no
" >&6; }
11273 elif test $build != $host && test $have_gcc_for_target = yes; then
11274 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11275 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11276 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11279 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11280 # Extract the first word of "dlltool
", so it can be a program name with args.
11281 set dummy dlltool; ac_word=$2
11282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11283 $as_echo_n "checking
for $ac_word...
" >&6; }
11284 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11285 $as_echo_n "(cached
) " >&6
11287 case $DLLTOOL_FOR_TARGET in
11289 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11293 for as_dir in $gcc_cv_tool_dirs
11296 test -z "$as_dir" && as_dir=.
11297 for ac_exec_ext in '' $ac_executable_extensions; do
11298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11299 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11300 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11310 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11311 if test -n "$DLLTOOL_FOR_TARGET"; then
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11313 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11316 $as_echo "no
" >&6; }
11321 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11324 if test -n "$DLLTOOL_FOR_TARGET"; then
11325 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11326 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11327 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11330 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11331 for ncn_progname in dlltool; do
11332 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11333 set dummy ${ncn_progname}; ac_word=$2
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11335 $as_echo_n "checking
for $ac_word...
" >&6; }
11336 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11337 $as_echo_n "(cached
) " >&6
11339 if test -n "$DLLTOOL_FOR_TARGET"; then
11340 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11343 for as_dir in $PATH
11346 test -z "$as_dir" && as_dir=.
11347 for ac_exec_ext in '' $ac_executable_extensions; do
11348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11349 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11359 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11360 if test -n "$DLLTOOL_FOR_TARGET"; then
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11362 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11365 $as_echo "no
" >&6; }
11372 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11373 for ncn_progname in dlltool; do
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11375 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11376 if test -x $with_build_time_tools/${ncn_progname}; then
11377 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11379 $as_echo "yes" >&6; }
11382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11383 $as_echo "no
" >&6; }
11388 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11389 for ncn_progname in dlltool; do
11390 if test -n "$ncn_target_tool_prefix"; then
11391 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11392 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11394 $as_echo_n "checking
for $ac_word...
" >&6; }
11395 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11396 $as_echo_n "(cached
) " >&6
11398 if test -n "$DLLTOOL_FOR_TARGET"; then
11399 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11402 for as_dir in $PATH
11405 test -z "$as_dir" && as_dir=.
11406 for ac_exec_ext in '' $ac_executable_extensions; do
11407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11408 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11418 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11419 if test -n "$DLLTOOL_FOR_TARGET"; then
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11421 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11424 $as_echo "no
" >&6; }
11429 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11431 set dummy ${ncn_progname}; ac_word=$2
11432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11433 $as_echo_n "checking
for $ac_word...
" >&6; }
11434 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11435 $as_echo_n "(cached
) " >&6
11437 if test -n "$DLLTOOL_FOR_TARGET"; then
11438 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11441 for as_dir in $PATH
11444 test -z "$as_dir" && as_dir=.
11445 for ac_exec_ext in '' $ac_executable_extensions; do
11446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11447 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11457 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11458 if test -n "$DLLTOOL_FOR_TARGET"; then
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11460 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11463 $as_echo "no
" >&6; }
11468 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11472 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11474 if test $build = $target ; then
11475 DLLTOOL_FOR_TARGET="$2"
11477 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11480 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11484 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11490 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11491 if test -n "$with_build_time_tools"; then
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11493 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11494 if test -x $with_build_time_tools/ld; then
11495 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11496 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11498 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11501 $as_echo "no
" >&6; }
11503 elif test $build != $host && test $have_gcc_for_target = yes; then
11504 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11505 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11506 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11509 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11510 # Extract the first word of "ld
", so it can be a program name with args.
11511 set dummy ld; ac_word=$2
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11513 $as_echo_n "checking
for $ac_word...
" >&6; }
11514 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11515 $as_echo_n "(cached
) " >&6
11517 case $LD_FOR_TARGET in
11519 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11523 for as_dir in $gcc_cv_tool_dirs
11526 test -z "$as_dir" && as_dir=.
11527 for ac_exec_ext in '' $ac_executable_extensions; do
11528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11529 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11540 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11541 if test -n "$LD_FOR_TARGET"; then
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11543 $as_echo "$LD_FOR_TARGET" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11546 $as_echo "no
" >&6; }
11551 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11554 if test -n "$LD_FOR_TARGET"; then
11555 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11556 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11557 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11560 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11561 for ncn_progname in ld; do
11562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11563 set dummy ${ncn_progname}; ac_word=$2
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11565 $as_echo_n "checking
for $ac_word...
" >&6; }
11566 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11567 $as_echo_n "(cached
) " >&6
11569 if test -n "$LD_FOR_TARGET"; then
11570 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11573 for as_dir in $PATH
11576 test -z "$as_dir" && as_dir=.
11577 for ac_exec_ext in '' $ac_executable_extensions; do
11578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11579 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11589 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11590 if test -n "$LD_FOR_TARGET"; then
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11592 $as_echo "$LD_FOR_TARGET" >&6; }
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11595 $as_echo "no
" >&6; }
11602 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11603 for ncn_progname in ld; do
11604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11605 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11606 if test -x $with_build_time_tools/${ncn_progname}; then
11607 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11609 $as_echo "yes" >&6; }
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11613 $as_echo "no
" >&6; }
11618 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11619 for ncn_progname in ld; do
11620 if test -n "$ncn_target_tool_prefix"; then
11621 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11622 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11624 $as_echo_n "checking
for $ac_word...
" >&6; }
11625 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11626 $as_echo_n "(cached
) " >&6
11628 if test -n "$LD_FOR_TARGET"; then
11629 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11632 for as_dir in $PATH
11635 test -z "$as_dir" && as_dir=.
11636 for ac_exec_ext in '' $ac_executable_extensions; do
11637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11638 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11648 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11649 if test -n "$LD_FOR_TARGET"; then
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11651 $as_echo "$LD_FOR_TARGET" >&6; }
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11654 $as_echo "no
" >&6; }
11659 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11660 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11661 set dummy ${ncn_progname}; ac_word=$2
11662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11663 $as_echo_n "checking
for $ac_word...
" >&6; }
11664 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11665 $as_echo_n "(cached
) " >&6
11667 if test -n "$LD_FOR_TARGET"; then
11668 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11671 for as_dir in $PATH
11674 test -z "$as_dir" && as_dir=.
11675 for ac_exec_ext in '' $ac_executable_extensions; do
11676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11677 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11678 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11687 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11688 if test -n "$LD_FOR_TARGET"; then
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11690 $as_echo "$LD_FOR_TARGET" >&6; }
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11693 $as_echo "no
" >&6; }
11698 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11702 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11704 if test $build = $target ; then
11707 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11710 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11714 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11720 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11721 if test -n "$with_build_time_tools"; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11723 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11724 if test -x $with_build_time_tools/lipo; then
11725 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11726 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11728 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11731 $as_echo "no
" >&6; }
11733 elif test $build != $host && test $have_gcc_for_target = yes; then
11734 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11735 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11736 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11739 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11740 # Extract the first word of "lipo
", so it can be a program name with args.
11741 set dummy lipo; ac_word=$2
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11743 $as_echo_n "checking
for $ac_word...
" >&6; }
11744 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11745 $as_echo_n "(cached
) " >&6
11747 case $LIPO_FOR_TARGET in
11749 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11753 for as_dir in $gcc_cv_tool_dirs
11756 test -z "$as_dir" && as_dir=.
11757 for ac_exec_ext in '' $ac_executable_extensions; do
11758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11759 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11770 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11771 if test -n "$LIPO_FOR_TARGET"; then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11773 $as_echo "$LIPO_FOR_TARGET" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11776 $as_echo "no
" >&6; }
11781 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11784 if test -n "$LIPO_FOR_TARGET"; then
11785 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11786 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11787 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11790 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11791 for ncn_progname in lipo; do
11792 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11793 set dummy ${ncn_progname}; ac_word=$2
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11795 $as_echo_n "checking
for $ac_word...
" >&6; }
11796 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11797 $as_echo_n "(cached
) " >&6
11799 if test -n "$LIPO_FOR_TARGET"; then
11800 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11803 for as_dir in $PATH
11806 test -z "$as_dir" && as_dir=.
11807 for ac_exec_ext in '' $ac_executable_extensions; do
11808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11809 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11819 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11820 if test -n "$LIPO_FOR_TARGET"; then
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11822 $as_echo "$LIPO_FOR_TARGET" >&6; }
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11825 $as_echo "no
" >&6; }
11832 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11833 for ncn_progname in lipo; do
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11835 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11836 if test -x $with_build_time_tools/${ncn_progname}; then
11837 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11839 $as_echo "yes" >&6; }
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11843 $as_echo "no
" >&6; }
11848 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11849 for ncn_progname in lipo; do
11850 if test -n "$ncn_target_tool_prefix"; then
11851 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11852 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11854 $as_echo_n "checking
for $ac_word...
" >&6; }
11855 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11856 $as_echo_n "(cached
) " >&6
11858 if test -n "$LIPO_FOR_TARGET"; then
11859 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11862 for as_dir in $PATH
11865 test -z "$as_dir" && as_dir=.
11866 for ac_exec_ext in '' $ac_executable_extensions; do
11867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11868 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11878 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11879 if test -n "$LIPO_FOR_TARGET"; then
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11881 $as_echo "$LIPO_FOR_TARGET" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11884 $as_echo "no
" >&6; }
11889 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11890 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11891 set dummy ${ncn_progname}; ac_word=$2
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11893 $as_echo_n "checking
for $ac_word...
" >&6; }
11894 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11895 $as_echo_n "(cached
) " >&6
11897 if test -n "$LIPO_FOR_TARGET"; then
11898 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11901 for as_dir in $PATH
11904 test -z "$as_dir" && as_dir=.
11905 for ac_exec_ext in '' $ac_executable_extensions; do
11906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11907 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11908 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11917 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11918 if test -n "$LIPO_FOR_TARGET"; then
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11920 $as_echo "$LIPO_FOR_TARGET" >&6; }
11922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11923 $as_echo "no
" >&6; }
11928 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11932 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11934 if test $build = $target ; then
11935 LIPO_FOR_TARGET="$2"
11937 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11940 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11944 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11950 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11951 if test -n "$with_build_time_tools"; then
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11953 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11954 if test -x $with_build_time_tools/nm; then
11955 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11956 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11958 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11961 $as_echo "no
" >&6; }
11963 elif test $build != $host && test $have_gcc_for_target = yes; then
11964 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11965 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11966 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11969 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11970 # Extract the first word of "nm
", so it can be a program name with args.
11971 set dummy nm; ac_word=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11973 $as_echo_n "checking
for $ac_word...
" >&6; }
11974 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11975 $as_echo_n "(cached
) " >&6
11977 case $NM_FOR_TARGET in
11979 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $gcc_cv_tool_dirs
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11989 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11990 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12000 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12001 if test -n "$NM_FOR_TARGET"; then
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12003 $as_echo "$NM_FOR_TARGET" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12006 $as_echo "no
" >&6; }
12011 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12014 if test -n "$NM_FOR_TARGET"; then
12015 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12016 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12017 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12020 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12021 for ncn_progname in nm; do
12022 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12023 set dummy ${ncn_progname}; ac_word=$2
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12025 $as_echo_n "checking
for $ac_word...
" >&6; }
12026 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12027 $as_echo_n "(cached
) " >&6
12029 if test -n "$NM_FOR_TARGET"; then
12030 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12033 for as_dir in $PATH
12036 test -z "$as_dir" && as_dir=.
12037 for ac_exec_ext in '' $ac_executable_extensions; do
12038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12039 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12040 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12049 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12050 if test -n "$NM_FOR_TARGET"; then
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12052 $as_echo "$NM_FOR_TARGET" >&6; }
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12055 $as_echo "no
" >&6; }
12062 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12063 for ncn_progname in nm; do
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12065 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12066 if test -x $with_build_time_tools/${ncn_progname}; then
12067 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12069 $as_echo "yes" >&6; }
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12073 $as_echo "no
" >&6; }
12078 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12079 for ncn_progname in nm; do
12080 if test -n "$ncn_target_tool_prefix"; then
12081 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12082 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12084 $as_echo_n "checking
for $ac_word...
" >&6; }
12085 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12086 $as_echo_n "(cached
) " >&6
12088 if test -n "$NM_FOR_TARGET"; then
12089 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12092 for as_dir in $PATH
12095 test -z "$as_dir" && as_dir=.
12096 for ac_exec_ext in '' $ac_executable_extensions; do
12097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12098 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12099 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12108 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12109 if test -n "$NM_FOR_TARGET"; then
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12111 $as_echo "$NM_FOR_TARGET" >&6; }
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12114 $as_echo "no
" >&6; }
12119 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12120 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12121 set dummy ${ncn_progname}; ac_word=$2
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12123 $as_echo_n "checking
for $ac_word...
" >&6; }
12124 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12125 $as_echo_n "(cached
) " >&6
12127 if test -n "$NM_FOR_TARGET"; then
12128 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12131 for as_dir in $PATH
12134 test -z "$as_dir" && as_dir=.
12135 for ac_exec_ext in '' $ac_executable_extensions; do
12136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12137 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12138 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12147 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12148 if test -n "$NM_FOR_TARGET"; then
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12150 $as_echo "$NM_FOR_TARGET" >&6; }
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12153 $as_echo "no
" >&6; }
12158 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12162 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12164 if test $build = $target ; then
12167 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12170 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12174 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12180 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12181 if test -n "$with_build_time_tools"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12183 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12184 if test -x $with_build_time_tools/objdump; then
12185 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12186 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12188 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12191 $as_echo "no
" >&6; }
12193 elif test $build != $host && test $have_gcc_for_target = yes; then
12194 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12195 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12196 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12199 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12200 # Extract the first word of "objdump
", so it can be a program name with args.
12201 set dummy objdump; ac_word=$2
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12203 $as_echo_n "checking
for $ac_word...
" >&6; }
12204 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12205 $as_echo_n "(cached
) " >&6
12207 case $OBJDUMP_FOR_TARGET in
12209 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12213 for as_dir in $gcc_cv_tool_dirs
12216 test -z "$as_dir" && as_dir=.
12217 for ac_exec_ext in '' $ac_executable_extensions; do
12218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12219 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12230 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12231 if test -n "$OBJDUMP_FOR_TARGET"; then
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12233 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12236 $as_echo "no
" >&6; }
12241 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12244 if test -n "$OBJDUMP_FOR_TARGET"; then
12245 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12246 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12247 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12250 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12251 for ncn_progname in objdump; do
12252 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12253 set dummy ${ncn_progname}; ac_word=$2
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12255 $as_echo_n "checking
for $ac_word...
" >&6; }
12256 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12257 $as_echo_n "(cached
) " >&6
12259 if test -n "$OBJDUMP_FOR_TARGET"; then
12260 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12263 for as_dir in $PATH
12266 test -z "$as_dir" && as_dir=.
12267 for ac_exec_ext in '' $ac_executable_extensions; do
12268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12269 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12270 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12279 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12280 if test -n "$OBJDUMP_FOR_TARGET"; then
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12282 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12285 $as_echo "no
" >&6; }
12292 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12293 for ncn_progname in objdump; do
12294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12295 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12296 if test -x $with_build_time_tools/${ncn_progname}; then
12297 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12299 $as_echo "yes" >&6; }
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12303 $as_echo "no
" >&6; }
12308 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12309 for ncn_progname in objdump; do
12310 if test -n "$ncn_target_tool_prefix"; then
12311 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12312 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12314 $as_echo_n "checking
for $ac_word...
" >&6; }
12315 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12316 $as_echo_n "(cached
) " >&6
12318 if test -n "$OBJDUMP_FOR_TARGET"; then
12319 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12322 for as_dir in $PATH
12325 test -z "$as_dir" && as_dir=.
12326 for ac_exec_ext in '' $ac_executable_extensions; do
12327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12328 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12338 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12339 if test -n "$OBJDUMP_FOR_TARGET"; then
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12341 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12344 $as_echo "no
" >&6; }
12349 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12350 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12351 set dummy ${ncn_progname}; ac_word=$2
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12353 $as_echo_n "checking
for $ac_word...
" >&6; }
12354 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12355 $as_echo_n "(cached
) " >&6
12357 if test -n "$OBJDUMP_FOR_TARGET"; then
12358 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12361 for as_dir in $PATH
12364 test -z "$as_dir" && as_dir=.
12365 for ac_exec_ext in '' $ac_executable_extensions; do
12366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12367 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12368 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12377 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12378 if test -n "$OBJDUMP_FOR_TARGET"; then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12380 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12383 $as_echo "no
" >&6; }
12388 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12392 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12394 if test $build = $target ; then
12395 OBJDUMP_FOR_TARGET="$2"
12397 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12400 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12404 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12410 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12411 if test -n "$with_build_time_tools"; then
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12413 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12414 if test -x $with_build_time_tools/ranlib; then
12415 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12416 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12418 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12421 $as_echo "no
" >&6; }
12423 elif test $build != $host && test $have_gcc_for_target = yes; then
12424 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12425 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12426 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12429 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12430 # Extract the first word of "ranlib
", so it can be a program name with args.
12431 set dummy ranlib; ac_word=$2
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12433 $as_echo_n "checking
for $ac_word...
" >&6; }
12434 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12435 $as_echo_n "(cached
) " >&6
12437 case $RANLIB_FOR_TARGET in
12439 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12443 for as_dir in $gcc_cv_tool_dirs
12446 test -z "$as_dir" && as_dir=.
12447 for ac_exec_ext in '' $ac_executable_extensions; do
12448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12449 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12450 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12460 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12461 if test -n "$RANLIB_FOR_TARGET"; then
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12463 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12466 $as_echo "no
" >&6; }
12471 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12474 if test -n "$RANLIB_FOR_TARGET"; then
12475 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12476 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12477 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12480 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12481 for ncn_progname in ranlib; do
12482 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12483 set dummy ${ncn_progname}; ac_word=$2
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12485 $as_echo_n "checking
for $ac_word...
" >&6; }
12486 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12487 $as_echo_n "(cached
) " >&6
12489 if test -n "$RANLIB_FOR_TARGET"; then
12490 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12493 for as_dir in $PATH
12496 test -z "$as_dir" && as_dir=.
12497 for ac_exec_ext in '' $ac_executable_extensions; do
12498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12499 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12500 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12509 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12510 if test -n "$RANLIB_FOR_TARGET"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12512 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12515 $as_echo "no
" >&6; }
12522 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12523 for ncn_progname in ranlib; do
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12525 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12526 if test -x $with_build_time_tools/${ncn_progname}; then
12527 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12529 $as_echo "yes" >&6; }
12532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12533 $as_echo "no
" >&6; }
12538 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12539 for ncn_progname in ranlib; do
12540 if test -n "$ncn_target_tool_prefix"; then
12541 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12542 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12544 $as_echo_n "checking
for $ac_word...
" >&6; }
12545 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12546 $as_echo_n "(cached
) " >&6
12548 if test -n "$RANLIB_FOR_TARGET"; then
12549 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12552 for as_dir in $PATH
12555 test -z "$as_dir" && as_dir=.
12556 for ac_exec_ext in '' $ac_executable_extensions; do
12557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12558 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12559 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12568 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12569 if test -n "$RANLIB_FOR_TARGET"; then
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12571 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12574 $as_echo "no
" >&6; }
12579 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12580 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12581 set dummy ${ncn_progname}; ac_word=$2
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12583 $as_echo_n "checking
for $ac_word...
" >&6; }
12584 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12585 $as_echo_n "(cached
) " >&6
12587 if test -n "$RANLIB_FOR_TARGET"; then
12588 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12591 for as_dir in $PATH
12594 test -z "$as_dir" && as_dir=.
12595 for ac_exec_ext in '' $ac_executable_extensions; do
12596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12597 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12607 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12608 if test -n "$RANLIB_FOR_TARGET"; then
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12610 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12613 $as_echo "no
" >&6; }
12618 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12622 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12624 if test $build = $target ; then
12625 RANLIB_FOR_TARGET="$2"
12627 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12630 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12634 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12640 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12641 if test -n "$with_build_time_tools"; then
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12643 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12644 if test -x $with_build_time_tools/readelf; then
12645 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12646 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12648 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12651 $as_echo "no
" >&6; }
12653 elif test $build != $host && test $have_gcc_for_target = yes; then
12654 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12655 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12656 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12659 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12660 # Extract the first word of "readelf
", so it can be a program name with args.
12661 set dummy readelf; ac_word=$2
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12663 $as_echo_n "checking
for $ac_word...
" >&6; }
12664 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12665 $as_echo_n "(cached
) " >&6
12667 case $READELF_FOR_TARGET in
12669 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12673 for as_dir in $gcc_cv_tool_dirs
12676 test -z "$as_dir" && as_dir=.
12677 for ac_exec_ext in '' $ac_executable_extensions; do
12678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12679 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12690 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12691 if test -n "$READELF_FOR_TARGET"; then
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12693 $as_echo "$READELF_FOR_TARGET" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12696 $as_echo "no
" >&6; }
12701 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12704 if test -n "$READELF_FOR_TARGET"; then
12705 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12706 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12707 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12710 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12711 for ncn_progname in readelf; do
12712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12713 set dummy ${ncn_progname}; ac_word=$2
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12715 $as_echo_n "checking
for $ac_word...
" >&6; }
12716 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12717 $as_echo_n "(cached
) " >&6
12719 if test -n "$READELF_FOR_TARGET"; then
12720 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12723 for as_dir in $PATH
12726 test -z "$as_dir" && as_dir=.
12727 for ac_exec_ext in '' $ac_executable_extensions; do
12728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12729 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12739 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12740 if test -n "$READELF_FOR_TARGET"; then
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12742 $as_echo "$READELF_FOR_TARGET" >&6; }
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12745 $as_echo "no
" >&6; }
12752 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12753 for ncn_progname in readelf; do
12754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12755 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12756 if test -x $with_build_time_tools/${ncn_progname}; then
12757 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12759 $as_echo "yes" >&6; }
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12763 $as_echo "no
" >&6; }
12768 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12769 for ncn_progname in readelf; do
12770 if test -n "$ncn_target_tool_prefix"; then
12771 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12772 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12774 $as_echo_n "checking
for $ac_word...
" >&6; }
12775 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12776 $as_echo_n "(cached
) " >&6
12778 if test -n "$READELF_FOR_TARGET"; then
12779 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12782 for as_dir in $PATH
12785 test -z "$as_dir" && as_dir=.
12786 for ac_exec_ext in '' $ac_executable_extensions; do
12787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12788 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12798 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12799 if test -n "$READELF_FOR_TARGET"; then
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12801 $as_echo "$READELF_FOR_TARGET" >&6; }
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12804 $as_echo "no
" >&6; }
12809 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12810 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12811 set dummy ${ncn_progname}; ac_word=$2
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12813 $as_echo_n "checking
for $ac_word...
" >&6; }
12814 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12815 $as_echo_n "(cached
) " >&6
12817 if test -n "$READELF_FOR_TARGET"; then
12818 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12821 for as_dir in $PATH
12824 test -z "$as_dir" && as_dir=.
12825 for ac_exec_ext in '' $ac_executable_extensions; do
12826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12827 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12837 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12838 if test -n "$READELF_FOR_TARGET"; then
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12840 $as_echo "$READELF_FOR_TARGET" >&6; }
12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12843 $as_echo "no
" >&6; }
12848 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12852 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12854 if test $build = $target ; then
12855 READELF_FOR_TARGET="$2"
12857 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12860 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12864 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12870 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12871 if test -n "$with_build_time_tools"; then
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12873 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12874 if test -x $with_build_time_tools/strip; then
12875 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12876 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12878 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12881 $as_echo "no
" >&6; }
12883 elif test $build != $host && test $have_gcc_for_target = yes; then
12884 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12885 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12886 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12889 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12890 # Extract the first word of "strip
", so it can be a program name with args.
12891 set dummy strip; ac_word=$2
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12893 $as_echo_n "checking
for $ac_word...
" >&6; }
12894 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12895 $as_echo_n "(cached
) " >&6
12897 case $STRIP_FOR_TARGET in
12899 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12903 for as_dir in $gcc_cv_tool_dirs
12906 test -z "$as_dir" && as_dir=.
12907 for ac_exec_ext in '' $ac_executable_extensions; do
12908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12909 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12920 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12921 if test -n "$STRIP_FOR_TARGET"; then
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12923 $as_echo "$STRIP_FOR_TARGET" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12926 $as_echo "no
" >&6; }
12931 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12934 if test -n "$STRIP_FOR_TARGET"; then
12935 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12936 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12937 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12940 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12941 for ncn_progname in strip; do
12942 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12943 set dummy ${ncn_progname}; ac_word=$2
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12945 $as_echo_n "checking
for $ac_word...
" >&6; }
12946 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12947 $as_echo_n "(cached
) " >&6
12949 if test -n "$STRIP_FOR_TARGET"; then
12950 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12953 for as_dir in $PATH
12956 test -z "$as_dir" && as_dir=.
12957 for ac_exec_ext in '' $ac_executable_extensions; do
12958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12959 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12969 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12970 if test -n "$STRIP_FOR_TARGET"; then
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12972 $as_echo "$STRIP_FOR_TARGET" >&6; }
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12975 $as_echo "no
" >&6; }
12982 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12983 for ncn_progname in strip; do
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12985 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12986 if test -x $with_build_time_tools/${ncn_progname}; then
12987 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12989 $as_echo "yes" >&6; }
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12993 $as_echo "no
" >&6; }
12998 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12999 for ncn_progname in strip; do
13000 if test -n "$ncn_target_tool_prefix"; then
13001 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13002 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13004 $as_echo_n "checking
for $ac_word...
" >&6; }
13005 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13006 $as_echo_n "(cached
) " >&6
13008 if test -n "$STRIP_FOR_TARGET"; then
13009 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13012 for as_dir in $PATH
13015 test -z "$as_dir" && as_dir=.
13016 for ac_exec_ext in '' $ac_executable_extensions; do
13017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13018 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13019 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13028 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13029 if test -n "$STRIP_FOR_TARGET"; then
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13031 $as_echo "$STRIP_FOR_TARGET" >&6; }
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13034 $as_echo "no
" >&6; }
13039 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13040 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13041 set dummy ${ncn_progname}; ac_word=$2
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13043 $as_echo_n "checking
for $ac_word...
" >&6; }
13044 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13045 $as_echo_n "(cached
) " >&6
13047 if test -n "$STRIP_FOR_TARGET"; then
13048 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13051 for as_dir in $PATH
13054 test -z "$as_dir" && as_dir=.
13055 for ac_exec_ext in '' $ac_executable_extensions; do
13056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13057 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13067 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13068 if test -n "$STRIP_FOR_TARGET"; then
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13070 $as_echo "$STRIP_FOR_TARGET" >&6; }
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13073 $as_echo "no
" >&6; }
13078 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13082 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13084 if test $build = $target ; then
13085 STRIP_FOR_TARGET="$2"
13087 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13090 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13094 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13100 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13101 if test -n "$with_build_time_tools"; then
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13103 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13104 if test -x $with_build_time_tools/windres; then
13105 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13106 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13108 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13111 $as_echo "no
" >&6; }
13113 elif test $build != $host && test $have_gcc_for_target = yes; then
13114 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13115 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13116 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13119 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13120 # Extract the first word of "windres
", so it can be a program name with args.
13121 set dummy windres; ac_word=$2
13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13123 $as_echo_n "checking
for $ac_word...
" >&6; }
13124 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13125 $as_echo_n "(cached
) " >&6
13127 case $WINDRES_FOR_TARGET in
13129 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $gcc_cv_tool_dirs
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13140 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13150 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13151 if test -n "$WINDRES_FOR_TARGET"; then
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13153 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13156 $as_echo "no
" >&6; }
13161 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13164 if test -n "$WINDRES_FOR_TARGET"; then
13165 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13166 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13167 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13170 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13171 for ncn_progname in windres; do
13172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13173 set dummy ${ncn_progname}; ac_word=$2
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13175 $as_echo_n "checking
for $ac_word...
" >&6; }
13176 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13177 $as_echo_n "(cached
) " >&6
13179 if test -n "$WINDRES_FOR_TARGET"; then
13180 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13183 for as_dir in $PATH
13186 test -z "$as_dir" && as_dir=.
13187 for ac_exec_ext in '' $ac_executable_extensions; do
13188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13189 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13199 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13200 if test -n "$WINDRES_FOR_TARGET"; then
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13202 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13205 $as_echo "no
" >&6; }
13212 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13213 for ncn_progname in windres; do
13214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13215 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13216 if test -x $with_build_time_tools/${ncn_progname}; then
13217 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13219 $as_echo "yes" >&6; }
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13223 $as_echo "no
" >&6; }
13228 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13229 for ncn_progname in windres; do
13230 if test -n "$ncn_target_tool_prefix"; then
13231 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13232 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13234 $as_echo_n "checking
for $ac_word...
" >&6; }
13235 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13236 $as_echo_n "(cached
) " >&6
13238 if test -n "$WINDRES_FOR_TARGET"; then
13239 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13242 for as_dir in $PATH
13245 test -z "$as_dir" && as_dir=.
13246 for ac_exec_ext in '' $ac_executable_extensions; do
13247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13248 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13258 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13259 if test -n "$WINDRES_FOR_TARGET"; then
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13261 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13264 $as_echo "no
" >&6; }
13269 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13270 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13271 set dummy ${ncn_progname}; ac_word=$2
13272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13273 $as_echo_n "checking
for $ac_word...
" >&6; }
13274 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13275 $as_echo_n "(cached
) " >&6
13277 if test -n "$WINDRES_FOR_TARGET"; then
13278 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13281 for as_dir in $PATH
13284 test -z "$as_dir" && as_dir=.
13285 for ac_exec_ext in '' $ac_executable_extensions; do
13286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13287 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13297 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13298 if test -n "$WINDRES_FOR_TARGET"; then
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13300 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13303 $as_echo "no
" >&6; }
13308 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13312 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13314 if test $build = $target ; then
13315 WINDRES_FOR_TARGET="$2"
13317 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13320 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13324 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13330 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13331 if test -n "$with_build_time_tools"; then
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13333 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13334 if test -x $with_build_time_tools/windmc; then
13335 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13336 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13338 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13341 $as_echo "no
" >&6; }
13343 elif test $build != $host && test $have_gcc_for_target = yes; then
13344 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13345 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13346 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13349 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13350 # Extract the first word of "windmc
", so it can be a program name with args.
13351 set dummy windmc; ac_word=$2
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13353 $as_echo_n "checking
for $ac_word...
" >&6; }
13354 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13355 $as_echo_n "(cached
) " >&6
13357 case $WINDMC_FOR_TARGET in
13359 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13363 for as_dir in $gcc_cv_tool_dirs
13366 test -z "$as_dir" && as_dir=.
13367 for ac_exec_ext in '' $ac_executable_extensions; do
13368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13369 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13380 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13381 if test -n "$WINDMC_FOR_TARGET"; then
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13383 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13386 $as_echo "no
" >&6; }
13391 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13394 if test -n "$WINDMC_FOR_TARGET"; then
13395 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13396 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13397 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13400 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13401 for ncn_progname in windmc; do
13402 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13403 set dummy ${ncn_progname}; ac_word=$2
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13405 $as_echo_n "checking
for $ac_word...
" >&6; }
13406 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13407 $as_echo_n "(cached
) " >&6
13409 if test -n "$WINDMC_FOR_TARGET"; then
13410 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13413 for as_dir in $PATH
13416 test -z "$as_dir" && as_dir=.
13417 for ac_exec_ext in '' $ac_executable_extensions; do
13418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13419 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13420 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13429 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13430 if test -n "$WINDMC_FOR_TARGET"; then
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13432 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13435 $as_echo "no
" >&6; }
13442 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13443 for ncn_progname in windmc; do
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13445 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13446 if test -x $with_build_time_tools/${ncn_progname}; then
13447 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13449 $as_echo "yes" >&6; }
13452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13453 $as_echo "no
" >&6; }
13458 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13459 for ncn_progname in windmc; do
13460 if test -n "$ncn_target_tool_prefix"; then
13461 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13462 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13464 $as_echo_n "checking
for $ac_word...
" >&6; }
13465 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13466 $as_echo_n "(cached
) " >&6
13468 if test -n "$WINDMC_FOR_TARGET"; then
13469 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13472 for as_dir in $PATH
13475 test -z "$as_dir" && as_dir=.
13476 for ac_exec_ext in '' $ac_executable_extensions; do
13477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13478 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13488 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13489 if test -n "$WINDMC_FOR_TARGET"; then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13491 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13494 $as_echo "no
" >&6; }
13499 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13500 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13501 set dummy ${ncn_progname}; ac_word=$2
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13503 $as_echo_n "checking
for $ac_word...
" >&6; }
13504 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13505 $as_echo_n "(cached
) " >&6
13507 if test -n "$WINDMC_FOR_TARGET"; then
13508 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13511 for as_dir in $PATH
13514 test -z "$as_dir" && as_dir=.
13515 for ac_exec_ext in '' $ac_executable_extensions; do
13516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13517 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13527 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13528 if test -n "$WINDMC_FOR_TARGET"; then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13530 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13533 $as_echo "no
" >&6; }
13538 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13542 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13544 if test $build = $target ; then
13545 WINDMC_FOR_TARGET="$2"
13547 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13550 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13554 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13558 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13561 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13562 if test "x
${build}" != "x
${host}" ; then
13563 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13564 # We already found the complete path
13565 ac_dir=`dirname $AR_FOR_TARGET`
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13567 $as_echo "pre-installed
in $ac_dir" >&6; }
13569 # Canadian cross, just use what we found
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13571 $as_echo "pre-installed
" >&6; }
13575 case " ${configdirs} " in
13580 if test $ok = yes; then
13581 # An in-tree tool is available and we can use it
13582 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13584 $as_echo "just compiled
" >&6; }
13585 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13586 # We already found the complete path
13587 ac_dir=`dirname $AR_FOR_TARGET`
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13589 $as_echo "pre-installed
in $ac_dir" >&6; }
13590 elif test "x
$target" = "x
$host"; then
13591 # We can use an host tool
13592 AR_FOR_TARGET='$(AR)'
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13594 $as_echo "host tool
" >&6; }
13596 # We need a cross tool
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13598 $as_echo "pre-installed
" >&6; }
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13603 $as_echo_n "checking where to
find the target as...
" >&6; }
13604 if test "x
${build}" != "x
${host}" ; then
13605 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13606 # We already found the complete path
13607 ac_dir=`dirname $AS_FOR_TARGET`
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13609 $as_echo "pre-installed
in $ac_dir" >&6; }
13611 # Canadian cross, just use what we found
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13613 $as_echo "pre-installed
" >&6; }
13617 case " ${configdirs} " in
13622 if test $ok = yes; then
13623 # An in-tree tool is available and we can use it
13624 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13626 $as_echo "just compiled
" >&6; }
13627 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13628 # We already found the complete path
13629 ac_dir=`dirname $AS_FOR_TARGET`
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13631 $as_echo "pre-installed
in $ac_dir" >&6; }
13632 elif test "x
$target" = "x
$host"; then
13633 # We can use an host tool
13634 AS_FOR_TARGET='$(AS)'
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13636 $as_echo "host tool
" >&6; }
13638 # We need a cross tool
13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13640 $as_echo "pre-installed
" >&6; }
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13645 $as_echo_n "checking where to
find the target cc...
" >&6; }
13646 if test "x
${build}" != "x
${host}" ; then
13647 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13648 # We already found the complete path
13649 ac_dir=`dirname $CC_FOR_TARGET`
13650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13651 $as_echo "pre-installed
in $ac_dir" >&6; }
13653 # Canadian cross, just use what we found
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13655 $as_echo "pre-installed
" >&6; }
13659 case " ${configdirs} " in
13664 if test $ok = yes; then
13665 # An in-tree tool is available and we can use it
13666 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13668 $as_echo "just compiled
" >&6; }
13669 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13670 # We already found the complete path
13671 ac_dir=`dirname $CC_FOR_TARGET`
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13673 $as_echo "pre-installed
in $ac_dir" >&6; }
13674 elif test "x
$target" = "x
$host"; then
13675 # We can use an host tool
13676 CC_FOR_TARGET='$(CC)'
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13678 $as_echo "host tool
" >&6; }
13680 # We need a cross tool
13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13682 $as_echo "pre-installed
" >&6; }
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13687 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13688 if test "x
${build}" != "x
${host}" ; then
13689 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13690 # We already found the complete path
13691 ac_dir=`dirname $CXX_FOR_TARGET`
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13693 $as_echo "pre-installed
in $ac_dir" >&6; }
13695 # Canadian cross, just use what we found
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13697 $as_echo "pre-installed
" >&6; }
13701 case " ${configdirs} " in
13705 case ,${enable_languages}, in
13709 if test $ok = yes; then
13710 # An in-tree tool is available and we can use it
13711 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'
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13713 $as_echo "just compiled
" >&6; }
13714 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13715 # We already found the complete path
13716 ac_dir=`dirname $CXX_FOR_TARGET`
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13718 $as_echo "pre-installed
in $ac_dir" >&6; }
13719 elif test "x
$target" = "x
$host"; then
13720 # We can use an host tool
13721 CXX_FOR_TARGET='$(CXX)'
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13723 $as_echo "host tool
" >&6; }
13725 # We need a cross tool
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13727 $as_echo "pre-installed
" >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13732 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13733 if test "x
${build}" != "x
${host}" ; then
13734 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13735 # We already found the complete path
13736 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13738 $as_echo "pre-installed
in $ac_dir" >&6; }
13740 # Canadian cross, just use what we found
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13742 $as_echo "pre-installed
" >&6; }
13746 case " ${configdirs} " in
13750 case ,${enable_languages}, in
13754 if test $ok = yes; then
13755 # An in-tree tool is available and we can use it
13756 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'
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13758 $as_echo "just compiled
" >&6; }
13759 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13760 # We already found the complete path
13761 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13763 $as_echo "pre-installed
in $ac_dir" >&6; }
13764 elif test "x
$target" = "x
$host"; then
13765 # We can use an host tool
13766 RAW_CXX_FOR_TARGET='$(CXX)'
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13768 $as_echo "host tool
" >&6; }
13770 # We need a cross tool
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13772 $as_echo "pre-installed
" >&6; }
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13777 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13778 if test "x
${build}" != "x
${host}" ; then
13779 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13780 # We already found the complete path
13781 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13783 $as_echo "pre-installed
in $ac_dir" >&6; }
13785 # Canadian cross, just use what we found
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13787 $as_echo "pre-installed
" >&6; }
13791 case " ${configdirs} " in
13796 if test $ok = yes; then
13797 # An in-tree tool is available and we can use it
13798 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13800 $as_echo "just compiled
" >&6; }
13801 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13802 # We already found the complete path
13803 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13805 $as_echo "pre-installed
in $ac_dir" >&6; }
13806 elif test "x
$target" = "x
$host"; then
13807 # We can use an host tool
13808 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13810 $as_echo "host tool
" >&6; }
13812 # We need a cross tool
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13814 $as_echo "pre-installed
" >&6; }
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13819 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13820 if test "x
${build}" != "x
${host}" ; then
13821 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13822 # We already found the complete path
13823 ac_dir=`dirname $GCC_FOR_TARGET`
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13825 $as_echo "pre-installed
in $ac_dir" >&6; }
13827 # Canadian cross, just use what we found
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13829 $as_echo "pre-installed
" >&6; }
13833 case " ${configdirs} " in
13838 if test $ok = yes; then
13839 # An in-tree tool is available and we can use it
13840 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13842 $as_echo "just compiled
" >&6; }
13843 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13844 # We already found the complete path
13845 ac_dir=`dirname $GCC_FOR_TARGET`
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13847 $as_echo "pre-installed
in $ac_dir" >&6; }
13848 elif test "x
$target" = "x
$host"; then
13849 # We can use an host tool
13850 GCC_FOR_TARGET='$()'
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13852 $as_echo "host tool
" >&6; }
13854 # We need a cross tool
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13856 $as_echo "pre-installed
" >&6; }
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13861 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13862 if test "x
${build}" != "x
${host}" ; then
13863 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13864 # We already found the complete path
13865 ac_dir=`dirname $GCJ_FOR_TARGET`
13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13867 $as_echo "pre-installed
in $ac_dir" >&6; }
13869 # Canadian cross, just use what we found
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13871 $as_echo "pre-installed
" >&6; }
13875 case " ${configdirs} " in
13879 case ,${enable_languages}, in
13883 if test $ok = yes; then
13884 # An in-tree tool is available and we can use it
13885 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13887 $as_echo "just compiled
" >&6; }
13888 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13889 # We already found the complete path
13890 ac_dir=`dirname $GCJ_FOR_TARGET`
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13892 $as_echo "pre-installed
in $ac_dir" >&6; }
13893 elif test "x
$target" = "x
$host"; then
13894 # We can use an host tool
13895 GCJ_FOR_TARGET='$(GCJ)'
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13897 $as_echo "host tool
" >&6; }
13899 # We need a cross tool
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13901 $as_echo "pre-installed
" >&6; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13906 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13907 if test "x
${build}" != "x
${host}" ; then
13908 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13909 # We already found the complete path
13910 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13912 $as_echo "pre-installed
in $ac_dir" >&6; }
13914 # Canadian cross, just use what we found
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13916 $as_echo "pre-installed
" >&6; }
13920 case " ${configdirs} " in
13924 case ,${enable_languages}, in
13928 if test $ok = yes; then
13929 # An in-tree tool is available and we can use it
13930 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13932 $as_echo "just compiled
" >&6; }
13933 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13934 # We already found the complete path
13935 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13937 $as_echo "pre-installed
in $ac_dir" >&6; }
13938 elif test "x
$target" = "x
$host"; then
13939 # We can use an host tool
13940 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13942 $as_echo "host tool
" >&6; }
13944 # We need a cross tool
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13946 $as_echo "pre-installed
" >&6; }
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13951 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13952 if test "x
${build}" != "x
${host}" ; then
13953 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13954 # We already found the complete path
13955 ac_dir=`dirname $GOC_FOR_TARGET`
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13957 $as_echo "pre-installed
in $ac_dir" >&6; }
13959 # Canadian cross, just use what we found
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13961 $as_echo "pre-installed
" >&6; }
13965 case " ${configdirs} " in
13969 case ,${enable_languages}, in
13973 if test $ok = yes; then
13974 # An in-tree tool is available and we can use it
13975 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13977 $as_echo "just compiled
" >&6; }
13978 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13979 # We already found the complete path
13980 ac_dir=`dirname $GOC_FOR_TARGET`
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13982 $as_echo "pre-installed
in $ac_dir" >&6; }
13983 elif test "x
$target" = "x
$host"; then
13984 # We can use an host tool
13985 GOC_FOR_TARGET='$(GOC)'
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13987 $as_echo "host tool
" >&6; }
13989 # We need a cross tool
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13991 $as_echo "pre-installed
" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13996 $as_echo_n "checking where to
find the target ld...
" >&6; }
13997 if test "x
${build}" != "x
${host}" ; then
13998 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13999 # We already found the complete path
14000 ac_dir=`dirname $LD_FOR_TARGET`
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14002 $as_echo "pre-installed
in $ac_dir" >&6; }
14004 # Canadian cross, just use what we found
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14006 $as_echo "pre-installed
" >&6; }
14010 case " ${configdirs} " in
14015 if test $ok = yes; then
14016 # An in-tree tool is available and we can use it
14017 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14019 $as_echo "just compiled
" >&6; }
14020 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14021 # We already found the complete path
14022 ac_dir=`dirname $LD_FOR_TARGET`
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14024 $as_echo "pre-installed
in $ac_dir" >&6; }
14025 elif test "x
$target" = "x
$host"; then
14026 # We can use an host tool
14027 LD_FOR_TARGET='$(LD)'
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14029 $as_echo "host tool
" >&6; }
14031 # We need a cross tool
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14033 $as_echo "pre-installed
" >&6; }
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14038 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14039 if test "x
${build}" != "x
${host}" ; then
14040 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14041 # We already found the complete path
14042 ac_dir=`dirname $LIPO_FOR_TARGET`
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14044 $as_echo "pre-installed
in $ac_dir" >&6; }
14046 # Canadian cross, just use what we found
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14048 $as_echo "pre-installed
" >&6; }
14051 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14052 # We already found the complete path
14053 ac_dir=`dirname $LIPO_FOR_TARGET`
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14055 $as_echo "pre-installed
in $ac_dir" >&6; }
14056 elif test "x
$target" = "x
$host"; then
14057 # We can use an host tool
14058 LIPO_FOR_TARGET='$(LIPO)'
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14060 $as_echo "host tool
" >&6; }
14062 # We need a cross tool
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14064 $as_echo "pre-installed
" >&6; }
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14069 $as_echo_n "checking where to
find the target nm...
" >&6; }
14070 if test "x
${build}" != "x
${host}" ; then
14071 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14072 # We already found the complete path
14073 ac_dir=`dirname $NM_FOR_TARGET`
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14075 $as_echo "pre-installed
in $ac_dir" >&6; }
14077 # Canadian cross, just use what we found
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14079 $as_echo "pre-installed
" >&6; }
14083 case " ${configdirs} " in
14088 if test $ok = yes; then
14089 # An in-tree tool is available and we can use it
14090 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14092 $as_echo "just compiled
" >&6; }
14093 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14094 # We already found the complete path
14095 ac_dir=`dirname $NM_FOR_TARGET`
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14097 $as_echo "pre-installed
in $ac_dir" >&6; }
14098 elif test "x
$target" = "x
$host"; then
14099 # We can use an host tool
14100 NM_FOR_TARGET='$(NM)'
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14102 $as_echo "host tool
" >&6; }
14104 # We need a cross tool
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14106 $as_echo "pre-installed
" >&6; }
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14111 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14112 if test "x
${build}" != "x
${host}" ; then
14113 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14114 # We already found the complete path
14115 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14117 $as_echo "pre-installed
in $ac_dir" >&6; }
14119 # Canadian cross, just use what we found
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14121 $as_echo "pre-installed
" >&6; }
14125 case " ${configdirs} " in
14130 if test $ok = yes; then
14131 # An in-tree tool is available and we can use it
14132 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14134 $as_echo "just compiled
" >&6; }
14135 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14136 # We already found the complete path
14137 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14139 $as_echo "pre-installed
in $ac_dir" >&6; }
14140 elif test "x
$target" = "x
$host"; then
14141 # We can use an host tool
14142 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14144 $as_echo "host tool
" >&6; }
14146 # We need a cross tool
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14148 $as_echo "pre-installed
" >&6; }
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14153 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14154 if test "x
${build}" != "x
${host}" ; then
14155 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14156 # We already found the complete path
14157 ac_dir=`dirname $RANLIB_FOR_TARGET`
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14159 $as_echo "pre-installed
in $ac_dir" >&6; }
14161 # Canadian cross, just use what we found
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14163 $as_echo "pre-installed
" >&6; }
14167 case " ${configdirs} " in
14172 if test $ok = yes; then
14173 # An in-tree tool is available and we can use it
14174 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14176 $as_echo "just compiled
" >&6; }
14177 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14178 # We already found the complete path
14179 ac_dir=`dirname $RANLIB_FOR_TARGET`
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14181 $as_echo "pre-installed
in $ac_dir" >&6; }
14182 elif test "x
$target" = "x
$host"; then
14183 # We can use an host tool
14184 RANLIB_FOR_TARGET='$(RANLIB)'
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14186 $as_echo "host tool
" >&6; }
14188 # We need a cross tool
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14190 $as_echo "pre-installed
" >&6; }
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14195 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14196 if test "x
${build}" != "x
${host}" ; then
14197 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14198 # We already found the complete path
14199 ac_dir=`dirname $READELF_FOR_TARGET`
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14201 $as_echo "pre-installed
in $ac_dir" >&6; }
14203 # Canadian cross, just use what we found
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14205 $as_echo "pre-installed
" >&6; }
14209 case " ${configdirs} " in
14214 if test $ok = yes; then
14215 # An in-tree tool is available and we can use it
14216 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14218 $as_echo "just compiled
" >&6; }
14219 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14220 # We already found the complete path
14221 ac_dir=`dirname $READELF_FOR_TARGET`
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14223 $as_echo "pre-installed
in $ac_dir" >&6; }
14224 elif test "x
$target" = "x
$host"; then
14225 # We can use an host tool
14226 READELF_FOR_TARGET='$(READELF)'
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14228 $as_echo "host tool
" >&6; }
14230 # We need a cross tool
14231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14232 $as_echo "pre-installed
" >&6; }
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14237 $as_echo_n "checking where to
find the target strip...
" >&6; }
14238 if test "x
${build}" != "x
${host}" ; then
14239 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14240 # We already found the complete path
14241 ac_dir=`dirname $STRIP_FOR_TARGET`
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14243 $as_echo "pre-installed
in $ac_dir" >&6; }
14245 # Canadian cross, just use what we found
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14247 $as_echo "pre-installed
" >&6; }
14251 case " ${configdirs} " in
14256 if test $ok = yes; then
14257 # An in-tree tool is available and we can use it
14258 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14260 $as_echo "just compiled
" >&6; }
14261 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14262 # We already found the complete path
14263 ac_dir=`dirname $STRIP_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14265 $as_echo "pre-installed
in $ac_dir" >&6; }
14266 elif test "x
$target" = "x
$host"; then
14267 # We can use an host tool
14268 STRIP_FOR_TARGET='$(STRIP)'
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14270 $as_echo "host tool
" >&6; }
14272 # We need a cross tool
14273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14274 $as_echo "pre-installed
" >&6; }
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14279 $as_echo_n "checking where to
find the target windres...
" >&6; }
14280 if test "x
${build}" != "x
${host}" ; then
14281 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14282 # We already found the complete path
14283 ac_dir=`dirname $WINDRES_FOR_TARGET`
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14285 $as_echo "pre-installed
in $ac_dir" >&6; }
14287 # Canadian cross, just use what we found
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14293 case " ${configdirs} " in
14298 if test $ok = yes; then
14299 # An in-tree tool is available and we can use it
14300 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14302 $as_echo "just compiled
" >&6; }
14303 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14304 # We already found the complete path
14305 ac_dir=`dirname $WINDRES_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14307 $as_echo "pre-installed
in $ac_dir" >&6; }
14308 elif test "x
$target" = "x
$host"; then
14309 # We can use an host tool
14310 WINDRES_FOR_TARGET='$(WINDRES)'
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14312 $as_echo "host tool
" >&6; }
14314 # We need a cross tool
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14316 $as_echo "pre-installed
" >&6; }
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14321 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14322 if test "x
${build}" != "x
${host}" ; then
14323 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14324 # We already found the complete path
14325 ac_dir=`dirname $WINDMC_FOR_TARGET`
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14327 $as_echo "pre-installed
in $ac_dir" >&6; }
14329 # Canadian cross, just use what we found
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 case " ${configdirs} " in
14340 if test $ok = yes; then
14341 # An in-tree tool is available and we can use it
14342 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14344 $as_echo "just compiled
" >&6; }
14345 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14346 # We already found the complete path
14347 ac_dir=`dirname $WINDMC_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14349 $as_echo "pre-installed
in $ac_dir" >&6; }
14350 elif test "x
$target" = "x
$host"; then
14351 # We can use an host tool
14352 WINDMC_FOR_TARGET='$(WINDMC)'
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14354 $as_echo "host tool
" >&6; }
14356 # We need a cross tool
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14358 $as_echo "pre-installed
" >&6; }
14366 # Certain tools may need extra flags.
14367 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14368 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14369 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14371 # When building target libraries, except in a Canadian cross, we use
14372 # the same toolchain as the compiler we just built.
14373 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14374 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14375 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14376 if test $host = $build; then
14377 case " $configdirs " in
14379 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14380 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14381 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14391 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14392 # Check whether --enable-maintainer-mode was given.
14393 if test "${enable_maintainer_mode+set}" = set; then :
14394 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14396 USE_MAINTAINER_MODE=no
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14400 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14403 if test "$USE_MAINTAINER_MODE" = yes; then
14404 MAINTAINER_MODE_TRUE=
14405 MAINTAINER_MODE_FALSE='#'
14407 MAINTAINER_MODE_TRUE='#'
14408 MAINTAINER_MODE_FALSE=
14410 MAINT=$MAINTAINER_MODE_TRUE
14412 # ---------------------
14413 # GCC bootstrap support
14414 # ---------------------
14416 # Stage specific cflags for build.
14421 yes) stage1_cflags="-g -Wa,-J" ;;
14422 *) stage1_cflags="-g -J" ;;
14428 # Enable --enable-checking in stage1 of the compiler.
14429 # Check whether --enable-stage1-checking was given.
14430 if test "${enable_stage1_checking+set}" = set; then :
14431 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14433 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14434 stage1_checking=--enable-checking=yes,types
14436 stage1_checking=--enable-checking=$enable_checking,types
14442 # Enable -Werror in bootstrap stage2 and later.
14443 # Check whether --enable-werror was given.
14444 if test "${enable_werror+set}" = set; then :
14445 enableval=$enable_werror;
14447 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14454 case ${enable_werror} in
14455 yes) stage2_werror_flag="--enable-werror-always" ;;
14456 *) stage2_werror_flag="" ;;
14460 # Enable --enable-host-shared.
14461 # Check whether --enable-host-shared was given.
14462 if test "${enable_host_shared+set}" = set; then :
14463 enableval=$enable_host_shared; host_shared=$enableval
14470 # Specify what files to not compare during bootstrap.
14472 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14474 hppa*64*-*-hpux*) ;;
14475 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14476 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14480 ac_config_files="$ac_config_files Makefile
"
14482 cat >confcache <<\_ACEOF
14483 # This file is a shell script that caches the results of configure
14484 # tests run on this system so they can be shared between configure
14485 # scripts and configure runs, see configure's option --config-cache.
14486 # It is not useful on other systems. If it contains results you don't
14487 # want to keep, you may remove or edit it.
14489 # config.status only pays attention to the cache file if you give it
14490 # the --recheck option to rerun configure.
14492 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14493 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14494 # following values.
14498 # The following way of writing the cache mishandles newlines in values,
14499 # but we know of no workaround that is simple, portable, and efficient.
14500 # So, we kill variables containing newlines.
14501 # Ultrix sh set writes to stderr and can't be redirected directly,
14502 # and sets the high bit in the cache file unless we assign to the vars.
14504 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14505 eval ac_val=\$$ac_var
14509 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14510 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14513 _ | IFS | as_nl) ;; #(
14514 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14515 *) { eval $ac_var=; unset $ac_var;} ;;
14521 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14522 *${as_nl}ac_space=\ *)
14523 # `set' does not quote correctly, so add quotes: double-quote
14524 # substitution turns \\\\ into \\, and sed turns \\ into \.
14527 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14530 # `set' quotes correctly as required by POSIX, so do not add quotes.
14531 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14540 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14542 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14544 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14545 if test -w "$cache_file"; then
14546 test "x
$cache_file" != "x
/dev
/null
" &&
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14548 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14549 cat confcache >$cache_file
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14552 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14557 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14558 # Let make expand exec_prefix.
14559 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14561 # Transform confdefs.h into DEFS.
14562 # Protect against shell expansion while executing Makefile rules.
14563 # Protect against Makefile macro expansion.
14565 # If the first sed substitution is executed (which looks for macros that
14566 # take arguments), then branch to the quote section. Otherwise,
14567 # look for a macro that doesn't take arguments.
14577 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14579 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14583 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14596 DEFS=`sed -n "$ac_script" confdefs.h`
14601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14602 # 1. Remove the extension, and $U if already installed.
14603 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14604 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14606 # will be set to the directory where LIBOBJS objects are built.
14607 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14608 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14610 LIBOBJS=$ac_libobjs
14612 LTLIBOBJS=$ac_ltlibobjs
14616 : ${CONFIG_STATUS=./config.status}
14618 ac_clean_files_save=$ac_clean_files
14619 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14621 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14623 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14625 # Generated by $as_me.
14626 # Run this file to recreate the current configuration.
14627 # Compiler output produced by configure, useful for debugging
14628 # configure, is in config.log if it exists.
14631 ac_cs_recheck=false
14634 SHELL=\${CONFIG_SHELL-$SHELL}
14637 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14638 ## -------------------- ##
14639 ## M4sh Initialization. ##
14640 ## -------------------- ##
14642 # Be more Bourne compatible
14643 DUALCASE=1; export DUALCASE # for MKS sh
14644 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14647 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14648 # is contrary to our usage. Disable this feature.
14649 alias -g '${1+"$@"}'='"$@"'
14650 setopt NO_GLOB_SUBST
14652 case `(set -o) 2>/dev/null` in #(
14664 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14665 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14666 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14667 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14668 # Prefer a ksh shell builtin over an external printf program on Solaris,
14669 # but without wasting forks for bash or zsh.
14670 if test -z "$BASH_VERSION$ZSH_VERSION" \
14671 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14672 as_echo
='print -r --'
14673 as_echo_n
='print -rn --'
14674 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14675 as_echo
='printf %s\n'
14676 as_echo_n
='printf %s'
14678 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14679 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14680 as_echo_n
='/usr/ucb/echo -n'
14682 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14683 as_echo_n_body
='eval
14687 expr "X$arg" : "X\\(.*\\)$as_nl";
14688 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14690 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14692 export as_echo_n_body
14693 as_echo_n
='sh -c $as_echo_n_body as_echo'
14695 export as_echo_body
14696 as_echo
='sh -c $as_echo_body as_echo'
14699 # The user is always right.
14700 if test "${PATH_SEPARATOR+set}" != set; then
14702 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14703 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14710 # We need space, tab and new line, in precisely that order. Quoting is
14711 # there to prevent editors from complaining about space-tab.
14712 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14713 # splitting by setting IFS to empty value.)
14716 # Find who we are. Look in the path if we contain no directory separator.
14718 *[\\/]* ) as_myself
=$0 ;;
14719 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14720 for as_dir
in $PATH
14723 test -z "$as_dir" && as_dir
=.
14724 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14730 # We did not find ourselves, most probably we were run as `sh COMMAND'
14731 # in which case we are not to be found in the path.
14732 if test "x$as_myself" = x
; then
14735 if test ! -f "$as_myself"; then
14736 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14740 # Unset variables that we do not need and which cause bugs (e.g. in
14741 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14742 # suppresses any "Segmentation fault" message there. '((' could
14743 # trigger a bug in pdksh 5.2.14.
14744 for as_var
in BASH_ENV ENV MAIL MAILPATH
14745 do eval test x\
${$as_var+set} = xset \
14746 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14759 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14762 # as_fn_error ERROR [LINENO LOG_FD]
14763 # ---------------------------------
14764 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14765 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14766 # script with status $?, using 1 if that was 0.
14769 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14771 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14772 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14774 $as_echo "$as_me: error: $1" >&2
14775 as_fn_exit
$as_status
14779 # as_fn_set_status STATUS
14780 # -----------------------
14781 # Set $? to STATUS, without forking.
14782 as_fn_set_status
()
14785 } # as_fn_set_status
14787 # as_fn_exit STATUS
14788 # -----------------
14789 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14793 as_fn_set_status
$1
14799 # Portably unset VAR.
14802 { eval $1=; unset $1;}
14804 as_unset
=as_fn_unset
14805 # as_fn_append VAR VALUE
14806 # ----------------------
14807 # Append the text in VALUE to the end of the definition contained in VAR. Take
14808 # advantage of any shell optimizations that allow amortized linear growth over
14809 # repeated appends, instead of the typical quadratic growth present in naive
14811 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14812 eval 'as_fn_append ()
14823 # as_fn_arith ARG...
14824 # ------------------
14825 # Perform arithmetic evaluation on the ARGs, and store the result in the
14826 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14827 # must be portable across $(()) and expr.
14828 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14829 eval 'as_fn_arith ()
14836 as_val
=`expr "$@" || test $? -eq 1`
14841 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14842 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14848 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14849 as_basename
=basename
14854 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14860 as_me
=`$as_basename -- "$0" ||
14861 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14862 X"$0" : 'X\(//\)$' \| \
14863 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14865 sed '/^.*\/\([^/][^/]*\)\/*$/{
14879 # Avoid depending upon Character Ranges.
14880 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14881 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14882 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14883 as_cr_digits
='0123456789'
14884 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14886 ECHO_C
= ECHO_N
= ECHO_T
=
14887 case `echo -n x` in #(((((
14889 case `echo 'xy\c'` in
14890 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14892 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14899 rm -f conf$$ conf$$.exe conf$$.
file
14900 if test -d conf$$.dir
; then
14901 rm -f conf$$.dir
/conf$$.
file
14904 mkdir conf$$.dir
2>/dev
/null
14906 if (echo >conf$$.
file) 2>/dev
/null
; then
14907 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14909 # ... but there are two gotchas:
14910 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14911 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14912 # In both cases, we have to default to `cp -p'.
14913 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14915 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14923 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14924 rmdir conf$$.dir
2>/dev
/null
14929 # Create "$as_dir" as a directory, including parents if necessary.
14934 -*) as_dir
=.
/$as_dir;;
14936 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14940 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14941 *) as_qdir
=$as_dir;;
14943 as_dirs
="'$as_qdir' $as_dirs"
14944 as_dir
=`$as_dirname -- "$as_dir" ||
14945 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14946 X"$as_dir" : 'X\(//\)[^/]' \| \
14947 X"$as_dir" : 'X\(//\)$' \| \
14948 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14949 $as_echo X"$as_dir" |
14950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14954 /^X\(\/\/\)[^/].*/{
14967 test -d "$as_dir" && break
14969 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14970 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14974 if mkdir
-p .
2>/dev
/null
; then
14975 as_mkdir_p
='mkdir -p "$as_dir"'
14977 test -d .
/-p && rmdir .
/-p
14981 if test -x / >/dev
/null
2>&1; then
14982 as_test_x
='test -x'
14984 if ls -dL / >/dev
/null
2>&1; then
14991 if test -d "$1"; then
14997 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14998 ???[sx]*):;;*)false;;esac;fi
15002 as_executable_p
=$as_test_x
15004 # Sed expression to map a string onto a valid CPP name.
15005 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15007 # Sed expression to map a string onto a valid variable name.
15008 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15012 ## ----------------------------------- ##
15013 ## Main body of $CONFIG_STATUS script. ##
15014 ## ----------------------------------- ##
15016 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15019 # Save the log message, to keep $0 and so on meaningful, and to
15020 # report actual input values of CONFIG_FILES etc. instead of their
15021 # values after options handling.
15023 This file was extended by $as_me, which was
15024 generated by GNU Autoconf 2.64. Invocation command line was
15026 CONFIG_FILES = $CONFIG_FILES
15027 CONFIG_HEADERS = $CONFIG_HEADERS
15028 CONFIG_LINKS = $CONFIG_LINKS
15029 CONFIG_COMMANDS = $CONFIG_COMMANDS
15032 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15037 case $ac_config_files in *"
15038 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15044 # Files that config.status was made for.
15045 config_files="$ac_config_files"
15049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15051 \`$as_me' instantiates files and other configuration actions
15052 from templates according to the current configuration. Unless the files
15053 and actions are specified as TAGs, all are instantiated by default.
15055 Usage: $0 [OPTION]... [TAG]...
15057 -h, --help print this help, then exit
15058 -V, --version print version number and configuration settings, then exit
15059 -q, --quiet, --silent
15060 do not print progress messages
15061 -d, --debug don't remove temporary files
15062 --recheck update $as_me by reconfiguring in the same conditions
15063 --file=FILE[:TEMPLATE]
15064 instantiate the configuration file FILE
15066 Configuration files:
15069 Report bugs to the package provider."
15072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15075 configured by $0, generated by GNU Autoconf 2.64,
15076 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15078 Copyright (C) 2009 Free Software Foundation, Inc.
15079 This config.status script is free software; the Free Software Foundation
15080 gives unlimited permission to copy, distribute and modify it."
15086 test -n "\$AWK" || AWK=awk
15089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15090 # The default lists apply if the user does not specify any file.
15096 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15097 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15108 # Handling of the options.
15109 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15111 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15112 $as_echo "$ac_cs_version"; exit ;;
15113 --debug |
--debu |
--deb |
--de |
--d |
-d )
15115 --file |
--fil |
--fi |
--f )
15118 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15120 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15121 ac_need_defaults
=false
;;
15122 --he |
--h |
--help |
--hel |
-h )
15123 $as_echo "$ac_cs_usage"; exit ;;
15124 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15125 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15128 # This is an error.
15129 -*) as_fn_error
"unrecognized option: \`$1'
15130 Try \`$0 --help' for more information." ;;
15132 *) as_fn_append ac_config_targets
" $1"
15133 ac_need_defaults
=false
;;
15139 ac_configure_extra_args
=
15141 if $ac_cs_silent; then
15143 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15148 if \$ac_cs_recheck; then
15149 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15151 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15152 CONFIG_SHELL='$SHELL'
15153 export CONFIG_SHELL
15158 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15162 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15163 ## Running $as_me. ##
15169 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15173 extrasub_build="$extrasub_build"
15174 extrasub_host="$extrasub_host"
15175 extrasub_target="$extrasub_target"
15179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15181 # Handling of arguments.
15182 for ac_config_target
in $ac_config_targets
15184 case $ac_config_target in
15185 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15187 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15192 # If the user did not use the arguments to specify the items to instantiate,
15193 # then the envvar interface is used. Set only those that are not.
15194 # We use the long form for the default assignment because of an extremely
15195 # bizarre bug on SunOS 4.1.3.
15196 if $ac_need_defaults; then
15197 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15200 # Have a temporary directory for convenience. Make it in the build tree
15201 # simply because there is no reason against having it here, and in addition,
15202 # creating and moving files from /tmp can sometimes cause problems.
15203 # Hook for its removal unless debugging.
15204 # Note that there is a small window in which the directory will not be cleaned:
15205 # after its creation but before its name has been assigned to `$tmp'.
15209 trap 'exit_status=$?
15210 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15212 trap 'as_fn_exit 1' 1 2 13 15
15214 # Create a (secure) tmp directory for tmp files.
15217 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15218 test -n "$tmp" && test -d "$tmp"
15221 tmp
=.
/conf$$
-$RANDOM
15222 (umask 077 && mkdir
"$tmp")
15223 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15225 # Set up the scripts for CONFIG_FILES section.
15226 # No need to generate them if there are no CONFIG_FILES.
15227 # This happens for instance with `./config.status config.h'.
15228 if test -n "$CONFIG_FILES"; then
15230 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15231 ac_cs_awk_getline
=:
15232 ac_cs_awk_pipe_init
=
15233 ac_cs_awk_read_file
='
15234 while ((getline aline < (F[key])) > 0)
15237 ac_cs_awk_pipe_fini
=
15239 ac_cs_awk_getline
=false
15240 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15241 ac_cs_awk_read_file
='
15243 print "cat " F[key] " &&"
15244 '$ac_cs_awk_pipe_init
15245 # The final `:' finishes the AND list.
15246 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15248 ac_cr
=`echo X | tr X '\015'`
15249 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15250 # But we know of no other shell where ac_cr would be empty at this
15251 # point, so we can use a bashism as a fallback.
15252 if test "x$ac_cr" = x
; then
15253 eval ac_cr
=\$
\'\\r
\'
15255 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15256 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15259 ac_cs_awk_cr
=$ac_cr
15262 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15265 # Create commands to substitute file output variables.
15267 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15268 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15269 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15272 } >conf$
$files.sh
&&
15273 . .
/conf$
$files.sh ||
15274 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15275 rm -f conf$
$files.sh
15278 echo "cat >conf$$subs.awk <<_ACEOF" &&
15279 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15281 } >conf$$subs.sh ||
15282 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15283 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15285 for ac_last_try in false false false false false :; do
15286 . ./conf$$subs.sh ||
15287 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15289 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15290 if test $ac_delim_n = $ac_delim_num; then
15292 elif $ac_last_try; then
15293 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15295 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15298 rm -f conf$$subs.sh
15300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15301 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15305 s/^/S["/; s
/!.
*/"]=/
15315 s/\(.\{148\}\).*/\1/
15317 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15322 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15329 s/\(.\{148\}\).*/\1/
15331 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15335 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15340 ' <conf$$subs.awk | sed '
15345 ' >>$CONFIG_STATUS || ac_write_fail=1
15346 rm -f conf$$subs.awk
15347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15349 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15350 for (key in S) S_is_set[key] = 1
15352 \$ac_cs_awk_pipe_init
15356 nfields = split(line, field, "@
")
15358 len = length(field[1])
15359 for (i = 2; i < nfields; i++) {
15361 keylen = length(key)
15362 if (S_is_set[key]) {
15364 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15365 len += length(value) + length(field[++i])
15370 if (nfields == 3 && !substed) {
15372 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15373 \$ac_cs_awk_read_file
15379 \$ac_cs_awk_pipe_fini
15382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15383 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15384 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15387 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15388 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15391 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15392 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15393 # trailing colons and then remove the whole line if VPATH becomes empty
15394 # (actually we leave an empty line to preserve line numbers).
15395 if test "x
$srcdir" = x.; then
15396 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15397 s/:*\$(srcdir):*/:/
15398 s/:*\${srcdir}:*/:/
15400 s/^\([^=]*=[ ]*\):*/\1/
15406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15407 fi # test -n "$CONFIG_FILES"
15410 eval set X " :F
$CONFIG_FILES "
15415 :[FHLC]) ac_mode=$ac_tag; continue;;
15417 case $ac_mode$ac_tag in
15419 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15420 :[FH]-) ac_tag=-:-;;
15421 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15438 -) ac_f="$tmp/stdin";;
15439 *) # Look for the file first in the build tree, then in the source tree
15440 # (if the path is not absolute). The absolute path cannot be DOS-style,
15441 # because $ac_f cannot contain `:'.
15445 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15447 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15449 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15450 as_fn_append ac_file_inputs " '$ac_f'"
15453 # Let's still pretend it is `configure' which instantiates (i.e., don't
15454 # use $as_me), people would be surprised to read:
15455 # /* config.h. Generated by config.status. */
15456 configure_input='Generated from '`
15457 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15459 if test x"$ac_file" != x-; then
15460 configure_input="$ac_file.
$configure_input"
15461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15462 $as_echo "$as_me: creating
$ac_file" >&6;}
15464 # Neutralize special characters interpreted by sed in replacement strings.
15465 case $configure_input in #(
15466 *\&* | *\|* | *\\* )
15467 ac_sed_conf_input=`$as_echo "$configure_input" |
15468 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15469 *) ac_sed_conf_input=$configure_input;;
15473 *:-:* | *:-) cat >"$tmp/stdin
" \
15474 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15479 ac_dir=`$as_dirname -- "$ac_file" ||
15480 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15481 X"$ac_file" : 'X\(//\)[^/]' \| \
15482 X"$ac_file" : 'X\(//\)$' \| \
15483 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15484 $as_echo X"$ac_file" |
15485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15489 /^X\(\/\/\)[^/].*/{
15502 as_dir="$ac_dir"; as_fn_mkdir_p
15506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15508 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15509 # A "..
" for each directory in $ac_dir_suffix.
15510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15511 case $ac_top_builddir_sub in
15512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15516 ac_abs_top_builddir=$ac_pwd
15517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15518 # for backward compatibility:
15519 ac_top_builddir=$ac_top_build_prefix
15522 .) # We are building in place.
15524 ac_top_srcdir=$ac_top_builddir_sub
15525 ac_abs_top_srcdir=$ac_pwd ;;
15526 [\\/]* | ?:[\\/]* ) # Absolute name.
15527 ac_srcdir=$srcdir$ac_dir_suffix;
15528 ac_top_srcdir=$srcdir
15529 ac_abs_top_srcdir=$srcdir ;;
15530 *) # Relative name.
15531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15532 ac_top_srcdir=$ac_top_build_prefix$srcdir
15533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15545 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15546 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15551 # If the template does not know about datarootdir, expand it.
15552 # FIXME: This hack should be removed a few years after 2.60.
15553 ac_datarootdir_hack=; ac_datarootdir_seen=
15564 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15565 *datarootdir*) ac_datarootdir_seen=yes;;
15566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15568 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15571 ac_datarootdir_hack='
15572 s&@datadir@&$datadir&g
15573 s&@docdir@&$docdir&g
15574 s&@infodir@&$infodir&g
15575 s&@localedir@&$localedir&g
15576 s&@mandir@&$mandir&g
15577 s&\\\${datarootdir}&$datarootdir&g' ;;
15581 # Neutralize VPATH when `$srcdir' = `.'.
15582 # Shell code in configure.ac might set extrasub.
15583 # FIXME: do we really want to maintain this feature?
15584 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15585 ac_sed_extra="$ac_vpsub
15588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15590 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15591 s|@configure_input@|
$ac_sed_conf_input|
;t t
15592 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15593 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15594 s
&@srcdir@
&$ac_srcdir&;t t
15595 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15596 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15597 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15598 s
&@builddir@
&$ac_builddir&;t t
15599 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15600 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15601 s
&@INSTALL@
&$ac_INSTALL&;t t
15602 $ac_datarootdir_hack
15604 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15605 if $ac_cs_awk_getline; then
15606 $AWK -f "$tmp/subs.
awk"
15608 $AWK -f "$tmp/subs.
awk" | $SHELL
15610 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15612 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15613 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15614 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15616 which seems to be undefined. Please make sure it is defined." >&5
15617 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15618 which seems to be undefined. Please make sure it is defined." >&2;}
15622 -) cat "$tmp/out" && rm -f "$tmp/out";;
15623 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15625 || as_fn_error "could not create $ac_file" "$LINENO" 5
15633 case $ac_file$ac_mode in
15634 "Makefile":F) sed "$extrasub_build" Makefile |
15635 sed "$extrasub_host" |
15636 sed "$extrasub_target" > mf$$
15637 mv -f mf$$ Makefile ;;
15645 ac_clean_files=$ac_clean_files_save
15647 test $ac_write_fail = 0 ||
15648 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15651 # configure is writing to config.log, and then calls config.status.
15652 # config.status does its own redirection, appending to config.log.
15653 # Unfortunately, on DOS this fails, as config.log is still kept open
15654 # by configure, so config.status won't be able to
write to it
; its
15655 # output is simply discarded. So we exec the FD to /dev/null,
15656 # effectively closing config.log, so it can be properly (re)opened and
15657 # appended to by config.status. When coming back to configure, we
15658 # need to make the FD available again.
15659 if test "$no_create" != yes; then
15661 ac_config_status_args
=
15662 test "$silent" = yes &&
15663 ac_config_status_args
="$ac_config_status_args --quiet"
15665 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15667 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15668 # would make configure fail if this is the last instruction.
15669 $ac_cs_success || as_fn_exit $?
15671 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15673 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}