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
645 DEBUG_PREFIX_CFLAGS_FOR_TARGET
646 SYSROOT_CFLAGS_FOR_TARGET
648 extra_host_libiberty_configure_flags
656 extra_isl_gmp_configure_flags
657 extra_mpc_mpfr_configure_flags
658 extra_mpc_gmp_configure_flags
659 extra_mpfr_configure_flags
675 EXTRA_CONFIGARGS_LIBJAVA
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
752 enable_libquadmath_support
756 enable_static_libjava
778 enable_isl_version_check
781 enable_cloog_version_check
783 enable_stage1_languages
787 with_debug_prefix_map
789 enable_serial_configure
790 enable_upc_link_script
791 with_build_time_tools
792 enable_maintainer_mode
793 enable_stage1_checking
797 ac_precious_vars
='build_alias
845 # Initialize some variables set by options.
847 ac_init_version
=false
848 ac_unrecognized_opts
=
850 # The variables have the same names as the options, with
851 # dashes changed to underlines.
859 program_transform_name
=s
,x
,x
,
867 # Installation directory options.
868 # These are left unexpanded so users can "make install exec_prefix=/foo"
869 # and all the variables that are supposed to be based on exec_prefix
870 # by default will actually change.
871 # Use braces instead of parens because sh, perl, etc. also accept them.
872 # (The list follows the same order as the GNU Coding Standards.)
873 bindir
='${exec_prefix}/bin'
874 sbindir
='${exec_prefix}/sbin'
875 libexecdir
='${exec_prefix}/libexec'
876 datarootdir
='${prefix}/share'
877 datadir
='${datarootdir}'
878 sysconfdir
='${prefix}/etc'
879 sharedstatedir
='${prefix}/com'
880 localstatedir
='${prefix}/var'
881 includedir
='${prefix}/include'
882 oldincludedir
='/usr/include'
883 docdir
='${datarootdir}/doc/${PACKAGE}'
884 infodir
='${datarootdir}/info'
889 libdir
='${exec_prefix}/lib'
890 localedir
='${datarootdir}/locale'
891 mandir
='${datarootdir}/man'
897 # If the previous option needs an argument, assign it.
898 if test -n "$ac_prev"; then
899 eval $ac_prev=\
$ac_option
905 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
909 # Accept the important Cygnus configure options, so we can diagnose typos.
911 case $ac_dashdash$ac_option in
915 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
917 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
920 -build |
--build |
--buil |
--bui |
--bu)
921 ac_prev
=build_alias
;;
922 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
923 build_alias
=$ac_optarg ;;
925 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
926 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
927 ac_prev
=cache_file
;;
928 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
929 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
930 cache_file
=$ac_optarg ;;
933 cache_file
=config.cache
;;
935 -datadir |
--datadir |
--datadi |
--datad)
937 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
938 datadir
=$ac_optarg ;;
940 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
941 |
--dataroo |
--dataro |
--datar)
942 ac_prev
=datarootdir
;;
943 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
944 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
945 datarootdir
=$ac_optarg ;;
947 -disable-* |
--disable-*)
948 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
951 as_fn_error
"invalid feature name: $ac_useropt"
952 ac_useropt_orig
=$ac_useropt
953 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
959 ac_unrecognized_sep
=', ';;
961 eval enable_
$ac_useropt=no
;;
963 -docdir |
--docdir |
--docdi |
--doc |
--do)
965 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
968 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
970 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
973 -enable-* |
--enable-*)
974 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
975 # Reject names that are not valid shell variable names.
976 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
977 as_fn_error
"invalid feature name: $ac_useropt"
978 ac_useropt_orig
=$ac_useropt
979 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
980 case $ac_user_opts in
984 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
985 ac_unrecognized_sep
=', ';;
987 eval enable_
$ac_useropt=\
$ac_optarg ;;
989 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
990 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
991 |
--exec |
--exe |
--ex)
992 ac_prev
=exec_prefix
;;
993 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
994 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
995 |
--exec=* |
--exe=* |
--ex=*)
996 exec_prefix
=$ac_optarg ;;
998 -gas |
--gas |
--ga |
--g)
999 # Obsolete; use --with-gas.
1002 -help |
--help |
--hel |
--he |
-h)
1003 ac_init_help
=long
;;
1004 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1005 ac_init_help
=recursive
;;
1006 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1007 ac_init_help
=short
;;
1009 -host |
--host |
--hos |
--ho)
1010 ac_prev
=host_alias
;;
1011 -host=* |
--host=* |
--hos=* |
--ho=*)
1012 host_alias
=$ac_optarg ;;
1014 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1016 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1018 htmldir
=$ac_optarg ;;
1020 -includedir |
--includedir |
--includedi |
--included |
--include \
1021 |
--includ |
--inclu |
--incl |
--inc)
1022 ac_prev
=includedir
;;
1023 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1024 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1025 includedir
=$ac_optarg ;;
1027 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1029 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1030 infodir
=$ac_optarg ;;
1032 -libdir |
--libdir |
--libdi |
--libd)
1034 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1035 libdir
=$ac_optarg ;;
1037 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1038 |
--libexe |
--libex |
--libe)
1039 ac_prev
=libexecdir
;;
1040 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1041 |
--libexe=* |
--libex=* |
--libe=*)
1042 libexecdir
=$ac_optarg ;;
1044 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1045 ac_prev
=localedir
;;
1046 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1047 localedir
=$ac_optarg ;;
1049 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1050 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1051 ac_prev
=localstatedir
;;
1052 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1053 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1054 localstatedir
=$ac_optarg ;;
1056 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1058 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1059 mandir
=$ac_optarg ;;
1061 -nfp |
--nfp |
--nf)
1062 # Obsolete; use --without-fp.
1065 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1066 |
--no-cr |
--no-c |
-n)
1069 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1070 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1073 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1074 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1075 |
--oldin |
--oldi |
--old |
--ol |
--o)
1076 ac_prev
=oldincludedir
;;
1077 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1078 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1079 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1080 oldincludedir
=$ac_optarg ;;
1082 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1084 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1085 prefix
=$ac_optarg ;;
1087 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1088 |
--program-pre |
--program-pr |
--program-p)
1089 ac_prev
=program_prefix
;;
1090 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1091 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1092 program_prefix
=$ac_optarg ;;
1094 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1095 |
--program-suf |
--program-su |
--program-s)
1096 ac_prev
=program_suffix
;;
1097 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1098 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1099 program_suffix
=$ac_optarg ;;
1101 -program-transform-name |
--program-transform-name \
1102 |
--program-transform-nam |
--program-transform-na \
1103 |
--program-transform-n |
--program-transform- \
1104 |
--program-transform |
--program-transfor \
1105 |
--program-transfo |
--program-transf \
1106 |
--program-trans |
--program-tran \
1107 |
--progr-tra |
--program-tr |
--program-t)
1108 ac_prev
=program_transform_name
;;
1109 -program-transform-name=* |
--program-transform-name=* \
1110 |
--program-transform-nam=* |
--program-transform-na=* \
1111 |
--program-transform-n=* |
--program-transform-=* \
1112 |
--program-transform=* |
--program-transfor=* \
1113 |
--program-transfo=* |
--program-transf=* \
1114 |
--program-trans=* |
--program-tran=* \
1115 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1116 program_transform_name
=$ac_optarg ;;
1118 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1120 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1121 pdfdir
=$ac_optarg ;;
1123 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1125 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1128 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1129 |
-silent |
--silent |
--silen |
--sile |
--sil)
1132 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1134 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1136 sbindir
=$ac_optarg ;;
1138 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1139 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1140 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1142 ac_prev
=sharedstatedir
;;
1143 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1144 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1145 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1147 sharedstatedir
=$ac_optarg ;;
1149 -site |
--site |
--sit)
1151 -site=* |
--site=* |
--sit=*)
1154 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1156 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1157 srcdir
=$ac_optarg ;;
1159 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1160 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1161 ac_prev
=sysconfdir
;;
1162 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1163 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1164 sysconfdir
=$ac_optarg ;;
1166 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1167 ac_prev
=target_alias
;;
1168 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1169 target_alias
=$ac_optarg ;;
1171 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1174 -version |
--version |
--versio |
--versi |
--vers |
-V)
1175 ac_init_version
=: ;;
1178 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1179 # Reject names that are not valid shell variable names.
1180 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1181 as_fn_error
"invalid package name: $ac_useropt"
1182 ac_useropt_orig
=$ac_useropt
1183 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1184 case $ac_user_opts in
1188 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1189 ac_unrecognized_sep
=', ';;
1191 eval with_
$ac_useropt=\
$ac_optarg ;;
1193 -without-* |
--without-*)
1194 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1195 # Reject names that are not valid shell variable names.
1196 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1197 as_fn_error
"invalid package name: $ac_useropt"
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=no
;;
1210 # Obsolete; use --with-x.
1213 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1214 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1215 ac_prev
=x_includes
;;
1216 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1217 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1218 x_includes
=$ac_optarg ;;
1220 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1221 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1222 ac_prev
=x_libraries
;;
1223 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1224 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1225 x_libraries
=$ac_optarg ;;
1227 -*) as_fn_error
"unrecognized option: \`$ac_option'
1228 Try \`$0 --help' for more information."
1232 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1233 # Reject names that are not valid shell variable names.
1234 case $ac_envvar in #(
1235 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1236 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1238 eval $ac_envvar=\
$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1252 if test -n "$ac_prev"; then
1253 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1254 as_fn_error
"missing argument to $ac_option"
1257 if test -n "$ac_unrecognized_opts"; then
1258 case $enable_option_checking in
1260 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1261 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1265 # Check all directory arguments for consistency.
1266 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1267 datadir sysconfdir sharedstatedir localstatedir includedir \
1268 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1269 libdir localedir mandir
1271 eval ac_val
=\$
$ac_var
1272 # Remove trailing slashes.
1275 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1276 eval $ac_var=\
$ac_val;;
1278 # Be sure to have absolute directory names.
1280 [\\/$
]* | ?
:[\\/]* ) continue;;
1281 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1283 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1286 # There might be people who depend on the old broken behavior: `$host'
1287 # used to hold the argument of --host etc.
1288 # FIXME: To remove some day.
1291 target
=$target_alias
1293 # FIXME: To remove some day.
1294 if test "x$host_alias" != x
; then
1295 if test "x$build_alias" = x
; then
1296 cross_compiling
=maybe
1297 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1298 If a cross compiler is detected then cross compile mode will be used." >&2
1299 elif test "x$build_alias" != "x$host_alias"; then
1305 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1307 test "$silent" = yes && exec 6>/dev
/null
1310 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1311 ac_ls_di
=`ls -di .` &&
1312 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1313 as_fn_error
"working directory cannot be determined"
1314 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315 as_fn_error
"pwd does not report name of working directory"
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted
=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir
=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1350 ac_srcdir_defaulted
=no
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1354 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1356 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1358 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1360 # When building in place, set srcdir=.
1361 if test "$ac_abs_confdir" = "$ac_pwd"; then
1364 # Remove unnecessary trailing slashes from srcdir.
1365 # Double slashes in file names in object file debugging info
1366 # mess up M-x gdb in Emacs.
1368 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 as_fn_error
"path to source, $srcdir, contains spaces"
1375 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --program-prefix=PREFIX prepend PREFIX to installed program names
1450 --program-suffix=SUFFIX append SUFFIX to installed program names
1451 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1454 --build=BUILD configure
for building on BUILD
[guessed
]
1455 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1456 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1460 if test -n "$ac_init_help"; then
1465 --disable-option-checking ignore unrecognized
--enable/--with options
1466 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1467 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1468 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1469 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1470 --disable-libquadmath do not build libquadmath directory
1471 --disable-libquadmath-support
1472 disable libquadmath support
for Fortran
1473 --enable-libada build libada directory
1474 --enable-libssp build libssp directory
1475 --disable-libstdcxx do not build libstdc
++-v3 directory
1476 --enable-static-libjava[=ARG
]
1477 build static libjava
[default
=no
]
1478 --enable-bootstrap enable bootstrapping
[yes if native build
]
1479 --disable-isl-version-check
1480 disable check
for ISL version
1481 --disable-cloog-version-check
1482 disable check
for CLooG version
1483 --enable-lto enable link
time optimization support
1484 --enable-stage1-languages[=all
]
1485 choose additional languages to build during stage1.
1486 Mostly useful
for compiler development
1487 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1489 --enable-serial-[{host,target,build}-]configure
1490 force sequential configuration of sub-packages for
1491 the host, target or build machine, or all
1493 --enable-upc-link-script
1494 enable UPC's use of a custom linker
script; this
1495 will define the UPC shared section as a no load
1496 section on targets where this feature is supported
1498 --enable-maintainer-mode
1499 enable make rules and dependencies not useful
(and
1500 sometimes confusing
) to the casual installer
1501 --enable-stage1-checking[=all
]
1502 choose additional checking
for stage1 of the
1504 --enable-werror enable -Werror in bootstrap stage2 and later
1505 --enable-host-shared build
host code as shared libraries
1508 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1509 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1510 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1511 --with-mpc=PATH specify prefix directory
for installed MPC package.
1512 Equivalent to
--with-mpc-include=PATH
/include plus
1513 --with-mpc-lib=PATH
/lib
1514 --with-mpc-include=PATH specify directory
for installed MPC include files
1515 --with-mpc-lib=PATH specify directory
for the installed MPC library
1516 --with-mpfr-dir=PATH this option has been REMOVED
1517 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1518 Equivalent to
--with-mpfr-include=PATH
/include plus
1519 --with-mpfr-lib=PATH
/lib
1520 --with-mpfr-include=PATH
1521 specify directory
for installed MPFR include files
1522 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1523 --with-gmp-dir=PATH this option has been REMOVED
1524 --with-gmp=PATH specify prefix directory
for the installed GMP
1525 package. Equivalent to
1526 --with-gmp-include=PATH
/include plus
1527 --with-gmp-lib=PATH
/lib
1528 --with-gmp-include=PATH specify directory
for installed GMP include files
1529 --with-gmp-lib=PATH specify directory
for the installed GMP library
1530 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1532 --with-stage1-libs=LIBS libraries
for stage1
1533 --with-stage1-ldflags=FLAGS
1534 linker flags
for stage1
1535 --with-boot-libs=LIBS libraries
for stage2 and later
1536 --with-boot-ldflags=FLAGS
1537 linker flags
for stage2 and later
1538 --with-cloog=PATH Specify prefix directory
for the installed CLooG-ISL
1539 package. Equivalent to
1540 --with-cloog-include=PATH
/include plus
1541 --with-cloog-lib=PATH
/lib
1542 --with-isl=PATH Specify prefix directory
for the installed ISL
1543 package. Equivalent to
1544 --with-isl-include=PATH
/include plus
1545 --with-isl-lib=PATH
/lib
1546 --with-isl-include=PATH Specify directory
for installed ISL include files
1547 --with-isl-lib=PATH Specify the directory
for the installed ISL library
1548 --with-cloog-include=PATH
1549 Specify directory
for installed CLooG include files
1550 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1552 --with-upc-pts={struct
,packed
}
1553 choose the representation of a UPC pointer-to-shared
1554 --with-build-sysroot=SYSROOT
1555 use sysroot as the system root during the build
1556 --with-debug-prefix-map='A=B C=D ...'
1557 map A to B
, C to D ...
in debug information
1558 --with-build-config='NAME NAME2...'
1559 use config
/NAME.mk build configuration
1560 --with-build-time-tools=PATH
1561 use given path to
find target tools during the build
1563 Some influential environment variables
:
1564 CC C compiler
command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1567 nonstandard directory
<lib dir
>
1568 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1569 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1570 you have headers
in a nonstandard directory
<include dir
>
1571 CXX C
++ compiler
command
1572 CXXFLAGS C
++ compiler flags
1574 additional configure arguments
for build directories
1576 additional configure arguments
for host directories
1578 additional configure arguments
for target directories
1581 DLLTOOL DLLTOOL
for the
host
1583 LIPO LIPO
for the
host
1585 RANLIB RANLIB
for the
host
1586 STRIP STRIP
for the
host
1587 WINDRES WINDRES
for the
host
1588 WINDMC WINDMC
for the
host
1589 OBJCOPY OBJCOPY
for the
host
1590 OBJDUMP OBJDUMP
for the
host
1591 READELF READELF
for the
host
1601 GFORTRAN
for the target
1611 DLLTOOL
for the target
1619 OBJDUMP
for the target
1621 RANLIB
for the target
1623 READELF
for the target
1625 STRIP
for the target
1627 WINDRES
for the target
1629 WINDMC
for the target
1631 Use these variables to override the choices made by
`configure' or to help
1632 it to find libraries and programs with nonstandard names/locations.
1634 Report bugs to the package provider.
1639 if test "$ac_init_help" = "recursive"; then
1640 # If there are subdirs, report their specific --help.
1641 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1642 test -d "$ac_dir" ||
1643 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1651 # A ".." for each directory in $ac_dir_suffix.
1652 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1653 case $ac_top_builddir_sub in
1654 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1655 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658 ac_abs_top_builddir=$ac_pwd
1659 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1660 # for backward compatibility:
1661 ac_top_builddir=$ac_top_build_prefix
1664 .) # We are building in place.
1666 ac_top_srcdir=$ac_top_builddir_sub
1667 ac_abs_top_srcdir=$ac_pwd ;;
1668 [\\/]* | ?:[\\/]* ) # Absolute name.
1669 ac_srcdir=$srcdir$ac_dir_suffix;
1670 ac_top_srcdir=$srcdir
1671 ac_abs_top_srcdir=$srcdir ;;
1673 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1674 ac_top_srcdir=$ac_top_build_prefix$srcdir
1675 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679 cd "$ac_dir" || { ac_status=$?; continue; }
1680 # Check for guested configure.
1681 if test -f "$ac_srcdir/configure.gnu"; then
1683 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1684 elif test -f "$ac_srcdir/configure"; then
1686 $SHELL "$ac_srcdir/configure" --help=recursive
1688 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 cd "$ac_pwd" || { ac_status=$?; break; }
1694 test -n "$ac_init_help" && exit $ac_status
1695 if $ac_init_version; then
1698 generated by GNU Autoconf 2.64
1700 Copyright (C) 2009 Free Software Foundation, Inc.
1701 This configure script is free software; the Free Software Foundation
1702 gives unlimited permission to copy, distribute and modify it.
1707 ## ------------------------ ##
1708 ## Autoconf initialization. ##
1709 ## ------------------------ ##
1711 # ac_fn_c_try_compile LINENO
1712 # --------------------------
1713 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1714 ac_fn_c_try_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext
1718 if { { ac_try="$ac_compile"
1720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1721 *) ac_try_echo
=$ac_try;;
1723 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_compile") 2>conftest.err
1727 if test -s conftest.err
; then
1728 grep -v '^ *+' conftest.err
>conftest.er1
1729 cat conftest.er1
>&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest.
$ac_objext; then :
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.
$ac_ext >&5
1744 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1747 } # ac_fn_c_try_compile
1749 # ac_fn_cxx_try_compile LINENO
1750 # ----------------------------
1751 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1752 ac_fn_cxx_try_compile
()
1754 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1755 rm -f conftest.
$ac_objext
1756 if { { ac_try
="$ac_compile"
1758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_compile") 2>conftest.err
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } && {
1772 test -z "$ac_cxx_werror_flag" ||
1773 test ! -s conftest.err
1774 } && test -s conftest.$ac_objext; then :
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 } # ac_fn_cxx_try_compile
1787 # ac_fn_cxx_try_link LINENO
1788 # -------------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_cxx_try_link ()
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1797 *) ac_try_echo
=$ac_try;;
1799 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1803 if test -s conftest.err
; then
1804 grep -v '^ *+' conftest.err
>conftest.er1
1805 cat conftest.er1
>&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_cxx_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest
$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest
$ac_exeext
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.
$ac_ext >&5
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1831 } # ac_fn_cxx_try_link
1833 # ac_fn_c_try_link LINENO
1834 # -----------------------
1835 # Try to link conftest.$ac_ext, and return whether this succeeded.
1838 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1839 rm -f conftest.
$ac_objext conftest
$ac_exeext
1840 if { { ac_try
="$ac_link"
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_link") 2>conftest.err
1849 if test -s conftest.err; then
1850 grep -v '^ *+' conftest.err >conftest.er1
1851 cat conftest.er1 >&5
1852 mv -f conftest.er1 conftest.err
1854 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1855 test $ac_status = 0; } && {
1856 test -z "$ac_c_werror_flag" ||
1857 test ! -s conftest.err
1858 } && test -s conftest$ac_exeext && {
1859 test "$cross_compiling" = yes ||
1860 $as_test_x conftest$ac_exeext
1864 $as_echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.$ac_ext >&5
1869 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1870 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1871 # interfere with the next link command; also delete a directory that is
1872 # left behind by Apple's compiler. We do this before executing the actions.
1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1877 } # ac_fn_c_try_link
1879 # ac_fn_c_try_run LINENO
1880 # ----------------------
1881 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1882 # that executables *can* be run.
1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1886 if { { ac_try="$ac_link"
1888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1889 *) ac_try_echo
=$ac_try;;
1891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1892 $as_echo "$ac_try_echo"; } >&5
1893 (eval "$ac_link") 2>&5
1895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1896 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1897 { { case "(($ac_try" in
1898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1899 *) ac_try_echo=$ac_try;;
1901 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_try") 2>&5
1905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1906 test $ac_status = 0; }; }; then :
1909 $as_echo "$as_me: program exited with status $ac_status" >&5
1910 $as_echo "$as_me: failed program was:" >&5
1911 sed 's/^/| /' conftest.$ac_ext >&5
1913 ac_retval=$ac_status
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 cat >config.log <<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1924 It was created by $as_me, which was
1925 generated by GNU Autoconf 2.64. Invocation command line was
1937 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1938 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1939 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1940 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1941 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1943 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1944 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1946 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1947 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1948 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1949 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1950 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1951 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1952 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir=.
1961 $as_echo "PATH: $as_dir"
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1985 ac_must_keep_next=false
1991 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1992 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1993 | -silent | --silent | --silen | --sile | --sil)
1996 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1999 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2001 as_fn_append ac_configure_args1 " '$ac_arg'"
2002 if test $ac_must_keep_next = true; then
2003 ac_must_keep_next=false # Got value, back to normal.
2006 *=* | --config-cache | -C | -disable-* | --disable-* \
2007 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2008 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2009 | -with-* | --with-* | -without-* | --without-* | --x)
2010 case "$ac_configure_args0 " in
2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2014 -* ) ac_must_keep_next=true ;;
2017 as_fn_append ac_configure_args " '$ac_arg'"
2022 { ac_configure_args0=; unset ac_configure_args0;}
2023 { ac_configure_args1=; unset ac_configure_args1;}
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log. We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031 # Save into config.log some information that might help in debugging.
2036 ## ---------------- ##
2037 ## Cache variables. ##
2038 ## ---------------- ##
2041 # The following way of writing the cache mishandles newlines in values,
2043 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2044 eval ac_val=\$$ac_var
2048 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2049 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2052 _ | IFS | as_nl) ;; #(
2053 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2054 *) { eval $ac_var=; unset $ac_var;} ;;
2059 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2060 *${as_nl}ac_space=\ *)
2062 "s/'\''/'\''\\\\'\'''\''/g;
2063 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2066 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2074 ## ----------------- ##
2075 ## Output variables. ##
2076 ## ----------------- ##
2079 for ac_var in $ac_subst_vars
2081 eval ac_val=\$$ac_var
2083 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2085 $as_echo "$ac_var='\''$ac_val'\''"
2089 if test -n "$ac_subst_files"; then
2091 ## ------------------- ##
2092 ## File substitutions. ##
2093 ## ------------------- ##
2096 for ac_var in $ac_subst_files
2098 eval ac_val=\$$ac_var
2100 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2102 $as_echo "$ac_var='\''$ac_val'\''"
2107 if test -s confdefs.h; then
2117 test "$ac_signal" != 0 &&
2118 $as_echo "$as_me: caught signal $ac_signal"
2119 $as_echo "$as_me: exit $exit_status"
2121 rm -f core *.core core.conftest.* &&
2122 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2125 for ac_signal in 1 2 13 15; do
2126 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2130 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2131 rm -f -r conftest* confdefs.h
2133 $as_echo "/* confdefs.h */" > confdefs.h
2135 # Predefined preprocessor variables.
2137 cat >>confdefs.h <<_ACEOF
2138 #define PACKAGE_NAME "$PACKAGE_NAME"
2141 cat >>confdefs.h <<_ACEOF
2142 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2145 cat >>confdefs.h <<_ACEOF
2146 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2149 cat >>confdefs.h <<_ACEOF
2150 #define PACKAGE_STRING "$PACKAGE_STRING"
2153 cat >>confdefs.h <<_ACEOF
2154 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2157 cat >>confdefs.h <<_ACEOF
2158 #define PACKAGE_URL "$PACKAGE_URL"
2162 # Let the site file select an alternate cache file if it wants to.
2163 # Prefer an explicitly selected file to automatically selected ones.
2166 if test -n "$CONFIG_SITE"; then
2167 ac_site_file1=$CONFIG_SITE
2168 elif test "x$prefix" != xNONE; then
2169 ac_site_file1=$prefix/share/config.site
2170 ac_site_file2=$prefix/etc/config.site
2172 ac_site_file1=$ac_default_prefix/share/config.site
2173 ac_site_file2=$ac_default_prefix/etc/config.site
2175 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2177 test "x$ac_site_file" = xNONE && continue
2178 if test -r "$ac_site_file"; then
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2180 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2181 sed 's/^/| /' "$ac_site_file" >&5
2186 if test -r "$cache_file"; then
2187 # Some versions of bash will fail to source /dev/null (special
2188 # files actually), so we avoid doing that.
2189 if test -f "$cache_file"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2191 $as_echo "$as_me: loading cache $cache_file" >&6;}
2193 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2194 *) . "./$cache_file";;
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2199 $as_echo "$as_me: creating cache $cache_file" >&6;}
2203 # Check that the precious variables saved in the cache have kept the same
2205 ac_cache_corrupted=false
2206 for ac_var in $ac_precious_vars; do
2207 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2208 eval ac_new_set=\$ac_env_${ac_var}_set
2209 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2210 eval ac_new_val=\$ac_env_${ac_var}_value
2211 case $ac_old_set,$ac_new_set in
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2214 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2215 ac_cache_corrupted=: ;;
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2218 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2219 ac_cache_corrupted=: ;;
2222 if test "x$ac_old_val" != "x$ac_new_val"; then
2223 # differences in whitespace do not lead to failure.
2224 ac_old_val_w=`echo x
$ac_old_val`
2225 ac_new_val_w=`echo x
$ac_new_val`
2226 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2228 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2229 ac_cache_corrupted=:
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2232 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2233 eval $ac_var=\$ac_old_val
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2236 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2238 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2241 # Pass precious variables to config.status.
2242 if test "$ac_new_set" = set; then
2244 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2245 *) ac_arg=$ac_var=$ac_new_val ;;
2247 case " $ac_configure_args " in
2248 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2249 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2253 if $ac_cache_corrupted; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2257 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2258 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2260 ## -------------------- ##
2261 ## Main body of script. ##
2262 ## -------------------- ##
2265 ac_cpp='$CPP $CPPFLAGS'
2266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2279 # if PWD already has a value, it is probably wrong.
2280 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2282 # Export original configure arguments for use by sub-configures.
2283 # Quote arguments with shell meta charatcers.
2284 TOPLEVEL_CONFIGURE_ARGUMENTS=
2285 set -- "$progname" "$@"
2289 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2290 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2291 # if the argument is of the form -foo=baz, quote the baz part only
2292 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2295 # Add the quoted argument to the list.
2296 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2298 if test "$silent" = yes; then
2299 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2301 # Remove the initial space we just introduced and, as these will be
2302 # expanded by make, quote '$'.
2303 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2306 # Find the build, host, and target systems.
2308 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2309 for ac_t in install-sh install.sh shtool; do
2310 if test -f "$ac_dir/$ac_t"; then
2312 ac_install_sh="$ac_aux_dir/$ac_t -c"
2317 if test -z "$ac_aux_dir"; then
2318 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2321 # These three variables are undocumented and unsupported,
2322 # and are intended to be withdrawn in a future Autoconf release.
2323 # They can cause serious problems if a builder's source tree is in a directory
2324 # whose full name contains unusual characters.
2325 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2326 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2327 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2330 # Make sure we can run config.sub.
2331 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2332 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2335 $as_echo_n "checking build system type... " >&6; }
2336 if test "${ac_cv_build+set}" = set; then :
2337 $as_echo_n "(cached) " >&6
2339 ac_build_alias=$build_alias
2340 test "x$ac_build_alias" = x &&
2341 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2342 test "x$ac_build_alias" = x &&
2343 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2344 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2345 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2349 $as_echo "$ac_cv_build" >&6; }
2350 case $ac_cv_build in
2352 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2355 ac_save_IFS=$IFS; IFS='-'
2361 # Remember, the first character of IFS is used to create $*,
2362 # except with old shells:
2365 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2368 case ${build_alias} in
2369 "") build_noncanonical=${build} ;;
2370 *) build_noncanonical=${build_alias} ;;
2375 case ${host_alias} in
2376 "") host_noncanonical=${build_noncanonical} ;;
2377 *) host_noncanonical=${host_alias} ;;
2382 case ${target_alias} in
2383 "") target_noncanonical=${host_noncanonical} ;;
2384 *) target_noncanonical=${target_alias} ;;
2390 test "$host_noncanonical" = "$target_noncanonical" &&
2391 test "$program_prefix$program_suffix$program_transform_name" = \
2393 program_transform_name=s,y,y,
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2396 $as_echo_n "checking host system type... " >&6; }
2397 if test "${ac_cv_host+set}" = set; then :
2398 $as_echo_n "(cached) " >&6
2400 if test "x$host_alias" = x; then
2401 ac_cv_host=$ac_cv_build
2403 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2404 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2409 $as_echo "$ac_cv_host" >&6; }
2412 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2415 ac_save_IFS=$IFS; IFS='-'
2421 # Remember, the first character of IFS is used to create $*,
2422 # except with old shells:
2425 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2429 $as_echo_n "checking target system type... " >&6; }
2430 if test "${ac_cv_target+set}" = set; then :
2431 $as_echo_n "(cached) " >&6
2433 if test "x$target_alias" = x; then
2434 ac_cv_target=$ac_cv_host
2436 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2437 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2442 $as_echo "$ac_cv_target" >&6; }
2443 case $ac_cv_target in
2445 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2447 target=$ac_cv_target
2448 ac_save_IFS=$IFS; IFS='-'
2454 # Remember, the first character of IFS is used to create $*,
2455 # except with old shells:
2458 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2461 # The aliases save the names the user supplied, while $host etc.
2462 # will get canonicalized.
2463 test -n "$target_alias" &&
2464 test "$program_prefix$program_suffix$program_transform_name" = \
2466 program_prefix=${target_alias}-
2468 test "$program_prefix" != NONE &&
2469 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2470 # Use a double $ so make ignores it.
2471 test "$program_suffix" != NONE &&
2472 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2473 # Double any \ or $.
2474 # By default was `s
,x
,x
', remove it if useless.
2475 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2476 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2480 # Get 'install' or 'install-sh
' and its variants.
2481 # Find a good install program. We prefer a C program (faster),
2482 # so one script is as good as another. But avoid the broken or
2483 # incompatible versions:
2484 # SysV /etc/install, /usr/sbin/install
2485 # SunOS /usr/etc/install
2486 # IRIX /sbin/install
2488 # AmigaOS /C/install, which installs bootblocks on floppy discs
2489 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2492 # OS/2's system install, which has a completely different semantic
2493 # ./install, which can be erroneously created by make from ./install.sh.
2494 # Reject install programs that cannot install multiple files.
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2496 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2497 if test -z "$INSTALL"; then
2498 if test "${ac_cv_path_install+set}" = set; then :
2499 $as_echo_n "(cached) " >&6
2501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir
=.
2506 # Account for people who put trailing slashes in PATH elements.
2507 case $as_dir/ in #((
2508 .
/ | .
// |
/[cC
]/* | \
2509 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2510 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2513 # OSF1 and SCO ODT 3.0 have their own names for install.
2514 # Don't use installbsd from OSF since it installs stuff as root
2516 for ac_prog
in ginstall scoinst
install; do
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2519 if test $ac_prog = install &&
2520 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2521 # AIX install. It has an incompatible calling convention.
2523 elif test $ac_prog = install &&
2524 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2525 # program-specific install script used by HP pwplus--don't use.
2528 rm -rf conftest.one conftest.two conftest.dir
2529 echo one
> conftest.one
2530 echo two
> conftest.two
2532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2533 test -s conftest.one
&& test -s conftest.two
&&
2534 test -s conftest.dir
/conftest.one
&&
2535 test -s conftest.dir
/conftest.two
2537 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2550 rm -rf conftest.one conftest.two conftest.dir
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL
=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. Don't cache a
2557 # value for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the value is a relative name.
2560 INSTALL
=$ac_install_sh
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2564 $as_echo "$INSTALL" >&6; }
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2575 $as_echo_n "checking whether ln works... " >&6; }
2576 if test "${acx_cv_prog_LN+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 rm -f conftestdata_t
2580 echo >conftestdata_f
2581 if ln conftestdata_f conftestdata_t
2>/dev
/null
2587 rm -f conftestdata_f conftestdata_t
2590 if test $acx_cv_prog_LN = no
; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2593 $as_echo "no, using $LN" >&6; }
2595 LN
="$acx_cv_prog_LN"
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2597 $as_echo "yes" >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2601 $as_echo_n "checking whether ln -s works... " >&6; }
2603 if test "$LN_S" = "ln -s"; then
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2605 $as_echo "yes" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2608 $as_echo "no, using $LN_S" >&6; }
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2612 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2613 if test "${ac_cv_path_SED+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2616 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2617 for ac_i
in 1 2 3 4 5 6 7; do
2618 ac_script
="$ac_script$as_nl$ac_script"
2620 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2621 { ac_script
=; unset ac_script
;}
2622 if test -z "$SED"; then
2623 ac_path_SED_found
=false
2624 # Loop through the user's path and test for each of PROGNAME-LIST
2625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2629 test -z "$as_dir" && as_dir
=.
2630 for ac_prog
in sed gsed
; do
2631 for ac_exec_ext
in '' $ac_executable_extensions; do
2632 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2633 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2634 # Check for GNU ac_path_SED and select it if it is found.
2635 # Check for GNU $ac_path_SED
2636 case `"$ac_path_SED" --version 2>&1` in
2638 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2641 $as_echo_n 0123456789 >"conftest.in"
2644 cat "conftest.in" "conftest.in" >"conftest.tmp"
2645 mv "conftest.tmp" "conftest.in"
2646 cp "conftest.in" "conftest.nl"
2647 $as_echo '' >> "conftest.nl"
2648 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2649 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2650 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2651 if test $ac_count -gt ${ac_path_SED_max-0}; then
2652 # Best one so far, save it but keep looking for a better one
2653 ac_cv_path_SED
="$ac_path_SED"
2654 ac_path_SED_max
=$ac_count
2656 # 10*(2^10) chars as input seems more than enough
2657 test $ac_count -gt 10 && break
2659 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2662 $ac_path_SED_found && break 3
2667 if test -z "$ac_cv_path_SED"; then
2668 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2676 $as_echo "$ac_cv_path_SED" >&6; }
2677 SED
="$ac_cv_path_SED"
2680 for ac_prog
in gawk mawk nawk
awk
2682 # Extract the first word of "$ac_prog", so it can be a program name with args.
2683 set dummy
$ac_prog; ac_word
=$2
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685 $as_echo_n "checking for $ac_word... " >&6; }
2686 if test "${ac_cv_prog_AWK+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 if test -n "$AWK"; then
2690 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2696 test -z "$as_dir" && as_dir
=.
2697 for ac_exec_ext
in '' $ac_executable_extensions; do
2698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699 ac_cv_prog_AWK
="$ac_prog"
2700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710 if test -n "$AWK"; then
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2712 $as_echo "$AWK" >&6; }
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715 $as_echo "no" >&6; }
2719 test -n "$AWK" && break
2723 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2725 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2727 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2728 INSTALL
="${srcpwd}/install-sh -c"
2731 # Set srcdir to "." if that's what it is.
2732 # This is important for multilib support.
2734 if test "${pwd}" = "${srcpwd}" ; then
2742 ### To add a new directory to the tree, first choose whether it is a target
2743 ### or a host dependent tool. Then put it into the appropriate list
2744 ### (library or tools, host or target), doing a dependency sort.
2746 # Subdirs will be configured in the order listed in build_configdirs,
2747 # configdirs, or target_configdirs; see the serialization section below.
2749 # Dependency sorting is only needed when *configuration* must be done in
2750 # a particular order. In all cases a dependency should be specified in
2751 # the Makefile, whether or not it's implicitly specified here.
2753 # Double entries in build_configdirs, configdirs, or target_configdirs may
2754 # cause circular dependencies and break everything horribly.
2756 # these library is used by various programs built for the build
2759 build_libs
="build-libiberty"
2761 # these tools are built for the build environment
2762 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2764 # these libraries are used by various programs built for the host environment
2766 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2768 # these tools are built for the host environment
2769 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2770 # know that we are building the simulator.
2771 # binutils, gas and ld appear in that order because it makes sense to run
2772 # "make check" in that particular order.
2773 # If --enable-gold is used, "gold" may replace "ld".
2774 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2776 # libgcj represents the runtime libraries only used by gcj.
2777 libgcj
="target-libffi \
2781 # these libraries are built for the target environment, and are built after
2782 # the host libraries and the host tools (which may be a cross compiler)
2783 # Note that libiberty is not a target library.
2784 target_libraries
="target-libgcc \
2785 target-libbacktrace \
2792 target-libstdc++-v3 \
2793 target-libsanitizer \
2796 target-libquadmath \
2797 target-libgfortran \
2805 # these tools are built using the target libraries, and are intended to
2806 # run only in the target environment
2808 # note: any program that *uses* libraries that are in the "target_libraries"
2809 # list belongs in this list.
2811 target_tools
="target-rda"
2813 ################################################################################
2815 ## All tools belong in one of the four categories, and are assigned above
2816 ## We assign ${configdirs} this way to remove all embedded newlines. This
2817 ## is important because configure will choke if they ever get through.
2818 ## ${configdirs} is directories we build using the host tools.
2819 ## ${target_configdirs} is directories we build using the target tools.
2820 configdirs
=`echo ${host_libs} ${host_tools}`
2821 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2822 build_configdirs
=`echo ${build_libs} ${build_tools}`
2826 ################################################################################
2828 srcname
="gnu development package"
2830 # This gets set non-empty for some net releases of packages.
2833 # Define is_cross_compiler to save on calls to 'test'.
2835 if test x
"${host}" = x
"${target}" ; then
2836 is_cross_compiler
=no
2838 is_cross_compiler
=yes
2841 # Find the build and target subdir names.
2843 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2844 # have matching libraries, they should use host libraries: Makefile.tpl
2845 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2846 # However, they still use the build modules, because the corresponding
2847 # host modules (e.g. bison) are only built for the host when bootstrap
2849 # - build_subdir is where we find build modules, and never changes.
2850 # - build_libsubdir is where we find build libraries, and can be overridden.
2852 # Prefix 'build-' so this never conflicts with target_subdir.
2853 build_subdir
="build-${build_noncanonical}"
2855 # Check whether --with-build-libsubdir was given.
2856 if test "${with_build_libsubdir+set}" = set; then :
2857 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2859 build_libsubdir
="$build_subdir"
2862 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2863 if ( test $srcdir = .
&& test -d gcc
) \
2864 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2865 host_subdir
="host-${host_noncanonical}"
2870 target_subdir
=${target_noncanonical}
2872 # Be sure to cover against remnants of an in-tree build.
2873 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2874 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2875 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2878 # Skipdirs are removed silently.
2880 # Noconfigdirs are removed loudly.
2884 # Make sure we don't let GNU ld be added if we didn't want it.
2885 if test x
$with_gnu_ld = xno
; then
2887 noconfigdirs
="$noconfigdirs ld gold"
2891 # Make sure we don't let GNU as be added if we didn't want it.
2892 if test x
$with_gnu_as = xno
; then
2894 noconfigdirs
="$noconfigdirs gas"
2898 # Make sure we don't let ZLIB be added if we didn't want it.
2899 if test x
$with_system_zlib = xyes
; then
2900 use_included_zlib
=no
2901 noconfigdirs
="$noconfigdirs zlib"
2904 # some tools are so dependent upon X11 that if we're not building with X,
2905 # it's not even worth trying to configure, much less build, that tool.
2908 yes |
"") ;; # the default value for this tree is that X11 is available
2910 skipdirs
="${skipdirs} tk itcl libgui"
2911 # We won't be able to build gdbtk without X.
2914 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2917 # Some are only suitable for cross toolchains.
2918 # Remove these if host=target.
2919 cross_only
="target-libgloss target-newlib target-opcodes"
2921 case $is_cross_compiler in
2922 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2925 # If both --with-headers and --with-libs are specified, default to
2927 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2928 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2929 if test x
"${with_newlib}" = x
; then
2934 # Recognize --with-newlib/--without-newlib.
2935 case ${with_newlib} in
2936 no
) skipdirs
="${skipdirs} target-newlib" ;;
2937 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2940 # Handle --enable-gold, --enable-ld.
2941 # --disable-gold [--enable-ld]
2942 # Build only ld. Default option.
2943 # --enable-gold [--enable-ld]
2944 # Build both gold and ld. Install gold as "ld.gold", install ld
2945 # as "ld.bfd" and "ld".
2946 # --enable-gold=default [--enable-ld]
2947 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2948 # install ld as "ld.bfd".
2949 # --enable-gold[=default] --disable-ld
2950 # Build only gold, which is then installed as both "ld.gold" and "ld".
2951 # --enable-gold --enable-ld=default
2952 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2954 # In other words, ld is default
2955 # --enable-gold=default --enable-ld=default
2959 # Check whether --enable-gold was given.
2960 if test "${enable_gold+set}" = set; then :
2961 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2966 case "${ENABLE_GOLD}" in
2968 # Check for ELF target.
2971 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2972 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2973 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2974 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2976 *-*-linux*aout
* |
*-*-linux*oldld
*)
2984 if test "$is_elf" = "yes"; then
2985 # Check for target supported by gold.
2987 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2988 configdirs
="$configdirs gold"
2989 if test x
${ENABLE_GOLD} = xdefault
; then
3000 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
3004 # Check whether --enable-ld was given.
3005 if test "${enable_ld+set}" = set; then :
3006 enableval
=$enable_ld; ENABLE_LD
=$enableval
3012 case "${ENABLE_LD}" in
3014 if test x
${default_ld} != x
; then
3015 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3021 if test x
${ENABLE_GOLD} != xyes
; then
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3023 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3025 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3028 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3032 # Configure extra directories which are host specific
3036 configdirs
="$configdirs libtermcap" ;;
3039 # A target can indicate whether a language isn't supported for some reason.
3040 # Only spaces may be used in this macro; not newlines or tabs.
3041 unsupported_languages
=
3043 # Remove more programs from consideration, based on the host or
3044 # target this usually means that a port of the program doesn't
3048 i
[3456789]86-*-msdosdjgpp*)
3049 noconfigdirs
="$noconfigdirs tcl tk itcl"
3054 # Check whether --enable-libquadmath was given.
3055 if test "${enable_libquadmath+set}" = set; then :
3056 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3058 ENABLE_LIBQUADMATH
=yes
3061 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3062 noconfigdirs
="$noconfigdirs target-libquadmath"
3066 # Check whether --enable-libquadmath-support was given.
3067 if test "${enable_libquadmath_support+set}" = set; then :
3068 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3070 ENABLE_LIBQUADMATH_SUPPORT
=yes
3073 enable_libquadmath_support
=
3074 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3075 enable_libquadmath_support
=no
3079 # Check whether --enable-libada was given.
3080 if test "${enable_libada+set}" = set; then :
3081 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3086 if test "${ENABLE_LIBADA}" != "yes" ; then
3087 noconfigdirs
="$noconfigdirs gnattools"
3090 # Check whether --enable-libssp was given.
3091 if test "${enable_libssp+set}" = set; then :
3092 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3098 # Check whether --enable-libstdcxx was given.
3099 if test "${enable_libstdcxx+set}" = set; then :
3100 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3102 ENABLE_LIBSTDCXX
=default
3105 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3106 noconfigdirs
="$noconfigdirs libstdc++-v3"
3109 # Save it here so that, even in case of --enable-libgcj, if the Java
3110 # front-end isn't enabled, we still get libgcj disabled.
3111 libgcj_saved
=$libgcj
3112 case $enable_libgcj in
3114 # If we reset it here, it won't get added to noconfigdirs in the
3115 # target-specific build rules, so it will be forcibly enabled
3116 # (unless the Java language itself isn't enabled).
3120 # Make sure we get it printed in the list of not supported target libs.
3121 # Don't disable libffi, though, other languages use it.
3122 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3123 # Clear libgcj_saved so that even if java is enabled libffi won't be
3129 # Check whether --enable-static-libjava was given.
3130 if test "${enable_static_libjava+set}" = set; then :
3131 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3133 ENABLE_STATIC_LIBJAVA
=no
3136 enable_static_libjava
=
3137 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3138 enable_static_libjava
=yes
3141 if test x
$enable_static_libjava != xyes
; then
3142 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3146 posix_based_os
="yes"
3148 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3150 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3152 *-*-solaris2* |
*-*-hpux11*)
3154 *-*-darwin* |
*-*-aix*)
3161 # Enable libgomp by default on POSIX hosted systems.
3162 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3163 # Disable libgomp on non POSIX hosted systems.
3164 noconfigdirs
="$noconfigdirs target-libgomp"
3167 # Enable libgupc by default on POSIX hosted systems.
3168 if test x
$enable_libgupc = x
-a $posix_based_os = "no" ; then
3169 # Disable libgupc on non POSIX hosted systems.
3170 noconfigdirs
="$noconfigdirs target-libgupc"
3173 # Disable libatomic on unsupported systems.
3174 if test -d ${srcdir}/libatomic
; then
3175 if test x
$enable_libatomic = x
; then
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3177 $as_echo_n "checking for libatomic support... " >&6; }
3178 if (srcdir
=${srcdir}/libatomic
; \
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-libatomic"
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3187 $as_echo "yes" >&6; }
3192 # Disable libcilkrts on unsupported systems.
3193 if test -d ${srcdir}/libcilkrts
; then
3194 if test x
$enable_libcilkrts = x
; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3196 $as_echo_n "checking for libcilkrts support... " >&6; }
3197 if (srcdir
=${srcdir}/libcilkrts
; \
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-libcilkrts"
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3206 $as_echo "yes" >&6; }
3211 # Disable libitm on unsupported systems.
3212 if test -d ${srcdir}/libitm
; then
3213 if test x
$enable_libitm = x
; then
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3215 $as_echo_n "checking for libitm support... " >&6; }
3216 if (srcdir
=${srcdir}/libitm
; \
3217 .
${srcdir}/configure.tgt
; \
3218 test -n "$UNSUPPORTED")
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3221 $as_echo "no" >&6; }
3222 noconfigdirs
="$noconfigdirs target-libitm"
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3225 $as_echo "yes" >&6; }
3230 # Disable libsanitizer on unsupported systems.
3231 if test -d ${srcdir}/libsanitizer
; then
3232 if test x
$enable_libsanitizer = x
; then
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3234 $as_echo_n "checking for libsanitizer support... " >&6; }
3235 if (srcdir
=${srcdir}/libsanitizer
; \
3236 .
${srcdir}/configure.tgt
; \
3237 test -n "$UNSUPPORTED")
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3240 $as_echo "no" >&6; }
3241 noconfigdirs
="$noconfigdirs target-libsanitizer"
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3244 $as_echo "yes" >&6; }
3249 # Disable libvtv on unsupported systems.
3250 if test -d ${srcdir}/libvtv
; then
3251 if test x
$enable_libvtv = x
; then
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3253 $as_echo_n "checking for libvtv support... " >&6; }
3254 if (srcdir
=${srcdir}/libvtv
; \
3255 .
${srcdir}/configure.tgt
; \
3256 test "$VTV_SUPPORTED" != "yes")
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259 $as_echo "no" >&6; }
3260 noconfigdirs
="$noconfigdirs target-libvtv"
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3263 $as_echo "yes" >&6; }
3268 # Disable libquadmath for some systems.
3271 noconfigdirs
="$noconfigdirs target-libquadmath"
3273 # libquadmath is unused on AIX and libquadmath build process use of
3274 # LD_LIBRARY_PATH can break AIX bootstrap.
3275 powerpc-
*-aix* | rs6000-
*-aix*)
3276 noconfigdirs
="$noconfigdirs target-libquadmath"
3280 # Disable libssp for some systems.
3283 # No hosted I/O support.
3284 noconfigdirs
="$noconfigdirs target-libssp"
3286 powerpc-
*-aix* | rs6000-
*-aix*)
3287 noconfigdirs
="$noconfigdirs target-libssp"
3290 # libssp uses a misaligned load to trigger a fault, but the RL78
3291 # doesn't fault for those - instead, it gives a build-time error
3292 # for explicit misaligned loads.
3293 noconfigdirs
="$noconfigdirs target-libssp"
3297 # Disable libstdc++-v3 for some systems.
3298 # Allow user to override this if they pass --enable-libstdc++-v3
3299 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3302 # VxWorks uses the Dinkumware C++ library.
3303 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3306 # the C++ libraries don't build on top of CE's C libraries
3307 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3310 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3315 # Disable Fortran for some systems.
3318 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3319 unsupported_languages
="$unsupported_languages fortran"
3323 # Disable Java if libffi is not supported.
3355 powerpc-
*-aix* | rs6000-
*-aix*)
3359 powerpc64-
*-freebsd*)
3363 s390-
*-* | s390x-
*-*)
3365 sh-
*-* | sh
[34]*-*-*)
3367 sh64-
*-* | sh5
*-*-*)
3374 unsupported_languages
="$unsupported_languages java"
3378 # Disable Java, libgcj or related libraries for some systems.
3382 i
[3456789]86-*-darwin*)
3384 x86_64-
*-darwin[912]*)
3387 noconfigdirs
="$noconfigdirs ${libgcj}"
3390 noconfigdirs
="$noconfigdirs ${libgcj}"
3393 noconfigdirs
="$noconfigdirs ${libgcj}"
3396 noconfigdirs
="$noconfigdirs ${libgcj}"
3399 noconfigdirs
="$noconfigdirs ${libgcj}"
3402 noconfigdirs
="$noconfigdirs ${libgcj}"
3405 noconfigdirs
="$noconfigdirs ${libgcj}"
3408 noconfigdirs
="$noconfigdirs ${libgcj}"
3411 noconfigdirs
="$noconfigdirs ${libgcj}"
3414 noconfigdirs
="$noconfigdirs target-boehm-gc"
3416 cris-
*-* | crisv32-
*-*)
3417 unsupported_languages
="$unsupported_languages java"
3421 *) # See PR46792 regarding target-libffi.
3422 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3426 # In this case, it's because the hppa64-linux target is for
3427 # the kernel only at this point and has no libc, and thus no
3428 # headers, crt*.o, etc., all of which are needed by these.
3429 unsupported_languages
="$unsupported_languages java"
3432 noconfigdirs
="$noconfigdirs ${libgcj}"
3437 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3438 # build on HP-UX 10.20.
3439 noconfigdirs
="$noconfigdirs ${libgcj}"
3442 noconfigdirs
="$noconfigdirs ${libgcj}"
3444 i
[3456789]86-w64-mingw*)
3445 noconfigdirs
="$noconfigdirs ${libgcj}"
3447 i
[3456789]86-*-mingw*)
3448 noconfigdirs
="$noconfigdirs ${libgcj}"
3451 noconfigdirs
="$noconfigdirs ${libgcj}"
3454 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3457 # copied from rs6000-*-* entry
3458 noconfigdirs
="$noconfigdirs ${libgcj}"
3461 noconfigdirs
="$noconfigdirs ${libgcj}"
3464 noconfigdirs
="$noconfigdirs ${libgcj}"
3468 # Disable libgo for some systems where it is known to not work.
3469 # For testing, you can easily override this with --enable-libgo.
3470 if test x
$enable_libgo = x
; then
3474 noconfigdirs
="$noconfigdirs target-libgo"
3476 *-*-cygwin* |
*-*-mingw*)
3477 noconfigdirs
="$noconfigdirs target-libgo"
3480 noconfigdirs
="$noconfigdirs target-libgo"
3485 # Default libgloss CPU subdirectory.
3486 libgloss_dir
="$target_cpu"
3489 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3493 libgloss_dir
=aarch64
3498 cris-
*-* | crisv32-
*-*)
3507 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3508 libgloss_dir
=m68hc11
3510 m68
*-*-* | fido-
*-*)
3524 # Disable newlib and libgloss for various target OSes.
3527 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3529 i
[3456789]86-*-linux*)
3530 # This section makes it possible to build newlib natively on linux.
3531 # If we are using a cross compiler then don't configure newlib.
3532 if test x
${is_cross_compiler} != xno
; then
3533 noconfigdirs
="$noconfigdirs target-newlib"
3535 noconfigdirs
="$noconfigdirs target-libgloss"
3536 # If we are not using a cross compiler, do configure newlib.
3537 # Note however, that newlib will only be configured in this situation
3538 # if the --with-newlib option has been given, because otherwise
3539 # 'target-newlib' will appear in skipdirs.
3541 i
[3456789]86-*-rdos*)
3542 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3544 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3545 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3548 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3551 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3554 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3557 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3560 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3563 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3566 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3569 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3572 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3575 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3578 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3581 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3584 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3587 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3595 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3596 noconfigdirs
="$noconfigdirs sim target-rda"
3598 i
[3456789]86-*-darwin*)
3599 noconfigdirs
="$noconfigdirs ld gprof"
3600 noconfigdirs
="$noconfigdirs sim target-rda"
3602 x86_64-
*-darwin[912]*)
3603 noconfigdirs
="$noconfigdirs ld gas gprof"
3604 noconfigdirs
="$noconfigdirs sim target-rda"
3607 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3608 noconfigdirs
="$noconfigdirs sim target-rda"
3613 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3614 && test -f /usr
/local
/include
/gmp.h
; then
3619 # Remove unsupported stuff on all kaOS configurations.
3620 noconfigdirs
="$noconfigdirs target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-libgloss"
3629 # The tpf target doesn't support gdb yet.
3631 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3634 noconfigdirs
="$noconfigdirs target-rda"
3639 # ld works, but does not support shared libraries.
3640 # gas doesn't generate exception information.
3641 noconfigdirs
="$noconfigdirs gas ld"
3644 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3647 # newlib is not 64 bit ready
3648 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3650 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3651 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3654 noconfigdirs
="$noconfigdirs target-libgloss"
3657 noconfigdirs
="$noconfigdirs target-libgloss"
3660 noconfigdirs
="$noconfigdirs ld target-libgloss"
3665 if test x
${with_avrlibc} != xno
; then
3666 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3669 c4x-
*-* | tic4x-
*-*)
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3673 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3676 noconfigdirs
="$noconfigdirs target-libgloss"
3679 noconfigdirs
="$noconfigdirs gdb"
3682 noconfigdirs
="$noconfigdirs gdb"
3685 noconfigdirs
="$noconfigdirs gprof"
3688 noconfigdirs
="$noconfigdirs target-libgloss"
3691 noconfigdirs
="$noconfigdirs target-libgloss"
3693 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3701 hppa
*-*-openbsd* | \
3705 noconfigdirs
="$noconfigdirs ld"
3710 noconfigdirs
="$noconfigdirs ld"
3713 noconfigdirs
="$noconfigdirs gdb"
3716 # No gdb support yet.
3717 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3720 # No ld support yet.
3721 noconfigdirs
="$noconfigdirs libgui itcl ld"
3724 # No ld support yet.
3725 noconfigdirs
="$noconfigdirs libgui itcl ld"
3727 i
[3456789]86-w64-mingw*)
3729 i
[3456789]86-*-mingw*)
3730 target_configdirs
="$target_configdirs target-winsup"
3733 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3734 noconfigdirs
="$noconfigdirs target-libgloss"
3735 # always build newlib if winsup directory is present.
3736 if test -d "$srcdir/winsup/cygwin"; then
3737 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3738 elif test -d "$srcdir/newlib"; then
3739 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3743 noconfigdirs
="$noconfigdirs target-libgloss"
3745 i
[3456789]86-*-sco3.2v5
*)
3746 # The linker does not yet know about weak symbols in COFF,
3747 # and is not configured to handle mixed ELF and COFF.
3748 noconfigdirs
="$noconfigdirs ld target-libgloss"
3750 i
[3456789]86-*-sco*)
3751 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3753 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3754 noconfigdirs
="$noconfigdirs target-libgloss"
3756 i
[3456789]86-*-sysv4*)
3757 noconfigdirs
="$noconfigdirs target-libgloss"
3759 i
[3456789]86-*-beos*)
3760 noconfigdirs
="$noconfigdirs gdb"
3762 i
[3456789]86-*-rdos*)
3763 noconfigdirs
="$noconfigdirs gdb"
3766 noconfigdirs
="$noconfigdirs gdb"
3769 noconfigdirs
="$noconfigdirs sim"
3772 # copied from rs6000-*-* entry
3773 noconfigdirs
="$noconfigdirs gprof"
3775 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3776 target_configdirs
="$target_configdirs target-winsup"
3777 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3778 # always build newlib.
3779 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3781 # This is temporary until we can link against shared libraries
3782 powerpcle-
*-solaris*)
3783 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3786 noconfigdirs
="$noconfigdirs gdb"
3789 noconfigdirs
="$noconfigdirs gprof"
3792 noconfigdirs
="$noconfigdirs gprof"
3795 noconfigdirs
="$noconfigdirs gprof"
3798 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3801 noconfigdirs
="$noconfigdirs gprof"
3803 mips
*-sde-elf* | mips
*-mti-elf*)
3804 if test x
$with_newlib = xyes
; then
3805 noconfigdirs
="$noconfigdirs gprof"
3809 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3812 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3815 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3819 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3820 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3821 noconfigdirs
="$noconfigdirs ld gas gprof"
3824 noconfigdirs
="$noconfigdirs gprof"
3831 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3835 if test x
${is_cross_compiler} = xno
; then
3840 noconfigdirs
="$noconfigdirs sim"
3842 tilepro-
*-* | tilegx-
*-*)
3843 noconfigdirs
="$noconfigdirs sim"
3846 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3849 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3853 # If we aren't building newlib, then don't build libgloss, since libgloss
3854 # depends upon some newlib header files.
3855 case "${noconfigdirs}" in
3856 *target-libgloss
*) ;;
3857 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3860 # Work in distributions that contain no compiler tools, like Autoconf.
3861 host_makefile_frag
=/dev
/null
3862 if test -d ${srcdir}/config
; then
3864 i
[3456789]86-*-msdosdjgpp*)
3865 host_makefile_frag
="config/mh-djgpp"
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3870 $as_echo_n "checking to see if cat works as expected... " >&6; }
3871 echo a
>cygwin-cat-check
3872 if test `cat cygwin-cat-check` = a
; then
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3875 $as_echo "yes" >&6; }
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879 $as_echo "no" >&6; }
3880 as_fn_error
"The cat command does not ignore carriage return characters.
3881 Please either mount the build directory in binary mode or run the following
3882 commands before running any configure script:
3888 host_makefile_frag
="config/mh-cygwin"
3891 host_makefile_frag
="config/mh-mingw"
3894 host_makefile_frag
="config/mh-pa-hpux10"
3897 host_makefile_frag
="config/mh-pa"
3900 host_makefile_frag
="config/mh-pa"
3903 host_makefile_frag
="config/mh-darwin"
3906 host_makefile_frag
="config/mh-ppc-aix"
3909 host_makefile_frag
="config/mh-ppc-aix"
3914 if test "${build}" != "${host}" ; then
3915 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3916 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3917 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3918 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3919 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3920 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3921 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3922 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
3923 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3924 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3925 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3926 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3927 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3928 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3930 AR_FOR_BUILD
="\$(AR)"
3931 AS_FOR_BUILD
="\$(AS)"
3932 CC_FOR_BUILD
="\$(CC)"
3933 CXX_FOR_BUILD
="\$(CXX)"
3934 GCJ_FOR_BUILD
="\$(GCJ)"
3935 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3936 GOC_FOR_BUILD
="\$(GOC)"
3937 GUPC_FOR_BUILD
="\$(GUPC)"
3938 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3939 LD_FOR_BUILD
="\$(LD)"
3940 NM_FOR_BUILD
="\$(NM)"
3941 RANLIB_FOR_BUILD
="\$(RANLIB)"
3942 WINDRES_FOR_BUILD
="\$(WINDRES)"
3943 WINDMC_FOR_BUILD
="\$(WINDMC)"
3947 ac_cpp
='$CPP $CPPFLAGS'
3948 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3949 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3950 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3951 if test -n "$ac_tool_prefix"; then
3952 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3953 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3955 $as_echo_n "checking for $ac_word... " >&6; }
3956 if test "${ac_cv_prog_CC+set}" = set; then :
3957 $as_echo_n "(cached) " >&6
3959 if test -n "$CC"; then
3960 ac_cv_prog_CC
="$CC" # Let the user override the test.
3962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3966 test -z "$as_dir" && as_dir
=.
3967 for ac_exec_ext
in '' $ac_executable_extensions; do
3968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3969 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3980 if test -n "$CC"; then
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3982 $as_echo "$CC" >&6; }
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3985 $as_echo "no" >&6; }
3990 if test -z "$ac_cv_prog_CC"; then
3992 # Extract the first word of "gcc", so it can be a program name with args.
3993 set dummy gcc
; ac_word
=$2
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3995 $as_echo_n "checking for $ac_word... " >&6; }
3996 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3997 $as_echo_n "(cached) " >&6
3999 if test -n "$ac_ct_CC"; then
4000 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_prog_ac_ct_CC
="gcc"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4020 if test -n "$ac_ct_CC"; then
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4022 $as_echo "$ac_ct_CC" >&6; }
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4025 $as_echo "no" >&6; }
4028 if test "x$ac_ct_CC" = x
; then
4031 case $cross_compiling:$ac_tool_warned in
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4034 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4035 ac_tool_warned
=yes ;;
4043 if test -z "$CC"; then
4044 if test -n "$ac_tool_prefix"; then
4045 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4046 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if test "${ac_cv_prog_CC+set}" = set; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC
="$CC" # Let the user override the test.
4055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir
=.
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4062 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4084 if test -z "$CC"; then
4085 # Extract the first word of "cc", so it can be a program name with args.
4086 set dummy cc
; ac_word
=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if test "${ac_cv_prog_CC+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -n "$CC"; then
4093 ac_cv_prog_CC
="$CC" # Let the user override the test.
4096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4100 test -z "$as_dir" && as_dir
=.
4101 for ac_exec_ext
in '' $ac_executable_extensions; do
4102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4103 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4104 ac_prog_rejected
=yes
4108 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4115 if test $ac_prog_rejected = yes; then
4116 # We found a bogon in the path, so make sure we never use it.
4117 set dummy
$ac_cv_prog_CC
4119 if test $# != 0; then
4120 # We chose a different compiler from the bogus one.
4121 # However, it has the same basename, so the bogon will be chosen
4122 # first if we set CC to just the basename; use the full file name.
4124 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4130 if test -n "$CC"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4132 $as_echo "$CC" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4140 if test -z "$CC"; then
4141 if test -n "$ac_tool_prefix"; then
4142 for ac_prog
in cl.exe
4144 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4145 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if test "${ac_cv_prog_CC+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -n "$CC"; then
4152 ac_cv_prog_CC
="$CC" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 if test -n "$CC"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4174 $as_echo "$CC" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4181 test -n "$CC" && break
4184 if test -z "$CC"; then
4186 for ac_prog
in cl.exe
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy
$ac_prog; ac_word
=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$ac_ct_CC"; then
4196 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_ac_ct_CC
="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4216 if test -n "$ac_ct_CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4218 $as_echo "$ac_ct_CC" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$ac_ct_CC" && break
4228 if test "x$ac_ct_CC" = x
; then
4231 case $cross_compiling:$ac_tool_warned in
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4235 ac_tool_warned
=yes ;;
4244 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4245 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4246 as_fn_error
"no acceptable C compiler found in \$PATH
4247 See \`config.log' for more details." "$LINENO" 5; }
4249 # Provide some information about the compiler.
4250 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4253 for ac_option
in --version -v -V -qversion; do
4254 { { ac_try
="$ac_compiler $ac_option >&5"
4256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4263 if test -s conftest.err; then
4265 ... rest of stderr output deleted ...
4266 10q' conftest.err >conftest.er1
4267 cat conftest.er1 >&5
4268 rm -f conftest.er1 conftest.err
4270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4271 test $ac_status = 0; }
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4285 ac_clean_files_save=$ac_clean_files
4286 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4287 # Try to create an executable without -o first, disregard a.out.
4288 # It will help us diagnose broken compilers, and finding out an intuition
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4291 $as_echo_n "checking for C compiler default output file name... " >&6; }
4292 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4294 # The possible output files:
4295 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4298 for ac_file in $ac_files
4301 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4302 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4307 if { { ac_try="$ac_link_default"
4309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4310 *) ac_try_echo
=$ac_try;;
4312 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4313 $as_echo "$ac_try_echo"; } >&5
4314 (eval "$ac_link_default") 2>&5
4316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4317 test $ac_status = 0; }; then :
4318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4321 # so that the user can short-circuit this test for compilers unknown to
4323 for ac_file
in $ac_files ''
4325 test -f "$ac_file" ||
continue
4327 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4330 # We found the default executable, but exeext='' is most
4334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4336 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4338 # We set ac_cv_exeext here because the later test for it is not
4339 # safe: cross compilers may not add the suffix if given an `-o'
4340 # argument, so we may need to know it at that point already.
4341 # Even if this section looks crufty: it has the advantage of
4348 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4354 $as_echo "$ac_file" >&6; }
4355 if test -z "$ac_file"; then :
4356 $as_echo "$as_me: failed program was:" >&5
4357 sed 's/^/| /' conftest.
$ac_ext >&5
4359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4360 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4361 { as_fn_set_status
77
4362 as_fn_error
"C compiler cannot create executables
4363 See \`config.log' for more details." "$LINENO" 5; }; }
4365 ac_exeext
=$ac_cv_exeext
4367 # Check that the compiler produces executables we can run. If not, either
4368 # the compiler is broken, or we cross compile.
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4370 $as_echo_n "checking whether the C compiler works... " >&6; }
4371 # If not cross compiling, check that we can run a simple program.
4372 if test "$cross_compiling" != yes; then
4373 if { ac_try
='./$ac_file'
4374 { { case "(($ac_try" in
4375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4376 *) ac_try_echo=$ac_try;;
4378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4379 $as_echo "$ac_try_echo"; } >&5
4380 (eval "$ac_try") 2>&5
4382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4383 test $ac_status = 0; }; }; then
4386 if test "$cross_compiling" = maybe; then
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error "cannot run C compiled programs.
4392 If you meant to cross compile
, use \
`--host'.
4393 See \`config.log
' for more details." "$LINENO" 5; }
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4398 $as_echo "yes" >&6; }
4400 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4401 ac_clean_files=$ac_clean_files_save
4402 # Check that the compiler produces executables we can run. If not, either
4403 # the compiler is broken, or we cross compile.
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4405 $as_echo_n "checking whether we are cross compiling... " >&6; }
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4407 $as_echo "$cross_compiling" >&6; }
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4410 $as_echo_n "checking for suffix of executables... " >&6; }
4411 if { { ac_try="$ac_link"
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4417 $as_echo "$ac_try_echo"; } >&5
4418 (eval "$ac_link") 2>&5
4420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4421 test $ac_status = 0; }; then :
4422 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4423 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4424 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4426 for ac_file
in conftest.exe conftest conftest.
*; do
4427 test -f "$ac_file" ||
continue
4429 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4430 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4438 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4439 See \`config.log' for more details." "$LINENO" 5; }
4441 rm -f conftest
$ac_cv_exeext
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4443 $as_echo "$ac_cv_exeext" >&6; }
4445 rm -f conftest.
$ac_ext
4446 EXEEXT
=$ac_cv_exeext
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4449 $as_echo_n "checking for suffix of object files... " >&6; }
4450 if test "${ac_cv_objext+set}" = set; then :
4451 $as_echo_n "(cached) " >&6
4453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4454 /* end confdefs.h. */
4464 rm -f conftest.o conftest.obj
4465 if { { ac_try
="$ac_compile"
4467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4468 *) ac_try_echo=$ac_try;;
4470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4471 $as_echo "$ac_try_echo"; } >&5
4472 (eval "$ac_compile") 2>&5
4474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475 test $ac_status = 0; }; then :
4476 for ac_file in conftest.o conftest.obj conftest.*; do
4477 test -f "$ac_file" || continue;
4479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4480 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4485 $as_echo "$as_me: failed program was:" >&5
4486 sed 's/^/| /' conftest.$ac_ext >&5
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error "cannot compute suffix of object files
: cannot compile
4491 See \
`config.log' for more details." "$LINENO" 5; }
4493 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4496 $as_echo "$ac_cv_objext" >&6; }
4497 OBJEXT=$ac_cv_objext
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4501 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4518 if ac_fn_c_try_compile "$LINENO"; then :
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4528 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4534 ac_test_CFLAGS=${CFLAGS+set}
4535 ac_save_CFLAGS=$CFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4537 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4538 if test "${ac_cv_prog_cc_g+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4541 ac_save_c_werror_flag=$ac_c_werror_flag
4542 ac_c_werror_flag=yes
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4556 if ac_fn_c_try_compile "$LINENO"; then :
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4571 if ac_fn_c_try_compile "$LINENO"; then :
4574 ac_c_werror_flag=$ac_save_c_werror_flag
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4587 if ac_fn_c_try_compile "$LINENO"; then :
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4598 $as_echo "$ac_cv_prog_cc_g" >&6; }
4599 if test "$ac_test_CFLAGS" = set; then
4600 CFLAGS=$ac_save_CFLAGS
4601 elif test $ac_cv_prog_cc_g = yes; then
4602 if test "$GCC" = yes; then
4608 if test "$GCC" = yes; then
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4615 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4616 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4617 $as_echo_n "(cached) " >&6
4619 ac_cv_prog_cc_c89=no
4621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h. */
4625 #include <sys/types.h>
4626 #include <sys/stat.h>
4627 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4628 struct buf { int x; };
4629 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4630 static char *e (p, i)
4636 static char *f (char * (*g) (char **, int), char **p, ...)
4641 s = g (p, va_arg (v,int));
4646 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4647 function prototypes and stuff, but not '\xHH' hex character constants.
4648 These don't provoke an error unfortunately, instead are silently treated
4649 as 'x'. The following induces an error, until -std is added to get
4650 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4651 array size at least. It's necessary to write '\x00'==0 to get something
4652 that's true only with -std. */
4653 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4655 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4656 inside strings and character constants. */
4658 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4660 int test (int i, double x);
4661 struct s1 {int (*f) (int a);};
4662 struct s2 {int (*f) (double a);};
4663 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4669 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4674 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4675 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4677 CC="$ac_save_CC $ac_arg"
4678 if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_prog_cc_c89=$ac_arg
4681 rm -f core conftest.err conftest.$ac_objext
4682 test "x$ac_cv_prog_cc_c89" != "xno" && break
4684 rm -f conftest.$ac_ext
4689 case "x$ac_cv_prog_cc_c89" in
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4692 $as_echo "none needed" >&6; } ;;
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4695 $as_echo "unsupported" >&6; } ;;
4697 CC="$CC $ac_cv_prog_cc_c89"
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4699 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4701 if test "x$ac_cv_prog_cc_c89" != xno; then :
4706 ac_cpp='$CPP $CPPFLAGS'
4707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4712 ac_cpp='$CXXCPP $CPPFLAGS'
4713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4716 if test -z "$CXX"; then
4717 if test -n "$CCC"; then
4720 if test -n "$ac_tool_prefix"; then
4721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4723 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4724 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4726 $as_echo_n "checking for $ac_word... " >&6; }
4727 if test "${ac_cv_prog_CXX+set}" = set; then :
4728 $as_echo_n "(cached) " >&6
4730 if test -n "$CXX"; then
4731 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 test -z "$as_dir" && as_dir=.
4738 for ac_exec_ext in '' $ac_executable_extensions; do
4739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4740 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 if test -n "$CXX"; then
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4753 $as_echo "$CXX" >&6; }
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4756 $as_echo "no" >&6; }
4760 test -n "$CXX" && break
4763 if test -z "$CXX"; then
4765 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4767 # Extract the first word of "$ac_prog", so it can be a program name with args.
4768 set dummy $ac_prog; ac_word=$2
4769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4770 $as_echo_n "checking for $ac_word... " >&6; }
4771 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4772 $as_echo_n "(cached) " >&6
4774 if test -n "$ac_ct_CXX"; then
4775 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781 test -z "$as_dir" && as_dir=.
4782 for ac_exec_ext in '' $ac_executable_extensions; do
4783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4784 ac_cv_prog_ac_ct_CXX="$ac_prog"
4785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4795 if test -n "$ac_ct_CXX"; then
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4797 $as_echo "$ac_ct_CXX" >&6; }
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4800 $as_echo "no" >&6; }
4804 test -n "$ac_ct_CXX" && break
4807 if test "x$ac_ct_CXX" = x; then
4810 case $cross_compiling:$ac_tool_warned in
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4813 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4814 ac_tool_warned=yes ;;
4822 # Provide some information about the compiler.
4823 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4826 for ac_option in --version -v -V -qversion; do
4827 { { ac_try="$ac_compiler $ac_option >&5"
4829 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4830 *) ac_try_echo
=$ac_try;;
4832 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4833 $as_echo "$ac_try_echo"; } >&5
4834 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4836 if test -s conftest.err
; then
4838 ... rest of stderr output deleted ...
4839 10q' conftest.err
>conftest.er1
4840 cat conftest.er1
>&5
4841 rm -f conftest.er1 conftest.err
4843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4844 test $ac_status = 0; }
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4848 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4849 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4853 /* end confdefs.h. */
4866 if ac_fn_cxx_try_compile
"$LINENO"; then :
4871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4872 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4876 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4877 if test $ac_compiler_gnu = yes; then
4882 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4883 ac_save_CXXFLAGS
=$CXXFLAGS
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4885 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4886 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4890 ac_cxx_werror_flag
=yes
4893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4894 /* end confdefs.h. */
4904 if ac_fn_cxx_try_compile
"$LINENO"; then :
4905 ac_cv_prog_cxx_g
=yes
4908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4909 /* end confdefs.h. */
4919 if ac_fn_cxx_try_compile
"$LINENO"; then :
4922 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4925 /* end confdefs.h. */
4935 if ac_fn_cxx_try_compile
"$LINENO"; then :
4936 ac_cv_prog_cxx_g
=yes
4938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4943 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4946 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4947 if test "$ac_test_CXXFLAGS" = set; then
4948 CXXFLAGS
=$ac_save_CXXFLAGS
4949 elif test $ac_cv_prog_cxx_g = yes; then
4950 if test "$GXX" = yes; then
4956 if test "$GXX" = yes; then
4963 ac_cpp
='$CPP $CPPFLAGS'
4964 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4965 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4966 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4969 # We must set the default linker to the linker used by gcc for the correct
4970 # operation of libtool. If LD is not defined and we are using gcc, try to
4971 # set the LD default to the ld used by gcc.
4972 if test -z "$LD"; then
4973 if test "$GCC" = yes; then
4976 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4978 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4980 case $gcc_prog_ld in
4981 # Accept absolute paths.
4982 [\\/]* |
[A-Za-z
]:[\\/]*)
4983 LD
="$gcc_prog_ld" ;;
4988 # Check whether -static-libstdc++ -static-libgcc is supported.
4990 if test "$GCC" = yes; then
4991 saved_LDFLAGS
="$LDFLAGS"
4993 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4995 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4997 ac_cpp
='$CXXCPP $CPPFLAGS'
4998 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4999 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5000 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5006 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5007 #error -static-libstdc++ not implemented
5011 if ac_fn_cxx_try_link
"$LINENO"; then :
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5013 $as_echo "yes" >&6; }; have_static_libs
=yes
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5018 rm -f core conftest.err conftest.
$ac_objext \
5019 conftest
$ac_exeext conftest.
$ac_ext
5021 ac_cpp
='$CPP $CPPFLAGS'
5022 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5023 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5024 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5027 LDFLAGS
="$saved_LDFLAGS"
5033 if test -n "$ac_tool_prefix"; then
5034 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5035 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5037 $as_echo_n "checking for $ac_word... " >&6; }
5038 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5039 $as_echo_n "(cached) " >&6
5041 if test -n "$GNATBIND"; then
5042 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5048 test -z "$as_dir" && as_dir
=.
5049 for ac_exec_ext
in '' $ac_executable_extensions; do
5050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5051 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 GNATBIND
=$ac_cv_prog_GNATBIND
5062 if test -n "$GNATBIND"; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5064 $as_echo "$GNATBIND" >&6; }
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5067 $as_echo "no" >&6; }
5072 if test -z "$ac_cv_prog_GNATBIND"; then
5073 ac_ct_GNATBIND
=$GNATBIND
5074 # Extract the first word of "gnatbind", so it can be a program name with args.
5075 set dummy gnatbind
; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$ac_ct_GNATBIND"; then
5082 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5102 if test -n "$ac_ct_GNATBIND"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5104 $as_echo "$ac_ct_GNATBIND" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5110 if test "x$ac_ct_GNATBIND" = x
; then
5113 case $cross_compiling:$ac_tool_warned in
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5117 ac_tool_warned
=yes ;;
5119 GNATBIND
=$ac_ct_GNATBIND
5122 GNATBIND
="$ac_cv_prog_GNATBIND"
5125 if test -n "$ac_tool_prefix"; then
5126 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5127 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$GNATMAKE"; then
5134 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 GNATMAKE
=$ac_cv_prog_GNATMAKE
5154 if test -n "$GNATMAKE"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5156 $as_echo "$GNATMAKE" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5164 if test -z "$ac_cv_prog_GNATMAKE"; then
5165 ac_ct_GNATMAKE
=$GNATMAKE
5166 # Extract the first word of "gnatmake", so it can be a program name with args.
5167 set dummy gnatmake
; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$ac_ct_GNATMAKE"; then
5174 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5194 if test -n "$ac_ct_GNATMAKE"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5196 $as_echo "$ac_ct_GNATMAKE" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5202 if test "x$ac_ct_GNATMAKE" = x
; then
5205 case $cross_compiling:$ac_tool_warned in
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5209 ac_tool_warned
=yes ;;
5211 GNATMAKE
=$ac_ct_GNATMAKE
5214 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5218 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5219 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5220 $as_echo_n "(cached) " >&6
5222 cat >conftest.adb
<<EOF
5223 procedure conftest is begin null; end conftest;
5225 acx_cv_cc_gcc_supports_ada
=no
5226 # There is a bug in old released versions of GCC which causes the
5227 # driver to exit successfully when the appropriate language module
5228 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5229 # Therefore we must check for the error message as well as an
5230 # unsuccessful exit.
5231 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5232 # given a .adb file, but produce no object file. So we must check
5233 # if an object file was really produced to guard against this.
5234 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5235 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5236 acx_cv_cc_gcc_supports_ada
=yes
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5241 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5243 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5250 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5251 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5256 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5257 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5258 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5261 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5264 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5265 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5268 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5275 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5276 do_compare
="$gcc_cv_prog_cmp_skip"
5280 # Check whether --enable-bootstrap was given.
5281 if test "${enable_bootstrap+set}" = set; then :
5282 enableval
=$enable_bootstrap;
5284 enable_bootstrap
=default
5288 # Issue errors and warnings for invalid/strange bootstrap combinations.
5289 if test -r $srcdir/gcc
/configure
; then
5295 case "$have_compiler:$host:$target:$enable_bootstrap" in
5298 # Default behavior. Enable bootstrap if we have a compiler
5299 # and we are in a native configuration.
5300 yes:$build:$build:default
)
5301 enable_bootstrap
=yes ;;
5304 enable_bootstrap
=no
;;
5306 # We have a compiler and we are in a native configuration, bootstrap is ok
5307 yes:$build:$build:yes)
5310 # Other configurations, but we have a compiler. Assume the user knows
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5314 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5317 # No compiler: if they passed --enable-bootstrap explicitly, fail
5319 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5321 # Fail if wrong command line
5323 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5327 # Used for setting $lt_cv_objdir
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5329 $as_echo_n "checking for objdir... " >&6; }
5330 if test "${lt_cv_objdir+set}" = set; then :
5331 $as_echo_n "(cached) " >&6
5333 rm -f .libs
2>/dev
/null
5334 mkdir .libs
2>/dev
/null
5335 if test -d .libs
; then
5338 # MS-DOS does not allow filenames that begin with a dot.
5341 rmdir .libs
2>/dev
/null
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5344 $as_echo "$lt_cv_objdir" >&6; }
5345 objdir
=$lt_cv_objdir
5351 cat >>confdefs.h
<<_ACEOF
5352 #define LT_OBJDIR "$lt_cv_objdir/"
5357 # Check for GMP, MPFR and MPC
5358 gmplibs
="-lmpc -lmpfr -lgmp"
5362 # Specify a location for mpc
5363 # check for this first so it ends up on the link line before mpfr.
5365 # Check whether --with-mpc was given.
5366 if test "${with_mpc+set}" = set; then :
5371 # Check whether --with-mpc-include was given.
5372 if test "${with_mpc_include+set}" = set; then :
5373 withval
=$with_mpc_include;
5377 # Check whether --with-mpc-lib was given.
5378 if test "${with_mpc_lib+set}" = set; then :
5379 withval
=$with_mpc_lib;
5383 if test "x$with_mpc" != x
; then
5384 gmplibs
="-L$with_mpc/lib $gmplibs"
5385 gmpinc
="-I$with_mpc/include $gmpinc"
5387 if test "x$with_mpc_include" != x
; then
5388 gmpinc
="-I$with_mpc_include $gmpinc"
5390 if test "x$with_mpc_lib" != x
; then
5391 gmplibs
="-L$with_mpc_lib $gmplibs"
5393 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5394 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5395 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5396 # Do not test the mpc version. Assume that it is sufficient, since
5397 # it is in the source tree, and the library has not been built yet
5398 # but it would be included on the link line in the version check below
5399 # hence making the test fail.
5403 # Specify a location for mpfr
5404 # check for this first so it ends up on the link line before gmp.
5406 # Check whether --with-mpfr-dir was given.
5407 if test "${with_mpfr_dir+set}" = set; then :
5408 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5409 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5414 # Check whether --with-mpfr was given.
5415 if test "${with_mpfr+set}" = set; then :
5420 # Check whether --with-mpfr-include was given.
5421 if test "${with_mpfr_include+set}" = set; then :
5422 withval
=$with_mpfr_include;
5426 # Check whether --with-mpfr-lib was given.
5427 if test "${with_mpfr_lib+set}" = set; then :
5428 withval
=$with_mpfr_lib;
5432 if test "x$with_mpfr" != x
; then
5433 gmplibs
="-L$with_mpfr/lib $gmplibs"
5434 gmpinc
="-I$with_mpfr/include $gmpinc"
5436 if test "x$with_mpfr_include" != x
; then
5437 gmpinc
="-I$with_mpfr_include $gmpinc"
5439 if test "x$with_mpfr_lib" != x
; then
5440 gmplibs
="-L$with_mpfr_lib $gmplibs"
5442 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5443 # MPFR v3.1.0 moved the sources into a src sub-directory.
5444 if test -d ${srcdir}/mpfr
/src
; then
5445 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5446 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5447 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5449 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5450 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5451 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5453 # Do not test the mpfr version. Assume that it is sufficient, since
5454 # it is in the source tree, and the library has not been built yet
5455 # but it would be included on the link line in the version check below
5456 # hence making the test fail.
5460 # Specify a location for gmp
5462 # Check whether --with-gmp-dir was given.
5463 if test "${with_gmp_dir+set}" = set; then :
5464 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5465 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5470 # Check whether --with-gmp was given.
5471 if test "${with_gmp+set}" = set; then :
5476 # Check whether --with-gmp-include was given.
5477 if test "${with_gmp_include+set}" = set; then :
5478 withval
=$with_gmp_include;
5482 # Check whether --with-gmp-lib was given.
5483 if test "${with_gmp_lib+set}" = set; then :
5484 withval
=$with_gmp_lib;
5489 if test "x$with_gmp" != x
; then
5490 gmplibs
="-L$with_gmp/lib $gmplibs"
5491 gmpinc
="-I$with_gmp/include $gmpinc"
5493 if test "x$with_gmp_include" != x
; then
5494 gmpinc
="-I$with_gmp_include $gmpinc"
5496 if test "x$with_gmp_lib" != x
; then
5497 gmplibs
="-L$with_gmp_lib $gmplibs"
5499 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5500 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5501 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5502 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5503 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5504 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5505 # Do not test the gmp version. Assume that it is sufficient, since
5506 # it is in the source tree, and the library has not been built yet
5507 # but it would be included on the link line in the version check below
5508 # hence making the test fail.
5512 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5514 saved_CFLAGS
="$CFLAGS"
5515 CFLAGS
="$CFLAGS $gmpinc"
5516 # Check for the recommended and required versions of GMP.
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5518 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5527 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5528 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5529 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5537 if ac_fn_c_try_compile
"$LINENO"; then :
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5545 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5546 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5547 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5555 if ac_fn_c_try_compile
"$LINENO"; then :
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5557 $as_echo "yes" >&6; }
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5560 $as_echo "buggy but acceptable" >&6; }
5562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5565 $as_echo "no" >&6; }; have_gmp
=no
5567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5569 # If we have GMP, check the MPFR version.
5570 if test x
"$have_gmp" = xyes
; then
5571 # Check for the recommended and required versions of MPFR.
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5573 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5575 /* end confdefs.h. */
5582 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5590 if ac_fn_c_try_compile
"$LINENO"; then :
5591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5599 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5607 if ac_fn_c_try_compile
"$LINENO"; then :
5608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5609 $as_echo "yes" >&6; }
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5612 $as_echo "buggy but acceptable" >&6; }
5614 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5617 $as_echo "no" >&6; }; have_gmp
=no
5619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5622 # Check for the MPC header version.
5623 if test x
"$have_gmp" = xyes
; then
5624 # Check for the recommended and required versions of MPC.
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5626 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5634 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5642 if ac_fn_c_try_compile
"$LINENO"; then :
5643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5650 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5658 if ac_fn_c_try_compile
"$LINENO"; then :
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5660 $as_echo "yes" >&6; }
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5663 $as_echo "buggy but acceptable" >&6; }
5665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5668 $as_echo "no" >&6; }; have_gmp
=no
5670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5673 # Now check the MPFR library.
5674 if test x
"$have_gmp" = xyes
; then
5676 LIBS
="$LIBS $gmplibs"
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5678 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5692 mpfr_atan2 (n, n, x, GMP_RNDN);
5693 mpfr_erfc (n, x, GMP_RNDN);
5694 mpfr_subnormalize (x, t, GMP_RNDN);
5698 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5699 mpc_cosh (c, c, MPC_RNDNN);
5700 mpc_pow (c, c, c, MPC_RNDNN);
5701 mpc_acosh (c, c, MPC_RNDNN);
5708 if ac_fn_c_try_link
"$LINENO"; then :
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5710 $as_echo "yes" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }; have_gmp
=no
5715 rm -f core conftest.err conftest.
$ac_objext \
5716 conftest
$ac_exeext conftest.
$ac_ext
5720 CFLAGS
="$saved_CFLAGS"
5722 # The library versions listed in the error message below should match
5723 # the HARD-minimums enforced above.
5724 if test x
$have_gmp != xyes
; then
5725 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5726 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5727 their locations. Source code for these libraries can be found at
5728 their respective hosting sites as well as at
5729 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5730 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5731 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5732 make sure that you have installed both the libraries and the header
5733 files. They may be located in separate packages." "$LINENO" 5
5737 # Flags needed for both GMP, MPFR and/or MPC.
5745 # Allow host libstdc++ to be specified for static linking with PPL.
5747 # Check whether --with-host-libstdcxx was given.
5748 if test "${with_host_libstdcxx+set}" = set; then :
5749 withval
=$with_host_libstdcxx;
5753 case $with_host_libstdcxx in
5755 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5759 # Libraries to use for stage1 or when not bootstrapping.
5761 # Check whether --with-stage1-libs was given.
5762 if test "${with_stage1_libs+set}" = set; then :
5763 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5766 stage1_libs
=$withval
5769 stage1_libs
=$with_host_libstdcxx
5774 # Linker flags to use for stage1 or when not bootstrapping.
5776 # Check whether --with-stage1-ldflags was given.
5777 if test "${with_stage1_ldflags+set}" = set; then :
5778 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5781 stage1_ldflags
=$withval
5785 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5786 # if supported. But if the user explicitly specified the libraries to use,
5787 # trust that they are doing what they want.
5788 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5789 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5795 # Libraries to use for stage2 and later builds. This defaults to the
5796 # argument passed to --with-host-libstdcxx.
5798 # Check whether --with-boot-libs was given.
5799 if test "${with_boot_libs+set}" = set; then :
5800 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5803 poststage1_libs
=$withval
5806 poststage1_libs
=$with_host_libstdcxx
5811 # Linker flags to use for stage2 and later builds.
5813 # Check whether --with-boot-ldflags was given.
5814 if test "${with_boot_ldflags+set}" = set; then :
5815 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5818 poststage1_ldflags
=$withval
5822 # In stages 2 and 3, default to linking libstdc++ and libgcc
5823 # statically. But if the user explicitly specified the libraries to
5824 # use, trust that they are doing what they want.
5825 if test "$poststage1_libs" = ""; then
5826 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5832 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5833 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5837 # Check whether --with-cloog was given.
5838 if test "${with_cloog+set}" = set; then :
5839 withval
=$with_cloog;
5843 # Check whether --with-isl was given.
5844 if test "${with_isl+set}" = set; then :
5849 # Treat either --without-cloog or --without-isl as a request to disable
5850 # GRAPHITE support and skip all following checks.
5851 if test "x$with_isl" != "xno" &&
5852 test "x$with_cloog" != "xno"; then
5856 # Check whether --with-isl-include was given.
5857 if test "${with_isl_include+set}" = set; then :
5858 withval
=$with_isl_include;
5862 # Check whether --with-isl-lib was given.
5863 if test "${with_isl_lib+set}" = set; then :
5864 withval
=$with_isl_lib;
5868 # Check whether --enable-isl-version-check was given.
5869 if test "${enable_isl_version_check+set}" = set; then :
5870 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5872 ENABLE_ISL_CHECK
=yes
5876 # Initialize isllibs and islinc.
5885 isllibs
="-L$with_isl/lib"
5886 islinc
="-I$with_isl/include"
5889 if test "x${with_isl_include}" != x
; then
5890 islinc
="-I$with_isl_include"
5892 if test "x${with_isl_lib}" != x
; then
5893 isllibs
="-L$with_isl_lib"
5895 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5896 && test -d ${srcdir}/isl
; then
5897 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5898 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5901 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5906 if test "${ENABLE_ISL_CHECK}" = yes ; then
5907 _isl_saved_CFLAGS
=$CFLAGS
5908 _isl_saved_LDFLAGS
=$LDFLAGS
5909 _isl_saved_LIBS
=$LIBS
5911 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5912 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5913 LIBS
="${_isl_saved_LIBS} -lisl"
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5916 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5917 if test "$cross_compiling" = yes; then :
5920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 #include <isl/version.h>
5927 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5934 if ac_fn_c_try_run
"$LINENO"; then :
5939 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5940 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5944 $as_echo "$gcc_cv_isl" >&6; }
5946 CFLAGS
=$_isl_saved_CFLAGS
5947 LDFLAGS
=$_isl_saved_LDFLAGS
5948 LIBS
=$_isl_saved_LIBS
5952 if test "${gcc_cv_isl}" = no
; then
5954 if test "${ENABLE_ISL_CHECK}" = yes ; then
5955 _isl_saved_CFLAGS
=$CFLAGS
5956 _isl_saved_LDFLAGS
=$LDFLAGS
5957 _isl_saved_LIBS
=$LIBS
5959 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5960 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5961 LIBS
="${_isl_saved_LIBS} -lisl"
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5
5964 $as_echo_n "checking for version 0.11 of ISL... " >&6; }
5965 if test "$cross_compiling" = yes; then :
5968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5969 /* end confdefs.h. */
5970 #include <isl/version.h>
5975 if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
5982 if ac_fn_c_try_run
"$LINENO"; then :
5987 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5988 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5992 $as_echo "$gcc_cv_isl" >&6; }
5994 CFLAGS
=$_isl_saved_CFLAGS
5995 LDFLAGS
=$_isl_saved_LDFLAGS
5996 LIBS
=$_isl_saved_LIBS
6000 if test "${gcc_cv_isl}" = no
; then
6002 if test "${ENABLE_ISL_CHECK}" = yes ; then
6003 _isl_saved_CFLAGS
=$CFLAGS
6004 _isl_saved_LDFLAGS
=$LDFLAGS
6005 _isl_saved_LIBS
=$LIBS
6007 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
6008 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
6009 LIBS
="${_isl_saved_LIBS} -lisl"
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
6012 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
6013 if test "$cross_compiling" = yes; then :
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include <isl/version.h>
6023 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
6030 if ac_fn_c_try_run
"$LINENO"; then :
6035 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6036 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6040 $as_echo "$gcc_cv_isl" >&6; }
6042 CFLAGS
=$_isl_saved_CFLAGS
6043 LDFLAGS
=$_isl_saved_LDFLAGS
6044 LIBS
=$_isl_saved_LIBS
6054 if test "x${with_isl}" = xno
; then
6055 graphite_requested
=no
6056 elif test "x${with_isl}" != x \
6057 ||
test "x${with_isl_include}" != x \
6058 ||
test "x${with_isl_lib}" != x
; then
6059 graphite_requested
=yes
6061 graphite_requested
=no
6066 if test "${gcc_cv_isl}" = no
; then
6071 if test "${graphite_requested}" = yes \
6072 && test "x${isllibs}" = x \
6073 && test "x${islinc}" = x
; then
6075 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6080 if test "x$gcc_cv_isl" != "xno"; then
6084 # Check whether --with-cloog-include was given.
6085 if test "${with_cloog_include+set}" = set; then :
6086 withval
=$with_cloog_include;
6090 # Check whether --with-cloog-lib was given.
6091 if test "${with_cloog_lib+set}" = set; then :
6092 withval
=$with_cloog_lib;
6096 # Check whether --enable-cloog-version-check was given.
6097 if test "${enable_cloog_version_check+set}" = set; then :
6098 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
6100 ENABLE_CLOOG_CHECK
=yes
6104 # Initialize clooglibs and clooginc.
6113 clooglibs
="-L$with_cloog/lib"
6114 clooginc
="-I$with_cloog/include"
6117 if test "x${with_cloog_include}" != x
; then
6118 clooginc
="-I$with_cloog_include"
6120 if test "x${with_cloog_lib}" != x
; then
6121 clooglibs
="-L$with_cloog_lib"
6123 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6124 && test -d ${srcdir}/cloog
; then
6125 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6126 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
6127 ENABLE_CLOOG_CHECK
=no
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6129 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6132 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6133 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
6139 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6140 _cloog_saved_CFLAGS
=$CFLAGS
6141 _cloog_saved_LDFLAGS
=$LDFLAGS
6143 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6144 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
6147 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
6148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6150 #include "cloog/version.h"
6154 #if CLOOG_VERSION_MAJOR != 0 \
6155 || CLOOG_VERSION_MINOR != 17 \
6156 || CLOOG_VERSION_REVISION < 0
6163 if ac_fn_c_try_compile
"$LINENO"; then :
6168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6170 $as_echo "$gcc_cv_cloog" >&6; }
6172 CFLAGS
=$_cloog_saved_CFLAGS
6173 LDFLAGS
=$_cloog_saved_LDFLAGS
6177 if test "${gcc_cv_cloog}" = no
; then
6181 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6182 _cloog_saved_CFLAGS
=$CFLAGS
6183 _cloog_saved_LDFLAGS
=$LDFLAGS
6185 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6186 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.0 of CLooG" >&5
6189 $as_echo_n "checking for version 0.18.0 of CLooG... " >&6; }
6190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6191 /* end confdefs.h. */
6192 #include "cloog/version.h"
6196 #if CLOOG_VERSION_MAJOR != 0 \
6197 || CLOOG_VERSION_MINOR != 18 \
6198 || CLOOG_VERSION_REVISION < 0
6205 if ac_fn_c_try_compile
"$LINENO"; then :
6210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6212 $as_echo "$gcc_cv_cloog" >&6; }
6214 CFLAGS
=$_cloog_saved_CFLAGS
6215 LDFLAGS
=$_cloog_saved_LDFLAGS
6225 if test "x${with_cloog}" = xno
; then
6226 graphite_requested
=no
6227 elif test "x${with_cloog}" != x \
6228 ||
test "x${with_cloog_include}" != x \
6229 ||
test "x${with_cloog_lib}" != x
; then
6230 graphite_requested
=yes
6232 graphite_requested
=no
6237 if test "${gcc_cv_cloog}" = no
; then
6242 if test "${graphite_requested}" = yes \
6243 && test "x${clooglibs}" = x \
6244 && test "x${clooginc}" = x
; then
6246 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6253 # If either the ISL or the CLooG check failed, disable builds of in-tree
6255 if test "x$with_isl" = xno ||
6256 test "x$with_cloog" = xno ||
6257 test "x$gcc_cv_cloog" = xno ||
6258 test "x$gcc_cv_isl" = xno
; then
6259 noconfigdirs
="$noconfigdirs cloog isl"
6270 # Check for LTO support.
6271 # Check whether --enable-lto was given.
6272 if test "${enable_lto+set}" = set; then :
6273 enableval
=$enable_lto; enable_lto
=$enableval
6275 enable_lto
=yes; default_enable_lto
=yes
6284 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6285 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6286 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6294 if test $target_elf = yes; then :
6295 # ELF platforms build the lto-plugin always.
6296 build_lto_plugin
=yes
6299 if test x
"$default_enable_lto" = x
"yes" ; then
6301 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6302 # On other non-ELF platforms, LTO has yet to be validated.
6306 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6307 # It would also be nice to check the binutils support, but we don't
6308 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6309 # warn during gcc/ subconfigure; unless you're bootstrapping with
6310 # -flto it won't be needed until after installation anyway.
6312 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6313 *) if test x
"$enable_lto" = x
"yes"; then
6314 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6319 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6320 # Build it unless LTO was explicitly disabled.
6322 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6330 # By default, C and C++ are the only stage 1 languages.
6331 stage1_languages
=,c
,
6333 # Target libraries that we bootstrap.
6334 bootstrap_target_libs
=,target-libgcc
,
6336 # Figure out what language subdirectories are present.
6337 # Look if the user specified --enable-languages="..."; if not, use
6338 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6340 # NB: embedded tabs in this IF block -- do not untabify
6341 if test -d ${srcdir}/gcc
; then
6342 if test x
"${enable_languages+set}" != xset
; then
6343 if test x
"${LANGUAGES+set}" = xset
; then
6344 enable_languages
="${LANGUAGES}"
6345 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6347 enable_languages
=all
6350 if test x
"${enable_languages}" = x ||
6351 test x
"${enable_languages}" = xyes
;
6353 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6357 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6359 # 'f95' is the old name for the 'fortran' language. We issue a warning
6360 # and make the substitution.
6361 case ,${enable_languages}, in
6363 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6364 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6368 # If bootstrapping, C++ must be enabled.
6369 case ",$enable_languages,:$enable_bootstrap" in
6372 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6373 enable_languages
="${enable_languages},c++"
6375 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6380 # First scan to see if an enabled language requires some other language.
6381 # We assume that a given config-lang.in will list all the language
6382 # front ends it requires, even if some are required indirectly.
6383 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6384 case ${lang_frag} in
6386 # The odd quoting in the next line works around
6387 # an apparent bug in bash 1.12 on linux.
6388 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6390 # From the config-lang.in, get $language, $lang_requires, and
6391 # $lang_requires_boot_languages.
6394 lang_requires_boot_languages
=
6396 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6397 case ,${enable_languages}, in
6401 echo " \`$other' language required by \`$language'; enabling" 1>&2
6402 enable_languages
="${enable_languages},${other}"
6406 for other
in ${lang_requires_boot_languages} ; do
6407 if test "$other" != "c"; then
6408 case ,${enable_stage1_languages}, in
6412 case ,${enable_languages}, in
6414 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6415 enable_stage1_languages
="$enable_stage1_languages,${other}"
6426 new_enable_languages
=,c
,
6428 # If LTO is enabled, add the LTO front end.
6429 extra_host_libiberty_configure_flags
=
6430 if test "$enable_lto" = "yes" ; then
6431 case ,${enable_languages}, in
6433 *) enable_languages
="${enable_languages},lto" ;;
6435 if test "${build_lto_plugin}" = "yes" ; then
6436 configdirs
="$configdirs lto-plugin"
6437 extra_host_libiberty_configure_flags
=--enable-shared
6442 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6443 potential_languages
=,c
,
6445 enabled_target_libs
=
6446 disabled_target_libs
=
6448 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6449 case ${lang_frag} in
6451 # The odd quoting in the next line works around
6452 # an apparent bug in bash 1.12 on linux.
6453 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6455 # From the config-lang.in, get $language, $target_libs,
6456 # $lang_dirs, $boot_language, and $build_by_default
6462 build_by_default
=yes
6464 if test x
${language} = x
; then
6465 echo "${lang_frag} doesn't set \$language." 1>&2
6469 if test "$language" = "c++"; then
6474 case ,${enable_languages}, in
6476 # Language was explicitly selected; include it
6477 # unless it is C, which is enabled by default.
6478 if test "$language" != "c"; then
6483 # 'all' was selected, select it if it is a default language
6484 if test "$language" != "c"; then
6485 add_this_lang
=${build_by_default}
6490 # Disable languages that need other directories if these aren't available.
6491 for i
in $subdir_requires; do
6492 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6493 case ,${enable_languages}, in
6495 # Specifically requested language; tell them.
6496 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6500 add_this_lang
=unsupported
6505 # Disable Ada if no preexisting GNAT is available.
6506 case ,${enable_languages},:${language}:${have_gnat} in
6507 *,${language},*:ada
:no
)
6508 # Specifically requested language; tell them.
6509 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6513 add_this_lang
=unsupported
6517 # Disable a language that is unsupported by the target.
6518 case " $unsupported_languages " in
6520 add_this_lang
=unsupported
6524 case $add_this_lang in
6526 # Remove language-dependent dirs.
6527 disabled_target_libs
="$disabled_target_libs $target_libs"
6528 noconfigdirs
="$noconfigdirs $lang_dirs"
6531 # Remove language-dependent dirs; still show language as supported.
6532 disabled_target_libs
="$disabled_target_libs $target_libs"
6533 noconfigdirs
="$noconfigdirs $lang_dirs"
6534 potential_languages
="${potential_languages}${language},"
6537 new_enable_languages
="${new_enable_languages}${language},"
6538 potential_languages
="${potential_languages}${language},"
6539 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6540 enabled_target_libs
="$enabled_target_libs $target_libs"
6541 case "${boot_language}:,$enable_stage1_languages," in
6542 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6543 # Add to (comma-separated) list of stage 1 languages.
6544 case ",$stage1_languages," in
6545 *,$language,* |
,yes, |
,all
,) ;;
6546 *) stage1_languages
="${stage1_languages}${language}," ;;
6548 # We need to bootstrap any supporting libraries.
6549 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6558 # Add target libraries which are only needed for disabled languages
6560 if test -n "$disabled_target_libs"; then
6561 for dir
in $disabled_target_libs; do
6562 case " $enabled_target_libs " in
6564 *) noconfigdirs
="$noconfigdirs $dir" ;;
6569 # Check whether --enable-stage1-languages was given.
6570 if test "${enable_stage1_languages+set}" = set; then :
6571 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6573 # Set it to something that will have no effect in the loop below
6574 enable_stage1_languages
=c
;;
6576 enable_stage1_languages
=`echo $new_enable_languages | \
6577 sed -e "s/^,//" -e "s/,$//" ` ;;
6579 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6580 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6583 # Add "good" languages from enable_stage1_languages to stage1_languages,
6584 # while "bad" languages go in missing_languages. Leave no duplicates.
6585 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6586 case $potential_languages in
6588 case $stage1_languages in
6590 *) stage1_languages
="$stage1_languages$i," ;;
6593 case $missing_languages in
6595 *) missing_languages
="$missing_languages$i," ;;
6602 # Remove leading/trailing commas that were added for simplicity
6603 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6604 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6605 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6606 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6608 if test "x$missing_languages" != x
; then
6610 The following requested languages could not be built: ${missing_languages}
6611 Supported languages are: ${potential_languages}" "$LINENO" 5
6613 if test "x$new_enable_languages" != "x$enable_languages"; then
6614 echo The following languages will be built
: ${new_enable_languages}
6615 enable_languages
="$new_enable_languages"
6619 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6622 # Handle --disable-<component> generically.
6623 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6624 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6625 varname
=`echo $dirname | sed -e s/+/_/g`
6626 if eval test x\
${enable_${varname}} "=" xno
; then
6627 noconfigdirs
="$noconfigdirs $dir"
6631 # Check for Boehm's garbage collector
6632 # Check whether --enable-objc-gc was given.
6633 if test "${enable_objc_gc+set}" = set; then :
6634 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6635 *,objc
,*:*:yes:*target-boehm-gc
*)
6636 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6642 # Make sure we only build Boehm's garbage collector if required.
6643 case ,${enable_languages},:${enable_objc_gc} in
6645 # Keep target-boehm-gc if requested for Objective-C.
6648 # Otherwise remove target-boehm-gc depending on target-libjava.
6649 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6650 noconfigdirs
="$noconfigdirs target-boehm-gc"
6656 # Check whether --with-upc-pts was given.
6657 if test "${with_upc_pts+set}" = set; then :
6658 withval
=$with_upc_pts;
6659 case ,${enable_languages}, in
6666 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6671 as_fn_error
"--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6678 # Disable libitm, libsanitizer, libvtv if we're not building C++
6679 case ,${enable_languages}, in
6682 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6686 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6687 # $build_configdirs and $target_configdirs.
6688 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6691 for dir
in .
$skipdirs $noconfigdirs ; do
6692 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6693 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6694 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6695 if test -r $srcdir/$dirname/configure
; then
6696 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6699 notsupp
="$notsupp $dir"
6703 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6704 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6705 if test -r $srcdir/$dirname/configure
; then
6706 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6709 notsupp
="$notsupp $dir"
6713 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6714 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6715 if test -r $srcdir/$dirname/configure
; then
6716 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6719 notsupp
="$notsupp $dir"
6725 # Quietly strip out all directories which aren't configurable in this tree.
6726 # This relies on all configurable subdirectories being autoconfiscated, which
6728 build_configdirs_all
="$build_configdirs"
6730 for i
in ${build_configdirs_all} ; do
6731 j
=`echo $i | sed -e s/build-//g`
6732 if test -f ${srcdir}/$j/configure
; then
6733 build_configdirs
="${build_configdirs} $i"
6737 configdirs_all
="$configdirs"
6739 for i
in ${configdirs_all} ; do
6740 if test -f ${srcdir}/$i/configure
; then
6741 configdirs
="${configdirs} $i"
6745 target_configdirs_all
="$target_configdirs"
6747 for i
in ${target_configdirs_all} ; do
6748 j
=`echo $i | sed -e s/target-//g`
6749 if test -f ${srcdir}/$j/configure
; then
6750 target_configdirs
="${target_configdirs} $i"
6754 # Produce a warning message for the subdirs we can't configure.
6755 # This isn't especially interesting in the Cygnus tree, but in the individual
6756 # FSF releases, it's important to let people know when their machine isn't
6757 # supported by the one or two programs in a package.
6759 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6760 # If $appdirs is non-empty, at least one of those directories must still
6761 # be configured, or we error out. (E.g., if the gas release supports a
6762 # specified target in some subdirs but not the gas subdir, we shouldn't
6763 # pretend that all is well.)
6764 if test -n "$appdirs" ; then
6765 for dir
in $appdirs ; do
6766 if test -r $dir/Makefile.
in ; then
6767 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6771 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6777 if test -n "$appdirs" ; then
6778 echo "*** This configuration is not supported by this package." 1>&2
6782 # Okay, some application will build, or we don't care to check. Still
6783 # notify of subdirs not getting built.
6784 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6785 echo " ${notsupp}" 1>&2
6786 echo " (Any other directories should still work fine.)" 1>&2
6794 # To find our prefix, in gcc_cv_tool_prefix.
6796 # The user is always right.
6797 if test "${PATH_SEPARATOR+set}" != set; then
6798 echo "#! /bin/sh" >conf$$.sh
6799 echo "exit 0" >>conf$$.sh
6801 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6811 if test "x$exec_prefix" = xNONE
; then
6812 if test "x$prefix" = xNONE
; then
6813 gcc_cv_tool_prefix
=$ac_default_prefix
6815 gcc_cv_tool_prefix
=$prefix
6818 gcc_cv_tool_prefix
=$exec_prefix
6821 # If there is no compiler in the tree, use the PATH only. In any
6822 # case, if there is no compiler in the tree nobody should use
6823 # AS_FOR_TARGET and LD_FOR_TARGET.
6824 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6825 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6826 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6827 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6828 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6829 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6830 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6831 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6836 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6837 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6845 # Check whether --with-build-sysroot was given.
6846 if test "${with_build_sysroot+set}" = set; then :
6847 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6848 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6851 SYSROOT_CFLAGS_FOR_TARGET
=
6857 # Check whether --with-debug-prefix-map was given.
6858 if test "${with_debug_prefix_map+set}" = set; then :
6859 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6860 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6861 for debug_map
in $withval; do
6862 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6866 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6871 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6872 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6873 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6874 # We want to ensure that TARGET libraries (which we know are built with
6875 # gcc) are built with "-O2 -g", so include those options when setting
6876 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6877 if test "x$CFLAGS_FOR_TARGET" = x
; then
6878 CFLAGS_FOR_TARGET
=$CFLAGS
6881 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6884 *" -g "* |
*" -g3 "*) ;;
6885 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6890 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6891 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6892 case " $CXXFLAGS " in
6894 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6896 case " $CXXFLAGS " in
6897 *" -g "* |
*" -g3 "*) ;;
6898 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6905 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6906 # the named directory are copied to $(tooldir)/sys-include.
6907 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6908 if test x
${is_cross_compiler} = xno
; then
6909 echo 1>&2 '***' --with-headers is only supported when cross compiling
6912 if test x
"${with_headers}" != xyes
; then
6913 x
=${gcc_cv_tool_prefix}
6914 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6918 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6919 # the name directories are copied to $(tooldir)/lib. Multiple directories
6921 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6922 if test x
${is_cross_compiler} = xno
; then
6923 echo 1>&2 '***' --with-libs is only supported when cross compiling
6926 if test x
"${with_libs}" != xyes
; then
6927 # Copy the libraries in reverse order, so that files in the first named
6928 # library override files in subsequent libraries.
6929 x
=${gcc_cv_tool_prefix}
6930 for l
in ${with_libs}; do
6931 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6936 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6938 # This is done by determining whether or not the appropriate directory
6939 # is available, and by checking whether or not specific configurations
6940 # have requested that this magic not happen.
6942 # The command line options always override the explicit settings in
6943 # configure.in, and the settings in configure.in override this magic.
6945 # If the default for a toolchain is to use GNU as and ld, and you don't
6946 # want to do that, then you should use the --without-gnu-as and
6947 # --without-gnu-ld options for the configure script. Similarly, if
6948 # the default is to use the included zlib and you don't want to do that,
6949 # you should use the --with-system-zlib option for the configure script.
6951 if test x
${use_gnu_as} = x
&&
6952 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6954 extra_host_args
="$extra_host_args --with-gnu-as"
6957 if test x
${use_gnu_ld} = x
&&
6958 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6960 extra_host_args
="$extra_host_args --with-gnu-ld"
6963 if test x
${use_included_zlib} = x
&&
6964 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6967 with_system_zlib
=yes
6968 extra_host_args
="$extra_host_args --with-system-zlib"
6971 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6972 # can detect this case.
6974 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6976 extra_host_args
="$extra_host_args --with-newlib"
6979 # Handle ${copy_dirs}
6980 set fnord
${copy_dirs}
6982 while test $# != 0 ; do
6983 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6986 echo Copying
$1 to
$2
6988 # Use the install script to create the directory and all required
6989 # parent directories.
6990 if test -d $2 ; then
6994 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6997 # Copy the directory, assuming we have tar.
6998 # FIXME: Should we use B in the second tar? Not all systems support it.
6999 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
7001 # It is the responsibility of the user to correctly adjust all
7002 # symlinks. If somebody can figure out how to handle them correctly
7003 # here, feel free to add the code.
7010 # Determine a target-dependent exec_prefix that the installed
7011 # gcc will search in. Keep this list sorted by triplet, with
7012 # the *-*-osname triplets last.
7015 i
[34567]86-pc-msdosdjgpp*)
7016 md_exec_prefix
=/dev
/env
/DJDIR
/bin
7021 md_exec_prefix
=/usr
/ccs
/bin
7025 extra_arflags_for_target
=
7026 extra_nmflags_for_target
=
7027 extra_ranlibflags_for_target
=
7028 target_makefile_frag
=/dev
/null
7031 target_makefile_frag
="config/mt-spu"
7033 mips
*-sde-elf* | mips
*-mti-elf*)
7034 target_makefile_frag
="config/mt-sde"
7036 mipsisa
*-*-elfoabi*)
7037 target_makefile_frag
="config/mt-mips-elfoabi"
7039 mips
*-*-*linux
* | mips
*-*-gnu*)
7040 target_makefile_frag
="config/mt-mips-gnu"
7042 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7043 target_makefile_frag
="config/mt-gnu"
7045 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7046 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7047 # commands to handle both 32-bit and 64-bit objects. These flags are
7048 # harmless if we're using GNU nm or ar.
7049 extra_arflags_for_target
=" -X32_64"
7050 extra_nmflags_for_target
=" -B -X32_64"
7054 alphaieee_frag
=/dev
/null
7057 # This just makes sure to use the -mieee option to build target libs.
7058 # This should probably be set individually by each library.
7059 alphaieee_frag
="config/mt-alphaieee"
7063 # If --enable-target-optspace always use -Os instead of -O2 to build
7064 # the target libraries, similarly if it is not specified, use -Os
7065 # on selected platforms.
7066 ospace_frag
=/dev
/null
7067 case "${enable_target_optspace}:${target}" in
7069 ospace_frag
="config/mt-ospace"
7072 ospace_frag
="config/mt-d30v"
7074 :m32r-
* |
:d10v-
* |
:fr30-
*)
7075 ospace_frag
="config/mt-ospace"
7080 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7084 # Some systems (e.g., one of the i386-aix systems the gas testers are
7085 # using) don't handle "\$" correctly, so don't use it here.
7086 tooldir
='${exec_prefix}'/${target_noncanonical}
7087 build_tooldir
=${tooldir}
7089 # Create a .gdbinit file which runs the one in srcdir
7090 # and tells GDB to look there for source files.
7092 if test -r ${srcdir}/.gdbinit
; then
7095 *) cat > .
/.gdbinit
<<EOF
7099 source ${srcdir}/.gdbinit
7105 # Make sure that the compiler is able to generate an executable. If it
7106 # can't, we are probably in trouble. We don't care whether we can run the
7107 # executable--we might be using a cross compiler--we only care whether it
7108 # can be created. At this point the main configure script has set CC.
7110 echo "int main () { return 0; }" > conftest.c
7111 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7112 if test $?
= 0 ; then
7113 if test -s conftest ||
test -s conftest.exe
; then
7119 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7120 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7127 # Decide which environment variable is used to find dynamic libraries.
7129 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7130 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7131 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7132 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7135 # On systems where the dynamic library environment variable is PATH,
7136 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7137 # built executables to PATH.
7138 if test "$RPATH_ENVVAR" = PATH
; then
7139 GCC_SHLIB_SUBDIR
=/shlib
7144 # Record target_configdirs and the configure arguments for target and
7145 # build configuration in Makefile.
7146 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7147 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7149 # If we are building libgomp, bootstrap it.
7150 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7151 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7154 # If we are building libsanitizer, bootstrap it.
7155 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1 ; then
7156 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7159 # If we are building libvtv, bootstrap it.
7160 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 ; then
7161 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7164 # Determine whether gdb needs tk/tcl or not.
7165 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7166 # and in that case we want gdb to be built without tk. Ugh!
7167 # In fact I believe gdb is the *only* package directly dependent on tk,
7168 # so we should be able to put the 'maybe's in unconditionally and
7169 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7170 # 100% sure that that's safe though.
7172 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7173 case "$enable_gdbtk" in
7177 GDB_TK
="${gdb_tk}" ;;
7179 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7180 # distro. Eventually someone will fix this and move Insight, nee
7181 # gdbtk to a separate directory.
7182 if test -d ${srcdir}/gdb
/gdbtk
; then
7189 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7190 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7192 # Strip out unwanted targets.
7194 # While at that, we remove Makefiles if we were started for recursive
7195 # configuration, so that the top-level Makefile reconfigures them,
7196 # like we used to do when configure itself was recursive.
7198 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7199 # but now we're fixing up the Makefile ourselves with the additional
7200 # commands passed to AC_CONFIG_FILES. Use separate variables
7201 # extrasub-{build,host,target} not because there is any reason to split
7202 # the substitutions up that way, but only to remain below the limit of
7203 # 99 commands in a script, for HP-UX sed.
7204 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7206 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7207 yes:yes:*\ gold\
*:*,c
++,*) ;;
7208 yes:yes:*\ gold\
*:*)
7209 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7213 # Adjust the toplevel makefile according to whether bootstrap was selected.
7214 case $enable_bootstrap in
7216 bootstrap_suffix
=bootstrap
7217 BUILD_CONFIG
=bootstrap-debug
7220 bootstrap_suffix
=no-bootstrap
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7226 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7229 # Check whether --with-build-config was given.
7230 if test "${with_build_config+set}" = set; then :
7231 withval
=$with_build_config; case $with_build_config in
7232 yes) with_build_config
= ;;
7233 no
) with_build_config
= BUILD_CONFIG
= ;;
7238 if test "x${with_build_config}" != x
; then
7239 BUILD_CONFIG
=$with_build_config
7241 case $BUILD_CONFIG in
7243 if echo "int f (void) { return 0; }" > conftest.c
&&
7244 ${CC} -c conftest.c
&&
7245 mv conftest.o conftest.o.g0
&&
7246 ${CC} -c -g conftest.c
&&
7247 mv conftest.o conftest.o.g
&&
7248 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7253 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7258 $as_echo "$BUILD_CONFIG" >&6; }
7262 for module
in ${build_configdirs} ; do
7263 if test -z "${no_recursion}" \
7264 && test -f ${build_subdir}/${module}/Makefile
; then
7265 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7266 rm -f ${build_subdir}/${module}/Makefile
7268 extrasub_build
="$extrasub_build
7269 /^@if build-$module\$/d
7270 /^@endif build-$module\$/d
7271 /^@if build-$module-$bootstrap_suffix\$/d
7272 /^@endif build-$module-$bootstrap_suffix\$/d"
7275 for module
in ${configdirs} ; do
7276 if test -z "${no_recursion}"; then
7277 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7278 if test -f ${file}; then
7279 echo 1>&2 "*** removing ${file} to force reconfigure"
7284 extrasub_host
="$extrasub_host
7286 /^@endif $module\$/d
7287 /^@if $module-$bootstrap_suffix\$/d
7288 /^@endif $module-$bootstrap_suffix\$/d"
7291 for module
in ${target_configdirs} ; do
7292 if test -z "${no_recursion}" \
7293 && test -f ${target_subdir}/${module}/Makefile
; then
7294 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7295 rm -f ${target_subdir}/${module}/Makefile
7298 # We only bootstrap target libraries listed in bootstrap_target_libs.
7299 case $bootstrap_target_libs in
7300 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7301 *) target_bootstrap_suffix
=no-bootstrap
;;
7304 extrasub_target
="$extrasub_target
7305 /^@if target-$module\$/d
7306 /^@endif target-$module\$/d
7307 /^@if target-$module-$target_bootstrap_suffix\$/d
7308 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7311 # Do the final fixup along with target modules.
7312 extrasub_target
="$extrasub_target
7313 /^@if /,/^@endif /d"
7315 # Create the serialization dependencies. This uses a temporary file.
7317 # Check whether --enable-serial-configure was given.
7318 if test "${enable_serial_configure+set}" = set; then :
7319 enableval
=$enable_serial_configure;
7323 case ${enable_serial_configure} in
7325 enable_serial_build_configure
=yes
7326 enable_serial_host_configure
=yes
7327 enable_serial_target_configure
=yes
7331 # These force 'configure's to be done one at a time, to avoid problems
7332 # with contention over a shared config.cache.
7334 echo '# serdep.tmp' > serdep.tmp
7336 test "x${enable_serial_build_configure}" = xyes
&&
7337 for item
in ${build_configdirs} ; do
7340 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7345 test "x${enable_serial_host_configure}" = xyes
&&
7346 for item
in ${configdirs} ; do
7349 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7354 test "x${enable_serial_target_configure}" = xyes
&&
7355 for item
in ${target_configdirs} ; do
7358 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7362 serialization_dependencies
=serdep.tmp
7365 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7366 # target, nonopt, and variable assignments. These are the ones we
7367 # might not want to pass down to subconfigures. The exception being
7368 # --cache-file=/dev/null, which is used to turn off the use of cache
7369 # files altogether, and which should be passed on to subconfigures.
7370 # Also strip program-prefix, program-suffix, and program-transform-name,
7371 # so that we can pass down a consistent program-transform-name.
7376 eval "set -- $ac_configure_args"
7379 if test X
"$skip_next" = X
"yes"; then
7383 if test X
"$keep_next" = X
"yes"; then
7386 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7388 baseargs
="$baseargs '$ac_arg'"
7389 tbaseargs
="$tbaseargs '$ac_arg'"
7394 # Handle separated arguments. Based on the logic generated by
7397 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7398 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7399 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7400 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7414 --with-* |
--without-*)
7415 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7419 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7422 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7431 mpc | mpfr | gmp | cloog
)
7432 # If we're processing --with-$lib, --with-$lib-include or
7433 # --with-$lib-lib, for one of the libs above, and target is
7434 # different from host, don't pass the current argument to any
7435 # target library's configure.
7436 if test x
$is_cross_compiler = xyes
; then
7445 --cache-file=/dev
/null | \
7446 -cache-file=/dev
/null
)
7447 # Handled here to avoid the test to skip args below.
7448 baseargs
="$baseargs '$ac_arg'"
7449 tbaseargs
="$tbaseargs '$ac_arg'"
7450 # Assert: $separate_arg should always be no.
7451 keep_next
=$separate_arg
7467 -program-prefix* | \
7468 -program-suffix* | \
7469 -program-transform-name* )
7470 skip_next
=$separate_arg
7474 # An option. Add it.
7477 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7479 baseargs
="$baseargs '$ac_arg'"
7480 if test X
"$skip_targ" = Xno
; then
7481 tbaseargs
="$tbaseargs '$ac_arg'"
7483 keep_next
=$separate_arg
7486 # Either a variable assignment, or a nonopt (triplet). Don't
7487 # pass it down; let the Makefile handle this.
7492 # Remove the initial space we just introduced and, as these will be
7493 # expanded by make, quote '$'.
7494 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7496 # Add in --program-transform-name, after --program-prefix and
7497 # --program-suffix have been applied to it. Autoconf has already
7498 # doubled dollar signs and backslashes in program_transform_name; we want
7499 # the backslashes un-doubled, and then the entire thing wrapped in single
7500 # quotes, because this will be expanded first by make and then by the shell.
7501 # Also, because we want to override the logic in subdir configure scripts to
7502 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7503 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7504 ${program_transform_name}
7506 gcc_transform_name
=`cat conftestsed.out`
7507 rm -f conftestsed.out
7508 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7509 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7510 if test "$silent" = yes; then
7511 baseargs
="$baseargs --silent"
7512 tbaseargs
="$tbaseargs --silent"
7514 baseargs
="$baseargs --disable-option-checking"
7515 tbaseargs
="$tbaseargs --disable-option-checking"
7517 # Record and document user additions to sub configure arguments.
7522 # For the build-side libraries, we just need to pretend we're native,
7523 # and not use the same cache file. Multilibs are neither needed nor
7525 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7527 # For host modules, accept cache file option, or specification as blank.
7528 case "${cache_file}" in
7530 cache_file_option
="" ;;
7531 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7532 cache_file_option
="--cache-file=${cache_file}" ;;
7534 cache_file_option
="--cache-file=../${cache_file}" ;;
7537 # Host dirs don't like to share a cache file either, horribly enough.
7538 # This seems to be due to autoconf 2.5x stupidity.
7539 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7541 target_configargs
="$target_configargs ${tbaseargs}"
7543 # Passing a --with-cross-host argument lets the target libraries know
7544 # whether they are being built with a cross-compiler or being built
7545 # native. However, it would be better to use other mechanisms to make the
7546 # sorts of decisions they want to make on this basis. Please consider
7547 # this option to be deprecated. FIXME.
7548 if test x
${is_cross_compiler} = xyes
; then
7549 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7552 # Default to --enable-multilib.
7553 if test x
${enable_multilib} = x
; then
7554 target_configargs
="--enable-multilib ${target_configargs}"
7557 # Pass --with-newlib if appropriate. Note that target_configdirs has
7558 # changed from the earlier setting of with_newlib.
7559 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7560 target_configargs
="--with-newlib ${target_configargs}"
7563 # Different target subdirs use different values of certain variables
7564 # (notably CXX). Worse, multilibs use *lots* of different values.
7565 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7566 # it doesn't automatically accept command-line overrides of them.
7567 # This means it's not safe for target subdirs to share a cache file,
7568 # which is disgusting, but there you have it. Hopefully this can be
7569 # fixed in future. It's still worthwhile to use a cache file for each
7570 # directory. I think.
7572 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7573 # We need to pass --target, as newer autoconf's requires consistency
7574 # for target_alias and gcc doesn't manage it consistently.
7575 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7578 case " $target_configdirs " in
7580 case " $target_configargs " in
7581 *" --with-newlib "*)
7584 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7588 # If we're not building GCC, don't discard standard headers.
7589 if test -d ${srcdir}/gcc
; then
7590 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7592 if test "${build}" != "${host}"; then
7593 # On Canadian crosses, CC_FOR_TARGET will have already been set
7594 # by `configure', so we won't have an opportunity to add -Bgcc/
7595 # to it. This is right: we don't want to search that directory
7596 # for binaries, but we want the header files in there, so add
7598 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7600 # Someone might think of using the pre-installed headers on
7601 # Canadian crosses, in case the installed compiler is not fully
7602 # compatible with the compiler being built. In this case, it
7603 # would be better to flag an error than risking having
7604 # incompatible object files being constructed. We can't
7605 # guarantee that an error will be flagged, but let's hope the
7606 # compiler will do it, when presented with incompatible header
7611 case "${target}-${is_cross_compiler}" in
7612 i
[3456789]86-*-linux*-no)
7613 # Here host == target, so we don't need to build gcc,
7614 # so we don't want to discard standard headers.
7615 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7618 # If we're building newlib, use its generic headers last, but search
7619 # for any libc-related directories first (so make it the last -B
7621 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7623 # If we're building libgloss, find the startup file, simulator library
7624 # and linker script.
7625 case " $target_configdirs " in
7627 # Look for startup file, simulator library and maybe linker script.
7628 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7629 # Look for libnosys.a in case the target needs it.
7630 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7631 # Most targets have the linker script in the source directory.
7632 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7643 x86_64-
*mingw
* |
*-w64-mingw*)
7644 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7645 # however, use a symlink named 'mingw' in ${prefix} .
7646 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7649 # MinGW can't be handled as Cygwin above since it does not use newlib.
7650 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'
7654 # Allow the user to override the flags for
7655 # our build compiler if desired.
7656 if test x
"${build}" = x
"${host}" ; then
7657 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7658 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7659 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7662 # On Canadian crosses, we'll be searching the right directories for
7663 # the previously-installed cross compiler, so don't bother to add
7664 # flags for directories within the install tree of the compiler
7665 # being built; programs in there won't even run.
7666 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7667 # Search for pre-installed headers if nothing else fits.
7668 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7671 if test "x
${use_gnu_ld}" = x &&
7672 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7673 # Arrange for us to find uninstalled linker scripts.
7674 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7677 # Search for other target-specific linker scripts and such.
7680 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7684 # UPC linker script check
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7686 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7687 # Check whether --enable-upc-link-script was given.
7688 if test "${enable_upc_link_script+set}" = set; then :
7689 enableval=$enable_upc_link_script;
7693 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7699 if test x${use_gnu_ld} != xno ; then
7701 # disable linker script for Apple Mac OS X
7703 enable_upc_link_script=no
7706 enable_upc_link_script=yes
7710 enable_upc_link_script=no
7712 if test "$enable_upc_link_script" = yes; then
7713 target_configargs="${target_configargs} --enable-upc-link-script"
7714 host_configargs="${host_configargs} --enable-upc-link-script"
7719 if test "$enable_upc_link_script" = yes; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7721 $as_echo "yes" >&6; };
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7724 $as_echo "no
" >&6; };
7728 # Makefile fragments.
7729 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7731 eval fragval=\$$frag
7732 if test $fragval != /dev/null; then
7733 eval $frag=${srcdir}/$fragval
7741 # Miscellanea: directories, flags, etc.
7750 # Build module lists & subconfigure args.
7754 # Host module lists & subconfigure args.
7759 # Target module lists & subconfigure args.
7782 # Generate default definitions for YACC, M4, LEX and other programs that run
7783 # on the build machine. These are used if the Makefile can't locate these
7784 # programs in objdir.
7785 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7787 for ac_prog in 'bison -y' byacc yacc
7789 # Extract the first word of "$ac_prog", so it can be a program name with args.
7790 set dummy $ac_prog; ac_word=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7792 $as_echo_n "checking
for $ac_word...
" >&6; }
7793 if test "${ac_cv_prog_YACC+set}" = set; then :
7794 $as_echo_n "(cached
) " >&6
7796 if test -n "$YACC"; then
7797 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7803 test -z "$as_dir" && as_dir=.
7804 for ac_exec_ext in '' $ac_executable_extensions; do
7805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7806 ac_cv_prog_YACC="$ac_prog"
7807 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7816 YACC=$ac_cv_prog_YACC
7817 if test -n "$YACC"; then
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7819 $as_echo "$YACC" >&6; }
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7822 $as_echo "no
" >&6; }
7826 test -n "$YACC" && break
7828 test -n "$YACC" || YACC="$MISSING bison
-y"
7830 case " $build_configdirs " in
7831 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7834 for ac_prog in bison
7836 # Extract the first word of "$ac_prog", so it can be a program name with args.
7837 set dummy $ac_prog; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7839 $as_echo_n "checking
for $ac_word...
" >&6; }
7840 if test "${ac_cv_prog_BISON+set}" = set; then :
7841 $as_echo_n "(cached
) " >&6
7843 if test -n "$BISON"; then
7844 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_BISON="$ac_prog"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7863 BISON=$ac_cv_prog_BISON
7864 if test -n "$BISON"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7866 $as_echo "$BISON" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7869 $as_echo "no
" >&6; }
7873 test -n "$BISON" && break
7875 test -n "$BISON" || BISON="$MISSING bison
"
7877 case " $build_configdirs " in
7878 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7881 for ac_prog in gm4 gnum4 m4
7883 # Extract the first word of "$ac_prog", so it can be a program name with args.
7884 set dummy $ac_prog; ac_word=$2
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7886 $as_echo_n "checking
for $ac_word...
" >&6; }
7887 if test "${ac_cv_prog_M4+set}" = set; then :
7888 $as_echo_n "(cached
) " >&6
7890 if test -n "$M4"; then
7891 ac_cv_prog_M4="$M4" # Let the user override the test.
7893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7897 test -z "$as_dir" && as_dir=.
7898 for ac_exec_ext in '' $ac_executable_extensions; do
7899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7900 ac_cv_prog_M4="$ac_prog"
7901 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7911 if test -n "$M4"; then
7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7913 $as_echo "$M4" >&6; }
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7916 $as_echo "no
" >&6; }
7920 test -n "$M4" && break
7922 test -n "$M4" || M4="$MISSING m4"
7924 case " $build_configdirs " in
7925 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7928 for ac_prog in flex lex
7930 # Extract the first word of "$ac_prog", so it can be a program name with args.
7931 set dummy $ac_prog; ac_word=$2
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7933 $as_echo_n "checking
for $ac_word...
" >&6; }
7934 if test "${ac_cv_prog_LEX+set}" = set; then :
7935 $as_echo_n "(cached
) " >&6
7937 if test -n "$LEX"; then
7938 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_LEX="$ac_prog"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7958 if test -n "$LEX"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7960 $as_echo "$LEX" >&6; }
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7963 $as_echo "no
" >&6; }
7967 test -n "$LEX" && break
7969 test -n "$LEX" || LEX="$MISSING flex
"
7971 case " $build_configdirs " in
7972 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7973 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7978 # Extract the first word of "$ac_prog", so it can be a program name with args.
7979 set dummy $ac_prog; ac_word=$2
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7981 $as_echo_n "checking
for $ac_word...
" >&6; }
7982 if test "${ac_cv_prog_FLEX+set}" = set; then :
7983 $as_echo_n "(cached
) " >&6
7985 if test -n "$FLEX"; then
7986 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7992 test -z "$as_dir" && as_dir=.
7993 for ac_exec_ext in '' $ac_executable_extensions; do
7994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7995 ac_cv_prog_FLEX="$ac_prog"
7996 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8005 FLEX=$ac_cv_prog_FLEX
8006 if test -n "$FLEX"; then
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
8008 $as_echo "$FLEX" >&6; }
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8011 $as_echo "no
" >&6; }
8015 test -n "$FLEX" && break
8017 test -n "$FLEX" || FLEX="$MISSING flex
"
8019 case " $build_configdirs " in
8020 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
8023 for ac_prog in makeinfo
8025 # Extract the first word of "$ac_prog", so it can be a program name with args.
8026 set dummy $ac_prog; ac_word=$2
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8028 $as_echo_n "checking
for $ac_word...
" >&6; }
8029 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8030 $as_echo_n "(cached
) " >&6
8032 if test -n "$MAKEINFO"; then
8033 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 test -z "$as_dir" && as_dir=.
8040 for ac_exec_ext in '' $ac_executable_extensions; do
8041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8042 ac_cv_prog_MAKEINFO="$ac_prog"
8043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8052 MAKEINFO=$ac_cv_prog_MAKEINFO
8053 if test -n "$MAKEINFO"; then
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8055 $as_echo "$MAKEINFO" >&6; }
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8058 $as_echo "no
" >&6; }
8062 test -n "$MAKEINFO" && break
8064 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8066 case " $build_configdirs " in
8067 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8070 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8071 # higher, else we use the "missing
" dummy.
8072 if ${MAKEINFO} --version \
8073 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8076 MAKEINFO="$MISSING makeinfo
"
8082 # FIXME: expect and dejagnu may become build tools?
8084 for ac_prog in expect
8086 # Extract the first word of "$ac_prog", so it can be a program name with args.
8087 set dummy $ac_prog; ac_word=$2
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8089 $as_echo_n "checking
for $ac_word...
" >&6; }
8090 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8091 $as_echo_n "(cached
) " >&6
8093 if test -n "$EXPECT"; then
8094 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8100 test -z "$as_dir" && as_dir=.
8101 for ac_exec_ext in '' $ac_executable_extensions; do
8102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8103 ac_cv_prog_EXPECT="$ac_prog"
8104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8113 EXPECT=$ac_cv_prog_EXPECT
8114 if test -n "$EXPECT"; then
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8116 $as_echo "$EXPECT" >&6; }
8118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8119 $as_echo "no
" >&6; }
8123 test -n "$EXPECT" && break
8125 test -n "$EXPECT" || EXPECT="expect
"
8127 case " $configdirs " in
8129 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8133 for ac_prog in runtest
8135 # Extract the first word of "$ac_prog", so it can be a program name with args.
8136 set dummy $ac_prog; ac_word=$2
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8138 $as_echo_n "checking
for $ac_word...
" >&6; }
8139 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8140 $as_echo_n "(cached
) " >&6
8142 if test -n "$RUNTEST"; then
8143 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir=.
8150 for ac_exec_ext in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_prog_RUNTEST="$ac_prog"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8162 RUNTEST=$ac_cv_prog_RUNTEST
8163 if test -n "$RUNTEST"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8165 $as_echo "$RUNTEST" >&6; }
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8168 $as_echo "no
" >&6; }
8172 test -n "$RUNTEST" && break
8174 test -n "$RUNTEST" || RUNTEST="runtest
"
8176 case " $configdirs " in
8178 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8185 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8186 ncn_target_tool_prefix=
8187 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8191 if test -n "$AR"; then
8193 elif test -n "$ac_cv_prog_AR"; then
8197 if test -n "$ac_cv_prog_AR"; then
8198 for ncn_progname in ar; do
8199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8200 set dummy ${ncn_progname}; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8202 $as_echo_n "checking
for $ac_word...
" >&6; }
8203 if test "${ac_cv_prog_AR+set}" = set; then :
8204 $as_echo_n "(cached
) " >&6
8206 if test -n "$AR"; then
8207 ac_cv_prog_AR="$AR" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8216 ac_cv_prog_AR="${ncn_progname}"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8227 if test -n "$AR"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8229 $as_echo "$AR" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8232 $as_echo "no
" >&6; }
8239 for ncn_progname in ar; do
8240 if test -n "$ncn_tool_prefix"; then
8241 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8242 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8244 $as_echo_n "checking
for $ac_word...
" >&6; }
8245 if test "${ac_cv_prog_AR+set}" = set; then :
8246 $as_echo_n "(cached
) " >&6
8248 if test -n "$AR"; then
8249 ac_cv_prog_AR="$AR" # Let the user override the test.
8251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 test -z "$as_dir" && as_dir=.
8256 for ac_exec_ext in '' $ac_executable_extensions; do
8257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8259 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8269 if test -n "$AR"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8271 $as_echo "$AR" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8274 $as_echo "no
" >&6; }
8279 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8283 $as_echo_n "checking
for $ac_word...
" >&6; }
8284 if test "${ac_cv_prog_AR+set}" = set; then :
8285 $as_echo_n "(cached
) " >&6
8287 if test -n "$AR"; then
8288 ac_cv_prog_AR="$AR" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_AR="${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8308 if test -n "$AR"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8310 $as_echo "$AR" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8313 $as_echo "no
" >&6; }
8318 test -n "$ac_cv_prog_AR" && break
8321 if test -z "$ac_cv_prog_AR" ; then
8323 if test $build = $host ; then
8326 AR="${ncn_tool_prefix}$2"
8332 if test -n "$AS"; then
8334 elif test -n "$ac_cv_prog_AS"; then
8338 if test -n "$ac_cv_prog_AS"; then
8339 for ncn_progname in as; do
8340 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8341 set dummy ${ncn_progname}; ac_word=$2
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8343 $as_echo_n "checking
for $ac_word...
" >&6; }
8344 if test "${ac_cv_prog_AS+set}" = set; then :
8345 $as_echo_n "(cached
) " >&6
8347 if test -n "$AS"; then
8348 ac_cv_prog_AS="$AS" # Let the user override the test.
8350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8354 test -z "$as_dir" && as_dir=.
8355 for ac_exec_ext in '' $ac_executable_extensions; do
8356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8357 ac_cv_prog_AS="${ncn_progname}"
8358 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8368 if test -n "$AS"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8370 $as_echo "$AS" >&6; }
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8373 $as_echo "no
" >&6; }
8380 for ncn_progname in as; do
8381 if test -n "$ncn_tool_prefix"; then
8382 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8383 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8385 $as_echo_n "checking
for $ac_word...
" >&6; }
8386 if test "${ac_cv_prog_AS+set}" = set; then :
8387 $as_echo_n "(cached
) " >&6
8389 if test -n "$AS"; then
8390 ac_cv_prog_AS="$AS" # Let the user override the test.
8392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 test -z "$as_dir" && as_dir=.
8397 for ac_exec_ext in '' $ac_executable_extensions; do
8398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8399 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8400 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8410 if test -n "$AS"; then
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8412 $as_echo "$AS" >&6; }
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8415 $as_echo "no
" >&6; }
8420 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8422 set dummy ${ncn_progname}; ac_word=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8424 $as_echo_n "checking
for $ac_word...
" >&6; }
8425 if test "${ac_cv_prog_AS+set}" = set; then :
8426 $as_echo_n "(cached
) " >&6
8428 if test -n "$AS"; then
8429 ac_cv_prog_AS="$AS" # Let the user override the test.
8431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8435 test -z "$as_dir" && as_dir=.
8436 for ac_exec_ext in '' $ac_executable_extensions; do
8437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8438 ac_cv_prog_AS="${ncn_progname}"
8439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8449 if test -n "$AS"; then
8450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8451 $as_echo "$AS" >&6; }
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8454 $as_echo "no
" >&6; }
8459 test -n "$ac_cv_prog_AS" && break
8462 if test -z "$ac_cv_prog_AS" ; then
8464 if test $build = $host ; then
8467 AS="${ncn_tool_prefix}$2"
8473 if test -n "$DLLTOOL"; then
8474 ac_cv_prog_DLLTOOL=$DLLTOOL
8475 elif test -n "$ac_cv_prog_DLLTOOL"; then
8476 DLLTOOL=$ac_cv_prog_DLLTOOL
8479 if test -n "$ac_cv_prog_DLLTOOL"; then
8480 for ncn_progname in dlltool; do
8481 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8482 set dummy ${ncn_progname}; ac_word=$2
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8484 $as_echo_n "checking
for $ac_word...
" >&6; }
8485 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8486 $as_echo_n "(cached
) " >&6
8488 if test -n "$DLLTOOL"; then
8489 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8495 test -z "$as_dir" && as_dir=.
8496 for ac_exec_ext in '' $ac_executable_extensions; do
8497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8498 ac_cv_prog_DLLTOOL="${ncn_progname}"
8499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8508 DLLTOOL=$ac_cv_prog_DLLTOOL
8509 if test -n "$DLLTOOL"; then
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8511 $as_echo "$DLLTOOL" >&6; }
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8514 $as_echo "no
" >&6; }
8521 for ncn_progname in dlltool; do
8522 if test -n "$ncn_tool_prefix"; then
8523 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8524 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8526 $as_echo_n "checking
for $ac_word...
" >&6; }
8527 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8528 $as_echo_n "(cached
) " >&6
8530 if test -n "$DLLTOOL"; then
8531 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8537 test -z "$as_dir" && as_dir=.
8538 for ac_exec_ext in '' $ac_executable_extensions; do
8539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8540 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8541 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8550 DLLTOOL=$ac_cv_prog_DLLTOOL
8551 if test -n "$DLLTOOL"; then
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8553 $as_echo "$DLLTOOL" >&6; }
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8556 $as_echo "no
" >&6; }
8561 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8562 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8563 set dummy ${ncn_progname}; ac_word=$2
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8565 $as_echo_n "checking
for $ac_word...
" >&6; }
8566 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8567 $as_echo_n "(cached
) " >&6
8569 if test -n "$DLLTOOL"; then
8570 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8576 test -z "$as_dir" && as_dir=.
8577 for ac_exec_ext in '' $ac_executable_extensions; do
8578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8579 ac_cv_prog_DLLTOOL="${ncn_progname}"
8580 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8589 DLLTOOL=$ac_cv_prog_DLLTOOL
8590 if test -n "$DLLTOOL"; then
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8592 $as_echo "$DLLTOOL" >&6; }
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8595 $as_echo "no
" >&6; }
8600 test -n "$ac_cv_prog_DLLTOOL" && break
8603 if test -z "$ac_cv_prog_DLLTOOL" ; then
8605 if test $build = $host ; then
8608 DLLTOOL="${ncn_tool_prefix}$2"
8614 if test -n "$LD"; then
8616 elif test -n "$ac_cv_prog_LD"; then
8620 if test -n "$ac_cv_prog_LD"; then
8621 for ncn_progname in ld; do
8622 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8623 set dummy ${ncn_progname}; ac_word=$2
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8625 $as_echo_n "checking
for $ac_word...
" >&6; }
8626 if test "${ac_cv_prog_LD+set}" = set; then :
8627 $as_echo_n "(cached
) " >&6
8629 if test -n "$LD"; then
8630 ac_cv_prog_LD="$LD" # Let the user override the test.
8632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8636 test -z "$as_dir" && as_dir=.
8637 for ac_exec_ext in '' $ac_executable_extensions; do
8638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8639 ac_cv_prog_LD="${ncn_progname}"
8640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8650 if test -n "$LD"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8652 $as_echo "$LD" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8655 $as_echo "no
" >&6; }
8662 for ncn_progname in ld; do
8663 if test -n "$ncn_tool_prefix"; then
8664 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8665 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8667 $as_echo_n "checking
for $ac_word...
" >&6; }
8668 if test "${ac_cv_prog_LD+set}" = set; then :
8669 $as_echo_n "(cached
) " >&6
8671 if test -n "$LD"; then
8672 ac_cv_prog_LD="$LD" # Let the user override the test.
8674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8678 test -z "$as_dir" && as_dir=.
8679 for ac_exec_ext in '' $ac_executable_extensions; do
8680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8681 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8692 if test -n "$LD"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8694 $as_echo "$LD" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8697 $as_echo "no
" >&6; }
8702 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8704 set dummy ${ncn_progname}; ac_word=$2
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8706 $as_echo_n "checking
for $ac_word...
" >&6; }
8707 if test "${ac_cv_prog_LD+set}" = set; then :
8708 $as_echo_n "(cached
) " >&6
8710 if test -n "$LD"; then
8711 ac_cv_prog_LD="$LD" # Let the user override the test.
8713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8717 test -z "$as_dir" && as_dir=.
8718 for ac_exec_ext in '' $ac_executable_extensions; do
8719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8720 ac_cv_prog_LD="${ncn_progname}"
8721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8731 if test -n "$LD"; then
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8733 $as_echo "$LD" >&6; }
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8736 $as_echo "no
" >&6; }
8741 test -n "$ac_cv_prog_LD" && break
8744 if test -z "$ac_cv_prog_LD" ; then
8746 if test $build = $host ; then
8749 LD="${ncn_tool_prefix}$2"
8755 if test -n "$LIPO"; then
8756 ac_cv_prog_LIPO=$LIPO
8757 elif test -n "$ac_cv_prog_LIPO"; then
8758 LIPO=$ac_cv_prog_LIPO
8761 if test -n "$ac_cv_prog_LIPO"; then
8762 for ncn_progname in lipo; do
8763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8764 set dummy ${ncn_progname}; ac_word=$2
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8766 $as_echo_n "checking
for $ac_word...
" >&6; }
8767 if test "${ac_cv_prog_LIPO+set}" = set; then :
8768 $as_echo_n "(cached
) " >&6
8770 if test -n "$LIPO"; then
8771 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8780 ac_cv_prog_LIPO="${ncn_progname}"
8781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8790 LIPO=$ac_cv_prog_LIPO
8791 if test -n "$LIPO"; then
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8793 $as_echo "$LIPO" >&6; }
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8796 $as_echo "no
" >&6; }
8803 for ncn_progname in lipo; do
8804 if test -n "$ncn_tool_prefix"; then
8805 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8806 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8808 $as_echo_n "checking
for $ac_word...
" >&6; }
8809 if test "${ac_cv_prog_LIPO+set}" = set; then :
8810 $as_echo_n "(cached
) " >&6
8812 if test -n "$LIPO"; then
8813 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8832 LIPO=$ac_cv_prog_LIPO
8833 if test -n "$LIPO"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8835 $as_echo "$LIPO" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8838 $as_echo "no
" >&6; }
8843 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8845 set dummy ${ncn_progname}; ac_word=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8847 $as_echo_n "checking
for $ac_word...
" >&6; }
8848 if test "${ac_cv_prog_LIPO+set}" = set; then :
8849 $as_echo_n "(cached
) " >&6
8851 if test -n "$LIPO"; then
8852 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8858 test -z "$as_dir" && as_dir=.
8859 for ac_exec_ext in '' $ac_executable_extensions; do
8860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8861 ac_cv_prog_LIPO="${ncn_progname}"
8862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8871 LIPO=$ac_cv_prog_LIPO
8872 if test -n "$LIPO"; then
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8874 $as_echo "$LIPO" >&6; }
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8877 $as_echo "no
" >&6; }
8882 test -n "$ac_cv_prog_LIPO" && break
8885 if test -z "$ac_cv_prog_LIPO" ; then
8887 if test $build = $host ; then
8890 LIPO="${ncn_tool_prefix}$2"
8896 if test -n "$NM"; then
8898 elif test -n "$ac_cv_prog_NM"; then
8902 if test -n "$ac_cv_prog_NM"; then
8903 for ncn_progname in nm; do
8904 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8905 set dummy ${ncn_progname}; ac_word=$2
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8907 $as_echo_n "checking
for $ac_word...
" >&6; }
8908 if test "${ac_cv_prog_NM+set}" = set; then :
8909 $as_echo_n "(cached
) " >&6
8911 if test -n "$NM"; then
8912 ac_cv_prog_NM="$NM" # Let the user override the test.
8914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8918 test -z "$as_dir" && as_dir=.
8919 for ac_exec_ext in '' $ac_executable_extensions; do
8920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8921 ac_cv_prog_NM="${ncn_progname}"
8922 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8932 if test -n "$NM"; then
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8934 $as_echo "$NM" >&6; }
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8937 $as_echo "no
" >&6; }
8944 for ncn_progname in nm; do
8945 if test -n "$ncn_tool_prefix"; then
8946 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8947 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8949 $as_echo_n "checking
for $ac_word...
" >&6; }
8950 if test "${ac_cv_prog_NM+set}" = set; then :
8951 $as_echo_n "(cached
) " >&6
8953 if test -n "$NM"; then
8954 ac_cv_prog_NM="$NM" # Let the user override the test.
8956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir=.
8961 for ac_exec_ext in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8974 if test -n "$NM"; then
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8976 $as_echo "$NM" >&6; }
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8979 $as_echo "no
" >&6; }
8984 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8986 set dummy ${ncn_progname}; ac_word=$2
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8988 $as_echo_n "checking
for $ac_word...
" >&6; }
8989 if test "${ac_cv_prog_NM+set}" = set; then :
8990 $as_echo_n "(cached
) " >&6
8992 if test -n "$NM"; then
8993 ac_cv_prog_NM="$NM" # Let the user override the test.
8995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8999 test -z "$as_dir" && as_dir=.
9000 for ac_exec_ext in '' $ac_executable_extensions; do
9001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9002 ac_cv_prog_NM="${ncn_progname}"
9003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9013 if test -n "$NM"; then
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
9015 $as_echo "$NM" >&6; }
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9018 $as_echo "no
" >&6; }
9023 test -n "$ac_cv_prog_NM" && break
9026 if test -z "$ac_cv_prog_NM" ; then
9028 if test $build = $host ; then
9031 NM="${ncn_tool_prefix}$2"
9037 if test -n "$RANLIB"; then
9038 ac_cv_prog_RANLIB=$RANLIB
9039 elif test -n "$ac_cv_prog_RANLIB"; then
9040 RANLIB=$ac_cv_prog_RANLIB
9043 if test -n "$ac_cv_prog_RANLIB"; then
9044 for ncn_progname in ranlib; do
9045 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9046 set dummy ${ncn_progname}; ac_word=$2
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9048 $as_echo_n "checking
for $ac_word...
" >&6; }
9049 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9050 $as_echo_n "(cached
) " >&6
9052 if test -n "$RANLIB"; then
9053 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059 test -z "$as_dir" && as_dir=.
9060 for ac_exec_ext in '' $ac_executable_extensions; do
9061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062 ac_cv_prog_RANLIB="${ncn_progname}"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9072 RANLIB=$ac_cv_prog_RANLIB
9073 if test -n "$RANLIB"; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9075 $as_echo "$RANLIB" >&6; }
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9078 $as_echo "no
" >&6; }
9085 for ncn_progname in ranlib; do
9086 if test -n "$ncn_tool_prefix"; then
9087 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9088 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9090 $as_echo_n "checking
for $ac_word...
" >&6; }
9091 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9092 $as_echo_n "(cached
) " >&6
9094 if test -n "$RANLIB"; then
9095 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9101 test -z "$as_dir" && as_dir=.
9102 for ac_exec_ext in '' $ac_executable_extensions; do
9103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9104 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9114 RANLIB=$ac_cv_prog_RANLIB
9115 if test -n "$RANLIB"; then
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9117 $as_echo "$RANLIB" >&6; }
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9120 $as_echo "no
" >&6; }
9125 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9127 set dummy ${ncn_progname}; ac_word=$2
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9129 $as_echo_n "checking
for $ac_word...
" >&6; }
9130 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9131 $as_echo_n "(cached
) " >&6
9133 if test -n "$RANLIB"; then
9134 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_prog_RANLIB="${ncn_progname}"
9144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9153 RANLIB=$ac_cv_prog_RANLIB
9154 if test -n "$RANLIB"; then
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9156 $as_echo "$RANLIB" >&6; }
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9159 $as_echo "no
" >&6; }
9164 test -n "$ac_cv_prog_RANLIB" && break
9167 if test -z "$ac_cv_prog_RANLIB" ; then
9173 if test -n "$STRIP"; then
9174 ac_cv_prog_STRIP=$STRIP
9175 elif test -n "$ac_cv_prog_STRIP"; then
9176 STRIP=$ac_cv_prog_STRIP
9179 if test -n "$ac_cv_prog_STRIP"; then
9180 for ncn_progname in strip; do
9181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9182 set dummy ${ncn_progname}; ac_word=$2
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9184 $as_echo_n "checking
for $ac_word...
" >&6; }
9185 if test "${ac_cv_prog_STRIP+set}" = set; then :
9186 $as_echo_n "(cached
) " >&6
9188 if test -n "$STRIP"; then
9189 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9195 test -z "$as_dir" && as_dir=.
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9198 ac_cv_prog_STRIP="${ncn_progname}"
9199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9208 STRIP=$ac_cv_prog_STRIP
9209 if test -n "$STRIP"; then
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9211 $as_echo "$STRIP" >&6; }
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9214 $as_echo "no
" >&6; }
9221 for ncn_progname in strip; do
9222 if test -n "$ncn_tool_prefix"; then
9223 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9224 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9226 $as_echo_n "checking
for $ac_word...
" >&6; }
9227 if test "${ac_cv_prog_STRIP+set}" = set; then :
9228 $as_echo_n "(cached
) " >&6
9230 if test -n "$STRIP"; then
9231 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9237 test -z "$as_dir" && as_dir=.
9238 for ac_exec_ext in '' $ac_executable_extensions; do
9239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9240 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9250 STRIP=$ac_cv_prog_STRIP
9251 if test -n "$STRIP"; then
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9253 $as_echo "$STRIP" >&6; }
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9256 $as_echo "no
" >&6; }
9261 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9263 set dummy ${ncn_progname}; ac_word=$2
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9265 $as_echo_n "checking
for $ac_word...
" >&6; }
9266 if test "${ac_cv_prog_STRIP+set}" = set; then :
9267 $as_echo_n "(cached
) " >&6
9269 if test -n "$STRIP"; then
9270 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9276 test -z "$as_dir" && as_dir=.
9277 for ac_exec_ext in '' $ac_executable_extensions; do
9278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9279 ac_cv_prog_STRIP="${ncn_progname}"
9280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9289 STRIP=$ac_cv_prog_STRIP
9290 if test -n "$STRIP"; then
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9292 $as_echo "$STRIP" >&6; }
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9295 $as_echo "no
" >&6; }
9300 test -n "$ac_cv_prog_STRIP" && break
9303 if test -z "$ac_cv_prog_STRIP" ; then
9309 if test -n "$WINDRES"; then
9310 ac_cv_prog_WINDRES=$WINDRES
9311 elif test -n "$ac_cv_prog_WINDRES"; then
9312 WINDRES=$ac_cv_prog_WINDRES
9315 if test -n "$ac_cv_prog_WINDRES"; then
9316 for ncn_progname in windres; do
9317 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9318 set dummy ${ncn_progname}; ac_word=$2
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9320 $as_echo_n "checking
for $ac_word...
" >&6; }
9321 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9322 $as_echo_n "(cached
) " >&6
9324 if test -n "$WINDRES"; then
9325 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9331 test -z "$as_dir" && as_dir=.
9332 for ac_exec_ext in '' $ac_executable_extensions; do
9333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9334 ac_cv_prog_WINDRES="${ncn_progname}"
9335 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9344 WINDRES=$ac_cv_prog_WINDRES
9345 if test -n "$WINDRES"; then
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9347 $as_echo "$WINDRES" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9350 $as_echo "no
" >&6; }
9357 for ncn_progname in windres; do
9358 if test -n "$ncn_tool_prefix"; then
9359 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9360 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9362 $as_echo_n "checking
for $ac_word...
" >&6; }
9363 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9364 $as_echo_n "(cached
) " >&6
9366 if test -n "$WINDRES"; then
9367 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9373 test -z "$as_dir" && as_dir=.
9374 for ac_exec_ext in '' $ac_executable_extensions; do
9375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9376 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9386 WINDRES=$ac_cv_prog_WINDRES
9387 if test -n "$WINDRES"; then
9388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9389 $as_echo "$WINDRES" >&6; }
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9392 $as_echo "no
" >&6; }
9397 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9399 set dummy ${ncn_progname}; ac_word=$2
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9401 $as_echo_n "checking
for $ac_word...
" >&6; }
9402 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9403 $as_echo_n "(cached
) " >&6
9405 if test -n "$WINDRES"; then
9406 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_prog_WINDRES="${ncn_progname}"
9416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9425 WINDRES=$ac_cv_prog_WINDRES
9426 if test -n "$WINDRES"; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9428 $as_echo "$WINDRES" >&6; }
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9431 $as_echo "no
" >&6; }
9436 test -n "$ac_cv_prog_WINDRES" && break
9439 if test -z "$ac_cv_prog_WINDRES" ; then
9441 if test $build = $host ; then
9444 WINDRES="${ncn_tool_prefix}$2"
9450 if test -n "$WINDMC"; then
9451 ac_cv_prog_WINDMC=$WINDMC
9452 elif test -n "$ac_cv_prog_WINDMC"; then
9453 WINDMC=$ac_cv_prog_WINDMC
9456 if test -n "$ac_cv_prog_WINDMC"; then
9457 for ncn_progname in windmc; do
9458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9459 set dummy ${ncn_progname}; ac_word=$2
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9461 $as_echo_n "checking
for $ac_word...
" >&6; }
9462 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9463 $as_echo_n "(cached
) " >&6
9465 if test -n "$WINDMC"; then
9466 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9472 test -z "$as_dir" && as_dir=.
9473 for ac_exec_ext in '' $ac_executable_extensions; do
9474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9475 ac_cv_prog_WINDMC="${ncn_progname}"
9476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9485 WINDMC=$ac_cv_prog_WINDMC
9486 if test -n "$WINDMC"; then
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9488 $as_echo "$WINDMC" >&6; }
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9491 $as_echo "no
" >&6; }
9498 for ncn_progname in windmc; do
9499 if test -n "$ncn_tool_prefix"; then
9500 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9501 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9503 $as_echo_n "checking
for $ac_word...
" >&6; }
9504 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9505 $as_echo_n "(cached
) " >&6
9507 if test -n "$WINDMC"; then
9508 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9514 test -z "$as_dir" && as_dir=.
9515 for ac_exec_ext in '' $ac_executable_extensions; do
9516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9517 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9527 WINDMC=$ac_cv_prog_WINDMC
9528 if test -n "$WINDMC"; then
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9530 $as_echo "$WINDMC" >&6; }
9532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9533 $as_echo "no
" >&6; }
9538 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9539 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9540 set dummy ${ncn_progname}; ac_word=$2
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9542 $as_echo_n "checking
for $ac_word...
" >&6; }
9543 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9544 $as_echo_n "(cached
) " >&6
9546 if test -n "$WINDMC"; then
9547 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_prog_WINDMC="${ncn_progname}"
9557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9566 WINDMC=$ac_cv_prog_WINDMC
9567 if test -n "$WINDMC"; then
9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9569 $as_echo "$WINDMC" >&6; }
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9572 $as_echo "no
" >&6; }
9577 test -n "$ac_cv_prog_WINDMC" && break
9580 if test -z "$ac_cv_prog_WINDMC" ; then
9582 if test $build = $host ; then
9585 WINDMC="${ncn_tool_prefix}$2"
9591 if test -n "$OBJCOPY"; then
9592 ac_cv_prog_OBJCOPY=$OBJCOPY
9593 elif test -n "$ac_cv_prog_OBJCOPY"; then
9594 OBJCOPY=$ac_cv_prog_OBJCOPY
9597 if test -n "$ac_cv_prog_OBJCOPY"; then
9598 for ncn_progname in objcopy; do
9599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9600 set dummy ${ncn_progname}; ac_word=$2
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9602 $as_echo_n "checking
for $ac_word...
" >&6; }
9603 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9604 $as_echo_n "(cached
) " >&6
9606 if test -n "$OBJCOPY"; then
9607 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616 ac_cv_prog_OBJCOPY="${ncn_progname}"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9626 OBJCOPY=$ac_cv_prog_OBJCOPY
9627 if test -n "$OBJCOPY"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9629 $as_echo "$OBJCOPY" >&6; }
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9632 $as_echo "no
" >&6; }
9639 for ncn_progname in objcopy; do
9640 if test -n "$ncn_tool_prefix"; then
9641 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9642 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9644 $as_echo_n "checking
for $ac_word...
" >&6; }
9645 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9646 $as_echo_n "(cached
) " >&6
9648 if test -n "$OBJCOPY"; then
9649 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9655 test -z "$as_dir" && as_dir=.
9656 for ac_exec_ext in '' $ac_executable_extensions; do
9657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9658 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9668 OBJCOPY=$ac_cv_prog_OBJCOPY
9669 if test -n "$OBJCOPY"; then
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9671 $as_echo "$OBJCOPY" >&6; }
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9674 $as_echo "no
" >&6; }
9679 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9680 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9681 set dummy ${ncn_progname}; ac_word=$2
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9683 $as_echo_n "checking
for $ac_word...
" >&6; }
9684 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9685 $as_echo_n "(cached
) " >&6
9687 if test -n "$OBJCOPY"; then
9688 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9694 test -z "$as_dir" && as_dir=.
9695 for ac_exec_ext in '' $ac_executable_extensions; do
9696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9697 ac_cv_prog_OBJCOPY="${ncn_progname}"
9698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9707 OBJCOPY=$ac_cv_prog_OBJCOPY
9708 if test -n "$OBJCOPY"; then
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9710 $as_echo "$OBJCOPY" >&6; }
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9713 $as_echo "no
" >&6; }
9718 test -n "$ac_cv_prog_OBJCOPY" && break
9721 if test -z "$ac_cv_prog_OBJCOPY" ; then
9723 if test $build = $host ; then
9726 OBJCOPY="${ncn_tool_prefix}$2"
9732 if test -n "$OBJDUMP"; then
9733 ac_cv_prog_OBJDUMP=$OBJDUMP
9734 elif test -n "$ac_cv_prog_OBJDUMP"; then
9735 OBJDUMP=$ac_cv_prog_OBJDUMP
9738 if test -n "$ac_cv_prog_OBJDUMP"; then
9739 for ncn_progname in objdump; do
9740 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9741 set dummy ${ncn_progname}; ac_word=$2
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9743 $as_echo_n "checking
for $ac_word...
" >&6; }
9744 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9745 $as_echo_n "(cached
) " >&6
9747 if test -n "$OBJDUMP"; then
9748 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9754 test -z "$as_dir" && as_dir=.
9755 for ac_exec_ext in '' $ac_executable_extensions; do
9756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9757 ac_cv_prog_OBJDUMP="${ncn_progname}"
9758 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9767 OBJDUMP=$ac_cv_prog_OBJDUMP
9768 if test -n "$OBJDUMP"; then
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9770 $as_echo "$OBJDUMP" >&6; }
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9773 $as_echo "no
" >&6; }
9780 for ncn_progname in objdump; do
9781 if test -n "$ncn_tool_prefix"; then
9782 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9783 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9785 $as_echo_n "checking
for $ac_word...
" >&6; }
9786 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9787 $as_echo_n "(cached
) " >&6
9789 if test -n "$OBJDUMP"; then
9790 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9796 test -z "$as_dir" && as_dir=.
9797 for ac_exec_ext in '' $ac_executable_extensions; do
9798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9799 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9809 OBJDUMP=$ac_cv_prog_OBJDUMP
9810 if test -n "$OBJDUMP"; then
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9812 $as_echo "$OBJDUMP" >&6; }
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9815 $as_echo "no
" >&6; }
9820 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9821 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9822 set dummy ${ncn_progname}; ac_word=$2
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9824 $as_echo_n "checking
for $ac_word...
" >&6; }
9825 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9826 $as_echo_n "(cached
) " >&6
9828 if test -n "$OBJDUMP"; then
9829 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9835 test -z "$as_dir" && as_dir=.
9836 for ac_exec_ext in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_prog_OBJDUMP="${ncn_progname}"
9839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9848 OBJDUMP=$ac_cv_prog_OBJDUMP
9849 if test -n "$OBJDUMP"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9851 $as_echo "$OBJDUMP" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9854 $as_echo "no
" >&6; }
9859 test -n "$ac_cv_prog_OBJDUMP" && break
9862 if test -z "$ac_cv_prog_OBJDUMP" ; then
9864 if test $build = $host ; then
9867 OBJDUMP="${ncn_tool_prefix}$2"
9873 if test -n "$READELF"; then
9874 ac_cv_prog_READELF=$READELF
9875 elif test -n "$ac_cv_prog_READELF"; then
9876 READELF=$ac_cv_prog_READELF
9879 if test -n "$ac_cv_prog_READELF"; then
9880 for ncn_progname in readelf; do
9881 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9882 set dummy ${ncn_progname}; ac_word=$2
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9884 $as_echo_n "checking
for $ac_word...
" >&6; }
9885 if test "${ac_cv_prog_READELF+set}" = set; then :
9886 $as_echo_n "(cached
) " >&6
9888 if test -n "$READELF"; then
9889 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9895 test -z "$as_dir" && as_dir=.
9896 for ac_exec_ext in '' $ac_executable_extensions; do
9897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9898 ac_cv_prog_READELF="${ncn_progname}"
9899 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9908 READELF=$ac_cv_prog_READELF
9909 if test -n "$READELF"; then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9911 $as_echo "$READELF" >&6; }
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9914 $as_echo "no
" >&6; }
9921 for ncn_progname in readelf; do
9922 if test -n "$ncn_tool_prefix"; then
9923 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9924 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9926 $as_echo_n "checking
for $ac_word...
" >&6; }
9927 if test "${ac_cv_prog_READELF+set}" = set; then :
9928 $as_echo_n "(cached
) " >&6
9930 if test -n "$READELF"; then
9931 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9937 test -z "$as_dir" && as_dir=.
9938 for ac_exec_ext in '' $ac_executable_extensions; do
9939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9940 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9941 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9950 READELF=$ac_cv_prog_READELF
9951 if test -n "$READELF"; then
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9953 $as_echo "$READELF" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9956 $as_echo "no
" >&6; }
9961 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9963 set dummy ${ncn_progname}; ac_word=$2
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9965 $as_echo_n "checking
for $ac_word...
" >&6; }
9966 if test "${ac_cv_prog_READELF+set}" = set; then :
9967 $as_echo_n "(cached
) " >&6
9969 if test -n "$READELF"; then
9970 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9976 test -z "$as_dir" && as_dir=.
9977 for ac_exec_ext in '' $ac_executable_extensions; do
9978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9979 ac_cv_prog_READELF="${ncn_progname}"
9980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9989 READELF=$ac_cv_prog_READELF
9990 if test -n "$READELF"; then
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9992 $as_echo "$READELF" >&6; }
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9995 $as_echo "no
" >&6; }
10000 test -n "$ac_cv_prog_READELF" && break
10003 if test -z "$ac_cv_prog_READELF" ; then
10005 if test $build = $host ; then
10008 READELF="${ncn_tool_prefix}$2"
10019 # Check whether --with-build-time-tools was given.
10020 if test "${with_build_time_tools+set}" = set; then :
10021 withval=$with_build_time_tools; case x"$withval" in
10024 with_build_time_tools=
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
10026 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10030 with_build_time_tools=
10036 if test -n "$CC_FOR_TARGET"; then
10037 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10038 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10039 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10042 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10043 for ncn_progname in cc gcc; do
10044 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10045 set dummy ${ncn_progname}; ac_word=$2
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10047 $as_echo_n "checking
for $ac_word...
" >&6; }
10048 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10049 $as_echo_n "(cached
) " >&6
10051 if test -n "$CC_FOR_TARGET"; then
10052 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10055 for as_dir in $PATH
10058 test -z "$as_dir" && as_dir=.
10059 for ac_exec_ext in '' $ac_executable_extensions; do
10060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10061 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10071 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10072 if test -n "$CC_FOR_TARGET"; then
10073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10074 $as_echo "$CC_FOR_TARGET" >&6; }
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10077 $as_echo "no
" >&6; }
10084 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10085 for ncn_progname in cc gcc; do
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10087 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10088 if test -x $with_build_time_tools/${ncn_progname}; then
10089 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10091 $as_echo "yes" >&6; }
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10095 $as_echo "no
" >&6; }
10100 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10101 for ncn_progname in cc gcc; do
10102 if test -n "$ncn_target_tool_prefix"; then
10103 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10104 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10106 $as_echo_n "checking
for $ac_word...
" >&6; }
10107 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10108 $as_echo_n "(cached
) " >&6
10110 if test -n "$CC_FOR_TARGET"; then
10111 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10114 for as_dir in $PATH
10117 test -z "$as_dir" && as_dir=.
10118 for ac_exec_ext in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10130 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10131 if test -n "$CC_FOR_TARGET"; then
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10133 $as_echo "$CC_FOR_TARGET" >&6; }
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10136 $as_echo "no
" >&6; }
10141 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10142 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10143 set dummy ${ncn_progname}; ac_word=$2
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10145 $as_echo_n "checking
for $ac_word...
" >&6; }
10146 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10147 $as_echo_n "(cached
) " >&6
10149 if test -n "$CC_FOR_TARGET"; then
10150 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10153 for as_dir in $PATH
10156 test -z "$as_dir" && as_dir=.
10157 for ac_exec_ext in '' $ac_executable_extensions; do
10158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10159 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10169 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10170 if test -n "$CC_FOR_TARGET"; then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10172 $as_echo "$CC_FOR_TARGET" >&6; }
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10175 $as_echo "no
" >&6; }
10180 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10184 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10186 if test $build = $target ; then
10189 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10192 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10197 if test -n "$CXX_FOR_TARGET"; then
10198 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10199 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10200 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10203 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10204 for ncn_progname in c++ g++ cxx gxx; do
10205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10206 set dummy ${ncn_progname}; ac_word=$2
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10208 $as_echo_n "checking
for $ac_word...
" >&6; }
10209 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10210 $as_echo_n "(cached
) " >&6
10212 if test -n "$CXX_FOR_TARGET"; then
10213 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10216 for as_dir in $PATH
10219 test -z "$as_dir" && as_dir=.
10220 for ac_exec_ext in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10232 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10233 if test -n "$CXX_FOR_TARGET"; then
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10235 $as_echo "$CXX_FOR_TARGET" >&6; }
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10238 $as_echo "no
" >&6; }
10245 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10246 for ncn_progname in c++ g++ cxx gxx; do
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10248 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10249 if test -x $with_build_time_tools/${ncn_progname}; then
10250 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10252 $as_echo "yes" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10256 $as_echo "no
" >&6; }
10261 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10262 for ncn_progname in c++ g++ cxx gxx; do
10263 if test -n "$ncn_target_tool_prefix"; then
10264 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10265 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10267 $as_echo_n "checking
for $ac_word...
" >&6; }
10268 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10269 $as_echo_n "(cached
) " >&6
10271 if test -n "$CXX_FOR_TARGET"; then
10272 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10275 for as_dir in $PATH
10278 test -z "$as_dir" && as_dir=.
10279 for ac_exec_ext in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10291 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10292 if test -n "$CXX_FOR_TARGET"; then
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10294 $as_echo "$CXX_FOR_TARGET" >&6; }
10296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10297 $as_echo "no
" >&6; }
10302 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10304 set dummy ${ncn_progname}; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10306 $as_echo_n "checking
for $ac_word...
" >&6; }
10307 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10308 $as_echo_n "(cached
) " >&6
10310 if test -n "$CXX_FOR_TARGET"; then
10311 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10320 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10330 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10331 if test -n "$CXX_FOR_TARGET"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10333 $as_echo "$CXX_FOR_TARGET" >&6; }
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10336 $as_echo "no
" >&6; }
10341 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10345 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10346 set dummy c++ g++ cxx gxx
10347 if test $build = $target ; then
10348 CXX_FOR_TARGET="$2"
10350 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10353 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10358 if test -n "$GCC_FOR_TARGET"; then
10359 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10360 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10361 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10364 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10365 for ncn_progname in gcc; do
10366 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10367 set dummy ${ncn_progname}; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10369 $as_echo_n "checking
for $ac_word...
" >&6; }
10370 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10371 $as_echo_n "(cached
) " >&6
10373 if test -n "$GCC_FOR_TARGET"; then
10374 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10393 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10394 if test -n "$GCC_FOR_TARGET"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10396 $as_echo "$GCC_FOR_TARGET" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10399 $as_echo "no
" >&6; }
10406 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10407 for ncn_progname in gcc; do
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10409 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10410 if test -x $with_build_time_tools/${ncn_progname}; then
10411 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10413 $as_echo "yes" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10417 $as_echo "no
" >&6; }
10422 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10423 for ncn_progname in gcc; do
10424 if test -n "$ncn_target_tool_prefix"; then
10425 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10426 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10428 $as_echo_n "checking
for $ac_word...
" >&6; }
10429 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10430 $as_echo_n "(cached
) " >&6
10432 if test -n "$GCC_FOR_TARGET"; then
10433 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10443 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10452 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10453 if test -n "$GCC_FOR_TARGET"; then
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10455 $as_echo "$GCC_FOR_TARGET" >&6; }
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10458 $as_echo "no
" >&6; }
10463 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10464 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10465 set dummy ${ncn_progname}; ac_word=$2
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10467 $as_echo_n "checking
for $ac_word...
" >&6; }
10468 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10469 $as_echo_n "(cached
) " >&6
10471 if test -n "$GCC_FOR_TARGET"; then
10472 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10475 for as_dir in $PATH
10478 test -z "$as_dir" && as_dir=.
10479 for ac_exec_ext in '' $ac_executable_extensions; do
10480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10481 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10482 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10491 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10492 if test -n "$GCC_FOR_TARGET"; then
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10494 $as_echo "$GCC_FOR_TARGET" >&6; }
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10497 $as_echo "no
" >&6; }
10502 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10506 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10507 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10509 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10514 if test -n "$GCJ_FOR_TARGET"; then
10515 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10516 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10517 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10520 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10521 for ncn_progname in gcj; do
10522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10523 set dummy ${ncn_progname}; ac_word=$2
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10525 $as_echo_n "checking
for $ac_word...
" >&6; }
10526 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10527 $as_echo_n "(cached
) " >&6
10529 if test -n "$GCJ_FOR_TARGET"; then
10530 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10533 for as_dir in $PATH
10536 test -z "$as_dir" && as_dir=.
10537 for ac_exec_ext in '' $ac_executable_extensions; do
10538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10539 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10549 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10550 if test -n "$GCJ_FOR_TARGET"; then
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10552 $as_echo "$GCJ_FOR_TARGET" >&6; }
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10555 $as_echo "no
" >&6; }
10562 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10563 for ncn_progname in gcj; do
10564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10565 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10566 if test -x $with_build_time_tools/${ncn_progname}; then
10567 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10569 $as_echo "yes" >&6; }
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10573 $as_echo "no
" >&6; }
10578 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10579 for ncn_progname in gcj; do
10580 if test -n "$ncn_target_tool_prefix"; then
10581 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10582 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10584 $as_echo_n "checking
for $ac_word...
" >&6; }
10585 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10586 $as_echo_n "(cached
) " >&6
10588 if test -n "$GCJ_FOR_TARGET"; then
10589 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10595 test -z "$as_dir" && as_dir=.
10596 for ac_exec_ext in '' $ac_executable_extensions; do
10597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10598 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10608 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10609 if test -n "$GCJ_FOR_TARGET"; then
10610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10611 $as_echo "$GCJ_FOR_TARGET" >&6; }
10613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10614 $as_echo "no
" >&6; }
10619 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10621 set dummy ${ncn_progname}; ac_word=$2
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10623 $as_echo_n "checking
for $ac_word...
" >&6; }
10624 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10625 $as_echo_n "(cached
) " >&6
10627 if test -n "$GCJ_FOR_TARGET"; then
10628 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10631 for as_dir in $PATH
10634 test -z "$as_dir" && as_dir=.
10635 for ac_exec_ext in '' $ac_executable_extensions; do
10636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10637 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10647 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10648 if test -n "$GCJ_FOR_TARGET"; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10650 $as_echo "$GCJ_FOR_TARGET" >&6; }
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10653 $as_echo "no
" >&6; }
10658 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10662 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10664 if test $build = $target ; then
10665 GCJ_FOR_TARGET="$2"
10667 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10670 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10675 if test -n "$GFORTRAN_FOR_TARGET"; then
10676 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10677 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10678 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10681 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10682 for ncn_progname in gfortran; do
10683 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10684 set dummy ${ncn_progname}; ac_word=$2
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10686 $as_echo_n "checking
for $ac_word...
" >&6; }
10687 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10688 $as_echo_n "(cached
) " >&6
10690 if test -n "$GFORTRAN_FOR_TARGET"; then
10691 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10694 for as_dir in $PATH
10697 test -z "$as_dir" && as_dir=.
10698 for ac_exec_ext in '' $ac_executable_extensions; do
10699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10700 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10710 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10711 if test -n "$GFORTRAN_FOR_TARGET"; then
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10713 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10716 $as_echo "no
" >&6; }
10723 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10724 for ncn_progname in gfortran; do
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10726 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10727 if test -x $with_build_time_tools/${ncn_progname}; then
10728 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10730 $as_echo "yes" >&6; }
10733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10734 $as_echo "no
" >&6; }
10739 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10740 for ncn_progname in gfortran; do
10741 if test -n "$ncn_target_tool_prefix"; then
10742 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10743 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10745 $as_echo_n "checking
for $ac_word...
" >&6; }
10746 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10747 $as_echo_n "(cached
) " >&6
10749 if test -n "$GFORTRAN_FOR_TARGET"; then
10750 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10759 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10760 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10769 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10770 if test -n "$GFORTRAN_FOR_TARGET"; then
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10772 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10775 $as_echo "no
" >&6; }
10780 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10781 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10782 set dummy ${ncn_progname}; ac_word=$2
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10784 $as_echo_n "checking
for $ac_word...
" >&6; }
10785 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10786 $as_echo_n "(cached
) " >&6
10788 if test -n "$GFORTRAN_FOR_TARGET"; then
10789 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10792 for as_dir in $PATH
10795 test -z "$as_dir" && as_dir=.
10796 for ac_exec_ext in '' $ac_executable_extensions; do
10797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10798 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10799 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10808 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10809 if test -n "$GFORTRAN_FOR_TARGET"; then
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10811 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10814 $as_echo "no
" >&6; }
10819 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10823 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10825 if test $build = $target ; then
10826 GFORTRAN_FOR_TARGET="$2"
10828 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10831 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10836 if test -n "$GOC_FOR_TARGET"; then
10837 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10838 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10839 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10842 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10843 for ncn_progname in gccgo; do
10844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10845 set dummy ${ncn_progname}; ac_word=$2
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10847 $as_echo_n "checking
for $ac_word...
" >&6; }
10848 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10849 $as_echo_n "(cached
) " >&6
10851 if test -n "$GOC_FOR_TARGET"; then
10852 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10855 for as_dir in $PATH
10858 test -z "$as_dir" && as_dir=.
10859 for ac_exec_ext in '' $ac_executable_extensions; do
10860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10861 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10871 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10872 if test -n "$GOC_FOR_TARGET"; then
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10874 $as_echo "$GOC_FOR_TARGET" >&6; }
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10877 $as_echo "no
" >&6; }
10884 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10885 for ncn_progname in gccgo; do
10886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10887 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10888 if test -x $with_build_time_tools/${ncn_progname}; then
10889 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10891 $as_echo "yes" >&6; }
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10895 $as_echo "no
" >&6; }
10900 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10901 for ncn_progname in gccgo; do
10902 if test -n "$ncn_target_tool_prefix"; then
10903 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10904 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10906 $as_echo_n "checking
for $ac_word...
" >&6; }
10907 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10908 $as_echo_n "(cached
) " >&6
10910 if test -n "$GOC_FOR_TARGET"; then
10911 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10914 for as_dir in $PATH
10917 test -z "$as_dir" && as_dir=.
10918 for ac_exec_ext in '' $ac_executable_extensions; do
10919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10920 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10921 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10930 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10931 if test -n "$GOC_FOR_TARGET"; then
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10933 $as_echo "$GOC_FOR_TARGET" >&6; }
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10936 $as_echo "no
" >&6; }
10941 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10942 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10943 set dummy ${ncn_progname}; ac_word=$2
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10945 $as_echo_n "checking
for $ac_word...
" >&6; }
10946 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10947 $as_echo_n "(cached
) " >&6
10949 if test -n "$GOC_FOR_TARGET"; then
10950 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10953 for as_dir in $PATH
10956 test -z "$as_dir" && as_dir=.
10957 for ac_exec_ext in '' $ac_executable_extensions; do
10958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10959 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10960 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10969 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10970 if test -n "$GOC_FOR_TARGET"; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10972 $as_echo "$GOC_FOR_TARGET" >&6; }
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10975 $as_echo "no
" >&6; }
10980 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10984 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10986 if test $build = $target ; then
10987 GOC_FOR_TARGET="$2"
10989 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10992 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10997 if test -n "$GUPC_FOR_TARGET"; then
10998 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10999 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11000 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11003 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
11004 for ncn_progname in gupc; do
11005 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11006 set dummy ${ncn_progname}; ac_word=$2
11007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11008 $as_echo_n "checking
for $ac_word...
" >&6; }
11009 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11010 $as_echo_n "(cached
) " >&6
11012 if test -n "$GUPC_FOR_TARGET"; then
11013 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11016 for as_dir in $PATH
11019 test -z "$as_dir" && as_dir=.
11020 for ac_exec_ext in '' $ac_executable_extensions; do
11021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11022 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11032 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11033 if test -n "$GUPC_FOR_TARGET"; then
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11035 $as_echo "$GUPC_FOR_TARGET" >&6; }
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11038 $as_echo "no
" >&6; }
11045 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
11046 for ncn_progname in gupc; do
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11048 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11049 if test -x $with_build_time_tools/${ncn_progname}; then
11050 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11052 $as_echo "yes" >&6; }
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11056 $as_echo "no
" >&6; }
11061 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
11062 for ncn_progname in gupc; do
11063 if test -n "$ncn_target_tool_prefix"; then
11064 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11065 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11067 $as_echo_n "checking
for $ac_word...
" >&6; }
11068 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11069 $as_echo_n "(cached
) " >&6
11071 if test -n "$GUPC_FOR_TARGET"; then
11072 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11075 for as_dir in $PATH
11078 test -z "$as_dir" && as_dir=.
11079 for ac_exec_ext in '' $ac_executable_extensions; do
11080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11081 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11091 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11092 if test -n "$GUPC_FOR_TARGET"; then
11093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11094 $as_echo "$GUPC_FOR_TARGET" >&6; }
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11097 $as_echo "no
" >&6; }
11102 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
11103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11104 set dummy ${ncn_progname}; ac_word=$2
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11106 $as_echo_n "checking
for $ac_word...
" >&6; }
11107 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
11108 $as_echo_n "(cached
) " >&6
11110 if test -n "$GUPC_FOR_TARGET"; then
11111 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
11113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11114 for as_dir in $PATH
11117 test -z "$as_dir" && as_dir=.
11118 for ac_exec_ext in '' $ac_executable_extensions; do
11119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11120 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
11121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11130 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
11131 if test -n "$GUPC_FOR_TARGET"; then
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
11133 $as_echo "$GUPC_FOR_TARGET" >&6; }
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11136 $as_echo "no
" >&6; }
11141 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
11145 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
11147 if test $build = $target ; then
11148 GUPC_FOR_TARGET="$2"
11150 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
11153 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
11158 cat > conftest.c << \EOF
11163 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
11164 have_gcc_for_target=yes
11166 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
11167 have_gcc_for_target=no
11174 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11175 if test -n "$with_build_time_tools"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
11177 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
11178 if test -x $with_build_time_tools/ar; then
11179 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
11180 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
11182 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11185 $as_echo "no
" >&6; }
11187 elif test $build != $host && test $have_gcc_for_target = yes; then
11188 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
11189 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
11190 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11193 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11194 # Extract the first word of "ar", so it can be a program name with args.
11195 set dummy ar; ac_word=$2
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11197 $as_echo_n "checking
for $ac_word...
" >&6; }
11198 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11199 $as_echo_n "(cached
) " >&6
11201 case $AR_FOR_TARGET in
11203 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11207 for as_dir in $gcc_cv_tool_dirs
11210 test -z "$as_dir" && as_dir=.
11211 for ac_exec_ext in '' $ac_executable_extensions; do
11212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11213 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11224 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11225 if test -n "$AR_FOR_TARGET"; then
11226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11227 $as_echo "$AR_FOR_TARGET" >&6; }
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11230 $as_echo "no
" >&6; }
11235 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11238 if test -n "$AR_FOR_TARGET"; then
11239 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11240 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11241 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11244 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11245 for ncn_progname in ar; do
11246 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11247 set dummy ${ncn_progname}; ac_word=$2
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11249 $as_echo_n "checking
for $ac_word...
" >&6; }
11250 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11251 $as_echo_n "(cached
) " >&6
11253 if test -n "$AR_FOR_TARGET"; then
11254 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11257 for as_dir in $PATH
11260 test -z "$as_dir" && as_dir=.
11261 for ac_exec_ext in '' $ac_executable_extensions; do
11262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11263 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11264 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11273 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11274 if test -n "$AR_FOR_TARGET"; then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11276 $as_echo "$AR_FOR_TARGET" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11279 $as_echo "no
" >&6; }
11286 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11287 for ncn_progname in ar; do
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11289 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11290 if test -x $with_build_time_tools/${ncn_progname}; then
11291 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11293 $as_echo "yes" >&6; }
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11297 $as_echo "no
" >&6; }
11302 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11303 for ncn_progname in ar; do
11304 if test -n "$ncn_target_tool_prefix"; then
11305 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11306 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11308 $as_echo_n "checking
for $ac_word...
" >&6; }
11309 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11310 $as_echo_n "(cached
) " >&6
11312 if test -n "$AR_FOR_TARGET"; then
11313 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11316 for as_dir in $PATH
11319 test -z "$as_dir" && as_dir=.
11320 for ac_exec_ext in '' $ac_executable_extensions; do
11321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11322 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11332 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11333 if test -n "$AR_FOR_TARGET"; then
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11335 $as_echo "$AR_FOR_TARGET" >&6; }
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11338 $as_echo "no
" >&6; }
11343 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11344 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11345 set dummy ${ncn_progname}; ac_word=$2
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11347 $as_echo_n "checking
for $ac_word...
" >&6; }
11348 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11349 $as_echo_n "(cached
) " >&6
11351 if test -n "$AR_FOR_TARGET"; then
11352 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11355 for as_dir in $PATH
11358 test -z "$as_dir" && as_dir=.
11359 for ac_exec_ext in '' $ac_executable_extensions; do
11360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11361 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11371 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11372 if test -n "$AR_FOR_TARGET"; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11374 $as_echo "$AR_FOR_TARGET" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11377 $as_echo "no
" >&6; }
11382 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11386 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11388 if test $build = $target ; then
11391 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11394 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11398 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11404 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11405 if test -n "$with_build_time_tools"; then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11407 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11408 if test -x $with_build_time_tools/as; then
11409 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11410 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11412 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11415 $as_echo "no
" >&6; }
11417 elif test $build != $host && test $have_gcc_for_target = yes; then
11418 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11419 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11420 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11423 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11424 # Extract the first word of "as
", so it can be a program name with args.
11425 set dummy as; ac_word=$2
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11427 $as_echo_n "checking
for $ac_word...
" >&6; }
11428 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11429 $as_echo_n "(cached
) " >&6
11431 case $AS_FOR_TARGET in
11433 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11437 for as_dir in $gcc_cv_tool_dirs
11440 test -z "$as_dir" && as_dir=.
11441 for ac_exec_ext in '' $ac_executable_extensions; do
11442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11443 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11454 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11455 if test -n "$AS_FOR_TARGET"; then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11457 $as_echo "$AS_FOR_TARGET" >&6; }
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11460 $as_echo "no
" >&6; }
11465 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11468 if test -n "$AS_FOR_TARGET"; then
11469 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11470 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11471 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11474 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11475 for ncn_progname in as; do
11476 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11477 set dummy ${ncn_progname}; ac_word=$2
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11479 $as_echo_n "checking
for $ac_word...
" >&6; }
11480 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11481 $as_echo_n "(cached
) " >&6
11483 if test -n "$AS_FOR_TARGET"; then
11484 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11487 for as_dir in $PATH
11490 test -z "$as_dir" && as_dir=.
11491 for ac_exec_ext in '' $ac_executable_extensions; do
11492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11493 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11503 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11504 if test -n "$AS_FOR_TARGET"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11506 $as_echo "$AS_FOR_TARGET" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11509 $as_echo "no
" >&6; }
11516 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11517 for ncn_progname in as; do
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11519 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11520 if test -x $with_build_time_tools/${ncn_progname}; then
11521 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11523 $as_echo "yes" >&6; }
11526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11527 $as_echo "no
" >&6; }
11532 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11533 for ncn_progname in as; do
11534 if test -n "$ncn_target_tool_prefix"; then
11535 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11536 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11538 $as_echo_n "checking
for $ac_word...
" >&6; }
11539 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11540 $as_echo_n "(cached
) " >&6
11542 if test -n "$AS_FOR_TARGET"; then
11543 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11546 for as_dir in $PATH
11549 test -z "$as_dir" && as_dir=.
11550 for ac_exec_ext in '' $ac_executable_extensions; do
11551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11552 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11562 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11563 if test -n "$AS_FOR_TARGET"; then
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11565 $as_echo "$AS_FOR_TARGET" >&6; }
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11568 $as_echo "no
" >&6; }
11573 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11574 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11575 set dummy ${ncn_progname}; ac_word=$2
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11577 $as_echo_n "checking
for $ac_word...
" >&6; }
11578 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11579 $as_echo_n "(cached
) " >&6
11581 if test -n "$AS_FOR_TARGET"; then
11582 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11601 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11602 if test -n "$AS_FOR_TARGET"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11604 $as_echo "$AS_FOR_TARGET" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11607 $as_echo "no
" >&6; }
11612 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11616 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11618 if test $build = $target ; then
11621 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11624 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11628 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11634 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11635 if test -n "$with_build_time_tools"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11637 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11638 if test -x $with_build_time_tools/dlltool; then
11639 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11640 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11642 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11645 $as_echo "no
" >&6; }
11647 elif test $build != $host && test $have_gcc_for_target = yes; then
11648 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11649 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11650 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11653 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11654 # Extract the first word of "dlltool
", so it can be a program name with args.
11655 set dummy dlltool; ac_word=$2
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11657 $as_echo_n "checking
for $ac_word...
" >&6; }
11658 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11659 $as_echo_n "(cached
) " >&6
11661 case $DLLTOOL_FOR_TARGET in
11663 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11667 for as_dir in $gcc_cv_tool_dirs
11670 test -z "$as_dir" && as_dir=.
11671 for ac_exec_ext in '' $ac_executable_extensions; do
11672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11673 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11684 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11685 if test -n "$DLLTOOL_FOR_TARGET"; then
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11687 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11690 $as_echo "no
" >&6; }
11695 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11698 if test -n "$DLLTOOL_FOR_TARGET"; then
11699 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11700 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11701 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11704 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11705 for ncn_progname in dlltool; do
11706 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11707 set dummy ${ncn_progname}; ac_word=$2
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11709 $as_echo_n "checking
for $ac_word...
" >&6; }
11710 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11711 $as_echo_n "(cached
) " >&6
11713 if test -n "$DLLTOOL_FOR_TARGET"; then
11714 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717 for as_dir in $PATH
11720 test -z "$as_dir" && as_dir=.
11721 for ac_exec_ext in '' $ac_executable_extensions; do
11722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11723 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11724 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11733 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11734 if test -n "$DLLTOOL_FOR_TARGET"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11736 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11739 $as_echo "no
" >&6; }
11746 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11747 for ncn_progname in dlltool; do
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11749 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11750 if test -x $with_build_time_tools/${ncn_progname}; then
11751 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11753 $as_echo "yes" >&6; }
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11757 $as_echo "no
" >&6; }
11762 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11763 for ncn_progname in dlltool; do
11764 if test -n "$ncn_target_tool_prefix"; then
11765 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11766 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11768 $as_echo_n "checking
for $ac_word...
" >&6; }
11769 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11770 $as_echo_n "(cached
) " >&6
11772 if test -n "$DLLTOOL_FOR_TARGET"; then
11773 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11776 for as_dir in $PATH
11779 test -z "$as_dir" && as_dir=.
11780 for ac_exec_ext in '' $ac_executable_extensions; do
11781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11782 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11783 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11792 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11793 if test -n "$DLLTOOL_FOR_TARGET"; then
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11795 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11798 $as_echo "no
" >&6; }
11803 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11804 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11805 set dummy ${ncn_progname}; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11807 $as_echo_n "checking
for $ac_word...
" >&6; }
11808 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11809 $as_echo_n "(cached
) " >&6
11811 if test -n "$DLLTOOL_FOR_TARGET"; then
11812 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11831 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11832 if test -n "$DLLTOOL_FOR_TARGET"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11834 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11837 $as_echo "no
" >&6; }
11842 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11846 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11848 if test $build = $target ; then
11849 DLLTOOL_FOR_TARGET="$2"
11851 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11854 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11858 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11864 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11865 if test -n "$with_build_time_tools"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11867 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11868 if test -x $with_build_time_tools/ld; then
11869 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11870 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11872 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11875 $as_echo "no
" >&6; }
11877 elif test $build != $host && test $have_gcc_for_target = yes; then
11878 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11879 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11880 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11883 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11884 # Extract the first word of "ld
", so it can be a program name with args.
11885 set dummy ld; ac_word=$2
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11887 $as_echo_n "checking
for $ac_word...
" >&6; }
11888 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11889 $as_echo_n "(cached
) " >&6
11891 case $LD_FOR_TARGET in
11893 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11897 for as_dir in $gcc_cv_tool_dirs
11900 test -z "$as_dir" && as_dir=.
11901 for ac_exec_ext in '' $ac_executable_extensions; do
11902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11903 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11914 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11915 if test -n "$LD_FOR_TARGET"; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11917 $as_echo "$LD_FOR_TARGET" >&6; }
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11920 $as_echo "no
" >&6; }
11925 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11928 if test -n "$LD_FOR_TARGET"; then
11929 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11930 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11931 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11934 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11935 for ncn_progname in ld; do
11936 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11937 set dummy ${ncn_progname}; ac_word=$2
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11939 $as_echo_n "checking
for $ac_word...
" >&6; }
11940 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11941 $as_echo_n "(cached
) " >&6
11943 if test -n "$LD_FOR_TARGET"; then
11944 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11947 for as_dir in $PATH
11950 test -z "$as_dir" && as_dir=.
11951 for ac_exec_ext in '' $ac_executable_extensions; do
11952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11953 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11954 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11963 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11964 if test -n "$LD_FOR_TARGET"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11966 $as_echo "$LD_FOR_TARGET" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11969 $as_echo "no
" >&6; }
11976 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11977 for ncn_progname in ld; do
11978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11979 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11980 if test -x $with_build_time_tools/${ncn_progname}; then
11981 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11983 $as_echo "yes" >&6; }
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11987 $as_echo "no
" >&6; }
11992 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11993 for ncn_progname in ld; do
11994 if test -n "$ncn_target_tool_prefix"; then
11995 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11996 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11998 $as_echo_n "checking
for $ac_word...
" >&6; }
11999 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12000 $as_echo_n "(cached
) " >&6
12002 if test -n "$LD_FOR_TARGET"; then
12003 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12012 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12022 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12023 if test -n "$LD_FOR_TARGET"; then
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12025 $as_echo "$LD_FOR_TARGET" >&6; }
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12028 $as_echo "no
" >&6; }
12033 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
12034 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12035 set dummy ${ncn_progname}; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12037 $as_echo_n "checking
for $ac_word...
" >&6; }
12038 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
12039 $as_echo_n "(cached
) " >&6
12041 if test -n "$LD_FOR_TARGET"; then
12042 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12061 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
12062 if test -n "$LD_FOR_TARGET"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
12064 $as_echo "$LD_FOR_TARGET" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12067 $as_echo "no
" >&6; }
12072 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
12076 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
12078 if test $build = $target ; then
12081 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
12084 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
12088 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
12094 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12095 if test -n "$with_build_time_tools"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
12097 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
12098 if test -x $with_build_time_tools/lipo; then
12099 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
12100 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
12102 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12105 $as_echo "no
" >&6; }
12107 elif test $build != $host && test $have_gcc_for_target = yes; then
12108 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
12109 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
12110 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12113 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12114 # Extract the first word of "lipo
", so it can be a program name with args.
12115 set dummy lipo; ac_word=$2
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12117 $as_echo_n "checking
for $ac_word...
" >&6; }
12118 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
12119 $as_echo_n "(cached
) " >&6
12121 case $LIPO_FOR_TARGET in
12123 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
12126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12127 for as_dir in $gcc_cv_tool_dirs
12130 test -z "$as_dir" && as_dir=.
12131 for ac_exec_ext in '' $ac_executable_extensions; do
12132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12133 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12144 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12145 if test -n "$LIPO_FOR_TARGET"; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12147 $as_echo "$LIPO_FOR_TARGET" >&6; }
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12150 $as_echo "no
" >&6; }
12155 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
12158 if test -n "$LIPO_FOR_TARGET"; then
12159 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
12160 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12161 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12164 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
12165 for ncn_progname in lipo; do
12166 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12167 set dummy ${ncn_progname}; ac_word=$2
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12169 $as_echo_n "checking
for $ac_word...
" >&6; }
12170 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12171 $as_echo_n "(cached
) " >&6
12173 if test -n "$LIPO_FOR_TARGET"; then
12174 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12177 for as_dir in $PATH
12180 test -z "$as_dir" && as_dir=.
12181 for ac_exec_ext in '' $ac_executable_extensions; do
12182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12183 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12184 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12193 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12194 if test -n "$LIPO_FOR_TARGET"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12196 $as_echo "$LIPO_FOR_TARGET" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12199 $as_echo "no
" >&6; }
12206 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12207 for ncn_progname in lipo; do
12208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12209 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12210 if test -x $with_build_time_tools/${ncn_progname}; then
12211 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12213 $as_echo "yes" >&6; }
12216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12217 $as_echo "no
" >&6; }
12222 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12223 for ncn_progname in lipo; do
12224 if test -n "$ncn_target_tool_prefix"; then
12225 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12226 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12228 $as_echo_n "checking
for $ac_word...
" >&6; }
12229 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12230 $as_echo_n "(cached
) " >&6
12232 if test -n "$LIPO_FOR_TARGET"; then
12233 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12236 for as_dir in $PATH
12239 test -z "$as_dir" && as_dir=.
12240 for ac_exec_ext in '' $ac_executable_extensions; do
12241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12242 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12252 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12253 if test -n "$LIPO_FOR_TARGET"; then
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12255 $as_echo "$LIPO_FOR_TARGET" >&6; }
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12258 $as_echo "no
" >&6; }
12263 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12264 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12265 set dummy ${ncn_progname}; ac_word=$2
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12267 $as_echo_n "checking
for $ac_word...
" >&6; }
12268 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12269 $as_echo_n "(cached
) " >&6
12271 if test -n "$LIPO_FOR_TARGET"; then
12272 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12275 for as_dir in $PATH
12278 test -z "$as_dir" && as_dir=.
12279 for ac_exec_ext in '' $ac_executable_extensions; do
12280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12281 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12291 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12292 if test -n "$LIPO_FOR_TARGET"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12294 $as_echo "$LIPO_FOR_TARGET" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12297 $as_echo "no
" >&6; }
12302 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12306 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12308 if test $build = $target ; then
12309 LIPO_FOR_TARGET="$2"
12311 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12314 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12318 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12324 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12325 if test -n "$with_build_time_tools"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12327 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12328 if test -x $with_build_time_tools/nm; then
12329 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12330 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12332 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12335 $as_echo "no
" >&6; }
12337 elif test $build != $host && test $have_gcc_for_target = yes; then
12338 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12339 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12340 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12343 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12344 # Extract the first word of "nm
", so it can be a program name with args.
12345 set dummy nm; ac_word=$2
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12347 $as_echo_n "checking
for $ac_word...
" >&6; }
12348 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12349 $as_echo_n "(cached
) " >&6
12351 case $NM_FOR_TARGET in
12353 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12357 for as_dir in $gcc_cv_tool_dirs
12360 test -z "$as_dir" && as_dir=.
12361 for ac_exec_ext in '' $ac_executable_extensions; do
12362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12363 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12374 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12375 if test -n "$NM_FOR_TARGET"; then
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12377 $as_echo "$NM_FOR_TARGET" >&6; }
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12380 $as_echo "no
" >&6; }
12385 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12388 if test -n "$NM_FOR_TARGET"; then
12389 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12390 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12391 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12394 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12395 for ncn_progname in nm; do
12396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12397 set dummy ${ncn_progname}; ac_word=$2
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12399 $as_echo_n "checking
for $ac_word...
" >&6; }
12400 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12401 $as_echo_n "(cached
) " >&6
12403 if test -n "$NM_FOR_TARGET"; then
12404 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12407 for as_dir in $PATH
12410 test -z "$as_dir" && as_dir=.
12411 for ac_exec_ext in '' $ac_executable_extensions; do
12412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12413 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12414 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12423 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12424 if test -n "$NM_FOR_TARGET"; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12426 $as_echo "$NM_FOR_TARGET" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12429 $as_echo "no
" >&6; }
12436 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12437 for ncn_progname in nm; do
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12439 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12440 if test -x $with_build_time_tools/${ncn_progname}; then
12441 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12443 $as_echo "yes" >&6; }
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12447 $as_echo "no
" >&6; }
12452 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12453 for ncn_progname in nm; do
12454 if test -n "$ncn_target_tool_prefix"; then
12455 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12456 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12458 $as_echo_n "checking
for $ac_word...
" >&6; }
12459 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12460 $as_echo_n "(cached
) " >&6
12462 if test -n "$NM_FOR_TARGET"; then
12463 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12466 for as_dir in $PATH
12469 test -z "$as_dir" && as_dir=.
12470 for ac_exec_ext in '' $ac_executable_extensions; do
12471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12472 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12482 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12483 if test -n "$NM_FOR_TARGET"; then
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12485 $as_echo "$NM_FOR_TARGET" >&6; }
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12488 $as_echo "no
" >&6; }
12493 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12494 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12495 set dummy ${ncn_progname}; ac_word=$2
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12497 $as_echo_n "checking
for $ac_word...
" >&6; }
12498 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12499 $as_echo_n "(cached
) " >&6
12501 if test -n "$NM_FOR_TARGET"; then
12502 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505 for as_dir in $PATH
12508 test -z "$as_dir" && as_dir=.
12509 for ac_exec_ext in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12521 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12522 if test -n "$NM_FOR_TARGET"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12524 $as_echo "$NM_FOR_TARGET" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12527 $as_echo "no
" >&6; }
12532 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12536 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12538 if test $build = $target ; then
12541 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12544 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12548 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12554 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12555 if test -n "$with_build_time_tools"; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12557 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12558 if test -x $with_build_time_tools/objdump; then
12559 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12560 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12562 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12565 $as_echo "no
" >&6; }
12567 elif test $build != $host && test $have_gcc_for_target = yes; then
12568 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12569 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12570 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12573 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12574 # Extract the first word of "objdump
", so it can be a program name with args.
12575 set dummy objdump; ac_word=$2
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12577 $as_echo_n "checking
for $ac_word...
" >&6; }
12578 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12579 $as_echo_n "(cached
) " >&6
12581 case $OBJDUMP_FOR_TARGET in
12583 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12587 for as_dir in $gcc_cv_tool_dirs
12590 test -z "$as_dir" && as_dir=.
12591 for ac_exec_ext in '' $ac_executable_extensions; do
12592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12593 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12604 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12605 if test -n "$OBJDUMP_FOR_TARGET"; then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12607 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12610 $as_echo "no
" >&6; }
12615 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12618 if test -n "$OBJDUMP_FOR_TARGET"; then
12619 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12620 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12621 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12624 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12625 for ncn_progname in objdump; do
12626 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12627 set dummy ${ncn_progname}; ac_word=$2
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12629 $as_echo_n "checking
for $ac_word...
" >&6; }
12630 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12631 $as_echo_n "(cached
) " >&6
12633 if test -n "$OBJDUMP_FOR_TARGET"; then
12634 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12637 for as_dir in $PATH
12640 test -z "$as_dir" && as_dir=.
12641 for ac_exec_ext in '' $ac_executable_extensions; do
12642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12643 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12644 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12653 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12654 if test -n "$OBJDUMP_FOR_TARGET"; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12656 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12659 $as_echo "no
" >&6; }
12666 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12667 for ncn_progname in objdump; do
12668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12669 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12670 if test -x $with_build_time_tools/${ncn_progname}; then
12671 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12673 $as_echo "yes" >&6; }
12676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12677 $as_echo "no
" >&6; }
12682 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12683 for ncn_progname in objdump; do
12684 if test -n "$ncn_target_tool_prefix"; then
12685 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12686 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12688 $as_echo_n "checking
for $ac_word...
" >&6; }
12689 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12690 $as_echo_n "(cached
) " >&6
12692 if test -n "$OBJDUMP_FOR_TARGET"; then
12693 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12699 test -z "$as_dir" && as_dir=.
12700 for ac_exec_ext in '' $ac_executable_extensions; do
12701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12702 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12712 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12713 if test -n "$OBJDUMP_FOR_TARGET"; then
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12715 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12718 $as_echo "no
" >&6; }
12723 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12724 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12725 set dummy ${ncn_progname}; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12727 $as_echo_n "checking
for $ac_word...
" >&6; }
12728 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12729 $as_echo_n "(cached
) " >&6
12731 if test -n "$OBJDUMP_FOR_TARGET"; then
12732 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12751 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12752 if test -n "$OBJDUMP_FOR_TARGET"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12754 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12757 $as_echo "no
" >&6; }
12762 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12766 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12768 if test $build = $target ; then
12769 OBJDUMP_FOR_TARGET="$2"
12771 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12774 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12778 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12784 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12785 if test -n "$with_build_time_tools"; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12787 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12788 if test -x $with_build_time_tools/ranlib; then
12789 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12790 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12792 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12795 $as_echo "no
" >&6; }
12797 elif test $build != $host && test $have_gcc_for_target = yes; then
12798 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12799 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12800 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12803 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12804 # Extract the first word of "ranlib
", so it can be a program name with args.
12805 set dummy ranlib; ac_word=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12807 $as_echo_n "checking
for $ac_word...
" >&6; }
12808 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12809 $as_echo_n "(cached
) " >&6
12811 case $RANLIB_FOR_TARGET in
12813 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12817 for as_dir in $gcc_cv_tool_dirs
12820 test -z "$as_dir" && as_dir=.
12821 for ac_exec_ext in '' $ac_executable_extensions; do
12822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12823 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12834 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12835 if test -n "$RANLIB_FOR_TARGET"; then
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12837 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12840 $as_echo "no
" >&6; }
12845 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12848 if test -n "$RANLIB_FOR_TARGET"; then
12849 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12850 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12851 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12854 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12855 for ncn_progname in ranlib; do
12856 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12857 set dummy ${ncn_progname}; ac_word=$2
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12859 $as_echo_n "checking
for $ac_word...
" >&6; }
12860 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12861 $as_echo_n "(cached
) " >&6
12863 if test -n "$RANLIB_FOR_TARGET"; then
12864 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12867 for as_dir in $PATH
12870 test -z "$as_dir" && as_dir=.
12871 for ac_exec_ext in '' $ac_executable_extensions; do
12872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12873 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12874 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12883 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12884 if test -n "$RANLIB_FOR_TARGET"; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12886 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12889 $as_echo "no
" >&6; }
12896 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12897 for ncn_progname in ranlib; do
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12899 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12900 if test -x $with_build_time_tools/${ncn_progname}; then
12901 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12903 $as_echo "yes" >&6; }
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12907 $as_echo "no
" >&6; }
12912 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12913 for ncn_progname in ranlib; do
12914 if test -n "$ncn_target_tool_prefix"; then
12915 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12916 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12918 $as_echo_n "checking
for $ac_word...
" >&6; }
12919 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12920 $as_echo_n "(cached
) " >&6
12922 if test -n "$RANLIB_FOR_TARGET"; then
12923 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12926 for as_dir in $PATH
12929 test -z "$as_dir" && as_dir=.
12930 for ac_exec_ext in '' $ac_executable_extensions; do
12931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12932 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12942 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12943 if test -n "$RANLIB_FOR_TARGET"; then
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12945 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12948 $as_echo "no
" >&6; }
12953 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12954 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12955 set dummy ${ncn_progname}; ac_word=$2
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12957 $as_echo_n "checking
for $ac_word...
" >&6; }
12958 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12959 $as_echo_n "(cached
) " >&6
12961 if test -n "$RANLIB_FOR_TARGET"; then
12962 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12981 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12982 if test -n "$RANLIB_FOR_TARGET"; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12984 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12987 $as_echo "no
" >&6; }
12992 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12996 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12998 if test $build = $target ; then
12999 RANLIB_FOR_TARGET="$2"
13001 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
13004 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
13008 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
13014 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13015 if test -n "$with_build_time_tools"; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
13017 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
13018 if test -x $with_build_time_tools/readelf; then
13019 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
13020 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
13022 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13025 $as_echo "no
" >&6; }
13027 elif test $build != $host && test $have_gcc_for_target = yes; then
13028 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
13029 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
13030 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
13033 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13034 # Extract the first word of "readelf
", so it can be a program name with args.
13035 set dummy readelf; ac_word=$2
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13037 $as_echo_n "checking
for $ac_word...
" >&6; }
13038 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
13039 $as_echo_n "(cached
) " >&6
13041 case $READELF_FOR_TARGET in
13043 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
13046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13047 for as_dir in $gcc_cv_tool_dirs
13050 test -z "$as_dir" && as_dir=.
13051 for ac_exec_ext in '' $ac_executable_extensions; do
13052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13053 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13064 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13065 if test -n "$READELF_FOR_TARGET"; then
13066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13067 $as_echo "$READELF_FOR_TARGET" >&6; }
13069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13070 $as_echo "no
" >&6; }
13075 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
13078 if test -n "$READELF_FOR_TARGET"; then
13079 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
13080 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13081 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13084 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
13085 for ncn_progname in readelf; do
13086 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13087 set dummy ${ncn_progname}; ac_word=$2
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13089 $as_echo_n "checking
for $ac_word...
" >&6; }
13090 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13091 $as_echo_n "(cached
) " >&6
13093 if test -n "$READELF_FOR_TARGET"; then
13094 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13097 for as_dir in $PATH
13100 test -z "$as_dir" && as_dir=.
13101 for ac_exec_ext in '' $ac_executable_extensions; do
13102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13103 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13104 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13113 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13114 if test -n "$READELF_FOR_TARGET"; then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13116 $as_echo "$READELF_FOR_TARGET" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13119 $as_echo "no
" >&6; }
13126 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
13127 for ncn_progname in readelf; do
13128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13129 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13130 if test -x $with_build_time_tools/${ncn_progname}; then
13131 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13133 $as_echo "yes" >&6; }
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13137 $as_echo "no
" >&6; }
13142 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
13143 for ncn_progname in readelf; do
13144 if test -n "$ncn_target_tool_prefix"; then
13145 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13146 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13148 $as_echo_n "checking
for $ac_word...
" >&6; }
13149 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13150 $as_echo_n "(cached
) " >&6
13152 if test -n "$READELF_FOR_TARGET"; then
13153 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13156 for as_dir in $PATH
13159 test -z "$as_dir" && as_dir=.
13160 for ac_exec_ext in '' $ac_executable_extensions; do
13161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13162 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13172 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13173 if test -n "$READELF_FOR_TARGET"; then
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13175 $as_echo "$READELF_FOR_TARGET" >&6; }
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13178 $as_echo "no
" >&6; }
13183 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13185 set dummy ${ncn_progname}; ac_word=$2
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13187 $as_echo_n "checking
for $ac_word...
" >&6; }
13188 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
13189 $as_echo_n "(cached
) " >&6
13191 if test -n "$READELF_FOR_TARGET"; then
13192 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13195 for as_dir in $PATH
13198 test -z "$as_dir" && as_dir=.
13199 for ac_exec_ext in '' $ac_executable_extensions; do
13200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13201 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13211 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13212 if test -n "$READELF_FOR_TARGET"; then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13214 $as_echo "$READELF_FOR_TARGET" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13217 $as_echo "no
" >&6; }
13222 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13226 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13228 if test $build = $target ; then
13229 READELF_FOR_TARGET="$2"
13231 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13234 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13238 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13244 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13245 if test -n "$with_build_time_tools"; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13247 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13248 if test -x $with_build_time_tools/strip; then
13249 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13250 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13252 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13255 $as_echo "no
" >&6; }
13257 elif test $build != $host && test $have_gcc_for_target = yes; then
13258 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13259 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13260 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13263 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13264 # Extract the first word of "strip
", so it can be a program name with args.
13265 set dummy strip; ac_word=$2
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13267 $as_echo_n "checking
for $ac_word...
" >&6; }
13268 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13269 $as_echo_n "(cached
) " >&6
13271 case $STRIP_FOR_TARGET in
13273 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13277 for as_dir in $gcc_cv_tool_dirs
13280 test -z "$as_dir" && as_dir=.
13281 for ac_exec_ext in '' $ac_executable_extensions; do
13282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13283 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13294 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13295 if test -n "$STRIP_FOR_TARGET"; then
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13297 $as_echo "$STRIP_FOR_TARGET" >&6; }
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13300 $as_echo "no
" >&6; }
13305 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13308 if test -n "$STRIP_FOR_TARGET"; then
13309 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13310 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13311 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13314 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13315 for ncn_progname in strip; do
13316 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13317 set dummy ${ncn_progname}; ac_word=$2
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13319 $as_echo_n "checking
for $ac_word...
" >&6; }
13320 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13321 $as_echo_n "(cached
) " >&6
13323 if test -n "$STRIP_FOR_TARGET"; then
13324 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13327 for as_dir in $PATH
13330 test -z "$as_dir" && as_dir=.
13331 for ac_exec_ext in '' $ac_executable_extensions; do
13332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13333 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13334 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13343 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13344 if test -n "$STRIP_FOR_TARGET"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13346 $as_echo "$STRIP_FOR_TARGET" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13349 $as_echo "no
" >&6; }
13356 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13357 for ncn_progname in strip; do
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13359 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13360 if test -x $with_build_time_tools/${ncn_progname}; then
13361 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13363 $as_echo "yes" >&6; }
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13367 $as_echo "no
" >&6; }
13372 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13373 for ncn_progname in strip; do
13374 if test -n "$ncn_target_tool_prefix"; then
13375 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13376 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13378 $as_echo_n "checking
for $ac_word...
" >&6; }
13379 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13380 $as_echo_n "(cached
) " >&6
13382 if test -n "$STRIP_FOR_TARGET"; then
13383 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13386 for as_dir in $PATH
13389 test -z "$as_dir" && as_dir=.
13390 for ac_exec_ext in '' $ac_executable_extensions; do
13391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13392 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13393 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13402 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13403 if test -n "$STRIP_FOR_TARGET"; then
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13405 $as_echo "$STRIP_FOR_TARGET" >&6; }
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13408 $as_echo "no
" >&6; }
13413 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13415 set dummy ${ncn_progname}; ac_word=$2
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13417 $as_echo_n "checking
for $ac_word...
" >&6; }
13418 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13419 $as_echo_n "(cached
) " >&6
13421 if test -n "$STRIP_FOR_TARGET"; then
13422 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13425 for as_dir in $PATH
13428 test -z "$as_dir" && as_dir=.
13429 for ac_exec_ext in '' $ac_executable_extensions; do
13430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13431 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13441 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13442 if test -n "$STRIP_FOR_TARGET"; then
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13444 $as_echo "$STRIP_FOR_TARGET" >&6; }
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13447 $as_echo "no
" >&6; }
13452 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13456 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13458 if test $build = $target ; then
13459 STRIP_FOR_TARGET="$2"
13461 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13464 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13468 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13474 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13475 if test -n "$with_build_time_tools"; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13477 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13478 if test -x $with_build_time_tools/windres; then
13479 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13480 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13482 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13485 $as_echo "no
" >&6; }
13487 elif test $build != $host && test $have_gcc_for_target = yes; then
13488 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13489 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13490 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13493 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13494 # Extract the first word of "windres
", so it can be a program name with args.
13495 set dummy windres; ac_word=$2
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13497 $as_echo_n "checking
for $ac_word...
" >&6; }
13498 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13499 $as_echo_n "(cached
) " >&6
13501 case $WINDRES_FOR_TARGET in
13503 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13507 for as_dir in $gcc_cv_tool_dirs
13510 test -z "$as_dir" && as_dir=.
13511 for ac_exec_ext in '' $ac_executable_extensions; do
13512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13513 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13524 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13525 if test -n "$WINDRES_FOR_TARGET"; then
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13527 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13530 $as_echo "no
" >&6; }
13535 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13538 if test -n "$WINDRES_FOR_TARGET"; then
13539 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13540 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13541 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13544 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13545 for ncn_progname in windres; do
13546 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13547 set dummy ${ncn_progname}; ac_word=$2
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13549 $as_echo_n "checking
for $ac_word...
" >&6; }
13550 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13551 $as_echo_n "(cached
) " >&6
13553 if test -n "$WINDRES_FOR_TARGET"; then
13554 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13557 for as_dir in $PATH
13560 test -z "$as_dir" && as_dir=.
13561 for ac_exec_ext in '' $ac_executable_extensions; do
13562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13563 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13564 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13573 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13574 if test -n "$WINDRES_FOR_TARGET"; then
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13576 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13579 $as_echo "no
" >&6; }
13586 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13587 for ncn_progname in windres; do
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13589 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13590 if test -x $with_build_time_tools/${ncn_progname}; then
13591 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13593 $as_echo "yes" >&6; }
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13597 $as_echo "no
" >&6; }
13602 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13603 for ncn_progname in windres; do
13604 if test -n "$ncn_target_tool_prefix"; then
13605 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13606 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13608 $as_echo_n "checking
for $ac_word...
" >&6; }
13609 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13610 $as_echo_n "(cached
) " >&6
13612 if test -n "$WINDRES_FOR_TARGET"; then
13613 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13616 for as_dir in $PATH
13619 test -z "$as_dir" && as_dir=.
13620 for ac_exec_ext in '' $ac_executable_extensions; do
13621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13622 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13632 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13633 if test -n "$WINDRES_FOR_TARGET"; then
13634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13635 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13638 $as_echo "no
" >&6; }
13643 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13644 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13645 set dummy ${ncn_progname}; ac_word=$2
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13647 $as_echo_n "checking
for $ac_word...
" >&6; }
13648 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13649 $as_echo_n "(cached
) " >&6
13651 if test -n "$WINDRES_FOR_TARGET"; then
13652 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13655 for as_dir in $PATH
13658 test -z "$as_dir" && as_dir=.
13659 for ac_exec_ext in '' $ac_executable_extensions; do
13660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13661 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13671 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13672 if test -n "$WINDRES_FOR_TARGET"; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13674 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13677 $as_echo "no
" >&6; }
13682 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13686 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13688 if test $build = $target ; then
13689 WINDRES_FOR_TARGET="$2"
13691 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13694 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13698 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13704 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13705 if test -n "$with_build_time_tools"; then
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13707 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13708 if test -x $with_build_time_tools/windmc; then
13709 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13710 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13712 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13715 $as_echo "no
" >&6; }
13717 elif test $build != $host && test $have_gcc_for_target = yes; then
13718 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13719 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13720 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13723 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13724 # Extract the first word of "windmc
", so it can be a program name with args.
13725 set dummy windmc; ac_word=$2
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13727 $as_echo_n "checking
for $ac_word...
" >&6; }
13728 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13729 $as_echo_n "(cached
) " >&6
13731 case $WINDMC_FOR_TARGET in
13733 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13737 for as_dir in $gcc_cv_tool_dirs
13740 test -z "$as_dir" && as_dir=.
13741 for ac_exec_ext in '' $ac_executable_extensions; do
13742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13743 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13754 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13755 if test -n "$WINDMC_FOR_TARGET"; then
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13757 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13760 $as_echo "no
" >&6; }
13765 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13768 if test -n "$WINDMC_FOR_TARGET"; then
13769 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13770 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13771 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13774 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13775 for ncn_progname in windmc; do
13776 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13777 set dummy ${ncn_progname}; ac_word=$2
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13779 $as_echo_n "checking
for $ac_word...
" >&6; }
13780 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13781 $as_echo_n "(cached
) " >&6
13783 if test -n "$WINDMC_FOR_TARGET"; then
13784 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13787 for as_dir in $PATH
13790 test -z "$as_dir" && as_dir=.
13791 for ac_exec_ext in '' $ac_executable_extensions; do
13792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13793 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13794 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13803 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13804 if test -n "$WINDMC_FOR_TARGET"; then
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13806 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13809 $as_echo "no
" >&6; }
13816 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13817 for ncn_progname in windmc; do
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13819 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13820 if test -x $with_build_time_tools/${ncn_progname}; then
13821 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13823 $as_echo "yes" >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13827 $as_echo "no
" >&6; }
13832 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13833 for ncn_progname in windmc; do
13834 if test -n "$ncn_target_tool_prefix"; then
13835 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13836 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13838 $as_echo_n "checking
for $ac_word...
" >&6; }
13839 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13840 $as_echo_n "(cached
) " >&6
13842 if test -n "$WINDMC_FOR_TARGET"; then
13843 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13846 for as_dir in $PATH
13849 test -z "$as_dir" && as_dir=.
13850 for ac_exec_ext in '' $ac_executable_extensions; do
13851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13852 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13862 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13863 if test -n "$WINDMC_FOR_TARGET"; then
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13865 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13868 $as_echo "no
" >&6; }
13873 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13875 set dummy ${ncn_progname}; ac_word=$2
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13877 $as_echo_n "checking
for $ac_word...
" >&6; }
13878 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13879 $as_echo_n "(cached
) " >&6
13881 if test -n "$WINDMC_FOR_TARGET"; then
13882 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13885 for as_dir in $PATH
13888 test -z "$as_dir" && as_dir=.
13889 for ac_exec_ext in '' $ac_executable_extensions; do
13890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13891 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13901 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13902 if test -n "$WINDMC_FOR_TARGET"; then
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13904 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13907 $as_echo "no
" >&6; }
13912 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13916 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13918 if test $build = $target ; then
13919 WINDMC_FOR_TARGET="$2"
13921 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13924 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13928 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13932 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13935 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13936 if test "x
${build}" != "x
${host}" ; then
13937 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13938 # We already found the complete path
13939 ac_dir=`dirname $AR_FOR_TARGET`
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13941 $as_echo "pre-installed
in $ac_dir" >&6; }
13943 # Canadian cross, just use what we found
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13945 $as_echo "pre-installed
" >&6; }
13949 case " ${configdirs} " in
13954 if test $ok = yes; then
13955 # An in-tree tool is available and we can use it
13956 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13958 $as_echo "just compiled
" >&6; }
13959 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13960 # We already found the complete path
13961 ac_dir=`dirname $AR_FOR_TARGET`
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13963 $as_echo "pre-installed
in $ac_dir" >&6; }
13964 elif test "x
$target" = "x
$host"; then
13965 # We can use an host tool
13966 AR_FOR_TARGET='$(AR)'
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13968 $as_echo "host tool
" >&6; }
13970 # We need a cross tool
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13972 $as_echo "pre-installed
" >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13977 $as_echo_n "checking where to
find the target as...
" >&6; }
13978 if test "x
${build}" != "x
${host}" ; then
13979 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13980 # We already found the complete path
13981 ac_dir=`dirname $AS_FOR_TARGET`
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13983 $as_echo "pre-installed
in $ac_dir" >&6; }
13985 # Canadian cross, just use what we found
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13987 $as_echo "pre-installed
" >&6; }
13991 case " ${configdirs} " in
13996 if test $ok = yes; then
13997 # An in-tree tool is available and we can use it
13998 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14000 $as_echo "just compiled
" >&6; }
14001 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
14002 # We already found the complete path
14003 ac_dir=`dirname $AS_FOR_TARGET`
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14005 $as_echo "pre-installed
in $ac_dir" >&6; }
14006 elif test "x
$target" = "x
$host"; then
14007 # We can use an host tool
14008 AS_FOR_TARGET='$(AS)'
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14010 $as_echo "host tool
" >&6; }
14012 # We need a cross tool
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14014 $as_echo "pre-installed
" >&6; }
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
14019 $as_echo_n "checking where to
find the target cc...
" >&6; }
14020 if test "x
${build}" != "x
${host}" ; then
14021 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14022 # We already found the complete path
14023 ac_dir=`dirname $CC_FOR_TARGET`
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14025 $as_echo "pre-installed
in $ac_dir" >&6; }
14027 # Canadian cross, just use what we found
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14029 $as_echo "pre-installed
" >&6; }
14033 case " ${configdirs} " in
14038 if test $ok = yes; then
14039 # An in-tree tool is available and we can use it
14040 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14042 $as_echo "just compiled
" >&6; }
14043 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
14044 # We already found the complete path
14045 ac_dir=`dirname $CC_FOR_TARGET`
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14047 $as_echo "pre-installed
in $ac_dir" >&6; }
14048 elif test "x
$target" = "x
$host"; then
14049 # We can use an host tool
14050 CC_FOR_TARGET='$(CC)'
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14052 $as_echo "host tool
" >&6; }
14054 # We need a cross tool
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14056 $as_echo "pre-installed
" >&6; }
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
14061 $as_echo_n "checking where to
find the target c
++...
" >&6; }
14062 if test "x
${build}" != "x
${host}" ; then
14063 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14064 # We already found the complete path
14065 ac_dir=`dirname $CXX_FOR_TARGET`
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14067 $as_echo "pre-installed
in $ac_dir" >&6; }
14069 # Canadian cross, just use what we found
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14071 $as_echo "pre-installed
" >&6; }
14075 case " ${configdirs} " in
14079 case ,${enable_languages}, in
14083 if test $ok = yes; then
14084 # An in-tree tool is available and we can use it
14085 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'
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14087 $as_echo "just compiled
" >&6; }
14088 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
14089 # We already found the complete path
14090 ac_dir=`dirname $CXX_FOR_TARGET`
14091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14092 $as_echo "pre-installed
in $ac_dir" >&6; }
14093 elif test "x
$target" = "x
$host"; then
14094 # We can use an host tool
14095 CXX_FOR_TARGET='$(CXX)'
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14097 $as_echo "host tool
" >&6; }
14099 # We need a cross tool
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14101 $as_echo "pre-installed
" >&6; }
14105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
14106 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
14107 if test "x
${build}" != "x
${host}" ; then
14108 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14109 # We already found the complete path
14110 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14112 $as_echo "pre-installed
in $ac_dir" >&6; }
14114 # Canadian cross, just use what we found
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14116 $as_echo "pre-installed
" >&6; }
14120 case " ${configdirs} " in
14124 case ,${enable_languages}, in
14128 if test $ok = yes; then
14129 # An in-tree tool is available and we can use it
14130 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'
14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14132 $as_echo "just compiled
" >&6; }
14133 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
14134 # We already found the complete path
14135 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14137 $as_echo "pre-installed
in $ac_dir" >&6; }
14138 elif test "x
$target" = "x
$host"; then
14139 # We can use an host tool
14140 RAW_CXX_FOR_TARGET='$(CXX)'
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14142 $as_echo "host tool
" >&6; }
14144 # We need a cross tool
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14146 $as_echo "pre-installed
" >&6; }
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
14151 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
14152 if test "x
${build}" != "x
${host}" ; then
14153 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14154 # We already found the complete path
14155 ac_dir=`dirname $DLLTOOL_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; }
14159 # Canadian cross, just use what we found
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14161 $as_echo "pre-installed
" >&6; }
14165 case " ${configdirs} " in
14170 if test $ok = yes; then
14171 # An in-tree tool is available and we can use it
14172 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14174 $as_echo "just compiled
" >&6; }
14175 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14176 # We already found the complete path
14177 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14179 $as_echo "pre-installed
in $ac_dir" >&6; }
14180 elif test "x
$target" = "x
$host"; then
14181 # We can use an host tool
14182 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14184 $as_echo "host tool
" >&6; }
14186 # We need a cross tool
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14188 $as_echo "pre-installed
" >&6; }
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14193 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14194 if test "x
${build}" != "x
${host}" ; then
14195 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14196 # We already found the complete path
14197 ac_dir=`dirname $GCC_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; }
14201 # Canadian cross, just use what we found
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14203 $as_echo "pre-installed
" >&6; }
14207 case " ${configdirs} " in
14212 if test $ok = yes; then
14213 # An in-tree tool is available and we can use it
14214 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14216 $as_echo "just compiled
" >&6; }
14217 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14218 # We already found the complete path
14219 ac_dir=`dirname $GCC_FOR_TARGET`
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14221 $as_echo "pre-installed
in $ac_dir" >&6; }
14222 elif test "x
$target" = "x
$host"; then
14223 # We can use an host tool
14224 GCC_FOR_TARGET='$()'
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14226 $as_echo "host tool
" >&6; }
14228 # We need a cross tool
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14230 $as_echo "pre-installed
" >&6; }
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14235 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14236 if test "x
${build}" != "x
${host}" ; then
14237 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14238 # We already found the complete path
14239 ac_dir=`dirname $GCJ_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; }
14243 # Canadian cross, just use what we found
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14245 $as_echo "pre-installed
" >&6; }
14249 case " ${configdirs} " in
14253 case ,${enable_languages}, in
14257 if test $ok = yes; then
14258 # An in-tree tool is available and we can use it
14259 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14261 $as_echo "just compiled
" >&6; }
14262 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14263 # We already found the complete path
14264 ac_dir=`dirname $GCJ_FOR_TARGET`
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14266 $as_echo "pre-installed
in $ac_dir" >&6; }
14267 elif test "x
$target" = "x
$host"; then
14268 # We can use an host tool
14269 GCJ_FOR_TARGET='$(GCJ)'
14270 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14271 $as_echo "host tool
" >&6; }
14273 # We need a cross tool
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14275 $as_echo "pre-installed
" >&6; }
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14280 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14281 if test "x
${build}" != "x
${host}" ; then
14282 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14283 # We already found the complete path
14284 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14286 $as_echo "pre-installed
in $ac_dir" >&6; }
14288 # Canadian cross, just use what we found
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14290 $as_echo "pre-installed
" >&6; }
14294 case " ${configdirs} " in
14298 case ,${enable_languages}, in
14302 if test $ok = yes; then
14303 # An in-tree tool is available and we can use it
14304 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14306 $as_echo "just compiled
" >&6; }
14307 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14308 # We already found the complete path
14309 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14311 $as_echo "pre-installed
in $ac_dir" >&6; }
14312 elif test "x
$target" = "x
$host"; then
14313 # We can use an host tool
14314 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14316 $as_echo "host tool
" >&6; }
14318 # We need a cross tool
14319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14320 $as_echo "pre-installed
" >&6; }
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14325 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14326 if test "x
${build}" != "x
${host}" ; then
14327 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14328 # We already found the complete path
14329 ac_dir=`dirname $GOC_FOR_TARGET`
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14331 $as_echo "pre-installed
in $ac_dir" >&6; }
14333 # Canadian cross, just use what we found
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14335 $as_echo "pre-installed
" >&6; }
14339 case " ${configdirs} " in
14343 case ,${enable_languages}, in
14347 if test $ok = yes; then
14348 # An in-tree tool is available and we can use it
14349 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14351 $as_echo "just compiled
" >&6; }
14352 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14353 # We already found the complete path
14354 ac_dir=`dirname $GOC_FOR_TARGET`
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14356 $as_echo "pre-installed
in $ac_dir" >&6; }
14357 elif test "x
$target" = "x
$host"; then
14358 # We can use an host tool
14359 GOC_FOR_TARGET='$(GOC)'
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14361 $as_echo "host tool
" >&6; }
14363 # We need a cross tool
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14365 $as_echo "pre-installed
" >&6; }
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gupc
" >&5
14370 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14371 if test "x
${build}" != "x
${host}" ; then
14372 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14373 # We already found the complete path
14374 ac_dir=`dirname $GUPC_FOR_TARGET`
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14376 $as_echo "pre-installed
in $ac_dir" >&6; }
14378 # Canadian cross, just use what we found
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14380 $as_echo "pre-installed
" >&6; }
14384 case " ${configdirs} " in
14388 case ,${enable_languages}, in
14392 if test $ok = yes; then
14393 # An in-tree tool is available and we can use it
14394 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14396 $as_echo "just compiled
" >&6; }
14397 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14398 # We already found the complete path
14399 ac_dir=`dirname $GUPC_FOR_TARGET`
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14401 $as_echo "pre-installed
in $ac_dir" >&6; }
14402 elif test "x
$target" = "x
$host"; then
14403 # We can use an host tool
14404 GUPC_FOR_TARGET='$(GUPC)'
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14406 $as_echo "host tool
" >&6; }
14408 # We need a cross tool
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14410 $as_echo "pre-installed
" >&6; }
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14415 $as_echo_n "checking where to
find the target ld...
" >&6; }
14416 if test "x
${build}" != "x
${host}" ; then
14417 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14418 # We already found the complete path
14419 ac_dir=`dirname $LD_FOR_TARGET`
14420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14421 $as_echo "pre-installed
in $ac_dir" >&6; }
14423 # Canadian cross, just use what we found
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14425 $as_echo "pre-installed
" >&6; }
14429 case " ${configdirs} " in
14434 if test $ok = yes; then
14435 # An in-tree tool is available and we can use it
14436 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14438 $as_echo "just compiled
" >&6; }
14439 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14440 # We already found the complete path
14441 ac_dir=`dirname $LD_FOR_TARGET`
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14443 $as_echo "pre-installed
in $ac_dir" >&6; }
14444 elif test "x
$target" = "x
$host"; then
14445 # We can use an host tool
14446 LD_FOR_TARGET='$(LD)'
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14448 $as_echo "host tool
" >&6; }
14450 # We need a cross tool
14451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14452 $as_echo "pre-installed
" >&6; }
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14457 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14458 if test "x
${build}" != "x
${host}" ; then
14459 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14460 # We already found the complete path
14461 ac_dir=`dirname $LIPO_FOR_TARGET`
14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14463 $as_echo "pre-installed
in $ac_dir" >&6; }
14465 # Canadian cross, just use what we found
14466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14467 $as_echo "pre-installed
" >&6; }
14470 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14471 # We already found the complete path
14472 ac_dir=`dirname $LIPO_FOR_TARGET`
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14474 $as_echo "pre-installed
in $ac_dir" >&6; }
14475 elif test "x
$target" = "x
$host"; then
14476 # We can use an host tool
14477 LIPO_FOR_TARGET='$(LIPO)'
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14479 $as_echo "host tool
" >&6; }
14481 # We need a cross tool
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14483 $as_echo "pre-installed
" >&6; }
14487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14488 $as_echo_n "checking where to
find the target nm...
" >&6; }
14489 if test "x
${build}" != "x
${host}" ; then
14490 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14491 # We already found the complete path
14492 ac_dir=`dirname $NM_FOR_TARGET`
14493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14494 $as_echo "pre-installed
in $ac_dir" >&6; }
14496 # Canadian cross, just use what we found
14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14498 $as_echo "pre-installed
" >&6; }
14502 case " ${configdirs} " in
14507 if test $ok = yes; then
14508 # An in-tree tool is available and we can use it
14509 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14511 $as_echo "just compiled
" >&6; }
14512 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14513 # We already found the complete path
14514 ac_dir=`dirname $NM_FOR_TARGET`
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14516 $as_echo "pre-installed
in $ac_dir" >&6; }
14517 elif test "x
$target" = "x
$host"; then
14518 # We can use an host tool
14519 NM_FOR_TARGET='$(NM)'
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14521 $as_echo "host tool
" >&6; }
14523 # We need a cross tool
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14525 $as_echo "pre-installed
" >&6; }
14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14530 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14531 if test "x
${build}" != "x
${host}" ; then
14532 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14533 # We already found the complete path
14534 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14536 $as_echo "pre-installed
in $ac_dir" >&6; }
14538 # Canadian cross, just use what we found
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14540 $as_echo "pre-installed
" >&6; }
14544 case " ${configdirs} " in
14549 if test $ok = yes; then
14550 # An in-tree tool is available and we can use it
14551 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14553 $as_echo "just compiled
" >&6; }
14554 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14555 # We already found the complete path
14556 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14558 $as_echo "pre-installed
in $ac_dir" >&6; }
14559 elif test "x
$target" = "x
$host"; then
14560 # We can use an host tool
14561 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14563 $as_echo "host tool
" >&6; }
14565 # We need a cross tool
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14567 $as_echo "pre-installed
" >&6; }
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14572 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14573 if test "x
${build}" != "x
${host}" ; then
14574 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14575 # We already found the complete path
14576 ac_dir=`dirname $RANLIB_FOR_TARGET`
14577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14578 $as_echo "pre-installed
in $ac_dir" >&6; }
14580 # Canadian cross, just use what we found
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14582 $as_echo "pre-installed
" >&6; }
14586 case " ${configdirs} " in
14591 if test $ok = yes; then
14592 # An in-tree tool is available and we can use it
14593 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14595 $as_echo "just compiled
" >&6; }
14596 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14597 # We already found the complete path
14598 ac_dir=`dirname $RANLIB_FOR_TARGET`
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14600 $as_echo "pre-installed
in $ac_dir" >&6; }
14601 elif test "x
$target" = "x
$host"; then
14602 # We can use an host tool
14603 RANLIB_FOR_TARGET='$(RANLIB)'
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14605 $as_echo "host tool
" >&6; }
14607 # We need a cross tool
14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14609 $as_echo "pre-installed
" >&6; }
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14614 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14615 if test "x
${build}" != "x
${host}" ; then
14616 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14617 # We already found the complete path
14618 ac_dir=`dirname $READELF_FOR_TARGET`
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14620 $as_echo "pre-installed
in $ac_dir" >&6; }
14622 # Canadian cross, just use what we found
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14624 $as_echo "pre-installed
" >&6; }
14628 case " ${configdirs} " in
14633 if test $ok = yes; then
14634 # An in-tree tool is available and we can use it
14635 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14637 $as_echo "just compiled
" >&6; }
14638 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14639 # We already found the complete path
14640 ac_dir=`dirname $READELF_FOR_TARGET`
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14642 $as_echo "pre-installed
in $ac_dir" >&6; }
14643 elif test "x
$target" = "x
$host"; then
14644 # We can use an host tool
14645 READELF_FOR_TARGET='$(READELF)'
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14647 $as_echo "host tool
" >&6; }
14649 # We need a cross tool
14650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14651 $as_echo "pre-installed
" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14656 $as_echo_n "checking where to
find the target strip...
" >&6; }
14657 if test "x
${build}" != "x
${host}" ; then
14658 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14659 # We already found the complete path
14660 ac_dir=`dirname $STRIP_FOR_TARGET`
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14662 $as_echo "pre-installed
in $ac_dir" >&6; }
14664 # Canadian cross, just use what we found
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14666 $as_echo "pre-installed
" >&6; }
14670 case " ${configdirs} " in
14675 if test $ok = yes; then
14676 # An in-tree tool is available and we can use it
14677 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14679 $as_echo "just compiled
" >&6; }
14680 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14681 # We already found the complete path
14682 ac_dir=`dirname $STRIP_FOR_TARGET`
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14684 $as_echo "pre-installed
in $ac_dir" >&6; }
14685 elif test "x
$target" = "x
$host"; then
14686 # We can use an host tool
14687 STRIP_FOR_TARGET='$(STRIP)'
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14689 $as_echo "host tool
" >&6; }
14691 # We need a cross tool
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14693 $as_echo "pre-installed
" >&6; }
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14698 $as_echo_n "checking where to
find the target windres...
" >&6; }
14699 if test "x
${build}" != "x
${host}" ; then
14700 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14701 # We already found the complete path
14702 ac_dir=`dirname $WINDRES_FOR_TARGET`
14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14704 $as_echo "pre-installed
in $ac_dir" >&6; }
14706 # Canadian cross, just use what we found
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14708 $as_echo "pre-installed
" >&6; }
14712 case " ${configdirs} " in
14717 if test $ok = yes; then
14718 # An in-tree tool is available and we can use it
14719 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14721 $as_echo "just compiled
" >&6; }
14722 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14723 # We already found the complete path
14724 ac_dir=`dirname $WINDRES_FOR_TARGET`
14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14726 $as_echo "pre-installed
in $ac_dir" >&6; }
14727 elif test "x
$target" = "x
$host"; then
14728 # We can use an host tool
14729 WINDRES_FOR_TARGET='$(WINDRES)'
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14731 $as_echo "host tool
" >&6; }
14733 # We need a cross tool
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14735 $as_echo "pre-installed
" >&6; }
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14740 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14741 if test "x
${build}" != "x
${host}" ; then
14742 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14743 # We already found the complete path
14744 ac_dir=`dirname $WINDMC_FOR_TARGET`
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14746 $as_echo "pre-installed
in $ac_dir" >&6; }
14748 # Canadian cross, just use what we found
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14750 $as_echo "pre-installed
" >&6; }
14754 case " ${configdirs} " in
14759 if test $ok = yes; then
14760 # An in-tree tool is available and we can use it
14761 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14763 $as_echo "just compiled
" >&6; }
14764 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14765 # We already found the complete path
14766 ac_dir=`dirname $WINDMC_FOR_TARGET`
14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14768 $as_echo "pre-installed
in $ac_dir" >&6; }
14769 elif test "x
$target" = "x
$host"; then
14770 # We can use an host tool
14771 WINDMC_FOR_TARGET='$(WINDMC)'
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14773 $as_echo "host tool
" >&6; }
14775 # We need a cross tool
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14777 $as_echo "pre-installed
" >&6; }
14785 # Certain tools may need extra flags.
14786 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14787 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14788 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14790 # When building target libraries, except in a Canadian cross, we use
14791 # the same toolchain as the compiler we just built.
14792 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14793 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14794 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14795 if test $host = $build; then
14796 case " $configdirs " in
14798 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14799 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14800 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14810 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14811 # Check whether --enable-maintainer-mode was given.
14812 if test "${enable_maintainer_mode+set}" = set; then :
14813 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14815 USE_MAINTAINER_MODE=no
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14819 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14822 if test "$USE_MAINTAINER_MODE" = yes; then
14823 MAINTAINER_MODE_TRUE=
14824 MAINTAINER_MODE_FALSE='#'
14826 MAINTAINER_MODE_TRUE='#'
14827 MAINTAINER_MODE_FALSE=
14829 MAINT=$MAINTAINER_MODE_TRUE
14831 # ---------------------
14832 # GCC bootstrap support
14833 # ---------------------
14835 # Stage specific cflags for build.
14840 yes) stage1_cflags="-g -Wa,-J" ;;
14841 *) stage1_cflags="-g -J" ;;
14847 # Enable --enable-checking in stage1 of the compiler.
14848 # Check whether --enable-stage1-checking was given.
14849 if test "${enable_stage1_checking+set}" = set; then :
14850 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14852 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14853 stage1_checking=--enable-checking=yes,types
14855 stage1_checking=--enable-checking=$enable_checking,types
14861 # Enable -Werror in bootstrap stage2 and later.
14862 # Check whether --enable-werror was given.
14863 if test "${enable_werror+set}" = set; then :
14864 enableval=$enable_werror;
14866 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14873 case ${enable_werror} in
14874 yes) stage2_werror_flag="--enable-werror-always" ;;
14875 *) stage2_werror_flag="" ;;
14879 # Enable --enable-host-shared.
14880 # Check whether --enable-host-shared was given.
14881 if test "${enable_host_shared+set}" = set; then :
14882 enableval=$enable_host_shared; host_shared=$enableval
14889 # Specify what files to not compare during bootstrap.
14891 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14893 hppa*64*-*-hpux*) ;;
14894 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14895 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14899 ac_config_files="$ac_config_files Makefile
"
14901 cat >confcache <<\_ACEOF
14902 # This file is a shell script that caches the results of configure
14903 # tests run on this system so they can be shared between configure
14904 # scripts and configure runs, see configure's option --config-cache.
14905 # It is not useful on other systems. If it contains results you don't
14906 # want to keep, you may remove or edit it.
14908 # config.status only pays attention to the cache file if you give it
14909 # the --recheck option to rerun configure.
14911 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14912 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14913 # following values.
14917 # The following way of writing the cache mishandles newlines in values,
14918 # but we know of no workaround that is simple, portable, and efficient.
14919 # So, we kill variables containing newlines.
14920 # Ultrix sh set writes to stderr and can't be redirected directly,
14921 # and sets the high bit in the cache file unless we assign to the vars.
14923 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14924 eval ac_val=\$$ac_var
14928 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14929 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14932 _ | IFS | as_nl) ;; #(
14933 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14934 *) { eval $ac_var=; unset $ac_var;} ;;
14940 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14941 *${as_nl}ac_space=\ *)
14942 # `set' does not quote correctly, so add quotes: double-quote
14943 # substitution turns \\\\ into \\, and sed turns \\ into \.
14946 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14949 # `set' quotes correctly as required by POSIX, so do not add quotes.
14950 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14959 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14961 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14963 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14964 if test -w "$cache_file"; then
14965 test "x
$cache_file" != "x
/dev
/null
" &&
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14967 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14968 cat confcache >$cache_file
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14971 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14976 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14977 # Let make expand exec_prefix.
14978 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14980 # Transform confdefs.h into DEFS.
14981 # Protect against shell expansion while executing Makefile rules.
14982 # Protect against Makefile macro expansion.
14984 # If the first sed substitution is executed (which looks for macros that
14985 # take arguments), then branch to the quote section. Otherwise,
14986 # look for a macro that doesn't take arguments.
14996 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14998 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
15002 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
15015 DEFS=`sed -n "$ac_script" confdefs.h`
15020 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15021 # 1. Remove the extension, and $U if already installed.
15022 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
15023 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15024 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15025 # will be set to the directory where LIBOBJS objects are built.
15026 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15027 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
15029 LIBOBJS=$ac_libobjs
15031 LTLIBOBJS=$ac_ltlibobjs
15035 : ${CONFIG_STATUS=./config.status}
15037 ac_clean_files_save=$ac_clean_files
15038 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15040 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15042 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15044 # Generated by $as_me.
15045 # Run this file to recreate the current configuration.
15046 # Compiler output produced by configure, useful for debugging
15047 # configure, is in config.log if it exists.
15050 ac_cs_recheck=false
15053 SHELL=\${CONFIG_SHELL-$SHELL}
15056 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15057 ## -------------------- ##
15058 ## M4sh Initialization. ##
15059 ## -------------------- ##
15061 # Be more Bourne compatible
15062 DUALCASE=1; export DUALCASE # for MKS sh
15063 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15066 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15067 # is contrary to our usage. Disable this feature.
15068 alias -g '${1+"$@"}'='"$@"'
15069 setopt NO_GLOB_SUBST
15071 case `(set -o) 2>/dev/null` in #(
15083 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15084 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15085 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
15086 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15087 # Prefer a ksh shell builtin over an external printf program on Solaris,
15088 # but without wasting forks for bash or zsh.
15089 if test -z "$BASH_VERSION$ZSH_VERSION" \
15090 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15091 as_echo
='print -r --'
15092 as_echo_n
='print -rn --'
15093 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
15094 as_echo
='printf %s\n'
15095 as_echo_n
='printf %s'
15097 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15098 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
15099 as_echo_n
='/usr/ucb/echo -n'
15101 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
15102 as_echo_n_body
='eval
15106 expr "X$arg" : "X\\(.*\\)$as_nl";
15107 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15109 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15111 export as_echo_n_body
15112 as_echo_n
='sh -c $as_echo_n_body as_echo'
15114 export as_echo_body
15115 as_echo
='sh -c $as_echo_body as_echo'
15118 # The user is always right.
15119 if test "${PATH_SEPARATOR+set}" != set; then
15121 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
15122 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
15129 # We need space, tab and new line, in precisely that order. Quoting is
15130 # there to prevent editors from complaining about space-tab.
15131 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15132 # splitting by setting IFS to empty value.)
15135 # Find who we are. Look in the path if we contain no directory separator.
15137 *[\\/]* ) as_myself
=$0 ;;
15138 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15139 for as_dir
in $PATH
15142 test -z "$as_dir" && as_dir
=.
15143 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15149 # We did not find ourselves, most probably we were run as `sh COMMAND'
15150 # in which case we are not to be found in the path.
15151 if test "x$as_myself" = x
; then
15154 if test ! -f "$as_myself"; then
15155 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15159 # Unset variables that we do not need and which cause bugs (e.g. in
15160 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15161 # suppresses any "Segmentation fault" message there. '((' could
15162 # trigger a bug in pdksh 5.2.14.
15163 for as_var
in BASH_ENV ENV MAIL MAILPATH
15164 do eval test x\
${$as_var+set} = xset \
15165 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15178 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15181 # as_fn_error ERROR [LINENO LOG_FD]
15182 # ---------------------------------
15183 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15184 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15185 # script with status $?, using 1 if that was 0.
15188 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15190 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15191 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15193 $as_echo "$as_me: error: $1" >&2
15194 as_fn_exit
$as_status
15198 # as_fn_set_status STATUS
15199 # -----------------------
15200 # Set $? to STATUS, without forking.
15201 as_fn_set_status
()
15204 } # as_fn_set_status
15206 # as_fn_exit STATUS
15207 # -----------------
15208 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15212 as_fn_set_status
$1
15218 # Portably unset VAR.
15221 { eval $1=; unset $1;}
15223 as_unset
=as_fn_unset
15224 # as_fn_append VAR VALUE
15225 # ----------------------
15226 # Append the text in VALUE to the end of the definition contained in VAR. Take
15227 # advantage of any shell optimizations that allow amortized linear growth over
15228 # repeated appends, instead of the typical quadratic growth present in naive
15230 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15231 eval 'as_fn_append ()
15242 # as_fn_arith ARG...
15243 # ------------------
15244 # Perform arithmetic evaluation on the ARGs, and store the result in the
15245 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15246 # must be portable across $(()) and expr.
15247 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15248 eval 'as_fn_arith ()
15255 as_val
=`expr "$@" || test $? -eq 1`
15260 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15261 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15267 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15268 as_basename
=basename
15273 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15279 as_me
=`$as_basename -- "$0" ||
15280 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15281 X"$0" : 'X\(//\)$' \| \
15282 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15284 sed '/^.*\/\([^/][^/]*\)\/*$/{
15298 # Avoid depending upon Character Ranges.
15299 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15300 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15301 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15302 as_cr_digits
='0123456789'
15303 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15305 ECHO_C
= ECHO_N
= ECHO_T
=
15306 case `echo -n x` in #(((((
15308 case `echo 'xy\c'` in
15309 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15311 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15318 rm -f conf$$ conf$$.exe conf$$.
file
15319 if test -d conf$$.dir
; then
15320 rm -f conf$$.dir
/conf$$.
file
15323 mkdir conf$$.dir
2>/dev
/null
15325 if (echo >conf$$.
file) 2>/dev
/null
; then
15326 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15328 # ... but there are two gotchas:
15329 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15330 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15331 # In both cases, we have to default to `cp -p'.
15332 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15334 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15342 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15343 rmdir conf$$.dir
2>/dev
/null
15348 # Create "$as_dir" as a directory, including parents if necessary.
15353 -*) as_dir
=.
/$as_dir;;
15355 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15359 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15360 *) as_qdir
=$as_dir;;
15362 as_dirs
="'$as_qdir' $as_dirs"
15363 as_dir
=`$as_dirname -- "$as_dir" ||
15364 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15365 X"$as_dir" : 'X\(//\)[^/]' \| \
15366 X"$as_dir" : 'X\(//\)$' \| \
15367 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15368 $as_echo X"$as_dir" |
15369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15373 /^X\(\/\/\)[^/].*/{
15386 test -d "$as_dir" && break
15388 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15389 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15393 if mkdir
-p .
2>/dev
/null
; then
15394 as_mkdir_p
='mkdir -p "$as_dir"'
15396 test -d .
/-p && rmdir .
/-p
15400 if test -x / >/dev
/null
2>&1; then
15401 as_test_x
='test -x'
15403 if ls -dL / >/dev
/null
2>&1; then
15410 if test -d "$1"; then
15416 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15417 ???[sx]*):;;*)false;;esac;fi
15421 as_executable_p
=$as_test_x
15423 # Sed expression to map a string onto a valid CPP name.
15424 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15426 # Sed expression to map a string onto a valid variable name.
15427 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15431 ## ----------------------------------- ##
15432 ## Main body of $CONFIG_STATUS script. ##
15433 ## ----------------------------------- ##
15435 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15438 # Save the log message, to keep $0 and so on meaningful, and to
15439 # report actual input values of CONFIG_FILES etc. instead of their
15440 # values after options handling.
15442 This file was extended by $as_me, which was
15443 generated by GNU Autoconf 2.64. Invocation command line was
15445 CONFIG_FILES = $CONFIG_FILES
15446 CONFIG_HEADERS = $CONFIG_HEADERS
15447 CONFIG_LINKS = $CONFIG_LINKS
15448 CONFIG_COMMANDS = $CONFIG_COMMANDS
15451 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15456 case $ac_config_files in *"
15457 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15463 # Files that config.status was made for.
15464 config_files="$ac_config_files"
15468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15470 \`$as_me' instantiates files and other configuration actions
15471 from templates according to the current configuration. Unless the files
15472 and actions are specified as TAGs, all are instantiated by default.
15474 Usage: $0 [OPTION]... [TAG]...
15476 -h, --help print this help, then exit
15477 -V, --version print version number and configuration settings, then exit
15478 -q, --quiet, --silent
15479 do not print progress messages
15480 -d, --debug don't remove temporary files
15481 --recheck update $as_me by reconfiguring in the same conditions
15482 --file=FILE[:TEMPLATE]
15483 instantiate the configuration file FILE
15485 Configuration files:
15488 Report bugs to the package provider."
15491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15494 configured by $0, generated by GNU Autoconf 2.64,
15495 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15497 Copyright (C) 2009 Free Software Foundation, Inc.
15498 This config.status script is free software; the Free Software Foundation
15499 gives unlimited permission to copy, distribute and modify it."
15505 test -n "\$AWK" || AWK=awk
15508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15509 # The default lists apply if the user does not specify any file.
15515 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15516 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15527 # Handling of the options.
15528 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15530 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15531 $as_echo "$ac_cs_version"; exit ;;
15532 --debug |
--debu |
--deb |
--de |
--d |
-d )
15534 --file |
--fil |
--fi |
--f )
15537 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15539 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15540 ac_need_defaults
=false
;;
15541 --he |
--h |
--help |
--hel |
-h )
15542 $as_echo "$ac_cs_usage"; exit ;;
15543 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15544 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15547 # This is an error.
15548 -*) as_fn_error
"unrecognized option: \`$1'
15549 Try \`$0 --help' for more information." ;;
15551 *) as_fn_append ac_config_targets
" $1"
15552 ac_need_defaults
=false
;;
15558 ac_configure_extra_args
=
15560 if $ac_cs_silent; then
15562 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15567 if \$ac_cs_recheck; then
15568 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15570 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15571 CONFIG_SHELL='$SHELL'
15572 export CONFIG_SHELL
15577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15581 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15582 ## Running $as_me. ##
15588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15592 extrasub_build="$extrasub_build"
15593 extrasub_host="$extrasub_host"
15594 extrasub_target="$extrasub_target"
15598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15600 # Handling of arguments.
15601 for ac_config_target
in $ac_config_targets
15603 case $ac_config_target in
15604 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15606 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15611 # If the user did not use the arguments to specify the items to instantiate,
15612 # then the envvar interface is used. Set only those that are not.
15613 # We use the long form for the default assignment because of an extremely
15614 # bizarre bug on SunOS 4.1.3.
15615 if $ac_need_defaults; then
15616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15619 # Have a temporary directory for convenience. Make it in the build tree
15620 # simply because there is no reason against having it here, and in addition,
15621 # creating and moving files from /tmp can sometimes cause problems.
15622 # Hook for its removal unless debugging.
15623 # Note that there is a small window in which the directory will not be cleaned:
15624 # after its creation but before its name has been assigned to `$tmp'.
15628 trap 'exit_status=$?
15629 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15631 trap 'as_fn_exit 1' 1 2 13 15
15633 # Create a (secure) tmp directory for tmp files.
15636 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15637 test -n "$tmp" && test -d "$tmp"
15640 tmp
=.
/conf$$
-$RANDOM
15641 (umask 077 && mkdir
"$tmp")
15642 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15644 # Set up the scripts for CONFIG_FILES section.
15645 # No need to generate them if there are no CONFIG_FILES.
15646 # This happens for instance with `./config.status config.h'.
15647 if test -n "$CONFIG_FILES"; then
15649 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15650 ac_cs_awk_getline
=:
15651 ac_cs_awk_pipe_init
=
15652 ac_cs_awk_read_file
='
15653 while ((getline aline < (F[key])) > 0)
15656 ac_cs_awk_pipe_fini
=
15658 ac_cs_awk_getline
=false
15659 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15660 ac_cs_awk_read_file
='
15662 print "cat " F[key] " &&"
15663 '$ac_cs_awk_pipe_init
15664 # The final `:' finishes the AND list.
15665 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15667 ac_cr
=`echo X | tr X '\015'`
15668 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15669 # But we know of no other shell where ac_cr would be empty at this
15670 # point, so we can use a bashism as a fallback.
15671 if test "x$ac_cr" = x
; then
15672 eval ac_cr
=\$
\'\\r
\'
15674 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15675 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15678 ac_cs_awk_cr
=$ac_cr
15681 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15684 # Create commands to substitute file output variables.
15686 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15687 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15688 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15691 } >conf$
$files.sh
&&
15692 . .
/conf$
$files.sh ||
15693 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15694 rm -f conf$
$files.sh
15697 echo "cat >conf$$subs.awk <<_ACEOF" &&
15698 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15700 } >conf$$subs.sh ||
15701 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15702 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15704 for ac_last_try in false false false false false :; do
15705 . ./conf$$subs.sh ||
15706 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15708 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15709 if test $ac_delim_n = $ac_delim_num; then
15711 elif $ac_last_try; then
15712 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15714 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15717 rm -f conf$$subs.sh
15719 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15720 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15724 s/^/S["/; s
/!.
*/"]=/
15734 s/\(.\{148\}\).*/\1/
15736 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15741 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15748 s/\(.\{148\}\).*/\1/
15750 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15754 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15759 ' <conf$$subs.awk | sed '
15764 ' >>$CONFIG_STATUS || ac_write_fail=1
15765 rm -f conf$$subs.awk
15766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15769 for (key in S) S_is_set[key] = 1
15771 \$ac_cs_awk_pipe_init
15775 nfields = split(line, field, "@
")
15777 len = length(field[1])
15778 for (i = 2; i < nfields; i++) {
15780 keylen = length(key)
15781 if (S_is_set[key]) {
15783 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15784 len += length(value) + length(field[++i])
15789 if (nfields == 3 && !substed) {
15791 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15792 \$ac_cs_awk_read_file
15798 \$ac_cs_awk_pipe_fini
15801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15802 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15803 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15806 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15807 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15810 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15811 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15812 # trailing colons and then remove the whole line if VPATH becomes empty
15813 # (actually we leave an empty line to preserve line numbers).
15814 if test "x
$srcdir" = x.; then
15815 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15816 s/:*\$(srcdir):*/:/
15817 s/:*\${srcdir}:*/:/
15819 s/^\([^=]*=[ ]*\):*/\1/
15825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15826 fi # test -n "$CONFIG_FILES"
15829 eval set X " :F
$CONFIG_FILES "
15834 :[FHLC]) ac_mode=$ac_tag; continue;;
15836 case $ac_mode$ac_tag in
15838 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15839 :[FH]-) ac_tag=-:-;;
15840 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15857 -) ac_f="$tmp/stdin";;
15858 *) # Look for the file first in the build tree, then in the source tree
15859 # (if the path is not absolute). The absolute path cannot be DOS-style,
15860 # because $ac_f cannot contain `:'.
15864 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15866 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15868 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15869 as_fn_append ac_file_inputs " '$ac_f'"
15872 # Let's still pretend it is `configure' which instantiates (i.e., don't
15873 # use $as_me), people would be surprised to read:
15874 # /* config.h. Generated by config.status. */
15875 configure_input='Generated from '`
15876 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15878 if test x"$ac_file" != x-; then
15879 configure_input="$ac_file.
$configure_input"
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15881 $as_echo "$as_me: creating
$ac_file" >&6;}
15883 # Neutralize special characters interpreted by sed in replacement strings.
15884 case $configure_input in #(
15885 *\&* | *\|* | *\\* )
15886 ac_sed_conf_input=`$as_echo "$configure_input" |
15887 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15888 *) ac_sed_conf_input=$configure_input;;
15892 *:-:* | *:-) cat >"$tmp/stdin
" \
15893 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15898 ac_dir=`$as_dirname -- "$ac_file" ||
15899 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15900 X"$ac_file" : 'X\(//\)[^/]' \| \
15901 X"$ac_file" : 'X\(//\)$' \| \
15902 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15903 $as_echo X"$ac_file" |
15904 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15908 /^X\(\/\/\)[^/].*/{
15921 as_dir="$ac_dir"; as_fn_mkdir_p
15925 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15927 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15928 # A "..
" for each directory in $ac_dir_suffix.
15929 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15930 case $ac_top_builddir_sub in
15931 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15932 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15935 ac_abs_top_builddir=$ac_pwd
15936 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15937 # for backward compatibility:
15938 ac_top_builddir=$ac_top_build_prefix
15941 .) # We are building in place.
15943 ac_top_srcdir=$ac_top_builddir_sub
15944 ac_abs_top_srcdir=$ac_pwd ;;
15945 [\\/]* | ?:[\\/]* ) # Absolute name.
15946 ac_srcdir=$srcdir$ac_dir_suffix;
15947 ac_top_srcdir=$srcdir
15948 ac_abs_top_srcdir=$srcdir ;;
15949 *) # Relative name.
15950 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15951 ac_top_srcdir=$ac_top_build_prefix$srcdir
15952 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15954 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15964 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15965 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15970 # If the template does not know about datarootdir, expand it.
15971 # FIXME: This hack should be removed a few years after 2.60.
15972 ac_datarootdir_hack=; ac_datarootdir_seen=
15983 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15984 *datarootdir*) ac_datarootdir_seen=yes;;
15985 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15987 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15990 ac_datarootdir_hack='
15991 s&@datadir@&$datadir&g
15992 s&@docdir@&$docdir&g
15993 s&@infodir@&$infodir&g
15994 s&@localedir@&$localedir&g
15995 s&@mandir@&$mandir&g
15996 s&\\\${datarootdir}&$datarootdir&g' ;;
16000 # Neutralize VPATH when `$srcdir' = `.'.
16001 # Shell code in configure.ac might set extrasub.
16002 # FIXME: do we really want to maintain this feature?
16003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16004 ac_sed_extra="$ac_vpsub
16007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16009 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16010 s|@configure_input@|
$ac_sed_conf_input|
;t t
16011 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16012 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16013 s
&@srcdir@
&$ac_srcdir&;t t
16014 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16015 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16016 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16017 s
&@builddir@
&$ac_builddir&;t t
16018 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16019 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16020 s
&@INSTALL@
&$ac_INSTALL&;t t
16021 $ac_datarootdir_hack
16023 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16024 if $ac_cs_awk_getline; then
16025 $AWK -f "$tmp/subs.
awk"
16027 $AWK -f "$tmp/subs.
awk" | $SHELL
16029 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16031 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16032 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16033 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16035 which seems to be undefined. Please make sure it is defined." >&5
16036 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16037 which seems to be undefined. Please make sure it is defined." >&2;}
16041 -) cat "$tmp/out" && rm -f "$tmp/out";;
16042 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16044 || as_fn_error "could not create $ac_file" "$LINENO" 5
16052 case $ac_file$ac_mode in
16053 "Makefile":F) sed "$extrasub_build" Makefile |
16054 sed "$extrasub_host" |
16055 sed "$extrasub_target" > mf$$
16056 mv -f mf$$ Makefile ;;
16064 ac_clean_files=$ac_clean_files_save
16066 test $ac_write_fail = 0 ||
16067 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16070 # configure is writing to config.log, and then calls config.status.
16071 # config.status does its own redirection, appending to config.log.
16072 # Unfortunately, on DOS this fails, as config.log is still kept open
16073 # by configure, so config.status won't be able to
write to it
; its
16074 # output is simply discarded. So we exec the FD to /dev/null,
16075 # effectively closing config.log, so it can be properly (re)opened and
16076 # appended to by config.status. When coming back to configure, we
16077 # need to make the FD available again.
16078 if test "$no_create" != yes; then
16080 ac_config_status_args
=
16081 test "$silent" = yes &&
16082 ac_config_status_args
="$ac_config_status_args --quiet"
16084 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16086 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16087 # would make configure fail if this is the last instruction.
16088 $ac_cs_success || as_fn_exit $?
16090 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16092 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}