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
646 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
703 TOPLEVEL_CONFIGURE_ARGUMENTS
731 program_transform_name
742 ac_subst_files
='serialization_dependencies
748 enable_option_checking
750 enable_offload_targets
754 enable_libquadmath_support
758 enable_static_libjava
780 enable_isl_version_check
783 enable_cloog_version_check
785 enable_linker_plugin_configure_flags
786 enable_linker_plugin_flags
787 enable_stage1_languages
790 with_debug_prefix_map
793 enable_serial_configure
794 with_build_time_tools
795 enable_maintainer_mode
796 enable_stage1_checking
800 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1374 as_fn_error
"path to source, $srcdir, contains spaces"
1377 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1379 for ac_var
in $ac_precious_vars; do
1380 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1382 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1387 # Report the --help message.
1389 if test "$ac_init_help" = "long"; then
1390 # Omit some internal or obsolete options to make the list less imposing.
1391 # This message is too long to be a string in the A/UX 3.1 sh.
1393 \`configure' configures this package to adapt to many kinds of systems.
1395 Usage: $0 [OPTION]... [VAR=VALUE]...
1397 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1398 VAR=VALUE. See below for descriptions of some of the useful variables.
1400 Defaults for the options are specified in brackets.
1403 -h, --help display this help and exit
1404 --help=short display options specific to this package
1405 --help=recursive display the short help of all the included packages
1406 -V, --version display version information and exit
1407 -q, --quiet, --silent do not print \`checking...' messages
1408 --cache-file=FILE cache test results in FILE [disabled]
1409 -C, --config-cache alias for \`--cache-file=config.cache'
1410 -n, --no-create do not create output files
1411 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1413 Installation directories:
1414 --prefix=PREFIX install architecture-independent files in PREFIX
1415 [$ac_default_prefix]
1416 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1419 By default, \`make install' will install all the files in
1420 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1421 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1422 for instance \`--prefix=\$HOME'.
1424 For better control, use the options below.
1426 Fine tuning of the installation directories:
1427 --bindir=DIR user executables [EPREFIX/bin]
1428 --sbindir=DIR system admin executables [EPREFIX/sbin]
1429 --libexecdir=DIR program executables [EPREFIX/libexec]
1430 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1431 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1432 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1433 --libdir=DIR object code libraries [EPREFIX/lib]
1434 --includedir=DIR C header files [PREFIX/include]
1435 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1436 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1437 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1438 --infodir=DIR info documentation [DATAROOTDIR/info]
1439 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1440 --mandir=DIR man documentation [DATAROOTDIR/man]
1441 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1442 --htmldir=DIR html documentation [DOCDIR]
1443 --dvidir=DIR dvi documentation [DOCDIR]
1444 --pdfdir=DIR pdf documentation [DOCDIR]
1445 --psdir=DIR ps documentation [DOCDIR]
1451 --program-prefix=PREFIX prepend PREFIX to installed program names
1452 --program-suffix=SUFFIX append SUFFIX to installed program names
1453 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1456 --build=BUILD configure
for building on BUILD
[guessed
]
1457 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1458 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-offload-targets=LIST
1471 enable offloading to devices from LIST
1472 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1473 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1474 --disable-libquadmath do not build libquadmath directory
1475 --disable-libquadmath-support
1476 disable libquadmath support
for Fortran
1477 --enable-libada build libada directory
1478 --enable-libssp build libssp directory
1479 --disable-libstdcxx do not build libstdc
++-v3 directory
1480 --enable-static-libjava[=ARG
]
1481 build static libjava
[default
=no
]
1482 --enable-bootstrap enable bootstrapping
[yes if native build
]
1483 --disable-isl-version-check
1484 disable check
for ISL version
1485 --disable-cloog-version-check
1486 disable check
for CLooG version
1487 --enable-lto enable link
time optimization support
1488 --enable-linker-plugin-configure-flags=FLAGS
1489 additional flags
for configuring linker plugins
1491 --enable-linker-plugin-flags=FLAGS
1492 additional flags
for configuring and building linker
1494 --enable-stage1-languages[=all
]
1495 choose additional languages to build during stage1.
1496 Mostly useful
for compiler development
1497 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1499 --enable-vtable-verify Enable vtable verification feature
1500 --enable-serial-[{host,target,build}-]configure
1501 force sequential configuration of sub-packages for
1502 the host, target or build machine, or all
1504 --enable-maintainer-mode
1505 enable make rules and dependencies not useful (and
1506 sometimes confusing) to the casual installer
1507 --enable-stage1-checking[=all]
1508 choose additional checking for stage1 of the
1510 --enable-werror enable -Werror in bootstrap stage2 and later
1511 --enable-host-shared build host code as shared libraries
1514 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1515 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1516 --with-build-libsubdir=DIR Directory where to find libraries for build system
1517 --with-mpc=PATH specify prefix directory for installed MPC package.
1518 Equivalent to --with-mpc-include=PATH/include plus
1519 --with-mpc-lib=PATH/lib
1520 --with-mpc-include=PATH specify directory for installed MPC include files
1521 --with-mpc-lib=PATH specify directory for the installed MPC library
1522 --with-mpfr-dir=PATH this option has been REMOVED
1523 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1524 Equivalent to --with-mpfr-include=PATH/include plus
1525 --with-mpfr-lib=PATH/lib
1526 --with-mpfr-include=PATH
1527 specify directory for installed MPFR include files
1528 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1529 --with-gmp-dir=PATH this option has been REMOVED
1530 --with-gmp=PATH specify prefix directory for the installed GMP
1531 package. Equivalent to
1532 --with-gmp-include=PATH/include plus
1533 --with-gmp-lib=PATH/lib
1534 --with-gmp-include=PATH specify directory for installed GMP include files
1535 --with-gmp-lib=PATH specify directory for the installed GMP library
1536 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1538 --with-stage1-libs=LIBS libraries for stage1
1539 --with-stage1-ldflags=FLAGS
1540 linker flags for stage1
1541 --with-boot-libs=LIBS libraries for stage2 and later
1542 --with-boot-ldflags=FLAGS
1543 linker flags for stage2 and later
1544 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1545 package. Equivalent to
1546 --with-cloog-include=PATH/include plus
1547 --with-cloog-lib=PATH/lib
1548 --with-isl=PATH Specify prefix directory for the installed ISL
1549 package. Equivalent to
1550 --with-isl-include=PATH/include plus
1551 --with-isl-lib=PATH/lib
1552 --with-isl-include=PATH Specify directory for installed ISL include files
1553 --with-isl-lib=PATH Specify the directory for the installed ISL library
1554 --with-cloog-include=PATH
1555 Specify directory for installed CLooG include files
1556 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1558 --with-build-sysroot=SYSROOT
1559 use sysroot as the system root during the build
1560 --with-debug-prefix-map='A
=B C
=D ...
'
1561 map A to B, C to D ... in debug information
1562 --with-build-config='NAME NAME2...
'
1563 use config/NAME.mk build configuration
1564 --with-build-time-tools=PATH
1565 use given path to find target tools during the build
1567 Some influential environment variables:
1568 CC C compiler command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1571 nonstandard directory <lib dir>
1572 LIBS libraries to pass to the linker, e.g. -l<library>
1573 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1574 you have headers in a nonstandard directory <include dir>
1575 CXX C++ compiler command
1576 CXXFLAGS C++ compiler flags
1578 additional configure arguments for build directories
1580 additional configure arguments for host directories
1582 additional configure arguments for target directories
1585 DLLTOOL DLLTOOL for the host
1587 LIPO LIPO for the host
1589 RANLIB RANLIB for the host
1590 STRIP STRIP for the host
1591 WINDRES WINDRES for the host
1592 WINDMC WINDMC for the host
1593 OBJCOPY OBJCOPY for the host
1594 OBJDUMP OBJDUMP for the host
1595 READELF READELF for the host
1605 GFORTRAN for the target
1613 DLLTOOL for the target
1621 OBJDUMP for the target
1623 RANLIB for the target
1625 READELF for the target
1627 STRIP for the target
1629 WINDRES for the target
1631 WINDMC for the target
1633 Use these variables to override the choices made by `configure' or to
help
1634 it to
find libraries and programs with nonstandard names
/locations.
1636 Report bugs to the package provider.
1641 if test "$ac_init_help" = "recursive"; then
1642 # If there are subdirs, report their specific --help.
1643 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1644 test -d "$ac_dir" ||
1645 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1650 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1652 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653 # A ".." for each directory in $ac_dir_suffix.
1654 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655 case $ac_top_builddir_sub in
1656 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1657 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1660 ac_abs_top_builddir
=$ac_pwd
1661 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir
=$ac_top_build_prefix
1666 .
) # We are building in place.
1668 ac_top_srcdir
=$ac_top_builddir_sub
1669 ac_abs_top_srcdir
=$ac_pwd ;;
1670 [\\/]* | ?
:[\\/]* ) # Absolute name.
1671 ac_srcdir
=$srcdir$ac_dir_suffix;
1672 ac_top_srcdir
=$srcdir
1673 ac_abs_top_srcdir
=$srcdir ;;
1675 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1677 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1679 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1681 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1682 # Check for guested configure.
1683 if test -f "$ac_srcdir/configure.gnu"; then
1685 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686 elif test -f "$ac_srcdir/configure"; then
1688 $SHELL "$ac_srcdir/configure" --help=recursive
1690 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1700 generated by GNU Autoconf
2.64
1702 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1703 This configure
script is free software
; the Free Software Foundation
1704 gives unlimited permission to copy
, distribute and modify it.
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile
()
1718 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1719 rm -f conftest.
$ac_objext
1720 if { { ac_try
="$ac_compile"
1722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_c_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 } # ac_fn_c_try_compile
1751 # ac_fn_cxx_try_compile LINENO
1752 # ----------------------------
1753 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_cxx_try_compile ()
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext
1758 if { { ac_try="$ac_compile"
1760 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1761 *) ac_try_echo
=$ac_try;;
1763 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_compile") 2>conftest.err
1767 if test -s conftest.err
; then
1768 grep -v '^ *+' conftest.err
>conftest.er1
1769 cat conftest.er1
>&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_cxx_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest.
$ac_objext; then :
1779 $as_echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.
$ac_ext >&5
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1787 } # ac_fn_cxx_try_compile
1789 # ac_fn_cxx_try_link LINENO
1790 # -------------------------
1791 # Try to link conftest.$ac_ext, and return whether this succeeded.
1792 ac_fn_cxx_try_link
()
1794 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1795 rm -f conftest.
$ac_objext conftest
$ac_exeext
1796 if { { ac_try
="$ac_link"
1798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_link") 2>conftest.err
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } && {
1812 test -z "$ac_cxx_werror_flag" ||
1813 test ! -s conftest.err
1814 } && test -s conftest$ac_exeext && {
1815 test "$cross_compiling" = yes ||
1816 $as_test_x conftest$ac_exeext
1820 $as_echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1825 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1826 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1827 # interfere with the next link command; also delete a directory that is
1828 # left behind by Apple's compiler. We do this before executing the actions.
1829 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1830 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 } # ac_fn_cxx_try_link
1835 # ac_fn_c_try_link LINENO
1836 # -----------------------
1837 # Try to link conftest.$ac_ext, and return whether this succeeded.
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 rm -f conftest.$ac_objext conftest$ac_exeext
1842 if { { ac_try="$ac_link"
1844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1845 *) ac_try_echo
=$ac_try;;
1847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_link") 2>conftest.err
1851 if test -s conftest.err
; then
1852 grep -v '^ *+' conftest.err
>conftest.er1
1853 cat conftest.er1
>&5
1854 mv -f conftest.er1 conftest.err
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && {
1858 test -z "$ac_c_werror_flag" ||
1859 test ! -s conftest.err
1860 } && test -s conftest
$ac_exeext && {
1861 test "$cross_compiling" = yes ||
1862 $as_test_x conftest
$ac_exeext
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.
$ac_ext >&5
1871 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1872 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1873 # interfere with the next link command; also delete a directory that is
1874 # left behind by Apple's compiler. We do this before executing the actions.
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1879 } # ac_fn_c_try_link
1880 cat >config.log
<<_ACEOF
1881 This file contains any messages produced by compilers while
1882 running configure, to aid debugging if configure makes a mistake.
1884 It was created by $as_me, which was
1885 generated by GNU Autoconf 2.64. Invocation command line was
1897 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1898 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1899 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1900 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1901 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1903 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1904 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1906 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1907 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1908 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1909 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1910 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1911 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1912 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1920 test -z "$as_dir" && as_dir
=.
1921 $as_echo "PATH: $as_dir"
1937 # Keep a trace of the command line.
1938 # Strip out --no-create and --no-recursion so they do not pile up.
1939 # Strip out --silent because we don't want to record it for future runs.
1940 # Also quote any args containing shell meta-characters.
1941 # Make two passes to allow for proper duplicate-argument suppression.
1945 ac_must_keep_next
=false
1951 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1953 |
-silent |
--silent |
--silen |
--sile |
--sil)
1956 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1959 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1961 as_fn_append ac_configure_args1
" '$ac_arg'"
1962 if test $ac_must_keep_next = true
; then
1963 ac_must_keep_next
=false
# Got value, back to normal.
1966 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1967 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1968 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1969 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1970 case "$ac_configure_args0 " in
1971 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1974 -* ) ac_must_keep_next
=true
;;
1977 as_fn_append ac_configure_args
" '$ac_arg'"
1982 { ac_configure_args0
=; unset ac_configure_args0
;}
1983 { ac_configure_args1
=; unset ac_configure_args1
;}
1985 # When interrupted or exit'd, cleanup temporary files, and complete
1986 # config.log. We remove comments because anyway the quotes in there
1987 # would cause problems or look ugly.
1988 # WARNING: Use '\'' to represent an apostrophe within the trap.
1989 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1990 trap 'exit_status=$?
1991 # Save into config.log some information that might help in debugging.
1996 ## ---------------- ##
1997 ## Cache variables. ##
1998 ## ---------------- ##
2001 # The following way of writing the cache mishandles newlines in values,
2003 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2004 eval ac_val=\$$ac_var
2008 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2009 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2012 _ | IFS | as_nl) ;; #(
2013 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2014 *) { eval $ac_var=; unset $ac_var;} ;;
2019 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2020 *${as_nl}ac_space=\ *)
2022 "s/'\''/'\''\\\\'\'''\''/g;
2023 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2026 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2034 ## ----------------- ##
2035 ## Output variables. ##
2036 ## ----------------- ##
2039 for ac_var in $ac_subst_vars
2041 eval ac_val=\$$ac_var
2043 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2045 $as_echo "$ac_var='\''$ac_val'\''"
2049 if test -n "$ac_subst_files"; then
2051 ## ------------------- ##
2052 ## File substitutions. ##
2053 ## ------------------- ##
2056 for ac_var
in $ac_subst_files
2058 eval ac_val
=\$
$ac_var
2060 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062 $as_echo "$ac_var='\''$ac_val'\''"
2067 if test -s confdefs.h; then
2077 test "$ac_signal" != 0 &&
2078 $as_echo "$as_me: caught signal $ac_signal"
2079 $as_echo "$as_me: exit $exit_status"
2081 rm -f core *.core core.conftest.* &&
2082 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2085 for ac_signal
in 1 2 13 15; do
2086 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2090 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2091 rm -f -r conftest
* confdefs.h
2093 $as_echo "/* confdefs.h */" > confdefs.h
2095 # Predefined preprocessor variables.
2097 cat >>confdefs.h
<<_ACEOF
2098 #define PACKAGE_NAME "$PACKAGE_NAME"
2101 cat >>confdefs.h
<<_ACEOF
2102 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2105 cat >>confdefs.h
<<_ACEOF
2106 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2109 cat >>confdefs.h
<<_ACEOF
2110 #define PACKAGE_STRING "$PACKAGE_STRING"
2113 cat >>confdefs.h
<<_ACEOF
2114 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2117 cat >>confdefs.h
<<_ACEOF
2118 #define PACKAGE_URL "$PACKAGE_URL"
2122 # Let the site file select an alternate cache file if it wants to.
2123 # Prefer an explicitly selected file to automatically selected ones.
2126 if test -n "$CONFIG_SITE"; then
2127 ac_site_file1
=$CONFIG_SITE
2128 elif test "x$prefix" != xNONE
; then
2129 ac_site_file1
=$prefix/share
/config.site
2130 ac_site_file2
=$prefix/etc
/config.site
2132 ac_site_file1
=$ac_default_prefix/share
/config.site
2133 ac_site_file2
=$ac_default_prefix/etc
/config.site
2135 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2137 test "x$ac_site_file" = xNONE
&& continue
2138 if test -r "$ac_site_file"; then
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2140 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2141 sed 's/^/| /' "$ac_site_file" >&5
2146 if test -r "$cache_file"; then
2147 # Some versions of bash will fail to source /dev/null (special
2148 # files actually), so we avoid doing that.
2149 if test -f "$cache_file"; then
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2151 $as_echo "$as_me: loading cache $cache_file" >&6;}
2153 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2154 *) .
"./$cache_file";;
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2159 $as_echo "$as_me: creating cache $cache_file" >&6;}
2163 # Check that the precious variables saved in the cache have kept the same
2165 ac_cache_corrupted
=false
2166 for ac_var
in $ac_precious_vars; do
2167 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2168 eval ac_new_set
=\
$ac_env_${ac_var}_set
2169 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2170 eval ac_new_val
=\
$ac_env_${ac_var}_value
2171 case $ac_old_set,$ac_new_set in
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2174 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2175 ac_cache_corrupted
=: ;;
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2178 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2179 ac_cache_corrupted
=: ;;
2182 if test "x$ac_old_val" != "x$ac_new_val"; then
2183 # differences in whitespace do not lead to failure.
2184 ac_old_val_w
=`echo x $ac_old_val`
2185 ac_new_val_w
=`echo x $ac_new_val`
2186 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2188 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2189 ac_cache_corrupted
=:
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2192 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2193 eval $ac_var=\
$ac_old_val
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2196 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2198 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2201 # Pass precious variables to config.status.
2202 if test "$ac_new_set" = set; then
2204 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2205 *) ac_arg
=$ac_var=$ac_new_val ;;
2207 case " $ac_configure_args " in
2208 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2209 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2213 if $ac_cache_corrupted; then
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2217 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2218 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2220 ## -------------------- ##
2221 ## Main body of script. ##
2222 ## -------------------- ##
2225 ac_cpp
='$CPP $CPPFLAGS'
2226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2239 # if PWD already has a value, it is probably wrong.
2240 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2242 # Export original configure arguments for use by sub-configures.
2243 # Quote arguments with shell meta charatcers.
2244 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2245 set -- "$progname" "$@"
2249 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2250 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2251 # if the argument is of the form -foo=baz, quote the baz part only
2252 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2255 # Add the quoted argument to the list.
2256 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2258 if test "$silent" = yes; then
2259 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2261 # Remove the initial space we just introduced and, as these will be
2262 # expanded by make, quote '$'.
2263 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2266 # Find the build, host, and target systems.
2268 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2269 for ac_t
in install-sh
install.sh shtool
; do
2270 if test -f "$ac_dir/$ac_t"; then
2272 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2277 if test -z "$ac_aux_dir"; then
2278 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2281 # These three variables are undocumented and unsupported,
2282 # and are intended to be withdrawn in a future Autoconf release.
2283 # They can cause serious problems if a builder's source tree is in a directory
2284 # whose full name contains unusual characters.
2285 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2286 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2287 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2290 # Make sure we can run config.sub.
2291 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2292 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2295 $as_echo_n "checking build system type... " >&6; }
2296 if test "${ac_cv_build+set}" = set; then :
2297 $as_echo_n "(cached) " >&6
2299 ac_build_alias
=$build_alias
2300 test "x$ac_build_alias" = x
&&
2301 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2302 test "x$ac_build_alias" = x
&&
2303 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2304 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2305 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2309 $as_echo "$ac_cv_build" >&6; }
2310 case $ac_cv_build in
2312 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2315 ac_save_IFS
=$IFS; IFS
='-'
2321 # Remember, the first character of IFS is used to create $*,
2322 # except with old shells:
2325 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2328 case ${build_alias} in
2329 "") build_noncanonical
=${build} ;;
2330 *) build_noncanonical
=${build_alias} ;;
2335 case ${host_alias} in
2336 "") host_noncanonical
=${build_noncanonical} ;;
2337 *) host_noncanonical
=${host_alias} ;;
2342 case ${target_alias} in
2343 "") target_noncanonical
=${host_noncanonical} ;;
2344 *) target_noncanonical
=${target_alias} ;;
2350 test "$host_noncanonical" = "$target_noncanonical" &&
2351 test "$program_prefix$program_suffix$program_transform_name" = \
2353 program_transform_name
=s
,y
,y
,
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2356 $as_echo_n "checking host system type... " >&6; }
2357 if test "${ac_cv_host+set}" = set; then :
2358 $as_echo_n "(cached) " >&6
2360 if test "x$host_alias" = x
; then
2361 ac_cv_host
=$ac_cv_build
2363 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2364 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2369 $as_echo "$ac_cv_host" >&6; }
2372 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2375 ac_save_IFS
=$IFS; IFS
='-'
2381 # Remember, the first character of IFS is used to create $*,
2382 # except with old shells:
2385 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2389 $as_echo_n "checking target system type... " >&6; }
2390 if test "${ac_cv_target+set}" = set; then :
2391 $as_echo_n "(cached) " >&6
2393 if test "x$target_alias" = x
; then
2394 ac_cv_target
=$ac_cv_host
2396 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2397 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2402 $as_echo "$ac_cv_target" >&6; }
2403 case $ac_cv_target in
2405 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2407 target
=$ac_cv_target
2408 ac_save_IFS
=$IFS; IFS
='-'
2414 # Remember, the first character of IFS is used to create $*,
2415 # except with old shells:
2418 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2421 # The aliases save the names the user supplied, while $host etc.
2422 # will get canonicalized.
2423 test -n "$target_alias" &&
2424 test "$program_prefix$program_suffix$program_transform_name" = \
2426 program_prefix
=${target_alias}-
2428 test "$program_prefix" != NONE
&&
2429 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2430 # Use a double $ so make ignores it.
2431 test "$program_suffix" != NONE
&&
2432 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2433 # Double any \ or $.
2434 # By default was `s,x,x', remove it if useless.
2435 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2436 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2440 # Get 'install' or 'install-sh' and its variants.
2441 # Find a good install program. We prefer a C program (faster),
2442 # so one script is as good as another. But avoid the broken or
2443 # incompatible versions:
2444 # SysV /etc/install, /usr/sbin/install
2445 # SunOS /usr/etc/install
2446 # IRIX /sbin/install
2448 # AmigaOS /C/install, which installs bootblocks on floppy discs
2449 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2450 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2451 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2452 # OS/2's system install, which has a completely different semantic
2453 # ./install, which can be erroneously created by make from ./install.sh.
2454 # Reject install programs that cannot install multiple files.
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2456 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2457 if test -z "$INSTALL"; then
2458 if test "${ac_cv_path_install+set}" = set; then :
2459 $as_echo_n "(cached) " >&6
2461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2465 test -z "$as_dir" && as_dir
=.
2466 # Account for people who put trailing slashes in PATH elements.
2467 case $as_dir/ in #((
2468 .
/ | .
// |
/[cC
]/* | \
2469 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2470 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2473 # OSF1 and SCO ODT 3.0 have their own names for install.
2474 # Don't use installbsd from OSF since it installs stuff as root
2476 for ac_prog
in ginstall scoinst
install; do
2477 for ac_exec_ext
in '' $ac_executable_extensions; do
2478 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2479 if test $ac_prog = install &&
2480 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2481 # AIX install. It has an incompatible calling convention.
2483 elif test $ac_prog = install &&
2484 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2485 # program-specific install script used by HP pwplus--don't use.
2488 rm -rf conftest.one conftest.two conftest.dir
2489 echo one
> conftest.one
2490 echo two
> conftest.two
2492 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2493 test -s conftest.one
&& test -s conftest.two
&&
2494 test -s conftest.dir
/conftest.one
&&
2495 test -s conftest.dir
/conftest.two
2497 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2510 rm -rf conftest.one conftest.two conftest.dir
2513 if test "${ac_cv_path_install+set}" = set; then
2514 INSTALL
=$ac_cv_path_install
2516 # As a last resort, use the slow shell script. Don't cache a
2517 # value for INSTALL within a source directory, because that will
2518 # break other packages using the cache if that directory is
2519 # removed, or if the value is a relative name.
2520 INSTALL
=$ac_install_sh
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2524 $as_echo "$INSTALL" >&6; }
2526 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2527 # It thinks the first close brace ends the variable substitution.
2528 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2530 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2532 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2535 $as_echo_n "checking whether ln works... " >&6; }
2536 if test "${acx_cv_prog_LN+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 rm -f conftestdata_t
2540 echo >conftestdata_f
2541 if ln conftestdata_f conftestdata_t
2>/dev
/null
2547 rm -f conftestdata_f conftestdata_t
2550 if test $acx_cv_prog_LN = no
; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2553 $as_echo "no, using $LN" >&6; }
2555 LN
="$acx_cv_prog_LN"
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2557 $as_echo "yes" >&6; }
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2561 $as_echo_n "checking whether ln -s works... " >&6; }
2563 if test "$LN_S" = "ln -s"; then
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2565 $as_echo "yes" >&6; }
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2568 $as_echo "no, using $LN_S" >&6; }
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2572 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2573 if test "${ac_cv_path_SED+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2577 for ac_i
in 1 2 3 4 5 6 7; do
2578 ac_script
="$ac_script$as_nl$ac_script"
2580 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2581 { ac_script
=; unset ac_script
;}
2582 if test -z "$SED"; then
2583 ac_path_SED_found
=false
2584 # Loop through the user's path and test for each of PROGNAME-LIST
2585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2589 test -z "$as_dir" && as_dir
=.
2590 for ac_prog
in sed gsed
; do
2591 for ac_exec_ext
in '' $ac_executable_extensions; do
2592 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2593 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2594 # Check for GNU ac_path_SED and select it if it is found.
2595 # Check for GNU $ac_path_SED
2596 case `"$ac_path_SED" --version 2>&1` in
2598 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2601 $as_echo_n 0123456789 >"conftest.in"
2604 cat "conftest.in" "conftest.in" >"conftest.tmp"
2605 mv "conftest.tmp" "conftest.in"
2606 cp "conftest.in" "conftest.nl"
2607 $as_echo '' >> "conftest.nl"
2608 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2609 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2610 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2611 if test $ac_count -gt ${ac_path_SED_max-0}; then
2612 # Best one so far, save it but keep looking for a better one
2613 ac_cv_path_SED
="$ac_path_SED"
2614 ac_path_SED_max
=$ac_count
2616 # 10*(2^10) chars as input seems more than enough
2617 test $ac_count -gt 10 && break
2619 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2622 $ac_path_SED_found && break 3
2627 if test -z "$ac_cv_path_SED"; then
2628 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2636 $as_echo "$ac_cv_path_SED" >&6; }
2637 SED
="$ac_cv_path_SED"
2640 for ac_prog
in gawk mawk nawk
awk
2642 # Extract the first word of "$ac_prog", so it can be a program name with args.
2643 set dummy
$ac_prog; ac_word
=$2
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2645 $as_echo_n "checking for $ac_word... " >&6; }
2646 if test "${ac_cv_prog_AWK+set}" = set; then :
2647 $as_echo_n "(cached) " >&6
2649 if test -n "$AWK"; then
2650 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir
=.
2657 for ac_exec_ext
in '' $ac_executable_extensions; do
2658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2659 ac_cv_prog_AWK
="$ac_prog"
2660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 if test -n "$AWK"; then
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2672 $as_echo "$AWK" >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2675 $as_echo "no" >&6; }
2679 test -n "$AWK" && break
2683 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2685 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2687 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2688 INSTALL
="${srcpwd}/install-sh -c"
2691 # Set srcdir to "." if that's what it is.
2692 # This is important for multilib support.
2694 if test "${pwd}" = "${srcpwd}" ; then
2702 ### To add a new directory to the tree, first choose whether it is a target
2703 ### or a host dependent tool. Then put it into the appropriate list
2704 ### (library or tools, host or target), doing a dependency sort.
2706 # Subdirs will be configured in the order listed in build_configdirs,
2707 # configdirs, or target_configdirs; see the serialization section below.
2709 # Dependency sorting is only needed when *configuration* must be done in
2710 # a particular order. In all cases a dependency should be specified in
2711 # the Makefile, whether or not it's implicitly specified here.
2713 # Double entries in build_configdirs, configdirs, or target_configdirs may
2714 # cause circular dependencies and break everything horribly.
2716 # these library is used by various programs built for the build
2719 build_libs
="build-libiberty"
2721 # these tools are built for the build environment
2722 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2724 # these libraries are used by various programs built for the host environment
2726 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2728 # these tools are built for the host environment
2729 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2730 # know that we are building the simulator.
2731 # binutils, gas and ld appear in that order because it makes sense to run
2732 # "make check" in that particular order.
2733 # If --enable-gold is used, "gold" may replace "ld".
2734 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2736 # libgcj represents the runtime libraries only used by gcj.
2737 libgcj
="target-libffi \
2741 # these libraries are built for the target environment, and are built after
2742 # the host libraries and the host tools (which may be a cross compiler)
2743 # Note that libiberty is not a target library.
2744 target_libraries
="target-libgcc \
2745 target-libbacktrace \
2752 target-libstdc++-v3 \
2753 target-libsanitizer \
2756 target-libquadmath \
2757 target-libgfortran \
2764 # these tools are built using the target libraries, and are intended to
2765 # run only in the target environment
2767 # note: any program that *uses* libraries that are in the "target_libraries"
2768 # list belongs in this list.
2770 target_tools
="target-rda"
2772 ################################################################################
2774 ## All tools belong in one of the four categories, and are assigned above
2775 ## We assign ${configdirs} this way to remove all embedded newlines. This
2776 ## is important because configure will choke if they ever get through.
2777 ## ${configdirs} is directories we build using the host tools.
2778 ## ${target_configdirs} is directories we build using the target tools.
2779 configdirs
=`echo ${host_libs} ${host_tools}`
2780 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2781 build_configdirs
=`echo ${build_libs} ${build_tools}`
2785 ################################################################################
2787 srcname
="gnu development package"
2789 # This gets set non-empty for some net releases of packages.
2792 # Define is_cross_compiler to save on calls to 'test'.
2794 if test x
"${host}" = x
"${target}" ; then
2795 is_cross_compiler
=no
2797 is_cross_compiler
=yes
2800 # Find the build and target subdir names.
2802 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2803 # have matching libraries, they should use host libraries: Makefile.tpl
2804 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2805 # However, they still use the build modules, because the corresponding
2806 # host modules (e.g. bison) are only built for the host when bootstrap
2808 # - build_subdir is where we find build modules, and never changes.
2809 # - build_libsubdir is where we find build libraries, and can be overridden.
2811 # Prefix 'build-' so this never conflicts with target_subdir.
2812 build_subdir
="build-${build_noncanonical}"
2814 # Check whether --with-build-libsubdir was given.
2815 if test "${with_build_libsubdir+set}" = set; then :
2816 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2818 build_libsubdir
="$build_subdir"
2821 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2822 if ( test $srcdir = .
&& test -d gcc
) \
2823 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2824 host_subdir
="host-${host_noncanonical}"
2829 target_subdir
=${target_noncanonical}
2831 # Be sure to cover against remnants of an in-tree build.
2832 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2833 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2834 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2837 # Skipdirs are removed silently.
2839 # Noconfigdirs are removed loudly.
2843 # Make sure we don't let GNU ld be added if we didn't want it.
2844 if test x
$with_gnu_ld = xno
; then
2846 noconfigdirs
="$noconfigdirs ld gold"
2850 # Make sure we don't let GNU as be added if we didn't want it.
2851 if test x
$with_gnu_as = xno
; then
2853 noconfigdirs
="$noconfigdirs gas"
2857 # Make sure we don't let ZLIB be added if we didn't want it.
2858 if test x
$with_system_zlib = xyes
; then
2859 use_included_zlib
=no
2860 noconfigdirs
="$noconfigdirs zlib"
2863 # some tools are so dependent upon X11 that if we're not building with X,
2864 # it's not even worth trying to configure, much less build, that tool.
2867 yes |
"") ;; # the default value for this tree is that X11 is available
2869 skipdirs
="${skipdirs} tk itcl libgui"
2870 # We won't be able to build gdbtk without X.
2873 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2876 # Some are only suitable for cross toolchains.
2877 # Remove these if host=target.
2878 cross_only
="target-libgloss target-newlib target-opcodes"
2880 case $is_cross_compiler in
2881 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2884 # If both --with-headers and --with-libs are specified, default to
2886 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2887 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2888 if test x
"${with_newlib}" = x
; then
2893 # Recognize --with-newlib/--without-newlib.
2894 case ${with_newlib} in
2895 no
) skipdirs
="${skipdirs} target-newlib" ;;
2896 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2899 # Check whether --enable-offload-targets was given.
2900 if test "${enable_offload_targets+set}" = set; then :
2901 enableval
=$enable_offload_targets;
2902 if test x
"$enable_offload_targets" = x
; then
2903 as_fn_error
"no offload targets specified" "$LINENO" 5
2907 enable_offload_targets
=
2911 # Handle --enable-gold, --enable-ld.
2912 # --disable-gold [--enable-ld]
2913 # Build only ld. Default option.
2914 # --enable-gold [--enable-ld]
2915 # Build both gold and ld. Install gold as "ld.gold", install ld
2916 # as "ld.bfd" and "ld".
2917 # --enable-gold=default [--enable-ld]
2918 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2919 # install ld as "ld.bfd".
2920 # --enable-gold[=default] --disable-ld
2921 # Build only gold, which is then installed as both "ld.gold" and "ld".
2922 # --enable-gold --enable-ld=default
2923 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2925 # In other words, ld is default
2926 # --enable-gold=default --enable-ld=default
2930 # Check whether --enable-gold was given.
2931 if test "${enable_gold+set}" = set; then :
2932 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2937 case "${ENABLE_GOLD}" in
2939 # Check for ELF target.
2942 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2943 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2944 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2945 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2947 *-*-linux*aout
* |
*-*-linux*oldld
*)
2955 if test "$is_elf" = "yes"; then
2956 # Check for target supported by gold.
2958 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2959 configdirs
="$configdirs gold"
2960 if test x
${ENABLE_GOLD} = xdefault
; then
2971 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2975 # Check whether --enable-ld was given.
2976 if test "${enable_ld+set}" = set; then :
2977 enableval
=$enable_ld; ENABLE_LD
=$enableval
2983 case "${ENABLE_LD}" in
2985 if test x
${default_ld} != x
; then
2986 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2992 if test x
${ENABLE_GOLD} != xyes
; then
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2994 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2996 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2999 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3003 # Configure extra directories which are host specific
3007 configdirs
="$configdirs libtermcap" ;;
3010 # A target can indicate whether a language isn't supported for some reason.
3011 # Only spaces may be used in this macro; not newlines or tabs.
3012 unsupported_languages
=
3014 # Remove more programs from consideration, based on the host or
3015 # target this usually means that a port of the program doesn't
3019 i
[3456789]86-*-msdosdjgpp*)
3020 noconfigdirs
="$noconfigdirs tcl tk itcl"
3025 # Check whether --enable-libquadmath was given.
3026 if test "${enable_libquadmath+set}" = set; then :
3027 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3029 ENABLE_LIBQUADMATH
=yes
3032 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3033 noconfigdirs
="$noconfigdirs target-libquadmath"
3037 # Check whether --enable-libquadmath-support was given.
3038 if test "${enable_libquadmath_support+set}" = set; then :
3039 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3041 ENABLE_LIBQUADMATH_SUPPORT
=yes
3044 enable_libquadmath_support
=
3045 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3046 enable_libquadmath_support
=no
3050 # Check whether --enable-libada was given.
3051 if test "${enable_libada+set}" = set; then :
3052 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3057 if test "${ENABLE_LIBADA}" != "yes" ; then
3058 noconfigdirs
="$noconfigdirs gnattools"
3061 # Check whether --enable-libssp was given.
3062 if test "${enable_libssp+set}" = set; then :
3063 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3069 # Check whether --enable-libstdcxx was given.
3070 if test "${enable_libstdcxx+set}" = set; then :
3071 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3073 ENABLE_LIBSTDCXX
=default
3076 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3077 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3080 # Save it here so that, even in case of --enable-libgcj, if the Java
3081 # front-end isn't enabled, we still get libgcj disabled.
3082 libgcj_saved
=$libgcj
3083 case $enable_libgcj in
3085 # If we reset it here, it won't get added to noconfigdirs in the
3086 # target-specific build rules, so it will be forcibly enabled
3087 # (unless the Java language itself isn't enabled).
3091 # Make sure we get it printed in the list of not supported target libs.
3092 # Don't disable libffi, though, other languages use it.
3093 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3094 # Clear libgcj_saved so that even if java is enabled libffi won't be
3100 # Check whether --enable-static-libjava was given.
3101 if test "${enable_static_libjava+set}" = set; then :
3102 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3104 ENABLE_STATIC_LIBJAVA
=no
3107 enable_static_libjava
=
3108 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3109 enable_static_libjava
=yes
3112 if test x
$enable_static_libjava != xyes
; then
3113 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3117 # Disable libgomp on non POSIX hosted systems.
3118 if test x
$enable_libgomp = x
; then
3119 # Enable libgomp by default on hosted POSIX systems.
3121 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3123 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3125 *-*-solaris2* |
*-*-hpux11*)
3127 *-*-darwin* |
*-*-aix*)
3130 noconfigdirs
="$noconfigdirs target-libgomp"
3135 # Disable libatomic on unsupported systems.
3136 if test -d ${srcdir}/libatomic
; then
3137 if test x
$enable_libatomic = x
; then
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3139 $as_echo_n "checking for libatomic support... " >&6; }
3140 if (srcdir
=${srcdir}/libatomic
; \
3141 .
${srcdir}/configure.tgt
; \
3142 test -n "$UNSUPPORTED")
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3145 $as_echo "no" >&6; }
3146 noconfigdirs
="$noconfigdirs target-libatomic"
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3149 $as_echo "yes" >&6; }
3154 # Disable libcilkrts on unsupported systems.
3155 if test -d ${srcdir}/libcilkrts
; then
3156 if test x
$enable_libcilkrts = x
; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3158 $as_echo_n "checking for libcilkrts support... " >&6; }
3159 if (srcdir
=${srcdir}/libcilkrts
; \
3160 .
${srcdir}/configure.tgt
; \
3161 test -n "$UNSUPPORTED")
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3165 noconfigdirs
="$noconfigdirs target-libcilkrts"
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3168 $as_echo "yes" >&6; }
3173 # Disable libitm on unsupported systems.
3174 if test -d ${srcdir}/libitm
; then
3175 if test x
$enable_libitm = x
; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3177 $as_echo_n "checking for libitm support... " >&6; }
3178 if (srcdir
=${srcdir}/libitm
; \
3179 .
${srcdir}/configure.tgt
; \
3180 test -n "$UNSUPPORTED")
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3183 $as_echo "no" >&6; }
3184 noconfigdirs
="$noconfigdirs target-libitm"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187 $as_echo "yes" >&6; }
3192 # Disable libsanitizer on unsupported systems.
3193 if test -d ${srcdir}/libsanitizer
; then
3194 if test x
$enable_libsanitizer = x
; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3196 $as_echo_n "checking for libsanitizer support... " >&6; }
3197 if (srcdir
=${srcdir}/libsanitizer
; \
3198 .
${srcdir}/configure.tgt
; \
3199 test -n "$UNSUPPORTED")
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202 $as_echo "no" >&6; }
3203 noconfigdirs
="$noconfigdirs target-libsanitizer"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3211 # Disable libvtv on unsupported systems.
3212 if test -d ${srcdir}/libvtv
; then
3213 if test x
$enable_libvtv = x
; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3215 $as_echo_n "checking for libvtv support... " >&6; }
3216 if (srcdir
=${srcdir}/libvtv
; \
3217 .
${srcdir}/configure.tgt
; \
3218 test "$VTV_SUPPORTED" != "yes")
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 noconfigdirs
="$noconfigdirs target-libvtv"
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3225 $as_echo "yes" >&6; }
3230 # Disable libquadmath for some systems.
3233 noconfigdirs
="$noconfigdirs target-libquadmath"
3235 # libquadmath is unused on AIX and libquadmath build process use of
3236 # LD_LIBRARY_PATH can break AIX bootstrap.
3237 powerpc-
*-aix* | rs6000-
*-aix*)
3238 noconfigdirs
="$noconfigdirs target-libquadmath"
3242 # Disable libssp for some systems.
3245 # No hosted I/O support.
3246 noconfigdirs
="$noconfigdirs target-libssp"
3248 powerpc-
*-aix* | rs6000-
*-aix*)
3249 noconfigdirs
="$noconfigdirs target-libssp"
3252 # libssp uses a misaligned load to trigger a fault, but the RL78
3253 # doesn't fault for those - instead, it gives a build-time error
3254 # for explicit misaligned loads.
3255 noconfigdirs
="$noconfigdirs target-libssp"
3259 # Disable libstdc++-v3 for some systems.
3260 # Allow user to override this if they pass --enable-libstdc++-v3
3261 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3264 # VxWorks uses the Dinkumware C++ library.
3265 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3268 # the C++ libraries don't build on top of CE's C libraries
3269 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3272 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3277 # Disable Fortran for some systems.
3280 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3281 unsupported_languages
="$unsupported_languages fortran"
3285 # Disable Java if libffi is not supported.
3317 powerpc-
*-aix* | rs6000-
*-aix*)
3321 powerpc64-
*-freebsd*)
3325 s390-
*-* | s390x-
*-*)
3327 sh-
*-* | sh
[34]*-*-*)
3329 sh64-
*-* | sh5
*-*-*)
3336 unsupported_languages
="$unsupported_languages java"
3340 # Disable Java, libgcj or related libraries for some systems.
3344 i
[3456789]86-*-darwin*)
3346 x86_64-
*-darwin[912]*)
3349 noconfigdirs
="$noconfigdirs ${libgcj}"
3352 noconfigdirs
="$noconfigdirs ${libgcj}"
3355 noconfigdirs
="$noconfigdirs ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3361 noconfigdirs
="$noconfigdirs ${libgcj}"
3364 noconfigdirs
="$noconfigdirs ${libgcj}"
3367 noconfigdirs
="$noconfigdirs ${libgcj}"
3370 noconfigdirs
="$noconfigdirs ${libgcj}"
3373 noconfigdirs
="$noconfigdirs ${libgcj}"
3376 noconfigdirs
="$noconfigdirs target-boehm-gc"
3378 cris-
*-* | crisv32-
*-*)
3379 unsupported_languages
="$unsupported_languages java"
3383 *) # See PR46792 regarding target-libffi.
3384 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3388 # In this case, it's because the hppa64-linux target is for
3389 # the kernel only at this point and has no libc, and thus no
3390 # headers, crt*.o, etc., all of which are needed by these.
3391 unsupported_languages
="$unsupported_languages java"
3394 noconfigdirs
="$noconfigdirs ${libgcj}"
3399 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3400 # build on HP-UX 10.20.
3401 noconfigdirs
="$noconfigdirs ${libgcj}"
3404 noconfigdirs
="$noconfigdirs ${libgcj}"
3406 i
[3456789]86-w64-mingw*)
3407 noconfigdirs
="$noconfigdirs ${libgcj}"
3409 i
[3456789]86-*-mingw*)
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3413 noconfigdirs
="$noconfigdirs ${libgcj}"
3416 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3419 # copied from rs6000-*-* entry
3420 noconfigdirs
="$noconfigdirs ${libgcj}"
3423 noconfigdirs
="$noconfigdirs ${libgcj}"
3426 noconfigdirs
="$noconfigdirs ${libgcj}"
3430 # Disable libgo for some systems where it is known to not work.
3431 # For testing, you can easily override this with --enable-libgo.
3432 if test x
$enable_libgo = x
; then
3436 noconfigdirs
="$noconfigdirs target-libgo"
3438 *-*-cygwin* |
*-*-mingw*)
3439 noconfigdirs
="$noconfigdirs target-libgo"
3442 noconfigdirs
="$noconfigdirs target-libgo"
3447 # Default libgloss CPU subdirectory.
3448 libgloss_dir
="$target_cpu"
3451 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3455 libgloss_dir
=aarch64
3460 cris-
*-* | crisv32-
*-*)
3469 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3470 libgloss_dir
=m68hc11
3472 m68
*-*-* | fido-
*-*)
3486 # Disable newlib and libgloss for various target OSes.
3489 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3491 i
[3456789]86-*-linux*)
3492 # This section makes it possible to build newlib natively on linux.
3493 # If we are using a cross compiler then don't configure newlib.
3494 if test x
${is_cross_compiler} != xno
; then
3495 noconfigdirs
="$noconfigdirs target-newlib"
3497 noconfigdirs
="$noconfigdirs target-libgloss"
3498 # If we are not using a cross compiler, do configure newlib.
3499 # Note however, that newlib will only be configured in this situation
3500 # if the --with-newlib option has been given, because otherwise
3501 # 'target-newlib' will appear in skipdirs.
3503 i
[3456789]86-*-rdos*)
3504 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3506 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3507 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3510 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3513 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3519 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3522 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3525 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3527 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3528 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3537 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3546 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3549 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3557 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3558 noconfigdirs
="$noconfigdirs sim target-rda"
3560 i
[3456789]86-*-darwin*)
3561 noconfigdirs
="$noconfigdirs ld gprof"
3562 noconfigdirs
="$noconfigdirs sim target-rda"
3564 x86_64-
*-darwin[912]*)
3565 noconfigdirs
="$noconfigdirs ld gas gprof"
3566 noconfigdirs
="$noconfigdirs sim target-rda"
3569 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3570 noconfigdirs
="$noconfigdirs sim target-rda"
3575 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3576 && test -f /usr
/local
/include
/gmp.h
; then
3581 # Remove unsupported stuff on all kaOS configurations.
3582 noconfigdirs
="$noconfigdirs target-libgloss"
3589 noconfigdirs
="$noconfigdirs target-libgloss"
3591 # The tpf target doesn't support gdb yet.
3593 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3596 noconfigdirs
="$noconfigdirs target-rda"
3601 # ld works, but does not support shared libraries.
3602 # gas doesn't generate exception information.
3603 noconfigdirs
="$noconfigdirs gas ld"
3606 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3609 # newlib is not 64 bit ready
3610 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3612 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3613 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3616 noconfigdirs
="$noconfigdirs target-libgloss"
3619 noconfigdirs
="$noconfigdirs target-libgloss"
3622 noconfigdirs
="$noconfigdirs ld target-libgloss"
3627 if test x
${with_avrlibc} != xno
; then
3628 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3631 c4x-
*-* | tic4x-
*-*)
3632 noconfigdirs
="$noconfigdirs target-libgloss"
3635 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3638 noconfigdirs
="$noconfigdirs target-libgloss"
3641 noconfigdirs
="$noconfigdirs gdb"
3644 noconfigdirs
="$noconfigdirs gdb"
3647 noconfigdirs
="$noconfigdirs gprof"
3650 noconfigdirs
="$noconfigdirs target-libgloss"
3653 noconfigdirs
="$noconfigdirs target-libgloss"
3655 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3663 hppa
*-*-openbsd* | \
3667 noconfigdirs
="$noconfigdirs ld"
3672 noconfigdirs
="$noconfigdirs ld"
3675 noconfigdirs
="$noconfigdirs gdb"
3678 # No gdb support yet.
3679 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3682 # No ld support yet.
3683 noconfigdirs
="$noconfigdirs libgui itcl ld"
3686 # No ld support yet.
3687 noconfigdirs
="$noconfigdirs libgui itcl ld"
3689 i
[3456789]86-w64-mingw*)
3691 i
[3456789]86-*-mingw*)
3692 target_configdirs
="$target_configdirs target-winsup"
3695 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3697 # always build newlib if winsup directory is present.
3698 if test -d "$srcdir/winsup/cygwin"; then
3699 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3700 elif test -d "$srcdir/newlib"; then
3701 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3705 noconfigdirs
="$noconfigdirs target-libgloss"
3707 i
[3456789]86-*-sco3.2v5
*)
3708 # The linker does not yet know about weak symbols in COFF,
3709 # and is not configured to handle mixed ELF and COFF.
3710 noconfigdirs
="$noconfigdirs ld target-libgloss"
3712 i
[3456789]86-*-sco*)
3713 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3715 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3716 noconfigdirs
="$noconfigdirs target-libgloss"
3718 i
[3456789]86-*-sysv4*)
3719 noconfigdirs
="$noconfigdirs target-libgloss"
3721 i
[3456789]86-*-beos*)
3722 noconfigdirs
="$noconfigdirs gdb"
3724 i
[3456789]86-*-rdos*)
3725 noconfigdirs
="$noconfigdirs gdb"
3728 noconfigdirs
="$noconfigdirs gdb"
3731 noconfigdirs
="$noconfigdirs sim"
3734 # copied from rs6000-*-* entry
3735 noconfigdirs
="$noconfigdirs gprof"
3737 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3738 target_configdirs
="$target_configdirs target-winsup"
3739 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3740 # always build newlib.
3741 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3743 # This is temporary until we can link against shared libraries
3744 powerpcle-
*-solaris*)
3745 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 noconfigdirs
="$noconfigdirs gprof"
3754 noconfigdirs
="$noconfigdirs gprof"
3757 noconfigdirs
="$noconfigdirs gprof"
3760 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3763 noconfigdirs
="$noconfigdirs gprof"
3765 mips
*-sde-elf* | mips
*-mti-elf*)
3766 if test x
$with_newlib = xyes
; then
3767 noconfigdirs
="$noconfigdirs gprof"
3771 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3774 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3777 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3781 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3782 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3783 noconfigdirs
="$noconfigdirs ld gas gprof"
3786 noconfigdirs
="$noconfigdirs gprof"
3793 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3797 if test x
${is_cross_compiler} = xno
; then
3802 noconfigdirs
="$noconfigdirs sim"
3804 tilepro
*-*-* | tilegx
*-*-*)
3805 noconfigdirs
="$noconfigdirs sim"
3808 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3811 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3815 # If we aren't building newlib, then don't build libgloss, since libgloss
3816 # depends upon some newlib header files.
3817 case "${noconfigdirs}" in
3818 *target-libgloss
*) ;;
3819 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3822 # Work in distributions that contain no compiler tools, like Autoconf.
3823 host_makefile_frag
=/dev
/null
3824 if test -d ${srcdir}/config
; then
3826 i
[3456789]86-*-msdosdjgpp*)
3827 host_makefile_frag
="config/mh-djgpp"
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3832 $as_echo_n "checking to see if cat works as expected... " >&6; }
3833 echo a
>cygwin-cat-check
3834 if test `cat cygwin-cat-check` = a
; then
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3837 $as_echo "yes" >&6; }
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3841 $as_echo "no" >&6; }
3842 as_fn_error
"The cat command does not ignore carriage return characters.
3843 Please either mount the build directory in binary mode or run the following
3844 commands before running any configure script:
3850 host_makefile_frag
="config/mh-cygwin"
3853 host_makefile_frag
="config/mh-mingw"
3856 host_makefile_frag
="config/mh-alpha-linux"
3859 host_makefile_frag
="config/mh-pa-hpux10"
3862 host_makefile_frag
="config/mh-pa"
3865 host_makefile_frag
="config/mh-pa"
3868 host_makefile_frag
="config/mh-darwin"
3871 host_makefile_frag
="config/mh-ppc-aix"
3874 host_makefile_frag
="config/mh-ppc-aix"
3879 if test "${build}" != "${host}" ; then
3880 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3881 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3882 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3883 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3884 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3885 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3886 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3887 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3888 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3889 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3890 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3891 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3892 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3894 AR_FOR_BUILD
="\$(AR)"
3895 AS_FOR_BUILD
="\$(AS)"
3896 CC_FOR_BUILD
="\$(CC)"
3897 CXX_FOR_BUILD
="\$(CXX)"
3898 GCJ_FOR_BUILD
="\$(GCJ)"
3899 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3900 GOC_FOR_BUILD
="\$(GOC)"
3901 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3902 LD_FOR_BUILD
="\$(LD)"
3903 NM_FOR_BUILD
="\$(NM)"
3904 RANLIB_FOR_BUILD
="\$(RANLIB)"
3905 WINDRES_FOR_BUILD
="\$(WINDRES)"
3906 WINDMC_FOR_BUILD
="\$(WINDMC)"
3910 ac_cpp
='$CPP $CPPFLAGS'
3911 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3914 if test -n "$ac_tool_prefix"; then
3915 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3916 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if test "${ac_cv_prog_CC+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$CC"; then
3923 ac_cv_prog_CC
="$CC" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test -n "$CC"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3945 $as_echo "$CC" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3953 if test -z "$ac_cv_prog_CC"; then
3955 # Extract the first word of "gcc", so it can be a program name with args.
3956 set dummy gcc
; ac_word
=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 if test -n "$ac_ct_CC"; then
3963 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3969 test -z "$as_dir" && as_dir
=.
3970 for ac_exec_ext
in '' $ac_executable_extensions; do
3971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3972 ac_cv_prog_ac_ct_CC
="gcc"
3973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3982 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3983 if test -n "$ac_ct_CC"; then
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3985 $as_echo "$ac_ct_CC" >&6; }
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3988 $as_echo "no" >&6; }
3991 if test "x$ac_ct_CC" = x
; then
3994 case $cross_compiling:$ac_tool_warned in
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3997 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3998 ac_tool_warned
=yes ;;
4006 if test -z "$CC"; then
4007 if test -n "$ac_tool_prefix"; then
4008 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4009 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4011 $as_echo_n "checking for $ac_word... " >&6; }
4012 if test "${ac_cv_prog_CC+set}" = set; then :
4013 $as_echo_n "(cached) " >&6
4015 if test -n "$CC"; then
4016 ac_cv_prog_CC
="$CC" # Let the user override the test.
4018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4022 test -z "$as_dir" && as_dir
=.
4023 for ac_exec_ext
in '' $ac_executable_extensions; do
4024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4025 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4036 if test -n "$CC"; then
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4038 $as_echo "$CC" >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4041 $as_echo "no" >&6; }
4047 if test -z "$CC"; then
4048 # Extract the first word of "cc", so it can be a program name with args.
4049 set dummy cc
; ac_word
=$2
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4051 $as_echo_n "checking for $ac_word... " >&6; }
4052 if test "${ac_cv_prog_CC+set}" = set; then :
4053 $as_echo_n "(cached) " >&6
4055 if test -n "$CC"; then
4056 ac_cv_prog_CC
="$CC" # Let the user override the test.
4059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4063 test -z "$as_dir" && as_dir
=.
4064 for ac_exec_ext
in '' $ac_executable_extensions; do
4065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4066 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4067 ac_prog_rejected
=yes
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 if test $ac_prog_rejected = yes; then
4079 # We found a bogon in the path, so make sure we never use it.
4080 set dummy
$ac_cv_prog_CC
4082 if test $# != 0; then
4083 # We chose a different compiler from the bogus one.
4084 # However, it has the same basename, so the bogon will be chosen
4085 # first if we set CC to just the basename; use the full file name.
4087 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4093 if test -n "$CC"; then
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4095 $as_echo "$CC" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4103 if test -z "$CC"; then
4104 if test -n "$ac_tool_prefix"; then
4105 for ac_prog
in cl.exe
4107 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4108 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4110 $as_echo_n "checking for $ac_word... " >&6; }
4111 if test "${ac_cv_prog_CC+set}" = set; then :
4112 $as_echo_n "(cached) " >&6
4114 if test -n "$CC"; then
4115 ac_cv_prog_CC
="$CC" # Let the user override the test.
4117 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4121 test -z "$as_dir" && as_dir
=.
4122 for ac_exec_ext
in '' $ac_executable_extensions; do
4123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4124 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 if test -n "$CC"; then
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4137 $as_echo "$CC" >&6; }
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4140 $as_echo "no" >&6; }
4144 test -n "$CC" && break
4147 if test -z "$CC"; then
4149 for ac_prog
in cl.exe
4151 # Extract the first word of "$ac_prog", so it can be a program name with args.
4152 set dummy
$ac_prog; ac_word
=$2
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4154 $as_echo_n "checking for $ac_word... " >&6; }
4155 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4158 if test -n "$ac_ct_CC"; then
4159 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4165 test -z "$as_dir" && as_dir
=.
4166 for ac_exec_ext
in '' $ac_executable_extensions; do
4167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4168 ac_cv_prog_ac_ct_CC
="$ac_prog"
4169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4178 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4179 if test -n "$ac_ct_CC"; then
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4181 $as_echo "$ac_ct_CC" >&6; }
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4184 $as_echo "no" >&6; }
4188 test -n "$ac_ct_CC" && break
4191 if test "x$ac_ct_CC" = x
; then
4194 case $cross_compiling:$ac_tool_warned in
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4197 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4198 ac_tool_warned
=yes ;;
4207 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error
"no acceptable C compiler found in \$PATH
4210 See \`config.log' for more details." "$LINENO" 5; }
4212 # Provide some information about the compiler.
4213 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4216 for ac_option
in --version -v -V -qversion; do
4217 { { ac_try
="$ac_compiler $ac_option >&5"
4219 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4220 *) ac_try_echo=$ac_try;;
4222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4223 $as_echo "$ac_try_echo"; } >&5
4224 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4226 if test -s conftest.err; then
4228 ... rest of stderr output deleted ...
4229 10q' conftest.err >conftest.er1
4230 cat conftest.er1 >&5
4231 rm -f conftest.er1 conftest.err
4233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4234 test $ac_status = 0; }
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4248 ac_clean_files_save=$ac_clean_files
4249 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4250 # Try to create an executable without -o first, disregard a.out.
4251 # It will help us diagnose broken compilers, and finding out an intuition
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4254 $as_echo_n "checking for C compiler default output file name... " >&6; }
4255 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4257 # The possible output files:
4258 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4261 for ac_file in $ac_files
4264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4265 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4270 if { { ac_try="$ac_link_default"
4272 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4273 *) ac_try_echo
=$ac_try;;
4275 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4276 $as_echo "$ac_try_echo"; } >&5
4277 (eval "$ac_link_default") 2>&5
4279 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4280 test $ac_status = 0; }; then :
4281 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4282 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4283 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4284 # so that the user can short-circuit this test for compilers unknown to
4286 for ac_file
in $ac_files ''
4288 test -f "$ac_file" ||
continue
4290 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4293 # We found the default executable, but exeext='' is most
4297 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4299 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4301 # We set ac_cv_exeext here because the later test for it is not
4302 # safe: cross compilers may not add the suffix if given an `-o'
4303 # argument, so we may need to know it at that point already.
4304 # Even if this section looks crufty: it has the advantage of
4311 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4317 $as_echo "$ac_file" >&6; }
4318 if test -z "$ac_file"; then :
4319 $as_echo "$as_me: failed program was:" >&5
4320 sed 's/^/| /' conftest.
$ac_ext >&5
4322 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 { as_fn_set_status
77
4325 as_fn_error
"C compiler cannot create executables
4326 See \`config.log' for more details." "$LINENO" 5; }; }
4328 ac_exeext
=$ac_cv_exeext
4330 # Check that the compiler produces executables we can run. If not, either
4331 # the compiler is broken, or we cross compile.
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4333 $as_echo_n "checking whether the C compiler works... " >&6; }
4334 # If not cross compiling, check that we can run a simple program.
4335 if test "$cross_compiling" != yes; then
4336 if { ac_try
='./$ac_file'
4337 { { case "(($ac_try" in
4338 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4339 *) ac_try_echo=$ac_try;;
4341 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4342 $as_echo "$ac_try_echo"; } >&5
4343 (eval "$ac_try") 2>&5
4345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4346 test $ac_status = 0; }; }; then
4349 if test "$cross_compiling" = maybe; then
4352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4354 as_fn_error "cannot run C compiled programs.
4355 If you meant to cross compile
, use \
`--host'.
4356 See \`config.log
' for more details." "$LINENO" 5; }
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4361 $as_echo "yes" >&6; }
4363 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4364 ac_clean_files=$ac_clean_files_save
4365 # Check that the compiler produces executables we can run. If not, either
4366 # the compiler is broken, or we cross compile.
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4368 $as_echo_n "checking whether we are cross compiling... " >&6; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4370 $as_echo "$cross_compiling" >&6; }
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4373 $as_echo_n "checking for suffix of executables... " >&6; }
4374 if { { ac_try="$ac_link"
4376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4380 $as_echo "$ac_try_echo"; } >&5
4381 (eval "$ac_link") 2>&5
4383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4384 test $ac_status = 0; }; then :
4385 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4386 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4387 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4389 for ac_file
in conftest.exe conftest conftest.
*; do
4390 test -f "$ac_file" ||
continue
4392 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4393 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4399 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4400 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4401 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4402 See \`config.log' for more details." "$LINENO" 5; }
4404 rm -f conftest
$ac_cv_exeext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4406 $as_echo "$ac_cv_exeext" >&6; }
4408 rm -f conftest.
$ac_ext
4409 EXEEXT
=$ac_cv_exeext
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4412 $as_echo_n "checking for suffix of object files... " >&6; }
4413 if test "${ac_cv_objext+set}" = set; then :
4414 $as_echo_n "(cached) " >&6
4416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4417 /* end confdefs.h. */
4427 rm -f conftest.o conftest.obj
4428 if { { ac_try
="$ac_compile"
4430 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_compile") 2>&5
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }; then :
4439 for ac_file in conftest.o conftest.obj conftest.*; do
4440 test -f "$ac_file" || continue;
4442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4443 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4448 $as_echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4451 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4453 as_fn_error "cannot compute suffix of object files
: cannot compile
4454 See \
`config.log' for more details." "$LINENO" 5; }
4456 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4459 $as_echo "$ac_cv_objext" >&6; }
4460 OBJEXT=$ac_cv_objext
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4463 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4464 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4465 $as_echo_n "(cached) " >&6
4467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468 /* end confdefs.h. */
4481 if ac_fn_c_try_compile "$LINENO"; then :
4486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4487 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4491 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4492 if test $ac_compiler_gnu = yes; then
4497 ac_test_CFLAGS=${CFLAGS+set}
4498 ac_save_CFLAGS=$CFLAGS
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4500 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4501 if test "${ac_cv_prog_cc_g+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 ac_save_c_werror_flag=$ac_c_werror_flag
4505 ac_c_werror_flag=yes
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4534 if ac_fn_c_try_compile "$LINENO"; then :
4537 ac_c_werror_flag=$ac_save_c_werror_flag
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4550 if ac_fn_c_try_compile "$LINENO"; then :
4553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 ac_c_werror_flag=$ac_save_c_werror_flag
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4561 $as_echo "$ac_cv_prog_cc_g" >&6; }
4562 if test "$ac_test_CFLAGS" = set; then
4563 CFLAGS=$ac_save_CFLAGS
4564 elif test $ac_cv_prog_cc_g = yes; then
4565 if test "$GCC" = yes; then
4571 if test "$GCC" = yes; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4578 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4579 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4580 $as_echo_n "(cached) " >&6
4582 ac_cv_prog_cc_c89=no
4584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4585 /* end confdefs.h. */
4588 #include <sys/types.h>
4589 #include <sys/stat.h>
4590 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4591 struct buf { int x; };
4592 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4593 static char *e (p, i)
4599 static char *f (char * (*g) (char **, int), char **p, ...)
4604 s = g (p, va_arg (v,int));
4609 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4610 function prototypes and stuff, but not '\xHH' hex character constants.
4611 These don't provoke an error unfortunately, instead are silently treated
4612 as 'x'. The following induces an error, until -std is added to get
4613 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4614 array size at least. It's necessary to write '\x00'==0 to get something
4615 that's true only with -std. */
4616 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4618 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4619 inside strings and character constants. */
4621 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4623 int test (int i, double x);
4624 struct s1 {int (*f) (int a);};
4625 struct s2 {int (*f) (double a);};
4626 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4632 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4637 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4638 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4640 CC="$ac_save_CC $ac_arg"
4641 if ac_fn_c_try_compile "$LINENO"; then :
4642 ac_cv_prog_cc_c89=$ac_arg
4644 rm -f core conftest.err conftest.$ac_objext
4645 test "x$ac_cv_prog_cc_c89" != "xno" && break
4647 rm -f conftest.$ac_ext
4652 case "x$ac_cv_prog_cc_c89" in
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4655 $as_echo "none needed" >&6; } ;;
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4658 $as_echo "unsupported" >&6; } ;;
4660 CC="$CC $ac_cv_prog_cc_c89"
4661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4662 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4664 if test "x$ac_cv_prog_cc_c89" != xno; then :
4669 ac_cpp='$CPP $CPPFLAGS'
4670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4675 ac_cpp='$CXXCPP $CPPFLAGS'
4676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4679 if test -z "$CXX"; then
4680 if test -n "$CCC"; then
4683 if test -n "$ac_tool_prefix"; then
4684 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if test "${ac_cv_prog_CXX+set}" = set; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$CXX"; then
4694 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir=.
4701 for ac_exec_ext in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 if test -n "$CXX"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4716 $as_echo "$CXX" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 test -n "$CXX" && break
4726 if test -z "$CXX"; then
4728 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4730 # Extract the first word of "$ac_prog", so it can be a program name with args.
4731 set dummy $ac_prog; ac_word=$2
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4733 $as_echo_n "checking for $ac_word... " >&6; }
4734 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4735 $as_echo_n "(cached) " >&6
4737 if test -n "$ac_ct_CXX"; then
4738 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 test -z "$as_dir" && as_dir=.
4745 for ac_exec_ext in '' $ac_executable_extensions; do
4746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 ac_cv_prog_ac_ct_CXX="$ac_prog"
4748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4758 if test -n "$ac_ct_CXX"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4760 $as_echo "$ac_ct_CXX" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 test -n "$ac_ct_CXX" && break
4770 if test "x$ac_ct_CXX" = x; then
4773 case $cross_compiling:$ac_tool_warned in
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4777 ac_tool_warned=yes ;;
4785 # Provide some information about the compiler.
4786 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4789 for ac_option in --version -v -V -qversion; do
4790 { { ac_try="$ac_compiler $ac_option >&5"
4792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4793 *) ac_try_echo
=$ac_try;;
4795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4796 $as_echo "$ac_try_echo"; } >&5
4797 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4799 if test -s conftest.err
; then
4801 ... rest of stderr output deleted ...
4802 10q' conftest.err
>conftest.er1
4803 cat conftest.er1
>&5
4804 rm -f conftest.er1 conftest.err
4806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4807 test $ac_status = 0; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4811 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4812 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4813 $as_echo_n "(cached) " >&6
4815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4829 if ac_fn_cxx_try_compile
"$LINENO"; then :
4834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4835 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4839 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4840 if test $ac_compiler_gnu = yes; then
4845 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4846 ac_save_CXXFLAGS
=$CXXFLAGS
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4848 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4849 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4853 ac_cxx_werror_flag
=yes
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4867 if ac_fn_cxx_try_compile
"$LINENO"; then :
4868 ac_cv_prog_cxx_g
=yes
4871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4872 /* end confdefs.h. */
4882 if ac_fn_cxx_try_compile
"$LINENO"; then :
4885 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h. */
4898 if ac_fn_cxx_try_compile
"$LINENO"; then :
4899 ac_cv_prog_cxx_g
=yes
4901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4906 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4909 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4910 if test "$ac_test_CXXFLAGS" = set; then
4911 CXXFLAGS
=$ac_save_CXXFLAGS
4912 elif test $ac_cv_prog_cxx_g = yes; then
4913 if test "$GXX" = yes; then
4919 if test "$GXX" = yes; then
4926 ac_cpp
='$CPP $CPPFLAGS'
4927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4932 # We must set the default linker to the linker used by gcc for the correct
4933 # operation of libtool. If LD is not defined and we are using gcc, try to
4934 # set the LD default to the ld used by gcc.
4935 if test -z "$LD"; then
4936 if test "$GCC" = yes; then
4939 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4941 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4943 case $gcc_prog_ld in
4944 # Accept absolute paths.
4945 [\\/]* |
[A-Za-z
]:[\\/]*)
4946 LD
="$gcc_prog_ld" ;;
4951 # Check whether -static-libstdc++ -static-libgcc is supported.
4953 if test "$GCC" = yes; then
4954 saved_LDFLAGS
="$LDFLAGS"
4956 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4958 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4960 ac_cpp
='$CXXCPP $CPPFLAGS'
4961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4969 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4970 #error -static-libstdc++ not implemented
4974 if ac_fn_cxx_try_link
"$LINENO"; then :
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4976 $as_echo "yes" >&6; }; have_static_libs
=yes
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979 $as_echo "no" >&6; }
4981 rm -f core conftest.err conftest.
$ac_objext \
4982 conftest
$ac_exeext conftest.
$ac_ext
4984 ac_cpp
='$CPP $CPPFLAGS'
4985 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4986 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4987 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4990 LDFLAGS
="$saved_LDFLAGS"
4996 if test -n "$ac_tool_prefix"; then
4997 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4998 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5000 $as_echo_n "checking for $ac_word... " >&6; }
5001 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5002 $as_echo_n "(cached) " >&6
5004 if test -n "$GNATBIND"; then
5005 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5015 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 GNATBIND
=$ac_cv_prog_GNATBIND
5025 if test -n "$GNATBIND"; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5027 $as_echo "$GNATBIND" >&6; }
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5030 $as_echo "no" >&6; }
5035 if test -z "$ac_cv_prog_GNATBIND"; then
5036 ac_ct_GNATBIND
=$GNATBIND
5037 # Extract the first word of "gnatbind", so it can be a program name with args.
5038 set dummy gnatbind
; ac_word
=$2
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5040 $as_echo_n "checking for $ac_word... " >&6; }
5041 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5042 $as_echo_n "(cached) " >&6
5044 if test -n "$ac_ct_GNATBIND"; then
5045 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5054 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5064 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5065 if test -n "$ac_ct_GNATBIND"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5067 $as_echo "$ac_ct_GNATBIND" >&6; }
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5070 $as_echo "no" >&6; }
5073 if test "x$ac_ct_GNATBIND" = x
; then
5076 case $cross_compiling:$ac_tool_warned in
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5079 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5080 ac_tool_warned
=yes ;;
5082 GNATBIND
=$ac_ct_GNATBIND
5085 GNATBIND
="$ac_cv_prog_GNATBIND"
5088 if test -n "$ac_tool_prefix"; then
5089 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5090 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$GNATMAKE"; then
5097 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 GNATMAKE
=$ac_cv_prog_GNATMAKE
5117 if test -n "$GNATMAKE"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5119 $as_echo "$GNATMAKE" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5127 if test -z "$ac_cv_prog_GNATMAKE"; then
5128 ac_ct_GNATMAKE
=$GNATMAKE
5129 # Extract the first word of "gnatmake", so it can be a program name with args.
5130 set dummy gnatmake
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$ac_ct_GNATMAKE"; then
5137 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5157 if test -n "$ac_ct_GNATMAKE"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5159 $as_echo "$ac_ct_GNATMAKE" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5165 if test "x$ac_ct_GNATMAKE" = x
; then
5168 case $cross_compiling:$ac_tool_warned in
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5171 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5172 ac_tool_warned
=yes ;;
5174 GNATMAKE
=$ac_ct_GNATMAKE
5177 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5181 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5182 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5185 cat >conftest.adb
<<EOF
5186 procedure conftest is begin null; end conftest;
5188 acx_cv_cc_gcc_supports_ada
=no
5189 # There is a bug in old released versions of GCC which causes the
5190 # driver to exit successfully when the appropriate language module
5191 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5192 # Therefore we must check for the error message as well as an
5193 # unsuccessful exit.
5194 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5195 # given a .adb file, but produce no object file. So we must check
5196 # if an object file was really produced to guard against this.
5197 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5198 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5199 acx_cv_cc_gcc_supports_ada
=yes
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5204 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5206 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5213 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5214 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5215 $as_echo_n "(cached) " >&6
5219 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5220 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5221 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5224 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5227 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5228 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5231 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5238 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5239 do_compare
="$gcc_cv_prog_cmp_skip"
5243 # Check whether --enable-bootstrap was given.
5244 if test "${enable_bootstrap+set}" = set; then :
5245 enableval
=$enable_bootstrap;
5247 enable_bootstrap
=default
5251 # Issue errors and warnings for invalid/strange bootstrap combinations.
5252 if test -r $srcdir/gcc
/configure
; then
5258 case "$have_compiler:$host:$target:$enable_bootstrap" in
5261 # Default behavior. Enable bootstrap if we have a compiler
5262 # and we are in a native configuration.
5263 yes:$build:$build:default
)
5264 enable_bootstrap
=yes ;;
5267 enable_bootstrap
=no
;;
5269 # We have a compiler and we are in a native configuration, bootstrap is ok
5270 yes:$build:$build:yes)
5273 # Other configurations, but we have a compiler. Assume the user knows
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5277 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5280 # No compiler: if they passed --enable-bootstrap explicitly, fail
5282 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5284 # Fail if wrong command line
5286 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5290 # Used for setting $lt_cv_objdir
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5292 $as_echo_n "checking for objdir... " >&6; }
5293 if test "${lt_cv_objdir+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 rm -f .libs
2>/dev
/null
5297 mkdir .libs
2>/dev
/null
5298 if test -d .libs
; then
5301 # MS-DOS does not allow filenames that begin with a dot.
5304 rmdir .libs
2>/dev
/null
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5307 $as_echo "$lt_cv_objdir" >&6; }
5308 objdir
=$lt_cv_objdir
5314 cat >>confdefs.h
<<_ACEOF
5315 #define LT_OBJDIR "$lt_cv_objdir/"
5320 # Check for GMP, MPFR and MPC
5321 gmplibs
="-lmpc -lmpfr -lgmp"
5325 # Specify a location for mpc
5326 # check for this first so it ends up on the link line before mpfr.
5328 # Check whether --with-mpc was given.
5329 if test "${with_mpc+set}" = set; then :
5334 # Check whether --with-mpc-include was given.
5335 if test "${with_mpc_include+set}" = set; then :
5336 withval
=$with_mpc_include;
5340 # Check whether --with-mpc-lib was given.
5341 if test "${with_mpc_lib+set}" = set; then :
5342 withval
=$with_mpc_lib;
5346 if test "x$with_mpc" != x
; then
5347 gmplibs
="-L$with_mpc/lib $gmplibs"
5348 gmpinc
="-I$with_mpc/include $gmpinc"
5350 if test "x$with_mpc_include" != x
; then
5351 gmpinc
="-I$with_mpc_include $gmpinc"
5353 if test "x$with_mpc_lib" != x
; then
5354 gmplibs
="-L$with_mpc_lib $gmplibs"
5356 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5357 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5358 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5359 # Do not test the mpc version. Assume that it is sufficient, since
5360 # it is in the source tree, and the library has not been built yet
5361 # but it would be included on the link line in the version check below
5362 # hence making the test fail.
5366 # Specify a location for mpfr
5367 # check for this first so it ends up on the link line before gmp.
5369 # Check whether --with-mpfr-dir was given.
5370 if test "${with_mpfr_dir+set}" = set; then :
5371 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5372 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5377 # Check whether --with-mpfr was given.
5378 if test "${with_mpfr+set}" = set; then :
5383 # Check whether --with-mpfr-include was given.
5384 if test "${with_mpfr_include+set}" = set; then :
5385 withval
=$with_mpfr_include;
5389 # Check whether --with-mpfr-lib was given.
5390 if test "${with_mpfr_lib+set}" = set; then :
5391 withval
=$with_mpfr_lib;
5395 if test "x$with_mpfr" != x
; then
5396 gmplibs
="-L$with_mpfr/lib $gmplibs"
5397 gmpinc
="-I$with_mpfr/include $gmpinc"
5399 if test "x$with_mpfr_include" != x
; then
5400 gmpinc
="-I$with_mpfr_include $gmpinc"
5402 if test "x$with_mpfr_lib" != x
; then
5403 gmplibs
="-L$with_mpfr_lib $gmplibs"
5405 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5406 # MPFR v3.1.0 moved the sources into a src sub-directory.
5407 if test -d ${srcdir}/mpfr
/src
; then
5408 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5409 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5410 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5412 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5413 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5414 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5416 # Do not test the mpfr version. Assume that it is sufficient, since
5417 # it is in the source tree, and the library has not been built yet
5418 # but it would be included on the link line in the version check below
5419 # hence making the test fail.
5423 # Specify a location for gmp
5425 # Check whether --with-gmp-dir was given.
5426 if test "${with_gmp_dir+set}" = set; then :
5427 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5428 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5433 # Check whether --with-gmp was given.
5434 if test "${with_gmp+set}" = set; then :
5439 # Check whether --with-gmp-include was given.
5440 if test "${with_gmp_include+set}" = set; then :
5441 withval
=$with_gmp_include;
5445 # Check whether --with-gmp-lib was given.
5446 if test "${with_gmp_lib+set}" = set; then :
5447 withval
=$with_gmp_lib;
5452 if test "x$with_gmp" != x
; then
5453 gmplibs
="-L$with_gmp/lib $gmplibs"
5454 gmpinc
="-I$with_gmp/include $gmpinc"
5456 if test "x$with_gmp_include" != x
; then
5457 gmpinc
="-I$with_gmp_include $gmpinc"
5459 if test "x$with_gmp_lib" != x
; then
5460 gmplibs
="-L$with_gmp_lib $gmplibs"
5462 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5463 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5464 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5465 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5466 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5467 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5468 # Do not test the gmp version. Assume that it is sufficient, since
5469 # it is in the source tree, and the library has not been built yet
5470 # but it would be included on the link line in the version check below
5471 # hence making the test fail.
5475 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5477 saved_CFLAGS
="$CFLAGS"
5478 CFLAGS
="$CFLAGS $gmpinc"
5479 # Check for the recommended and required versions of GMP.
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5481 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5484 /* end confdefs.h. */
5490 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5491 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5492 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5500 if ac_fn_c_try_compile
"$LINENO"; then :
5501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5502 /* end confdefs.h. */
5508 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5509 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5510 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5518 if ac_fn_c_try_compile
"$LINENO"; then :
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5520 $as_echo "yes" >&6; }
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5523 $as_echo "buggy but acceptable" >&6; }
5525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }; have_gmp
=no
5530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5532 # If we have GMP, check the MPFR version.
5533 if test x
"$have_gmp" = xyes
; then
5534 # Check for the recommended and required versions of MPFR.
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5536 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5545 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5553 if ac_fn_c_try_compile
"$LINENO"; then :
5554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5562 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5570 if ac_fn_c_try_compile
"$LINENO"; then :
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5572 $as_echo "yes" >&6; }
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5575 $as_echo "buggy but acceptable" >&6; }
5577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580 $as_echo "no" >&6; }; have_gmp
=no
5582 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5585 # Check for the MPC header version.
5586 if test x
"$have_gmp" = xyes
; then
5587 # Check for the recommended and required versions of MPC.
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5589 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5591 /* end confdefs.h. */
5597 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5605 if ac_fn_c_try_compile
"$LINENO"; then :
5606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5607 /* end confdefs.h. */
5613 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5621 if ac_fn_c_try_compile
"$LINENO"; then :
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5623 $as_echo "yes" >&6; }
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5626 $as_echo "buggy but acceptable" >&6; }
5628 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5631 $as_echo "no" >&6; }; have_gmp
=no
5633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5636 # Now check the MPFR library.
5637 if test x
"$have_gmp" = xyes
; then
5639 LIBS
="$LIBS $gmplibs"
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5641 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5655 mpfr_atan2 (n, n, x, GMP_RNDN);
5656 mpfr_erfc (n, x, GMP_RNDN);
5657 mpfr_subnormalize (x, t, GMP_RNDN);
5661 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5662 mpc_cosh (c, c, MPC_RNDNN);
5663 mpc_pow (c, c, c, MPC_RNDNN);
5664 mpc_acosh (c, c, MPC_RNDNN);
5671 if ac_fn_c_try_link
"$LINENO"; then :
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5673 $as_echo "yes" >&6; }
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }; have_gmp
=no
5678 rm -f core conftest.err conftest.
$ac_objext \
5679 conftest
$ac_exeext conftest.
$ac_ext
5683 CFLAGS
="$saved_CFLAGS"
5685 # The library versions listed in the error message below should match
5686 # the HARD-minimums enforced above.
5687 if test x
$have_gmp != xyes
; then
5688 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5689 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5690 their locations. Source code for these libraries can be found at
5691 their respective hosting sites as well as at
5692 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5693 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5694 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5695 make sure that you have installed both the libraries and the header
5696 files. They may be located in separate packages." "$LINENO" 5
5700 # Flags needed for both GMP, MPFR and/or MPC.
5708 # Allow host libstdc++ to be specified for static linking with PPL.
5710 # Check whether --with-host-libstdcxx was given.
5711 if test "${with_host_libstdcxx+set}" = set; then :
5712 withval
=$with_host_libstdcxx;
5716 case $with_host_libstdcxx in
5718 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5722 # Libraries to use for stage1 or when not bootstrapping.
5724 # Check whether --with-stage1-libs was given.
5725 if test "${with_stage1_libs+set}" = set; then :
5726 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5729 stage1_libs
=$withval
5732 stage1_libs
=$with_host_libstdcxx
5737 # Linker flags to use for stage1 or when not bootstrapping.
5739 # Check whether --with-stage1-ldflags was given.
5740 if test "${with_stage1_ldflags+set}" = set; then :
5741 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5744 stage1_ldflags
=$withval
5748 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5749 # if supported. But if the user explicitly specified the libraries to use,
5750 # trust that they are doing what they want.
5751 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5752 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5758 # Libraries to use for stage2 and later builds. This defaults to the
5759 # argument passed to --with-host-libstdcxx.
5761 # Check whether --with-boot-libs was given.
5762 if test "${with_boot_libs+set}" = set; then :
5763 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5766 poststage1_libs
=$withval
5769 poststage1_libs
=$with_host_libstdcxx
5774 # Linker flags to use for stage2 and later builds.
5776 # Check whether --with-boot-ldflags was given.
5777 if test "${with_boot_ldflags+set}" = set; then :
5778 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5781 poststage1_ldflags
=$withval
5785 # In stages 2 and 3, default to linking libstdc++ and libgcc
5786 # statically. But if the user explicitly specified the libraries to
5787 # use, trust that they are doing what they want.
5788 if test "$poststage1_libs" = ""; then
5789 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5795 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5796 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5800 # Check whether --with-cloog was given.
5801 if test "${with_cloog+set}" = set; then :
5802 withval
=$with_cloog;
5806 # Check whether --with-isl was given.
5807 if test "${with_isl+set}" = set; then :
5812 # Treat --without-isl as a request to disable
5813 # GRAPHITE support and skip all following checks.
5814 if test "x$with_isl" != "xno"; then
5818 # Check whether --with-isl-include was given.
5819 if test "${with_isl_include+set}" = set; then :
5820 withval
=$with_isl_include;
5824 # Check whether --with-isl-lib was given.
5825 if test "${with_isl_lib+set}" = set; then :
5826 withval
=$with_isl_lib;
5830 # Check whether --enable-isl-version-check was given.
5831 if test "${enable_isl_version_check+set}" = set; then :
5832 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5834 ENABLE_ISL_CHECK
=yes
5838 # Initialize isllibs and islinc.
5847 isllibs
="-L$with_isl/lib"
5848 islinc
="-I$with_isl/include"
5851 if test "x${with_isl_include}" != x
; then
5852 islinc
="-I$with_isl_include"
5854 if test "x${with_isl_lib}" != x
; then
5855 isllibs
="-L$with_isl_lib"
5857 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5858 && test -d ${srcdir}/isl
; then
5859 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5860 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5863 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5866 islinc
="-DCLOOG_INT_GMP ${islinc}"
5867 isllibs
="${isllibs} -lisl"
5871 if test "${ENABLE_ISL_CHECK}" = yes ; then
5872 _isl_saved_CFLAGS
=$CFLAGS
5873 _isl_saved_LDFLAGS
=$LDFLAGS
5874 _isl_saved_LIBS
=$LIBS
5876 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5877 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5878 LIBS
="${_isl_saved_LIBS} -lisl"
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5881 $as_echo_n "checking for compatible ISL... " >&6; }
5882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5883 /* end confdefs.h. */
5884 #include <isl/val.h>
5893 if ac_fn_c_try_link
"$LINENO"; then :
5898 rm -f core conftest.err conftest.
$ac_objext \
5899 conftest
$ac_exeext conftest.
$ac_ext
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5901 $as_echo "$gcc_cv_isl" >&6; }
5903 CFLAGS
=$_isl_saved_CFLAGS
5904 LDFLAGS
=$_isl_saved_LDFLAGS
5905 LIBS
=$_isl_saved_LIBS
5913 if test "x${with_isl}" = xno
; then
5914 graphite_requested
=no
5915 elif test "x${with_isl}" != x \
5916 ||
test "x${with_isl_include}" != x \
5917 ||
test "x${with_isl_lib}" != x
; then
5918 graphite_requested
=yes
5920 graphite_requested
=no
5925 if test "${gcc_cv_isl}" = no
; then
5930 if test "${graphite_requested}" = yes \
5931 && test "x${isllibs}" = x \
5932 && test "x${islinc}" = x
; then
5934 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5939 if test "x$gcc_cv_isl" != "xno"; then
5943 # Check whether --with-cloog-include was given.
5944 if test "${with_cloog_include+set}" = set; then :
5945 withval
=$with_cloog_include;
5949 # Check whether --with-cloog-lib was given.
5950 if test "${with_cloog_lib+set}" = set; then :
5951 withval
=$with_cloog_lib;
5955 # Check whether --enable-cloog-version-check was given.
5956 if test "${enable_cloog_version_check+set}" = set; then :
5957 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5959 ENABLE_CLOOG_CHECK
=yes
5963 # Initialize clooglibs and clooginc.
5972 clooglibs
="-L$with_cloog/lib"
5973 clooginc
="-I$with_cloog/include"
5976 if test "x${with_cloog_include}" != x
; then
5977 clooginc
="-I$with_cloog_include"
5979 if test "x${with_cloog_lib}" != x
; then
5980 clooglibs
="-L$with_cloog_lib"
5982 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5983 && test -d ${srcdir}/cloog
; then
5984 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5985 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include'
5986 ENABLE_CLOOG_CHECK
=no
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
5988 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
5991 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5992 clooglibs
="${clooglibs} -lcloog-isl"
5998 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5999 _cloog_saved_CFLAGS
=$CFLAGS
6000 _cloog_saved_LDFLAGS
=$LDFLAGS
6002 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6003 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.1 of CLooG" >&5
6006 $as_echo_n "checking for version 0.18.1 of CLooG... " >&6; }
6007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6008 /* end confdefs.h. */
6009 #include "cloog/version.h"
6013 #if CLOOG_VERSION_MAJOR != 0 \
6014 || CLOOG_VERSION_MINOR != 18 \
6015 || CLOOG_VERSION_REVISION < 1
6022 if ac_fn_c_try_compile
"$LINENO"; then :
6027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6029 $as_echo "$gcc_cv_cloog" >&6; }
6031 CFLAGS
=$_cloog_saved_CFLAGS
6032 LDFLAGS
=$_cloog_saved_LDFLAGS
6041 if test "x${with_cloog}" = xno
; then
6042 graphite_requested
=no
6043 elif test "x${with_cloog}" != x \
6044 ||
test "x${with_cloog_include}" != x \
6045 ||
test "x${with_cloog_lib}" != x
; then
6046 graphite_requested
=yes
6048 graphite_requested
=no
6053 if test "${gcc_cv_cloog}" = no
; then
6058 if test "${graphite_requested}" = yes \
6059 && test "x${clooglibs}" = x \
6060 && test "x${clooginc}" = x
; then
6062 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6069 # If the ISL check failed, disable builds of in-tree
6070 # variants of both ISL and CLooG
6071 if test "x$with_isl" = xno ||
6072 test "x$gcc_cv_isl" = xno
; then
6073 noconfigdirs
="$noconfigdirs cloog isl"
6079 # If the CLooG check failed, disable builds of in-tree
6081 if test "x$with_cloog" = xno ||
6082 test "x$gcc_cv_cloog" = xno
; then
6083 noconfigdirs
="$noconfigdirs cloog isl"
6093 # Check for LTO support.
6094 # Check whether --enable-lto was given.
6095 if test "${enable_lto+set}" = set; then :
6096 enableval
=$enable_lto; enable_lto
=$enableval
6098 enable_lto
=yes; default_enable_lto
=yes
6107 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6108 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6109 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6117 if test $target_elf = yes; then :
6118 # ELF platforms build the lto-plugin always.
6119 build_lto_plugin
=yes
6122 if test x
"$default_enable_lto" = x
"yes" ; then
6124 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6125 # On other non-ELF platforms, LTO has yet to be validated.
6129 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6130 # It would also be nice to check the binutils support, but we don't
6131 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6132 # warn during gcc/ subconfigure; unless you're bootstrapping with
6133 # -flto it won't be needed until after installation anyway.
6135 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6136 *) if test x
"$enable_lto" = x
"yes"; then
6137 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6142 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6143 # Build it unless LTO was explicitly disabled.
6145 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6152 # Check whether --enable-linker-plugin-configure-flags was given.
6153 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6154 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6156 extra_linker_plugin_configure_flags
=
6160 # Check whether --enable-linker-plugin-flags was given.
6161 if test "${enable_linker_plugin_flags+set}" = set; then :
6162 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6164 extra_linker_plugin_flags
=
6170 # By default, C and C++ are the only stage 1 languages.
6171 stage1_languages
=,c
,
6173 # Target libraries that we bootstrap.
6174 bootstrap_target_libs
=,target-libgcc
,
6176 # Figure out what language subdirectories are present.
6177 # Look if the user specified --enable-languages="..."; if not, use
6178 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6180 # NB: embedded tabs in this IF block -- do not untabify
6181 if test -d ${srcdir}/gcc
; then
6182 if test x
"${enable_languages+set}" != xset
; then
6183 if test x
"${LANGUAGES+set}" = xset
; then
6184 enable_languages
="${LANGUAGES}"
6185 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6187 enable_languages
=all
6190 if test x
"${enable_languages}" = x ||
6191 test x
"${enable_languages}" = xyes
;
6193 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6197 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6199 # 'f95' is the old name for the 'fortran' language. We issue a warning
6200 # and make the substitution.
6201 case ,${enable_languages}, in
6203 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6204 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6208 # If bootstrapping, C++ must be enabled.
6209 case ",$enable_languages,:$enable_bootstrap" in
6212 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6213 enable_languages
="${enable_languages},c++"
6215 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6220 # First scan to see if an enabled language requires some other language.
6221 # We assume that a given config-lang.in will list all the language
6222 # front ends it requires, even if some are required indirectly.
6223 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6224 case ${lang_frag} in
6226 # The odd quoting in the next line works around
6227 # an apparent bug in bash 1.12 on linux.
6228 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6230 # From the config-lang.in, get $language, $lang_requires, and
6231 # $lang_requires_boot_languages.
6234 lang_requires_boot_languages
=
6236 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6237 case ,${enable_languages}, in
6241 echo " \`$other' language required by \`$language'; enabling" 1>&2
6242 enable_languages
="${enable_languages},${other}"
6246 for other
in ${lang_requires_boot_languages} ; do
6247 if test "$other" != "c"; then
6248 case ,${enable_stage1_languages}, in
6252 case ,${enable_languages}, in
6254 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6255 enable_stage1_languages
="$enable_stage1_languages,${other}"
6266 new_enable_languages
=,c
,
6268 # If LTO is enabled, add the LTO front end.
6269 extra_host_libiberty_configure_flags
=
6270 if test "$enable_lto" = "yes" ; then
6271 case ,${enable_languages}, in
6273 *) enable_languages
="${enable_languages},lto" ;;
6275 if test "${build_lto_plugin}" = "yes" ; then
6276 configdirs
="$configdirs lto-plugin"
6277 extra_host_libiberty_configure_flags
=--enable-shared
6282 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6283 potential_languages
=,c
,
6285 enabled_target_libs
=
6286 disabled_target_libs
=
6288 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6289 case ${lang_frag} in
6291 # The odd quoting in the next line works around
6292 # an apparent bug in bash 1.12 on linux.
6293 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6295 # From the config-lang.in, get $language, $target_libs,
6296 # $lang_dirs, $boot_language, and $build_by_default
6302 build_by_default
=yes
6304 if test x
${language} = x
; then
6305 echo "${lang_frag} doesn't set \$language." 1>&2
6309 if test "$language" = "c++"; then
6314 case ,${enable_languages}, in
6316 # Language was explicitly selected; include it
6317 # unless it is C, which is enabled by default.
6318 if test "$language" != "c"; then
6323 # 'all' was selected, select it if it is a default language
6324 if test "$language" != "c"; then
6325 add_this_lang
=${build_by_default}
6330 # Disable languages that need other directories if these aren't available.
6331 for i
in $subdir_requires; do
6332 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6333 case ,${enable_languages}, in
6335 # Specifically requested language; tell them.
6336 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6340 add_this_lang
=unsupported
6345 # Disable Ada if no preexisting GNAT is available.
6346 case ,${enable_languages},:${language}:${have_gnat} in
6347 *,${language},*:ada
:no
)
6348 # Specifically requested language; tell them.
6349 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6353 add_this_lang
=unsupported
6357 # Disable a language that is unsupported by the target.
6358 case " $unsupported_languages " in
6360 add_this_lang
=unsupported
6364 case $add_this_lang in
6366 # Remove language-dependent dirs.
6367 disabled_target_libs
="$disabled_target_libs $target_libs"
6368 noconfigdirs
="$noconfigdirs $lang_dirs"
6371 # Remove language-dependent dirs; still show language as supported.
6372 disabled_target_libs
="$disabled_target_libs $target_libs"
6373 noconfigdirs
="$noconfigdirs $lang_dirs"
6374 potential_languages
="${potential_languages}${language},"
6377 new_enable_languages
="${new_enable_languages}${language},"
6378 potential_languages
="${potential_languages}${language},"
6379 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6380 enabled_target_libs
="$enabled_target_libs $target_libs"
6381 case "${boot_language}:,$enable_stage1_languages," in
6382 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6383 # Add to (comma-separated) list of stage 1 languages.
6384 case ",$stage1_languages," in
6385 *,$language,* |
,yes, |
,all
,) ;;
6386 *) stage1_languages
="${stage1_languages}${language}," ;;
6388 # We need to bootstrap any supporting libraries.
6389 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6398 # Add target libraries which are only needed for disabled languages
6400 if test -n "$disabled_target_libs"; then
6401 for dir
in $disabled_target_libs; do
6402 case " $enabled_target_libs " in
6404 *) noconfigdirs
="$noconfigdirs $dir" ;;
6409 # Check whether --enable-stage1-languages was given.
6410 if test "${enable_stage1_languages+set}" = set; then :
6411 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6413 # Set it to something that will have no effect in the loop below
6414 enable_stage1_languages
=c
;;
6416 enable_stage1_languages
=`echo $new_enable_languages | \
6417 sed -e "s/^,//" -e "s/,$//" ` ;;
6419 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6420 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6423 # Add "good" languages from enable_stage1_languages to stage1_languages,
6424 # while "bad" languages go in missing_languages. Leave no duplicates.
6425 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6426 case $potential_languages in
6428 case $stage1_languages in
6430 *) stage1_languages
="$stage1_languages$i," ;;
6433 case $missing_languages in
6435 *) missing_languages
="$missing_languages$i," ;;
6442 # Remove leading/trailing commas that were added for simplicity
6443 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6444 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6445 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6446 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6448 if test "x$missing_languages" != x
; then
6450 The following requested languages could not be built: ${missing_languages}
6451 Supported languages are: ${potential_languages}" "$LINENO" 5
6453 if test "x$new_enable_languages" != "x$enable_languages"; then
6454 echo The following languages will be built
: ${new_enable_languages}
6455 enable_languages
="$new_enable_languages"
6459 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6462 # Handle --disable-<component> generically.
6463 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6464 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6465 varname
=`echo $dirname | sed -e s/+/_/g`
6466 if eval test x\
${enable_${varname}} "=" xno
; then
6467 noconfigdirs
="$noconfigdirs $dir"
6471 # Check for Boehm's garbage collector
6472 # Check whether --enable-objc-gc was given.
6473 if test "${enable_objc_gc+set}" = set; then :
6474 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6475 *,objc
,*:*:yes:*target-boehm-gc
*)
6476 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6482 # Make sure we only build Boehm's garbage collector if required.
6483 case ,${enable_languages},:${enable_objc_gc} in
6485 # Keep target-boehm-gc if requested for Objective-C.
6488 # Otherwise remove target-boehm-gc depending on target-libjava.
6489 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6490 noconfigdirs
="$noconfigdirs target-boehm-gc"
6495 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6496 case ,${enable_languages}, in
6498 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6499 case "${noconfigdirs}" in
6500 *target-libstdc
++-v3*)
6501 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6507 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6511 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6512 # $build_configdirs and $target_configdirs.
6513 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6516 for dir
in .
$skipdirs $noconfigdirs ; do
6517 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6518 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6519 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6520 if test -r $srcdir/$dirname/configure
; then
6521 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6524 notsupp
="$notsupp $dir"
6528 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6529 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6530 if test -r $srcdir/$dirname/configure
; then
6531 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6534 notsupp
="$notsupp $dir"
6538 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6539 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6540 if test -r $srcdir/$dirname/configure
; then
6541 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6544 notsupp
="$notsupp $dir"
6550 # Quietly strip out all directories which aren't configurable in this tree.
6551 # This relies on all configurable subdirectories being autoconfiscated, which
6553 build_configdirs_all
="$build_configdirs"
6555 for i
in ${build_configdirs_all} ; do
6556 j
=`echo $i | sed -e s/build-//g`
6557 if test -f ${srcdir}/$j/configure
; then
6558 build_configdirs
="${build_configdirs} $i"
6562 configdirs_all
="$configdirs"
6564 for i
in ${configdirs_all} ; do
6565 if test -f ${srcdir}/$i/configure
; then
6566 configdirs
="${configdirs} $i"
6570 target_configdirs_all
="$target_configdirs"
6572 for i
in ${target_configdirs_all} ; do
6573 j
=`echo $i | sed -e s/target-//g`
6574 if test -f ${srcdir}/$j/configure
; then
6575 target_configdirs
="${target_configdirs} $i"
6579 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6580 # so we have to add it after the preceding checks.
6581 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6583 case " $configdirs " in
6585 # If we can build libiberty, we can also build libiberty-linker-plugin.
6586 configdirs
="$configdirs libiberty-linker-plugin"
6587 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6588 --with-libiberty=../libiberty-linker-plugin";;
6590 as_fn_error
"libiberty missing" "$LINENO" 5;;
6594 # Produce a warning message for the subdirs we can't configure.
6595 # This isn't especially interesting in the Cygnus tree, but in the individual
6596 # FSF releases, it's important to let people know when their machine isn't
6597 # supported by the one or two programs in a package.
6599 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6600 # If $appdirs is non-empty, at least one of those directories must still
6601 # be configured, or we error out. (E.g., if the gas release supports a
6602 # specified target in some subdirs but not the gas subdir, we shouldn't
6603 # pretend that all is well.)
6604 if test -n "$appdirs" ; then
6605 for dir
in $appdirs ; do
6606 if test -r $dir/Makefile.
in ; then
6607 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6611 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6617 if test -n "$appdirs" ; then
6618 echo "*** This configuration is not supported by this package." 1>&2
6622 # Okay, some application will build, or we don't care to check. Still
6623 # notify of subdirs not getting built.
6624 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6625 echo " ${notsupp}" 1>&2
6626 echo " (Any other directories should still work fine.)" 1>&2
6634 # To find our prefix, in gcc_cv_tool_prefix.
6636 # The user is always right.
6637 if test "${PATH_SEPARATOR+set}" != set; then
6638 echo "#! /bin/sh" >conf$$.sh
6639 echo "exit 0" >>conf$$.sh
6641 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6651 if test "x$exec_prefix" = xNONE
; then
6652 if test "x$prefix" = xNONE
; then
6653 gcc_cv_tool_prefix
=$ac_default_prefix
6655 gcc_cv_tool_prefix
=$prefix
6658 gcc_cv_tool_prefix
=$exec_prefix
6661 # If there is no compiler in the tree, use the PATH only. In any
6662 # case, if there is no compiler in the tree nobody should use
6663 # AS_FOR_TARGET and LD_FOR_TARGET.
6664 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6665 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6666 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6667 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6668 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6669 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6670 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6671 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6676 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6677 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6685 # Check whether --with-build-sysroot was given.
6686 if test "${with_build_sysroot+set}" = set; then :
6687 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6688 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6691 SYSROOT_CFLAGS_FOR_TARGET
=
6697 # Check whether --with-debug-prefix-map was given.
6698 if test "${with_debug_prefix_map+set}" = set; then :
6699 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6700 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6701 for debug_map
in $withval; do
6702 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6706 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6711 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6712 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6713 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6714 # We want to ensure that TARGET libraries (which we know are built with
6715 # gcc) are built with "-O2 -g", so include those options when setting
6716 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6717 if test "x$CFLAGS_FOR_TARGET" = x
; then
6718 CFLAGS_FOR_TARGET
=$CFLAGS
6721 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6724 *" -g "* |
*" -g3 "*) ;;
6725 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6730 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6731 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6732 case " $CXXFLAGS " in
6734 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6736 case " $CXXFLAGS " in
6737 *" -g "* |
*" -g3 "*) ;;
6738 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6745 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6746 # the named directory are copied to $(tooldir)/sys-include.
6747 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6748 if test x
${is_cross_compiler} = xno
; then
6749 echo 1>&2 '***' --with-headers is only supported when cross compiling
6752 if test x
"${with_headers}" != xyes
; then
6753 x
=${gcc_cv_tool_prefix}
6754 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6758 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6759 # the name directories are copied to $(tooldir)/lib. Multiple directories
6761 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6762 if test x
${is_cross_compiler} = xno
; then
6763 echo 1>&2 '***' --with-libs is only supported when cross compiling
6766 if test x
"${with_libs}" != xyes
; then
6767 # Copy the libraries in reverse order, so that files in the first named
6768 # library override files in subsequent libraries.
6769 x
=${gcc_cv_tool_prefix}
6770 for l
in ${with_libs}; do
6771 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6776 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6778 # This is done by determining whether or not the appropriate directory
6779 # is available, and by checking whether or not specific configurations
6780 # have requested that this magic not happen.
6782 # The command line options always override the explicit settings in
6783 # configure.in, and the settings in configure.in override this magic.
6785 # If the default for a toolchain is to use GNU as and ld, and you don't
6786 # want to do that, then you should use the --without-gnu-as and
6787 # --without-gnu-ld options for the configure script. Similarly, if
6788 # the default is to use the included zlib and you don't want to do that,
6789 # you should use the --with-system-zlib option for the configure script.
6791 if test x
${use_gnu_as} = x
&&
6792 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6794 extra_host_args
="$extra_host_args --with-gnu-as"
6797 if test x
${use_gnu_ld} = x
&&
6798 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6800 extra_host_args
="$extra_host_args --with-gnu-ld"
6803 if test x
${use_included_zlib} = x
&&
6804 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6807 with_system_zlib
=yes
6808 extra_host_args
="$extra_host_args --with-system-zlib"
6811 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6812 # can detect this case.
6814 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6816 extra_host_args
="$extra_host_args --with-newlib"
6819 # Handle ${copy_dirs}
6820 set fnord
${copy_dirs}
6822 while test $# != 0 ; do
6823 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6826 echo Copying
$1 to
$2
6828 # Use the install script to create the directory and all required
6829 # parent directories.
6830 if test -d $2 ; then
6834 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6837 # Copy the directory, assuming we have tar.
6838 # FIXME: Should we use B in the second tar? Not all systems support it.
6839 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6841 # It is the responsibility of the user to correctly adjust all
6842 # symlinks. If somebody can figure out how to handle them correctly
6843 # here, feel free to add the code.
6850 # Determine a target-dependent exec_prefix that the installed
6851 # gcc will search in. Keep this list sorted by triplet, with
6852 # the *-*-osname triplets last.
6855 i
[34567]86-pc-msdosdjgpp*)
6856 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6861 md_exec_prefix
=/usr
/ccs
/bin
6865 extra_arflags_for_target
=
6866 extra_nmflags_for_target
=
6867 extra_ranlibflags_for_target
=
6868 target_makefile_frag
=/dev
/null
6871 target_makefile_frag
="config/mt-spu"
6873 mips
*-sde-elf* | mips
*-mti-elf*)
6874 target_makefile_frag
="config/mt-sde"
6876 mipsisa
*-*-elfoabi*)
6877 target_makefile_frag
="config/mt-mips-elfoabi"
6879 mips
*-*-*linux
* | mips
*-*-gnu*)
6880 target_makefile_frag
="config/mt-mips-gnu"
6883 target_makefile_frag
="config/mt-nios2-elf"
6885 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6886 target_makefile_frag
="config/mt-gnu"
6888 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6889 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6890 # commands to handle both 32-bit and 64-bit objects. These flags are
6891 # harmless if we're using GNU nm or ar.
6892 extra_arflags_for_target
=" -X32_64"
6893 extra_nmflags_for_target
=" -B -X32_64"
6897 alphaieee_frag
=/dev
/null
6900 # This just makes sure to use the -mieee option to build target libs.
6901 # This should probably be set individually by each library.
6902 alphaieee_frag
="config/mt-alphaieee"
6906 # If --enable-target-optspace always use -Os instead of -O2 to build
6907 # the target libraries, similarly if it is not specified, use -Os
6908 # on selected platforms.
6909 ospace_frag
=/dev
/null
6910 case "${enable_target_optspace}:${target}" in
6912 ospace_frag
="config/mt-ospace"
6915 ospace_frag
="config/mt-d30v"
6917 :m32r-
* |
:d10v-
* |
:fr30-
*)
6918 ospace_frag
="config/mt-ospace"
6923 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6927 # Some systems (e.g., one of the i386-aix systems the gas testers are
6928 # using) don't handle "\$" correctly, so don't use it here.
6929 tooldir
='${exec_prefix}'/${target_noncanonical}
6930 build_tooldir
=${tooldir}
6932 # Create a .gdbinit file which runs the one in srcdir
6933 # and tells GDB to look there for source files.
6935 if test -r ${srcdir}/.gdbinit
; then
6938 *) cat > .
/.gdbinit
<<EOF
6942 source ${srcdir}/.gdbinit
6948 # Make sure that the compiler is able to generate an executable. If it
6949 # can't, we are probably in trouble. We don't care whether we can run the
6950 # executable--we might be using a cross compiler--we only care whether it
6951 # can be created. At this point the main configure script has set CC.
6953 echo "int main () { return 0; }" > conftest.c
6954 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6955 if test $?
= 0 ; then
6956 if test -s conftest ||
test -s conftest.exe
; then
6962 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6963 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6970 # Decide which environment variable is used to find dynamic libraries.
6972 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6973 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6974 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6975 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6978 # On systems where the dynamic library environment variable is PATH,
6979 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6980 # built executables to PATH.
6981 if test "$RPATH_ENVVAR" = PATH
; then
6982 GCC_SHLIB_SUBDIR
=/shlib
6987 # Adjust the toplevel makefile according to whether bootstrap was selected.
6988 case $enable_bootstrap in
6990 bootstrap_suffix
=bootstrap
6991 BUILD_CONFIG
=bootstrap-debug
6994 bootstrap_suffix
=no-bootstrap
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7000 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7003 # Check whether --with-build-config was given.
7004 if test "${with_build_config+set}" = set; then :
7005 withval
=$with_build_config; case $with_build_config in
7006 yes) with_build_config
= ;;
7007 no
) with_build_config
= BUILD_CONFIG
= ;;
7012 if test "x${with_build_config}" != x
; then
7013 BUILD_CONFIG
=$with_build_config
7015 case $BUILD_CONFIG in
7017 if echo "int f (void) { return 0; }" > conftest.c
&&
7018 ${CC} -c conftest.c
&&
7019 mv conftest.o conftest.o.g0
&&
7020 ${CC} -c -g conftest.c
&&
7021 mv conftest.o conftest.o.g
&&
7022 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7027 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7032 $as_echo "$BUILD_CONFIG" >&6; }
7035 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7037 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7038 # Check whether --enable-vtable-verify was given.
7039 if test "${enable_vtable_verify+set}" = set; then :
7040 enableval
=$enable_vtable_verify; case "$enableval" in
7041 yes) enable_vtable_verify
=yes ;;
7042 no
) enable_vtable_verify
=no
;;
7043 *) enable_vtable_verify
=no
;;
7046 enable_vtable_verify
=no
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7050 $as_echo "$enable_vtable_verify" >&6; }
7052 # Record target_configdirs and the configure arguments for target and
7053 # build configuration in Makefile.
7054 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7055 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7056 bootstrap_fixincludes
=no
7058 # If we are building libgomp, bootstrap it.
7059 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7060 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7063 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7064 # or bootstrap-ubsan, bootstrap it.
7065 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7066 case "$BUILD_CONFIG" in
7067 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7068 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7069 bootstrap_fixincludes
=yes
7074 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7075 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7076 test "$enable_vtable_verify" != no
; then
7077 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7080 # Determine whether gdb needs tk/tcl or not.
7081 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7082 # and in that case we want gdb to be built without tk. Ugh!
7083 # In fact I believe gdb is the *only* package directly dependent on tk,
7084 # so we should be able to put the 'maybe's in unconditionally and
7085 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7086 # 100% sure that that's safe though.
7088 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7089 case "$enable_gdbtk" in
7093 GDB_TK
="${gdb_tk}" ;;
7095 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7096 # distro. Eventually someone will fix this and move Insight, nee
7097 # gdbtk to a separate directory.
7098 if test -d ${srcdir}/gdb
/gdbtk
; then
7105 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7106 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7108 # Strip out unwanted targets.
7110 # While at that, we remove Makefiles if we were started for recursive
7111 # configuration, so that the top-level Makefile reconfigures them,
7112 # like we used to do when configure itself was recursive.
7114 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7115 # but now we're fixing up the Makefile ourselves with the additional
7116 # commands passed to AC_CONFIG_FILES. Use separate variables
7117 # extrasub-{build,host,target} not because there is any reason to split
7118 # the substitutions up that way, but only to remain below the limit of
7119 # 99 commands in a script, for HP-UX sed.
7120 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7122 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7123 yes:yes:*\ gold\
*:*,c
++,*) ;;
7124 yes:yes:*\ gold\
*:*)
7125 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7130 for module
in ${build_configdirs} ; do
7131 if test -z "${no_recursion}" \
7132 && test -f ${build_subdir}/${module}/Makefile
; then
7133 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7134 rm -f ${build_subdir}/${module}/Makefile
7136 extrasub_build
="$extrasub_build
7137 /^@if build-$module\$/d
7138 /^@endif build-$module\$/d
7139 /^@if build-$module-$bootstrap_suffix\$/d
7140 /^@endif build-$module-$bootstrap_suffix\$/d"
7143 for module
in ${configdirs} ; do
7144 if test -z "${no_recursion}"; then
7145 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7146 if test -f ${file}; then
7147 echo 1>&2 "*** removing ${file} to force reconfigure"
7152 case ${module},${bootstrap_fixincludes} in
7153 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7154 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7156 extrasub_host
="$extrasub_host
7158 /^@endif $module\$/d
7159 /^@if $module-$host_bootstrap_suffix\$/d
7160 /^@endif $module-$host_bootstrap_suffix\$/d"
7163 for module
in ${target_configdirs} ; do
7164 if test -z "${no_recursion}" \
7165 && test -f ${target_subdir}/${module}/Makefile
; then
7166 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7167 rm -f ${target_subdir}/${module}/Makefile
7170 # We only bootstrap target libraries listed in bootstrap_target_libs.
7171 case $bootstrap_target_libs in
7172 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7173 *) target_bootstrap_suffix
=no-bootstrap
;;
7176 extrasub_target
="$extrasub_target
7177 /^@if target-$module\$/d
7178 /^@endif target-$module\$/d
7179 /^@if target-$module-$target_bootstrap_suffix\$/d
7180 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7183 # Do the final fixup along with target modules.
7184 extrasub_target
="$extrasub_target
7185 /^@if /,/^@endif /d"
7187 # Create the serialization dependencies. This uses a temporary file.
7189 # Check whether --enable-serial-configure was given.
7190 if test "${enable_serial_configure+set}" = set; then :
7191 enableval
=$enable_serial_configure;
7195 case ${enable_serial_configure} in
7197 enable_serial_build_configure
=yes
7198 enable_serial_host_configure
=yes
7199 enable_serial_target_configure
=yes
7203 # These force 'configure's to be done one at a time, to avoid problems
7204 # with contention over a shared config.cache.
7206 echo '# serdep.tmp' > serdep.tmp
7208 test "x${enable_serial_build_configure}" = xyes
&&
7209 for item
in ${build_configdirs} ; do
7212 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7217 test "x${enable_serial_host_configure}" = xyes
&&
7218 for item
in ${configdirs} ; do
7221 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7226 test "x${enable_serial_target_configure}" = xyes
&&
7227 for item
in ${target_configdirs} ; do
7230 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7234 serialization_dependencies
=serdep.tmp
7237 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7238 # target, nonopt, and variable assignments. These are the ones we
7239 # might not want to pass down to subconfigures. The exception being
7240 # --cache-file=/dev/null, which is used to turn off the use of cache
7241 # files altogether, and which should be passed on to subconfigures.
7242 # Also strip program-prefix, program-suffix, and program-transform-name,
7243 # so that we can pass down a consistent program-transform-name.
7248 eval "set -- $ac_configure_args"
7251 if test X
"$skip_next" = X
"yes"; then
7255 if test X
"$keep_next" = X
"yes"; then
7258 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7260 baseargs
="$baseargs '$ac_arg'"
7261 tbaseargs
="$tbaseargs '$ac_arg'"
7266 # Handle separated arguments. Based on the logic generated by
7269 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7270 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7271 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7272 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7286 --with-* |
--without-*)
7287 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7291 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7294 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7303 mpc | mpfr | gmp | isl | cloog
)
7304 # If we're processing --with-$lib, --with-$lib-include or
7305 # --with-$lib-lib, for one of the libs above, and target is
7306 # different from host, don't pass the current argument to any
7307 # target library's configure.
7308 if test x
$is_cross_compiler = xyes
; then
7317 --cache-file=/dev
/null | \
7318 -cache-file=/dev
/null
)
7319 # Handled here to avoid the test to skip args below.
7320 baseargs
="$baseargs '$ac_arg'"
7321 tbaseargs
="$tbaseargs '$ac_arg'"
7322 # Assert: $separate_arg should always be no.
7323 keep_next
=$separate_arg
7339 -program-prefix* | \
7340 -program-suffix* | \
7341 -program-transform-name* )
7342 skip_next
=$separate_arg
7346 # An option. Add it.
7349 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7351 baseargs
="$baseargs '$ac_arg'"
7352 if test X
"$skip_targ" = Xno
; then
7353 tbaseargs
="$tbaseargs '$ac_arg'"
7355 keep_next
=$separate_arg
7358 # Either a variable assignment, or a nonopt (triplet). Don't
7359 # pass it down; let the Makefile handle this.
7364 # Remove the initial space we just introduced and, as these will be
7365 # expanded by make, quote '$'.
7366 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7368 # Add in --program-transform-name, after --program-prefix and
7369 # --program-suffix have been applied to it. Autoconf has already
7370 # doubled dollar signs and backslashes in program_transform_name; we want
7371 # the backslashes un-doubled, and then the entire thing wrapped in single
7372 # quotes, because this will be expanded first by make and then by the shell.
7373 # Also, because we want to override the logic in subdir configure scripts to
7374 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7375 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7376 ${program_transform_name}
7378 gcc_transform_name
=`cat conftestsed.out`
7379 rm -f conftestsed.out
7380 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7381 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7382 if test "$silent" = yes; then
7383 baseargs
="$baseargs --silent"
7384 tbaseargs
="$tbaseargs --silent"
7386 baseargs
="$baseargs --disable-option-checking"
7387 tbaseargs
="$tbaseargs --disable-option-checking"
7389 # Record and document user additions to sub configure arguments.
7394 # For the build-side libraries, we just need to pretend we're native,
7395 # and not use the same cache file. Multilibs are neither needed nor
7397 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7399 # For host modules, accept cache file option, or specification as blank.
7400 case "${cache_file}" in
7402 cache_file_option
="" ;;
7403 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7404 cache_file_option
="--cache-file=${cache_file}" ;;
7406 cache_file_option
="--cache-file=../${cache_file}" ;;
7409 # Host dirs don't like to share a cache file either, horribly enough.
7410 # This seems to be due to autoconf 2.5x stupidity.
7411 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7413 target_configargs
="$target_configargs ${tbaseargs}"
7415 # Passing a --with-cross-host argument lets the target libraries know
7416 # whether they are being built with a cross-compiler or being built
7417 # native. However, it would be better to use other mechanisms to make the
7418 # sorts of decisions they want to make on this basis. Please consider
7419 # this option to be deprecated. FIXME.
7420 if test x
${is_cross_compiler} = xyes
; then
7421 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7424 # Special user-friendly check for native x86_64-linux build, if
7425 # multilib is not explicitly enabled.
7426 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7427 x86_64-
*linux
*:yes:$build:$build:)
7428 # Make sure we have a developement environment that handles 32-bit
7430 echo "int main () { return 0; }" > conftest.c
7431 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7432 if test $?
= 0 ; then
7433 if test -s conftest ||
test -s conftest.exe
; then
7438 if test x
${dev64} != xyes
; then
7439 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
7444 # Default to --enable-multilib.
7445 if test x
${enable_multilib} = x
; then
7446 target_configargs
="--enable-multilib ${target_configargs}"
7449 # Pass --with-newlib if appropriate. Note that target_configdirs has
7450 # changed from the earlier setting of with_newlib.
7451 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7452 target_configargs
="--with-newlib ${target_configargs}"
7455 # Different target subdirs use different values of certain variables
7456 # (notably CXX). Worse, multilibs use *lots* of different values.
7457 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7458 # it doesn't automatically accept command-line overrides of them.
7459 # This means it's not safe for target subdirs to share a cache file,
7460 # which is disgusting, but there you have it. Hopefully this can be
7461 # fixed in future. It's still worthwhile to use a cache file for each
7462 # directory. I think.
7464 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7465 # We need to pass --target, as newer autoconf's requires consistency
7466 # for target_alias and gcc doesn't manage it consistently.
7467 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7470 case " $target_configdirs " in
7472 case " $target_configargs " in
7473 *" --with-newlib "*)
7476 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7480 # If we're not building GCC, don't discard standard headers.
7481 if test -d ${srcdir}/gcc
; then
7482 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7484 if test "${build}" != "${host}"; then
7485 # On Canadian crosses, CC_FOR_TARGET will have already been set
7486 # by `configure', so we won't have an opportunity to add -Bgcc/
7487 # to it. This is right: we don't want to search that directory
7488 # for binaries, but we want the header files in there, so add
7490 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7492 # Someone might think of using the pre-installed headers on
7493 # Canadian crosses, in case the installed compiler is not fully
7494 # compatible with the compiler being built. In this case, it
7495 # would be better to flag an error than risking having
7496 # incompatible object files being constructed. We can't
7497 # guarantee that an error will be flagged, but let's hope the
7498 # compiler will do it, when presented with incompatible header
7503 case "${target}-${is_cross_compiler}" in
7504 i
[3456789]86-*-linux*-no)
7505 # Here host == target, so we don't need to build gcc,
7506 # so we don't want to discard standard headers.
7507 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7510 # If we're building newlib, use its generic headers last, but search
7511 # for any libc-related directories first (so make it the last -B
7513 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7515 # If we're building libgloss, find the startup file, simulator library
7516 # and linker script.
7517 case " $target_configdirs " in
7519 # Look for startup file, simulator library and maybe linker script.
7520 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7521 # Look for libnosys.a in case the target needs it.
7522 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7523 # Most targets have the linker script in the source directory.
7524 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7535 x86_64-
*mingw
* |
*-w64-mingw*)
7536 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7537 # however, use a symlink named 'mingw' in ${prefix} .
7538 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7541 # MinGW can't be handled as Cygwin above since it does not use newlib.
7542 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'
7546 # Allow the user to override the flags for
7547 # our build compiler if desired.
7548 if test x
"${build}" = x
"${host}" ; then
7549 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7550 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7551 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7554 # On Canadian crosses, we'll be searching the right directories for
7555 # the previously-installed cross compiler, so don't bother to add
7556 # flags for directories within the install tree of the compiler
7557 # being built; programs in there won't even run.
7558 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7559 # Search for pre-installed headers if nothing else fits.
7560 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7563 if test "x
${use_gnu_ld}" = x &&
7564 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7565 # Arrange for us to find uninstalled linker scripts.
7566 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7569 # Search for other target-specific linker scripts and such.
7572 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7576 # Makefile fragments.
7577 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7579 eval fragval=\$$frag
7580 if test $fragval != /dev/null; then
7581 eval $frag=${srcdir}/$fragval
7589 # Miscellanea: directories, flags, etc.
7598 # Build module lists & subconfigure args.
7602 # Host module lists & subconfigure args.
7607 # Target module lists & subconfigure args.
7629 # Generate default definitions for YACC, M4, LEX and other programs that run
7630 # on the build machine. These are used if the Makefile can't locate these
7631 # programs in objdir.
7632 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7634 for ac_prog in 'bison -y' byacc yacc
7636 # Extract the first word of "$ac_prog", so it can be a program name with args.
7637 set dummy $ac_prog; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7639 $as_echo_n "checking
for $ac_word...
" >&6; }
7640 if test "${ac_cv_prog_YACC+set}" = set; then :
7641 $as_echo_n "(cached
) " >&6
7643 if test -n "$YACC"; then
7644 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_YACC="$ac_prog"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7663 YACC=$ac_cv_prog_YACC
7664 if test -n "$YACC"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7666 $as_echo "$YACC" >&6; }
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7669 $as_echo "no
" >&6; }
7673 test -n "$YACC" && break
7675 test -n "$YACC" || YACC="$MISSING bison
-y"
7677 case " $build_configdirs " in
7678 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7681 for ac_prog in bison
7683 # Extract the first word of "$ac_prog", so it can be a program name with args.
7684 set dummy $ac_prog; ac_word=$2
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7686 $as_echo_n "checking
for $ac_word...
" >&6; }
7687 if test "${ac_cv_prog_BISON+set}" = set; then :
7688 $as_echo_n "(cached
) " >&6
7690 if test -n "$BISON"; then
7691 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir=.
7698 for ac_exec_ext in '' $ac_executable_extensions; do
7699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7700 ac_cv_prog_BISON="$ac_prog"
7701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7710 BISON=$ac_cv_prog_BISON
7711 if test -n "$BISON"; then
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7713 $as_echo "$BISON" >&6; }
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7716 $as_echo "no
" >&6; }
7720 test -n "$BISON" && break
7722 test -n "$BISON" || BISON="$MISSING bison
"
7724 case " $build_configdirs " in
7725 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7728 for ac_prog in gm4 gnum4 m4
7730 # Extract the first word of "$ac_prog", so it can be a program name with args.
7731 set dummy $ac_prog; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7733 $as_echo_n "checking
for $ac_word...
" >&6; }
7734 if test "${ac_cv_prog_M4+set}" = set; then :
7735 $as_echo_n "(cached
) " >&6
7737 if test -n "$M4"; then
7738 ac_cv_prog_M4="$M4" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7747 ac_cv_prog_M4="$ac_prog"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 if test -n "$M4"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7760 $as_echo "$M4" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7763 $as_echo "no
" >&6; }
7767 test -n "$M4" && break
7769 test -n "$M4" || M4="$MISSING m4"
7771 case " $build_configdirs " in
7772 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7775 for ac_prog in flex lex
7777 # Extract the first word of "$ac_prog", so it can be a program name with args.
7778 set dummy $ac_prog; ac_word=$2
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7780 $as_echo_n "checking
for $ac_word...
" >&6; }
7781 if test "${ac_cv_prog_LEX+set}" = set; then :
7782 $as_echo_n "(cached
) " >&6
7784 if test -n "$LEX"; then
7785 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791 test -z "$as_dir" && as_dir=.
7792 for ac_exec_ext in '' $ac_executable_extensions; do
7793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794 ac_cv_prog_LEX="$ac_prog"
7795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7805 if test -n "$LEX"; then
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7807 $as_echo "$LEX" >&6; }
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7810 $as_echo "no
" >&6; }
7814 test -n "$LEX" && break
7816 test -n "$LEX" || LEX="$MISSING flex
"
7818 case " $build_configdirs " in
7819 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7820 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7825 # Extract the first word of "$ac_prog", so it can be a program name with args.
7826 set dummy $ac_prog; ac_word=$2
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7828 $as_echo_n "checking
for $ac_word...
" >&6; }
7829 if test "${ac_cv_prog_FLEX+set}" = set; then :
7830 $as_echo_n "(cached
) " >&6
7832 if test -n "$FLEX"; then
7833 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7839 test -z "$as_dir" && as_dir=.
7840 for ac_exec_ext in '' $ac_executable_extensions; do
7841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7842 ac_cv_prog_FLEX="$ac_prog"
7843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7852 FLEX=$ac_cv_prog_FLEX
7853 if test -n "$FLEX"; then
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7855 $as_echo "$FLEX" >&6; }
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7858 $as_echo "no
" >&6; }
7862 test -n "$FLEX" && break
7864 test -n "$FLEX" || FLEX="$MISSING flex
"
7866 case " $build_configdirs " in
7867 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7870 for ac_prog in makeinfo
7872 # Extract the first word of "$ac_prog", so it can be a program name with args.
7873 set dummy $ac_prog; ac_word=$2
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7875 $as_echo_n "checking
for $ac_word...
" >&6; }
7876 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7877 $as_echo_n "(cached
) " >&6
7879 if test -n "$MAKEINFO"; then
7880 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7886 test -z "$as_dir" && as_dir=.
7887 for ac_exec_ext in '' $ac_executable_extensions; do
7888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7889 ac_cv_prog_MAKEINFO="$ac_prog"
7890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7899 MAKEINFO=$ac_cv_prog_MAKEINFO
7900 if test -n "$MAKEINFO"; then
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7902 $as_echo "$MAKEINFO" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7905 $as_echo "no
" >&6; }
7909 test -n "$MAKEINFO" && break
7911 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7913 case " $build_configdirs " in
7914 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7917 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7918 # higher, else we use the "missing
" dummy.
7919 if ${MAKEINFO} --version \
7920 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7923 MAKEINFO="$MISSING makeinfo
"
7929 # FIXME: expect and dejagnu may become build tools?
7931 for ac_prog in expect
7933 # Extract the first word of "$ac_prog", so it can be a program name with args.
7934 set dummy $ac_prog; ac_word=$2
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7936 $as_echo_n "checking
for $ac_word...
" >&6; }
7937 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7938 $as_echo_n "(cached
) " >&6
7940 if test -n "$EXPECT"; then
7941 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 test -z "$as_dir" && as_dir=.
7948 for ac_exec_ext in '' $ac_executable_extensions; do
7949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7950 ac_cv_prog_EXPECT="$ac_prog"
7951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7960 EXPECT=$ac_cv_prog_EXPECT
7961 if test -n "$EXPECT"; then
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7963 $as_echo "$EXPECT" >&6; }
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7966 $as_echo "no
" >&6; }
7970 test -n "$EXPECT" && break
7972 test -n "$EXPECT" || EXPECT="expect
"
7974 case " $configdirs " in
7976 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7980 for ac_prog in runtest
7982 # Extract the first word of "$ac_prog", so it can be a program name with args.
7983 set dummy $ac_prog; ac_word=$2
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7985 $as_echo_n "checking
for $ac_word...
" >&6; }
7986 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7987 $as_echo_n "(cached
) " >&6
7989 if test -n "$RUNTEST"; then
7990 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_prog_RUNTEST="$ac_prog"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8009 RUNTEST=$ac_cv_prog_RUNTEST
8010 if test -n "$RUNTEST"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8012 $as_echo "$RUNTEST" >&6; }
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8015 $as_echo "no
" >&6; }
8019 test -n "$RUNTEST" && break
8021 test -n "$RUNTEST" || RUNTEST="runtest
"
8023 case " $configdirs " in
8025 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8032 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8033 ncn_target_tool_prefix=
8034 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8038 if test -n "$AR"; then
8040 elif test -n "$ac_cv_prog_AR"; then
8044 if test -n "$ac_cv_prog_AR"; then
8045 for ncn_progname in ar; do
8046 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8047 set dummy ${ncn_progname}; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8049 $as_echo_n "checking
for $ac_word...
" >&6; }
8050 if test "${ac_cv_prog_AR+set}" = set; then :
8051 $as_echo_n "(cached
) " >&6
8053 if test -n "$AR"; then
8054 ac_cv_prog_AR="$AR" # Let the user override the test.
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8063 ac_cv_prog_AR="${ncn_progname}"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8074 if test -n "$AR"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8076 $as_echo "$AR" >&6; }
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8079 $as_echo "no
" >&6; }
8086 for ncn_progname in ar; do
8087 if test -n "$ncn_tool_prefix"; then
8088 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8089 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8091 $as_echo_n "checking
for $ac_word...
" >&6; }
8092 if test "${ac_cv_prog_AR+set}" = set; then :
8093 $as_echo_n "(cached
) " >&6
8095 if test -n "$AR"; then
8096 ac_cv_prog_AR="$AR" # Let the user override the test.
8098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8102 test -z "$as_dir" && as_dir=.
8103 for ac_exec_ext in '' $ac_executable_extensions; do
8104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8105 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8116 if test -n "$AR"; then
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8118 $as_echo "$AR" >&6; }
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8121 $as_echo "no
" >&6; }
8126 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
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_AR+set}" = set; then :
8132 $as_echo_n "(cached
) " >&6
8134 if test -n "$AR"; then
8135 ac_cv_prog_AR="$AR" # 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_AR="${ncn_progname}"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8155 if test -n "$AR"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8157 $as_echo "$AR" >&6; }
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8160 $as_echo "no
" >&6; }
8165 test -n "$ac_cv_prog_AR" && break
8168 if test -z "$ac_cv_prog_AR" ; then
8170 if test $build = $host ; then
8173 AR="${ncn_tool_prefix}$2"
8179 if test -n "$AS"; then
8181 elif test -n "$ac_cv_prog_AS"; then
8185 if test -n "$ac_cv_prog_AS"; then
8186 for ncn_progname in as; do
8187 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8188 set dummy ${ncn_progname}; ac_word=$2
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8190 $as_echo_n "checking
for $ac_word...
" >&6; }
8191 if test "${ac_cv_prog_AS+set}" = set; then :
8192 $as_echo_n "(cached
) " >&6
8194 if test -n "$AS"; then
8195 ac_cv_prog_AS="$AS" # Let the user override the test.
8197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 test -z "$as_dir" && as_dir=.
8202 for ac_exec_ext in '' $ac_executable_extensions; do
8203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8204 ac_cv_prog_AS="${ncn_progname}"
8205 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8215 if test -n "$AS"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8217 $as_echo "$AS" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8220 $as_echo "no
" >&6; }
8227 for ncn_progname in as; do
8228 if test -n "$ncn_tool_prefix"; then
8229 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8230 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8232 $as_echo_n "checking
for $ac_word...
" >&6; }
8233 if test "${ac_cv_prog_AS+set}" = set; then :
8234 $as_echo_n "(cached
) " >&6
8236 if test -n "$AS"; then
8237 ac_cv_prog_AS="$AS" # Let the user override the test.
8239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir=.
8244 for ac_exec_ext in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8257 if test -n "$AS"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8259 $as_echo "$AS" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8262 $as_echo "no
" >&6; }
8267 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
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_AS+set}" = set; then :
8273 $as_echo_n "(cached
) " >&6
8275 if test -n "$AS"; then
8276 ac_cv_prog_AS="$AS" # 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_AS="${ncn_progname}"
8286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8296 if test -n "$AS"; then
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8298 $as_echo "$AS" >&6; }
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8301 $as_echo "no
" >&6; }
8306 test -n "$ac_cv_prog_AS" && break
8309 if test -z "$ac_cv_prog_AS" ; then
8311 if test $build = $host ; then
8314 AS="${ncn_tool_prefix}$2"
8320 if test -n "$DLLTOOL"; then
8321 ac_cv_prog_DLLTOOL=$DLLTOOL
8322 elif test -n "$ac_cv_prog_DLLTOOL"; then
8323 DLLTOOL=$ac_cv_prog_DLLTOOL
8326 if test -n "$ac_cv_prog_DLLTOOL"; then
8327 for ncn_progname in dlltool; do
8328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8329 set dummy ${ncn_progname}; ac_word=$2
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8331 $as_echo_n "checking
for $ac_word...
" >&6; }
8332 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8333 $as_echo_n "(cached
) " >&6
8335 if test -n "$DLLTOOL"; then
8336 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342 test -z "$as_dir" && as_dir=.
8343 for ac_exec_ext in '' $ac_executable_extensions; do
8344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8345 ac_cv_prog_DLLTOOL="${ncn_progname}"
8346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8355 DLLTOOL=$ac_cv_prog_DLLTOOL
8356 if test -n "$DLLTOOL"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8358 $as_echo "$DLLTOOL" >&6; }
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8361 $as_echo "no
" >&6; }
8368 for ncn_progname in dlltool; do
8369 if test -n "$ncn_tool_prefix"; then
8370 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8371 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8373 $as_echo_n "checking
for $ac_word...
" >&6; }
8374 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8375 $as_echo_n "(cached
) " >&6
8377 if test -n "$DLLTOOL"; then
8378 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8384 test -z "$as_dir" && as_dir=.
8385 for ac_exec_ext in '' $ac_executable_extensions; do
8386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8387 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8397 DLLTOOL=$ac_cv_prog_DLLTOOL
8398 if test -n "$DLLTOOL"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8400 $as_echo "$DLLTOOL" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8403 $as_echo "no
" >&6; }
8408 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
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_DLLTOOL+set}" = set; then :
8414 $as_echo_n "(cached
) " >&6
8416 if test -n "$DLLTOOL"; then
8417 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_progname}"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8436 DLLTOOL=$ac_cv_prog_DLLTOOL
8437 if test -n "$DLLTOOL"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8439 $as_echo "$DLLTOOL" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8442 $as_echo "no
" >&6; }
8447 test -n "$ac_cv_prog_DLLTOOL" && break
8450 if test -z "$ac_cv_prog_DLLTOOL" ; then
8452 if test $build = $host ; then
8455 DLLTOOL="${ncn_tool_prefix}$2"
8461 if test -n "$LD"; then
8463 elif test -n "$ac_cv_prog_LD"; then
8467 if test -n "$ac_cv_prog_LD"; then
8468 for ncn_progname in ld; do
8469 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8470 set dummy ${ncn_progname}; ac_word=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8472 $as_echo_n "checking
for $ac_word...
" >&6; }
8473 if test "${ac_cv_prog_LD+set}" = set; then :
8474 $as_echo_n "(cached
) " >&6
8476 if test -n "$LD"; then
8477 ac_cv_prog_LD="$LD" # Let the user override the test.
8479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8483 test -z "$as_dir" && as_dir=.
8484 for ac_exec_ext in '' $ac_executable_extensions; do
8485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8486 ac_cv_prog_LD="${ncn_progname}"
8487 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8497 if test -n "$LD"; then
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8499 $as_echo "$LD" >&6; }
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8502 $as_echo "no
" >&6; }
8509 for ncn_progname in ld; do
8510 if test -n "$ncn_tool_prefix"; then
8511 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8512 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8514 $as_echo_n "checking
for $ac_word...
" >&6; }
8515 if test "${ac_cv_prog_LD+set}" = set; then :
8516 $as_echo_n "(cached
) " >&6
8518 if test -n "$LD"; then
8519 ac_cv_prog_LD="$LD" # Let the user override the test.
8521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8525 test -z "$as_dir" && as_dir=.
8526 for ac_exec_ext in '' $ac_executable_extensions; do
8527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8528 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8539 if test -n "$LD"; then
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8541 $as_echo "$LD" >&6; }
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8544 $as_echo "no
" >&6; }
8549 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
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_LD+set}" = set; then :
8555 $as_echo_n "(cached
) " >&6
8557 if test -n "$LD"; then
8558 ac_cv_prog_LD="$LD" # 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_LD="${ncn_progname}"
8568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8578 if test -n "$LD"; then
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8580 $as_echo "$LD" >&6; }
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8583 $as_echo "no
" >&6; }
8588 test -n "$ac_cv_prog_LD" && break
8591 if test -z "$ac_cv_prog_LD" ; then
8593 if test $build = $host ; then
8596 LD="${ncn_tool_prefix}$2"
8602 if test -n "$LIPO"; then
8603 ac_cv_prog_LIPO=$LIPO
8604 elif test -n "$ac_cv_prog_LIPO"; then
8605 LIPO=$ac_cv_prog_LIPO
8608 if test -n "$ac_cv_prog_LIPO"; then
8609 for ncn_progname in lipo; do
8610 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8611 set dummy ${ncn_progname}; ac_word=$2
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8613 $as_echo_n "checking
for $ac_word...
" >&6; }
8614 if test "${ac_cv_prog_LIPO+set}" = set; then :
8615 $as_echo_n "(cached
) " >&6
8617 if test -n "$LIPO"; then
8618 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir=.
8625 for ac_exec_ext in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_prog_LIPO="${ncn_progname}"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8637 LIPO=$ac_cv_prog_LIPO
8638 if test -n "$LIPO"; then
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8640 $as_echo "$LIPO" >&6; }
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8643 $as_echo "no
" >&6; }
8650 for ncn_progname in lipo; do
8651 if test -n "$ncn_tool_prefix"; then
8652 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8653 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8655 $as_echo_n "checking
for $ac_word...
" >&6; }
8656 if test "${ac_cv_prog_LIPO+set}" = set; then :
8657 $as_echo_n "(cached
) " >&6
8659 if test -n "$LIPO"; then
8660 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666 test -z "$as_dir" && as_dir=.
8667 for ac_exec_ext in '' $ac_executable_extensions; do
8668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8669 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8670 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 LIPO=$ac_cv_prog_LIPO
8680 if test -n "$LIPO"; then
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8682 $as_echo "$LIPO" >&6; }
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8685 $as_echo "no
" >&6; }
8690 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
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_LIPO+set}" = set; then :
8696 $as_echo_n "(cached
) " >&6
8698 if test -n "$LIPO"; then
8699 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_progname}"
8709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8718 LIPO=$ac_cv_prog_LIPO
8719 if test -n "$LIPO"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8721 $as_echo "$LIPO" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8724 $as_echo "no
" >&6; }
8729 test -n "$ac_cv_prog_LIPO" && break
8732 if test -z "$ac_cv_prog_LIPO" ; then
8734 if test $build = $host ; then
8737 LIPO="${ncn_tool_prefix}$2"
8743 if test -n "$NM"; then
8745 elif test -n "$ac_cv_prog_NM"; then
8749 if test -n "$ac_cv_prog_NM"; then
8750 for ncn_progname in nm; do
8751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8752 set dummy ${ncn_progname}; ac_word=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8754 $as_echo_n "checking
for $ac_word...
" >&6; }
8755 if test "${ac_cv_prog_NM+set}" = set; then :
8756 $as_echo_n "(cached
) " >&6
8758 if test -n "$NM"; then
8759 ac_cv_prog_NM="$NM" # Let the user override the test.
8761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir=.
8766 for ac_exec_ext in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_prog_NM="${ncn_progname}"
8769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8779 if test -n "$NM"; then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8781 $as_echo "$NM" >&6; }
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8784 $as_echo "no
" >&6; }
8791 for ncn_progname in nm; do
8792 if test -n "$ncn_tool_prefix"; then
8793 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8794 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8796 $as_echo_n "checking
for $ac_word...
" >&6; }
8797 if test "${ac_cv_prog_NM+set}" = set; then :
8798 $as_echo_n "(cached
) " >&6
8800 if test -n "$NM"; then
8801 ac_cv_prog_NM="$NM" # Let the user override the test.
8803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 test -z "$as_dir" && as_dir=.
8808 for ac_exec_ext in '' $ac_executable_extensions; do
8809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8810 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8811 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8821 if test -n "$NM"; then
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8823 $as_echo "$NM" >&6; }
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8826 $as_echo "no
" >&6; }
8831 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
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_NM+set}" = set; then :
8837 $as_echo_n "(cached
) " >&6
8839 if test -n "$NM"; then
8840 ac_cv_prog_NM="$NM" # 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_NM="${ncn_progname}"
8850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8860 if test -n "$NM"; then
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8862 $as_echo "$NM" >&6; }
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8865 $as_echo "no
" >&6; }
8870 test -n "$ac_cv_prog_NM" && break
8873 if test -z "$ac_cv_prog_NM" ; then
8875 if test $build = $host ; then
8878 NM="${ncn_tool_prefix}$2"
8884 if test -n "$RANLIB"; then
8885 ac_cv_prog_RANLIB=$RANLIB
8886 elif test -n "$ac_cv_prog_RANLIB"; then
8887 RANLIB=$ac_cv_prog_RANLIB
8890 if test -n "$ac_cv_prog_RANLIB"; then
8891 for ncn_progname in ranlib; do
8892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8893 set dummy ${ncn_progname}; ac_word=$2
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8895 $as_echo_n "checking
for $ac_word...
" >&6; }
8896 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8897 $as_echo_n "(cached
) " >&6
8899 if test -n "$RANLIB"; then
8900 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir=.
8907 for ac_exec_ext in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_prog_RANLIB="${ncn_progname}"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8919 RANLIB=$ac_cv_prog_RANLIB
8920 if test -n "$RANLIB"; then
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8922 $as_echo "$RANLIB" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8925 $as_echo "no
" >&6; }
8932 for ncn_progname in ranlib; do
8933 if test -n "$ncn_tool_prefix"; then
8934 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8935 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8937 $as_echo_n "checking
for $ac_word...
" >&6; }
8938 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8939 $as_echo_n "(cached
) " >&6
8941 if test -n "$RANLIB"; then
8942 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir=.
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8952 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8961 RANLIB=$ac_cv_prog_RANLIB
8962 if test -n "$RANLIB"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8964 $as_echo "$RANLIB" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8967 $as_echo "no
" >&6; }
8972 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8973 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8974 set dummy ${ncn_progname}; ac_word=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8976 $as_echo_n "checking
for $ac_word...
" >&6; }
8977 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8978 $as_echo_n "(cached
) " >&6
8980 if test -n "$RANLIB"; then
8981 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8990 ac_cv_prog_RANLIB="${ncn_progname}"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9000 RANLIB=$ac_cv_prog_RANLIB
9001 if test -n "$RANLIB"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9003 $as_echo "$RANLIB" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9006 $as_echo "no
" >&6; }
9011 test -n "$ac_cv_prog_RANLIB" && break
9014 if test -z "$ac_cv_prog_RANLIB" ; then
9020 if test -n "$STRIP"; then
9021 ac_cv_prog_STRIP=$STRIP
9022 elif test -n "$ac_cv_prog_STRIP"; then
9023 STRIP=$ac_cv_prog_STRIP
9026 if test -n "$ac_cv_prog_STRIP"; then
9027 for ncn_progname in strip; do
9028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9029 set dummy ${ncn_progname}; ac_word=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9031 $as_echo_n "checking
for $ac_word...
" >&6; }
9032 if test "${ac_cv_prog_STRIP+set}" = set; then :
9033 $as_echo_n "(cached
) " >&6
9035 if test -n "$STRIP"; then
9036 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir=.
9043 for ac_exec_ext in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_prog_STRIP="${ncn_progname}"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9055 STRIP=$ac_cv_prog_STRIP
9056 if test -n "$STRIP"; then
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9058 $as_echo "$STRIP" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9061 $as_echo "no
" >&6; }
9068 for ncn_progname in strip; do
9069 if test -n "$ncn_tool_prefix"; then
9070 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9071 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9073 $as_echo_n "checking
for $ac_word...
" >&6; }
9074 if test "${ac_cv_prog_STRIP+set}" = set; then :
9075 $as_echo_n "(cached
) " >&6
9077 if test -n "$STRIP"; then
9078 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9084 test -z "$as_dir" && as_dir=.
9085 for ac_exec_ext in '' $ac_executable_extensions; do
9086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9087 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9097 STRIP=$ac_cv_prog_STRIP
9098 if test -n "$STRIP"; then
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9100 $as_echo "$STRIP" >&6; }
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9103 $as_echo "no
" >&6; }
9108 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9110 set dummy ${ncn_progname}; ac_word=$2
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9112 $as_echo_n "checking
for $ac_word...
" >&6; }
9113 if test "${ac_cv_prog_STRIP+set}" = set; then :
9114 $as_echo_n "(cached
) " >&6
9116 if test -n "$STRIP"; then
9117 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9126 ac_cv_prog_STRIP="${ncn_progname}"
9127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9136 STRIP=$ac_cv_prog_STRIP
9137 if test -n "$STRIP"; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9139 $as_echo "$STRIP" >&6; }
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9142 $as_echo "no
" >&6; }
9147 test -n "$ac_cv_prog_STRIP" && break
9150 if test -z "$ac_cv_prog_STRIP" ; then
9156 if test -n "$WINDRES"; then
9157 ac_cv_prog_WINDRES=$WINDRES
9158 elif test -n "$ac_cv_prog_WINDRES"; then
9159 WINDRES=$ac_cv_prog_WINDRES
9162 if test -n "$ac_cv_prog_WINDRES"; then
9163 for ncn_progname in windres; do
9164 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9165 set dummy ${ncn_progname}; ac_word=$2
9166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9167 $as_echo_n "checking
for $ac_word...
" >&6; }
9168 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9169 $as_echo_n "(cached
) " >&6
9171 if test -n "$WINDRES"; then
9172 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178 test -z "$as_dir" && as_dir=.
9179 for ac_exec_ext in '' $ac_executable_extensions; do
9180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9181 ac_cv_prog_WINDRES="${ncn_progname}"
9182 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9191 WINDRES=$ac_cv_prog_WINDRES
9192 if test -n "$WINDRES"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9194 $as_echo "$WINDRES" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9197 $as_echo "no
" >&6; }
9204 for ncn_progname in windres; do
9205 if test -n "$ncn_tool_prefix"; then
9206 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9207 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9209 $as_echo_n "checking
for $ac_word...
" >&6; }
9210 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9211 $as_echo_n "(cached
) " >&6
9213 if test -n "$WINDRES"; then
9214 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9220 test -z "$as_dir" && as_dir=.
9221 for ac_exec_ext in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9233 WINDRES=$ac_cv_prog_WINDRES
9234 if test -n "$WINDRES"; then
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9236 $as_echo "$WINDRES" >&6; }
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9239 $as_echo "no
" >&6; }
9244 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
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_WINDRES+set}" = set; then :
9250 $as_echo_n "(cached
) " >&6
9252 if test -n "$WINDRES"; then
9253 ac_cv_prog_WINDRES="$WINDRES" # 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_WINDRES="${ncn_progname}"
9263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9272 WINDRES=$ac_cv_prog_WINDRES
9273 if test -n "$WINDRES"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9275 $as_echo "$WINDRES" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9278 $as_echo "no
" >&6; }
9283 test -n "$ac_cv_prog_WINDRES" && break
9286 if test -z "$ac_cv_prog_WINDRES" ; then
9288 if test $build = $host ; then
9291 WINDRES="${ncn_tool_prefix}$2"
9297 if test -n "$WINDMC"; then
9298 ac_cv_prog_WINDMC=$WINDMC
9299 elif test -n "$ac_cv_prog_WINDMC"; then
9300 WINDMC=$ac_cv_prog_WINDMC
9303 if test -n "$ac_cv_prog_WINDMC"; then
9304 for ncn_progname in windmc; do
9305 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9306 set dummy ${ncn_progname}; ac_word=$2
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9308 $as_echo_n "checking
for $ac_word...
" >&6; }
9309 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9310 $as_echo_n "(cached
) " >&6
9312 if test -n "$WINDMC"; then
9313 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9319 test -z "$as_dir" && as_dir=.
9320 for ac_exec_ext in '' $ac_executable_extensions; do
9321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9322 ac_cv_prog_WINDMC="${ncn_progname}"
9323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9332 WINDMC=$ac_cv_prog_WINDMC
9333 if test -n "$WINDMC"; then
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9335 $as_echo "$WINDMC" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9338 $as_echo "no
" >&6; }
9345 for ncn_progname in windmc; do
9346 if test -n "$ncn_tool_prefix"; then
9347 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9348 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9350 $as_echo_n "checking
for $ac_word...
" >&6; }
9351 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9352 $as_echo_n "(cached
) " >&6
9354 if test -n "$WINDMC"; then
9355 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9361 test -z "$as_dir" && as_dir=.
9362 for ac_exec_ext in '' $ac_executable_extensions; do
9363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9374 WINDMC=$ac_cv_prog_WINDMC
9375 if test -n "$WINDMC"; then
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9377 $as_echo "$WINDMC" >&6; }
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9380 $as_echo "no
" >&6; }
9385 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
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_WINDMC+set}" = set; then :
9391 $as_echo_n "(cached
) " >&6
9393 if test -n "$WINDMC"; then
9394 ac_cv_prog_WINDMC="$WINDMC" # 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_WINDMC="${ncn_progname}"
9404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9413 WINDMC=$ac_cv_prog_WINDMC
9414 if test -n "$WINDMC"; then
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9416 $as_echo "$WINDMC" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9419 $as_echo "no
" >&6; }
9424 test -n "$ac_cv_prog_WINDMC" && break
9427 if test -z "$ac_cv_prog_WINDMC" ; then
9429 if test $build = $host ; then
9432 WINDMC="${ncn_tool_prefix}$2"
9438 if test -n "$OBJCOPY"; then
9439 ac_cv_prog_OBJCOPY=$OBJCOPY
9440 elif test -n "$ac_cv_prog_OBJCOPY"; then
9441 OBJCOPY=$ac_cv_prog_OBJCOPY
9444 if test -n "$ac_cv_prog_OBJCOPY"; then
9445 for ncn_progname in objcopy; do
9446 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9447 set dummy ${ncn_progname}; ac_word=$2
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9449 $as_echo_n "checking
for $ac_word...
" >&6; }
9450 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9451 $as_echo_n "(cached
) " >&6
9453 if test -n "$OBJCOPY"; then
9454 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir=.
9461 for ac_exec_ext in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_prog_OBJCOPY="${ncn_progname}"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9473 OBJCOPY=$ac_cv_prog_OBJCOPY
9474 if test -n "$OBJCOPY"; then
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9476 $as_echo "$OBJCOPY" >&6; }
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9479 $as_echo "no
" >&6; }
9486 for ncn_progname in objcopy; do
9487 if test -n "$ncn_tool_prefix"; then
9488 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9489 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9491 $as_echo_n "checking
for $ac_word...
" >&6; }
9492 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9493 $as_echo_n "(cached
) " >&6
9495 if test -n "$OBJCOPY"; then
9496 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9505 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9515 OBJCOPY=$ac_cv_prog_OBJCOPY
9516 if test -n "$OBJCOPY"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9518 $as_echo "$OBJCOPY" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9521 $as_echo "no
" >&6; }
9526 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
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_OBJCOPY+set}" = set; then :
9532 $as_echo_n "(cached
) " >&6
9534 if test -n "$OBJCOPY"; then
9535 ac_cv_prog_OBJCOPY="$OBJCOPY" # 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_OBJCOPY="${ncn_progname}"
9545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9554 OBJCOPY=$ac_cv_prog_OBJCOPY
9555 if test -n "$OBJCOPY"; then
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9557 $as_echo "$OBJCOPY" >&6; }
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9560 $as_echo "no
" >&6; }
9565 test -n "$ac_cv_prog_OBJCOPY" && break
9568 if test -z "$ac_cv_prog_OBJCOPY" ; then
9570 if test $build = $host ; then
9573 OBJCOPY="${ncn_tool_prefix}$2"
9579 if test -n "$OBJDUMP"; then
9580 ac_cv_prog_OBJDUMP=$OBJDUMP
9581 elif test -n "$ac_cv_prog_OBJDUMP"; then
9582 OBJDUMP=$ac_cv_prog_OBJDUMP
9585 if test -n "$ac_cv_prog_OBJDUMP"; then
9586 for ncn_progname in objdump; do
9587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9588 set dummy ${ncn_progname}; ac_word=$2
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9590 $as_echo_n "checking
for $ac_word...
" >&6; }
9591 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9592 $as_echo_n "(cached
) " >&6
9594 if test -n "$OBJDUMP"; then
9595 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9601 test -z "$as_dir" && as_dir=.
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9604 ac_cv_prog_OBJDUMP="${ncn_progname}"
9605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9614 OBJDUMP=$ac_cv_prog_OBJDUMP
9615 if test -n "$OBJDUMP"; then
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9617 $as_echo "$OBJDUMP" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9620 $as_echo "no
" >&6; }
9627 for ncn_progname in objdump; do
9628 if test -n "$ncn_tool_prefix"; then
9629 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9630 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9632 $as_echo_n "checking
for $ac_word...
" >&6; }
9633 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9634 $as_echo_n "(cached
) " >&6
9636 if test -n "$OBJDUMP"; then
9637 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9643 test -z "$as_dir" && as_dir=.
9644 for ac_exec_ext in '' $ac_executable_extensions; do
9645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9646 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9656 OBJDUMP=$ac_cv_prog_OBJDUMP
9657 if test -n "$OBJDUMP"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9659 $as_echo "$OBJDUMP" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9662 $as_echo "no
" >&6; }
9667 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
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_OBJDUMP+set}" = set; then :
9673 $as_echo_n "(cached
) " >&6
9675 if test -n "$OBJDUMP"; then
9676 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ncn_progname}"
9686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9695 OBJDUMP=$ac_cv_prog_OBJDUMP
9696 if test -n "$OBJDUMP"; then
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9698 $as_echo "$OBJDUMP" >&6; }
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9701 $as_echo "no
" >&6; }
9706 test -n "$ac_cv_prog_OBJDUMP" && break
9709 if test -z "$ac_cv_prog_OBJDUMP" ; then
9711 if test $build = $host ; then
9714 OBJDUMP="${ncn_tool_prefix}$2"
9720 if test -n "$READELF"; then
9721 ac_cv_prog_READELF=$READELF
9722 elif test -n "$ac_cv_prog_READELF"; then
9723 READELF=$ac_cv_prog_READELF
9726 if test -n "$ac_cv_prog_READELF"; then
9727 for ncn_progname in readelf; do
9728 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9729 set dummy ${ncn_progname}; ac_word=$2
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9731 $as_echo_n "checking
for $ac_word...
" >&6; }
9732 if test "${ac_cv_prog_READELF+set}" = set; then :
9733 $as_echo_n "(cached
) " >&6
9735 if test -n "$READELF"; then
9736 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir=.
9743 for ac_exec_ext in '' $ac_executable_extensions; do
9744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9745 ac_cv_prog_READELF="${ncn_progname}"
9746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9755 READELF=$ac_cv_prog_READELF
9756 if test -n "$READELF"; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9758 $as_echo "$READELF" >&6; }
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9761 $as_echo "no
" >&6; }
9768 for ncn_progname in readelf; do
9769 if test -n "$ncn_tool_prefix"; then
9770 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9771 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9773 $as_echo_n "checking
for $ac_word...
" >&6; }
9774 if test "${ac_cv_prog_READELF+set}" = set; then :
9775 $as_echo_n "(cached
) " >&6
9777 if test -n "$READELF"; then
9778 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9784 test -z "$as_dir" && as_dir=.
9785 for ac_exec_ext in '' $ac_executable_extensions; do
9786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9787 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9797 READELF=$ac_cv_prog_READELF
9798 if test -n "$READELF"; then
9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9800 $as_echo "$READELF" >&6; }
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9803 $as_echo "no
" >&6; }
9808 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9809 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9810 set dummy ${ncn_progname}; ac_word=$2
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9812 $as_echo_n "checking
for $ac_word...
" >&6; }
9813 if test "${ac_cv_prog_READELF+set}" = set; then :
9814 $as_echo_n "(cached
) " >&6
9816 if test -n "$READELF"; then
9817 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9823 test -z "$as_dir" && as_dir=.
9824 for ac_exec_ext in '' $ac_executable_extensions; do
9825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9826 ac_cv_prog_READELF="${ncn_progname}"
9827 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9836 READELF=$ac_cv_prog_READELF
9837 if test -n "$READELF"; then
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9839 $as_echo "$READELF" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9842 $as_echo "no
" >&6; }
9847 test -n "$ac_cv_prog_READELF" && break
9850 if test -z "$ac_cv_prog_READELF" ; then
9852 if test $build = $host ; then
9855 READELF="${ncn_tool_prefix}$2"
9866 # Check whether --with-build-time-tools was given.
9867 if test "${with_build_time_tools+set}" = set; then :
9868 withval=$with_build_time_tools; case x"$withval" in
9871 with_build_time_tools=
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9873 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9877 with_build_time_tools=
9883 if test -n "$CC_FOR_TARGET"; then
9884 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9885 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9886 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9889 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9890 for ncn_progname in cc gcc; do
9891 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9892 set dummy ${ncn_progname}; ac_word=$2
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9894 $as_echo_n "checking
for $ac_word...
" >&6; }
9895 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9896 $as_echo_n "(cached
) " >&6
9898 if test -n "$CC_FOR_TARGET"; then
9899 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9905 test -z "$as_dir" && as_dir=.
9906 for ac_exec_ext in '' $ac_executable_extensions; do
9907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9908 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9918 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9919 if test -n "$CC_FOR_TARGET"; then
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9921 $as_echo "$CC_FOR_TARGET" >&6; }
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9924 $as_echo "no
" >&6; }
9931 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9932 for ncn_progname in cc gcc; do
9933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9934 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9935 if test -x $with_build_time_tools/${ncn_progname}; then
9936 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9938 $as_echo "yes" >&6; }
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9942 $as_echo "no
" >&6; }
9947 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9948 for ncn_progname in cc gcc; do
9949 if test -n "$ncn_target_tool_prefix"; then
9950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9953 $as_echo_n "checking
for $ac_word...
" >&6; }
9954 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9955 $as_echo_n "(cached
) " >&6
9957 if test -n "$CC_FOR_TARGET"; then
9958 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9964 test -z "$as_dir" && as_dir=.
9965 for ac_exec_ext in '' $ac_executable_extensions; do
9966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9967 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9977 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9978 if test -n "$CC_FOR_TARGET"; then
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9980 $as_echo "$CC_FOR_TARGET" >&6; }
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9983 $as_echo "no
" >&6; }
9988 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9990 set dummy ${ncn_progname}; ac_word=$2
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9992 $as_echo_n "checking
for $ac_word...
" >&6; }
9993 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9994 $as_echo_n "(cached
) " >&6
9996 if test -n "$CC_FOR_TARGET"; then
9997 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10000 for as_dir in $PATH
10003 test -z "$as_dir" && as_dir=.
10004 for ac_exec_ext in '' $ac_executable_extensions; do
10005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10006 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10016 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10017 if test -n "$CC_FOR_TARGET"; then
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10019 $as_echo "$CC_FOR_TARGET" >&6; }
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10022 $as_echo "no
" >&6; }
10027 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10031 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10033 if test $build = $target ; then
10036 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10039 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10044 if test -n "$CXX_FOR_TARGET"; then
10045 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10046 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10047 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10050 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10051 for ncn_progname in c++ g++ cxx gxx; do
10052 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10053 set dummy ${ncn_progname}; ac_word=$2
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10055 $as_echo_n "checking
for $ac_word...
" >&6; }
10056 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10057 $as_echo_n "(cached
) " >&6
10059 if test -n "$CXX_FOR_TARGET"; then
10060 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10063 for as_dir in $PATH
10066 test -z "$as_dir" && as_dir=.
10067 for ac_exec_ext in '' $ac_executable_extensions; do
10068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10069 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10070 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10079 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10080 if test -n "$CXX_FOR_TARGET"; then
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10082 $as_echo "$CXX_FOR_TARGET" >&6; }
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10085 $as_echo "no
" >&6; }
10092 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10093 for ncn_progname in c++ g++ cxx gxx; do
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10095 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10096 if test -x $with_build_time_tools/${ncn_progname}; then
10097 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10099 $as_echo "yes" >&6; }
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10103 $as_echo "no
" >&6; }
10108 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10109 for ncn_progname in c++ g++ cxx gxx; do
10110 if test -n "$ncn_target_tool_prefix"; then
10111 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10112 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10114 $as_echo_n "checking
for $ac_word...
" >&6; }
10115 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10116 $as_echo_n "(cached
) " >&6
10118 if test -n "$CXX_FOR_TARGET"; then
10119 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10122 for as_dir in $PATH
10125 test -z "$as_dir" && as_dir=.
10126 for ac_exec_ext in '' $ac_executable_extensions; do
10127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10128 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10129 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10138 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10139 if test -n "$CXX_FOR_TARGET"; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10141 $as_echo "$CXX_FOR_TARGET" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10144 $as_echo "no
" >&6; }
10149 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10150 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10151 set dummy ${ncn_progname}; ac_word=$2
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10153 $as_echo_n "checking
for $ac_word...
" >&6; }
10154 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10155 $as_echo_n "(cached
) " >&6
10157 if test -n "$CXX_FOR_TARGET"; then
10158 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10161 for as_dir in $PATH
10164 test -z "$as_dir" && as_dir=.
10165 for ac_exec_ext in '' $ac_executable_extensions; do
10166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10167 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10168 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10177 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10178 if test -n "$CXX_FOR_TARGET"; then
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10180 $as_echo "$CXX_FOR_TARGET" >&6; }
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10183 $as_echo "no
" >&6; }
10188 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10192 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10193 set dummy c++ g++ cxx gxx
10194 if test $build = $target ; then
10195 CXX_FOR_TARGET="$2"
10197 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10200 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10205 if test -n "$GCC_FOR_TARGET"; then
10206 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10207 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10208 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10211 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10212 for ncn_progname in gcc; do
10213 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10214 set dummy ${ncn_progname}; ac_word=$2
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10216 $as_echo_n "checking
for $ac_word...
" >&6; }
10217 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10218 $as_echo_n "(cached
) " >&6
10220 if test -n "$GCC_FOR_TARGET"; then
10221 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10224 for as_dir in $PATH
10227 test -z "$as_dir" && as_dir=.
10228 for ac_exec_ext in '' $ac_executable_extensions; do
10229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10230 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10240 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10241 if test -n "$GCC_FOR_TARGET"; then
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10243 $as_echo "$GCC_FOR_TARGET" >&6; }
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10246 $as_echo "no
" >&6; }
10253 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10254 for ncn_progname in gcc; do
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10256 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10257 if test -x $with_build_time_tools/${ncn_progname}; then
10258 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10260 $as_echo "yes" >&6; }
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10264 $as_echo "no
" >&6; }
10269 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10270 for ncn_progname in gcc; do
10271 if test -n "$ncn_target_tool_prefix"; then
10272 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10273 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10275 $as_echo_n "checking
for $ac_word...
" >&6; }
10276 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10277 $as_echo_n "(cached
) " >&6
10279 if test -n "$GCC_FOR_TARGET"; then
10280 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10299 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10300 if test -n "$GCC_FOR_TARGET"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10302 $as_echo "$GCC_FOR_TARGET" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10305 $as_echo "no
" >&6; }
10310 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10311 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10312 set dummy ${ncn_progname}; ac_word=$2
10313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10314 $as_echo_n "checking
for $ac_word...
" >&6; }
10315 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10316 $as_echo_n "(cached
) " >&6
10318 if test -n "$GCC_FOR_TARGET"; then
10319 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 for as_dir in $PATH
10325 test -z "$as_dir" && as_dir=.
10326 for ac_exec_ext in '' $ac_executable_extensions; do
10327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10328 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10329 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10338 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10339 if test -n "$GCC_FOR_TARGET"; then
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10341 $as_echo "$GCC_FOR_TARGET" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10344 $as_echo "no
" >&6; }
10349 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10353 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10354 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10356 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10361 if test -n "$GCJ_FOR_TARGET"; then
10362 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10363 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10364 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10367 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10368 for ncn_progname in gcj; do
10369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10370 set dummy ${ncn_progname}; ac_word=$2
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10372 $as_echo_n "checking
for $ac_word...
" >&6; }
10373 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10374 $as_echo_n "(cached
) " >&6
10376 if test -n "$GCJ_FOR_TARGET"; then
10377 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10380 for as_dir in $PATH
10383 test -z "$as_dir" && as_dir=.
10384 for ac_exec_ext in '' $ac_executable_extensions; do
10385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10386 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10396 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10397 if test -n "$GCJ_FOR_TARGET"; then
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10399 $as_echo "$GCJ_FOR_TARGET" >&6; }
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10402 $as_echo "no
" >&6; }
10409 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10410 for ncn_progname in gcj; do
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10412 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10413 if test -x $with_build_time_tools/${ncn_progname}; then
10414 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10416 $as_echo "yes" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10420 $as_echo "no
" >&6; }
10425 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10426 for ncn_progname in gcj; do
10427 if test -n "$ncn_target_tool_prefix"; then
10428 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10429 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10431 $as_echo_n "checking
for $ac_word...
" >&6; }
10432 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10433 $as_echo_n "(cached
) " >&6
10435 if test -n "$GCJ_FOR_TARGET"; then
10436 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in $PATH
10442 test -z "$as_dir" && as_dir=.
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10455 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10456 if test -n "$GCJ_FOR_TARGET"; then
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10458 $as_echo "$GCJ_FOR_TARGET" >&6; }
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10461 $as_echo "no
" >&6; }
10466 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10467 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10468 set dummy ${ncn_progname}; ac_word=$2
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10470 $as_echo_n "checking
for $ac_word...
" >&6; }
10471 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10472 $as_echo_n "(cached
) " >&6
10474 if test -n "$GCJ_FOR_TARGET"; then
10475 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10478 for as_dir in $PATH
10481 test -z "$as_dir" && as_dir=.
10482 for ac_exec_ext in '' $ac_executable_extensions; do
10483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10484 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10485 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10494 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10495 if test -n "$GCJ_FOR_TARGET"; then
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10497 $as_echo "$GCJ_FOR_TARGET" >&6; }
10499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10500 $as_echo "no
" >&6; }
10505 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10509 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10511 if test $build = $target ; then
10512 GCJ_FOR_TARGET="$2"
10514 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10517 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10522 if test -n "$GFORTRAN_FOR_TARGET"; then
10523 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10524 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10525 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10528 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10529 for ncn_progname in gfortran; do
10530 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10531 set dummy ${ncn_progname}; ac_word=$2
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10533 $as_echo_n "checking
for $ac_word...
" >&6; }
10534 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10535 $as_echo_n "(cached
) " >&6
10537 if test -n "$GFORTRAN_FOR_TARGET"; then
10538 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10541 for as_dir in $PATH
10544 test -z "$as_dir" && as_dir=.
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10547 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10548 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10557 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10558 if test -n "$GFORTRAN_FOR_TARGET"; then
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10560 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10563 $as_echo "no
" >&6; }
10570 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10571 for ncn_progname in gfortran; do
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10573 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10574 if test -x $with_build_time_tools/${ncn_progname}; then
10575 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10577 $as_echo "yes" >&6; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10581 $as_echo "no
" >&6; }
10586 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10587 for ncn_progname in gfortran; do
10588 if test -n "$ncn_target_tool_prefix"; then
10589 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10590 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10592 $as_echo_n "checking
for $ac_word...
" >&6; }
10593 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10594 $as_echo_n "(cached
) " >&6
10596 if test -n "$GFORTRAN_FOR_TARGET"; then
10597 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10600 for as_dir in $PATH
10603 test -z "$as_dir" && as_dir=.
10604 for ac_exec_ext in '' $ac_executable_extensions; do
10605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10606 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10616 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10617 if test -n "$GFORTRAN_FOR_TARGET"; then
10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10619 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10622 $as_echo "no
" >&6; }
10627 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10629 set dummy ${ncn_progname}; ac_word=$2
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10631 $as_echo_n "checking
for $ac_word...
" >&6; }
10632 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10633 $as_echo_n "(cached
) " >&6
10635 if test -n "$GFORTRAN_FOR_TARGET"; then
10636 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10639 for as_dir in $PATH
10642 test -z "$as_dir" && as_dir=.
10643 for ac_exec_ext in '' $ac_executable_extensions; do
10644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10645 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10655 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10656 if test -n "$GFORTRAN_FOR_TARGET"; then
10657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10658 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10661 $as_echo "no
" >&6; }
10666 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10670 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10672 if test $build = $target ; then
10673 GFORTRAN_FOR_TARGET="$2"
10675 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10678 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10683 if test -n "$GOC_FOR_TARGET"; then
10684 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10685 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10686 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10689 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10690 for ncn_progname in gccgo; do
10691 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10692 set dummy ${ncn_progname}; ac_word=$2
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10694 $as_echo_n "checking
for $ac_word...
" >&6; }
10695 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10696 $as_echo_n "(cached
) " >&6
10698 if test -n "$GOC_FOR_TARGET"; then
10699 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10709 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10718 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10719 if test -n "$GOC_FOR_TARGET"; then
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10721 $as_echo "$GOC_FOR_TARGET" >&6; }
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10724 $as_echo "no
" >&6; }
10731 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10732 for ncn_progname in gccgo; do
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10734 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10735 if test -x $with_build_time_tools/${ncn_progname}; then
10736 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10738 $as_echo "yes" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10742 $as_echo "no
" >&6; }
10747 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10748 for ncn_progname in gccgo; do
10749 if test -n "$ncn_target_tool_prefix"; then
10750 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10751 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10753 $as_echo_n "checking
for $ac_word...
" >&6; }
10754 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10755 $as_echo_n "(cached
) " >&6
10757 if test -n "$GOC_FOR_TARGET"; then
10758 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10761 for as_dir in $PATH
10764 test -z "$as_dir" && as_dir=.
10765 for ac_exec_ext in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10768 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10777 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10778 if test -n "$GOC_FOR_TARGET"; then
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10780 $as_echo "$GOC_FOR_TARGET" >&6; }
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10783 $as_echo "no
" >&6; }
10788 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10789 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10790 set dummy ${ncn_progname}; ac_word=$2
10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10792 $as_echo_n "checking
for $ac_word...
" >&6; }
10793 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10794 $as_echo_n "(cached
) " >&6
10796 if test -n "$GOC_FOR_TARGET"; then
10797 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10800 for as_dir in $PATH
10803 test -z "$as_dir" && as_dir=.
10804 for ac_exec_ext in '' $ac_executable_extensions; do
10805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10806 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10816 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10817 if test -n "$GOC_FOR_TARGET"; then
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10819 $as_echo "$GOC_FOR_TARGET" >&6; }
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10822 $as_echo "no
" >&6; }
10827 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10831 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10833 if test $build = $target ; then
10834 GOC_FOR_TARGET="$2"
10836 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10839 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10844 cat > conftest.c << \EOF
10849 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10850 have_gcc_for_target=yes
10852 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10853 have_gcc_for_target=no
10860 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10861 if test -n "$with_build_time_tools"; then
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10863 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10864 if test -x $with_build_time_tools/ar; then
10865 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10866 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10868 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10871 $as_echo "no
" >&6; }
10873 elif test $build != $host && test $have_gcc_for_target = yes; then
10874 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10875 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10876 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10879 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10880 # Extract the first word of "ar", so it can be a program name with args.
10881 set dummy ar; ac_word=$2
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10883 $as_echo_n "checking
for $ac_word...
" >&6; }
10884 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10885 $as_echo_n "(cached
) " >&6
10887 case $AR_FOR_TARGET in
10889 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10893 for as_dir in $gcc_cv_tool_dirs
10896 test -z "$as_dir" && as_dir=.
10897 for ac_exec_ext in '' $ac_executable_extensions; do
10898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10899 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10910 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10911 if test -n "$AR_FOR_TARGET"; then
10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10913 $as_echo "$AR_FOR_TARGET" >&6; }
10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10916 $as_echo "no
" >&6; }
10921 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10924 if test -n "$AR_FOR_TARGET"; then
10925 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10926 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10927 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10930 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10931 for ncn_progname in ar; do
10932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10933 set dummy ${ncn_progname}; ac_word=$2
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10935 $as_echo_n "checking
for $ac_word...
" >&6; }
10936 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10937 $as_echo_n "(cached
) " >&6
10939 if test -n "$AR_FOR_TARGET"; then
10940 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10943 for as_dir in $PATH
10946 test -z "$as_dir" && as_dir=.
10947 for ac_exec_ext in '' $ac_executable_extensions; do
10948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10949 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10959 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10960 if test -n "$AR_FOR_TARGET"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10962 $as_echo "$AR_FOR_TARGET" >&6; }
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10965 $as_echo "no
" >&6; }
10972 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10973 for ncn_progname in ar; do
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10975 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10976 if test -x $with_build_time_tools/${ncn_progname}; then
10977 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10979 $as_echo "yes" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10983 $as_echo "no
" >&6; }
10988 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10989 for ncn_progname in ar; do
10990 if test -n "$ncn_target_tool_prefix"; then
10991 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10992 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10994 $as_echo_n "checking
for $ac_word...
" >&6; }
10995 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10996 $as_echo_n "(cached
) " >&6
10998 if test -n "$AR_FOR_TARGET"; then
10999 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11002 for as_dir in $PATH
11005 test -z "$as_dir" && as_dir=.
11006 for ac_exec_ext in '' $ac_executable_extensions; do
11007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11008 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11018 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11019 if test -n "$AR_FOR_TARGET"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11021 $as_echo "$AR_FOR_TARGET" >&6; }
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11024 $as_echo "no
" >&6; }
11029 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11031 set dummy ${ncn_progname}; ac_word=$2
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11033 $as_echo_n "checking
for $ac_word...
" >&6; }
11034 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11035 $as_echo_n "(cached
) " >&6
11037 if test -n "$AR_FOR_TARGET"; then
11038 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11041 for as_dir in $PATH
11044 test -z "$as_dir" && as_dir=.
11045 for ac_exec_ext in '' $ac_executable_extensions; do
11046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11047 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11057 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11058 if test -n "$AR_FOR_TARGET"; then
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11060 $as_echo "$AR_FOR_TARGET" >&6; }
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11063 $as_echo "no
" >&6; }
11068 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11072 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11074 if test $build = $target ; then
11077 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11080 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11084 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11090 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11091 if test -n "$with_build_time_tools"; then
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11093 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11094 if test -x $with_build_time_tools/as; then
11095 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11096 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11098 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11101 $as_echo "no
" >&6; }
11103 elif test $build != $host && test $have_gcc_for_target = yes; then
11104 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11105 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11106 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11109 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11110 # Extract the first word of "as
", so it can be a program name with args.
11111 set dummy as; ac_word=$2
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11113 $as_echo_n "checking
for $ac_word...
" >&6; }
11114 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11115 $as_echo_n "(cached
) " >&6
11117 case $AS_FOR_TARGET in
11119 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11123 for as_dir in $gcc_cv_tool_dirs
11126 test -z "$as_dir" && as_dir=.
11127 for ac_exec_ext in '' $ac_executable_extensions; do
11128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11129 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11140 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11141 if test -n "$AS_FOR_TARGET"; then
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11143 $as_echo "$AS_FOR_TARGET" >&6; }
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11146 $as_echo "no
" >&6; }
11151 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11154 if test -n "$AS_FOR_TARGET"; then
11155 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11156 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11157 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11160 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11161 for ncn_progname in as; do
11162 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11163 set dummy ${ncn_progname}; ac_word=$2
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11165 $as_echo_n "checking
for $ac_word...
" >&6; }
11166 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11167 $as_echo_n "(cached
) " >&6
11169 if test -n "$AS_FOR_TARGET"; then
11170 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11173 for as_dir in $PATH
11176 test -z "$as_dir" && as_dir=.
11177 for ac_exec_ext in '' $ac_executable_extensions; do
11178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11179 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11189 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11190 if test -n "$AS_FOR_TARGET"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11192 $as_echo "$AS_FOR_TARGET" >&6; }
11194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11195 $as_echo "no
" >&6; }
11202 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11203 for ncn_progname in as; do
11204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11205 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11206 if test -x $with_build_time_tools/${ncn_progname}; then
11207 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11209 $as_echo "yes" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11213 $as_echo "no
" >&6; }
11218 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11219 for ncn_progname in as; do
11220 if test -n "$ncn_target_tool_prefix"; then
11221 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11222 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11224 $as_echo_n "checking
for $ac_word...
" >&6; }
11225 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11226 $as_echo_n "(cached
) " >&6
11228 if test -n "$AS_FOR_TARGET"; then
11229 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11232 for as_dir in $PATH
11235 test -z "$as_dir" && as_dir=.
11236 for ac_exec_ext in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11248 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11249 if test -n "$AS_FOR_TARGET"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11251 $as_echo "$AS_FOR_TARGET" >&6; }
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11254 $as_echo "no
" >&6; }
11259 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11260 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11261 set dummy ${ncn_progname}; ac_word=$2
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11263 $as_echo_n "checking
for $ac_word...
" >&6; }
11264 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11265 $as_echo_n "(cached
) " >&6
11267 if test -n "$AS_FOR_TARGET"; then
11268 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11271 for as_dir in $PATH
11274 test -z "$as_dir" && as_dir=.
11275 for ac_exec_ext in '' $ac_executable_extensions; do
11276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11277 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11287 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11288 if test -n "$AS_FOR_TARGET"; then
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11290 $as_echo "$AS_FOR_TARGET" >&6; }
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11293 $as_echo "no
" >&6; }
11298 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11302 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11304 if test $build = $target ; then
11307 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11310 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11314 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11320 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11321 if test -n "$with_build_time_tools"; then
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11323 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11324 if test -x $with_build_time_tools/dlltool; then
11325 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11326 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11328 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11331 $as_echo "no
" >&6; }
11333 elif test $build != $host && test $have_gcc_for_target = yes; then
11334 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11335 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11336 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11339 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11340 # Extract the first word of "dlltool
", so it can be a program name with args.
11341 set dummy dlltool; ac_word=$2
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11343 $as_echo_n "checking
for $ac_word...
" >&6; }
11344 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11345 $as_echo_n "(cached
) " >&6
11347 case $DLLTOOL_FOR_TARGET in
11349 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11353 for as_dir in $gcc_cv_tool_dirs
11356 test -z "$as_dir" && as_dir=.
11357 for ac_exec_ext in '' $ac_executable_extensions; do
11358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11359 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11360 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11370 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11371 if test -n "$DLLTOOL_FOR_TARGET"; then
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11373 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11376 $as_echo "no
" >&6; }
11381 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11384 if test -n "$DLLTOOL_FOR_TARGET"; then
11385 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11386 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11387 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11390 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11391 for ncn_progname in dlltool; do
11392 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11393 set dummy ${ncn_progname}; ac_word=$2
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11395 $as_echo_n "checking
for $ac_word...
" >&6; }
11396 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11397 $as_echo_n "(cached
) " >&6
11399 if test -n "$DLLTOOL_FOR_TARGET"; then
11400 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403 for as_dir in $PATH
11406 test -z "$as_dir" && as_dir=.
11407 for ac_exec_ext in '' $ac_executable_extensions; do
11408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11409 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11419 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11420 if test -n "$DLLTOOL_FOR_TARGET"; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11422 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11425 $as_echo "no
" >&6; }
11432 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11433 for ncn_progname in dlltool; do
11434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11435 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11436 if test -x $with_build_time_tools/${ncn_progname}; then
11437 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11439 $as_echo "yes" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11443 $as_echo "no
" >&6; }
11448 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11449 for ncn_progname in dlltool; do
11450 if test -n "$ncn_target_tool_prefix"; then
11451 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11452 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11454 $as_echo_n "checking
for $ac_word...
" >&6; }
11455 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11456 $as_echo_n "(cached
) " >&6
11458 if test -n "$DLLTOOL_FOR_TARGET"; then
11459 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11462 for as_dir in $PATH
11465 test -z "$as_dir" && as_dir=.
11466 for ac_exec_ext in '' $ac_executable_extensions; do
11467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11468 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11478 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11479 if test -n "$DLLTOOL_FOR_TARGET"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11481 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11484 $as_echo "no
" >&6; }
11489 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11491 set dummy ${ncn_progname}; ac_word=$2
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11493 $as_echo_n "checking
for $ac_word...
" >&6; }
11494 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11495 $as_echo_n "(cached
) " >&6
11497 if test -n "$DLLTOOL_FOR_TARGET"; then
11498 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11501 for as_dir in $PATH
11504 test -z "$as_dir" && as_dir=.
11505 for ac_exec_ext in '' $ac_executable_extensions; do
11506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11507 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11517 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11518 if test -n "$DLLTOOL_FOR_TARGET"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11520 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11523 $as_echo "no
" >&6; }
11528 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11532 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11534 if test $build = $target ; then
11535 DLLTOOL_FOR_TARGET="$2"
11537 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11540 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11544 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11550 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11551 if test -n "$with_build_time_tools"; then
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11553 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11554 if test -x $with_build_time_tools/ld; then
11555 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11556 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11558 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11561 $as_echo "no
" >&6; }
11563 elif test $build != $host && test $have_gcc_for_target = yes; then
11564 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11565 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11566 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11569 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11570 # Extract the first word of "ld
", so it can be a program name with args.
11571 set dummy ld; ac_word=$2
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11573 $as_echo_n "checking
for $ac_word...
" >&6; }
11574 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11575 $as_echo_n "(cached
) " >&6
11577 case $LD_FOR_TARGET in
11579 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11583 for as_dir in $gcc_cv_tool_dirs
11586 test -z "$as_dir" && as_dir=.
11587 for ac_exec_ext in '' $ac_executable_extensions; do
11588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11589 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11600 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11601 if test -n "$LD_FOR_TARGET"; then
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11603 $as_echo "$LD_FOR_TARGET" >&6; }
11605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11606 $as_echo "no
" >&6; }
11611 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11614 if test -n "$LD_FOR_TARGET"; then
11615 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11616 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11617 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11620 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11621 for ncn_progname in ld; do
11622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11623 set dummy ${ncn_progname}; ac_word=$2
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11625 $as_echo_n "checking
for $ac_word...
" >&6; }
11626 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11627 $as_echo_n "(cached
) " >&6
11629 if test -n "$LD_FOR_TARGET"; then
11630 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11633 for as_dir in $PATH
11636 test -z "$as_dir" && as_dir=.
11637 for ac_exec_ext in '' $ac_executable_extensions; do
11638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11639 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11649 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11650 if test -n "$LD_FOR_TARGET"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11652 $as_echo "$LD_FOR_TARGET" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11655 $as_echo "no
" >&6; }
11662 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11663 for ncn_progname in ld; do
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11665 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11666 if test -x $with_build_time_tools/${ncn_progname}; then
11667 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11669 $as_echo "yes" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11673 $as_echo "no
" >&6; }
11678 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11679 for ncn_progname in ld; do
11680 if test -n "$ncn_target_tool_prefix"; then
11681 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11682 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11684 $as_echo_n "checking
for $ac_word...
" >&6; }
11685 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11686 $as_echo_n "(cached
) " >&6
11688 if test -n "$LD_FOR_TARGET"; then
11689 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11692 for as_dir in $PATH
11695 test -z "$as_dir" && as_dir=.
11696 for ac_exec_ext in '' $ac_executable_extensions; do
11697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11698 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11708 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11709 if test -n "$LD_FOR_TARGET"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11711 $as_echo "$LD_FOR_TARGET" >&6; }
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11714 $as_echo "no
" >&6; }
11719 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11720 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11721 set dummy ${ncn_progname}; ac_word=$2
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11723 $as_echo_n "checking
for $ac_word...
" >&6; }
11724 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11725 $as_echo_n "(cached
) " >&6
11727 if test -n "$LD_FOR_TARGET"; then
11728 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11731 for as_dir in $PATH
11734 test -z "$as_dir" && as_dir=.
11735 for ac_exec_ext in '' $ac_executable_extensions; do
11736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11737 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11747 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11748 if test -n "$LD_FOR_TARGET"; then
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11750 $as_echo "$LD_FOR_TARGET" >&6; }
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11753 $as_echo "no
" >&6; }
11758 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11762 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11764 if test $build = $target ; then
11767 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11770 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11774 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11780 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11781 if test -n "$with_build_time_tools"; then
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11783 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11784 if test -x $with_build_time_tools/lipo; then
11785 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11786 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11788 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11791 $as_echo "no
" >&6; }
11793 elif test $build != $host && test $have_gcc_for_target = yes; then
11794 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11795 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11796 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11799 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11800 # Extract the first word of "lipo
", so it can be a program name with args.
11801 set dummy lipo; ac_word=$2
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11803 $as_echo_n "checking
for $ac_word...
" >&6; }
11804 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11805 $as_echo_n "(cached
) " >&6
11807 case $LIPO_FOR_TARGET in
11809 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11813 for as_dir in $gcc_cv_tool_dirs
11816 test -z "$as_dir" && as_dir=.
11817 for ac_exec_ext in '' $ac_executable_extensions; do
11818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11819 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11820 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11830 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11831 if test -n "$LIPO_FOR_TARGET"; then
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11833 $as_echo "$LIPO_FOR_TARGET" >&6; }
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11836 $as_echo "no
" >&6; }
11841 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11844 if test -n "$LIPO_FOR_TARGET"; then
11845 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11846 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11847 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11850 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11851 for ncn_progname in lipo; do
11852 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11853 set dummy ${ncn_progname}; ac_word=$2
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11855 $as_echo_n "checking
for $ac_word...
" >&6; }
11856 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11857 $as_echo_n "(cached
) " >&6
11859 if test -n "$LIPO_FOR_TARGET"; then
11860 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11863 for as_dir in $PATH
11866 test -z "$as_dir" && as_dir=.
11867 for ac_exec_ext in '' $ac_executable_extensions; do
11868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11869 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11879 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11880 if test -n "$LIPO_FOR_TARGET"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11882 $as_echo "$LIPO_FOR_TARGET" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11885 $as_echo "no
" >&6; }
11892 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11893 for ncn_progname in lipo; do
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11895 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11896 if test -x $with_build_time_tools/${ncn_progname}; then
11897 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11899 $as_echo "yes" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11903 $as_echo "no
" >&6; }
11908 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11909 for ncn_progname in lipo; do
11910 if test -n "$ncn_target_tool_prefix"; then
11911 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11912 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11914 $as_echo_n "checking
for $ac_word...
" >&6; }
11915 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11916 $as_echo_n "(cached
) " >&6
11918 if test -n "$LIPO_FOR_TARGET"; then
11919 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11922 for as_dir in $PATH
11925 test -z "$as_dir" && as_dir=.
11926 for ac_exec_ext in '' $ac_executable_extensions; do
11927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11928 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11938 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11939 if test -n "$LIPO_FOR_TARGET"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11941 $as_echo "$LIPO_FOR_TARGET" >&6; }
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11944 $as_echo "no
" >&6; }
11949 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11950 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11951 set dummy ${ncn_progname}; ac_word=$2
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11953 $as_echo_n "checking
for $ac_word...
" >&6; }
11954 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11955 $as_echo_n "(cached
) " >&6
11957 if test -n "$LIPO_FOR_TARGET"; then
11958 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11961 for as_dir in $PATH
11964 test -z "$as_dir" && as_dir=.
11965 for ac_exec_ext in '' $ac_executable_extensions; do
11966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11967 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11977 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11978 if test -n "$LIPO_FOR_TARGET"; then
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11980 $as_echo "$LIPO_FOR_TARGET" >&6; }
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11983 $as_echo "no
" >&6; }
11988 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11992 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11994 if test $build = $target ; then
11995 LIPO_FOR_TARGET="$2"
11997 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12000 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12004 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12010 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12011 if test -n "$with_build_time_tools"; then
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12013 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12014 if test -x $with_build_time_tools/nm; then
12015 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12016 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12018 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12021 $as_echo "no
" >&6; }
12023 elif test $build != $host && test $have_gcc_for_target = yes; then
12024 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12025 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12026 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12029 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12030 # Extract the first word of "nm
", so it can be a program name with args.
12031 set dummy nm; ac_word=$2
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12033 $as_echo_n "checking
for $ac_word...
" >&6; }
12034 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12035 $as_echo_n "(cached
) " >&6
12037 case $NM_FOR_TARGET in
12039 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12043 for as_dir in $gcc_cv_tool_dirs
12046 test -z "$as_dir" && as_dir=.
12047 for ac_exec_ext in '' $ac_executable_extensions; do
12048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12049 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12050 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12060 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12061 if test -n "$NM_FOR_TARGET"; then
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12063 $as_echo "$NM_FOR_TARGET" >&6; }
12065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12066 $as_echo "no
" >&6; }
12071 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12074 if test -n "$NM_FOR_TARGET"; then
12075 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12076 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12077 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12080 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12081 for ncn_progname in nm; do
12082 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12083 set dummy ${ncn_progname}; ac_word=$2
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12085 $as_echo_n "checking
for $ac_word...
" >&6; }
12086 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12087 $as_echo_n "(cached
) " >&6
12089 if test -n "$NM_FOR_TARGET"; then
12090 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12093 for as_dir in $PATH
12096 test -z "$as_dir" && as_dir=.
12097 for ac_exec_ext in '' $ac_executable_extensions; do
12098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12099 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12109 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12110 if test -n "$NM_FOR_TARGET"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12112 $as_echo "$NM_FOR_TARGET" >&6; }
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12115 $as_echo "no
" >&6; }
12122 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12123 for ncn_progname in nm; do
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12125 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12126 if test -x $with_build_time_tools/${ncn_progname}; then
12127 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12129 $as_echo "yes" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12133 $as_echo "no
" >&6; }
12138 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12139 for ncn_progname in nm; do
12140 if test -n "$ncn_target_tool_prefix"; then
12141 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12142 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12144 $as_echo_n "checking
for $ac_word...
" >&6; }
12145 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12146 $as_echo_n "(cached
) " >&6
12148 if test -n "$NM_FOR_TARGET"; then
12149 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12152 for as_dir in $PATH
12155 test -z "$as_dir" && as_dir=.
12156 for ac_exec_ext in '' $ac_executable_extensions; do
12157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12158 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12168 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12169 if test -n "$NM_FOR_TARGET"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12171 $as_echo "$NM_FOR_TARGET" >&6; }
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12174 $as_echo "no
" >&6; }
12179 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12180 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12181 set dummy ${ncn_progname}; ac_word=$2
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12183 $as_echo_n "checking
for $ac_word...
" >&6; }
12184 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12185 $as_echo_n "(cached
) " >&6
12187 if test -n "$NM_FOR_TARGET"; then
12188 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12191 for as_dir in $PATH
12194 test -z "$as_dir" && as_dir=.
12195 for ac_exec_ext in '' $ac_executable_extensions; do
12196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12197 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12207 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12208 if test -n "$NM_FOR_TARGET"; then
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12210 $as_echo "$NM_FOR_TARGET" >&6; }
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12213 $as_echo "no
" >&6; }
12218 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12222 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12224 if test $build = $target ; then
12227 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12230 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12234 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12240 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12241 if test -n "$with_build_time_tools"; then
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12243 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12244 if test -x $with_build_time_tools/objdump; then
12245 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12246 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12248 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12251 $as_echo "no
" >&6; }
12253 elif test $build != $host && test $have_gcc_for_target = yes; then
12254 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12255 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12256 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12259 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12260 # Extract the first word of "objdump
", so it can be a program name with args.
12261 set dummy objdump; ac_word=$2
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12263 $as_echo_n "checking
for $ac_word...
" >&6; }
12264 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12265 $as_echo_n "(cached
) " >&6
12267 case $OBJDUMP_FOR_TARGET in
12269 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12273 for as_dir in $gcc_cv_tool_dirs
12276 test -z "$as_dir" && as_dir=.
12277 for ac_exec_ext in '' $ac_executable_extensions; do
12278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12279 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12290 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12291 if test -n "$OBJDUMP_FOR_TARGET"; then
12292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12293 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12296 $as_echo "no
" >&6; }
12301 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12304 if test -n "$OBJDUMP_FOR_TARGET"; then
12305 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12306 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12307 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12310 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12311 for ncn_progname in objdump; do
12312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12313 set dummy ${ncn_progname}; ac_word=$2
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12315 $as_echo_n "checking
for $ac_word...
" >&6; }
12316 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12317 $as_echo_n "(cached
) " >&6
12319 if test -n "$OBJDUMP_FOR_TARGET"; then
12320 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12323 for as_dir in $PATH
12326 test -z "$as_dir" && as_dir=.
12327 for ac_exec_ext in '' $ac_executable_extensions; do
12328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12329 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12339 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12340 if test -n "$OBJDUMP_FOR_TARGET"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12342 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12345 $as_echo "no
" >&6; }
12352 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12353 for ncn_progname in objdump; do
12354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12355 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12356 if test -x $with_build_time_tools/${ncn_progname}; then
12357 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12359 $as_echo "yes" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12363 $as_echo "no
" >&6; }
12368 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12369 for ncn_progname in objdump; do
12370 if test -n "$ncn_target_tool_prefix"; then
12371 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12372 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12374 $as_echo_n "checking
for $ac_word...
" >&6; }
12375 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12376 $as_echo_n "(cached
) " >&6
12378 if test -n "$OBJDUMP_FOR_TARGET"; then
12379 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12382 for as_dir in $PATH
12385 test -z "$as_dir" && as_dir=.
12386 for ac_exec_ext in '' $ac_executable_extensions; do
12387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12388 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12398 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12399 if test -n "$OBJDUMP_FOR_TARGET"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12401 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12404 $as_echo "no
" >&6; }
12409 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12410 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12411 set dummy ${ncn_progname}; ac_word=$2
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12413 $as_echo_n "checking
for $ac_word...
" >&6; }
12414 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12415 $as_echo_n "(cached
) " >&6
12417 if test -n "$OBJDUMP_FOR_TARGET"; then
12418 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12421 for as_dir in $PATH
12424 test -z "$as_dir" && as_dir=.
12425 for ac_exec_ext in '' $ac_executable_extensions; do
12426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12427 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12437 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12438 if test -n "$OBJDUMP_FOR_TARGET"; then
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12440 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12443 $as_echo "no
" >&6; }
12448 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12452 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12454 if test $build = $target ; then
12455 OBJDUMP_FOR_TARGET="$2"
12457 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12460 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12464 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12470 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12471 if test -n "$with_build_time_tools"; then
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12473 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12474 if test -x $with_build_time_tools/ranlib; then
12475 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12476 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12478 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12481 $as_echo "no
" >&6; }
12483 elif test $build != $host && test $have_gcc_for_target = yes; then
12484 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12485 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12486 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12489 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12490 # Extract the first word of "ranlib
", so it can be a program name with args.
12491 set dummy ranlib; ac_word=$2
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12493 $as_echo_n "checking
for $ac_word...
" >&6; }
12494 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12495 $as_echo_n "(cached
) " >&6
12497 case $RANLIB_FOR_TARGET in
12499 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12503 for as_dir in $gcc_cv_tool_dirs
12506 test -z "$as_dir" && as_dir=.
12507 for ac_exec_ext in '' $ac_executable_extensions; do
12508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12509 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12520 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12521 if test -n "$RANLIB_FOR_TARGET"; then
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12523 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12526 $as_echo "no
" >&6; }
12531 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12534 if test -n "$RANLIB_FOR_TARGET"; then
12535 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12536 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12537 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12540 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12541 for ncn_progname in ranlib; do
12542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12543 set dummy ${ncn_progname}; ac_word=$2
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12545 $as_echo_n "checking
for $ac_word...
" >&6; }
12546 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12547 $as_echo_n "(cached
) " >&6
12549 if test -n "$RANLIB_FOR_TARGET"; then
12550 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12553 for as_dir in $PATH
12556 test -z "$as_dir" && as_dir=.
12557 for ac_exec_ext in '' $ac_executable_extensions; do
12558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12559 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12569 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12570 if test -n "$RANLIB_FOR_TARGET"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12572 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12575 $as_echo "no
" >&6; }
12582 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12583 for ncn_progname in ranlib; do
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12585 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12586 if test -x $with_build_time_tools/${ncn_progname}; then
12587 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12589 $as_echo "yes" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12593 $as_echo "no
" >&6; }
12598 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12599 for ncn_progname in ranlib; do
12600 if test -n "$ncn_target_tool_prefix"; then
12601 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12602 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12604 $as_echo_n "checking
for $ac_word...
" >&6; }
12605 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12606 $as_echo_n "(cached
) " >&6
12608 if test -n "$RANLIB_FOR_TARGET"; then
12609 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12612 for as_dir in $PATH
12615 test -z "$as_dir" && as_dir=.
12616 for ac_exec_ext in '' $ac_executable_extensions; do
12617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12618 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12619 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12628 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12629 if test -n "$RANLIB_FOR_TARGET"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12631 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12634 $as_echo "no
" >&6; }
12639 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12640 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12641 set dummy ${ncn_progname}; ac_word=$2
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12643 $as_echo_n "checking
for $ac_word...
" >&6; }
12644 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12645 $as_echo_n "(cached
) " >&6
12647 if test -n "$RANLIB_FOR_TARGET"; then
12648 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12651 for as_dir in $PATH
12654 test -z "$as_dir" && as_dir=.
12655 for ac_exec_ext in '' $ac_executable_extensions; do
12656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12657 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12667 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12668 if test -n "$RANLIB_FOR_TARGET"; then
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12670 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12673 $as_echo "no
" >&6; }
12678 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12682 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12684 if test $build = $target ; then
12685 RANLIB_FOR_TARGET="$2"
12687 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12690 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12694 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12700 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12701 if test -n "$with_build_time_tools"; then
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12703 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12704 if test -x $with_build_time_tools/readelf; then
12705 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12706 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12708 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12711 $as_echo "no
" >&6; }
12713 elif test $build != $host && test $have_gcc_for_target = yes; then
12714 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12715 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12716 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12719 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12720 # Extract the first word of "readelf
", so it can be a program name with args.
12721 set dummy readelf; ac_word=$2
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12723 $as_echo_n "checking
for $ac_word...
" >&6; }
12724 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12725 $as_echo_n "(cached
) " >&6
12727 case $READELF_FOR_TARGET in
12729 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12733 for as_dir in $gcc_cv_tool_dirs
12736 test -z "$as_dir" && as_dir=.
12737 for ac_exec_ext in '' $ac_executable_extensions; do
12738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12739 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12740 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12750 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12751 if test -n "$READELF_FOR_TARGET"; then
12752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12753 $as_echo "$READELF_FOR_TARGET" >&6; }
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12756 $as_echo "no
" >&6; }
12761 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12764 if test -n "$READELF_FOR_TARGET"; then
12765 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12766 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12767 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12770 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12771 for ncn_progname in readelf; do
12772 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12773 set dummy ${ncn_progname}; ac_word=$2
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12775 $as_echo_n "checking
for $ac_word...
" >&6; }
12776 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12777 $as_echo_n "(cached
) " >&6
12779 if test -n "$READELF_FOR_TARGET"; then
12780 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12783 for as_dir in $PATH
12786 test -z "$as_dir" && as_dir=.
12787 for ac_exec_ext in '' $ac_executable_extensions; do
12788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12789 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12799 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12800 if test -n "$READELF_FOR_TARGET"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12802 $as_echo "$READELF_FOR_TARGET" >&6; }
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12805 $as_echo "no
" >&6; }
12812 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12813 for ncn_progname in readelf; do
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12815 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12816 if test -x $with_build_time_tools/${ncn_progname}; then
12817 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12819 $as_echo "yes" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12823 $as_echo "no
" >&6; }
12828 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12829 for ncn_progname in readelf; do
12830 if test -n "$ncn_target_tool_prefix"; then
12831 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12832 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12834 $as_echo_n "checking
for $ac_word...
" >&6; }
12835 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12836 $as_echo_n "(cached
) " >&6
12838 if test -n "$READELF_FOR_TARGET"; then
12839 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12842 for as_dir in $PATH
12845 test -z "$as_dir" && as_dir=.
12846 for ac_exec_ext in '' $ac_executable_extensions; do
12847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12848 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12849 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12858 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12859 if test -n "$READELF_FOR_TARGET"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12861 $as_echo "$READELF_FOR_TARGET" >&6; }
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12864 $as_echo "no
" >&6; }
12869 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12870 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12871 set dummy ${ncn_progname}; ac_word=$2
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12873 $as_echo_n "checking
for $ac_word...
" >&6; }
12874 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12875 $as_echo_n "(cached
) " >&6
12877 if test -n "$READELF_FOR_TARGET"; then
12878 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12881 for as_dir in $PATH
12884 test -z "$as_dir" && as_dir=.
12885 for ac_exec_ext in '' $ac_executable_extensions; do
12886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12887 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12897 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12898 if test -n "$READELF_FOR_TARGET"; then
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12900 $as_echo "$READELF_FOR_TARGET" >&6; }
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12903 $as_echo "no
" >&6; }
12908 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12912 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12914 if test $build = $target ; then
12915 READELF_FOR_TARGET="$2"
12917 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12920 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12924 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12930 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12931 if test -n "$with_build_time_tools"; then
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12933 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12934 if test -x $with_build_time_tools/strip; then
12935 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12936 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12938 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12941 $as_echo "no
" >&6; }
12943 elif test $build != $host && test $have_gcc_for_target = yes; then
12944 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12945 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12946 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12949 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12950 # Extract the first word of "strip
", so it can be a program name with args.
12951 set dummy strip; ac_word=$2
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12953 $as_echo_n "checking
for $ac_word...
" >&6; }
12954 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12955 $as_echo_n "(cached
) " >&6
12957 case $STRIP_FOR_TARGET in
12959 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12963 for as_dir in $gcc_cv_tool_dirs
12966 test -z "$as_dir" && as_dir=.
12967 for ac_exec_ext in '' $ac_executable_extensions; do
12968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12969 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12980 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12981 if test -n "$STRIP_FOR_TARGET"; then
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12983 $as_echo "$STRIP_FOR_TARGET" >&6; }
12985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12986 $as_echo "no
" >&6; }
12991 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12994 if test -n "$STRIP_FOR_TARGET"; then
12995 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12996 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12997 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13000 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13001 for ncn_progname in strip; do
13002 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13003 set dummy ${ncn_progname}; ac_word=$2
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13005 $as_echo_n "checking
for $ac_word...
" >&6; }
13006 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13007 $as_echo_n "(cached
) " >&6
13009 if test -n "$STRIP_FOR_TARGET"; then
13010 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13013 for as_dir in $PATH
13016 test -z "$as_dir" && as_dir=.
13017 for ac_exec_ext in '' $ac_executable_extensions; do
13018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13019 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13029 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13030 if test -n "$STRIP_FOR_TARGET"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13032 $as_echo "$STRIP_FOR_TARGET" >&6; }
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13035 $as_echo "no
" >&6; }
13042 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13043 for ncn_progname in strip; do
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13045 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13046 if test -x $with_build_time_tools/${ncn_progname}; then
13047 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13049 $as_echo "yes" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13053 $as_echo "no
" >&6; }
13058 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13059 for ncn_progname in strip; do
13060 if test -n "$ncn_target_tool_prefix"; then
13061 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13062 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13064 $as_echo_n "checking
for $ac_word...
" >&6; }
13065 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13066 $as_echo_n "(cached
) " >&6
13068 if test -n "$STRIP_FOR_TARGET"; then
13069 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13072 for as_dir in $PATH
13075 test -z "$as_dir" && as_dir=.
13076 for ac_exec_ext in '' $ac_executable_extensions; do
13077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13078 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13079 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13088 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13089 if test -n "$STRIP_FOR_TARGET"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13091 $as_echo "$STRIP_FOR_TARGET" >&6; }
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13094 $as_echo "no
" >&6; }
13099 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13100 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13101 set dummy ${ncn_progname}; ac_word=$2
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13103 $as_echo_n "checking
for $ac_word...
" >&6; }
13104 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13105 $as_echo_n "(cached
) " >&6
13107 if test -n "$STRIP_FOR_TARGET"; then
13108 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13111 for as_dir in $PATH
13114 test -z "$as_dir" && as_dir=.
13115 for ac_exec_ext in '' $ac_executable_extensions; do
13116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13117 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13127 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13128 if test -n "$STRIP_FOR_TARGET"; then
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13130 $as_echo "$STRIP_FOR_TARGET" >&6; }
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13133 $as_echo "no
" >&6; }
13138 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13142 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13144 if test $build = $target ; then
13145 STRIP_FOR_TARGET="$2"
13147 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13150 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13154 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13160 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13161 if test -n "$with_build_time_tools"; then
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13163 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13164 if test -x $with_build_time_tools/windres; then
13165 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13166 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13168 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13171 $as_echo "no
" >&6; }
13173 elif test $build != $host && test $have_gcc_for_target = yes; then
13174 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13175 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13176 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13179 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13180 # Extract the first word of "windres
", so it can be a program name with args.
13181 set dummy windres; ac_word=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13183 $as_echo_n "checking
for $ac_word...
" >&6; }
13184 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13185 $as_echo_n "(cached
) " >&6
13187 case $WINDRES_FOR_TARGET in
13189 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13193 for as_dir in $gcc_cv_tool_dirs
13196 test -z "$as_dir" && as_dir=.
13197 for ac_exec_ext in '' $ac_executable_extensions; do
13198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13199 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13210 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13211 if test -n "$WINDRES_FOR_TARGET"; then
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13213 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13216 $as_echo "no
" >&6; }
13221 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13224 if test -n "$WINDRES_FOR_TARGET"; then
13225 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13226 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13227 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13230 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13231 for ncn_progname in windres; do
13232 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13233 set dummy ${ncn_progname}; ac_word=$2
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13235 $as_echo_n "checking
for $ac_word...
" >&6; }
13236 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13237 $as_echo_n "(cached
) " >&6
13239 if test -n "$WINDRES_FOR_TARGET"; then
13240 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13243 for as_dir in $PATH
13246 test -z "$as_dir" && as_dir=.
13247 for ac_exec_ext in '' $ac_executable_extensions; do
13248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13249 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13259 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13260 if test -n "$WINDRES_FOR_TARGET"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13262 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13265 $as_echo "no
" >&6; }
13272 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13273 for ncn_progname in windres; do
13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13275 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13276 if test -x $with_build_time_tools/${ncn_progname}; then
13277 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13279 $as_echo "yes" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13283 $as_echo "no
" >&6; }
13288 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13289 for ncn_progname in windres; do
13290 if test -n "$ncn_target_tool_prefix"; then
13291 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13292 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13294 $as_echo_n "checking
for $ac_word...
" >&6; }
13295 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13296 $as_echo_n "(cached
) " >&6
13298 if test -n "$WINDRES_FOR_TARGET"; then
13299 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13302 for as_dir in $PATH
13305 test -z "$as_dir" && as_dir=.
13306 for ac_exec_ext in '' $ac_executable_extensions; do
13307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13308 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13309 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13318 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13319 if test -n "$WINDRES_FOR_TARGET"; then
13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13321 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13324 $as_echo "no
" >&6; }
13329 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13330 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13331 set dummy ${ncn_progname}; ac_word=$2
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13333 $as_echo_n "checking
for $ac_word...
" >&6; }
13334 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13335 $as_echo_n "(cached
) " >&6
13337 if test -n "$WINDRES_FOR_TARGET"; then
13338 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13341 for as_dir in $PATH
13344 test -z "$as_dir" && as_dir=.
13345 for ac_exec_ext in '' $ac_executable_extensions; do
13346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13347 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13357 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13358 if test -n "$WINDRES_FOR_TARGET"; then
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13360 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13363 $as_echo "no
" >&6; }
13368 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13372 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13374 if test $build = $target ; then
13375 WINDRES_FOR_TARGET="$2"
13377 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13380 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13384 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13390 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13391 if test -n "$with_build_time_tools"; then
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13393 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13394 if test -x $with_build_time_tools/windmc; then
13395 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13396 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13398 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13401 $as_echo "no
" >&6; }
13403 elif test $build != $host && test $have_gcc_for_target = yes; then
13404 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13405 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13406 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13409 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13410 # Extract the first word of "windmc
", so it can be a program name with args.
13411 set dummy windmc; ac_word=$2
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13413 $as_echo_n "checking
for $ac_word...
" >&6; }
13414 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13415 $as_echo_n "(cached
) " >&6
13417 case $WINDMC_FOR_TARGET in
13419 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13423 for as_dir in $gcc_cv_tool_dirs
13426 test -z "$as_dir" && as_dir=.
13427 for ac_exec_ext in '' $ac_executable_extensions; do
13428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13429 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13430 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13440 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13441 if test -n "$WINDMC_FOR_TARGET"; then
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13443 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13446 $as_echo "no
" >&6; }
13451 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13454 if test -n "$WINDMC_FOR_TARGET"; then
13455 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13456 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13457 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13460 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13461 for ncn_progname in windmc; do
13462 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13463 set dummy ${ncn_progname}; ac_word=$2
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13465 $as_echo_n "checking
for $ac_word...
" >&6; }
13466 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13467 $as_echo_n "(cached
) " >&6
13469 if test -n "$WINDMC_FOR_TARGET"; then
13470 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13473 for as_dir in $PATH
13476 test -z "$as_dir" && as_dir=.
13477 for ac_exec_ext in '' $ac_executable_extensions; do
13478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13479 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13480 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13489 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13490 if test -n "$WINDMC_FOR_TARGET"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13492 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13495 $as_echo "no
" >&6; }
13502 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13503 for ncn_progname in windmc; do
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13505 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13506 if test -x $with_build_time_tools/${ncn_progname}; then
13507 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13509 $as_echo "yes" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13513 $as_echo "no
" >&6; }
13518 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13519 for ncn_progname in windmc; do
13520 if test -n "$ncn_target_tool_prefix"; then
13521 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13522 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13524 $as_echo_n "checking
for $ac_word...
" >&6; }
13525 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13526 $as_echo_n "(cached
) " >&6
13528 if test -n "$WINDMC_FOR_TARGET"; then
13529 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13532 for as_dir in $PATH
13535 test -z "$as_dir" && as_dir=.
13536 for ac_exec_ext in '' $ac_executable_extensions; do
13537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13538 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13548 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13549 if test -n "$WINDMC_FOR_TARGET"; then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13551 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13554 $as_echo "no
" >&6; }
13559 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13560 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13561 set dummy ${ncn_progname}; ac_word=$2
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13563 $as_echo_n "checking
for $ac_word...
" >&6; }
13564 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13565 $as_echo_n "(cached
) " >&6
13567 if test -n "$WINDMC_FOR_TARGET"; then
13568 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13571 for as_dir in $PATH
13574 test -z "$as_dir" && as_dir=.
13575 for ac_exec_ext in '' $ac_executable_extensions; do
13576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13577 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13587 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13588 if test -n "$WINDMC_FOR_TARGET"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13590 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13593 $as_echo "no
" >&6; }
13598 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13602 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13604 if test $build = $target ; then
13605 WINDMC_FOR_TARGET="$2"
13607 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13610 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13614 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13618 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13621 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13622 if test "x
${build}" != "x
${host}" ; then
13623 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13624 # We already found the complete path
13625 ac_dir=`dirname $AR_FOR_TARGET`
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13627 $as_echo "pre-installed
in $ac_dir" >&6; }
13629 # Canadian cross, just use what we found
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13631 $as_echo "pre-installed
" >&6; }
13635 case " ${configdirs} " in
13640 if test $ok = yes; then
13641 # An in-tree tool is available and we can use it
13642 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13644 $as_echo "just compiled
" >&6; }
13645 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13646 # We already found the complete path
13647 ac_dir=`dirname $AR_FOR_TARGET`
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13649 $as_echo "pre-installed
in $ac_dir" >&6; }
13650 elif test "x
$target" = "x
$host"; then
13651 # We can use an host tool
13652 AR_FOR_TARGET='$(AR)'
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13654 $as_echo "host tool
" >&6; }
13656 # We need a cross tool
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13658 $as_echo "pre-installed
" >&6; }
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13663 $as_echo_n "checking where to
find the target as...
" >&6; }
13664 if test "x
${build}" != "x
${host}" ; then
13665 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13666 # We already found the complete path
13667 ac_dir=`dirname $AS_FOR_TARGET`
13668 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13669 $as_echo "pre-installed
in $ac_dir" >&6; }
13671 # Canadian cross, just use what we found
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13673 $as_echo "pre-installed
" >&6; }
13677 case " ${configdirs} " in
13682 if test $ok = yes; then
13683 # An in-tree tool is available and we can use it
13684 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13686 $as_echo "just compiled
" >&6; }
13687 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13688 # We already found the complete path
13689 ac_dir=`dirname $AS_FOR_TARGET`
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13691 $as_echo "pre-installed
in $ac_dir" >&6; }
13692 elif test "x
$target" = "x
$host"; then
13693 # We can use an host tool
13694 AS_FOR_TARGET='$(AS)'
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13696 $as_echo "host tool
" >&6; }
13698 # We need a cross tool
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13700 $as_echo "pre-installed
" >&6; }
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13705 $as_echo_n "checking where to
find the target cc...
" >&6; }
13706 if test "x
${build}" != "x
${host}" ; then
13707 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13708 # We already found the complete path
13709 ac_dir=`dirname $CC_FOR_TARGET`
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13711 $as_echo "pre-installed
in $ac_dir" >&6; }
13713 # Canadian cross, just use what we found
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13715 $as_echo "pre-installed
" >&6; }
13719 case " ${configdirs} " in
13724 if test $ok = yes; then
13725 # An in-tree tool is available and we can use it
13726 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13728 $as_echo "just compiled
" >&6; }
13729 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13730 # We already found the complete path
13731 ac_dir=`dirname $CC_FOR_TARGET`
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13733 $as_echo "pre-installed
in $ac_dir" >&6; }
13734 elif test "x
$target" = "x
$host"; then
13735 # We can use an host tool
13736 CC_FOR_TARGET='$(CC)'
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13738 $as_echo "host tool
" >&6; }
13740 # We need a cross tool
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13742 $as_echo "pre-installed
" >&6; }
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13747 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13748 if test "x
${build}" != "x
${host}" ; then
13749 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13750 # We already found the complete path
13751 ac_dir=`dirname $CXX_FOR_TARGET`
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13753 $as_echo "pre-installed
in $ac_dir" >&6; }
13755 # Canadian cross, just use what we found
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13757 $as_echo "pre-installed
" >&6; }
13761 case " ${configdirs} " in
13765 case ,${enable_languages}, in
13769 if test $ok = yes; then
13770 # An in-tree tool is available and we can use it
13771 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'
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13773 $as_echo "just compiled
" >&6; }
13774 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13775 # We already found the complete path
13776 ac_dir=`dirname $CXX_FOR_TARGET`
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13778 $as_echo "pre-installed
in $ac_dir" >&6; }
13779 elif test "x
$target" = "x
$host"; then
13780 # We can use an host tool
13781 CXX_FOR_TARGET='$(CXX)'
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13783 $as_echo "host tool
" >&6; }
13785 # We need a cross tool
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13787 $as_echo "pre-installed
" >&6; }
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13792 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13793 if test "x
${build}" != "x
${host}" ; then
13794 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13795 # We already found the complete path
13796 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13798 $as_echo "pre-installed
in $ac_dir" >&6; }
13800 # Canadian cross, just use what we found
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13802 $as_echo "pre-installed
" >&6; }
13806 case " ${configdirs} " in
13810 case ,${enable_languages}, in
13814 if test $ok = yes; then
13815 # An in-tree tool is available and we can use it
13816 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'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13818 $as_echo "just compiled
" >&6; }
13819 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13820 # We already found the complete path
13821 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13823 $as_echo "pre-installed
in $ac_dir" >&6; }
13824 elif test "x
$target" = "x
$host"; then
13825 # We can use an host tool
13826 RAW_CXX_FOR_TARGET='$(CXX)'
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13828 $as_echo "host tool
" >&6; }
13830 # We need a cross tool
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13832 $as_echo "pre-installed
" >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13837 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13838 if test "x
${build}" != "x
${host}" ; then
13839 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13840 # We already found the complete path
13841 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13843 $as_echo "pre-installed
in $ac_dir" >&6; }
13845 # Canadian cross, just use what we found
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13847 $as_echo "pre-installed
" >&6; }
13851 case " ${configdirs} " in
13856 if test $ok = yes; then
13857 # An in-tree tool is available and we can use it
13858 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13860 $as_echo "just compiled
" >&6; }
13861 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13862 # We already found the complete path
13863 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13865 $as_echo "pre-installed
in $ac_dir" >&6; }
13866 elif test "x
$target" = "x
$host"; then
13867 # We can use an host tool
13868 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13870 $as_echo "host tool
" >&6; }
13872 # We need a cross tool
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13874 $as_echo "pre-installed
" >&6; }
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13879 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13880 if test "x
${build}" != "x
${host}" ; then
13881 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13882 # We already found the complete path
13883 ac_dir=`dirname $GCC_FOR_TARGET`
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13885 $as_echo "pre-installed
in $ac_dir" >&6; }
13887 # Canadian cross, just use what we found
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13889 $as_echo "pre-installed
" >&6; }
13893 case " ${configdirs} " in
13898 if test $ok = yes; then
13899 # An in-tree tool is available and we can use it
13900 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13902 $as_echo "just compiled
" >&6; }
13903 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13904 # We already found the complete path
13905 ac_dir=`dirname $GCC_FOR_TARGET`
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13907 $as_echo "pre-installed
in $ac_dir" >&6; }
13908 elif test "x
$target" = "x
$host"; then
13909 # We can use an host tool
13910 GCC_FOR_TARGET='$()'
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13912 $as_echo "host tool
" >&6; }
13914 # We need a cross tool
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13916 $as_echo "pre-installed
" >&6; }
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13921 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13922 if test "x
${build}" != "x
${host}" ; then
13923 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13924 # We already found the complete path
13925 ac_dir=`dirname $GCJ_FOR_TARGET`
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13927 $as_echo "pre-installed
in $ac_dir" >&6; }
13929 # Canadian cross, just use what we found
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13931 $as_echo "pre-installed
" >&6; }
13935 case " ${configdirs} " in
13939 case ,${enable_languages}, in
13943 if test $ok = yes; then
13944 # An in-tree tool is available and we can use it
13945 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13947 $as_echo "just compiled
" >&6; }
13948 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13949 # We already found the complete path
13950 ac_dir=`dirname $GCJ_FOR_TARGET`
13951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13952 $as_echo "pre-installed
in $ac_dir" >&6; }
13953 elif test "x
$target" = "x
$host"; then
13954 # We can use an host tool
13955 GCJ_FOR_TARGET='$(GCJ)'
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13957 $as_echo "host tool
" >&6; }
13959 # We need a cross tool
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13961 $as_echo "pre-installed
" >&6; }
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13966 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13967 if test "x
${build}" != "x
${host}" ; then
13968 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13969 # We already found the complete path
13970 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13972 $as_echo "pre-installed
in $ac_dir" >&6; }
13974 # Canadian cross, just use what we found
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13976 $as_echo "pre-installed
" >&6; }
13980 case " ${configdirs} " in
13984 case ,${enable_languages}, in
13988 if test $ok = yes; then
13989 # An in-tree tool is available and we can use it
13990 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13992 $as_echo "just compiled
" >&6; }
13993 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13994 # We already found the complete path
13995 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13997 $as_echo "pre-installed
in $ac_dir" >&6; }
13998 elif test "x
$target" = "x
$host"; then
13999 # We can use an host tool
14000 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14002 $as_echo "host tool
" >&6; }
14004 # We need a cross tool
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14006 $as_echo "pre-installed
" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14011 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14012 if test "x
${build}" != "x
${host}" ; then
14013 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14014 # We already found the complete path
14015 ac_dir=`dirname $GOC_FOR_TARGET`
14016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14017 $as_echo "pre-installed
in $ac_dir" >&6; }
14019 # Canadian cross, just use what we found
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14021 $as_echo "pre-installed
" >&6; }
14025 case " ${configdirs} " in
14029 case ,${enable_languages}, in
14033 if test $ok = yes; then
14034 # An in-tree tool is available and we can use it
14035 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14037 $as_echo "just compiled
" >&6; }
14038 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14039 # We already found the complete path
14040 ac_dir=`dirname $GOC_FOR_TARGET`
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14042 $as_echo "pre-installed
in $ac_dir" >&6; }
14043 elif test "x
$target" = "x
$host"; then
14044 # We can use an host tool
14045 GOC_FOR_TARGET='$(GOC)'
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14047 $as_echo "host tool
" >&6; }
14049 # We need a cross tool
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14051 $as_echo "pre-installed
" >&6; }
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14056 $as_echo_n "checking where to
find the target ld...
" >&6; }
14057 if test "x
${build}" != "x
${host}" ; then
14058 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14059 # We already found the complete path
14060 ac_dir=`dirname $LD_FOR_TARGET`
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14062 $as_echo "pre-installed
in $ac_dir" >&6; }
14064 # Canadian cross, just use what we found
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14066 $as_echo "pre-installed
" >&6; }
14070 case " ${configdirs} " in
14075 if test $ok = yes; then
14076 # An in-tree tool is available and we can use it
14077 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14079 $as_echo "just compiled
" >&6; }
14080 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14081 # We already found the complete path
14082 ac_dir=`dirname $LD_FOR_TARGET`
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14084 $as_echo "pre-installed
in $ac_dir" >&6; }
14085 elif test "x
$target" = "x
$host"; then
14086 # We can use an host tool
14087 LD_FOR_TARGET='$(LD)'
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14089 $as_echo "host tool
" >&6; }
14091 # We need a cross tool
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14093 $as_echo "pre-installed
" >&6; }
14097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14098 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14099 if test "x
${build}" != "x
${host}" ; then
14100 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14101 # We already found the complete path
14102 ac_dir=`dirname $LIPO_FOR_TARGET`
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14104 $as_echo "pre-installed
in $ac_dir" >&6; }
14106 # Canadian cross, just use what we found
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14108 $as_echo "pre-installed
" >&6; }
14111 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14112 # We already found the complete path
14113 ac_dir=`dirname $LIPO_FOR_TARGET`
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14115 $as_echo "pre-installed
in $ac_dir" >&6; }
14116 elif test "x
$target" = "x
$host"; then
14117 # We can use an host tool
14118 LIPO_FOR_TARGET='$(LIPO)'
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14120 $as_echo "host tool
" >&6; }
14122 # We need a cross tool
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14124 $as_echo "pre-installed
" >&6; }
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14129 $as_echo_n "checking where to
find the target nm...
" >&6; }
14130 if test "x
${build}" != "x
${host}" ; then
14131 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14132 # We already found the complete path
14133 ac_dir=`dirname $NM_FOR_TARGET`
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14135 $as_echo "pre-installed
in $ac_dir" >&6; }
14137 # Canadian cross, just use what we found
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14139 $as_echo "pre-installed
" >&6; }
14143 case " ${configdirs} " in
14148 if test $ok = yes; then
14149 # An in-tree tool is available and we can use it
14150 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14152 $as_echo "just compiled
" >&6; }
14153 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14154 # We already found the complete path
14155 ac_dir=`dirname $NM_FOR_TARGET`
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14157 $as_echo "pre-installed
in $ac_dir" >&6; }
14158 elif test "x
$target" = "x
$host"; then
14159 # We can use an host tool
14160 NM_FOR_TARGET='$(NM)'
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14162 $as_echo "host tool
" >&6; }
14164 # We need a cross tool
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14166 $as_echo "pre-installed
" >&6; }
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14171 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14172 if test "x
${build}" != "x
${host}" ; then
14173 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14174 # We already found the complete path
14175 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14177 $as_echo "pre-installed
in $ac_dir" >&6; }
14179 # Canadian cross, just use what we found
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14181 $as_echo "pre-installed
" >&6; }
14185 case " ${configdirs} " in
14190 if test $ok = yes; then
14191 # An in-tree tool is available and we can use it
14192 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14194 $as_echo "just compiled
" >&6; }
14195 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14196 # We already found the complete path
14197 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14199 $as_echo "pre-installed
in $ac_dir" >&6; }
14200 elif test "x
$target" = "x
$host"; then
14201 # We can use an host tool
14202 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14204 $as_echo "host tool
" >&6; }
14206 # We need a cross tool
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14208 $as_echo "pre-installed
" >&6; }
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14213 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14214 if test "x
${build}" != "x
${host}" ; then
14215 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14216 # We already found the complete path
14217 ac_dir=`dirname $RANLIB_FOR_TARGET`
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14219 $as_echo "pre-installed
in $ac_dir" >&6; }
14221 # Canadian cross, just use what we found
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14223 $as_echo "pre-installed
" >&6; }
14227 case " ${configdirs} " in
14232 if test $ok = yes; then
14233 # An in-tree tool is available and we can use it
14234 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14236 $as_echo "just compiled
" >&6; }
14237 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14238 # We already found the complete path
14239 ac_dir=`dirname $RANLIB_FOR_TARGET`
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14241 $as_echo "pre-installed
in $ac_dir" >&6; }
14242 elif test "x
$target" = "x
$host"; then
14243 # We can use an host tool
14244 RANLIB_FOR_TARGET='$(RANLIB)'
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14246 $as_echo "host tool
" >&6; }
14248 # We need a cross tool
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14250 $as_echo "pre-installed
" >&6; }
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14255 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14256 if test "x
${build}" != "x
${host}" ; then
14257 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14258 # We already found the complete path
14259 ac_dir=`dirname $READELF_FOR_TARGET`
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14261 $as_echo "pre-installed
in $ac_dir" >&6; }
14263 # Canadian cross, just use what we found
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14265 $as_echo "pre-installed
" >&6; }
14269 case " ${configdirs} " in
14274 if test $ok = yes; then
14275 # An in-tree tool is available and we can use it
14276 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14278 $as_echo "just compiled
" >&6; }
14279 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14280 # We already found the complete path
14281 ac_dir=`dirname $READELF_FOR_TARGET`
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14283 $as_echo "pre-installed
in $ac_dir" >&6; }
14284 elif test "x
$target" = "x
$host"; then
14285 # We can use an host tool
14286 READELF_FOR_TARGET='$(READELF)'
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14288 $as_echo "host tool
" >&6; }
14290 # We need a cross tool
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14292 $as_echo "pre-installed
" >&6; }
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14297 $as_echo_n "checking where to
find the target strip...
" >&6; }
14298 if test "x
${build}" != "x
${host}" ; then
14299 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14300 # We already found the complete path
14301 ac_dir=`dirname $STRIP_FOR_TARGET`
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14303 $as_echo "pre-installed
in $ac_dir" >&6; }
14305 # Canadian cross, just use what we found
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14307 $as_echo "pre-installed
" >&6; }
14311 case " ${configdirs} " in
14316 if test $ok = yes; then
14317 # An in-tree tool is available and we can use it
14318 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14320 $as_echo "just compiled
" >&6; }
14321 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14322 # We already found the complete path
14323 ac_dir=`dirname $STRIP_FOR_TARGET`
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14325 $as_echo "pre-installed
in $ac_dir" >&6; }
14326 elif test "x
$target" = "x
$host"; then
14327 # We can use an host tool
14328 STRIP_FOR_TARGET='$(STRIP)'
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14330 $as_echo "host tool
" >&6; }
14332 # We need a cross tool
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14334 $as_echo "pre-installed
" >&6; }
14338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14339 $as_echo_n "checking where to
find the target windres...
" >&6; }
14340 if test "x
${build}" != "x
${host}" ; then
14341 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14342 # We already found the complete path
14343 ac_dir=`dirname $WINDRES_FOR_TARGET`
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14345 $as_echo "pre-installed
in $ac_dir" >&6; }
14347 # Canadian cross, just use what we found
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14349 $as_echo "pre-installed
" >&6; }
14353 case " ${configdirs} " in
14358 if test $ok = yes; then
14359 # An in-tree tool is available and we can use it
14360 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14362 $as_echo "just compiled
" >&6; }
14363 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14364 # We already found the complete path
14365 ac_dir=`dirname $WINDRES_FOR_TARGET`
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14367 $as_echo "pre-installed
in $ac_dir" >&6; }
14368 elif test "x
$target" = "x
$host"; then
14369 # We can use an host tool
14370 WINDRES_FOR_TARGET='$(WINDRES)'
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14372 $as_echo "host tool
" >&6; }
14374 # We need a cross tool
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14376 $as_echo "pre-installed
" >&6; }
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14381 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14382 if test "x
${build}" != "x
${host}" ; then
14383 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14384 # We already found the complete path
14385 ac_dir=`dirname $WINDMC_FOR_TARGET`
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14387 $as_echo "pre-installed
in $ac_dir" >&6; }
14389 # Canadian cross, just use what we found
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14391 $as_echo "pre-installed
" >&6; }
14395 case " ${configdirs} " in
14400 if test $ok = yes; then
14401 # An in-tree tool is available and we can use it
14402 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14404 $as_echo "just compiled
" >&6; }
14405 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14406 # We already found the complete path
14407 ac_dir=`dirname $WINDMC_FOR_TARGET`
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14409 $as_echo "pre-installed
in $ac_dir" >&6; }
14410 elif test "x
$target" = "x
$host"; then
14411 # We can use an host tool
14412 WINDMC_FOR_TARGET='$(WINDMC)'
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14414 $as_echo "host tool
" >&6; }
14416 # We need a cross tool
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14418 $as_echo "pre-installed
" >&6; }
14426 # Certain tools may need extra flags.
14427 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14428 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14429 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14431 # When building target libraries, except in a Canadian cross, we use
14432 # the same toolchain as the compiler we just built.
14433 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14434 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14435 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14436 if test $host = $build; then
14437 case " $configdirs " in
14439 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14440 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14441 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14451 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14452 # Check whether --enable-maintainer-mode was given.
14453 if test "${enable_maintainer_mode+set}" = set; then :
14454 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14456 USE_MAINTAINER_MODE=no
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14460 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14463 if test "$USE_MAINTAINER_MODE" = yes; then
14464 MAINTAINER_MODE_TRUE=
14465 MAINTAINER_MODE_FALSE='#'
14467 MAINTAINER_MODE_TRUE='#'
14468 MAINTAINER_MODE_FALSE=
14470 MAINT=$MAINTAINER_MODE_TRUE
14472 # ---------------------
14473 # GCC bootstrap support
14474 # ---------------------
14476 # Stage specific cflags for build.
14481 yes) stage1_cflags="-g -Wa,-J" ;;
14482 *) stage1_cflags="-g -J" ;;
14488 # Enable --enable-checking in stage1 of the compiler.
14489 # Check whether --enable-stage1-checking was given.
14490 if test "${enable_stage1_checking+set}" = set; then :
14491 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14493 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14494 stage1_checking=--enable-checking=yes,types
14496 stage1_checking=--enable-checking=$enable_checking,types
14502 # Enable -Werror in bootstrap stage2 and later.
14503 # Check whether --enable-werror was given.
14504 if test "${enable_werror+set}" = set; then :
14505 enableval=$enable_werror;
14507 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14514 case ${enable_werror} in
14515 yes) stage2_werror_flag="--enable-werror-always" ;;
14516 *) stage2_werror_flag="" ;;
14520 # Enable --enable-host-shared.
14521 # Check whether --enable-host-shared was given.
14522 if test "${enable_host_shared+set}" = set; then :
14523 enableval=$enable_host_shared; host_shared=$enableval
14530 # Specify what files to not compare during bootstrap.
14532 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14534 hppa*64*-*-hpux*) ;;
14535 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14536 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14540 ac_config_files="$ac_config_files Makefile
"
14542 cat >confcache <<\_ACEOF
14543 # This file is a shell script that caches the results of configure
14544 # tests run on this system so they can be shared between configure
14545 # scripts and configure runs, see configure's option --config-cache.
14546 # It is not useful on other systems. If it contains results you don't
14547 # want to keep, you may remove or edit it.
14549 # config.status only pays attention to the cache file if you give it
14550 # the --recheck option to rerun configure.
14552 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14553 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14554 # following values.
14558 # The following way of writing the cache mishandles newlines in values,
14559 # but we know of no workaround that is simple, portable, and efficient.
14560 # So, we kill variables containing newlines.
14561 # Ultrix sh set writes to stderr and can't be redirected directly,
14562 # and sets the high bit in the cache file unless we assign to the vars.
14564 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14565 eval ac_val=\$$ac_var
14569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14570 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14573 _ | IFS | as_nl) ;; #(
14574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14575 *) { eval $ac_var=; unset $ac_var;} ;;
14581 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14582 *${as_nl}ac_space=\ *)
14583 # `set' does not quote correctly, so add quotes: double-quote
14584 # substitution turns \\\\ into \\, and sed turns \\ into \.
14587 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14590 # `set' quotes correctly as required by POSIX, so do not add quotes.
14591 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14600 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14602 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14604 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14605 if test -w "$cache_file"; then
14606 test "x
$cache_file" != "x
/dev
/null
" &&
14607 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14608 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14609 cat confcache >$cache_file
14611 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14612 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14617 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14618 # Let make expand exec_prefix.
14619 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14621 # Transform confdefs.h into DEFS.
14622 # Protect against shell expansion while executing Makefile rules.
14623 # Protect against Makefile macro expansion.
14625 # If the first sed substitution is executed (which looks for macros that
14626 # take arguments), then branch to the quote section. Otherwise,
14627 # look for a macro that doesn't take arguments.
14637 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14639 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14643 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14656 DEFS=`sed -n "$ac_script" confdefs.h`
14661 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14662 # 1. Remove the extension, and $U if already installed.
14663 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14664 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14665 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14666 # will be set to the directory where LIBOBJS objects are built.
14667 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14668 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14670 LIBOBJS=$ac_libobjs
14672 LTLIBOBJS=$ac_ltlibobjs
14676 : ${CONFIG_STATUS=./config.status}
14678 ac_clean_files_save=$ac_clean_files
14679 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14681 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14683 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14685 # Generated by $as_me.
14686 # Run this file to recreate the current configuration.
14687 # Compiler output produced by configure, useful for debugging
14688 # configure, is in config.log if it exists.
14691 ac_cs_recheck=false
14694 SHELL=\${CONFIG_SHELL-$SHELL}
14697 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14698 ## -------------------- ##
14699 ## M4sh Initialization. ##
14700 ## -------------------- ##
14702 # Be more Bourne compatible
14703 DUALCASE=1; export DUALCASE # for MKS sh
14704 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14707 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14708 # is contrary to our usage. Disable this feature.
14709 alias -g '${1+"$@"}'='"$@"'
14710 setopt NO_GLOB_SUBST
14712 case `(set -o) 2>/dev/null` in #(
14724 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14725 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14726 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14727 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14728 # Prefer a ksh shell builtin over an external printf program on Solaris,
14729 # but without wasting forks for bash or zsh.
14730 if test -z "$BASH_VERSION$ZSH_VERSION" \
14731 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14732 as_echo
='print -r --'
14733 as_echo_n
='print -rn --'
14734 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14735 as_echo
='printf %s\n'
14736 as_echo_n
='printf %s'
14738 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14739 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14740 as_echo_n
='/usr/ucb/echo -n'
14742 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14743 as_echo_n_body
='eval
14747 expr "X$arg" : "X\\(.*\\)$as_nl";
14748 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14750 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14752 export as_echo_n_body
14753 as_echo_n
='sh -c $as_echo_n_body as_echo'
14755 export as_echo_body
14756 as_echo
='sh -c $as_echo_body as_echo'
14759 # The user is always right.
14760 if test "${PATH_SEPARATOR+set}" != set; then
14762 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14763 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14770 # We need space, tab and new line, in precisely that order. Quoting is
14771 # there to prevent editors from complaining about space-tab.
14772 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14773 # splitting by setting IFS to empty value.)
14776 # Find who we are. Look in the path if we contain no directory separator.
14778 *[\\/]* ) as_myself
=$0 ;;
14779 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14780 for as_dir
in $PATH
14783 test -z "$as_dir" && as_dir
=.
14784 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14790 # We did not find ourselves, most probably we were run as `sh COMMAND'
14791 # in which case we are not to be found in the path.
14792 if test "x$as_myself" = x
; then
14795 if test ! -f "$as_myself"; then
14796 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14800 # Unset variables that we do not need and which cause bugs (e.g. in
14801 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14802 # suppresses any "Segmentation fault" message there. '((' could
14803 # trigger a bug in pdksh 5.2.14.
14804 for as_var
in BASH_ENV ENV MAIL MAILPATH
14805 do eval test x\
${$as_var+set} = xset \
14806 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14819 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14822 # as_fn_error ERROR [LINENO LOG_FD]
14823 # ---------------------------------
14824 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14825 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14826 # script with status $?, using 1 if that was 0.
14829 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14831 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14832 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14834 $as_echo "$as_me: error: $1" >&2
14835 as_fn_exit
$as_status
14839 # as_fn_set_status STATUS
14840 # -----------------------
14841 # Set $? to STATUS, without forking.
14842 as_fn_set_status
()
14845 } # as_fn_set_status
14847 # as_fn_exit STATUS
14848 # -----------------
14849 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14853 as_fn_set_status
$1
14859 # Portably unset VAR.
14862 { eval $1=; unset $1;}
14864 as_unset
=as_fn_unset
14865 # as_fn_append VAR VALUE
14866 # ----------------------
14867 # Append the text in VALUE to the end of the definition contained in VAR. Take
14868 # advantage of any shell optimizations that allow amortized linear growth over
14869 # repeated appends, instead of the typical quadratic growth present in naive
14871 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14872 eval 'as_fn_append ()
14883 # as_fn_arith ARG...
14884 # ------------------
14885 # Perform arithmetic evaluation on the ARGs, and store the result in the
14886 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14887 # must be portable across $(()) and expr.
14888 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14889 eval 'as_fn_arith ()
14896 as_val
=`expr "$@" || test $? -eq 1`
14901 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14902 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14908 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14909 as_basename
=basename
14914 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14920 as_me
=`$as_basename -- "$0" ||
14921 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14922 X"$0" : 'X\(//\)$' \| \
14923 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14925 sed '/^.*\/\([^/][^/]*\)\/*$/{
14939 # Avoid depending upon Character Ranges.
14940 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14941 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14942 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14943 as_cr_digits
='0123456789'
14944 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14946 ECHO_C
= ECHO_N
= ECHO_T
=
14947 case `echo -n x` in #(((((
14949 case `echo 'xy\c'` in
14950 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14952 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14959 rm -f conf$$ conf$$.exe conf$$.
file
14960 if test -d conf$$.dir
; then
14961 rm -f conf$$.dir
/conf$$.
file
14964 mkdir conf$$.dir
2>/dev
/null
14966 if (echo >conf$$.
file) 2>/dev
/null
; then
14967 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14969 # ... but there are two gotchas:
14970 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14971 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14972 # In both cases, we have to default to `cp -p'.
14973 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14975 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14983 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14984 rmdir conf$$.dir
2>/dev
/null
14989 # Create "$as_dir" as a directory, including parents if necessary.
14994 -*) as_dir
=.
/$as_dir;;
14996 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15000 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15001 *) as_qdir
=$as_dir;;
15003 as_dirs
="'$as_qdir' $as_dirs"
15004 as_dir
=`$as_dirname -- "$as_dir" ||
15005 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15006 X"$as_dir" : 'X\(//\)[^/]' \| \
15007 X"$as_dir" : 'X\(//\)$' \| \
15008 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15009 $as_echo X"$as_dir" |
15010 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15014 /^X\(\/\/\)[^/].*/{
15027 test -d "$as_dir" && break
15029 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15030 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15034 if mkdir
-p .
2>/dev
/null
; then
15035 as_mkdir_p
='mkdir -p "$as_dir"'
15037 test -d .
/-p && rmdir .
/-p
15041 if test -x / >/dev
/null
2>&1; then
15042 as_test_x
='test -x'
15044 if ls -dL / >/dev
/null
2>&1; then
15051 if test -d "$1"; then
15057 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15058 ???[sx]*):;;*)false;;esac;fi
15062 as_executable_p
=$as_test_x
15064 # Sed expression to map a string onto a valid CPP name.
15065 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15067 # Sed expression to map a string onto a valid variable name.
15068 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15072 ## ----------------------------------- ##
15073 ## Main body of $CONFIG_STATUS script. ##
15074 ## ----------------------------------- ##
15076 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15079 # Save the log message, to keep $0 and so on meaningful, and to
15080 # report actual input values of CONFIG_FILES etc. instead of their
15081 # values after options handling.
15083 This file was extended by $as_me, which was
15084 generated by GNU Autoconf 2.64. Invocation command line was
15086 CONFIG_FILES = $CONFIG_FILES
15087 CONFIG_HEADERS = $CONFIG_HEADERS
15088 CONFIG_LINKS = $CONFIG_LINKS
15089 CONFIG_COMMANDS = $CONFIG_COMMANDS
15092 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15097 case $ac_config_files in *"
15098 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15104 # Files that config.status was made for.
15105 config_files="$ac_config_files"
15109 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15111 \`$as_me' instantiates files and other configuration actions
15112 from templates according to the current configuration. Unless the files
15113 and actions are specified as TAGs, all are instantiated by default.
15115 Usage: $0 [OPTION]... [TAG]...
15117 -h, --help print this help, then exit
15118 -V, --version print version number and configuration settings, then exit
15119 -q, --quiet, --silent
15120 do not print progress messages
15121 -d, --debug don't remove temporary files
15122 --recheck update $as_me by reconfiguring in the same conditions
15123 --file=FILE[:TEMPLATE]
15124 instantiate the configuration file FILE
15126 Configuration files:
15129 Report bugs to the package provider."
15132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15135 configured by $0, generated by GNU Autoconf 2.64,
15136 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15138 Copyright (C) 2009 Free Software Foundation, Inc.
15139 This config.status script is free software; the Free Software Foundation
15140 gives unlimited permission to copy, distribute and modify it."
15146 test -n "\$AWK" || AWK=awk
15149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15150 # The default lists apply if the user does not specify any file.
15156 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15157 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15168 # Handling of the options.
15169 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15171 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15172 $as_echo "$ac_cs_version"; exit ;;
15173 --debug |
--debu |
--deb |
--de |
--d |
-d )
15175 --file |
--fil |
--fi |
--f )
15178 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15180 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15181 ac_need_defaults
=false
;;
15182 --he |
--h |
--help |
--hel |
-h )
15183 $as_echo "$ac_cs_usage"; exit ;;
15184 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15185 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15188 # This is an error.
15189 -*) as_fn_error
"unrecognized option: \`$1'
15190 Try \`$0 --help' for more information." ;;
15192 *) as_fn_append ac_config_targets
" $1"
15193 ac_need_defaults
=false
;;
15199 ac_configure_extra_args
=
15201 if $ac_cs_silent; then
15203 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15208 if \$ac_cs_recheck; then
15209 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15211 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15212 CONFIG_SHELL='$SHELL'
15213 export CONFIG_SHELL
15218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15222 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15223 ## Running $as_me. ##
15229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15233 extrasub_build="$extrasub_build"
15234 extrasub_host="$extrasub_host"
15235 extrasub_target="$extrasub_target"
15239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15241 # Handling of arguments.
15242 for ac_config_target
in $ac_config_targets
15244 case $ac_config_target in
15245 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15247 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15252 # If the user did not use the arguments to specify the items to instantiate,
15253 # then the envvar interface is used. Set only those that are not.
15254 # We use the long form for the default assignment because of an extremely
15255 # bizarre bug on SunOS 4.1.3.
15256 if $ac_need_defaults; then
15257 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15260 # Have a temporary directory for convenience. Make it in the build tree
15261 # simply because there is no reason against having it here, and in addition,
15262 # creating and moving files from /tmp can sometimes cause problems.
15263 # Hook for its removal unless debugging.
15264 # Note that there is a small window in which the directory will not be cleaned:
15265 # after its creation but before its name has been assigned to `$tmp'.
15269 trap 'exit_status=$?
15270 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15272 trap 'as_fn_exit 1' 1 2 13 15
15274 # Create a (secure) tmp directory for tmp files.
15277 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15278 test -n "$tmp" && test -d "$tmp"
15281 tmp
=.
/conf$$
-$RANDOM
15282 (umask 077 && mkdir
"$tmp")
15283 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15285 # Set up the scripts for CONFIG_FILES section.
15286 # No need to generate them if there are no CONFIG_FILES.
15287 # This happens for instance with `./config.status config.h'.
15288 if test -n "$CONFIG_FILES"; then
15290 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15291 ac_cs_awk_getline
=:
15292 ac_cs_awk_pipe_init
=
15293 ac_cs_awk_read_file
='
15294 while ((getline aline < (F[key])) > 0)
15297 ac_cs_awk_pipe_fini
=
15299 ac_cs_awk_getline
=false
15300 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15301 ac_cs_awk_read_file
='
15303 print "cat " F[key] " &&"
15304 '$ac_cs_awk_pipe_init
15305 # The final `:' finishes the AND list.
15306 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15308 ac_cr
=`echo X | tr X '\015'`
15309 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15310 # But we know of no other shell where ac_cr would be empty at this
15311 # point, so we can use a bashism as a fallback.
15312 if test "x$ac_cr" = x
; then
15313 eval ac_cr
=\$
\'\\r
\'
15315 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15316 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15319 ac_cs_awk_cr
=$ac_cr
15322 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15325 # Create commands to substitute file output variables.
15327 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15328 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15329 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15332 } >conf$
$files.sh
&&
15333 . .
/conf$
$files.sh ||
15334 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15335 rm -f conf$
$files.sh
15338 echo "cat >conf$$subs.awk <<_ACEOF" &&
15339 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15341 } >conf$$subs.sh ||
15342 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15343 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15345 for ac_last_try in false false false false false :; do
15346 . ./conf$$subs.sh ||
15347 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15349 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15350 if test $ac_delim_n = $ac_delim_num; then
15352 elif $ac_last_try; then
15353 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15355 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15358 rm -f conf$$subs.sh
15360 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15361 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15365 s/^/S["/; s
/!.
*/"]=/
15375 s/\(.\{148\}\).*/\1/
15377 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15382 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15389 s/\(.\{148\}\).*/\1/
15391 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15395 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15400 ' <conf$$subs.awk | sed '
15405 ' >>$CONFIG_STATUS || ac_write_fail=1
15406 rm -f conf$$subs.awk
15407 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15409 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15410 for (key in S) S_is_set[key] = 1
15412 \$ac_cs_awk_pipe_init
15416 nfields = split(line, field, "@
")
15418 len = length(field[1])
15419 for (i = 2; i < nfields; i++) {
15421 keylen = length(key)
15422 if (S_is_set[key]) {
15424 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15425 len += length(value) + length(field[++i])
15430 if (nfields == 3 && !substed) {
15432 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15433 \$ac_cs_awk_read_file
15439 \$ac_cs_awk_pipe_fini
15442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15443 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15444 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15447 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15448 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15451 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15452 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15453 # trailing colons and then remove the whole line if VPATH becomes empty
15454 # (actually we leave an empty line to preserve line numbers).
15455 if test "x
$srcdir" = x.; then
15456 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15457 s/:*\$(srcdir):*/:/
15458 s/:*\${srcdir}:*/:/
15460 s/^\([^=]*=[ ]*\):*/\1/
15466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15467 fi # test -n "$CONFIG_FILES"
15470 eval set X " :F
$CONFIG_FILES "
15475 :[FHLC]) ac_mode=$ac_tag; continue;;
15477 case $ac_mode$ac_tag in
15479 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15480 :[FH]-) ac_tag=-:-;;
15481 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15498 -) ac_f="$tmp/stdin";;
15499 *) # Look for the file first in the build tree, then in the source tree
15500 # (if the path is not absolute). The absolute path cannot be DOS-style,
15501 # because $ac_f cannot contain `:'.
15505 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15507 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15509 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15510 as_fn_append ac_file_inputs " '$ac_f'"
15513 # Let's still pretend it is `configure' which instantiates (i.e., don't
15514 # use $as_me), people would be surprised to read:
15515 # /* config.h. Generated by config.status. */
15516 configure_input='Generated from '`
15517 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15519 if test x"$ac_file" != x-; then
15520 configure_input="$ac_file.
$configure_input"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15522 $as_echo "$as_me: creating
$ac_file" >&6;}
15524 # Neutralize special characters interpreted by sed in replacement strings.
15525 case $configure_input in #(
15526 *\&* | *\|* | *\\* )
15527 ac_sed_conf_input=`$as_echo "$configure_input" |
15528 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15529 *) ac_sed_conf_input=$configure_input;;
15533 *:-:* | *:-) cat >"$tmp/stdin
" \
15534 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15539 ac_dir=`$as_dirname -- "$ac_file" ||
15540 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15541 X"$ac_file" : 'X\(//\)[^/]' \| \
15542 X"$ac_file" : 'X\(//\)$' \| \
15543 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15544 $as_echo X"$ac_file" |
15545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15549 /^X\(\/\/\)[^/].*/{
15562 as_dir="$ac_dir"; as_fn_mkdir_p
15566 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15568 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15569 # A "..
" for each directory in $ac_dir_suffix.
15570 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15571 case $ac_top_builddir_sub in
15572 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15573 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15576 ac_abs_top_builddir=$ac_pwd
15577 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15578 # for backward compatibility:
15579 ac_top_builddir=$ac_top_build_prefix
15582 .) # We are building in place.
15584 ac_top_srcdir=$ac_top_builddir_sub
15585 ac_abs_top_srcdir=$ac_pwd ;;
15586 [\\/]* | ?:[\\/]* ) # Absolute name.
15587 ac_srcdir=$srcdir$ac_dir_suffix;
15588 ac_top_srcdir=$srcdir
15589 ac_abs_top_srcdir=$srcdir ;;
15590 *) # Relative name.
15591 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15592 ac_top_srcdir=$ac_top_build_prefix$srcdir
15593 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15595 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15605 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15606 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15610 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15611 # If the template does not know about datarootdir, expand it.
15612 # FIXME: This hack should be removed a few years after 2.60.
15613 ac_datarootdir_hack=; ac_datarootdir_seen=
15624 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15625 *datarootdir*) ac_datarootdir_seen=yes;;
15626 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15628 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15631 ac_datarootdir_hack='
15632 s&@datadir@&$datadir&g
15633 s&@docdir@&$docdir&g
15634 s&@infodir@&$infodir&g
15635 s&@localedir@&$localedir&g
15636 s&@mandir@&$mandir&g
15637 s&\\\${datarootdir}&$datarootdir&g' ;;
15641 # Neutralize VPATH when `$srcdir' = `.'.
15642 # Shell code in configure.ac might set extrasub.
15643 # FIXME: do we really want to maintain this feature?
15644 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15645 ac_sed_extra="$ac_vpsub
15648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15650 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15651 s|@configure_input@|
$ac_sed_conf_input|
;t t
15652 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15653 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15654 s
&@srcdir@
&$ac_srcdir&;t t
15655 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15656 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15657 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15658 s
&@builddir@
&$ac_builddir&;t t
15659 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15660 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15661 s
&@INSTALL@
&$ac_INSTALL&;t t
15662 $ac_datarootdir_hack
15664 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15665 if $ac_cs_awk_getline; then
15666 $AWK -f "$tmp/subs.
awk"
15668 $AWK -f "$tmp/subs.
awk" | $SHELL
15670 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15672 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15673 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15674 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15676 which seems to be undefined. Please make sure it is defined." >&5
15677 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15678 which seems to be undefined. Please make sure it is defined." >&2;}
15682 -) cat "$tmp/out" && rm -f "$tmp/out";;
15683 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15685 || as_fn_error "could not create $ac_file" "$LINENO" 5
15693 case $ac_file$ac_mode in
15694 "Makefile":F) sed "$extrasub_build" Makefile |
15695 sed "$extrasub_host" |
15696 sed "$extrasub_target" > mf$$
15697 mv -f mf$$ Makefile ;;
15705 ac_clean_files=$ac_clean_files_save
15707 test $ac_write_fail = 0 ||
15708 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15711 # configure is writing to config.log, and then calls config.status.
15712 # config.status does its own redirection, appending to config.log.
15713 # Unfortunately, on DOS this fails, as config.log is still kept open
15714 # by configure, so config.status won't be able to
write to it
; its
15715 # output is simply discarded. So we exec the FD to /dev/null,
15716 # effectively closing config.log, so it can be properly (re)opened and
15717 # appended to by config.status. When coming back to configure, we
15718 # need to make the FD available again.
15719 if test "$no_create" != yes; then
15721 ac_config_status_args
=
15722 test "$silent" = yes &&
15723 ac_config_status_args
="$ac_config_status_args --quiet"
15725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15728 # would make configure fail if this is the last instruction.
15729 $ac_cs_success || as_fn_exit $?
15731 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15733 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}