2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_libiberty_configure_flags
647 extra_linker_plugin_flags
648 extra_linker_plugin_configure_flags
657 extra_isl_gmp_configure_flags
658 extra_mpc_mpfr_configure_flags
659 extra_mpc_gmp_configure_flags
660 extra_mpfr_configure_flags
676 EXTRA_CONFIGARGS_LIBJAVA
703 TOPLEVEL_CONFIGURE_ARGUMENTS
731 program_transform_name
742 ac_subst_files
='serialization_dependencies
748 enable_option_checking
753 enable_libquadmath_support
757 enable_static_libjava
779 enable_isl_version_check
782 enable_cloog_version_check
784 enable_linker_plugin_configure_flags
785 enable_linker_plugin_flags
786 enable_stage1_languages
789 with_debug_prefix_map
792 enable_serial_configure
793 with_build_time_tools
794 enable_maintainer_mode
795 enable_stage1_checking
799 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 ac_unrecognized_opts
=
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
952 as_fn_error
"invalid feature name: $ac_useropt"
953 ac_useropt_orig
=$ac_useropt
954 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955 case $ac_user_opts in
959 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960 ac_unrecognized_sep
=', ';;
962 eval enable_
$ac_useropt=no
;;
964 -docdir |
--docdir |
--docdi |
--doc |
--do)
966 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
969 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
971 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
974 -enable-* |
--enable-*)
975 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
978 as_fn_error
"invalid feature name: $ac_useropt"
979 ac_useropt_orig
=$ac_useropt
980 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986 ac_unrecognized_sep
=', ';;
988 eval enable_
$ac_useropt=\
$ac_optarg ;;
990 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
991 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
992 |
--exec |
--exe |
--ex)
993 ac_prev
=exec_prefix
;;
994 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
995 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
996 |
--exec=* |
--exe=* |
--ex=*)
997 exec_prefix
=$ac_optarg ;;
999 -gas |
--gas |
--ga |
--g)
1000 # Obsolete; use --with-gas.
1003 -help |
--help |
--hel |
--he |
-h)
1004 ac_init_help
=long
;;
1005 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1006 ac_init_help
=recursive
;;
1007 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1008 ac_init_help
=short
;;
1010 -host |
--host |
--hos |
--ho)
1011 ac_prev
=host_alias
;;
1012 -host=* |
--host=* |
--hos=* |
--ho=*)
1013 host_alias
=$ac_optarg ;;
1015 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1017 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1019 htmldir
=$ac_optarg ;;
1021 -includedir |
--includedir |
--includedi |
--included |
--include \
1022 |
--includ |
--inclu |
--incl |
--inc)
1023 ac_prev
=includedir
;;
1024 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1025 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1026 includedir
=$ac_optarg ;;
1028 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1030 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1031 infodir
=$ac_optarg ;;
1033 -libdir |
--libdir |
--libdi |
--libd)
1035 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1036 libdir
=$ac_optarg ;;
1038 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1039 |
--libexe |
--libex |
--libe)
1040 ac_prev
=libexecdir
;;
1041 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1042 |
--libexe=* |
--libex=* |
--libe=*)
1043 libexecdir
=$ac_optarg ;;
1045 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1046 ac_prev
=localedir
;;
1047 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1048 localedir
=$ac_optarg ;;
1050 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1051 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1052 ac_prev
=localstatedir
;;
1053 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1054 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1055 localstatedir
=$ac_optarg ;;
1057 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1059 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1060 mandir
=$ac_optarg ;;
1062 -nfp |
--nfp |
--nf)
1063 # Obsolete; use --without-fp.
1066 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1067 |
--no-cr |
--no-c |
-n)
1070 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1071 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1074 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1075 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1076 |
--oldin |
--oldi |
--old |
--ol |
--o)
1077 ac_prev
=oldincludedir
;;
1078 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1079 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1080 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1081 oldincludedir
=$ac_optarg ;;
1083 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1085 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1086 prefix
=$ac_optarg ;;
1088 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1089 |
--program-pre |
--program-pr |
--program-p)
1090 ac_prev
=program_prefix
;;
1091 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1092 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1093 program_prefix
=$ac_optarg ;;
1095 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1096 |
--program-suf |
--program-su |
--program-s)
1097 ac_prev
=program_suffix
;;
1098 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1099 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1100 program_suffix
=$ac_optarg ;;
1102 -program-transform-name |
--program-transform-name \
1103 |
--program-transform-nam |
--program-transform-na \
1104 |
--program-transform-n |
--program-transform- \
1105 |
--program-transform |
--program-transfor \
1106 |
--program-transfo |
--program-transf \
1107 |
--program-trans |
--program-tran \
1108 |
--progr-tra |
--program-tr |
--program-t)
1109 ac_prev
=program_transform_name
;;
1110 -program-transform-name=* |
--program-transform-name=* \
1111 |
--program-transform-nam=* |
--program-transform-na=* \
1112 |
--program-transform-n=* |
--program-transform-=* \
1113 |
--program-transform=* |
--program-transfor=* \
1114 |
--program-transfo=* |
--program-transf=* \
1115 |
--program-trans=* |
--program-tran=* \
1116 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1117 program_transform_name
=$ac_optarg ;;
1119 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1121 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1122 pdfdir
=$ac_optarg ;;
1124 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1126 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1129 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1130 |
-silent |
--silent |
--silen |
--sile |
--sil)
1133 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1135 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1137 sbindir
=$ac_optarg ;;
1139 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1140 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1141 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1143 ac_prev
=sharedstatedir
;;
1144 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1145 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1146 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1148 sharedstatedir
=$ac_optarg ;;
1150 -site |
--site |
--sit)
1152 -site=* |
--site=* |
--sit=*)
1155 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1157 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1158 srcdir
=$ac_optarg ;;
1160 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1161 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1162 ac_prev
=sysconfdir
;;
1163 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1164 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1165 sysconfdir
=$ac_optarg ;;
1167 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1168 ac_prev
=target_alias
;;
1169 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1170 target_alias
=$ac_optarg ;;
1172 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1175 -version |
--version |
--versio |
--versi |
--vers |
-V)
1176 ac_init_version
=: ;;
1179 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1182 as_fn_error
"invalid package name: $ac_useropt"
1183 ac_useropt_orig
=$ac_useropt
1184 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185 case $ac_user_opts in
1189 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190 ac_unrecognized_sep
=', ';;
1192 eval with_
$ac_useropt=\
$ac_optarg ;;
1194 -without-* |
--without-*)
1195 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196 # Reject names that are not valid shell variable names.
1197 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1198 as_fn_error
"invalid package name: $ac_useropt"
1199 ac_useropt_orig
=$ac_useropt
1200 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201 case $ac_user_opts in
1205 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206 ac_unrecognized_sep
=', ';;
1208 eval with_
$ac_useropt=no
;;
1211 # Obsolete; use --with-x.
1214 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1215 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1216 ac_prev
=x_includes
;;
1217 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1218 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1219 x_includes
=$ac_optarg ;;
1221 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1222 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1223 ac_prev
=x_libraries
;;
1224 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1225 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1226 x_libraries
=$ac_optarg ;;
1228 -*) as_fn_error
"unrecognized option: \`$ac_option'
1229 Try \`$0 --help' for more information."
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 case $ac_envvar in #(
1236 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1237 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1239 eval $ac_envvar=\
$ac_optarg
1240 export $ac_envvar ;;
1243 # FIXME: should be removed in autoconf 3.0.
1244 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1246 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1253 if test -n "$ac_prev"; then
1254 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1255 as_fn_error
"missing argument to $ac_option"
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1262 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1266 # Check all directory arguments for consistency.
1267 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268 datadir sysconfdir sharedstatedir localstatedir includedir \
1269 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270 libdir localedir mandir
1272 eval ac_val
=\$
$ac_var
1273 # Remove trailing slashes.
1276 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277 eval $ac_var=\
$ac_val;;
1279 # Be sure to have absolute directory names.
1281 [\\/$
]* | ?
:[\\/]* ) continue;;
1282 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1284 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1287 # There might be people who depend on the old broken behavior: `$host'
1288 # used to hold the argument of --host etc.
1289 # FIXME: To remove some day.
1292 target
=$target_alias
1294 # FIXME: To remove some day.
1295 if test "x$host_alias" != x
; then
1296 if test "x$build_alias" = x
; then
1297 cross_compiling
=maybe
1298 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1299 If a cross compiler is detected then cross compile mode will be used." >&2
1300 elif test "x$build_alias" != "x$host_alias"; then
1306 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1308 test "$silent" = yes && exec 6>/dev
/null
1311 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1312 ac_ls_di
=`ls -di .` &&
1313 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1314 as_fn_error
"working directory cannot be determined"
1315 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1316 as_fn_error
"pwd does not report name of working directory"
1319 # Find the source files, if location was not specified.
1320 if test -z "$srcdir"; then
1321 ac_srcdir_defaulted
=yes
1322 # Try the directory containing this script, then the parent directory.
1323 ac_confdir
=`$as_dirname -- "$as_myself" ||
1324 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1325 X"$as_myself" : 'X\(//\)[^/]' \| \
1326 X"$as_myself" : 'X\(//\)$' \| \
1327 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1328 $as_echo X"$as_myself" |
1329 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1347 if test ! -r "$srcdir/$ac_unique_file"; then
1351 ac_srcdir_defaulted
=no
1353 if test ! -r "$srcdir/$ac_unique_file"; then
1354 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1355 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1357 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1361 # When building in place, set srcdir=.
1362 if test "$ac_abs_confdir" = "$ac_pwd"; then
1365 # Remove unnecessary trailing slashes from srcdir.
1366 # Double slashes in file names in object file debugging info
1367 # mess up M-x gdb in Emacs.
1369 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1373 as_fn_error
"path to source, $srcdir, contains spaces"
1376 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1378 for ac_var
in $ac_precious_vars; do
1379 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1380 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1381 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1382 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1386 # Report the --help message.
1388 if test "$ac_init_help" = "long"; then
1389 # Omit some internal or obsolete options to make the list less imposing.
1390 # This message is too long to be a string in the A/UX 3.1 sh.
1392 \`configure' configures this package to adapt to many kinds of systems.
1394 Usage: $0 [OPTION]... [VAR=VALUE]...
1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1397 VAR=VALUE. See below for descriptions of some of the useful variables.
1399 Defaults for the options are specified in brackets.
1402 -h, --help display this help and exit
1403 --help=short display options specific to this package
1404 --help=recursive display the short help of all the included packages
1405 -V, --version display version information and exit
1406 -q, --quiet, --silent do not print \`checking...' messages
1407 --cache-file=FILE cache test results in FILE [disabled]
1408 -C, --config-cache alias for \`--cache-file=config.cache'
1409 -n, --no-create do not create output files
1410 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1412 Installation directories:
1413 --prefix=PREFIX install architecture-independent files in PREFIX
1414 [$ac_default_prefix]
1415 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1418 By default, \`make install' will install all the files in
1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1421 for instance \`--prefix=\$HOME'.
1423 For better control, use the options below.
1425 Fine tuning of the installation directories:
1426 --bindir=DIR user executables [EPREFIX/bin]
1427 --sbindir=DIR system admin executables [EPREFIX/sbin]
1428 --libexecdir=DIR program executables [EPREFIX/libexec]
1429 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1430 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1431 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1432 --libdir=DIR object code libraries [EPREFIX/lib]
1433 --includedir=DIR C header files [PREFIX/include]
1434 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1435 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1436 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1437 --infodir=DIR info documentation [DATAROOTDIR/info]
1438 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1439 --mandir=DIR man documentation [DATAROOTDIR/man]
1440 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1441 --htmldir=DIR html documentation [DOCDIR]
1442 --dvidir=DIR dvi documentation [DOCDIR]
1443 --pdfdir=DIR pdf documentation [DOCDIR]
1444 --psdir=DIR ps documentation [DOCDIR]
1450 --program-prefix=PREFIX prepend PREFIX to installed program names
1451 --program-suffix=SUFFIX append SUFFIX to installed program names
1452 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1455 --build=BUILD configure
for building on BUILD
[guessed
]
1456 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1457 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1461 if test -n "$ac_init_help"; then
1466 --disable-option-checking ignore unrecognized
--enable/--with options
1467 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1468 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1469 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1470 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1471 --disable-libquadmath do not build libquadmath directory
1472 --disable-libquadmath-support
1473 disable libquadmath support
for Fortran
1474 --enable-libada build libada directory
1475 --enable-libssp build libssp directory
1476 --disable-libstdcxx do not build libstdc
++-v3 directory
1477 --enable-static-libjava[=ARG
]
1478 build static libjava
[default
=no
]
1479 --enable-bootstrap enable bootstrapping
[yes if native build
]
1480 --disable-isl-version-check
1481 disable check
for ISL version
1482 --disable-cloog-version-check
1483 disable check
for CLooG version
1484 --enable-lto enable link
time optimization support
1485 --enable-linker-plugin-configure-flags=FLAGS
1486 additional flags
for configuring linker plugins
1488 --enable-linker-plugin-flags=FLAGS
1489 additional flags
for configuring and building linker
1491 --enable-stage1-languages[=all
]
1492 choose additional languages to build during stage1.
1493 Mostly useful
for compiler development
1494 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1496 --enable-vtable-verify Enable vtable verification feature
1497 --enable-serial-[{host,target,build}-]configure
1498 force sequential configuration of sub-packages for
1499 the host, target or build machine, or all
1501 --enable-maintainer-mode
1502 enable make rules and dependencies not useful (and
1503 sometimes confusing) to the casual installer
1504 --enable-stage1-checking[=all]
1505 choose additional checking for stage1 of the
1507 --enable-werror enable -Werror in bootstrap stage2 and later
1508 --enable-host-shared build host code as shared libraries
1511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513 --with-build-libsubdir=DIR Directory where to find libraries for build system
1514 --with-mpc=PATH specify prefix directory for installed MPC package.
1515 Equivalent to --with-mpc-include=PATH/include plus
1516 --with-mpc-lib=PATH/lib
1517 --with-mpc-include=PATH specify directory for installed MPC include files
1518 --with-mpc-lib=PATH specify directory for the installed MPC library
1519 --with-mpfr-dir=PATH this option has been REMOVED
1520 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1521 Equivalent to --with-mpfr-include=PATH/include plus
1522 --with-mpfr-lib=PATH/lib
1523 --with-mpfr-include=PATH
1524 specify directory for installed MPFR include files
1525 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1526 --with-gmp-dir=PATH this option has been REMOVED
1527 --with-gmp=PATH specify prefix directory for the installed GMP
1528 package. Equivalent to
1529 --with-gmp-include=PATH/include plus
1530 --with-gmp-lib=PATH/lib
1531 --with-gmp-include=PATH specify directory for installed GMP include files
1532 --with-gmp-lib=PATH specify directory for the installed GMP library
1533 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1535 --with-stage1-libs=LIBS libraries for stage1
1536 --with-stage1-ldflags=FLAGS
1537 linker flags for stage1
1538 --with-boot-libs=LIBS libraries for stage2 and later
1539 --with-boot-ldflags=FLAGS
1540 linker flags for stage2 and later
1541 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1542 package. Equivalent to
1543 --with-cloog-include=PATH/include plus
1544 --with-cloog-lib=PATH/lib
1545 --with-isl=PATH Specify prefix directory for the installed ISL
1546 package. Equivalent to
1547 --with-isl-include=PATH/include plus
1548 --with-isl-lib=PATH/lib
1549 --with-isl-include=PATH Specify directory for installed ISL include files
1550 --with-isl-lib=PATH Specify the directory for the installed ISL library
1551 --with-cloog-include=PATH
1552 Specify directory for installed CLooG include files
1553 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1555 --with-build-sysroot=SYSROOT
1556 use sysroot as the system root during the build
1557 --with-debug-prefix-map='A
=B C
=D ...
'
1558 map A to B, C to D ... in debug information
1559 --with-build-config='NAME NAME2...
'
1560 use config/NAME.mk build configuration
1561 --with-build-time-tools=PATH
1562 use given path to find target tools during the build
1564 Some influential environment variables:
1565 CC C compiler command
1566 CFLAGS C compiler flags
1567 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1568 nonstandard directory <lib dir>
1569 LIBS libraries to pass to the linker, e.g. -l<library>
1570 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1571 you have headers in a nonstandard directory <include dir>
1572 CXX C++ compiler command
1573 CXXFLAGS C++ compiler flags
1575 additional configure arguments for build directories
1577 additional configure arguments for host directories
1579 additional configure arguments for target directories
1582 DLLTOOL DLLTOOL for the host
1584 LIPO LIPO for the host
1586 RANLIB RANLIB for the host
1587 STRIP STRIP for the host
1588 WINDRES WINDRES for the host
1589 WINDMC WINDMC for the host
1590 OBJCOPY OBJCOPY for the host
1591 OBJDUMP OBJDUMP for the host
1592 READELF READELF for the host
1602 GFORTRAN for the target
1610 DLLTOOL for the target
1618 OBJDUMP for the target
1620 RANLIB for the target
1622 READELF for the target
1624 STRIP for the target
1626 WINDRES for the target
1628 WINDMC for the target
1630 Use these variables to override the choices made by `configure' or to
help
1631 it to
find libraries and programs with nonstandard names
/locations.
1633 Report bugs to the package provider.
1638 if test "$ac_init_help" = "recursive"; then
1639 # If there are subdirs, report their specific --help.
1640 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1641 test -d "$ac_dir" ||
1642 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1647 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1649 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1650 # A ".." for each directory in $ac_dir_suffix.
1651 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1652 case $ac_top_builddir_sub in
1653 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1654 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1657 ac_abs_top_builddir
=$ac_pwd
1658 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1659 # for backward compatibility:
1660 ac_top_builddir
=$ac_top_build_prefix
1663 .
) # We are building in place.
1665 ac_top_srcdir
=$ac_top_builddir_sub
1666 ac_abs_top_srcdir
=$ac_pwd ;;
1667 [\\/]* | ?
:[\\/]* ) # Absolute name.
1668 ac_srcdir
=$srcdir$ac_dir_suffix;
1669 ac_top_srcdir
=$srcdir
1670 ac_abs_top_srcdir
=$srcdir ;;
1672 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1673 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1674 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1676 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1678 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1679 # Check for guested configure.
1680 if test -f "$ac_srcdir/configure.gnu"; then
1682 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1683 elif test -f "$ac_srcdir/configure"; then
1685 $SHELL "$ac_srcdir/configure" --help=recursive
1687 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1689 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1693 test -n "$ac_init_help" && exit $ac_status
1694 if $ac_init_version; then
1697 generated by GNU Autoconf
2.64
1699 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1700 This configure
script is free software
; the Free Software Foundation
1701 gives unlimited permission to copy
, distribute and modify it.
1706 ## ------------------------ ##
1707 ## Autoconf initialization. ##
1708 ## ------------------------ ##
1710 # ac_fn_c_try_compile LINENO
1711 # --------------------------
1712 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1713 ac_fn_c_try_compile
()
1715 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1716 rm -f conftest.
$ac_objext
1717 if { { ac_try
="$ac_compile"
1719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_compile") 2>conftest.err
1726 if test -s conftest.err; then
1727 grep -v '^ *+' conftest.err >conftest.er1
1728 cat conftest.er1 >&5
1729 mv -f conftest.er1 conftest.err
1731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1732 test $ac_status = 0; } && {
1733 test -z "$ac_c_werror_flag" ||
1734 test ! -s conftest.err
1735 } && test -s conftest.$ac_objext; then :
1738 $as_echo "$as_me: failed program was:" >&5
1739 sed 's/^/| /' conftest.$ac_ext >&5
1743 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 } # ac_fn_c_try_compile
1748 # ac_fn_cxx_try_compile LINENO
1749 # ----------------------------
1750 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1751 ac_fn_cxx_try_compile ()
1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754 rm -f conftest.$ac_objext
1755 if { { ac_try="$ac_compile"
1757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1758 *) ac_try_echo
=$ac_try;;
1760 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761 $as_echo "$ac_try_echo"; } >&5
1762 (eval "$ac_compile") 2>conftest.err
1764 if test -s conftest.err
; then
1765 grep -v '^ *+' conftest.err
>conftest.er1
1766 cat conftest.er1
>&5
1767 mv -f conftest.er1 conftest.err
1769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770 test $ac_status = 0; } && {
1771 test -z "$ac_cxx_werror_flag" ||
1772 test ! -s conftest.err
1773 } && test -s conftest.
$ac_objext; then :
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.
$ac_ext >&5
1781 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1784 } # ac_fn_cxx_try_compile
1786 # ac_fn_cxx_try_link LINENO
1787 # -------------------------
1788 # Try to link conftest.$ac_ext, and return whether this succeeded.
1789 ac_fn_cxx_try_link
()
1791 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1792 rm -f conftest.
$ac_objext conftest
$ac_exeext
1793 if { { ac_try
="$ac_link"
1795 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1796 *) ac_try_echo=$ac_try;;
1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799 $as_echo "$ac_try_echo"; } >&5
1800 (eval "$ac_link") 2>conftest.err
1802 if test -s conftest.err; then
1803 grep -v '^ *+' conftest.err >conftest.er1
1804 cat conftest.er1 >&5
1805 mv -f conftest.er1 conftest.err
1807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808 test $ac_status = 0; } && {
1809 test -z "$ac_cxx_werror_flag" ||
1810 test ! -s conftest.err
1811 } && test -s conftest$ac_exeext && {
1812 test "$cross_compiling" = yes ||
1813 $as_test_x conftest$ac_exeext
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1822 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824 # interfere with the next link command; also delete a directory that is
1825 # left behind by Apple's compiler. We do this before executing the actions.
1826 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 } # ac_fn_cxx_try_link
1832 # ac_fn_c_try_link LINENO
1833 # -----------------------
1834 # Try to link conftest.$ac_ext, and return whether this succeeded.
1837 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838 rm -f conftest.$ac_objext conftest$ac_exeext
1839 if { { ac_try="$ac_link"
1841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1842 *) ac_try_echo
=$ac_try;;
1844 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845 $as_echo "$ac_try_echo"; } >&5
1846 (eval "$ac_link") 2>conftest.err
1848 if test -s conftest.err
; then
1849 grep -v '^ *+' conftest.err
>conftest.er1
1850 cat conftest.er1
>&5
1851 mv -f conftest.er1 conftest.err
1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1854 test $ac_status = 0; } && {
1855 test -z "$ac_c_werror_flag" ||
1856 test ! -s conftest.err
1857 } && test -s conftest
$ac_exeext && {
1858 test "$cross_compiling" = yes ||
1859 $as_test_x conftest
$ac_exeext
1863 $as_echo "$as_me: failed program was:" >&5
1864 sed 's/^/| /' conftest.
$ac_ext >&5
1868 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1869 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1870 # interfere with the next link command; also delete a directory that is
1871 # left behind by Apple's compiler. We do this before executing the actions.
1872 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1876 } # ac_fn_c_try_link
1877 cat >config.log
<<_ACEOF
1878 This file contains any messages produced by compilers while
1879 running configure, to aid debugging if configure makes a mistake.
1881 It was created by $as_me, which was
1882 generated by GNU Autoconf 2.64. Invocation command line was
1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1901 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1903 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1904 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1906 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1907 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1908 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1909 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir
=.
1918 $as_echo "PATH: $as_dir"
1934 # Keep a trace of the command line.
1935 # Strip out --no-create and --no-recursion so they do not pile up.
1936 # Strip out --silent because we don't want to record it for future runs.
1937 # Also quote any args containing shell meta-characters.
1938 # Make two passes to allow for proper duplicate-argument suppression.
1942 ac_must_keep_next
=false
1948 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1949 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1950 |
-silent |
--silent |
--silen |
--sile |
--sil)
1953 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1956 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1958 as_fn_append ac_configure_args1
" '$ac_arg'"
1959 if test $ac_must_keep_next = true
; then
1960 ac_must_keep_next
=false
# Got value, back to normal.
1963 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1964 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1965 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1966 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1967 case "$ac_configure_args0 " in
1968 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1971 -* ) ac_must_keep_next
=true
;;
1974 as_fn_append ac_configure_args
" '$ac_arg'"
1979 { ac_configure_args0
=; unset ac_configure_args0
;}
1980 { ac_configure_args1
=; unset ac_configure_args1
;}
1982 # When interrupted or exit'd, cleanup temporary files, and complete
1983 # config.log. We remove comments because anyway the quotes in there
1984 # would cause problems or look ugly.
1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1987 trap 'exit_status=$?
1988 # Save into config.log some information that might help in debugging.
1993 ## ---------------- ##
1994 ## Cache variables. ##
1995 ## ---------------- ##
1998 # The following way of writing the cache mishandles newlines in values,
2000 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2001 eval ac_val=\$$ac_var
2005 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2006 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2009 _ | IFS | as_nl) ;; #(
2010 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2011 *) { eval $ac_var=; unset $ac_var;} ;;
2016 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2017 *${as_nl}ac_space=\ *)
2019 "s/'\''/'\''\\\\'\'''\''/g;
2020 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2023 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2031 ## ----------------- ##
2032 ## Output variables. ##
2033 ## ----------------- ##
2036 for ac_var in $ac_subst_vars
2038 eval ac_val=\$$ac_var
2040 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2042 $as_echo "$ac_var='\''$ac_val'\''"
2046 if test -n "$ac_subst_files"; then
2048 ## ------------------- ##
2049 ## File substitutions. ##
2050 ## ------------------- ##
2053 for ac_var
in $ac_subst_files
2055 eval ac_val
=\$
$ac_var
2057 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2059 $as_echo "$ac_var='\''$ac_val'\''"
2064 if test -s confdefs.h; then
2074 test "$ac_signal" != 0 &&
2075 $as_echo "$as_me: caught signal $ac_signal"
2076 $as_echo "$as_me: exit $exit_status"
2078 rm -f core *.core core.conftest.* &&
2079 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2082 for ac_signal
in 1 2 13 15; do
2083 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2087 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2088 rm -f -r conftest
* confdefs.h
2090 $as_echo "/* confdefs.h */" > confdefs.h
2092 # Predefined preprocessor variables.
2094 cat >>confdefs.h
<<_ACEOF
2095 #define PACKAGE_NAME "$PACKAGE_NAME"
2098 cat >>confdefs.h
<<_ACEOF
2099 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2102 cat >>confdefs.h
<<_ACEOF
2103 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2106 cat >>confdefs.h
<<_ACEOF
2107 #define PACKAGE_STRING "$PACKAGE_STRING"
2110 cat >>confdefs.h
<<_ACEOF
2111 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2114 cat >>confdefs.h
<<_ACEOF
2115 #define PACKAGE_URL "$PACKAGE_URL"
2119 # Let the site file select an alternate cache file if it wants to.
2120 # Prefer an explicitly selected file to automatically selected ones.
2123 if test -n "$CONFIG_SITE"; then
2124 ac_site_file1
=$CONFIG_SITE
2125 elif test "x$prefix" != xNONE
; then
2126 ac_site_file1
=$prefix/share
/config.site
2127 ac_site_file2
=$prefix/etc
/config.site
2129 ac_site_file1
=$ac_default_prefix/share
/config.site
2130 ac_site_file2
=$ac_default_prefix/etc
/config.site
2132 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2134 test "x$ac_site_file" = xNONE
&& continue
2135 if test -r "$ac_site_file"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2137 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2138 sed 's/^/| /' "$ac_site_file" >&5
2143 if test -r "$cache_file"; then
2144 # Some versions of bash will fail to source /dev/null (special
2145 # files actually), so we avoid doing that.
2146 if test -f "$cache_file"; then
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2148 $as_echo "$as_me: loading cache $cache_file" >&6;}
2150 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2151 *) .
"./$cache_file";;
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2156 $as_echo "$as_me: creating cache $cache_file" >&6;}
2160 # Check that the precious variables saved in the cache have kept the same
2162 ac_cache_corrupted
=false
2163 for ac_var
in $ac_precious_vars; do
2164 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2165 eval ac_new_set
=\
$ac_env_${ac_var}_set
2166 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2167 eval ac_new_val
=\
$ac_env_${ac_var}_value
2168 case $ac_old_set,$ac_new_set in
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2171 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2172 ac_cache_corrupted
=: ;;
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2175 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2176 ac_cache_corrupted
=: ;;
2179 if test "x$ac_old_val" != "x$ac_new_val"; then
2180 # differences in whitespace do not lead to failure.
2181 ac_old_val_w
=`echo x $ac_old_val`
2182 ac_new_val_w
=`echo x $ac_new_val`
2183 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2185 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2186 ac_cache_corrupted
=:
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2189 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2190 eval $ac_var=\
$ac_old_val
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2193 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2195 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2198 # Pass precious variables to config.status.
2199 if test "$ac_new_set" = set; then
2201 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2202 *) ac_arg
=$ac_var=$ac_new_val ;;
2204 case " $ac_configure_args " in
2205 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2206 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2210 if $ac_cache_corrupted; then
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2214 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2215 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2217 ## -------------------- ##
2218 ## Main body of script. ##
2219 ## -------------------- ##
2222 ac_cpp
='$CPP $CPPFLAGS'
2223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2236 # if PWD already has a value, it is probably wrong.
2237 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2239 # Export original configure arguments for use by sub-configures.
2240 # Quote arguments with shell meta charatcers.
2241 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2242 set -- "$progname" "$@"
2246 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2247 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2248 # if the argument is of the form -foo=baz, quote the baz part only
2249 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2252 # Add the quoted argument to the list.
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2255 if test "$silent" = yes; then
2256 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2258 # Remove the initial space we just introduced and, as these will be
2259 # expanded by make, quote '$'.
2260 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2263 # Find the build, host, and target systems.
2265 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2266 for ac_t
in install-sh
install.sh shtool
; do
2267 if test -f "$ac_dir/$ac_t"; then
2269 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2274 if test -z "$ac_aux_dir"; then
2275 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2278 # These three variables are undocumented and unsupported,
2279 # and are intended to be withdrawn in a future Autoconf release.
2280 # They can cause serious problems if a builder's source tree is in a directory
2281 # whose full name contains unusual characters.
2282 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2283 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2284 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2287 # Make sure we can run config.sub.
2288 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2289 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2292 $as_echo_n "checking build system type... " >&6; }
2293 if test "${ac_cv_build+set}" = set; then :
2294 $as_echo_n "(cached) " >&6
2296 ac_build_alias
=$build_alias
2297 test "x$ac_build_alias" = x
&&
2298 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2299 test "x$ac_build_alias" = x
&&
2300 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2301 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2302 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2306 $as_echo "$ac_cv_build" >&6; }
2307 case $ac_cv_build in
2309 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2312 ac_save_IFS
=$IFS; IFS
='-'
2318 # Remember, the first character of IFS is used to create $*,
2319 # except with old shells:
2322 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2325 case ${build_alias} in
2326 "") build_noncanonical
=${build} ;;
2327 *) build_noncanonical
=${build_alias} ;;
2332 case ${host_alias} in
2333 "") host_noncanonical
=${build_noncanonical} ;;
2334 *) host_noncanonical
=${host_alias} ;;
2339 case ${target_alias} in
2340 "") target_noncanonical
=${host_noncanonical} ;;
2341 *) target_noncanonical
=${target_alias} ;;
2347 test "$host_noncanonical" = "$target_noncanonical" &&
2348 test "$program_prefix$program_suffix$program_transform_name" = \
2350 program_transform_name
=s
,y
,y
,
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2353 $as_echo_n "checking host system type... " >&6; }
2354 if test "${ac_cv_host+set}" = set; then :
2355 $as_echo_n "(cached) " >&6
2357 if test "x$host_alias" = x
; then
2358 ac_cv_host
=$ac_cv_build
2360 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2361 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2366 $as_echo "$ac_cv_host" >&6; }
2369 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2372 ac_save_IFS
=$IFS; IFS
='-'
2378 # Remember, the first character of IFS is used to create $*,
2379 # except with old shells:
2382 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2386 $as_echo_n "checking target system type... " >&6; }
2387 if test "${ac_cv_target+set}" = set; then :
2388 $as_echo_n "(cached) " >&6
2390 if test "x$target_alias" = x
; then
2391 ac_cv_target
=$ac_cv_host
2393 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2394 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2399 $as_echo "$ac_cv_target" >&6; }
2400 case $ac_cv_target in
2402 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2404 target
=$ac_cv_target
2405 ac_save_IFS
=$IFS; IFS
='-'
2411 # Remember, the first character of IFS is used to create $*,
2412 # except with old shells:
2415 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2418 # The aliases save the names the user supplied, while $host etc.
2419 # will get canonicalized.
2420 test -n "$target_alias" &&
2421 test "$program_prefix$program_suffix$program_transform_name" = \
2423 program_prefix
=${target_alias}-
2425 test "$program_prefix" != NONE
&&
2426 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2427 # Use a double $ so make ignores it.
2428 test "$program_suffix" != NONE
&&
2429 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2430 # Double any \ or $.
2431 # By default was `s,x,x', remove it if useless.
2432 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2433 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2437 # Get 'install' or 'install-sh' and its variants.
2438 # Find a good install program. We prefer a C program (faster),
2439 # so one script is as good as another. But avoid the broken or
2440 # incompatible versions:
2441 # SysV /etc/install, /usr/sbin/install
2442 # SunOS /usr/etc/install
2443 # IRIX /sbin/install
2445 # AmigaOS /C/install, which installs bootblocks on floppy discs
2446 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2449 # OS/2's system install, which has a completely different semantic
2450 # ./install, which can be erroneously created by make from ./install.sh.
2451 # Reject install programs that cannot install multiple files.
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2453 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2454 if test -z "$INSTALL"; then
2455 if test "${ac_cv_path_install+set}" = set; then :
2456 $as_echo_n "(cached) " >&6
2458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir
=.
2463 # Account for people who put trailing slashes in PATH elements.
2464 case $as_dir/ in #((
2465 .
/ | .
// |
/[cC
]/* | \
2466 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2467 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2470 # OSF1 and SCO ODT 3.0 have their own names for install.
2471 # Don't use installbsd from OSF since it installs stuff as root
2473 for ac_prog
in ginstall scoinst
install; do
2474 for ac_exec_ext
in '' $ac_executable_extensions; do
2475 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2476 if test $ac_prog = install &&
2477 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2478 # AIX install. It has an incompatible calling convention.
2480 elif test $ac_prog = install &&
2481 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2482 # program-specific install script used by HP pwplus--don't use.
2485 rm -rf conftest.one conftest.two conftest.dir
2486 echo one
> conftest.one
2487 echo two
> conftest.two
2489 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2490 test -s conftest.one
&& test -s conftest.two
&&
2491 test -s conftest.dir
/conftest.one
&&
2492 test -s conftest.dir
/conftest.two
2494 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2507 rm -rf conftest.one conftest.two conftest.dir
2510 if test "${ac_cv_path_install+set}" = set; then
2511 INSTALL
=$ac_cv_path_install
2513 # As a last resort, use the slow shell script. Don't cache a
2514 # value for INSTALL within a source directory, because that will
2515 # break other packages using the cache if that directory is
2516 # removed, or if the value is a relative name.
2517 INSTALL
=$ac_install_sh
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2521 $as_echo "$INSTALL" >&6; }
2523 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2524 # It thinks the first close brace ends the variable substitution.
2525 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2527 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2529 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2532 $as_echo_n "checking whether ln works... " >&6; }
2533 if test "${acx_cv_prog_LN+set}" = set; then :
2534 $as_echo_n "(cached) " >&6
2536 rm -f conftestdata_t
2537 echo >conftestdata_f
2538 if ln conftestdata_f conftestdata_t
2>/dev
/null
2544 rm -f conftestdata_f conftestdata_t
2547 if test $acx_cv_prog_LN = no
; then
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2550 $as_echo "no, using $LN" >&6; }
2552 LN
="$acx_cv_prog_LN"
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2554 $as_echo "yes" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2558 $as_echo_n "checking whether ln -s works... " >&6; }
2560 if test "$LN_S" = "ln -s"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2562 $as_echo "yes" >&6; }
2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2565 $as_echo "no, using $LN_S" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2569 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2570 if test "${ac_cv_path_SED+set}" = set; then :
2571 $as_echo_n "(cached) " >&6
2573 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2574 for ac_i
in 1 2 3 4 5 6 7; do
2575 ac_script
="$ac_script$as_nl$ac_script"
2577 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2578 { ac_script
=; unset ac_script
;}
2579 if test -z "$SED"; then
2580 ac_path_SED_found
=false
2581 # Loop through the user's path and test for each of PROGNAME-LIST
2582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2586 test -z "$as_dir" && as_dir
=.
2587 for ac_prog
in sed gsed
; do
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2590 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2591 # Check for GNU ac_path_SED and select it if it is found.
2592 # Check for GNU $ac_path_SED
2593 case `"$ac_path_SED" --version 2>&1` in
2595 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2598 $as_echo_n 0123456789 >"conftest.in"
2601 cat "conftest.in" "conftest.in" >"conftest.tmp"
2602 mv "conftest.tmp" "conftest.in"
2603 cp "conftest.in" "conftest.nl"
2604 $as_echo '' >> "conftest.nl"
2605 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2606 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2607 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2608 if test $ac_count -gt ${ac_path_SED_max-0}; then
2609 # Best one so far, save it but keep looking for a better one
2610 ac_cv_path_SED
="$ac_path_SED"
2611 ac_path_SED_max
=$ac_count
2613 # 10*(2^10) chars as input seems more than enough
2614 test $ac_count -gt 10 && break
2616 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2619 $ac_path_SED_found && break 3
2624 if test -z "$ac_cv_path_SED"; then
2625 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2633 $as_echo "$ac_cv_path_SED" >&6; }
2634 SED
="$ac_cv_path_SED"
2637 for ac_prog
in gawk mawk nawk
awk
2639 # Extract the first word of "$ac_prog", so it can be a program name with args.
2640 set dummy
$ac_prog; ac_word
=$2
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2642 $as_echo_n "checking for $ac_word... " >&6; }
2643 if test "${ac_cv_prog_AWK+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 if test -n "$AWK"; then
2647 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2653 test -z "$as_dir" && as_dir
=.
2654 for ac_exec_ext
in '' $ac_executable_extensions; do
2655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2656 ac_cv_prog_AWK
="$ac_prog"
2657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2667 if test -n "$AWK"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2669 $as_echo "$AWK" >&6; }
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2672 $as_echo "no" >&6; }
2676 test -n "$AWK" && break
2680 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2682 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2684 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2685 INSTALL
="${srcpwd}/install-sh -c"
2688 # Set srcdir to "." if that's what it is.
2689 # This is important for multilib support.
2691 if test "${pwd}" = "${srcpwd}" ; then
2699 ### To add a new directory to the tree, first choose whether it is a target
2700 ### or a host dependent tool. Then put it into the appropriate list
2701 ### (library or tools, host or target), doing a dependency sort.
2703 # Subdirs will be configured in the order listed in build_configdirs,
2704 # configdirs, or target_configdirs; see the serialization section below.
2706 # Dependency sorting is only needed when *configuration* must be done in
2707 # a particular order. In all cases a dependency should be specified in
2708 # the Makefile, whether or not it's implicitly specified here.
2710 # Double entries in build_configdirs, configdirs, or target_configdirs may
2711 # cause circular dependencies and break everything horribly.
2713 # these library is used by various programs built for the build
2716 build_libs
="build-libiberty"
2718 # these tools are built for the build environment
2719 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2721 # these libraries are used by various programs built for the host environment
2723 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2725 # these tools are built for the host environment
2726 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2727 # know that we are building the simulator.
2728 # binutils, gas and ld appear in that order because it makes sense to run
2729 # "make check" in that particular order.
2730 # If --enable-gold is used, "gold" may replace "ld".
2731 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2733 # libgcj represents the runtime libraries only used by gcj.
2734 libgcj
="target-libffi \
2738 # these libraries are built for the target environment, and are built after
2739 # the host libraries and the host tools (which may be a cross compiler)
2740 # Note that libiberty is not a target library.
2741 target_libraries
="target-libgcc \
2742 target-libbacktrace \
2749 target-libstdc++-v3 \
2750 target-libsanitizer \
2753 target-libquadmath \
2754 target-libgfortran \
2761 # these tools are built using the target libraries, and are intended to
2762 # run only in the target environment
2764 # note: any program that *uses* libraries that are in the "target_libraries"
2765 # list belongs in this list.
2767 target_tools
="target-rda"
2769 ################################################################################
2771 ## All tools belong in one of the four categories, and are assigned above
2772 ## We assign ${configdirs} this way to remove all embedded newlines. This
2773 ## is important because configure will choke if they ever get through.
2774 ## ${configdirs} is directories we build using the host tools.
2775 ## ${target_configdirs} is directories we build using the target tools.
2776 configdirs
=`echo ${host_libs} ${host_tools}`
2777 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2778 build_configdirs
=`echo ${build_libs} ${build_tools}`
2782 ################################################################################
2784 srcname
="gnu development package"
2786 # This gets set non-empty for some net releases of packages.
2789 # Define is_cross_compiler to save on calls to 'test'.
2791 if test x
"${host}" = x
"${target}" ; then
2792 is_cross_compiler
=no
2794 is_cross_compiler
=yes
2797 # Find the build and target subdir names.
2799 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2800 # have matching libraries, they should use host libraries: Makefile.tpl
2801 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2802 # However, they still use the build modules, because the corresponding
2803 # host modules (e.g. bison) are only built for the host when bootstrap
2805 # - build_subdir is where we find build modules, and never changes.
2806 # - build_libsubdir is where we find build libraries, and can be overridden.
2808 # Prefix 'build-' so this never conflicts with target_subdir.
2809 build_subdir
="build-${build_noncanonical}"
2811 # Check whether --with-build-libsubdir was given.
2812 if test "${with_build_libsubdir+set}" = set; then :
2813 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2815 build_libsubdir
="$build_subdir"
2818 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2819 if ( test $srcdir = .
&& test -d gcc
) \
2820 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2821 host_subdir
="host-${host_noncanonical}"
2826 target_subdir
=${target_noncanonical}
2828 # Be sure to cover against remnants of an in-tree build.
2829 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2830 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2831 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2834 # Skipdirs are removed silently.
2836 # Noconfigdirs are removed loudly.
2840 # Make sure we don't let GNU ld be added if we didn't want it.
2841 if test x
$with_gnu_ld = xno
; then
2843 noconfigdirs
="$noconfigdirs ld gold"
2847 # Make sure we don't let GNU as be added if we didn't want it.
2848 if test x
$with_gnu_as = xno
; then
2850 noconfigdirs
="$noconfigdirs gas"
2854 # Make sure we don't let ZLIB be added if we didn't want it.
2855 if test x
$with_system_zlib = xyes
; then
2856 use_included_zlib
=no
2857 noconfigdirs
="$noconfigdirs zlib"
2860 # some tools are so dependent upon X11 that if we're not building with X,
2861 # it's not even worth trying to configure, much less build, that tool.
2864 yes |
"") ;; # the default value for this tree is that X11 is available
2866 skipdirs
="${skipdirs} tk itcl libgui"
2867 # We won't be able to build gdbtk without X.
2870 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2873 # Some are only suitable for cross toolchains.
2874 # Remove these if host=target.
2875 cross_only
="target-libgloss target-newlib target-opcodes"
2877 case $is_cross_compiler in
2878 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2881 # If both --with-headers and --with-libs are specified, default to
2883 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2884 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2885 if test x
"${with_newlib}" = x
; then
2890 # Recognize --with-newlib/--without-newlib.
2891 case ${with_newlib} in
2892 no
) skipdirs
="${skipdirs} target-newlib" ;;
2893 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2896 # Handle --enable-gold, --enable-ld.
2897 # --disable-gold [--enable-ld]
2898 # Build only ld. Default option.
2899 # --enable-gold [--enable-ld]
2900 # Build both gold and ld. Install gold as "ld.gold", install ld
2901 # as "ld.bfd" and "ld".
2902 # --enable-gold=default [--enable-ld]
2903 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2904 # install ld as "ld.bfd".
2905 # --enable-gold[=default] --disable-ld
2906 # Build only gold, which is then installed as both "ld.gold" and "ld".
2907 # --enable-gold --enable-ld=default
2908 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2910 # In other words, ld is default
2911 # --enable-gold=default --enable-ld=default
2915 # Check whether --enable-gold was given.
2916 if test "${enable_gold+set}" = set; then :
2917 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2922 case "${ENABLE_GOLD}" in
2924 # Check for ELF target.
2927 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2928 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2929 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2930 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2932 *-*-linux*aout
* |
*-*-linux*oldld
*)
2940 if test "$is_elf" = "yes"; then
2941 # Check for target supported by gold.
2943 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2944 configdirs
="$configdirs gold"
2945 if test x
${ENABLE_GOLD} = xdefault
; then
2956 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2960 # Check whether --enable-ld was given.
2961 if test "${enable_ld+set}" = set; then :
2962 enableval
=$enable_ld; ENABLE_LD
=$enableval
2968 case "${ENABLE_LD}" in
2970 if test x
${default_ld} != x
; then
2971 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2977 if test x
${ENABLE_GOLD} != xyes
; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2979 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2981 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2984 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2988 # Configure extra directories which are host specific
2992 configdirs
="$configdirs libtermcap" ;;
2995 # A target can indicate whether a language isn't supported for some reason.
2996 # Only spaces may be used in this macro; not newlines or tabs.
2997 unsupported_languages
=
2999 # Remove more programs from consideration, based on the host or
3000 # target this usually means that a port of the program doesn't
3004 i
[3456789]86-*-msdosdjgpp*)
3005 noconfigdirs
="$noconfigdirs tcl tk itcl"
3010 # Check whether --enable-libquadmath was given.
3011 if test "${enable_libquadmath+set}" = set; then :
3012 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3014 ENABLE_LIBQUADMATH
=yes
3017 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3018 noconfigdirs
="$noconfigdirs target-libquadmath"
3022 # Check whether --enable-libquadmath-support was given.
3023 if test "${enable_libquadmath_support+set}" = set; then :
3024 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3026 ENABLE_LIBQUADMATH_SUPPORT
=yes
3029 enable_libquadmath_support
=
3030 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3031 enable_libquadmath_support
=no
3035 # Check whether --enable-libada was given.
3036 if test "${enable_libada+set}" = set; then :
3037 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3042 if test "${ENABLE_LIBADA}" != "yes" ; then
3043 noconfigdirs
="$noconfigdirs gnattools"
3046 # Check whether --enable-libssp was given.
3047 if test "${enable_libssp+set}" = set; then :
3048 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3054 # Check whether --enable-libstdcxx was given.
3055 if test "${enable_libstdcxx+set}" = set; then :
3056 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3058 ENABLE_LIBSTDCXX
=default
3061 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3062 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3065 # Save it here so that, even in case of --enable-libgcj, if the Java
3066 # front-end isn't enabled, we still get libgcj disabled.
3067 libgcj_saved
=$libgcj
3068 case $enable_libgcj in
3070 # If we reset it here, it won't get added to noconfigdirs in the
3071 # target-specific build rules, so it will be forcibly enabled
3072 # (unless the Java language itself isn't enabled).
3076 # Make sure we get it printed in the list of not supported target libs.
3077 # Don't disable libffi, though, other languages use it.
3078 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3079 # Clear libgcj_saved so that even if java is enabled libffi won't be
3085 # Check whether --enable-static-libjava was given.
3086 if test "${enable_static_libjava+set}" = set; then :
3087 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3089 ENABLE_STATIC_LIBJAVA
=no
3092 enable_static_libjava
=
3093 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3094 enable_static_libjava
=yes
3097 if test x
$enable_static_libjava != xyes
; then
3098 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3102 # Disable libgomp on non POSIX hosted systems.
3103 if test x
$enable_libgomp = x
; then
3104 # Enable libgomp by default on hosted POSIX systems.
3106 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3108 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3110 *-*-solaris2* |
*-*-hpux11*)
3112 *-*-darwin* |
*-*-aix*)
3115 noconfigdirs
="$noconfigdirs target-libgomp"
3120 # Disable libatomic on unsupported systems.
3121 if test -d ${srcdir}/libatomic
; then
3122 if test x
$enable_libatomic = x
; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3124 $as_echo_n "checking for libatomic support... " >&6; }
3125 if (srcdir
=${srcdir}/libatomic
; \
3126 .
${srcdir}/configure.tgt
; \
3127 test -n "$UNSUPPORTED")
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3130 $as_echo "no" >&6; }
3131 noconfigdirs
="$noconfigdirs target-libatomic"
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3134 $as_echo "yes" >&6; }
3139 # Disable libcilkrts on unsupported systems.
3140 if test -d ${srcdir}/libcilkrts
; then
3141 if test x
$enable_libcilkrts = x
; then
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3143 $as_echo_n "checking for libcilkrts support... " >&6; }
3144 if (srcdir
=${srcdir}/libcilkrts
; \
3145 .
${srcdir}/configure.tgt
; \
3146 test -n "$UNSUPPORTED")
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149 $as_echo "no" >&6; }
3150 noconfigdirs
="$noconfigdirs target-libcilkrts"
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3153 $as_echo "yes" >&6; }
3158 # Disable libitm on unsupported systems.
3159 if test -d ${srcdir}/libitm
; then
3160 if test x
$enable_libitm = x
; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3162 $as_echo_n "checking for libitm support... " >&6; }
3163 if (srcdir
=${srcdir}/libitm
; \
3164 .
${srcdir}/configure.tgt
; \
3165 test -n "$UNSUPPORTED")
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168 $as_echo "no" >&6; }
3169 noconfigdirs
="$noconfigdirs target-libitm"
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3172 $as_echo "yes" >&6; }
3177 # Disable libsanitizer on unsupported systems.
3178 if test -d ${srcdir}/libsanitizer
; then
3179 if test x
$enable_libsanitizer = x
; then
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3181 $as_echo_n "checking for libsanitizer support... " >&6; }
3182 if (srcdir
=${srcdir}/libsanitizer
; \
3183 .
${srcdir}/configure.tgt
; \
3184 test -n "$UNSUPPORTED")
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 noconfigdirs
="$noconfigdirs target-libsanitizer"
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3191 $as_echo "yes" >&6; }
3196 # Disable libvtv on unsupported systems.
3197 if test -d ${srcdir}/libvtv
; then
3198 if test x
$enable_libvtv = x
; then
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3200 $as_echo_n "checking for libvtv support... " >&6; }
3201 if (srcdir
=${srcdir}/libvtv
; \
3202 .
${srcdir}/configure.tgt
; \
3203 test "$VTV_SUPPORTED" != "yes")
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3207 noconfigdirs
="$noconfigdirs target-libvtv"
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3210 $as_echo "yes" >&6; }
3215 # Disable libquadmath for some systems.
3218 noconfigdirs
="$noconfigdirs target-libquadmath"
3220 # libquadmath is unused on AIX and libquadmath build process use of
3221 # LD_LIBRARY_PATH can break AIX bootstrap.
3222 powerpc-
*-aix* | rs6000-
*-aix*)
3223 noconfigdirs
="$noconfigdirs target-libquadmath"
3227 # Disable libssp for some systems.
3230 # No hosted I/O support.
3231 noconfigdirs
="$noconfigdirs target-libssp"
3233 powerpc-
*-aix* | rs6000-
*-aix*)
3234 noconfigdirs
="$noconfigdirs target-libssp"
3237 # libssp uses a misaligned load to trigger a fault, but the RL78
3238 # doesn't fault for those - instead, it gives a build-time error
3239 # for explicit misaligned loads.
3240 noconfigdirs
="$noconfigdirs target-libssp"
3244 # Disable libstdc++-v3 for some systems.
3245 # Allow user to override this if they pass --enable-libstdc++-v3
3246 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3249 # VxWorks uses the Dinkumware C++ library.
3250 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3253 # the C++ libraries don't build on top of CE's C libraries
3254 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3257 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3262 # Disable Fortran for some systems.
3265 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3266 unsupported_languages
="$unsupported_languages fortran"
3270 # Disable Java if libffi is not supported.
3302 powerpc-
*-aix* | rs6000-
*-aix*)
3306 powerpc64-
*-freebsd*)
3310 s390-
*-* | s390x-
*-*)
3312 sh-
*-* | sh
[34]*-*-*)
3314 sh64-
*-* | sh5
*-*-*)
3321 unsupported_languages
="$unsupported_languages java"
3325 # Disable Java, libgcj or related libraries for some systems.
3329 i
[3456789]86-*-darwin*)
3331 x86_64-
*-darwin[912]*)
3334 noconfigdirs
="$noconfigdirs ${libgcj}"
3337 noconfigdirs
="$noconfigdirs ${libgcj}"
3340 noconfigdirs
="$noconfigdirs ${libgcj}"
3343 noconfigdirs
="$noconfigdirs ${libgcj}"
3346 noconfigdirs
="$noconfigdirs ${libgcj}"
3349 noconfigdirs
="$noconfigdirs ${libgcj}"
3352 noconfigdirs
="$noconfigdirs ${libgcj}"
3355 noconfigdirs
="$noconfigdirs ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3361 noconfigdirs
="$noconfigdirs target-boehm-gc"
3363 cris-
*-* | crisv32-
*-*)
3364 unsupported_languages
="$unsupported_languages java"
3368 *) # See PR46792 regarding target-libffi.
3369 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3373 # In this case, it's because the hppa64-linux target is for
3374 # the kernel only at this point and has no libc, and thus no
3375 # headers, crt*.o, etc., all of which are needed by these.
3376 unsupported_languages
="$unsupported_languages java"
3379 noconfigdirs
="$noconfigdirs ${libgcj}"
3384 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3385 # build on HP-UX 10.20.
3386 noconfigdirs
="$noconfigdirs ${libgcj}"
3389 noconfigdirs
="$noconfigdirs ${libgcj}"
3391 i
[3456789]86-w64-mingw*)
3392 noconfigdirs
="$noconfigdirs ${libgcj}"
3394 i
[3456789]86-*-mingw*)
3395 noconfigdirs
="$noconfigdirs ${libgcj}"
3398 noconfigdirs
="$noconfigdirs ${libgcj}"
3401 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3404 # copied from rs6000-*-* entry
3405 noconfigdirs
="$noconfigdirs ${libgcj}"
3408 noconfigdirs
="$noconfigdirs ${libgcj}"
3411 noconfigdirs
="$noconfigdirs ${libgcj}"
3415 # Disable libgo for some systems where it is known to not work.
3416 # For testing, you can easily override this with --enable-libgo.
3417 if test x
$enable_libgo = x
; then
3421 noconfigdirs
="$noconfigdirs target-libgo"
3423 *-*-cygwin* |
*-*-mingw*)
3424 noconfigdirs
="$noconfigdirs target-libgo"
3427 noconfigdirs
="$noconfigdirs target-libgo"
3432 # Default libgloss CPU subdirectory.
3433 libgloss_dir
="$target_cpu"
3436 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3440 libgloss_dir
=aarch64
3445 cris-
*-* | crisv32-
*-*)
3454 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3455 libgloss_dir
=m68hc11
3457 m68
*-*-* | fido-
*-*)
3471 # Disable newlib and libgloss for various target OSes.
3474 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3476 i
[3456789]86-*-linux*)
3477 # This section makes it possible to build newlib natively on linux.
3478 # If we are using a cross compiler then don't configure newlib.
3479 if test x
${is_cross_compiler} != xno
; then
3480 noconfigdirs
="$noconfigdirs target-newlib"
3482 noconfigdirs
="$noconfigdirs target-libgloss"
3483 # If we are not using a cross compiler, do configure newlib.
3484 # Note however, that newlib will only be configured in this situation
3485 # if the --with-newlib option has been given, because otherwise
3486 # 'target-newlib' will appear in skipdirs.
3488 i
[3456789]86-*-rdos*)
3489 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3491 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3492 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3495 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3498 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3501 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3504 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3507 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3510 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3512 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3513 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3519 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3522 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3525 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3528 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3531 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3534 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3542 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3543 noconfigdirs
="$noconfigdirs sim target-rda"
3545 i
[3456789]86-*-darwin*)
3546 noconfigdirs
="$noconfigdirs ld gprof"
3547 noconfigdirs
="$noconfigdirs sim target-rda"
3549 x86_64-
*-darwin[912]*)
3550 noconfigdirs
="$noconfigdirs ld gas gprof"
3551 noconfigdirs
="$noconfigdirs sim target-rda"
3554 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3555 noconfigdirs
="$noconfigdirs sim target-rda"
3560 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3561 && test -f /usr
/local
/include
/gmp.h
; then
3566 # Remove unsupported stuff on all kaOS configurations.
3567 noconfigdirs
="$noconfigdirs target-libgloss"
3574 noconfigdirs
="$noconfigdirs target-libgloss"
3576 # The tpf target doesn't support gdb yet.
3578 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3581 noconfigdirs
="$noconfigdirs target-rda"
3586 # ld works, but does not support shared libraries.
3587 # gas doesn't generate exception information.
3588 noconfigdirs
="$noconfigdirs gas ld"
3591 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3594 # newlib is not 64 bit ready
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3597 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3598 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3601 noconfigdirs
="$noconfigdirs target-libgloss"
3604 noconfigdirs
="$noconfigdirs target-libgloss"
3607 noconfigdirs
="$noconfigdirs ld target-libgloss"
3612 if test x
${with_avrlibc} != xno
; then
3613 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3616 c4x-
*-* | tic4x-
*-*)
3617 noconfigdirs
="$noconfigdirs target-libgloss"
3620 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3623 noconfigdirs
="$noconfigdirs target-libgloss"
3626 noconfigdirs
="$noconfigdirs gdb"
3629 noconfigdirs
="$noconfigdirs gdb"
3632 noconfigdirs
="$noconfigdirs gprof"
3635 noconfigdirs
="$noconfigdirs target-libgloss"
3638 noconfigdirs
="$noconfigdirs target-libgloss"
3640 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3648 hppa
*-*-openbsd* | \
3652 noconfigdirs
="$noconfigdirs ld"
3657 noconfigdirs
="$noconfigdirs ld"
3660 noconfigdirs
="$noconfigdirs gdb"
3663 # No gdb support yet.
3664 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3667 # No ld support yet.
3668 noconfigdirs
="$noconfigdirs libgui itcl ld"
3671 # No ld support yet.
3672 noconfigdirs
="$noconfigdirs libgui itcl ld"
3674 i
[3456789]86-w64-mingw*)
3676 i
[3456789]86-*-mingw*)
3677 target_configdirs
="$target_configdirs target-winsup"
3680 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3681 noconfigdirs
="$noconfigdirs target-libgloss"
3682 # always build newlib if winsup directory is present.
3683 if test -d "$srcdir/winsup/cygwin"; then
3684 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3685 elif test -d "$srcdir/newlib"; then
3686 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3692 i
[3456789]86-*-sco3.2v5
*)
3693 # The linker does not yet know about weak symbols in COFF,
3694 # and is not configured to handle mixed ELF and COFF.
3695 noconfigdirs
="$noconfigdirs ld target-libgloss"
3697 i
[3456789]86-*-sco*)
3698 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3700 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3701 noconfigdirs
="$noconfigdirs target-libgloss"
3703 i
[3456789]86-*-sysv4*)
3704 noconfigdirs
="$noconfigdirs target-libgloss"
3706 i
[3456789]86-*-beos*)
3707 noconfigdirs
="$noconfigdirs gdb"
3709 i
[3456789]86-*-rdos*)
3710 noconfigdirs
="$noconfigdirs gdb"
3713 noconfigdirs
="$noconfigdirs gdb"
3716 noconfigdirs
="$noconfigdirs sim"
3719 # copied from rs6000-*-* entry
3720 noconfigdirs
="$noconfigdirs gprof"
3722 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3723 target_configdirs
="$target_configdirs target-winsup"
3724 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3725 # always build newlib.
3726 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3728 # This is temporary until we can link against shared libraries
3729 powerpcle-
*-solaris*)
3730 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3733 noconfigdirs
="$noconfigdirs gdb"
3736 noconfigdirs
="$noconfigdirs gprof"
3739 noconfigdirs
="$noconfigdirs gprof"
3742 noconfigdirs
="$noconfigdirs gprof"
3745 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3748 noconfigdirs
="$noconfigdirs gprof"
3750 mips
*-sde-elf* | mips
*-mti-elf*)
3751 if test x
$with_newlib = xyes
; then
3752 noconfigdirs
="$noconfigdirs gprof"
3756 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3759 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3762 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3766 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3767 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3768 noconfigdirs
="$noconfigdirs ld gas gprof"
3771 noconfigdirs
="$noconfigdirs gprof"
3778 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3782 if test x
${is_cross_compiler} = xno
; then
3787 noconfigdirs
="$noconfigdirs sim"
3789 tilepro
*-*-* | tilegx
*-*-*)
3790 noconfigdirs
="$noconfigdirs sim"
3793 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3796 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3800 # If we aren't building newlib, then don't build libgloss, since libgloss
3801 # depends upon some newlib header files.
3802 case "${noconfigdirs}" in
3803 *target-libgloss
*) ;;
3804 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3807 # Work in distributions that contain no compiler tools, like Autoconf.
3808 host_makefile_frag
=/dev
/null
3809 if test -d ${srcdir}/config
; then
3811 i
[3456789]86-*-msdosdjgpp*)
3812 host_makefile_frag
="config/mh-djgpp"
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3817 $as_echo_n "checking to see if cat works as expected... " >&6; }
3818 echo a
>cygwin-cat-check
3819 if test `cat cygwin-cat-check` = a
; then
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3822 $as_echo "yes" >&6; }
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 as_fn_error
"The cat command does not ignore carriage return characters.
3828 Please either mount the build directory in binary mode or run the following
3829 commands before running any configure script:
3835 host_makefile_frag
="config/mh-cygwin"
3838 host_makefile_frag
="config/mh-mingw"
3841 host_makefile_frag
="config/mh-alpha-linux"
3844 host_makefile_frag
="config/mh-pa-hpux10"
3847 host_makefile_frag
="config/mh-pa"
3850 host_makefile_frag
="config/mh-pa"
3853 host_makefile_frag
="config/mh-darwin"
3856 host_makefile_frag
="config/mh-ppc-aix"
3859 host_makefile_frag
="config/mh-ppc-aix"
3864 if test "${build}" != "${host}" ; then
3865 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3866 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3867 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3868 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3869 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3870 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3871 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3872 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3873 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3874 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3875 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3876 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3877 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3879 AR_FOR_BUILD
="\$(AR)"
3880 AS_FOR_BUILD
="\$(AS)"
3881 CC_FOR_BUILD
="\$(CC)"
3882 CXX_FOR_BUILD
="\$(CXX)"
3883 GCJ_FOR_BUILD
="\$(GCJ)"
3884 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3885 GOC_FOR_BUILD
="\$(GOC)"
3886 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3887 LD_FOR_BUILD
="\$(LD)"
3888 NM_FOR_BUILD
="\$(NM)"
3889 RANLIB_FOR_BUILD
="\$(RANLIB)"
3890 WINDRES_FOR_BUILD
="\$(WINDRES)"
3891 WINDMC_FOR_BUILD
="\$(WINDMC)"
3895 ac_cpp
='$CPP $CPPFLAGS'
3896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3899 if test -n "$ac_tool_prefix"; then
3900 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3901 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3903 $as_echo_n "checking for $ac_word... " >&6; }
3904 if test "${ac_cv_prog_CC+set}" = set; then :
3905 $as_echo_n "(cached) " >&6
3907 if test -n "$CC"; then
3908 ac_cv_prog_CC
="$CC" # Let the user override the test.
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3928 if test -n "$CC"; then
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3930 $as_echo "$CC" >&6; }
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3933 $as_echo "no" >&6; }
3938 if test -z "$ac_cv_prog_CC"; then
3940 # Extract the first word of "gcc", so it can be a program name with args.
3941 set dummy gcc
; ac_word
=$2
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3943 $as_echo_n "checking for $ac_word... " >&6; }
3944 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3945 $as_echo_n "(cached) " >&6
3947 if test -n "$ac_ct_CC"; then
3948 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir
=.
3955 for ac_exec_ext
in '' $ac_executable_extensions; do
3956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3957 ac_cv_prog_ac_ct_CC
="gcc"
3958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3967 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3968 if test -n "$ac_ct_CC"; then
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3970 $as_echo "$ac_ct_CC" >&6; }
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3973 $as_echo "no" >&6; }
3976 if test "x$ac_ct_CC" = x
; then
3979 case $cross_compiling:$ac_tool_warned in
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3983 ac_tool_warned
=yes ;;
3991 if test -z "$CC"; then
3992 if test -n "$ac_tool_prefix"; then
3993 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3994 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if test "${ac_cv_prog_CC+set}" = set; then :
3998 $as_echo_n "(cached) " >&6
4000 if test -n "$CC"; then
4001 ac_cv_prog_CC
="$CC" # Let the user override the test.
4003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4007 test -z "$as_dir" && as_dir
=.
4008 for ac_exec_ext
in '' $ac_executable_extensions; do
4009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4010 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021 if test -n "$CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4023 $as_echo "$CC" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4032 if test -z "$CC"; then
4033 # Extract the first word of "cc", so it can be a program name with args.
4034 set dummy cc
; ac_word
=$2
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036 $as_echo_n "checking for $ac_word... " >&6; }
4037 if test "${ac_cv_prog_CC+set}" = set; then :
4038 $as_echo_n "(cached) " >&6
4040 if test -n "$CC"; then
4041 ac_cv_prog_CC
="$CC" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4052 ac_prog_rejected
=yes
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 if test $ac_prog_rejected = yes; then
4064 # We found a bogon in the path, so make sure we never use it.
4065 set dummy
$ac_cv_prog_CC
4067 if test $# != 0; then
4068 # We chose a different compiler from the bogus one.
4069 # However, it has the same basename, so the bogon will be chosen
4070 # first if we set CC to just the basename; use the full file name.
4072 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4078 if test -n "$CC"; then
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4080 $as_echo "$CC" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4088 if test -z "$CC"; then
4089 if test -n "$ac_tool_prefix"; then
4090 for ac_prog
in cl.exe
4092 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4093 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4095 $as_echo_n "checking for $ac_word... " >&6; }
4096 if test "${ac_cv_prog_CC+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4099 if test -n "$CC"; then
4100 ac_cv_prog_CC
="$CC" # Let the user override the test.
4102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4106 test -z "$as_dir" && as_dir
=.
4107 for ac_exec_ext
in '' $ac_executable_extensions; do
4108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4109 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120 if test -n "$CC"; then
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4122 $as_echo "$CC" >&6; }
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4125 $as_echo "no" >&6; }
4129 test -n "$CC" && break
4132 if test -z "$CC"; then
4134 for ac_prog
in cl.exe
4136 # Extract the first word of "$ac_prog", so it can be a program name with args.
4137 set dummy
$ac_prog; ac_word
=$2
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4139 $as_echo_n "checking for $ac_word... " >&6; }
4140 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4141 $as_echo_n "(cached) " >&6
4143 if test -n "$ac_ct_CC"; then
4144 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4150 test -z "$as_dir" && as_dir
=.
4151 for ac_exec_ext
in '' $ac_executable_extensions; do
4152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4153 ac_cv_prog_ac_ct_CC
="$ac_prog"
4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4163 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4164 if test -n "$ac_ct_CC"; then
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4166 $as_echo "$ac_ct_CC" >&6; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4169 $as_echo "no" >&6; }
4173 test -n "$ac_ct_CC" && break
4176 if test "x$ac_ct_CC" = x
; then
4179 case $cross_compiling:$ac_tool_warned in
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4183 ac_tool_warned
=yes ;;
4192 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4194 as_fn_error
"no acceptable C compiler found in \$PATH
4195 See \`config.log' for more details." "$LINENO" 5; }
4197 # Provide some information about the compiler.
4198 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4201 for ac_option
in --version -v -V -qversion; do
4202 { { ac_try
="$ac_compiler $ac_option >&5"
4204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4205 *) ac_try_echo=$ac_try;;
4207 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4208 $as_echo "$ac_try_echo"; } >&5
4209 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4211 if test -s conftest.err; then
4213 ... rest of stderr output deleted ...
4214 10q' conftest.err >conftest.er1
4215 cat conftest.er1 >&5
4216 rm -f conftest.er1 conftest.err
4218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4219 test $ac_status = 0; }
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4233 ac_clean_files_save=$ac_clean_files
4234 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4235 # Try to create an executable without -o first, disregard a.out.
4236 # It will help us diagnose broken compilers, and finding out an intuition
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4239 $as_echo_n "checking for C compiler default output file name... " >&6; }
4240 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4242 # The possible output files:
4243 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4246 for ac_file in $ac_files
4249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4250 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4255 if { { ac_try="$ac_link_default"
4257 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4258 *) ac_try_echo
=$ac_try;;
4260 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
4262 (eval "$ac_link_default") 2>&5
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; }; then :
4266 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4267 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4268 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4269 # so that the user can short-circuit this test for compilers unknown to
4271 for ac_file
in $ac_files ''
4273 test -f "$ac_file" ||
continue
4275 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4278 # We found the default executable, but exeext='' is most
4282 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4284 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4286 # We set ac_cv_exeext here because the later test for it is not
4287 # safe: cross compilers may not add the suffix if given an `-o'
4288 # argument, so we may need to know it at that point already.
4289 # Even if this section looks crufty: it has the advantage of
4296 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4302 $as_echo "$ac_file" >&6; }
4303 if test -z "$ac_file"; then :
4304 $as_echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.
$ac_ext >&5
4307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4309 { as_fn_set_status
77
4310 as_fn_error
"C compiler cannot create executables
4311 See \`config.log' for more details." "$LINENO" 5; }; }
4313 ac_exeext
=$ac_cv_exeext
4315 # Check that the compiler produces executables we can run. If not, either
4316 # the compiler is broken, or we cross compile.
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4318 $as_echo_n "checking whether the C compiler works... " >&6; }
4319 # If not cross compiling, check that we can run a simple program.
4320 if test "$cross_compiling" != yes; then
4321 if { ac_try
='./$ac_file'
4322 { { case "(($ac_try" in
4323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4334 if test "$cross_compiling" = maybe; then
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error "cannot run C compiled programs.
4340 If you meant to cross compile
, use \
`--host'.
4341 See \`config.log
' for more details." "$LINENO" 5; }
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4346 $as_echo "yes" >&6; }
4348 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4349 ac_clean_files=$ac_clean_files_save
4350 # Check that the compiler produces executables we can run. If not, either
4351 # the compiler is broken, or we cross compile.
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4353 $as_echo_n "checking whether we are cross compiling... " >&6; }
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4355 $as_echo "$cross_compiling" >&6; }
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4358 $as_echo_n "checking for suffix of executables... " >&6; }
4359 if { { ac_try="$ac_link"
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4365 $as_echo "$ac_try_echo"; } >&5
4366 (eval "$ac_link") 2>&5
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }; then :
4370 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4371 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4372 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4374 for ac_file
in conftest.exe conftest conftest.
*; do
4375 test -f "$ac_file" ||
continue
4377 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4378 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4386 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4387 See \`config.log' for more details." "$LINENO" 5; }
4389 rm -f conftest
$ac_cv_exeext
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4391 $as_echo "$ac_cv_exeext" >&6; }
4393 rm -f conftest.
$ac_ext
4394 EXEEXT
=$ac_cv_exeext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4397 $as_echo_n "checking for suffix of object files... " >&6; }
4398 if test "${ac_cv_objext+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4402 /* end confdefs.h. */
4412 rm -f conftest.o conftest.obj
4413 if { { ac_try
="$ac_compile"
4415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4416 *) ac_try_echo=$ac_try;;
4418 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4419 $as_echo "$ac_try_echo"; } >&5
4420 (eval "$ac_compile") 2>&5
4422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4423 test $ac_status = 0; }; then :
4424 for ac_file in conftest.o conftest.obj conftest.*; do
4425 test -f "$ac_file" || continue;
4427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4428 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4433 $as_echo "$as_me: failed program was:" >&5
4434 sed 's/^/| /' conftest.$ac_ext >&5
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 object files
: cannot compile
4439 See \
`config.log' for more details." "$LINENO" 5; }
4441 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4444 $as_echo "$ac_cv_objext" >&6; }
4445 OBJEXT=$ac_cv_objext
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4448 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4449 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4453 /* end confdefs.h. */
4466 if ac_fn_c_try_compile "$LINENO"; then :
4471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4472 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4476 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4477 if test $ac_compiler_gnu = yes; then
4482 ac_test_CFLAGS=${CFLAGS+set}
4483 ac_save_CFLAGS=$CFLAGS
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4485 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4486 if test "${ac_cv_prog_cc_g+set}" = set; then :
4487 $as_echo_n "(cached) " >&6
4489 ac_save_c_werror_flag=$ac_c_werror_flag
4490 ac_c_werror_flag=yes
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4504 if ac_fn_c_try_compile "$LINENO"; then :
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4522 ac_c_werror_flag=$ac_save_c_werror_flag
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4535 if ac_fn_c_try_compile "$LINENO"; then :
4538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4543 ac_c_werror_flag=$ac_save_c_werror_flag
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4546 $as_echo "$ac_cv_prog_cc_g" >&6; }
4547 if test "$ac_test_CFLAGS" = set; then
4548 CFLAGS=$ac_save_CFLAGS
4549 elif test $ac_cv_prog_cc_g = yes; then
4550 if test "$GCC" = yes; then
4556 if test "$GCC" = yes; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4563 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4564 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4565 $as_echo_n "(cached) " >&6
4567 ac_cv_prog_cc_c89=no
4569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4570 /* end confdefs.h. */
4573 #include <sys/types.h>
4574 #include <sys/stat.h>
4575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4576 struct buf { int x; };
4577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4578 static char *e (p, i)
4584 static char *f (char * (*g) (char **, int), char **p, ...)
4589 s = g (p, va_arg (v,int));
4594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4595 function prototypes and stuff, but not '\xHH' hex character constants.
4596 These don't provoke an error unfortunately, instead are silently treated
4597 as 'x'. The following induces an error, until -std is added to get
4598 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4599 array size at least. It's necessary to write '\x00'==0 to get something
4600 that's true only with -std. */
4601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4604 inside strings and character constants. */
4606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4608 int test (int i, double x);
4609 struct s1 {int (*f) (int a);};
4610 struct s2 {int (*f) (double a);};
4611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4617 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4623 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4625 CC="$ac_save_CC $ac_arg"
4626 if ac_fn_c_try_compile "$LINENO"; then :
4627 ac_cv_prog_cc_c89=$ac_arg
4629 rm -f core conftest.err conftest.$ac_objext
4630 test "x$ac_cv_prog_cc_c89" != "xno" && break
4632 rm -f conftest.$ac_ext
4637 case "x$ac_cv_prog_cc_c89" in
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4640 $as_echo "none needed" >&6; } ;;
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4643 $as_echo "unsupported" >&6; } ;;
4645 CC="$CC $ac_cv_prog_cc_c89"
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4649 if test "x$ac_cv_prog_cc_c89" != xno; then :
4654 ac_cpp='$CPP $CPPFLAGS'
4655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4660 ac_cpp='$CXXCPP $CPPFLAGS'
4661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4664 if test -z "$CXX"; then
4665 if test -n "$CCC"; then
4668 if test -n "$ac_tool_prefix"; then
4669 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4671 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4672 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if test "${ac_cv_prog_CXX+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$CXX"; then
4679 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir=.
4686 for ac_exec_ext in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 if test -n "$CXX"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4701 $as_echo "$CXX" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4708 test -n "$CXX" && break
4711 if test -z "$CXX"; then
4713 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4715 # Extract the first word of "$ac_prog", so it can be a program name with args.
4716 set dummy $ac_prog; ac_word=$2
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4718 $as_echo_n "checking for $ac_word... " >&6; }
4719 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4720 $as_echo_n "(cached) " >&6
4722 if test -n "$ac_ct_CXX"; then
4723 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir=.
4730 for ac_exec_ext in '' $ac_executable_extensions; do
4731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4732 ac_cv_prog_ac_ct_CXX="$ac_prog"
4733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4743 if test -n "$ac_ct_CXX"; then
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4745 $as_echo "$ac_ct_CXX" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4748 $as_echo "no" >&6; }
4752 test -n "$ac_ct_CXX" && break
4755 if test "x$ac_ct_CXX" = x; then
4758 case $cross_compiling:$ac_tool_warned in
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4762 ac_tool_warned=yes ;;
4770 # Provide some information about the compiler.
4771 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4774 for ac_option in --version -v -V -qversion; do
4775 { { ac_try="$ac_compiler $ac_option >&5"
4777 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4778 *) ac_try_echo
=$ac_try;;
4780 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4781 $as_echo "$ac_try_echo"; } >&5
4782 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4784 if test -s conftest.err
; then
4786 ... rest of stderr output deleted ...
4787 10q' conftest.err
>conftest.er1
4788 cat conftest.er1
>&5
4789 rm -f conftest.er1 conftest.err
4791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4792 test $ac_status = 0; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4796 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4797 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4798 $as_echo_n "(cached) " >&6
4800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4801 /* end confdefs.h. */
4814 if ac_fn_cxx_try_compile
"$LINENO"; then :
4819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4820 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4824 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4825 if test $ac_compiler_gnu = yes; then
4830 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4831 ac_save_CXXFLAGS
=$CXXFLAGS
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4833 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4834 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4835 $as_echo_n "(cached) " >&6
4837 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4838 ac_cxx_werror_flag
=yes
4841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4842 /* end confdefs.h. */
4852 if ac_fn_cxx_try_compile
"$LINENO"; then :
4853 ac_cv_prog_cxx_g
=yes
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4867 if ac_fn_cxx_try_compile
"$LINENO"; then :
4870 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4873 /* end confdefs.h. */
4883 if ac_fn_cxx_try_compile
"$LINENO"; then :
4884 ac_cv_prog_cxx_g
=yes
4886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4891 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4894 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4895 if test "$ac_test_CXXFLAGS" = set; then
4896 CXXFLAGS
=$ac_save_CXXFLAGS
4897 elif test $ac_cv_prog_cxx_g = yes; then
4898 if test "$GXX" = yes; then
4904 if test "$GXX" = yes; then
4911 ac_cpp
='$CPP $CPPFLAGS'
4912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4917 # We must set the default linker to the linker used by gcc for the correct
4918 # operation of libtool. If LD is not defined and we are using gcc, try to
4919 # set the LD default to the ld used by gcc.
4920 if test -z "$LD"; then
4921 if test "$GCC" = yes; then
4924 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4926 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4928 case $gcc_prog_ld in
4929 # Accept absolute paths.
4930 [\\/]* |
[A-Za-z
]:[\\/]*)
4931 LD
="$gcc_prog_ld" ;;
4936 # Check whether -static-libstdc++ -static-libgcc is supported.
4938 if test "$GCC" = yes; then
4939 saved_LDFLAGS
="$LDFLAGS"
4941 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4943 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4945 ac_cpp
='$CXXCPP $CPPFLAGS'
4946 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4947 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4948 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4954 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4955 #error -static-libstdc++ not implemented
4959 if ac_fn_cxx_try_link
"$LINENO"; then :
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4961 $as_echo "yes" >&6; }; have_static_libs
=yes
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4966 rm -f core conftest.err conftest.
$ac_objext \
4967 conftest
$ac_exeext conftest.
$ac_ext
4969 ac_cpp
='$CPP $CPPFLAGS'
4970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4975 LDFLAGS
="$saved_LDFLAGS"
4981 if test -n "$ac_tool_prefix"; then
4982 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4983 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4985 $as_echo_n "checking for $ac_word... " >&6; }
4986 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4987 $as_echo_n "(cached) " >&6
4989 if test -n "$GNATBIND"; then
4990 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4996 test -z "$as_dir" && as_dir
=.
4997 for ac_exec_ext
in '' $ac_executable_extensions; do
4998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4999 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 GNATBIND
=$ac_cv_prog_GNATBIND
5010 if test -n "$GNATBIND"; then
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5012 $as_echo "$GNATBIND" >&6; }
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5015 $as_echo "no" >&6; }
5020 if test -z "$ac_cv_prog_GNATBIND"; then
5021 ac_ct_GNATBIND
=$GNATBIND
5022 # Extract the first word of "gnatbind", so it can be a program name with args.
5023 set dummy gnatbind
; ac_word
=$2
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5025 $as_echo_n "checking for $ac_word... " >&6; }
5026 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5027 $as_echo_n "(cached) " >&6
5029 if test -n "$ac_ct_GNATBIND"; then
5030 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5036 test -z "$as_dir" && as_dir
=.
5037 for ac_exec_ext
in '' $ac_executable_extensions; do
5038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5039 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5050 if test -n "$ac_ct_GNATBIND"; then
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5052 $as_echo "$ac_ct_GNATBIND" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5058 if test "x$ac_ct_GNATBIND" = x
; then
5061 case $cross_compiling:$ac_tool_warned in
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5064 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5065 ac_tool_warned
=yes ;;
5067 GNATBIND
=$ac_ct_GNATBIND
5070 GNATBIND
="$ac_cv_prog_GNATBIND"
5073 if test -n "$ac_tool_prefix"; then
5074 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5075 set dummy
${ac_tool_prefix}gnatmake
; 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_GNATMAKE+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$GNATMAKE"; then
5082 ac_cv_prog_GNATMAKE
="$GNATMAKE" # 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_GNATMAKE
="${ac_tool_prefix}gnatmake"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 GNATMAKE
=$ac_cv_prog_GNATMAKE
5102 if test -n "$GNATMAKE"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5104 $as_echo "$GNATMAKE" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5112 if test -z "$ac_cv_prog_GNATMAKE"; then
5113 ac_ct_GNATMAKE
=$GNATMAKE
5114 # Extract the first word of "gnatmake", so it can be a program name with args.
5115 set dummy gnatmake
; ac_word
=$2
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5117 $as_echo_n "checking for $ac_word... " >&6; }
5118 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5119 $as_echo_n "(cached) " >&6
5121 if test -n "$ac_ct_GNATMAKE"; then
5122 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5128 test -z "$as_dir" && as_dir
=.
5129 for ac_exec_ext
in '' $ac_executable_extensions; do
5130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5131 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5142 if test -n "$ac_ct_GNATMAKE"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5144 $as_echo "$ac_ct_GNATMAKE" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5147 $as_echo "no" >&6; }
5150 if test "x$ac_ct_GNATMAKE" = x
; then
5153 case $cross_compiling:$ac_tool_warned in
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5157 ac_tool_warned
=yes ;;
5159 GNATMAKE
=$ac_ct_GNATMAKE
5162 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5166 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5167 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5168 $as_echo_n "(cached) " >&6
5170 cat >conftest.adb
<<EOF
5171 procedure conftest is begin null; end conftest;
5173 acx_cv_cc_gcc_supports_ada
=no
5174 # There is a bug in old released versions of GCC which causes the
5175 # driver to exit successfully when the appropriate language module
5176 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5177 # Therefore we must check for the error message as well as an
5178 # unsuccessful exit.
5179 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5180 # given a .adb file, but produce no object file. So we must check
5181 # if an object file was really produced to guard against this.
5182 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5183 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5184 acx_cv_cc_gcc_supports_ada
=yes
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5189 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5191 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5198 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5199 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5204 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5205 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5206 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5209 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5212 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5213 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5216 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5223 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5224 do_compare
="$gcc_cv_prog_cmp_skip"
5228 # Check whether --enable-bootstrap was given.
5229 if test "${enable_bootstrap+set}" = set; then :
5230 enableval
=$enable_bootstrap;
5232 enable_bootstrap
=default
5236 # Issue errors and warnings for invalid/strange bootstrap combinations.
5237 if test -r $srcdir/gcc
/configure
; then
5243 case "$have_compiler:$host:$target:$enable_bootstrap" in
5246 # Default behavior. Enable bootstrap if we have a compiler
5247 # and we are in a native configuration.
5248 yes:$build:$build:default
)
5249 enable_bootstrap
=yes ;;
5252 enable_bootstrap
=no
;;
5254 # We have a compiler and we are in a native configuration, bootstrap is ok
5255 yes:$build:$build:yes)
5258 # Other configurations, but we have a compiler. Assume the user knows
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5262 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5265 # No compiler: if they passed --enable-bootstrap explicitly, fail
5267 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5269 # Fail if wrong command line
5271 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5275 # Used for setting $lt_cv_objdir
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5277 $as_echo_n "checking for objdir... " >&6; }
5278 if test "${lt_cv_objdir+set}" = set; then :
5279 $as_echo_n "(cached) " >&6
5281 rm -f .libs
2>/dev
/null
5282 mkdir .libs
2>/dev
/null
5283 if test -d .libs
; then
5286 # MS-DOS does not allow filenames that begin with a dot.
5289 rmdir .libs
2>/dev
/null
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5292 $as_echo "$lt_cv_objdir" >&6; }
5293 objdir
=$lt_cv_objdir
5299 cat >>confdefs.h
<<_ACEOF
5300 #define LT_OBJDIR "$lt_cv_objdir/"
5305 # Check for GMP, MPFR and MPC
5306 gmplibs
="-lmpc -lmpfr -lgmp"
5310 # Specify a location for mpc
5311 # check for this first so it ends up on the link line before mpfr.
5313 # Check whether --with-mpc was given.
5314 if test "${with_mpc+set}" = set; then :
5319 # Check whether --with-mpc-include was given.
5320 if test "${with_mpc_include+set}" = set; then :
5321 withval
=$with_mpc_include;
5325 # Check whether --with-mpc-lib was given.
5326 if test "${with_mpc_lib+set}" = set; then :
5327 withval
=$with_mpc_lib;
5331 if test "x$with_mpc" != x
; then
5332 gmplibs
="-L$with_mpc/lib $gmplibs"
5333 gmpinc
="-I$with_mpc/include $gmpinc"
5335 if test "x$with_mpc_include" != x
; then
5336 gmpinc
="-I$with_mpc_include $gmpinc"
5338 if test "x$with_mpc_lib" != x
; then
5339 gmplibs
="-L$with_mpc_lib $gmplibs"
5341 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5342 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5343 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5344 # Do not test the mpc version. Assume that it is sufficient, since
5345 # it is in the source tree, and the library has not been built yet
5346 # but it would be included on the link line in the version check below
5347 # hence making the test fail.
5351 # Specify a location for mpfr
5352 # check for this first so it ends up on the link line before gmp.
5354 # Check whether --with-mpfr-dir was given.
5355 if test "${with_mpfr_dir+set}" = set; then :
5356 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5357 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5362 # Check whether --with-mpfr was given.
5363 if test "${with_mpfr+set}" = set; then :
5368 # Check whether --with-mpfr-include was given.
5369 if test "${with_mpfr_include+set}" = set; then :
5370 withval
=$with_mpfr_include;
5374 # Check whether --with-mpfr-lib was given.
5375 if test "${with_mpfr_lib+set}" = set; then :
5376 withval
=$with_mpfr_lib;
5380 if test "x$with_mpfr" != x
; then
5381 gmplibs
="-L$with_mpfr/lib $gmplibs"
5382 gmpinc
="-I$with_mpfr/include $gmpinc"
5384 if test "x$with_mpfr_include" != x
; then
5385 gmpinc
="-I$with_mpfr_include $gmpinc"
5387 if test "x$with_mpfr_lib" != x
; then
5388 gmplibs
="-L$with_mpfr_lib $gmplibs"
5390 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5391 # MPFR v3.1.0 moved the sources into a src sub-directory.
5392 if test -d ${srcdir}/mpfr
/src
; then
5393 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5394 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5395 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5397 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5398 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5399 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5401 # Do not test the mpfr version. Assume that it is sufficient, since
5402 # it is in the source tree, and the library has not been built yet
5403 # but it would be included on the link line in the version check below
5404 # hence making the test fail.
5408 # Specify a location for gmp
5410 # Check whether --with-gmp-dir was given.
5411 if test "${with_gmp_dir+set}" = set; then :
5412 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5413 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5418 # Check whether --with-gmp was given.
5419 if test "${with_gmp+set}" = set; then :
5424 # Check whether --with-gmp-include was given.
5425 if test "${with_gmp_include+set}" = set; then :
5426 withval
=$with_gmp_include;
5430 # Check whether --with-gmp-lib was given.
5431 if test "${with_gmp_lib+set}" = set; then :
5432 withval
=$with_gmp_lib;
5437 if test "x$with_gmp" != x
; then
5438 gmplibs
="-L$with_gmp/lib $gmplibs"
5439 gmpinc
="-I$with_gmp/include $gmpinc"
5441 if test "x$with_gmp_include" != x
; then
5442 gmpinc
="-I$with_gmp_include $gmpinc"
5444 if test "x$with_gmp_lib" != x
; then
5445 gmplibs
="-L$with_gmp_lib $gmplibs"
5447 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5448 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5449 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5450 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5451 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5452 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5453 # Do not test the gmp 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 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5462 saved_CFLAGS
="$CFLAGS"
5463 CFLAGS
="$CFLAGS $gmpinc"
5464 # Check for the recommended and required versions of GMP.
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5466 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5468 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5469 /* end confdefs.h. */
5475 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5476 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5477 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5485 if ac_fn_c_try_compile
"$LINENO"; then :
5486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5493 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5494 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5495 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5503 if ac_fn_c_try_compile
"$LINENO"; then :
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5505 $as_echo "yes" >&6; }
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5508 $as_echo "buggy but acceptable" >&6; }
5510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5513 $as_echo "no" >&6; }; have_gmp
=no
5515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5517 # If we have GMP, check the MPFR version.
5518 if test x
"$have_gmp" = xyes
; then
5519 # Check for the recommended and required versions of MPFR.
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5521 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5530 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5538 if ac_fn_c_try_compile
"$LINENO"; then :
5539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5547 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,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
5570 # Check for the MPC header version.
5571 if test x
"$have_gmp" = xyes
; then
5572 # Check for the recommended and required versions of MPC.
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5574 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5582 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5590 if ac_fn_c_try_compile
"$LINENO"; then :
5591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5598 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5606 if ac_fn_c_try_compile
"$LINENO"; then :
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5608 $as_echo "yes" >&6; }
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5611 $as_echo "buggy but acceptable" >&6; }
5613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }; have_gmp
=no
5618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 # Now check the MPFR library.
5622 if test x
"$have_gmp" = xyes
; then
5624 LIBS
="$LIBS $gmplibs"
5625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5626 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5628 /* end confdefs.h. */
5640 mpfr_atan2 (n, n, x, GMP_RNDN);
5641 mpfr_erfc (n, x, GMP_RNDN);
5642 mpfr_subnormalize (x, t, GMP_RNDN);
5646 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5647 mpc_cosh (c, c, MPC_RNDNN);
5648 mpc_pow (c, c, c, MPC_RNDNN);
5649 mpc_acosh (c, c, MPC_RNDNN);
5656 if ac_fn_c_try_link
"$LINENO"; then :
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5658 $as_echo "yes" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }; have_gmp
=no
5663 rm -f core conftest.err conftest.
$ac_objext \
5664 conftest
$ac_exeext conftest.
$ac_ext
5668 CFLAGS
="$saved_CFLAGS"
5670 # The library versions listed in the error message below should match
5671 # the HARD-minimums enforced above.
5672 if test x
$have_gmp != xyes
; then
5673 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5674 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5675 their locations. Source code for these libraries can be found at
5676 their respective hosting sites as well as at
5677 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5678 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5679 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5680 make sure that you have installed both the libraries and the header
5681 files. They may be located in separate packages." "$LINENO" 5
5685 # Flags needed for both GMP, MPFR and/or MPC.
5693 # Allow host libstdc++ to be specified for static linking with PPL.
5695 # Check whether --with-host-libstdcxx was given.
5696 if test "${with_host_libstdcxx+set}" = set; then :
5697 withval
=$with_host_libstdcxx;
5701 case $with_host_libstdcxx in
5703 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5707 # Libraries to use for stage1 or when not bootstrapping.
5709 # Check whether --with-stage1-libs was given.
5710 if test "${with_stage1_libs+set}" = set; then :
5711 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5714 stage1_libs
=$withval
5717 stage1_libs
=$with_host_libstdcxx
5722 # Linker flags to use for stage1 or when not bootstrapping.
5724 # Check whether --with-stage1-ldflags was given.
5725 if test "${with_stage1_ldflags+set}" = set; then :
5726 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5729 stage1_ldflags
=$withval
5733 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5734 # if supported. But if the user explicitly specified the libraries to use,
5735 # trust that they are doing what they want.
5736 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5737 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5743 # Libraries to use for stage2 and later builds. This defaults to the
5744 # argument passed to --with-host-libstdcxx.
5746 # Check whether --with-boot-libs was given.
5747 if test "${with_boot_libs+set}" = set; then :
5748 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5751 poststage1_libs
=$withval
5754 poststage1_libs
=$with_host_libstdcxx
5759 # Linker flags to use for stage2 and later builds.
5761 # Check whether --with-boot-ldflags was given.
5762 if test "${with_boot_ldflags+set}" = set; then :
5763 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5766 poststage1_ldflags
=$withval
5770 # In stages 2 and 3, default to linking libstdc++ and libgcc
5771 # statically. But if the user explicitly specified the libraries to
5772 # use, trust that they are doing what they want.
5773 if test "$poststage1_libs" = ""; then
5774 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5780 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5781 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5785 # Check whether --with-cloog was given.
5786 if test "${with_cloog+set}" = set; then :
5787 withval
=$with_cloog;
5791 # Check whether --with-isl was given.
5792 if test "${with_isl+set}" = set; then :
5797 # Treat --without-isl as a request to disable
5798 # GRAPHITE support and skip all following checks.
5799 if test "x$with_isl" != "xno"; then
5803 # Check whether --with-isl-include was given.
5804 if test "${with_isl_include+set}" = set; then :
5805 withval
=$with_isl_include;
5809 # Check whether --with-isl-lib was given.
5810 if test "${with_isl_lib+set}" = set; then :
5811 withval
=$with_isl_lib;
5815 # Check whether --enable-isl-version-check was given.
5816 if test "${enable_isl_version_check+set}" = set; then :
5817 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5819 ENABLE_ISL_CHECK
=yes
5823 # Initialize isllibs and islinc.
5832 isllibs
="-L$with_isl/lib"
5833 islinc
="-I$with_isl/include"
5836 if test "x${with_isl_include}" != x
; then
5837 islinc
="-I$with_isl_include"
5839 if test "x${with_isl_lib}" != x
; then
5840 isllibs
="-L$with_isl_lib"
5842 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5843 && test -d ${srcdir}/isl
; then
5844 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5845 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5848 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5851 islinc
="-DCLOOG_INT_GMP ${islinc}"
5852 isllibs
="${isllibs} -lisl"
5856 if test "${ENABLE_ISL_CHECK}" = yes ; then
5857 _isl_saved_CFLAGS
=$CFLAGS
5858 _isl_saved_LDFLAGS
=$LDFLAGS
5859 _isl_saved_LIBS
=$LIBS
5861 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5862 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5863 LIBS
="${_isl_saved_LIBS} -lisl"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compatible ISL" >&5
5866 $as_echo_n "checking for compatible ISL... " >&6; }
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include <isl/val.h>
5878 if ac_fn_c_try_link
"$LINENO"; then :
5883 rm -f core conftest.err conftest.
$ac_objext \
5884 conftest
$ac_exeext conftest.
$ac_ext
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5886 $as_echo "$gcc_cv_isl" >&6; }
5888 CFLAGS
=$_isl_saved_CFLAGS
5889 LDFLAGS
=$_isl_saved_LDFLAGS
5890 LIBS
=$_isl_saved_LIBS
5898 if test "x${with_isl}" = xno
; then
5899 graphite_requested
=no
5900 elif test "x${with_isl}" != x \
5901 ||
test "x${with_isl_include}" != x \
5902 ||
test "x${with_isl_lib}" != x
; then
5903 graphite_requested
=yes
5905 graphite_requested
=no
5910 if test "${gcc_cv_isl}" = no
; then
5915 if test "${graphite_requested}" = yes \
5916 && test "x${isllibs}" = x \
5917 && test "x${islinc}" = x
; then
5919 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5924 if test "x$gcc_cv_isl" != "xno"; then
5928 # Check whether --with-cloog-include was given.
5929 if test "${with_cloog_include+set}" = set; then :
5930 withval
=$with_cloog_include;
5934 # Check whether --with-cloog-lib was given.
5935 if test "${with_cloog_lib+set}" = set; then :
5936 withval
=$with_cloog_lib;
5940 # Check whether --enable-cloog-version-check was given.
5941 if test "${enable_cloog_version_check+set}" = set; then :
5942 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5944 ENABLE_CLOOG_CHECK
=yes
5948 # Initialize clooglibs and clooginc.
5957 clooglibs
="-L$with_cloog/lib"
5958 clooginc
="-I$with_cloog/include"
5961 if test "x${with_cloog_include}" != x
; then
5962 clooginc
="-I$with_cloog_include"
5964 if test "x${with_cloog_lib}" != x
; then
5965 clooglibs
="-L$with_cloog_lib"
5967 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5968 && test -d ${srcdir}/cloog
; then
5969 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5970 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include'
5971 ENABLE_CLOOG_CHECK
=no
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
5973 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
5976 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5977 clooglibs
="${clooglibs} -lcloog-isl"
5983 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5984 _cloog_saved_CFLAGS
=$CFLAGS
5985 _cloog_saved_LDFLAGS
=$LDFLAGS
5987 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5988 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.1 of CLooG" >&5
5991 $as_echo_n "checking for version 0.18.1 of CLooG... " >&6; }
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include "cloog/version.h"
5998 #if CLOOG_VERSION_MAJOR != 0 \
5999 || CLOOG_VERSION_MINOR != 18 \
6000 || CLOOG_VERSION_REVISION < 1
6007 if ac_fn_c_try_compile
"$LINENO"; then :
6012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6014 $as_echo "$gcc_cv_cloog" >&6; }
6016 CFLAGS
=$_cloog_saved_CFLAGS
6017 LDFLAGS
=$_cloog_saved_LDFLAGS
6026 if test "x${with_cloog}" = xno
; then
6027 graphite_requested
=no
6028 elif test "x${with_cloog}" != x \
6029 ||
test "x${with_cloog_include}" != x \
6030 ||
test "x${with_cloog_lib}" != x
; then
6031 graphite_requested
=yes
6033 graphite_requested
=no
6038 if test "${gcc_cv_cloog}" = no
; then
6043 if test "${graphite_requested}" = yes \
6044 && test "x${clooglibs}" = x \
6045 && test "x${clooginc}" = x
; then
6047 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6054 # If the ISL check failed, disable builds of in-tree
6055 # variants of both ISL and CLooG
6056 if test "x$with_isl" = xno ||
6057 test "x$gcc_cv_isl" = xno
; then
6058 noconfigdirs
="$noconfigdirs cloog isl"
6064 # If the CLooG check failed, disable builds of in-tree
6066 if test "x$with_cloog" = xno ||
6067 test "x$gcc_cv_cloog" = xno
; then
6068 noconfigdirs
="$noconfigdirs cloog isl"
6078 # Check for LTO support.
6079 # Check whether --enable-lto was given.
6080 if test "${enable_lto+set}" = set; then :
6081 enableval
=$enable_lto; enable_lto
=$enableval
6083 enable_lto
=yes; default_enable_lto
=yes
6092 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6093 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6094 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6102 if test $target_elf = yes; then :
6103 # ELF platforms build the lto-plugin always.
6104 build_lto_plugin
=yes
6107 if test x
"$default_enable_lto" = x
"yes" ; then
6109 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6110 # On other non-ELF platforms, LTO has yet to be validated.
6114 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6115 # It would also be nice to check the binutils support, but we don't
6116 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6117 # warn during gcc/ subconfigure; unless you're bootstrapping with
6118 # -flto it won't be needed until after installation anyway.
6120 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6121 *) if test x
"$enable_lto" = x
"yes"; then
6122 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6127 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6128 # Build it unless LTO was explicitly disabled.
6130 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6137 # Check whether --enable-linker-plugin-configure-flags was given.
6138 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6139 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6141 extra_linker_plugin_configure_flags
=
6145 # Check whether --enable-linker-plugin-flags was given.
6146 if test "${enable_linker_plugin_flags+set}" = set; then :
6147 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6149 extra_linker_plugin_flags
=
6155 # By default, C and C++ are the only stage 1 languages.
6156 stage1_languages
=,c
,
6158 # Target libraries that we bootstrap.
6159 bootstrap_target_libs
=,target-libgcc
,
6161 # Figure out what language subdirectories are present.
6162 # Look if the user specified --enable-languages="..."; if not, use
6163 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6165 # NB: embedded tabs in this IF block -- do not untabify
6166 if test -d ${srcdir}/gcc
; then
6167 if test x
"${enable_languages+set}" != xset
; then
6168 if test x
"${LANGUAGES+set}" = xset
; then
6169 enable_languages
="${LANGUAGES}"
6170 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6172 enable_languages
=all
6175 if test x
"${enable_languages}" = x ||
6176 test x
"${enable_languages}" = xyes
;
6178 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6182 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6184 # 'f95' is the old name for the 'fortran' language. We issue a warning
6185 # and make the substitution.
6186 case ,${enable_languages}, in
6188 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6189 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6193 # If bootstrapping, C++ must be enabled.
6194 case ",$enable_languages,:$enable_bootstrap" in
6197 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6198 enable_languages
="${enable_languages},c++"
6200 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6205 # First scan to see if an enabled language requires some other language.
6206 # We assume that a given config-lang.in will list all the language
6207 # front ends it requires, even if some are required indirectly.
6208 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6209 case ${lang_frag} in
6211 # The odd quoting in the next line works around
6212 # an apparent bug in bash 1.12 on linux.
6213 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6215 # From the config-lang.in, get $language, $lang_requires, and
6216 # $lang_requires_boot_languages.
6219 lang_requires_boot_languages
=
6221 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6222 case ,${enable_languages}, in
6226 echo " \`$other' language required by \`$language'; enabling" 1>&2
6227 enable_languages
="${enable_languages},${other}"
6231 for other
in ${lang_requires_boot_languages} ; do
6232 if test "$other" != "c"; then
6233 case ,${enable_stage1_languages}, in
6237 case ,${enable_languages}, in
6239 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6240 enable_stage1_languages
="$enable_stage1_languages,${other}"
6251 new_enable_languages
=,c
,
6253 # If LTO is enabled, add the LTO front end.
6254 extra_host_libiberty_configure_flags
=
6255 if test "$enable_lto" = "yes" ; then
6256 case ,${enable_languages}, in
6258 *) enable_languages
="${enable_languages},lto" ;;
6260 if test "${build_lto_plugin}" = "yes" ; then
6261 configdirs
="$configdirs lto-plugin"
6262 extra_host_libiberty_configure_flags
=--enable-shared
6267 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6268 potential_languages
=,c
,
6270 enabled_target_libs
=
6271 disabled_target_libs
=
6273 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6274 case ${lang_frag} in
6276 # The odd quoting in the next line works around
6277 # an apparent bug in bash 1.12 on linux.
6278 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6280 # From the config-lang.in, get $language, $target_libs,
6281 # $lang_dirs, $boot_language, and $build_by_default
6287 build_by_default
=yes
6289 if test x
${language} = x
; then
6290 echo "${lang_frag} doesn't set \$language." 1>&2
6294 if test "$language" = "c++"; then
6299 case ,${enable_languages}, in
6301 # Language was explicitly selected; include it
6302 # unless it is C, which is enabled by default.
6303 if test "$language" != "c"; then
6308 # 'all' was selected, select it if it is a default language
6309 if test "$language" != "c"; then
6310 add_this_lang
=${build_by_default}
6315 # Disable languages that need other directories if these aren't available.
6316 for i
in $subdir_requires; do
6317 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6318 case ,${enable_languages}, in
6320 # Specifically requested language; tell them.
6321 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6325 add_this_lang
=unsupported
6330 # Disable Ada if no preexisting GNAT is available.
6331 case ,${enable_languages},:${language}:${have_gnat} in
6332 *,${language},*:ada
:no
)
6333 # Specifically requested language; tell them.
6334 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6338 add_this_lang
=unsupported
6342 # Disable a language that is unsupported by the target.
6343 case " $unsupported_languages " in
6345 add_this_lang
=unsupported
6349 case $add_this_lang in
6351 # Remove language-dependent dirs.
6352 disabled_target_libs
="$disabled_target_libs $target_libs"
6353 noconfigdirs
="$noconfigdirs $lang_dirs"
6356 # Remove language-dependent dirs; still show language as supported.
6357 disabled_target_libs
="$disabled_target_libs $target_libs"
6358 noconfigdirs
="$noconfigdirs $lang_dirs"
6359 potential_languages
="${potential_languages}${language},"
6362 new_enable_languages
="${new_enable_languages}${language},"
6363 potential_languages
="${potential_languages}${language},"
6364 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6365 enabled_target_libs
="$enabled_target_libs $target_libs"
6366 case "${boot_language}:,$enable_stage1_languages," in
6367 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6368 # Add to (comma-separated) list of stage 1 languages.
6369 case ",$stage1_languages," in
6370 *,$language,* |
,yes, |
,all
,) ;;
6371 *) stage1_languages
="${stage1_languages}${language}," ;;
6373 # We need to bootstrap any supporting libraries.
6374 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6383 # Add target libraries which are only needed for disabled languages
6385 if test -n "$disabled_target_libs"; then
6386 for dir
in $disabled_target_libs; do
6387 case " $enabled_target_libs " in
6389 *) noconfigdirs
="$noconfigdirs $dir" ;;
6394 # Check whether --enable-stage1-languages was given.
6395 if test "${enable_stage1_languages+set}" = set; then :
6396 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6398 # Set it to something that will have no effect in the loop below
6399 enable_stage1_languages
=c
;;
6401 enable_stage1_languages
=`echo $new_enable_languages | \
6402 sed -e "s/^,//" -e "s/,$//" ` ;;
6404 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6405 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6408 # Add "good" languages from enable_stage1_languages to stage1_languages,
6409 # while "bad" languages go in missing_languages. Leave no duplicates.
6410 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6411 case $potential_languages in
6413 case $stage1_languages in
6415 *) stage1_languages
="$stage1_languages$i," ;;
6418 case $missing_languages in
6420 *) missing_languages
="$missing_languages$i," ;;
6427 # Remove leading/trailing commas that were added for simplicity
6428 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6429 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6430 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6431 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6433 if test "x$missing_languages" != x
; then
6435 The following requested languages could not be built: ${missing_languages}
6436 Supported languages are: ${potential_languages}" "$LINENO" 5
6438 if test "x$new_enable_languages" != "x$enable_languages"; then
6439 echo The following languages will be built
: ${new_enable_languages}
6440 enable_languages
="$new_enable_languages"
6444 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6447 # Handle --disable-<component> generically.
6448 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6449 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6450 varname
=`echo $dirname | sed -e s/+/_/g`
6451 if eval test x\
${enable_${varname}} "=" xno
; then
6452 noconfigdirs
="$noconfigdirs $dir"
6456 # Check for Boehm's garbage collector
6457 # Check whether --enable-objc-gc was given.
6458 if test "${enable_objc_gc+set}" = set; then :
6459 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6460 *,objc
,*:*:yes:*target-boehm-gc
*)
6461 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6467 # Make sure we only build Boehm's garbage collector if required.
6468 case ,${enable_languages},:${enable_objc_gc} in
6470 # Keep target-boehm-gc if requested for Objective-C.
6473 # Otherwise remove target-boehm-gc depending on target-libjava.
6474 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6475 noconfigdirs
="$noconfigdirs target-boehm-gc"
6480 # Disable libcilkrts, libitm, libsanitizer, libvtv if we're not building C++
6481 case ,${enable_languages}, in
6483 # Disable libcilkrts, libitm, libsanitizer if we're not building libstdc++
6484 case "${noconfigdirs}" in
6485 *target-libstdc
++-v3*)
6486 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer"
6492 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6496 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6497 # $build_configdirs and $target_configdirs.
6498 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6501 for dir
in .
$skipdirs $noconfigdirs ; do
6502 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6503 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6504 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6505 if test -r $srcdir/$dirname/configure
; then
6506 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6509 notsupp
="$notsupp $dir"
6513 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6514 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6515 if test -r $srcdir/$dirname/configure
; then
6516 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6519 notsupp
="$notsupp $dir"
6523 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6524 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6525 if test -r $srcdir/$dirname/configure
; then
6526 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6529 notsupp
="$notsupp $dir"
6535 # Quietly strip out all directories which aren't configurable in this tree.
6536 # This relies on all configurable subdirectories being autoconfiscated, which
6538 build_configdirs_all
="$build_configdirs"
6540 for i
in ${build_configdirs_all} ; do
6541 j
=`echo $i | sed -e s/build-//g`
6542 if test -f ${srcdir}/$j/configure
; then
6543 build_configdirs
="${build_configdirs} $i"
6547 configdirs_all
="$configdirs"
6549 for i
in ${configdirs_all} ; do
6550 if test -f ${srcdir}/$i/configure
; then
6551 configdirs
="${configdirs} $i"
6555 target_configdirs_all
="$target_configdirs"
6557 for i
in ${target_configdirs_all} ; do
6558 j
=`echo $i | sed -e s/target-//g`
6559 if test -f ${srcdir}/$j/configure
; then
6560 target_configdirs
="${target_configdirs} $i"
6564 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6565 # so we have to add it after the preceding checks.
6566 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6568 case " $configdirs " in
6570 # If we can build libiberty, we can also build libiberty-linker-plugin.
6571 configdirs
="$configdirs libiberty-linker-plugin"
6572 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6573 --with-libiberty=../libiberty-linker-plugin";;
6575 as_fn_error
"libiberty missing" "$LINENO" 5;;
6579 # Produce a warning message for the subdirs we can't configure.
6580 # This isn't especially interesting in the Cygnus tree, but in the individual
6581 # FSF releases, it's important to let people know when their machine isn't
6582 # supported by the one or two programs in a package.
6584 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6585 # If $appdirs is non-empty, at least one of those directories must still
6586 # be configured, or we error out. (E.g., if the gas release supports a
6587 # specified target in some subdirs but not the gas subdir, we shouldn't
6588 # pretend that all is well.)
6589 if test -n "$appdirs" ; then
6590 for dir
in $appdirs ; do
6591 if test -r $dir/Makefile.
in ; then
6592 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6596 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6602 if test -n "$appdirs" ; then
6603 echo "*** This configuration is not supported by this package." 1>&2
6607 # Okay, some application will build, or we don't care to check. Still
6608 # notify of subdirs not getting built.
6609 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6610 echo " ${notsupp}" 1>&2
6611 echo " (Any other directories should still work fine.)" 1>&2
6619 # To find our prefix, in gcc_cv_tool_prefix.
6621 # The user is always right.
6622 if test "${PATH_SEPARATOR+set}" != set; then
6623 echo "#! /bin/sh" >conf$$.sh
6624 echo "exit 0" >>conf$$.sh
6626 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6636 if test "x$exec_prefix" = xNONE
; then
6637 if test "x$prefix" = xNONE
; then
6638 gcc_cv_tool_prefix
=$ac_default_prefix
6640 gcc_cv_tool_prefix
=$prefix
6643 gcc_cv_tool_prefix
=$exec_prefix
6646 # If there is no compiler in the tree, use the PATH only. In any
6647 # case, if there is no compiler in the tree nobody should use
6648 # AS_FOR_TARGET and LD_FOR_TARGET.
6649 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6650 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6651 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6652 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6653 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6654 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6655 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6656 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6661 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6662 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6670 # Check whether --with-build-sysroot was given.
6671 if test "${with_build_sysroot+set}" = set; then :
6672 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6673 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6676 SYSROOT_CFLAGS_FOR_TARGET
=
6682 # Check whether --with-debug-prefix-map was given.
6683 if test "${with_debug_prefix_map+set}" = set; then :
6684 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6685 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6686 for debug_map
in $withval; do
6687 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6691 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6696 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6697 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6698 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6699 # We want to ensure that TARGET libraries (which we know are built with
6700 # gcc) are built with "-O2 -g", so include those options when setting
6701 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6702 if test "x$CFLAGS_FOR_TARGET" = x
; then
6703 CFLAGS_FOR_TARGET
=$CFLAGS
6706 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6709 *" -g "* |
*" -g3 "*) ;;
6710 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6715 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6716 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6717 case " $CXXFLAGS " in
6719 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6721 case " $CXXFLAGS " in
6722 *" -g "* |
*" -g3 "*) ;;
6723 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6730 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6731 # the named directory are copied to $(tooldir)/sys-include.
6732 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6733 if test x
${is_cross_compiler} = xno
; then
6734 echo 1>&2 '***' --with-headers is only supported when cross compiling
6737 if test x
"${with_headers}" != xyes
; then
6738 x
=${gcc_cv_tool_prefix}
6739 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6743 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6744 # the name directories are copied to $(tooldir)/lib. Multiple directories
6746 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6747 if test x
${is_cross_compiler} = xno
; then
6748 echo 1>&2 '***' --with-libs is only supported when cross compiling
6751 if test x
"${with_libs}" != xyes
; then
6752 # Copy the libraries in reverse order, so that files in the first named
6753 # library override files in subsequent libraries.
6754 x
=${gcc_cv_tool_prefix}
6755 for l
in ${with_libs}; do
6756 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6761 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6763 # This is done by determining whether or not the appropriate directory
6764 # is available, and by checking whether or not specific configurations
6765 # have requested that this magic not happen.
6767 # The command line options always override the explicit settings in
6768 # configure.in, and the settings in configure.in override this magic.
6770 # If the default for a toolchain is to use GNU as and ld, and you don't
6771 # want to do that, then you should use the --without-gnu-as and
6772 # --without-gnu-ld options for the configure script. Similarly, if
6773 # the default is to use the included zlib and you don't want to do that,
6774 # you should use the --with-system-zlib option for the configure script.
6776 if test x
${use_gnu_as} = x
&&
6777 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6779 extra_host_args
="$extra_host_args --with-gnu-as"
6782 if test x
${use_gnu_ld} = x
&&
6783 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6785 extra_host_args
="$extra_host_args --with-gnu-ld"
6788 if test x
${use_included_zlib} = x
&&
6789 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6792 with_system_zlib
=yes
6793 extra_host_args
="$extra_host_args --with-system-zlib"
6796 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6797 # can detect this case.
6799 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6801 extra_host_args
="$extra_host_args --with-newlib"
6804 # Handle ${copy_dirs}
6805 set fnord
${copy_dirs}
6807 while test $# != 0 ; do
6808 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6811 echo Copying
$1 to
$2
6813 # Use the install script to create the directory and all required
6814 # parent directories.
6815 if test -d $2 ; then
6819 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6822 # Copy the directory, assuming we have tar.
6823 # FIXME: Should we use B in the second tar? Not all systems support it.
6824 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6826 # It is the responsibility of the user to correctly adjust all
6827 # symlinks. If somebody can figure out how to handle them correctly
6828 # here, feel free to add the code.
6835 # Determine a target-dependent exec_prefix that the installed
6836 # gcc will search in. Keep this list sorted by triplet, with
6837 # the *-*-osname triplets last.
6840 i
[34567]86-pc-msdosdjgpp*)
6841 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6846 md_exec_prefix
=/usr
/ccs
/bin
6850 extra_arflags_for_target
=
6851 extra_nmflags_for_target
=
6852 extra_ranlibflags_for_target
=
6853 target_makefile_frag
=/dev
/null
6856 target_makefile_frag
="config/mt-spu"
6858 mips
*-sde-elf* | mips
*-mti-elf*)
6859 target_makefile_frag
="config/mt-sde"
6861 mipsisa
*-*-elfoabi*)
6862 target_makefile_frag
="config/mt-mips-elfoabi"
6864 mips
*-*-*linux
* | mips
*-*-gnu*)
6865 target_makefile_frag
="config/mt-mips-gnu"
6868 target_makefile_frag
="config/mt-nios2-elf"
6870 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6871 target_makefile_frag
="config/mt-gnu"
6873 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6874 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6875 # commands to handle both 32-bit and 64-bit objects. These flags are
6876 # harmless if we're using GNU nm or ar.
6877 extra_arflags_for_target
=" -X32_64"
6878 extra_nmflags_for_target
=" -B -X32_64"
6882 alphaieee_frag
=/dev
/null
6885 # This just makes sure to use the -mieee option to build target libs.
6886 # This should probably be set individually by each library.
6887 alphaieee_frag
="config/mt-alphaieee"
6891 # If --enable-target-optspace always use -Os instead of -O2 to build
6892 # the target libraries, similarly if it is not specified, use -Os
6893 # on selected platforms.
6894 ospace_frag
=/dev
/null
6895 case "${enable_target_optspace}:${target}" in
6897 ospace_frag
="config/mt-ospace"
6900 ospace_frag
="config/mt-d30v"
6902 :m32r-
* |
:d10v-
* |
:fr30-
*)
6903 ospace_frag
="config/mt-ospace"
6908 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6912 # Some systems (e.g., one of the i386-aix systems the gas testers are
6913 # using) don't handle "\$" correctly, so don't use it here.
6914 tooldir
='${exec_prefix}'/${target_noncanonical}
6915 build_tooldir
=${tooldir}
6917 # Create a .gdbinit file which runs the one in srcdir
6918 # and tells GDB to look there for source files.
6920 if test -r ${srcdir}/.gdbinit
; then
6923 *) cat > .
/.gdbinit
<<EOF
6927 source ${srcdir}/.gdbinit
6933 # Make sure that the compiler is able to generate an executable. If it
6934 # can't, we are probably in trouble. We don't care whether we can run the
6935 # executable--we might be using a cross compiler--we only care whether it
6936 # can be created. At this point the main configure script has set CC.
6938 echo "int main () { return 0; }" > conftest.c
6939 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6940 if test $?
= 0 ; then
6941 if test -s conftest ||
test -s conftest.exe
; then
6947 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6948 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6955 # Decide which environment variable is used to find dynamic libraries.
6957 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6958 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6959 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6960 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6963 # On systems where the dynamic library environment variable is PATH,
6964 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6965 # built executables to PATH.
6966 if test "$RPATH_ENVVAR" = PATH
; then
6967 GCC_SHLIB_SUBDIR
=/shlib
6972 # Adjust the toplevel makefile according to whether bootstrap was selected.
6973 case $enable_bootstrap in
6975 bootstrap_suffix
=bootstrap
6976 BUILD_CONFIG
=bootstrap-debug
6979 bootstrap_suffix
=no-bootstrap
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6985 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6988 # Check whether --with-build-config was given.
6989 if test "${with_build_config+set}" = set; then :
6990 withval
=$with_build_config; case $with_build_config in
6991 yes) with_build_config
= ;;
6992 no
) with_build_config
= BUILD_CONFIG
= ;;
6997 if test "x${with_build_config}" != x
; then
6998 BUILD_CONFIG
=$with_build_config
7000 case $BUILD_CONFIG in
7002 if echo "int f (void) { return 0; }" > conftest.c
&&
7003 ${CC} -c conftest.c
&&
7004 mv conftest.o conftest.o.g0
&&
7005 ${CC} -c -g conftest.c
&&
7006 mv conftest.o conftest.o.g
&&
7007 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7012 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7017 $as_echo "$BUILD_CONFIG" >&6; }
7020 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7022 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7023 # Check whether --enable-vtable-verify was given.
7024 if test "${enable_vtable_verify+set}" = set; then :
7025 enableval
=$enable_vtable_verify; case "$enableval" in
7026 yes) enable_vtable_verify
=yes ;;
7027 no
) enable_vtable_verify
=no
;;
7028 *) enable_vtable_verify
=no
;;
7031 enable_vtable_verify
=no
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7035 $as_echo "$enable_vtable_verify" >&6; }
7037 # Record target_configdirs and the configure arguments for target and
7038 # build configuration in Makefile.
7039 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7040 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7041 bootstrap_fixincludes
=no
7043 # If we are building libgomp, bootstrap it.
7044 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7045 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7048 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7049 # or bootstrap-ubsan, bootstrap it.
7050 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7051 case "$BUILD_CONFIG" in
7052 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7053 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7054 bootstrap_fixincludes
=yes
7059 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7060 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7061 test "$enable_vtable_verify" != no
; then
7062 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7065 # Determine whether gdb needs tk/tcl or not.
7066 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7067 # and in that case we want gdb to be built without tk. Ugh!
7068 # In fact I believe gdb is the *only* package directly dependent on tk,
7069 # so we should be able to put the 'maybe's in unconditionally and
7070 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7071 # 100% sure that that's safe though.
7073 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7074 case "$enable_gdbtk" in
7078 GDB_TK
="${gdb_tk}" ;;
7080 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7081 # distro. Eventually someone will fix this and move Insight, nee
7082 # gdbtk to a separate directory.
7083 if test -d ${srcdir}/gdb
/gdbtk
; then
7090 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7091 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7093 # Strip out unwanted targets.
7095 # While at that, we remove Makefiles if we were started for recursive
7096 # configuration, so that the top-level Makefile reconfigures them,
7097 # like we used to do when configure itself was recursive.
7099 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7100 # but now we're fixing up the Makefile ourselves with the additional
7101 # commands passed to AC_CONFIG_FILES. Use separate variables
7102 # extrasub-{build,host,target} not because there is any reason to split
7103 # the substitutions up that way, but only to remain below the limit of
7104 # 99 commands in a script, for HP-UX sed.
7105 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7107 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7108 yes:yes:*\ gold\
*:*,c
++,*) ;;
7109 yes:yes:*\ gold\
*:*)
7110 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7115 for module
in ${build_configdirs} ; do
7116 if test -z "${no_recursion}" \
7117 && test -f ${build_subdir}/${module}/Makefile
; then
7118 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7119 rm -f ${build_subdir}/${module}/Makefile
7121 extrasub_build
="$extrasub_build
7122 /^@if build-$module\$/d
7123 /^@endif build-$module\$/d
7124 /^@if build-$module-$bootstrap_suffix\$/d
7125 /^@endif build-$module-$bootstrap_suffix\$/d"
7128 for module
in ${configdirs} ; do
7129 if test -z "${no_recursion}"; then
7130 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7131 if test -f ${file}; then
7132 echo 1>&2 "*** removing ${file} to force reconfigure"
7137 case ${module},${bootstrap_fixincludes} in
7138 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7139 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7141 extrasub_host
="$extrasub_host
7143 /^@endif $module\$/d
7144 /^@if $module-$host_bootstrap_suffix\$/d
7145 /^@endif $module-$host_bootstrap_suffix\$/d"
7148 for module
in ${target_configdirs} ; do
7149 if test -z "${no_recursion}" \
7150 && test -f ${target_subdir}/${module}/Makefile
; then
7151 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7152 rm -f ${target_subdir}/${module}/Makefile
7155 # We only bootstrap target libraries listed in bootstrap_target_libs.
7156 case $bootstrap_target_libs in
7157 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7158 *) target_bootstrap_suffix
=no-bootstrap
;;
7161 extrasub_target
="$extrasub_target
7162 /^@if target-$module\$/d
7163 /^@endif target-$module\$/d
7164 /^@if target-$module-$target_bootstrap_suffix\$/d
7165 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7168 # Do the final fixup along with target modules.
7169 extrasub_target
="$extrasub_target
7170 /^@if /,/^@endif /d"
7172 # Create the serialization dependencies. This uses a temporary file.
7174 # Check whether --enable-serial-configure was given.
7175 if test "${enable_serial_configure+set}" = set; then :
7176 enableval
=$enable_serial_configure;
7180 case ${enable_serial_configure} in
7182 enable_serial_build_configure
=yes
7183 enable_serial_host_configure
=yes
7184 enable_serial_target_configure
=yes
7188 # These force 'configure's to be done one at a time, to avoid problems
7189 # with contention over a shared config.cache.
7191 echo '# serdep.tmp' > serdep.tmp
7193 test "x${enable_serial_build_configure}" = xyes
&&
7194 for item
in ${build_configdirs} ; do
7197 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7202 test "x${enable_serial_host_configure}" = xyes
&&
7203 for item
in ${configdirs} ; do
7206 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7211 test "x${enable_serial_target_configure}" = xyes
&&
7212 for item
in ${target_configdirs} ; do
7215 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7219 serialization_dependencies
=serdep.tmp
7222 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7223 # target, nonopt, and variable assignments. These are the ones we
7224 # might not want to pass down to subconfigures. The exception being
7225 # --cache-file=/dev/null, which is used to turn off the use of cache
7226 # files altogether, and which should be passed on to subconfigures.
7227 # Also strip program-prefix, program-suffix, and program-transform-name,
7228 # so that we can pass down a consistent program-transform-name.
7233 eval "set -- $ac_configure_args"
7236 if test X
"$skip_next" = X
"yes"; then
7240 if test X
"$keep_next" = X
"yes"; then
7243 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7245 baseargs
="$baseargs '$ac_arg'"
7246 tbaseargs
="$tbaseargs '$ac_arg'"
7251 # Handle separated arguments. Based on the logic generated by
7254 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7255 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7256 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7257 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7271 --with-* |
--without-*)
7272 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7276 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7279 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7288 mpc | mpfr | gmp | isl | cloog
)
7289 # If we're processing --with-$lib, --with-$lib-include or
7290 # --with-$lib-lib, for one of the libs above, and target is
7291 # different from host, don't pass the current argument to any
7292 # target library's configure.
7293 if test x
$is_cross_compiler = xyes
; then
7302 --cache-file=/dev
/null | \
7303 -cache-file=/dev
/null
)
7304 # Handled here to avoid the test to skip args below.
7305 baseargs
="$baseargs '$ac_arg'"
7306 tbaseargs
="$tbaseargs '$ac_arg'"
7307 # Assert: $separate_arg should always be no.
7308 keep_next
=$separate_arg
7324 -program-prefix* | \
7325 -program-suffix* | \
7326 -program-transform-name* )
7327 skip_next
=$separate_arg
7331 # An option. Add it.
7334 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7336 baseargs
="$baseargs '$ac_arg'"
7337 if test X
"$skip_targ" = Xno
; then
7338 tbaseargs
="$tbaseargs '$ac_arg'"
7340 keep_next
=$separate_arg
7343 # Either a variable assignment, or a nonopt (triplet). Don't
7344 # pass it down; let the Makefile handle this.
7349 # Remove the initial space we just introduced and, as these will be
7350 # expanded by make, quote '$'.
7351 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7353 # Add in --program-transform-name, after --program-prefix and
7354 # --program-suffix have been applied to it. Autoconf has already
7355 # doubled dollar signs and backslashes in program_transform_name; we want
7356 # the backslashes un-doubled, and then the entire thing wrapped in single
7357 # quotes, because this will be expanded first by make and then by the shell.
7358 # Also, because we want to override the logic in subdir configure scripts to
7359 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7360 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7361 ${program_transform_name}
7363 gcc_transform_name
=`cat conftestsed.out`
7364 rm -f conftestsed.out
7365 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7366 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7367 if test "$silent" = yes; then
7368 baseargs
="$baseargs --silent"
7369 tbaseargs
="$tbaseargs --silent"
7371 baseargs
="$baseargs --disable-option-checking"
7372 tbaseargs
="$tbaseargs --disable-option-checking"
7374 # Record and document user additions to sub configure arguments.
7379 # For the build-side libraries, we just need to pretend we're native,
7380 # and not use the same cache file. Multilibs are neither needed nor
7382 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7384 # For host modules, accept cache file option, or specification as blank.
7385 case "${cache_file}" in
7387 cache_file_option
="" ;;
7388 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7389 cache_file_option
="--cache-file=${cache_file}" ;;
7391 cache_file_option
="--cache-file=../${cache_file}" ;;
7394 # Host dirs don't like to share a cache file either, horribly enough.
7395 # This seems to be due to autoconf 2.5x stupidity.
7396 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7398 target_configargs
="$target_configargs ${tbaseargs}"
7400 # Passing a --with-cross-host argument lets the target libraries know
7401 # whether they are being built with a cross-compiler or being built
7402 # native. However, it would be better to use other mechanisms to make the
7403 # sorts of decisions they want to make on this basis. Please consider
7404 # this option to be deprecated. FIXME.
7405 if test x
${is_cross_compiler} = xyes
; then
7406 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7409 # Special user-friendly check for native x86_64-linux build, if
7410 # multilib is not explicitly enabled.
7411 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7412 x86_64-
*linux
*:yes:$build:$build:)
7413 # Make sure we have a developement environment that handles 32-bit
7415 echo "int main () { return 0; }" > conftest.c
7416 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7417 if test $?
= 0 ; then
7418 if test -s conftest ||
test -s conftest.exe
; then
7423 if test x
${dev64} != xyes
; then
7424 as_fn_error
"I suspect your system does not have 32-bit developement libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7429 # Default to --enable-multilib.
7430 if test x
${enable_multilib} = x
; then
7431 target_configargs
="--enable-multilib ${target_configargs}"
7434 # Pass --with-newlib if appropriate. Note that target_configdirs has
7435 # changed from the earlier setting of with_newlib.
7436 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7437 target_configargs
="--with-newlib ${target_configargs}"
7440 # Different target subdirs use different values of certain variables
7441 # (notably CXX). Worse, multilibs use *lots* of different values.
7442 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7443 # it doesn't automatically accept command-line overrides of them.
7444 # This means it's not safe for target subdirs to share a cache file,
7445 # which is disgusting, but there you have it. Hopefully this can be
7446 # fixed in future. It's still worthwhile to use a cache file for each
7447 # directory. I think.
7449 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7450 # We need to pass --target, as newer autoconf's requires consistency
7451 # for target_alias and gcc doesn't manage it consistently.
7452 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7455 case " $target_configdirs " in
7457 case " $target_configargs " in
7458 *" --with-newlib "*)
7461 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7465 # If we're not building GCC, don't discard standard headers.
7466 if test -d ${srcdir}/gcc
; then
7467 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7469 if test "${build}" != "${host}"; then
7470 # On Canadian crosses, CC_FOR_TARGET will have already been set
7471 # by `configure', so we won't have an opportunity to add -Bgcc/
7472 # to it. This is right: we don't want to search that directory
7473 # for binaries, but we want the header files in there, so add
7475 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7477 # Someone might think of using the pre-installed headers on
7478 # Canadian crosses, in case the installed compiler is not fully
7479 # compatible with the compiler being built. In this case, it
7480 # would be better to flag an error than risking having
7481 # incompatible object files being constructed. We can't
7482 # guarantee that an error will be flagged, but let's hope the
7483 # compiler will do it, when presented with incompatible header
7488 case "${target}-${is_cross_compiler}" in
7489 i
[3456789]86-*-linux*-no)
7490 # Here host == target, so we don't need to build gcc,
7491 # so we don't want to discard standard headers.
7492 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7495 # If we're building newlib, use its generic headers last, but search
7496 # for any libc-related directories first (so make it the last -B
7498 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7500 # If we're building libgloss, find the startup file, simulator library
7501 # and linker script.
7502 case " $target_configdirs " in
7504 # Look for startup file, simulator library and maybe linker script.
7505 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7506 # Look for libnosys.a in case the target needs it.
7507 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7508 # Most targets have the linker script in the source directory.
7509 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7520 x86_64-
*mingw
* |
*-w64-mingw*)
7521 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7522 # however, use a symlink named 'mingw' in ${prefix} .
7523 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7526 # MinGW can't be handled as Cygwin above since it does not use newlib.
7527 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'
7531 # Allow the user to override the flags for
7532 # our build compiler if desired.
7533 if test x
"${build}" = x
"${host}" ; then
7534 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7535 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7536 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7539 # On Canadian crosses, we'll be searching the right directories for
7540 # the previously-installed cross compiler, so don't bother to add
7541 # flags for directories within the install tree of the compiler
7542 # being built; programs in there won't even run.
7543 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7544 # Search for pre-installed headers if nothing else fits.
7545 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7548 if test "x
${use_gnu_ld}" = x &&
7549 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7550 # Arrange for us to find uninstalled linker scripts.
7551 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7554 # Search for other target-specific linker scripts and such.
7557 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7561 # Makefile fragments.
7562 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7564 eval fragval=\$$frag
7565 if test $fragval != /dev/null; then
7566 eval $frag=${srcdir}/$fragval
7574 # Miscellanea: directories, flags, etc.
7583 # Build module lists & subconfigure args.
7587 # Host module lists & subconfigure args.
7592 # Target module lists & subconfigure args.
7614 # Generate default definitions for YACC, M4, LEX and other programs that run
7615 # on the build machine. These are used if the Makefile can't locate these
7616 # programs in objdir.
7617 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7619 for ac_prog in 'bison -y' byacc yacc
7621 # Extract the first word of "$ac_prog", so it can be a program name with args.
7622 set dummy $ac_prog; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7624 $as_echo_n "checking
for $ac_word...
" >&6; }
7625 if test "${ac_cv_prog_YACC+set}" = set; then :
7626 $as_echo_n "(cached
) " >&6
7628 if test -n "$YACC"; then
7629 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_YACC="$ac_prog"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7648 YACC=$ac_cv_prog_YACC
7649 if test -n "$YACC"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7651 $as_echo "$YACC" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7654 $as_echo "no
" >&6; }
7658 test -n "$YACC" && break
7660 test -n "$YACC" || YACC="$MISSING bison
-y"
7662 case " $build_configdirs " in
7663 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7666 for ac_prog in bison
7668 # Extract the first word of "$ac_prog", so it can be a program name with args.
7669 set dummy $ac_prog; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7671 $as_echo_n "checking
for $ac_word...
" >&6; }
7672 if test "${ac_cv_prog_BISON+set}" = set; then :
7673 $as_echo_n "(cached
) " >&6
7675 if test -n "$BISON"; then
7676 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685 ac_cv_prog_BISON="$ac_prog"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7695 BISON=$ac_cv_prog_BISON
7696 if test -n "$BISON"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7698 $as_echo "$BISON" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7701 $as_echo "no
" >&6; }
7705 test -n "$BISON" && break
7707 test -n "$BISON" || BISON="$MISSING bison
"
7709 case " $build_configdirs " in
7710 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7713 for ac_prog in gm4 gnum4 m4
7715 # Extract the first word of "$ac_prog", so it can be a program name with args.
7716 set dummy $ac_prog; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7718 $as_echo_n "checking
for $ac_word...
" >&6; }
7719 if test "${ac_cv_prog_M4+set}" = set; then :
7720 $as_echo_n "(cached
) " >&6
7722 if test -n "$M4"; then
7723 ac_cv_prog_M4="$M4" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_M4="$ac_prog"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 if test -n "$M4"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7745 $as_echo "$M4" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7748 $as_echo "no
" >&6; }
7752 test -n "$M4" && break
7754 test -n "$M4" || M4="$MISSING m4"
7756 case " $build_configdirs " in
7757 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7760 for ac_prog in flex lex
7762 # Extract the first word of "$ac_prog", so it can be a program name with args.
7763 set dummy $ac_prog; ac_word=$2
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7765 $as_echo_n "checking
for $ac_word...
" >&6; }
7766 if test "${ac_cv_prog_LEX+set}" = set; then :
7767 $as_echo_n "(cached
) " >&6
7769 if test -n "$LEX"; then
7770 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 test -z "$as_dir" && as_dir=.
7777 for ac_exec_ext in '' $ac_executable_extensions; do
7778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7779 ac_cv_prog_LEX="$ac_prog"
7780 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 if test -n "$LEX"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7792 $as_echo "$LEX" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7795 $as_echo "no
" >&6; }
7799 test -n "$LEX" && break
7801 test -n "$LEX" || LEX="$MISSING flex
"
7803 case " $build_configdirs " in
7804 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7805 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if test "${ac_cv_prog_FLEX+set}" = set; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$FLEX"; then
7818 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_FLEX="$ac_prog"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 FLEX=$ac_cv_prog_FLEX
7838 if test -n "$FLEX"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7840 $as_echo "$FLEX" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7847 test -n "$FLEX" && break
7849 test -n "$FLEX" || FLEX="$MISSING flex
"
7851 case " $build_configdirs " in
7852 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7855 for ac_prog in makeinfo
7857 # Extract the first word of "$ac_prog", so it can be a program name with args.
7858 set dummy $ac_prog; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$MAKEINFO"; then
7865 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_MAKEINFO="$ac_prog"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7884 MAKEINFO=$ac_cv_prog_MAKEINFO
7885 if test -n "$MAKEINFO"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7887 $as_echo "$MAKEINFO" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7894 test -n "$MAKEINFO" && break
7896 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7898 case " $build_configdirs " in
7899 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7902 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7903 # higher, else we use the "missing
" dummy.
7904 if ${MAKEINFO} --version \
7905 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7908 MAKEINFO="$MISSING makeinfo
"
7914 # FIXME: expect and dejagnu may become build tools?
7916 for ac_prog in expect
7918 # Extract the first word of "$ac_prog", so it can be a program name with args.
7919 set dummy $ac_prog; ac_word=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7921 $as_echo_n "checking
for $ac_word...
" >&6; }
7922 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7923 $as_echo_n "(cached
) " >&6
7925 if test -n "$EXPECT"; then
7926 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7932 test -z "$as_dir" && as_dir=.
7933 for ac_exec_ext in '' $ac_executable_extensions; do
7934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7935 ac_cv_prog_EXPECT="$ac_prog"
7936 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7945 EXPECT=$ac_cv_prog_EXPECT
7946 if test -n "$EXPECT"; then
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7948 $as_echo "$EXPECT" >&6; }
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7951 $as_echo "no
" >&6; }
7955 test -n "$EXPECT" && break
7957 test -n "$EXPECT" || EXPECT="expect
"
7959 case " $configdirs " in
7961 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7965 for ac_prog in runtest
7967 # Extract the first word of "$ac_prog", so it can be a program name with args.
7968 set dummy $ac_prog; ac_word=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7970 $as_echo_n "checking
for $ac_word...
" >&6; }
7971 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7972 $as_echo_n "(cached
) " >&6
7974 if test -n "$RUNTEST"; then
7975 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir=.
7982 for ac_exec_ext in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_prog_RUNTEST="$ac_prog"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7994 RUNTEST=$ac_cv_prog_RUNTEST
7995 if test -n "$RUNTEST"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7997 $as_echo "$RUNTEST" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8000 $as_echo "no
" >&6; }
8004 test -n "$RUNTEST" && break
8006 test -n "$RUNTEST" || RUNTEST="runtest
"
8008 case " $configdirs " in
8010 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8017 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8018 ncn_target_tool_prefix=
8019 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8023 if test -n "$AR"; then
8025 elif test -n "$ac_cv_prog_AR"; then
8029 if test -n "$ac_cv_prog_AR"; then
8030 for ncn_progname in ar; do
8031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8032 set dummy ${ncn_progname}; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8034 $as_echo_n "checking
for $ac_word...
" >&6; }
8035 if test "${ac_cv_prog_AR+set}" = set; then :
8036 $as_echo_n "(cached
) " >&6
8038 if test -n "$AR"; then
8039 ac_cv_prog_AR="$AR" # Let the user override the test.
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8048 ac_cv_prog_AR="${ncn_progname}"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8059 if test -n "$AR"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8061 $as_echo "$AR" >&6; }
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8064 $as_echo "no
" >&6; }
8071 for ncn_progname in ar; do
8072 if test -n "$ncn_tool_prefix"; then
8073 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8074 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8076 $as_echo_n "checking
for $ac_word...
" >&6; }
8077 if test "${ac_cv_prog_AR+set}" = set; then :
8078 $as_echo_n "(cached
) " >&6
8080 if test -n "$AR"; then
8081 ac_cv_prog_AR="$AR" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8090 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8101 if test -n "$AR"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8103 $as_echo "$AR" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8106 $as_echo "no
" >&6; }
8111 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8113 set dummy ${ncn_progname}; ac_word=$2
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8115 $as_echo_n "checking
for $ac_word...
" >&6; }
8116 if test "${ac_cv_prog_AR+set}" = set; then :
8117 $as_echo_n "(cached
) " >&6
8119 if test -n "$AR"; then
8120 ac_cv_prog_AR="$AR" # Let the user override the test.
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir=.
8127 for ac_exec_ext in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_prog_AR="${ncn_progname}"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8140 if test -n "$AR"; then
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8142 $as_echo "$AR" >&6; }
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8145 $as_echo "no
" >&6; }
8150 test -n "$ac_cv_prog_AR" && break
8153 if test -z "$ac_cv_prog_AR" ; then
8155 if test $build = $host ; then
8158 AR="${ncn_tool_prefix}$2"
8164 if test -n "$AS"; then
8166 elif test -n "$ac_cv_prog_AS"; then
8170 if test -n "$ac_cv_prog_AS"; then
8171 for ncn_progname in as; do
8172 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8173 set dummy ${ncn_progname}; ac_word=$2
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8175 $as_echo_n "checking
for $ac_word...
" >&6; }
8176 if test "${ac_cv_prog_AS+set}" = set; then :
8177 $as_echo_n "(cached
) " >&6
8179 if test -n "$AS"; then
8180 ac_cv_prog_AS="$AS" # Let the user override the test.
8182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8186 test -z "$as_dir" && as_dir=.
8187 for ac_exec_ext in '' $ac_executable_extensions; do
8188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8189 ac_cv_prog_AS="${ncn_progname}"
8190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8200 if test -n "$AS"; then
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8202 $as_echo "$AS" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8205 $as_echo "no
" >&6; }
8212 for ncn_progname in as; do
8213 if test -n "$ncn_tool_prefix"; then
8214 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8215 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8217 $as_echo_n "checking
for $ac_word...
" >&6; }
8218 if test "${ac_cv_prog_AS+set}" = set; then :
8219 $as_echo_n "(cached
) " >&6
8221 if test -n "$AS"; then
8222 ac_cv_prog_AS="$AS" # Let the user override the test.
8224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8228 test -z "$as_dir" && as_dir=.
8229 for ac_exec_ext in '' $ac_executable_extensions; do
8230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8231 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8242 if test -n "$AS"; then
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8244 $as_echo "$AS" >&6; }
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8247 $as_echo "no
" >&6; }
8252 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8253 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8254 set dummy ${ncn_progname}; ac_word=$2
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8256 $as_echo_n "checking
for $ac_word...
" >&6; }
8257 if test "${ac_cv_prog_AS+set}" = set; then :
8258 $as_echo_n "(cached
) " >&6
8260 if test -n "$AS"; then
8261 ac_cv_prog_AS="$AS" # Let the user override the test.
8263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8267 test -z "$as_dir" && as_dir=.
8268 for ac_exec_ext in '' $ac_executable_extensions; do
8269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8270 ac_cv_prog_AS="${ncn_progname}"
8271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8281 if test -n "$AS"; then
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8283 $as_echo "$AS" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8286 $as_echo "no
" >&6; }
8291 test -n "$ac_cv_prog_AS" && break
8294 if test -z "$ac_cv_prog_AS" ; then
8296 if test $build = $host ; then
8299 AS="${ncn_tool_prefix}$2"
8305 if test -n "$DLLTOOL"; then
8306 ac_cv_prog_DLLTOOL=$DLLTOOL
8307 elif test -n "$ac_cv_prog_DLLTOOL"; then
8308 DLLTOOL=$ac_cv_prog_DLLTOOL
8311 if test -n "$ac_cv_prog_DLLTOOL"; then
8312 for ncn_progname in dlltool; do
8313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8314 set dummy ${ncn_progname}; ac_word=$2
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8316 $as_echo_n "checking
for $ac_word...
" >&6; }
8317 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8318 $as_echo_n "(cached
) " >&6
8320 if test -n "$DLLTOOL"; then
8321 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8327 test -z "$as_dir" && as_dir=.
8328 for ac_exec_ext in '' $ac_executable_extensions; do
8329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8330 ac_cv_prog_DLLTOOL="${ncn_progname}"
8331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8340 DLLTOOL=$ac_cv_prog_DLLTOOL
8341 if test -n "$DLLTOOL"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8343 $as_echo "$DLLTOOL" >&6; }
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8346 $as_echo "no
" >&6; }
8353 for ncn_progname in dlltool; do
8354 if test -n "$ncn_tool_prefix"; then
8355 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8356 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8358 $as_echo_n "checking
for $ac_word...
" >&6; }
8359 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8360 $as_echo_n "(cached
) " >&6
8362 if test -n "$DLLTOOL"; then
8363 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8369 test -z "$as_dir" && as_dir=.
8370 for ac_exec_ext in '' $ac_executable_extensions; do
8371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8372 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8382 DLLTOOL=$ac_cv_prog_DLLTOOL
8383 if test -n "$DLLTOOL"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8385 $as_echo "$DLLTOOL" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8388 $as_echo "no
" >&6; }
8393 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8394 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8395 set dummy ${ncn_progname}; ac_word=$2
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8397 $as_echo_n "checking
for $ac_word...
" >&6; }
8398 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8399 $as_echo_n "(cached
) " >&6
8401 if test -n "$DLLTOOL"; then
8402 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8408 test -z "$as_dir" && as_dir=.
8409 for ac_exec_ext in '' $ac_executable_extensions; do
8410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8411 ac_cv_prog_DLLTOOL="${ncn_progname}"
8412 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8421 DLLTOOL=$ac_cv_prog_DLLTOOL
8422 if test -n "$DLLTOOL"; then
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8424 $as_echo "$DLLTOOL" >&6; }
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8427 $as_echo "no
" >&6; }
8432 test -n "$ac_cv_prog_DLLTOOL" && break
8435 if test -z "$ac_cv_prog_DLLTOOL" ; then
8437 if test $build = $host ; then
8440 DLLTOOL="${ncn_tool_prefix}$2"
8446 if test -n "$LD"; then
8448 elif test -n "$ac_cv_prog_LD"; then
8452 if test -n "$ac_cv_prog_LD"; then
8453 for ncn_progname in ld; do
8454 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8455 set dummy ${ncn_progname}; ac_word=$2
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8457 $as_echo_n "checking
for $ac_word...
" >&6; }
8458 if test "${ac_cv_prog_LD+set}" = set; then :
8459 $as_echo_n "(cached
) " >&6
8461 if test -n "$LD"; then
8462 ac_cv_prog_LD="$LD" # Let the user override the test.
8464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8468 test -z "$as_dir" && as_dir=.
8469 for ac_exec_ext in '' $ac_executable_extensions; do
8470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8471 ac_cv_prog_LD="${ncn_progname}"
8472 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8482 if test -n "$LD"; then
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8484 $as_echo "$LD" >&6; }
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8487 $as_echo "no
" >&6; }
8494 for ncn_progname in ld; do
8495 if test -n "$ncn_tool_prefix"; then
8496 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8497 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8499 $as_echo_n "checking
for $ac_word...
" >&6; }
8500 if test "${ac_cv_prog_LD+set}" = set; then :
8501 $as_echo_n "(cached
) " >&6
8503 if test -n "$LD"; then
8504 ac_cv_prog_LD="$LD" # Let the user override the test.
8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir=.
8511 for ac_exec_ext in '' $ac_executable_extensions; do
8512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8513 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 if test -n "$LD"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8526 $as_echo "$LD" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8529 $as_echo "no
" >&6; }
8534 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8535 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8536 set dummy ${ncn_progname}; ac_word=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8538 $as_echo_n "checking
for $ac_word...
" >&6; }
8539 if test "${ac_cv_prog_LD+set}" = set; then :
8540 $as_echo_n "(cached
) " >&6
8542 if test -n "$LD"; then
8543 ac_cv_prog_LD="$LD" # Let the user override the test.
8545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8549 test -z "$as_dir" && as_dir=.
8550 for ac_exec_ext in '' $ac_executable_extensions; do
8551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8552 ac_cv_prog_LD="${ncn_progname}"
8553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8563 if test -n "$LD"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8565 $as_echo "$LD" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8568 $as_echo "no
" >&6; }
8573 test -n "$ac_cv_prog_LD" && break
8576 if test -z "$ac_cv_prog_LD" ; then
8578 if test $build = $host ; then
8581 LD="${ncn_tool_prefix}$2"
8587 if test -n "$LIPO"; then
8588 ac_cv_prog_LIPO=$LIPO
8589 elif test -n "$ac_cv_prog_LIPO"; then
8590 LIPO=$ac_cv_prog_LIPO
8593 if test -n "$ac_cv_prog_LIPO"; then
8594 for ncn_progname in lipo; do
8595 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8596 set dummy ${ncn_progname}; ac_word=$2
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8598 $as_echo_n "checking
for $ac_word...
" >&6; }
8599 if test "${ac_cv_prog_LIPO+set}" = set; then :
8600 $as_echo_n "(cached
) " >&6
8602 if test -n "$LIPO"; then
8603 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8609 test -z "$as_dir" && as_dir=.
8610 for ac_exec_ext in '' $ac_executable_extensions; do
8611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8612 ac_cv_prog_LIPO="${ncn_progname}"
8613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8622 LIPO=$ac_cv_prog_LIPO
8623 if test -n "$LIPO"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8625 $as_echo "$LIPO" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8628 $as_echo "no
" >&6; }
8635 for ncn_progname in lipo; do
8636 if test -n "$ncn_tool_prefix"; then
8637 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8638 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8640 $as_echo_n "checking
for $ac_word...
" >&6; }
8641 if test "${ac_cv_prog_LIPO+set}" = set; then :
8642 $as_echo_n "(cached
) " >&6
8644 if test -n "$LIPO"; then
8645 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir=.
8652 for ac_exec_ext in '' $ac_executable_extensions; do
8653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8654 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8664 LIPO=$ac_cv_prog_LIPO
8665 if test -n "$LIPO"; then
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8667 $as_echo "$LIPO" >&6; }
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8670 $as_echo "no
" >&6; }
8675 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8677 set dummy ${ncn_progname}; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8679 $as_echo_n "checking
for $ac_word...
" >&6; }
8680 if test "${ac_cv_prog_LIPO+set}" = set; then :
8681 $as_echo_n "(cached
) " >&6
8683 if test -n "$LIPO"; then
8684 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8693 ac_cv_prog_LIPO="${ncn_progname}"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8703 LIPO=$ac_cv_prog_LIPO
8704 if test -n "$LIPO"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8706 $as_echo "$LIPO" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8709 $as_echo "no
" >&6; }
8714 test -n "$ac_cv_prog_LIPO" && break
8717 if test -z "$ac_cv_prog_LIPO" ; then
8719 if test $build = $host ; then
8722 LIPO="${ncn_tool_prefix}$2"
8728 if test -n "$NM"; then
8730 elif test -n "$ac_cv_prog_NM"; then
8734 if test -n "$ac_cv_prog_NM"; then
8735 for ncn_progname in nm; do
8736 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8737 set dummy ${ncn_progname}; ac_word=$2
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8739 $as_echo_n "checking
for $ac_word...
" >&6; }
8740 if test "${ac_cv_prog_NM+set}" = set; then :
8741 $as_echo_n "(cached
) " >&6
8743 if test -n "$NM"; then
8744 ac_cv_prog_NM="$NM" # Let the user override the test.
8746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8750 test -z "$as_dir" && as_dir=.
8751 for ac_exec_ext in '' $ac_executable_extensions; do
8752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8753 ac_cv_prog_NM="${ncn_progname}"
8754 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8764 if test -n "$NM"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8766 $as_echo "$NM" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8769 $as_echo "no
" >&6; }
8776 for ncn_progname in nm; do
8777 if test -n "$ncn_tool_prefix"; then
8778 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8779 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8781 $as_echo_n "checking
for $ac_word...
" >&6; }
8782 if test "${ac_cv_prog_NM+set}" = set; then :
8783 $as_echo_n "(cached
) " >&6
8785 if test -n "$NM"; then
8786 ac_cv_prog_NM="$NM" # Let the user override the test.
8788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir=.
8793 for ac_exec_ext in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8806 if test -n "$NM"; then
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8808 $as_echo "$NM" >&6; }
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8811 $as_echo "no
" >&6; }
8816 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8817 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8818 set dummy ${ncn_progname}; ac_word=$2
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8820 $as_echo_n "checking
for $ac_word...
" >&6; }
8821 if test "${ac_cv_prog_NM+set}" = set; then :
8822 $as_echo_n "(cached
) " >&6
8824 if test -n "$NM"; then
8825 ac_cv_prog_NM="$NM" # Let the user override the test.
8827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8831 test -z "$as_dir" && as_dir=.
8832 for ac_exec_ext in '' $ac_executable_extensions; do
8833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8834 ac_cv_prog_NM="${ncn_progname}"
8835 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8845 if test -n "$NM"; then
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8847 $as_echo "$NM" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8850 $as_echo "no
" >&6; }
8855 test -n "$ac_cv_prog_NM" && break
8858 if test -z "$ac_cv_prog_NM" ; then
8860 if test $build = $host ; then
8863 NM="${ncn_tool_prefix}$2"
8869 if test -n "$RANLIB"; then
8870 ac_cv_prog_RANLIB=$RANLIB
8871 elif test -n "$ac_cv_prog_RANLIB"; then
8872 RANLIB=$ac_cv_prog_RANLIB
8875 if test -n "$ac_cv_prog_RANLIB"; then
8876 for ncn_progname in ranlib; do
8877 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8878 set dummy ${ncn_progname}; ac_word=$2
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8880 $as_echo_n "checking
for $ac_word...
" >&6; }
8881 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8882 $as_echo_n "(cached
) " >&6
8884 if test -n "$RANLIB"; then
8885 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8891 test -z "$as_dir" && as_dir=.
8892 for ac_exec_ext in '' $ac_executable_extensions; do
8893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8894 ac_cv_prog_RANLIB="${ncn_progname}"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8904 RANLIB=$ac_cv_prog_RANLIB
8905 if test -n "$RANLIB"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8907 $as_echo "$RANLIB" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8910 $as_echo "no
" >&6; }
8917 for ncn_progname in ranlib; do
8918 if test -n "$ncn_tool_prefix"; then
8919 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8920 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8922 $as_echo_n "checking
for $ac_word...
" >&6; }
8923 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8924 $as_echo_n "(cached
) " >&6
8926 if test -n "$RANLIB"; then
8927 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir=.
8934 for ac_exec_ext in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8946 RANLIB=$ac_cv_prog_RANLIB
8947 if test -n "$RANLIB"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8949 $as_echo "$RANLIB" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8952 $as_echo "no
" >&6; }
8957 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8959 set dummy ${ncn_progname}; ac_word=$2
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8961 $as_echo_n "checking
for $ac_word...
" >&6; }
8962 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8963 $as_echo_n "(cached
) " >&6
8965 if test -n "$RANLIB"; then
8966 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8972 test -z "$as_dir" && as_dir=.
8973 for ac_exec_ext in '' $ac_executable_extensions; do
8974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8975 ac_cv_prog_RANLIB="${ncn_progname}"
8976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8985 RANLIB=$ac_cv_prog_RANLIB
8986 if test -n "$RANLIB"; then
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8988 $as_echo "$RANLIB" >&6; }
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8991 $as_echo "no
" >&6; }
8996 test -n "$ac_cv_prog_RANLIB" && break
8999 if test -z "$ac_cv_prog_RANLIB" ; then
9005 if test -n "$STRIP"; then
9006 ac_cv_prog_STRIP=$STRIP
9007 elif test -n "$ac_cv_prog_STRIP"; then
9008 STRIP=$ac_cv_prog_STRIP
9011 if test -n "$ac_cv_prog_STRIP"; then
9012 for ncn_progname in strip; do
9013 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9014 set dummy ${ncn_progname}; ac_word=$2
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9016 $as_echo_n "checking
for $ac_word...
" >&6; }
9017 if test "${ac_cv_prog_STRIP+set}" = set; then :
9018 $as_echo_n "(cached
) " >&6
9020 if test -n "$STRIP"; then
9021 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9027 test -z "$as_dir" && as_dir=.
9028 for ac_exec_ext in '' $ac_executable_extensions; do
9029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9030 ac_cv_prog_STRIP="${ncn_progname}"
9031 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9040 STRIP=$ac_cv_prog_STRIP
9041 if test -n "$STRIP"; then
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9043 $as_echo "$STRIP" >&6; }
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9046 $as_echo "no
" >&6; }
9053 for ncn_progname in strip; do
9054 if test -n "$ncn_tool_prefix"; then
9055 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9056 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9058 $as_echo_n "checking
for $ac_word...
" >&6; }
9059 if test "${ac_cv_prog_STRIP+set}" = set; then :
9060 $as_echo_n "(cached
) " >&6
9062 if test -n "$STRIP"; then
9063 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9069 test -z "$as_dir" && as_dir=.
9070 for ac_exec_ext in '' $ac_executable_extensions; do
9071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9072 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9082 STRIP=$ac_cv_prog_STRIP
9083 if test -n "$STRIP"; then
9084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9085 $as_echo "$STRIP" >&6; }
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9088 $as_echo "no
" >&6; }
9093 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9095 set dummy ${ncn_progname}; ac_word=$2
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9097 $as_echo_n "checking
for $ac_word...
" >&6; }
9098 if test "${ac_cv_prog_STRIP+set}" = set; then :
9099 $as_echo_n "(cached
) " >&6
9101 if test -n "$STRIP"; then
9102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9108 test -z "$as_dir" && as_dir=.
9109 for ac_exec_ext in '' $ac_executable_extensions; do
9110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9111 ac_cv_prog_STRIP="${ncn_progname}"
9112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9121 STRIP=$ac_cv_prog_STRIP
9122 if test -n "$STRIP"; then
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9124 $as_echo "$STRIP" >&6; }
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9127 $as_echo "no
" >&6; }
9132 test -n "$ac_cv_prog_STRIP" && break
9135 if test -z "$ac_cv_prog_STRIP" ; then
9141 if test -n "$WINDRES"; then
9142 ac_cv_prog_WINDRES=$WINDRES
9143 elif test -n "$ac_cv_prog_WINDRES"; then
9144 WINDRES=$ac_cv_prog_WINDRES
9147 if test -n "$ac_cv_prog_WINDRES"; then
9148 for ncn_progname in windres; do
9149 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9150 set dummy ${ncn_progname}; ac_word=$2
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9152 $as_echo_n "checking
for $ac_word...
" >&6; }
9153 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9154 $as_echo_n "(cached
) " >&6
9156 if test -n "$WINDRES"; then
9157 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9163 test -z "$as_dir" && as_dir=.
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_prog_WINDRES="${ncn_progname}"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9176 WINDRES=$ac_cv_prog_WINDRES
9177 if test -n "$WINDRES"; then
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9179 $as_echo "$WINDRES" >&6; }
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9182 $as_echo "no
" >&6; }
9189 for ncn_progname in windres; do
9190 if test -n "$ncn_tool_prefix"; then
9191 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9192 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9194 $as_echo_n "checking
for $ac_word...
" >&6; }
9195 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9196 $as_echo_n "(cached
) " >&6
9198 if test -n "$WINDRES"; then
9199 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir=.
9206 for ac_exec_ext in '' $ac_executable_extensions; do
9207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9208 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9218 WINDRES=$ac_cv_prog_WINDRES
9219 if test -n "$WINDRES"; then
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9221 $as_echo "$WINDRES" >&6; }
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9224 $as_echo "no
" >&6; }
9229 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9231 set dummy ${ncn_progname}; ac_word=$2
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9233 $as_echo_n "checking
for $ac_word...
" >&6; }
9234 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9235 $as_echo_n "(cached
) " >&6
9237 if test -n "$WINDRES"; then
9238 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9244 test -z "$as_dir" && as_dir=.
9245 for ac_exec_ext in '' $ac_executable_extensions; do
9246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9247 ac_cv_prog_WINDRES="${ncn_progname}"
9248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9257 WINDRES=$ac_cv_prog_WINDRES
9258 if test -n "$WINDRES"; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9260 $as_echo "$WINDRES" >&6; }
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9263 $as_echo "no
" >&6; }
9268 test -n "$ac_cv_prog_WINDRES" && break
9271 if test -z "$ac_cv_prog_WINDRES" ; then
9273 if test $build = $host ; then
9276 WINDRES="${ncn_tool_prefix}$2"
9282 if test -n "$WINDMC"; then
9283 ac_cv_prog_WINDMC=$WINDMC
9284 elif test -n "$ac_cv_prog_WINDMC"; then
9285 WINDMC=$ac_cv_prog_WINDMC
9288 if test -n "$ac_cv_prog_WINDMC"; then
9289 for ncn_progname in windmc; do
9290 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9291 set dummy ${ncn_progname}; ac_word=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9293 $as_echo_n "checking
for $ac_word...
" >&6; }
9294 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9295 $as_echo_n "(cached
) " >&6
9297 if test -n "$WINDMC"; then
9298 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9304 test -z "$as_dir" && as_dir=.
9305 for ac_exec_ext in '' $ac_executable_extensions; do
9306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9307 ac_cv_prog_WINDMC="${ncn_progname}"
9308 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9317 WINDMC=$ac_cv_prog_WINDMC
9318 if test -n "$WINDMC"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9320 $as_echo "$WINDMC" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9323 $as_echo "no
" >&6; }
9330 for ncn_progname in windmc; do
9331 if test -n "$ncn_tool_prefix"; then
9332 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9333 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9335 $as_echo_n "checking
for $ac_word...
" >&6; }
9336 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9337 $as_echo_n "(cached
) " >&6
9339 if test -n "$WINDMC"; then
9340 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir=.
9347 for ac_exec_ext in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9350 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9359 WINDMC=$ac_cv_prog_WINDMC
9360 if test -n "$WINDMC"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9362 $as_echo "$WINDMC" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9365 $as_echo "no
" >&6; }
9370 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9371 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9372 set dummy ${ncn_progname}; ac_word=$2
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9374 $as_echo_n "checking
for $ac_word...
" >&6; }
9375 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9376 $as_echo_n "(cached
) " >&6
9378 if test -n "$WINDMC"; then
9379 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9385 test -z "$as_dir" && as_dir=.
9386 for ac_exec_ext in '' $ac_executable_extensions; do
9387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9388 ac_cv_prog_WINDMC="${ncn_progname}"
9389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9398 WINDMC=$ac_cv_prog_WINDMC
9399 if test -n "$WINDMC"; then
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9401 $as_echo "$WINDMC" >&6; }
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9404 $as_echo "no
" >&6; }
9409 test -n "$ac_cv_prog_WINDMC" && break
9412 if test -z "$ac_cv_prog_WINDMC" ; then
9414 if test $build = $host ; then
9417 WINDMC="${ncn_tool_prefix}$2"
9423 if test -n "$OBJCOPY"; then
9424 ac_cv_prog_OBJCOPY=$OBJCOPY
9425 elif test -n "$ac_cv_prog_OBJCOPY"; then
9426 OBJCOPY=$ac_cv_prog_OBJCOPY
9429 if test -n "$ac_cv_prog_OBJCOPY"; then
9430 for ncn_progname in objcopy; do
9431 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9432 set dummy ${ncn_progname}; ac_word=$2
9433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9434 $as_echo_n "checking
for $ac_word...
" >&6; }
9435 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9436 $as_echo_n "(cached
) " >&6
9438 if test -n "$OBJCOPY"; then
9439 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9445 test -z "$as_dir" && as_dir=.
9446 for ac_exec_ext in '' $ac_executable_extensions; do
9447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9448 ac_cv_prog_OBJCOPY="${ncn_progname}"
9449 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9458 OBJCOPY=$ac_cv_prog_OBJCOPY
9459 if test -n "$OBJCOPY"; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9461 $as_echo "$OBJCOPY" >&6; }
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9464 $as_echo "no
" >&6; }
9471 for ncn_progname in objcopy; do
9472 if test -n "$ncn_tool_prefix"; then
9473 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9474 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9476 $as_echo_n "checking
for $ac_word...
" >&6; }
9477 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9478 $as_echo_n "(cached
) " >&6
9480 if test -n "$OBJCOPY"; then
9481 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9487 test -z "$as_dir" && as_dir=.
9488 for ac_exec_ext in '' $ac_executable_extensions; do
9489 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9490 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9491 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9500 OBJCOPY=$ac_cv_prog_OBJCOPY
9501 if test -n "$OBJCOPY"; then
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9503 $as_echo "$OBJCOPY" >&6; }
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9506 $as_echo "no
" >&6; }
9511 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9512 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9513 set dummy ${ncn_progname}; ac_word=$2
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9515 $as_echo_n "checking
for $ac_word...
" >&6; }
9516 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9517 $as_echo_n "(cached
) " >&6
9519 if test -n "$OBJCOPY"; then
9520 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9526 test -z "$as_dir" && as_dir=.
9527 for ac_exec_ext in '' $ac_executable_extensions; do
9528 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9529 ac_cv_prog_OBJCOPY="${ncn_progname}"
9530 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9539 OBJCOPY=$ac_cv_prog_OBJCOPY
9540 if test -n "$OBJCOPY"; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9542 $as_echo "$OBJCOPY" >&6; }
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9545 $as_echo "no
" >&6; }
9550 test -n "$ac_cv_prog_OBJCOPY" && break
9553 if test -z "$ac_cv_prog_OBJCOPY" ; then
9555 if test $build = $host ; then
9558 OBJCOPY="${ncn_tool_prefix}$2"
9564 if test -n "$OBJDUMP"; then
9565 ac_cv_prog_OBJDUMP=$OBJDUMP
9566 elif test -n "$ac_cv_prog_OBJDUMP"; then
9567 OBJDUMP=$ac_cv_prog_OBJDUMP
9570 if test -n "$ac_cv_prog_OBJDUMP"; then
9571 for ncn_progname in objdump; do
9572 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9573 set dummy ${ncn_progname}; ac_word=$2
9574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9575 $as_echo_n "checking
for $ac_word...
" >&6; }
9576 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9577 $as_echo_n "(cached
) " >&6
9579 if test -n "$OBJDUMP"; then
9580 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 test -z "$as_dir" && as_dir=.
9587 for ac_exec_ext in '' $ac_executable_extensions; do
9588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9589 ac_cv_prog_OBJDUMP="${ncn_progname}"
9590 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9599 OBJDUMP=$ac_cv_prog_OBJDUMP
9600 if test -n "$OBJDUMP"; then
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9602 $as_echo "$OBJDUMP" >&6; }
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9605 $as_echo "no
" >&6; }
9612 for ncn_progname in objdump; do
9613 if test -n "$ncn_tool_prefix"; then
9614 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9615 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9617 $as_echo_n "checking
for $ac_word...
" >&6; }
9618 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9619 $as_echo_n "(cached
) " >&6
9621 if test -n "$OBJDUMP"; then
9622 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9628 test -z "$as_dir" && as_dir=.
9629 for ac_exec_ext in '' $ac_executable_extensions; do
9630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9631 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9632 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9641 OBJDUMP=$ac_cv_prog_OBJDUMP
9642 if test -n "$OBJDUMP"; then
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9644 $as_echo "$OBJDUMP" >&6; }
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9647 $as_echo "no
" >&6; }
9652 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9654 set dummy ${ncn_progname}; ac_word=$2
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9656 $as_echo_n "checking
for $ac_word...
" >&6; }
9657 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9658 $as_echo_n "(cached
) " >&6
9660 if test -n "$OBJDUMP"; then
9661 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9667 test -z "$as_dir" && as_dir=.
9668 for ac_exec_ext in '' $ac_executable_extensions; do
9669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9670 ac_cv_prog_OBJDUMP="${ncn_progname}"
9671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9680 OBJDUMP=$ac_cv_prog_OBJDUMP
9681 if test -n "$OBJDUMP"; then
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9683 $as_echo "$OBJDUMP" >&6; }
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9686 $as_echo "no
" >&6; }
9691 test -n "$ac_cv_prog_OBJDUMP" && break
9694 if test -z "$ac_cv_prog_OBJDUMP" ; then
9696 if test $build = $host ; then
9699 OBJDUMP="${ncn_tool_prefix}$2"
9705 if test -n "$READELF"; then
9706 ac_cv_prog_READELF=$READELF
9707 elif test -n "$ac_cv_prog_READELF"; then
9708 READELF=$ac_cv_prog_READELF
9711 if test -n "$ac_cv_prog_READELF"; then
9712 for ncn_progname in readelf; do
9713 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9714 set dummy ${ncn_progname}; ac_word=$2
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9716 $as_echo_n "checking
for $ac_word...
" >&6; }
9717 if test "${ac_cv_prog_READELF+set}" = set; then :
9718 $as_echo_n "(cached
) " >&6
9720 if test -n "$READELF"; then
9721 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir=.
9728 for ac_exec_ext in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_prog_READELF="${ncn_progname}"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9740 READELF=$ac_cv_prog_READELF
9741 if test -n "$READELF"; then
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9743 $as_echo "$READELF" >&6; }
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9746 $as_echo "no
" >&6; }
9753 for ncn_progname in readelf; do
9754 if test -n "$ncn_tool_prefix"; then
9755 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9756 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9758 $as_echo_n "checking
for $ac_word...
" >&6; }
9759 if test "${ac_cv_prog_READELF+set}" = set; then :
9760 $as_echo_n "(cached
) " >&6
9762 if test -n "$READELF"; then
9763 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9772 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9782 READELF=$ac_cv_prog_READELF
9783 if test -n "$READELF"; then
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9785 $as_echo "$READELF" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9788 $as_echo "no
" >&6; }
9793 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9795 set dummy ${ncn_progname}; ac_word=$2
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9797 $as_echo_n "checking
for $ac_word...
" >&6; }
9798 if test "${ac_cv_prog_READELF+set}" = set; then :
9799 $as_echo_n "(cached
) " >&6
9801 if test -n "$READELF"; then
9802 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9811 ac_cv_prog_READELF="${ncn_progname}"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9821 READELF=$ac_cv_prog_READELF
9822 if test -n "$READELF"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9824 $as_echo "$READELF" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9827 $as_echo "no
" >&6; }
9832 test -n "$ac_cv_prog_READELF" && break
9835 if test -z "$ac_cv_prog_READELF" ; then
9837 if test $build = $host ; then
9840 READELF="${ncn_tool_prefix}$2"
9851 # Check whether --with-build-time-tools was given.
9852 if test "${with_build_time_tools+set}" = set; then :
9853 withval=$with_build_time_tools; case x"$withval" in
9856 with_build_time_tools=
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9858 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9862 with_build_time_tools=
9868 if test -n "$CC_FOR_TARGET"; then
9869 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9870 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9871 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9874 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9875 for ncn_progname in cc gcc; do
9876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9877 set dummy ${ncn_progname}; ac_word=$2
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9879 $as_echo_n "checking
for $ac_word...
" >&6; }
9880 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9881 $as_echo_n "(cached
) " >&6
9883 if test -n "$CC_FOR_TARGET"; then
9884 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9890 test -z "$as_dir" && as_dir=.
9891 for ac_exec_ext in '' $ac_executable_extensions; do
9892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9893 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9903 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9904 if test -n "$CC_FOR_TARGET"; then
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9906 $as_echo "$CC_FOR_TARGET" >&6; }
9908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9909 $as_echo "no
" >&6; }
9916 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9917 for ncn_progname in cc gcc; do
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9919 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9920 if test -x $with_build_time_tools/${ncn_progname}; then
9921 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9923 $as_echo "yes" >&6; }
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9927 $as_echo "no
" >&6; }
9932 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9933 for ncn_progname in cc gcc; do
9934 if test -n "$ncn_target_tool_prefix"; then
9935 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9936 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9938 $as_echo_n "checking
for $ac_word...
" >&6; }
9939 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9940 $as_echo_n "(cached
) " >&6
9942 if test -n "$CC_FOR_TARGET"; then
9943 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9952 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9962 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9963 if test -n "$CC_FOR_TARGET"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9965 $as_echo "$CC_FOR_TARGET" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9968 $as_echo "no
" >&6; }
9973 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9974 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9975 set dummy ${ncn_progname}; ac_word=$2
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9977 $as_echo_n "checking
for $ac_word...
" >&6; }
9978 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9979 $as_echo_n "(cached
) " >&6
9981 if test -n "$CC_FOR_TARGET"; then
9982 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10001 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10002 if test -n "$CC_FOR_TARGET"; then
10003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10004 $as_echo "$CC_FOR_TARGET" >&6; }
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10007 $as_echo "no
" >&6; }
10012 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10016 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10018 if test $build = $target ; then
10021 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10024 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10029 if test -n "$CXX_FOR_TARGET"; then
10030 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10031 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10032 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10035 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10036 for ncn_progname in c++ g++ cxx gxx; do
10037 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10038 set dummy ${ncn_progname}; ac_word=$2
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10040 $as_echo_n "checking
for $ac_word...
" >&6; }
10041 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10042 $as_echo_n "(cached
) " >&6
10044 if test -n "$CXX_FOR_TARGET"; then
10045 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048 for as_dir in $PATH
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10054 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10055 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10064 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10065 if test -n "$CXX_FOR_TARGET"; then
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10067 $as_echo "$CXX_FOR_TARGET" >&6; }
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10070 $as_echo "no
" >&6; }
10077 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10078 for ncn_progname in c++ g++ cxx gxx; do
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10080 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10081 if test -x $with_build_time_tools/${ncn_progname}; then
10082 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10084 $as_echo "yes" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10088 $as_echo "no
" >&6; }
10093 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10094 for ncn_progname in c++ g++ cxx gxx; do
10095 if test -n "$ncn_target_tool_prefix"; then
10096 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10097 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10099 $as_echo_n "checking
for $ac_word...
" >&6; }
10100 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10101 $as_echo_n "(cached
) " >&6
10103 if test -n "$CXX_FOR_TARGET"; then
10104 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10107 for as_dir in $PATH
10110 test -z "$as_dir" && as_dir=.
10111 for ac_exec_ext in '' $ac_executable_extensions; do
10112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10113 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10123 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10124 if test -n "$CXX_FOR_TARGET"; then
10125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10126 $as_echo "$CXX_FOR_TARGET" >&6; }
10128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10129 $as_echo "no
" >&6; }
10134 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10136 set dummy ${ncn_progname}; ac_word=$2
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10138 $as_echo_n "checking
for $ac_word...
" >&6; }
10139 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10140 $as_echo_n "(cached
) " >&6
10142 if test -n "$CXX_FOR_TARGET"; then
10143 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10146 for as_dir in $PATH
10149 test -z "$as_dir" && as_dir=.
10150 for ac_exec_ext in '' $ac_executable_extensions; do
10151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10152 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10162 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10163 if test -n "$CXX_FOR_TARGET"; then
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10165 $as_echo "$CXX_FOR_TARGET" >&6; }
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10168 $as_echo "no
" >&6; }
10173 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10177 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10178 set dummy c++ g++ cxx gxx
10179 if test $build = $target ; then
10180 CXX_FOR_TARGET="$2"
10182 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10185 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10190 if test -n "$GCC_FOR_TARGET"; then
10191 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10192 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10193 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10196 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10197 for ncn_progname in gcc; do
10198 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10199 set dummy ${ncn_progname}; ac_word=$2
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10201 $as_echo_n "checking
for $ac_word...
" >&6; }
10202 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10203 $as_echo_n "(cached
) " >&6
10205 if test -n "$GCC_FOR_TARGET"; then
10206 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $PATH
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10225 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10226 if test -n "$GCC_FOR_TARGET"; then
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10228 $as_echo "$GCC_FOR_TARGET" >&6; }
10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10231 $as_echo "no
" >&6; }
10238 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10239 for ncn_progname in gcc; do
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10241 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10242 if test -x $with_build_time_tools/${ncn_progname}; then
10243 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10245 $as_echo "yes" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10249 $as_echo "no
" >&6; }
10254 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10255 for ncn_progname in gcc; do
10256 if test -n "$ncn_target_tool_prefix"; then
10257 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10258 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10260 $as_echo_n "checking
for $ac_word...
" >&6; }
10261 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10262 $as_echo_n "(cached
) " >&6
10264 if test -n "$GCC_FOR_TARGET"; then
10265 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10268 for as_dir in $PATH
10271 test -z "$as_dir" && as_dir=.
10272 for ac_exec_ext in '' $ac_executable_extensions; do
10273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10274 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10275 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10284 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10285 if test -n "$GCC_FOR_TARGET"; then
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10287 $as_echo "$GCC_FOR_TARGET" >&6; }
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10290 $as_echo "no
" >&6; }
10295 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10296 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10297 set dummy ${ncn_progname}; ac_word=$2
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10299 $as_echo_n "checking
for $ac_word...
" >&6; }
10300 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10301 $as_echo_n "(cached
) " >&6
10303 if test -n "$GCC_FOR_TARGET"; then
10304 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10307 for as_dir in $PATH
10310 test -z "$as_dir" && as_dir=.
10311 for ac_exec_ext in '' $ac_executable_extensions; do
10312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10313 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10314 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10323 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10324 if test -n "$GCC_FOR_TARGET"; then
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10326 $as_echo "$GCC_FOR_TARGET" >&6; }
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10329 $as_echo "no
" >&6; }
10334 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10338 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10339 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10341 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10346 if test -n "$GCJ_FOR_TARGET"; then
10347 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10348 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10349 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10352 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10353 for ncn_progname in gcj; do
10354 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10355 set dummy ${ncn_progname}; ac_word=$2
10356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10357 $as_echo_n "checking
for $ac_word...
" >&6; }
10358 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10359 $as_echo_n "(cached
) " >&6
10361 if test -n "$GCJ_FOR_TARGET"; then
10362 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in $PATH
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10371 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10381 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10382 if test -n "$GCJ_FOR_TARGET"; then
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10384 $as_echo "$GCJ_FOR_TARGET" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10387 $as_echo "no
" >&6; }
10394 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10395 for ncn_progname in gcj; do
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10397 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10398 if test -x $with_build_time_tools/${ncn_progname}; then
10399 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10401 $as_echo "yes" >&6; }
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10405 $as_echo "no
" >&6; }
10410 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10411 for ncn_progname in gcj; do
10412 if test -n "$ncn_target_tool_prefix"; then
10413 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10414 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10416 $as_echo_n "checking
for $ac_word...
" >&6; }
10417 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10418 $as_echo_n "(cached
) " >&6
10420 if test -n "$GCJ_FOR_TARGET"; then
10421 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10424 for as_dir in $PATH
10427 test -z "$as_dir" && as_dir=.
10428 for ac_exec_ext in '' $ac_executable_extensions; do
10429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10430 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10431 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10440 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10441 if test -n "$GCJ_FOR_TARGET"; then
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10443 $as_echo "$GCJ_FOR_TARGET" >&6; }
10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10446 $as_echo "no
" >&6; }
10451 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10452 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10453 set dummy ${ncn_progname}; ac_word=$2
10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10455 $as_echo_n "checking
for $ac_word...
" >&6; }
10456 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10457 $as_echo_n "(cached
) " >&6
10459 if test -n "$GCJ_FOR_TARGET"; then
10460 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10463 for as_dir in $PATH
10466 test -z "$as_dir" && as_dir=.
10467 for ac_exec_ext in '' $ac_executable_extensions; do
10468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10469 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10470 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10479 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10480 if test -n "$GCJ_FOR_TARGET"; then
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10482 $as_echo "$GCJ_FOR_TARGET" >&6; }
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10485 $as_echo "no
" >&6; }
10490 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10494 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10496 if test $build = $target ; then
10497 GCJ_FOR_TARGET="$2"
10499 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10502 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10507 if test -n "$GFORTRAN_FOR_TARGET"; then
10508 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10509 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10510 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10513 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10514 for ncn_progname in gfortran; do
10515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10516 set dummy ${ncn_progname}; ac_word=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10518 $as_echo_n "checking
for $ac_word...
" >&6; }
10519 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10520 $as_echo_n "(cached
) " >&6
10522 if test -n "$GFORTRAN_FOR_TARGET"; then
10523 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10526 for as_dir in $PATH
10529 test -z "$as_dir" && as_dir=.
10530 for ac_exec_ext in '' $ac_executable_extensions; do
10531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10532 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10542 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10543 if test -n "$GFORTRAN_FOR_TARGET"; then
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10545 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10548 $as_echo "no
" >&6; }
10555 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10556 for ncn_progname in gfortran; do
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10558 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10559 if test -x $with_build_time_tools/${ncn_progname}; then
10560 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10562 $as_echo "yes" >&6; }
10565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10566 $as_echo "no
" >&6; }
10571 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10572 for ncn_progname in gfortran; do
10573 if test -n "$ncn_target_tool_prefix"; then
10574 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10577 $as_echo_n "checking
for $ac_word...
" >&6; }
10578 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10579 $as_echo_n "(cached
) " >&6
10581 if test -n "$GFORTRAN_FOR_TARGET"; then
10582 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10591 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10601 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10602 if test -n "$GFORTRAN_FOR_TARGET"; then
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10604 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10607 $as_echo "no
" >&6; }
10612 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10614 set dummy ${ncn_progname}; ac_word=$2
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10616 $as_echo_n "checking
for $ac_word...
" >&6; }
10617 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10618 $as_echo_n "(cached
) " >&6
10620 if test -n "$GFORTRAN_FOR_TARGET"; then
10621 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624 for as_dir in $PATH
10627 test -z "$as_dir" && as_dir=.
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10630 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10640 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10641 if test -n "$GFORTRAN_FOR_TARGET"; then
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10643 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10646 $as_echo "no
" >&6; }
10651 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10655 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10657 if test $build = $target ; then
10658 GFORTRAN_FOR_TARGET="$2"
10660 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10663 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10668 if test -n "$GOC_FOR_TARGET"; then
10669 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10670 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10671 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10674 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10675 for ncn_progname in gccgo; do
10676 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10677 set dummy ${ncn_progname}; ac_word=$2
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10679 $as_echo_n "checking
for $ac_word...
" >&6; }
10680 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10681 $as_echo_n "(cached
) " >&6
10683 if test -n "$GOC_FOR_TARGET"; then
10684 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10687 for as_dir in $PATH
10690 test -z "$as_dir" && as_dir=.
10691 for ac_exec_ext in '' $ac_executable_extensions; do
10692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10693 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10694 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10703 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10704 if test -n "$GOC_FOR_TARGET"; then
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10706 $as_echo "$GOC_FOR_TARGET" >&6; }
10708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10709 $as_echo "no
" >&6; }
10716 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10717 for ncn_progname in gccgo; do
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10719 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10720 if test -x $with_build_time_tools/${ncn_progname}; then
10721 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10723 $as_echo "yes" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10727 $as_echo "no
" >&6; }
10732 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10733 for ncn_progname in gccgo; do
10734 if test -n "$ncn_target_tool_prefix"; then
10735 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10736 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10738 $as_echo_n "checking
for $ac_word...
" >&6; }
10739 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10740 $as_echo_n "(cached
) " >&6
10742 if test -n "$GOC_FOR_TARGET"; then
10743 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10746 for as_dir in $PATH
10749 test -z "$as_dir" && as_dir=.
10750 for ac_exec_ext in '' $ac_executable_extensions; do
10751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10752 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10762 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10763 if test -n "$GOC_FOR_TARGET"; then
10764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10765 $as_echo "$GOC_FOR_TARGET" >&6; }
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10768 $as_echo "no
" >&6; }
10773 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10775 set dummy ${ncn_progname}; ac_word=$2
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10777 $as_echo_n "checking
for $ac_word...
" >&6; }
10778 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10779 $as_echo_n "(cached
) " >&6
10781 if test -n "$GOC_FOR_TARGET"; then
10782 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in $PATH
10788 test -z "$as_dir" && as_dir=.
10789 for ac_exec_ext in '' $ac_executable_extensions; do
10790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10791 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10801 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10802 if test -n "$GOC_FOR_TARGET"; then
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10804 $as_echo "$GOC_FOR_TARGET" >&6; }
10806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10807 $as_echo "no
" >&6; }
10812 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10816 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10818 if test $build = $target ; then
10819 GOC_FOR_TARGET="$2"
10821 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10824 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10829 cat > conftest.c << \EOF
10834 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10835 have_gcc_for_target=yes
10837 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10838 have_gcc_for_target=no
10845 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10846 if test -n "$with_build_time_tools"; then
10847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10848 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10849 if test -x $with_build_time_tools/ar; then
10850 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10851 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10853 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10856 $as_echo "no
" >&6; }
10858 elif test $build != $host && test $have_gcc_for_target = yes; then
10859 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10860 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10861 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10864 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10865 # Extract the first word of "ar", so it can be a program name with args.
10866 set dummy ar; ac_word=$2
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10868 $as_echo_n "checking
for $ac_word...
" >&6; }
10869 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10870 $as_echo_n "(cached
) " >&6
10872 case $AR_FOR_TARGET in
10874 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10878 for as_dir in $gcc_cv_tool_dirs
10881 test -z "$as_dir" && as_dir=.
10882 for ac_exec_ext in '' $ac_executable_extensions; do
10883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10884 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10885 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10895 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10896 if test -n "$AR_FOR_TARGET"; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10898 $as_echo "$AR_FOR_TARGET" >&6; }
10900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10901 $as_echo "no
" >&6; }
10906 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10909 if test -n "$AR_FOR_TARGET"; then
10910 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10911 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10912 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10915 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10916 for ncn_progname in ar; do
10917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10918 set dummy ${ncn_progname}; ac_word=$2
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10920 $as_echo_n "checking
for $ac_word...
" >&6; }
10921 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10922 $as_echo_n "(cached
) " >&6
10924 if test -n "$AR_FOR_TARGET"; then
10925 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10928 for as_dir in $PATH
10931 test -z "$as_dir" && as_dir=.
10932 for ac_exec_ext in '' $ac_executable_extensions; do
10933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10934 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10944 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10945 if test -n "$AR_FOR_TARGET"; then
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10947 $as_echo "$AR_FOR_TARGET" >&6; }
10949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10950 $as_echo "no
" >&6; }
10957 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10958 for ncn_progname in ar; do
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10960 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10961 if test -x $with_build_time_tools/${ncn_progname}; then
10962 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10964 $as_echo "yes" >&6; }
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10968 $as_echo "no
" >&6; }
10973 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10974 for ncn_progname in ar; do
10975 if test -n "$ncn_target_tool_prefix"; then
10976 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10977 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10979 $as_echo_n "checking
for $ac_word...
" >&6; }
10980 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10981 $as_echo_n "(cached
) " >&6
10983 if test -n "$AR_FOR_TARGET"; then
10984 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10987 for as_dir in $PATH
10990 test -z "$as_dir" && as_dir=.
10991 for ac_exec_ext in '' $ac_executable_extensions; do
10992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10993 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10994 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11003 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11004 if test -n "$AR_FOR_TARGET"; then
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11006 $as_echo "$AR_FOR_TARGET" >&6; }
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11009 $as_echo "no
" >&6; }
11014 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11016 set dummy ${ncn_progname}; ac_word=$2
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11018 $as_echo_n "checking
for $ac_word...
" >&6; }
11019 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11020 $as_echo_n "(cached
) " >&6
11022 if test -n "$AR_FOR_TARGET"; then
11023 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11026 for as_dir in $PATH
11029 test -z "$as_dir" && as_dir=.
11030 for ac_exec_ext in '' $ac_executable_extensions; do
11031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11032 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11042 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11043 if test -n "$AR_FOR_TARGET"; then
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11045 $as_echo "$AR_FOR_TARGET" >&6; }
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11048 $as_echo "no
" >&6; }
11053 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11057 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11059 if test $build = $target ; then
11062 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11065 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11069 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11075 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11076 if test -n "$with_build_time_tools"; then
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11078 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11079 if test -x $with_build_time_tools/as; then
11080 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11081 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11083 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11086 $as_echo "no
" >&6; }
11088 elif test $build != $host && test $have_gcc_for_target = yes; then
11089 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11090 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11091 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11094 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11095 # Extract the first word of "as
", so it can be a program name with args.
11096 set dummy as; ac_word=$2
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11098 $as_echo_n "checking
for $ac_word...
" >&6; }
11099 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11100 $as_echo_n "(cached
) " >&6
11102 case $AS_FOR_TARGET in
11104 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11108 for as_dir in $gcc_cv_tool_dirs
11111 test -z "$as_dir" && as_dir=.
11112 for ac_exec_ext in '' $ac_executable_extensions; do
11113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11114 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11125 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11126 if test -n "$AS_FOR_TARGET"; then
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11128 $as_echo "$AS_FOR_TARGET" >&6; }
11130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11131 $as_echo "no
" >&6; }
11136 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11139 if test -n "$AS_FOR_TARGET"; then
11140 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11141 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11142 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11145 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11146 for ncn_progname in as; do
11147 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11148 set dummy ${ncn_progname}; ac_word=$2
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11150 $as_echo_n "checking
for $ac_word...
" >&6; }
11151 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11152 $as_echo_n "(cached
) " >&6
11154 if test -n "$AS_FOR_TARGET"; then
11155 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11158 for as_dir in $PATH
11161 test -z "$as_dir" && as_dir=.
11162 for ac_exec_ext in '' $ac_executable_extensions; do
11163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11164 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11174 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11175 if test -n "$AS_FOR_TARGET"; then
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11177 $as_echo "$AS_FOR_TARGET" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11180 $as_echo "no
" >&6; }
11187 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11188 for ncn_progname in as; do
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11190 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11191 if test -x $with_build_time_tools/${ncn_progname}; then
11192 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11193 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11194 $as_echo "yes" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11198 $as_echo "no
" >&6; }
11203 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11204 for ncn_progname in as; do
11205 if test -n "$ncn_target_tool_prefix"; then
11206 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11207 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11209 $as_echo_n "checking
for $ac_word...
" >&6; }
11210 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11211 $as_echo_n "(cached
) " >&6
11213 if test -n "$AS_FOR_TARGET"; then
11214 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11217 for as_dir in $PATH
11220 test -z "$as_dir" && as_dir=.
11221 for ac_exec_ext in '' $ac_executable_extensions; do
11222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11223 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11233 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11234 if test -n "$AS_FOR_TARGET"; then
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11236 $as_echo "$AS_FOR_TARGET" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11239 $as_echo "no
" >&6; }
11244 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11245 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11246 set dummy ${ncn_progname}; ac_word=$2
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11248 $as_echo_n "checking
for $ac_word...
" >&6; }
11249 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11250 $as_echo_n "(cached
) " >&6
11252 if test -n "$AS_FOR_TARGET"; then
11253 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11256 for as_dir in $PATH
11259 test -z "$as_dir" && as_dir=.
11260 for ac_exec_ext in '' $ac_executable_extensions; do
11261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11262 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11272 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11273 if test -n "$AS_FOR_TARGET"; then
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11275 $as_echo "$AS_FOR_TARGET" >&6; }
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11278 $as_echo "no
" >&6; }
11283 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11287 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11289 if test $build = $target ; then
11292 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11295 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11299 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11305 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11306 if test -n "$with_build_time_tools"; then
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11308 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11309 if test -x $with_build_time_tools/dlltool; then
11310 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11311 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11313 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11316 $as_echo "no
" >&6; }
11318 elif test $build != $host && test $have_gcc_for_target = yes; then
11319 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11320 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11321 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11324 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11325 # Extract the first word of "dlltool
", so it can be a program name with args.
11326 set dummy dlltool; ac_word=$2
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11328 $as_echo_n "checking
for $ac_word...
" >&6; }
11329 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11330 $as_echo_n "(cached
) " >&6
11332 case $DLLTOOL_FOR_TARGET in
11334 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11338 for as_dir in $gcc_cv_tool_dirs
11341 test -z "$as_dir" && as_dir=.
11342 for ac_exec_ext in '' $ac_executable_extensions; do
11343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11344 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11355 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11356 if test -n "$DLLTOOL_FOR_TARGET"; then
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11358 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11361 $as_echo "no
" >&6; }
11366 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11369 if test -n "$DLLTOOL_FOR_TARGET"; then
11370 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11371 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11372 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11375 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11376 for ncn_progname in dlltool; do
11377 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11378 set dummy ${ncn_progname}; ac_word=$2
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11380 $as_echo_n "checking
for $ac_word...
" >&6; }
11381 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11382 $as_echo_n "(cached
) " >&6
11384 if test -n "$DLLTOOL_FOR_TARGET"; then
11385 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11388 for as_dir in $PATH
11391 test -z "$as_dir" && as_dir=.
11392 for ac_exec_ext in '' $ac_executable_extensions; do
11393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11394 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11404 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11405 if test -n "$DLLTOOL_FOR_TARGET"; then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11407 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11410 $as_echo "no
" >&6; }
11417 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11418 for ncn_progname in dlltool; do
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11420 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11421 if test -x $with_build_time_tools/${ncn_progname}; then
11422 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11424 $as_echo "yes" >&6; }
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11428 $as_echo "no
" >&6; }
11433 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11434 for ncn_progname in dlltool; do
11435 if test -n "$ncn_target_tool_prefix"; then
11436 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11437 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11439 $as_echo_n "checking
for $ac_word...
" >&6; }
11440 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11441 $as_echo_n "(cached
) " >&6
11443 if test -n "$DLLTOOL_FOR_TARGET"; then
11444 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11447 for as_dir in $PATH
11450 test -z "$as_dir" && as_dir=.
11451 for ac_exec_ext in '' $ac_executable_extensions; do
11452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11453 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11454 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11463 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11464 if test -n "$DLLTOOL_FOR_TARGET"; then
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11466 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11469 $as_echo "no
" >&6; }
11474 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11475 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11476 set dummy ${ncn_progname}; ac_word=$2
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11478 $as_echo_n "checking
for $ac_word...
" >&6; }
11479 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11480 $as_echo_n "(cached
) " >&6
11482 if test -n "$DLLTOOL_FOR_TARGET"; then
11483 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $PATH
11489 test -z "$as_dir" && as_dir=.
11490 for ac_exec_ext in '' $ac_executable_extensions; do
11491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11492 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11502 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11503 if test -n "$DLLTOOL_FOR_TARGET"; then
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11505 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11508 $as_echo "no
" >&6; }
11513 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11517 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11519 if test $build = $target ; then
11520 DLLTOOL_FOR_TARGET="$2"
11522 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11525 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11529 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11535 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11536 if test -n "$with_build_time_tools"; then
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11538 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11539 if test -x $with_build_time_tools/ld; then
11540 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11541 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11543 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11546 $as_echo "no
" >&6; }
11548 elif test $build != $host && test $have_gcc_for_target = yes; then
11549 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11550 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11551 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11554 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11555 # Extract the first word of "ld
", so it can be a program name with args.
11556 set dummy ld; ac_word=$2
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11558 $as_echo_n "checking
for $ac_word...
" >&6; }
11559 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11560 $as_echo_n "(cached
) " >&6
11562 case $LD_FOR_TARGET in
11564 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11568 for as_dir in $gcc_cv_tool_dirs
11571 test -z "$as_dir" && as_dir=.
11572 for ac_exec_ext in '' $ac_executable_extensions; do
11573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11574 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11585 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11586 if test -n "$LD_FOR_TARGET"; then
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11588 $as_echo "$LD_FOR_TARGET" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11591 $as_echo "no
" >&6; }
11596 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11599 if test -n "$LD_FOR_TARGET"; then
11600 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11601 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11602 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11605 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11606 for ncn_progname in ld; do
11607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11608 set dummy ${ncn_progname}; ac_word=$2
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11610 $as_echo_n "checking
for $ac_word...
" >&6; }
11611 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11612 $as_echo_n "(cached
) " >&6
11614 if test -n "$LD_FOR_TARGET"; then
11615 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618 for as_dir in $PATH
11621 test -z "$as_dir" && as_dir=.
11622 for ac_exec_ext in '' $ac_executable_extensions; do
11623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11624 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11634 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11635 if test -n "$LD_FOR_TARGET"; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11637 $as_echo "$LD_FOR_TARGET" >&6; }
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11640 $as_echo "no
" >&6; }
11647 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11648 for ncn_progname in ld; do
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11650 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11651 if test -x $with_build_time_tools/${ncn_progname}; then
11652 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11654 $as_echo "yes" >&6; }
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11658 $as_echo "no
" >&6; }
11663 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11664 for ncn_progname in ld; do
11665 if test -n "$ncn_target_tool_prefix"; then
11666 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11667 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11669 $as_echo_n "checking
for $ac_word...
" >&6; }
11670 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11671 $as_echo_n "(cached
) " >&6
11673 if test -n "$LD_FOR_TARGET"; then
11674 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11677 for as_dir in $PATH
11680 test -z "$as_dir" && as_dir=.
11681 for ac_exec_ext in '' $ac_executable_extensions; do
11682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11683 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11693 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11694 if test -n "$LD_FOR_TARGET"; then
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11696 $as_echo "$LD_FOR_TARGET" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11699 $as_echo "no
" >&6; }
11704 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11705 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11706 set dummy ${ncn_progname}; ac_word=$2
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11708 $as_echo_n "checking
for $ac_word...
" >&6; }
11709 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11710 $as_echo_n "(cached
) " >&6
11712 if test -n "$LD_FOR_TARGET"; then
11713 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $PATH
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11722 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11732 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11733 if test -n "$LD_FOR_TARGET"; then
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11735 $as_echo "$LD_FOR_TARGET" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11738 $as_echo "no
" >&6; }
11743 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11747 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11749 if test $build = $target ; then
11752 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11755 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11759 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11765 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11766 if test -n "$with_build_time_tools"; then
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11768 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11769 if test -x $with_build_time_tools/lipo; then
11770 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11771 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11773 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11776 $as_echo "no
" >&6; }
11778 elif test $build != $host && test $have_gcc_for_target = yes; then
11779 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11780 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11781 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11784 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11785 # Extract the first word of "lipo
", so it can be a program name with args.
11786 set dummy lipo; ac_word=$2
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11788 $as_echo_n "checking
for $ac_word...
" >&6; }
11789 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11790 $as_echo_n "(cached
) " >&6
11792 case $LIPO_FOR_TARGET in
11794 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11798 for as_dir in $gcc_cv_tool_dirs
11801 test -z "$as_dir" && as_dir=.
11802 for ac_exec_ext in '' $ac_executable_extensions; do
11803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11804 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11815 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11816 if test -n "$LIPO_FOR_TARGET"; then
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11818 $as_echo "$LIPO_FOR_TARGET" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11821 $as_echo "no
" >&6; }
11826 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11829 if test -n "$LIPO_FOR_TARGET"; then
11830 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11831 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11832 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11835 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11836 for ncn_progname in lipo; do
11837 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11838 set dummy ${ncn_progname}; ac_word=$2
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11840 $as_echo_n "checking
for $ac_word...
" >&6; }
11841 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11842 $as_echo_n "(cached
) " >&6
11844 if test -n "$LIPO_FOR_TARGET"; then
11845 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11848 for as_dir in $PATH
11851 test -z "$as_dir" && as_dir=.
11852 for ac_exec_ext in '' $ac_executable_extensions; do
11853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11854 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11864 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11865 if test -n "$LIPO_FOR_TARGET"; then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11867 $as_echo "$LIPO_FOR_TARGET" >&6; }
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11870 $as_echo "no
" >&6; }
11877 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11878 for ncn_progname in lipo; do
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11880 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11881 if test -x $with_build_time_tools/${ncn_progname}; then
11882 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11884 $as_echo "yes" >&6; }
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11888 $as_echo "no
" >&6; }
11893 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11894 for ncn_progname in lipo; do
11895 if test -n "$ncn_target_tool_prefix"; then
11896 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11897 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11899 $as_echo_n "checking
for $ac_word...
" >&6; }
11900 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11901 $as_echo_n "(cached
) " >&6
11903 if test -n "$LIPO_FOR_TARGET"; then
11904 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11907 for as_dir in $PATH
11910 test -z "$as_dir" && as_dir=.
11911 for ac_exec_ext in '' $ac_executable_extensions; do
11912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11913 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11914 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11923 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11924 if test -n "$LIPO_FOR_TARGET"; then
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11926 $as_echo "$LIPO_FOR_TARGET" >&6; }
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11929 $as_echo "no
" >&6; }
11934 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11935 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11936 set dummy ${ncn_progname}; ac_word=$2
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11938 $as_echo_n "checking
for $ac_word...
" >&6; }
11939 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11940 $as_echo_n "(cached
) " >&6
11942 if test -n "$LIPO_FOR_TARGET"; then
11943 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11946 for as_dir in $PATH
11949 test -z "$as_dir" && as_dir=.
11950 for ac_exec_ext in '' $ac_executable_extensions; do
11951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11952 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11962 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11963 if test -n "$LIPO_FOR_TARGET"; then
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11965 $as_echo "$LIPO_FOR_TARGET" >&6; }
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11968 $as_echo "no
" >&6; }
11973 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11977 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11979 if test $build = $target ; then
11980 LIPO_FOR_TARGET="$2"
11982 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11985 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11989 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11995 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11996 if test -n "$with_build_time_tools"; then
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11998 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11999 if test -x $with_build_time_tools/nm; then
12000 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12001 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12003 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12006 $as_echo "no
" >&6; }
12008 elif test $build != $host && test $have_gcc_for_target = yes; then
12009 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12010 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12011 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12014 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12015 # Extract the first word of "nm
", so it can be a program name with args.
12016 set dummy nm; ac_word=$2
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12018 $as_echo_n "checking
for $ac_word...
" >&6; }
12019 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12020 $as_echo_n "(cached
) " >&6
12022 case $NM_FOR_TARGET in
12024 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12028 for as_dir in $gcc_cv_tool_dirs
12031 test -z "$as_dir" && as_dir=.
12032 for ac_exec_ext in '' $ac_executable_extensions; do
12033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12034 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12045 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12046 if test -n "$NM_FOR_TARGET"; then
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12048 $as_echo "$NM_FOR_TARGET" >&6; }
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12051 $as_echo "no
" >&6; }
12056 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12059 if test -n "$NM_FOR_TARGET"; then
12060 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12061 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12062 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12065 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12066 for ncn_progname in nm; do
12067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12068 set dummy ${ncn_progname}; ac_word=$2
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12070 $as_echo_n "checking
for $ac_word...
" >&6; }
12071 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12072 $as_echo_n "(cached
) " >&6
12074 if test -n "$NM_FOR_TARGET"; then
12075 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12078 for as_dir in $PATH
12081 test -z "$as_dir" && as_dir=.
12082 for ac_exec_ext in '' $ac_executable_extensions; do
12083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12084 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12094 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12095 if test -n "$NM_FOR_TARGET"; then
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12097 $as_echo "$NM_FOR_TARGET" >&6; }
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12100 $as_echo "no
" >&6; }
12107 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12108 for ncn_progname in nm; do
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12110 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12111 if test -x $with_build_time_tools/${ncn_progname}; then
12112 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12114 $as_echo "yes" >&6; }
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12118 $as_echo "no
" >&6; }
12123 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12124 for ncn_progname in nm; do
12125 if test -n "$ncn_target_tool_prefix"; then
12126 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12127 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12129 $as_echo_n "checking
for $ac_word...
" >&6; }
12130 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12131 $as_echo_n "(cached
) " >&6
12133 if test -n "$NM_FOR_TARGET"; then
12134 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12137 for as_dir in $PATH
12140 test -z "$as_dir" && as_dir=.
12141 for ac_exec_ext in '' $ac_executable_extensions; do
12142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12143 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12153 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12154 if test -n "$NM_FOR_TARGET"; then
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12156 $as_echo "$NM_FOR_TARGET" >&6; }
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12159 $as_echo "no
" >&6; }
12164 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12165 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12166 set dummy ${ncn_progname}; ac_word=$2
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12168 $as_echo_n "checking
for $ac_word...
" >&6; }
12169 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12170 $as_echo_n "(cached
) " >&6
12172 if test -n "$NM_FOR_TARGET"; then
12173 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12176 for as_dir in $PATH
12179 test -z "$as_dir" && as_dir=.
12180 for ac_exec_ext in '' $ac_executable_extensions; do
12181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12182 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12192 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12193 if test -n "$NM_FOR_TARGET"; then
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12195 $as_echo "$NM_FOR_TARGET" >&6; }
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12198 $as_echo "no
" >&6; }
12203 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12207 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12209 if test $build = $target ; then
12212 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12215 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12219 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12225 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12226 if test -n "$with_build_time_tools"; then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12228 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12229 if test -x $with_build_time_tools/objdump; then
12230 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12231 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12233 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12236 $as_echo "no
" >&6; }
12238 elif test $build != $host && test $have_gcc_for_target = yes; then
12239 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12240 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12241 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12244 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12245 # Extract the first word of "objdump
", so it can be a program name with args.
12246 set dummy objdump; ac_word=$2
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12248 $as_echo_n "checking
for $ac_word...
" >&6; }
12249 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12250 $as_echo_n "(cached
) " >&6
12252 case $OBJDUMP_FOR_TARGET in
12254 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12258 for as_dir in $gcc_cv_tool_dirs
12261 test -z "$as_dir" && as_dir=.
12262 for ac_exec_ext in '' $ac_executable_extensions; do
12263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12264 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12275 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12276 if test -n "$OBJDUMP_FOR_TARGET"; then
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12278 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12281 $as_echo "no
" >&6; }
12286 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12289 if test -n "$OBJDUMP_FOR_TARGET"; then
12290 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12291 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12292 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12295 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12296 for ncn_progname in objdump; do
12297 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12298 set dummy ${ncn_progname}; ac_word=$2
12299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12300 $as_echo_n "checking
for $ac_word...
" >&6; }
12301 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12302 $as_echo_n "(cached
) " >&6
12304 if test -n "$OBJDUMP_FOR_TARGET"; then
12305 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12308 for as_dir in $PATH
12311 test -z "$as_dir" && as_dir=.
12312 for ac_exec_ext in '' $ac_executable_extensions; do
12313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12314 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12324 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12325 if test -n "$OBJDUMP_FOR_TARGET"; then
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12327 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12330 $as_echo "no
" >&6; }
12337 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12338 for ncn_progname in objdump; do
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12340 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12341 if test -x $with_build_time_tools/${ncn_progname}; then
12342 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12344 $as_echo "yes" >&6; }
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12348 $as_echo "no
" >&6; }
12353 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12354 for ncn_progname in objdump; do
12355 if test -n "$ncn_target_tool_prefix"; then
12356 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12359 $as_echo_n "checking
for $ac_word...
" >&6; }
12360 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12361 $as_echo_n "(cached
) " >&6
12363 if test -n "$OBJDUMP_FOR_TARGET"; then
12364 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12367 for as_dir in $PATH
12370 test -z "$as_dir" && as_dir=.
12371 for ac_exec_ext in '' $ac_executable_extensions; do
12372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12373 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12383 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12384 if test -n "$OBJDUMP_FOR_TARGET"; then
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12386 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12389 $as_echo "no
" >&6; }
12394 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12396 set dummy ${ncn_progname}; ac_word=$2
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12398 $as_echo_n "checking
for $ac_word...
" >&6; }
12399 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12400 $as_echo_n "(cached
) " >&6
12402 if test -n "$OBJDUMP_FOR_TARGET"; then
12403 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $PATH
12409 test -z "$as_dir" && as_dir=.
12410 for ac_exec_ext in '' $ac_executable_extensions; do
12411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12412 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12422 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12423 if test -n "$OBJDUMP_FOR_TARGET"; then
12424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12425 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12428 $as_echo "no
" >&6; }
12433 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12437 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12439 if test $build = $target ; then
12440 OBJDUMP_FOR_TARGET="$2"
12442 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12445 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12449 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12455 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12456 if test -n "$with_build_time_tools"; then
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12458 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12459 if test -x $with_build_time_tools/ranlib; then
12460 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12461 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12463 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12466 $as_echo "no
" >&6; }
12468 elif test $build != $host && test $have_gcc_for_target = yes; then
12469 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12470 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12471 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12474 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12475 # Extract the first word of "ranlib
", so it can be a program name with args.
12476 set dummy ranlib; ac_word=$2
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12478 $as_echo_n "checking
for $ac_word...
" >&6; }
12479 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12480 $as_echo_n "(cached
) " >&6
12482 case $RANLIB_FOR_TARGET in
12484 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12488 for as_dir in $gcc_cv_tool_dirs
12491 test -z "$as_dir" && as_dir=.
12492 for ac_exec_ext in '' $ac_executable_extensions; do
12493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12494 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12495 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12505 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12506 if test -n "$RANLIB_FOR_TARGET"; then
12507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12508 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12511 $as_echo "no
" >&6; }
12516 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12519 if test -n "$RANLIB_FOR_TARGET"; then
12520 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12521 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12522 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12525 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12526 for ncn_progname in ranlib; do
12527 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12528 set dummy ${ncn_progname}; ac_word=$2
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12530 $as_echo_n "checking
for $ac_word...
" >&6; }
12531 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12532 $as_echo_n "(cached
) " >&6
12534 if test -n "$RANLIB_FOR_TARGET"; then
12535 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12538 for as_dir in $PATH
12541 test -z "$as_dir" && as_dir=.
12542 for ac_exec_ext in '' $ac_executable_extensions; do
12543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12544 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12554 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12555 if test -n "$RANLIB_FOR_TARGET"; then
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12557 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12560 $as_echo "no
" >&6; }
12567 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12568 for ncn_progname in ranlib; do
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12570 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12571 if test -x $with_build_time_tools/${ncn_progname}; then
12572 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12574 $as_echo "yes" >&6; }
12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12578 $as_echo "no
" >&6; }
12583 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12584 for ncn_progname in ranlib; do
12585 if test -n "$ncn_target_tool_prefix"; then
12586 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12587 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12589 $as_echo_n "checking
for $ac_word...
" >&6; }
12590 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12591 $as_echo_n "(cached
) " >&6
12593 if test -n "$RANLIB_FOR_TARGET"; then
12594 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12597 for as_dir in $PATH
12600 test -z "$as_dir" && as_dir=.
12601 for ac_exec_ext in '' $ac_executable_extensions; do
12602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12603 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12613 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12614 if test -n "$RANLIB_FOR_TARGET"; then
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12616 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12619 $as_echo "no
" >&6; }
12624 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12626 set dummy ${ncn_progname}; ac_word=$2
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12628 $as_echo_n "checking
for $ac_word...
" >&6; }
12629 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12630 $as_echo_n "(cached
) " >&6
12632 if test -n "$RANLIB_FOR_TARGET"; then
12633 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12636 for as_dir in $PATH
12639 test -z "$as_dir" && as_dir=.
12640 for ac_exec_ext in '' $ac_executable_extensions; do
12641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12642 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12652 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12653 if test -n "$RANLIB_FOR_TARGET"; then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12655 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12658 $as_echo "no
" >&6; }
12663 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12667 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12669 if test $build = $target ; then
12670 RANLIB_FOR_TARGET="$2"
12672 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12675 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12679 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12685 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12686 if test -n "$with_build_time_tools"; then
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12688 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12689 if test -x $with_build_time_tools/readelf; then
12690 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12691 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12693 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12696 $as_echo "no
" >&6; }
12698 elif test $build != $host && test $have_gcc_for_target = yes; then
12699 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12700 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12701 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12704 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12705 # Extract the first word of "readelf
", so it can be a program name with args.
12706 set dummy readelf; ac_word=$2
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12708 $as_echo_n "checking
for $ac_word...
" >&6; }
12709 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12710 $as_echo_n "(cached
) " >&6
12712 case $READELF_FOR_TARGET in
12714 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12718 for as_dir in $gcc_cv_tool_dirs
12721 test -z "$as_dir" && as_dir=.
12722 for ac_exec_ext in '' $ac_executable_extensions; do
12723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12724 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12725 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12735 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12736 if test -n "$READELF_FOR_TARGET"; then
12737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12738 $as_echo "$READELF_FOR_TARGET" >&6; }
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12741 $as_echo "no
" >&6; }
12746 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12749 if test -n "$READELF_FOR_TARGET"; then
12750 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12751 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12752 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12755 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12756 for ncn_progname in readelf; do
12757 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12758 set dummy ${ncn_progname}; ac_word=$2
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12760 $as_echo_n "checking
for $ac_word...
" >&6; }
12761 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12762 $as_echo_n "(cached
) " >&6
12764 if test -n "$READELF_FOR_TARGET"; then
12765 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12768 for as_dir in $PATH
12771 test -z "$as_dir" && as_dir=.
12772 for ac_exec_ext in '' $ac_executable_extensions; do
12773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12774 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12775 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12784 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12785 if test -n "$READELF_FOR_TARGET"; then
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12787 $as_echo "$READELF_FOR_TARGET" >&6; }
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12790 $as_echo "no
" >&6; }
12797 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12798 for ncn_progname in readelf; do
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12800 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12801 if test -x $with_build_time_tools/${ncn_progname}; then
12802 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12804 $as_echo "yes" >&6; }
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12808 $as_echo "no
" >&6; }
12813 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12814 for ncn_progname in readelf; do
12815 if test -n "$ncn_target_tool_prefix"; then
12816 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12817 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12819 $as_echo_n "checking
for $ac_word...
" >&6; }
12820 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12821 $as_echo_n "(cached
) " >&6
12823 if test -n "$READELF_FOR_TARGET"; then
12824 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12827 for as_dir in $PATH
12830 test -z "$as_dir" && as_dir=.
12831 for ac_exec_ext in '' $ac_executable_extensions; do
12832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12833 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12834 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12843 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12844 if test -n "$READELF_FOR_TARGET"; then
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12846 $as_echo "$READELF_FOR_TARGET" >&6; }
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12849 $as_echo "no
" >&6; }
12854 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12855 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12856 set dummy ${ncn_progname}; ac_word=$2
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12858 $as_echo_n "checking
for $ac_word...
" >&6; }
12859 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12860 $as_echo_n "(cached
) " >&6
12862 if test -n "$READELF_FOR_TARGET"; then
12863 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12866 for as_dir in $PATH
12869 test -z "$as_dir" && as_dir=.
12870 for ac_exec_ext in '' $ac_executable_extensions; do
12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12872 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12882 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12883 if test -n "$READELF_FOR_TARGET"; then
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12885 $as_echo "$READELF_FOR_TARGET" >&6; }
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12888 $as_echo "no
" >&6; }
12893 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12897 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12899 if test $build = $target ; then
12900 READELF_FOR_TARGET="$2"
12902 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12905 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12909 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12915 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12916 if test -n "$with_build_time_tools"; then
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12918 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12919 if test -x $with_build_time_tools/strip; then
12920 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12921 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12923 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12926 $as_echo "no
" >&6; }
12928 elif test $build != $host && test $have_gcc_for_target = yes; then
12929 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12930 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12931 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12934 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12935 # Extract the first word of "strip
", so it can be a program name with args.
12936 set dummy strip; ac_word=$2
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12938 $as_echo_n "checking
for $ac_word...
" >&6; }
12939 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12940 $as_echo_n "(cached
) " >&6
12942 case $STRIP_FOR_TARGET in
12944 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12948 for as_dir in $gcc_cv_tool_dirs
12951 test -z "$as_dir" && as_dir=.
12952 for ac_exec_ext in '' $ac_executable_extensions; do
12953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12954 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12955 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12965 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12966 if test -n "$STRIP_FOR_TARGET"; then
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12968 $as_echo "$STRIP_FOR_TARGET" >&6; }
12970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12971 $as_echo "no
" >&6; }
12976 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12979 if test -n "$STRIP_FOR_TARGET"; then
12980 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12981 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12982 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12985 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12986 for ncn_progname in strip; do
12987 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12988 set dummy ${ncn_progname}; ac_word=$2
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12990 $as_echo_n "checking
for $ac_word...
" >&6; }
12991 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12992 $as_echo_n "(cached
) " >&6
12994 if test -n "$STRIP_FOR_TARGET"; then
12995 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12998 for as_dir in $PATH
13001 test -z "$as_dir" && as_dir=.
13002 for ac_exec_ext in '' $ac_executable_extensions; do
13003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13004 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13005 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13014 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13015 if test -n "$STRIP_FOR_TARGET"; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13017 $as_echo "$STRIP_FOR_TARGET" >&6; }
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13020 $as_echo "no
" >&6; }
13027 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13028 for ncn_progname in strip; do
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13030 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13031 if test -x $with_build_time_tools/${ncn_progname}; then
13032 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13034 $as_echo "yes" >&6; }
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13038 $as_echo "no
" >&6; }
13043 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13044 for ncn_progname in strip; do
13045 if test -n "$ncn_target_tool_prefix"; then
13046 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13047 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13049 $as_echo_n "checking
for $ac_word...
" >&6; }
13050 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13051 $as_echo_n "(cached
) " >&6
13053 if test -n "$STRIP_FOR_TARGET"; then
13054 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13057 for as_dir in $PATH
13060 test -z "$as_dir" && as_dir=.
13061 for ac_exec_ext in '' $ac_executable_extensions; do
13062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13063 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13064 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13073 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13074 if test -n "$STRIP_FOR_TARGET"; then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13076 $as_echo "$STRIP_FOR_TARGET" >&6; }
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13079 $as_echo "no
" >&6; }
13084 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13085 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13086 set dummy ${ncn_progname}; ac_word=$2
13087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13088 $as_echo_n "checking
for $ac_word...
" >&6; }
13089 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13090 $as_echo_n "(cached
) " >&6
13092 if test -n "$STRIP_FOR_TARGET"; then
13093 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13096 for as_dir in $PATH
13099 test -z "$as_dir" && as_dir=.
13100 for ac_exec_ext in '' $ac_executable_extensions; do
13101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13102 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13112 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13113 if test -n "$STRIP_FOR_TARGET"; then
13114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13115 $as_echo "$STRIP_FOR_TARGET" >&6; }
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13118 $as_echo "no
" >&6; }
13123 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13127 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13129 if test $build = $target ; then
13130 STRIP_FOR_TARGET="$2"
13132 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13135 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13139 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13145 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13146 if test -n "$with_build_time_tools"; then
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13148 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13149 if test -x $with_build_time_tools/windres; then
13150 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13151 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13153 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13156 $as_echo "no
" >&6; }
13158 elif test $build != $host && test $have_gcc_for_target = yes; then
13159 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13160 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13161 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13164 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13165 # Extract the first word of "windres
", so it can be a program name with args.
13166 set dummy windres; ac_word=$2
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13168 $as_echo_n "checking
for $ac_word...
" >&6; }
13169 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13170 $as_echo_n "(cached
) " >&6
13172 case $WINDRES_FOR_TARGET in
13174 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13178 for as_dir in $gcc_cv_tool_dirs
13181 test -z "$as_dir" && as_dir=.
13182 for ac_exec_ext in '' $ac_executable_extensions; do
13183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13184 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13195 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13196 if test -n "$WINDRES_FOR_TARGET"; then
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13198 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13201 $as_echo "no
" >&6; }
13206 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13209 if test -n "$WINDRES_FOR_TARGET"; then
13210 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13211 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13212 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13215 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13216 for ncn_progname in windres; do
13217 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13218 set dummy ${ncn_progname}; ac_word=$2
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13220 $as_echo_n "checking
for $ac_word...
" >&6; }
13221 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13222 $as_echo_n "(cached
) " >&6
13224 if test -n "$WINDRES_FOR_TARGET"; then
13225 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13228 for as_dir in $PATH
13231 test -z "$as_dir" && as_dir=.
13232 for ac_exec_ext in '' $ac_executable_extensions; do
13233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13234 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13235 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13244 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13245 if test -n "$WINDRES_FOR_TARGET"; then
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13247 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13250 $as_echo "no
" >&6; }
13257 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13258 for ncn_progname in windres; do
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13260 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13261 if test -x $with_build_time_tools/${ncn_progname}; then
13262 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13264 $as_echo "yes" >&6; }
13267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13268 $as_echo "no
" >&6; }
13273 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13274 for ncn_progname in windres; do
13275 if test -n "$ncn_target_tool_prefix"; then
13276 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13277 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13279 $as_echo_n "checking
for $ac_word...
" >&6; }
13280 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13281 $as_echo_n "(cached
) " >&6
13283 if test -n "$WINDRES_FOR_TARGET"; then
13284 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13287 for as_dir in $PATH
13290 test -z "$as_dir" && as_dir=.
13291 for ac_exec_ext in '' $ac_executable_extensions; do
13292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13293 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13294 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13303 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13304 if test -n "$WINDRES_FOR_TARGET"; then
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13306 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13309 $as_echo "no
" >&6; }
13314 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13315 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13316 set dummy ${ncn_progname}; ac_word=$2
13317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13318 $as_echo_n "checking
for $ac_word...
" >&6; }
13319 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13320 $as_echo_n "(cached
) " >&6
13322 if test -n "$WINDRES_FOR_TARGET"; then
13323 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326 for as_dir in $PATH
13329 test -z "$as_dir" && as_dir=.
13330 for ac_exec_ext in '' $ac_executable_extensions; do
13331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13332 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13342 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13343 if test -n "$WINDRES_FOR_TARGET"; then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13345 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13348 $as_echo "no
" >&6; }
13353 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13357 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13359 if test $build = $target ; then
13360 WINDRES_FOR_TARGET="$2"
13362 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13365 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13369 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13375 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13376 if test -n "$with_build_time_tools"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13378 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13379 if test -x $with_build_time_tools/windmc; then
13380 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13381 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13383 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13386 $as_echo "no
" >&6; }
13388 elif test $build != $host && test $have_gcc_for_target = yes; then
13389 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13390 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13391 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13394 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13395 # Extract the first word of "windmc
", so it can be a program name with args.
13396 set dummy windmc; ac_word=$2
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13398 $as_echo_n "checking
for $ac_word...
" >&6; }
13399 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13400 $as_echo_n "(cached
) " >&6
13402 case $WINDMC_FOR_TARGET in
13404 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13408 for as_dir in $gcc_cv_tool_dirs
13411 test -z "$as_dir" && as_dir=.
13412 for ac_exec_ext in '' $ac_executable_extensions; do
13413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13414 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13425 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13426 if test -n "$WINDMC_FOR_TARGET"; then
13427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13428 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13431 $as_echo "no
" >&6; }
13436 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13439 if test -n "$WINDMC_FOR_TARGET"; then
13440 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13441 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13442 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13445 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13446 for ncn_progname in windmc; do
13447 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13448 set dummy ${ncn_progname}; ac_word=$2
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13450 $as_echo_n "checking
for $ac_word...
" >&6; }
13451 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13452 $as_echo_n "(cached
) " >&6
13454 if test -n "$WINDMC_FOR_TARGET"; then
13455 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13458 for as_dir in $PATH
13461 test -z "$as_dir" && as_dir=.
13462 for ac_exec_ext in '' $ac_executable_extensions; do
13463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13464 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13474 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13475 if test -n "$WINDMC_FOR_TARGET"; then
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13477 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13480 $as_echo "no
" >&6; }
13487 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13488 for ncn_progname in windmc; do
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13490 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13491 if test -x $with_build_time_tools/${ncn_progname}; then
13492 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13494 $as_echo "yes" >&6; }
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13498 $as_echo "no
" >&6; }
13503 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13504 for ncn_progname in windmc; do
13505 if test -n "$ncn_target_tool_prefix"; then
13506 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13507 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13509 $as_echo_n "checking
for $ac_word...
" >&6; }
13510 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13511 $as_echo_n "(cached
) " >&6
13513 if test -n "$WINDMC_FOR_TARGET"; then
13514 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13517 for as_dir in $PATH
13520 test -z "$as_dir" && as_dir=.
13521 for ac_exec_ext in '' $ac_executable_extensions; do
13522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13523 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13524 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13533 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13534 if test -n "$WINDMC_FOR_TARGET"; then
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13536 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13539 $as_echo "no
" >&6; }
13544 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13545 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13546 set dummy ${ncn_progname}; ac_word=$2
13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13548 $as_echo_n "checking
for $ac_word...
" >&6; }
13549 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13550 $as_echo_n "(cached
) " >&6
13552 if test -n "$WINDMC_FOR_TARGET"; then
13553 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13556 for as_dir in $PATH
13559 test -z "$as_dir" && as_dir=.
13560 for ac_exec_ext in '' $ac_executable_extensions; do
13561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13562 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13563 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13572 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13573 if test -n "$WINDMC_FOR_TARGET"; then
13574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13575 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13578 $as_echo "no
" >&6; }
13583 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13587 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13589 if test $build = $target ; then
13590 WINDMC_FOR_TARGET="$2"
13592 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13595 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13599 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13603 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13606 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13607 if test "x
${build}" != "x
${host}" ; then
13608 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13609 # We already found the complete path
13610 ac_dir=`dirname $AR_FOR_TARGET`
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13612 $as_echo "pre-installed
in $ac_dir" >&6; }
13614 # Canadian cross, just use what we found
13615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13616 $as_echo "pre-installed
" >&6; }
13620 case " ${configdirs} " in
13625 if test $ok = yes; then
13626 # An in-tree tool is available and we can use it
13627 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13629 $as_echo "just compiled
" >&6; }
13630 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13631 # We already found the complete path
13632 ac_dir=`dirname $AR_FOR_TARGET`
13633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13634 $as_echo "pre-installed
in $ac_dir" >&6; }
13635 elif test "x
$target" = "x
$host"; then
13636 # We can use an host tool
13637 AR_FOR_TARGET='$(AR)'
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13639 $as_echo "host tool
" >&6; }
13641 # We need a cross tool
13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13643 $as_echo "pre-installed
" >&6; }
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13648 $as_echo_n "checking where to
find the target as...
" >&6; }
13649 if test "x
${build}" != "x
${host}" ; then
13650 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13651 # We already found the complete path
13652 ac_dir=`dirname $AS_FOR_TARGET`
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13654 $as_echo "pre-installed
in $ac_dir" >&6; }
13656 # Canadian cross, just use what we found
13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13658 $as_echo "pre-installed
" >&6; }
13662 case " ${configdirs} " in
13667 if test $ok = yes; then
13668 # An in-tree tool is available and we can use it
13669 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13671 $as_echo "just compiled
" >&6; }
13672 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13673 # We already found the complete path
13674 ac_dir=`dirname $AS_FOR_TARGET`
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13676 $as_echo "pre-installed
in $ac_dir" >&6; }
13677 elif test "x
$target" = "x
$host"; then
13678 # We can use an host tool
13679 AS_FOR_TARGET='$(AS)'
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13681 $as_echo "host tool
" >&6; }
13683 # We need a cross tool
13684 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13685 $as_echo "pre-installed
" >&6; }
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13690 $as_echo_n "checking where to
find the target cc...
" >&6; }
13691 if test "x
${build}" != "x
${host}" ; then
13692 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13693 # We already found the complete path
13694 ac_dir=`dirname $CC_FOR_TARGET`
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13696 $as_echo "pre-installed
in $ac_dir" >&6; }
13698 # Canadian cross, just use what we found
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13700 $as_echo "pre-installed
" >&6; }
13704 case " ${configdirs} " in
13709 if test $ok = yes; then
13710 # An in-tree tool is available and we can use it
13711 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13713 $as_echo "just compiled
" >&6; }
13714 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13715 # We already found the complete path
13716 ac_dir=`dirname $CC_FOR_TARGET`
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13718 $as_echo "pre-installed
in $ac_dir" >&6; }
13719 elif test "x
$target" = "x
$host"; then
13720 # We can use an host tool
13721 CC_FOR_TARGET='$(CC)'
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13723 $as_echo "host tool
" >&6; }
13725 # We need a cross tool
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13727 $as_echo "pre-installed
" >&6; }
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13732 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13733 if test "x
${build}" != "x
${host}" ; then
13734 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13735 # We already found the complete path
13736 ac_dir=`dirname $CXX_FOR_TARGET`
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13738 $as_echo "pre-installed
in $ac_dir" >&6; }
13740 # Canadian cross, just use what we found
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13742 $as_echo "pre-installed
" >&6; }
13746 case " ${configdirs} " in
13750 case ,${enable_languages}, in
13754 if test $ok = yes; then
13755 # An in-tree tool is available and we can use it
13756 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'
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13758 $as_echo "just compiled
" >&6; }
13759 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13760 # We already found the complete path
13761 ac_dir=`dirname $CXX_FOR_TARGET`
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13763 $as_echo "pre-installed
in $ac_dir" >&6; }
13764 elif test "x
$target" = "x
$host"; then
13765 # We can use an host tool
13766 CXX_FOR_TARGET='$(CXX)'
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13768 $as_echo "host tool
" >&6; }
13770 # We need a cross tool
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13772 $as_echo "pre-installed
" >&6; }
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13777 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13778 if test "x
${build}" != "x
${host}" ; then
13779 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13780 # We already found the complete path
13781 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13783 $as_echo "pre-installed
in $ac_dir" >&6; }
13785 # Canadian cross, just use what we found
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13787 $as_echo "pre-installed
" >&6; }
13791 case " ${configdirs} " in
13795 case ,${enable_languages}, in
13799 if test $ok = yes; then
13800 # An in-tree tool is available and we can use it
13801 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'
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13803 $as_echo "just compiled
" >&6; }
13804 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13805 # We already found the complete path
13806 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13808 $as_echo "pre-installed
in $ac_dir" >&6; }
13809 elif test "x
$target" = "x
$host"; then
13810 # We can use an host tool
13811 RAW_CXX_FOR_TARGET='$(CXX)'
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13813 $as_echo "host tool
" >&6; }
13815 # We need a cross tool
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13817 $as_echo "pre-installed
" >&6; }
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13822 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13823 if test "x
${build}" != "x
${host}" ; then
13824 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13825 # We already found the complete path
13826 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13828 $as_echo "pre-installed
in $ac_dir" >&6; }
13830 # Canadian cross, just use what we found
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13832 $as_echo "pre-installed
" >&6; }
13836 case " ${configdirs} " in
13841 if test $ok = yes; then
13842 # An in-tree tool is available and we can use it
13843 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13845 $as_echo "just compiled
" >&6; }
13846 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13847 # We already found the complete path
13848 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13850 $as_echo "pre-installed
in $ac_dir" >&6; }
13851 elif test "x
$target" = "x
$host"; then
13852 # We can use an host tool
13853 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13855 $as_echo "host tool
" >&6; }
13857 # We need a cross tool
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13859 $as_echo "pre-installed
" >&6; }
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13864 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13865 if test "x
${build}" != "x
${host}" ; then
13866 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13867 # We already found the complete path
13868 ac_dir=`dirname $GCC_FOR_TARGET`
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13870 $as_echo "pre-installed
in $ac_dir" >&6; }
13872 # Canadian cross, just use what we found
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13874 $as_echo "pre-installed
" >&6; }
13878 case " ${configdirs} " in
13883 if test $ok = yes; then
13884 # An in-tree tool is available and we can use it
13885 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13887 $as_echo "just compiled
" >&6; }
13888 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13889 # We already found the complete path
13890 ac_dir=`dirname $GCC_FOR_TARGET`
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13892 $as_echo "pre-installed
in $ac_dir" >&6; }
13893 elif test "x
$target" = "x
$host"; then
13894 # We can use an host tool
13895 GCC_FOR_TARGET='$()'
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13897 $as_echo "host tool
" >&6; }
13899 # We need a cross tool
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13901 $as_echo "pre-installed
" >&6; }
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13906 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13907 if test "x
${build}" != "x
${host}" ; then
13908 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13909 # We already found the complete path
13910 ac_dir=`dirname $GCJ_FOR_TARGET`
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13912 $as_echo "pre-installed
in $ac_dir" >&6; }
13914 # Canadian cross, just use what we found
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13916 $as_echo "pre-installed
" >&6; }
13920 case " ${configdirs} " in
13924 case ,${enable_languages}, in
13928 if test $ok = yes; then
13929 # An in-tree tool is available and we can use it
13930 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13932 $as_echo "just compiled
" >&6; }
13933 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13934 # We already found the complete path
13935 ac_dir=`dirname $GCJ_FOR_TARGET`
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13937 $as_echo "pre-installed
in $ac_dir" >&6; }
13938 elif test "x
$target" = "x
$host"; then
13939 # We can use an host tool
13940 GCJ_FOR_TARGET='$(GCJ)'
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13942 $as_echo "host tool
" >&6; }
13944 # We need a cross tool
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13946 $as_echo "pre-installed
" >&6; }
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13951 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13952 if test "x
${build}" != "x
${host}" ; then
13953 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13954 # We already found the complete path
13955 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13957 $as_echo "pre-installed
in $ac_dir" >&6; }
13959 # Canadian cross, just use what we found
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13961 $as_echo "pre-installed
" >&6; }
13965 case " ${configdirs} " in
13969 case ,${enable_languages}, in
13973 if test $ok = yes; then
13974 # An in-tree tool is available and we can use it
13975 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13977 $as_echo "just compiled
" >&6; }
13978 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13979 # We already found the complete path
13980 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13982 $as_echo "pre-installed
in $ac_dir" >&6; }
13983 elif test "x
$target" = "x
$host"; then
13984 # We can use an host tool
13985 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13987 $as_echo "host tool
" >&6; }
13989 # We need a cross tool
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13991 $as_echo "pre-installed
" >&6; }
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13996 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13997 if test "x
${build}" != "x
${host}" ; then
13998 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13999 # We already found the complete path
14000 ac_dir=`dirname $GOC_FOR_TARGET`
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14002 $as_echo "pre-installed
in $ac_dir" >&6; }
14004 # Canadian cross, just use what we found
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14006 $as_echo "pre-installed
" >&6; }
14010 case " ${configdirs} " in
14014 case ,${enable_languages}, in
14018 if test $ok = yes; then
14019 # An in-tree tool is available and we can use it
14020 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14022 $as_echo "just compiled
" >&6; }
14023 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14024 # We already found the complete path
14025 ac_dir=`dirname $GOC_FOR_TARGET`
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14027 $as_echo "pre-installed
in $ac_dir" >&6; }
14028 elif test "x
$target" = "x
$host"; then
14029 # We can use an host tool
14030 GOC_FOR_TARGET='$(GOC)'
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14032 $as_echo "host tool
" >&6; }
14034 # We need a cross tool
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14036 $as_echo "pre-installed
" >&6; }
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14041 $as_echo_n "checking where to
find the target ld...
" >&6; }
14042 if test "x
${build}" != "x
${host}" ; then
14043 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14044 # We already found the complete path
14045 ac_dir=`dirname $LD_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; }
14049 # Canadian cross, just use what we found
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14051 $as_echo "pre-installed
" >&6; }
14055 case " ${configdirs} " in
14060 if test $ok = yes; then
14061 # An in-tree tool is available and we can use it
14062 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14064 $as_echo "just compiled
" >&6; }
14065 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14066 # We already found the complete path
14067 ac_dir=`dirname $LD_FOR_TARGET`
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14069 $as_echo "pre-installed
in $ac_dir" >&6; }
14070 elif test "x
$target" = "x
$host"; then
14071 # We can use an host tool
14072 LD_FOR_TARGET='$(LD)'
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14074 $as_echo "host tool
" >&6; }
14076 # We need a cross tool
14077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14078 $as_echo "pre-installed
" >&6; }
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14083 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14084 if test "x
${build}" != "x
${host}" ; then
14085 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14086 # We already found the complete path
14087 ac_dir=`dirname $LIPO_FOR_TARGET`
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14089 $as_echo "pre-installed
in $ac_dir" >&6; }
14091 # Canadian cross, just use what we found
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14093 $as_echo "pre-installed
" >&6; }
14096 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14097 # We already found the complete path
14098 ac_dir=`dirname $LIPO_FOR_TARGET`
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14100 $as_echo "pre-installed
in $ac_dir" >&6; }
14101 elif test "x
$target" = "x
$host"; then
14102 # We can use an host tool
14103 LIPO_FOR_TARGET='$(LIPO)'
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14105 $as_echo "host tool
" >&6; }
14107 # We need a cross tool
14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14109 $as_echo "pre-installed
" >&6; }
14113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14114 $as_echo_n "checking where to
find the target nm...
" >&6; }
14115 if test "x
${build}" != "x
${host}" ; then
14116 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14117 # We already found the complete path
14118 ac_dir=`dirname $NM_FOR_TARGET`
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14120 $as_echo "pre-installed
in $ac_dir" >&6; }
14122 # Canadian cross, just use what we found
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14124 $as_echo "pre-installed
" >&6; }
14128 case " ${configdirs} " in
14133 if test $ok = yes; then
14134 # An in-tree tool is available and we can use it
14135 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14137 $as_echo "just compiled
" >&6; }
14138 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14139 # We already found the complete path
14140 ac_dir=`dirname $NM_FOR_TARGET`
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14142 $as_echo "pre-installed
in $ac_dir" >&6; }
14143 elif test "x
$target" = "x
$host"; then
14144 # We can use an host tool
14145 NM_FOR_TARGET='$(NM)'
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14147 $as_echo "host tool
" >&6; }
14149 # We need a cross tool
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14151 $as_echo "pre-installed
" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14156 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14157 if test "x
${build}" != "x
${host}" ; then
14158 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14159 # We already found the complete path
14160 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14162 $as_echo "pre-installed
in $ac_dir" >&6; }
14164 # Canadian cross, just use what we found
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14166 $as_echo "pre-installed
" >&6; }
14170 case " ${configdirs} " in
14175 if test $ok = yes; then
14176 # An in-tree tool is available and we can use it
14177 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14179 $as_echo "just compiled
" >&6; }
14180 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14181 # We already found the complete path
14182 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14184 $as_echo "pre-installed
in $ac_dir" >&6; }
14185 elif test "x
$target" = "x
$host"; then
14186 # We can use an host tool
14187 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14189 $as_echo "host tool
" >&6; }
14191 # We need a cross tool
14192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14193 $as_echo "pre-installed
" >&6; }
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14198 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14199 if test "x
${build}" != "x
${host}" ; then
14200 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14201 # We already found the complete path
14202 ac_dir=`dirname $RANLIB_FOR_TARGET`
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14204 $as_echo "pre-installed
in $ac_dir" >&6; }
14206 # Canadian cross, just use what we found
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14208 $as_echo "pre-installed
" >&6; }
14212 case " ${configdirs} " in
14217 if test $ok = yes; then
14218 # An in-tree tool is available and we can use it
14219 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14221 $as_echo "just compiled
" >&6; }
14222 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14223 # We already found the complete path
14224 ac_dir=`dirname $RANLIB_FOR_TARGET`
14225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14226 $as_echo "pre-installed
in $ac_dir" >&6; }
14227 elif test "x
$target" = "x
$host"; then
14228 # We can use an host tool
14229 RANLIB_FOR_TARGET='$(RANLIB)'
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14231 $as_echo "host tool
" >&6; }
14233 # We need a cross tool
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14235 $as_echo "pre-installed
" >&6; }
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14240 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14241 if test "x
${build}" != "x
${host}" ; then
14242 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14243 # We already found the complete path
14244 ac_dir=`dirname $READELF_FOR_TARGET`
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14246 $as_echo "pre-installed
in $ac_dir" >&6; }
14248 # Canadian cross, just use what we found
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14250 $as_echo "pre-installed
" >&6; }
14254 case " ${configdirs} " in
14259 if test $ok = yes; then
14260 # An in-tree tool is available and we can use it
14261 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14263 $as_echo "just compiled
" >&6; }
14264 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14265 # We already found the complete path
14266 ac_dir=`dirname $READELF_FOR_TARGET`
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14268 $as_echo "pre-installed
in $ac_dir" >&6; }
14269 elif test "x
$target" = "x
$host"; then
14270 # We can use an host tool
14271 READELF_FOR_TARGET='$(READELF)'
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14273 $as_echo "host tool
" >&6; }
14275 # We need a cross tool
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14277 $as_echo "pre-installed
" >&6; }
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14282 $as_echo_n "checking where to
find the target strip...
" >&6; }
14283 if test "x
${build}" != "x
${host}" ; then
14284 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14285 # We already found the complete path
14286 ac_dir=`dirname $STRIP_FOR_TARGET`
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14288 $as_echo "pre-installed
in $ac_dir" >&6; }
14290 # Canadian cross, just use what we found
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14292 $as_echo "pre-installed
" >&6; }
14296 case " ${configdirs} " in
14301 if test $ok = yes; then
14302 # An in-tree tool is available and we can use it
14303 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14305 $as_echo "just compiled
" >&6; }
14306 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14307 # We already found the complete path
14308 ac_dir=`dirname $STRIP_FOR_TARGET`
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14310 $as_echo "pre-installed
in $ac_dir" >&6; }
14311 elif test "x
$target" = "x
$host"; then
14312 # We can use an host tool
14313 STRIP_FOR_TARGET='$(STRIP)'
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14315 $as_echo "host tool
" >&6; }
14317 # We need a cross tool
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14319 $as_echo "pre-installed
" >&6; }
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14324 $as_echo_n "checking where to
find the target windres...
" >&6; }
14325 if test "x
${build}" != "x
${host}" ; then
14326 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14327 # We already found the complete path
14328 ac_dir=`dirname $WINDRES_FOR_TARGET`
14329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14330 $as_echo "pre-installed
in $ac_dir" >&6; }
14332 # Canadian cross, just use what we found
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14334 $as_echo "pre-installed
" >&6; }
14338 case " ${configdirs} " in
14343 if test $ok = yes; then
14344 # An in-tree tool is available and we can use it
14345 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14347 $as_echo "just compiled
" >&6; }
14348 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14349 # We already found the complete path
14350 ac_dir=`dirname $WINDRES_FOR_TARGET`
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14352 $as_echo "pre-installed
in $ac_dir" >&6; }
14353 elif test "x
$target" = "x
$host"; then
14354 # We can use an host tool
14355 WINDRES_FOR_TARGET='$(WINDRES)'
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14357 $as_echo "host tool
" >&6; }
14359 # We need a cross tool
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14361 $as_echo "pre-installed
" >&6; }
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14366 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14367 if test "x
${build}" != "x
${host}" ; then
14368 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14369 # We already found the complete path
14370 ac_dir=`dirname $WINDMC_FOR_TARGET`
14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14372 $as_echo "pre-installed
in $ac_dir" >&6; }
14374 # Canadian cross, just use what we found
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14376 $as_echo "pre-installed
" >&6; }
14380 case " ${configdirs} " in
14385 if test $ok = yes; then
14386 # An in-tree tool is available and we can use it
14387 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14389 $as_echo "just compiled
" >&6; }
14390 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14391 # We already found the complete path
14392 ac_dir=`dirname $WINDMC_FOR_TARGET`
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14394 $as_echo "pre-installed
in $ac_dir" >&6; }
14395 elif test "x
$target" = "x
$host"; then
14396 # We can use an host tool
14397 WINDMC_FOR_TARGET='$(WINDMC)'
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14399 $as_echo "host tool
" >&6; }
14401 # We need a cross tool
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14403 $as_echo "pre-installed
" >&6; }
14411 # Certain tools may need extra flags.
14412 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14413 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14414 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14416 # When building target libraries, except in a Canadian cross, we use
14417 # the same toolchain as the compiler we just built.
14418 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14419 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14420 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14421 if test $host = $build; then
14422 case " $configdirs " in
14424 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14425 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14426 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14436 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14437 # Check whether --enable-maintainer-mode was given.
14438 if test "${enable_maintainer_mode+set}" = set; then :
14439 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14441 USE_MAINTAINER_MODE=no
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14445 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14448 if test "$USE_MAINTAINER_MODE" = yes; then
14449 MAINTAINER_MODE_TRUE=
14450 MAINTAINER_MODE_FALSE='#'
14452 MAINTAINER_MODE_TRUE='#'
14453 MAINTAINER_MODE_FALSE=
14455 MAINT=$MAINTAINER_MODE_TRUE
14457 # ---------------------
14458 # GCC bootstrap support
14459 # ---------------------
14461 # Stage specific cflags for build.
14466 yes) stage1_cflags="-g -Wa,-J" ;;
14467 *) stage1_cflags="-g -J" ;;
14473 # Enable --enable-checking in stage1 of the compiler.
14474 # Check whether --enable-stage1-checking was given.
14475 if test "${enable_stage1_checking+set}" = set; then :
14476 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14478 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14479 stage1_checking=--enable-checking=yes,types
14481 stage1_checking=--enable-checking=$enable_checking,types
14487 # Enable -Werror in bootstrap stage2 and later.
14488 # Check whether --enable-werror was given.
14489 if test "${enable_werror+set}" = set; then :
14490 enableval=$enable_werror;
14492 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14499 case ${enable_werror} in
14500 yes) stage2_werror_flag="--enable-werror-always" ;;
14501 *) stage2_werror_flag="" ;;
14505 # Enable --enable-host-shared.
14506 # Check whether --enable-host-shared was given.
14507 if test "${enable_host_shared+set}" = set; then :
14508 enableval=$enable_host_shared; host_shared=$enableval
14515 # Specify what files to not compare during bootstrap.
14517 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14519 hppa*64*-*-hpux*) ;;
14520 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14521 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14525 ac_config_files="$ac_config_files Makefile
"
14527 cat >confcache <<\_ACEOF
14528 # This file is a shell script that caches the results of configure
14529 # tests run on this system so they can be shared between configure
14530 # scripts and configure runs, see configure's option --config-cache.
14531 # It is not useful on other systems. If it contains results you don't
14532 # want to keep, you may remove or edit it.
14534 # config.status only pays attention to the cache file if you give it
14535 # the --recheck option to rerun configure.
14537 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14538 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14539 # following values.
14543 # The following way of writing the cache mishandles newlines in values,
14544 # but we know of no workaround that is simple, portable, and efficient.
14545 # So, we kill variables containing newlines.
14546 # Ultrix sh set writes to stderr and can't be redirected directly,
14547 # and sets the high bit in the cache file unless we assign to the vars.
14549 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14550 eval ac_val=\$$ac_var
14554 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14555 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14558 _ | IFS | as_nl) ;; #(
14559 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14560 *) { eval $ac_var=; unset $ac_var;} ;;
14566 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14567 *${as_nl}ac_space=\ *)
14568 # `set' does not quote correctly, so add quotes: double-quote
14569 # substitution turns \\\\ into \\, and sed turns \\ into \.
14572 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14575 # `set' quotes correctly as required by POSIX, so do not add quotes.
14576 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14585 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14587 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14589 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14590 if test -w "$cache_file"; then
14591 test "x
$cache_file" != "x
/dev
/null
" &&
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14593 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14594 cat confcache >$cache_file
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14597 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14602 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14603 # Let make expand exec_prefix.
14604 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14606 # Transform confdefs.h into DEFS.
14607 # Protect against shell expansion while executing Makefile rules.
14608 # Protect against Makefile macro expansion.
14610 # If the first sed substitution is executed (which looks for macros that
14611 # take arguments), then branch to the quote section. Otherwise,
14612 # look for a macro that doesn't take arguments.
14622 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14624 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14628 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14641 DEFS=`sed -n "$ac_script" confdefs.h`
14646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14647 # 1. Remove the extension, and $U if already installed.
14648 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14649 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14650 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14651 # will be set to the directory where LIBOBJS objects are built.
14652 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14653 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14655 LIBOBJS=$ac_libobjs
14657 LTLIBOBJS=$ac_ltlibobjs
14661 : ${CONFIG_STATUS=./config.status}
14663 ac_clean_files_save=$ac_clean_files
14664 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14665 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14666 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14668 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14670 # Generated by $as_me.
14671 # Run this file to recreate the current configuration.
14672 # Compiler output produced by configure, useful for debugging
14673 # configure, is in config.log if it exists.
14676 ac_cs_recheck=false
14679 SHELL=\${CONFIG_SHELL-$SHELL}
14682 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14683 ## -------------------- ##
14684 ## M4sh Initialization. ##
14685 ## -------------------- ##
14687 # Be more Bourne compatible
14688 DUALCASE=1; export DUALCASE # for MKS sh
14689 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14692 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14693 # is contrary to our usage. Disable this feature.
14694 alias -g '${1+"$@"}'='"$@"'
14695 setopt NO_GLOB_SUBST
14697 case `(set -o) 2>/dev/null` in #(
14709 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14710 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14711 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14712 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14713 # Prefer a ksh shell builtin over an external printf program on Solaris,
14714 # but without wasting forks for bash or zsh.
14715 if test -z "$BASH_VERSION$ZSH_VERSION" \
14716 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14717 as_echo
='print -r --'
14718 as_echo_n
='print -rn --'
14719 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14720 as_echo
='printf %s\n'
14721 as_echo_n
='printf %s'
14723 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14724 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14725 as_echo_n
='/usr/ucb/echo -n'
14727 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14728 as_echo_n_body
='eval
14732 expr "X$arg" : "X\\(.*\\)$as_nl";
14733 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14735 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14737 export as_echo_n_body
14738 as_echo_n
='sh -c $as_echo_n_body as_echo'
14740 export as_echo_body
14741 as_echo
='sh -c $as_echo_body as_echo'
14744 # The user is always right.
14745 if test "${PATH_SEPARATOR+set}" != set; then
14747 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14748 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14755 # We need space, tab and new line, in precisely that order. Quoting is
14756 # there to prevent editors from complaining about space-tab.
14757 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14758 # splitting by setting IFS to empty value.)
14761 # Find who we are. Look in the path if we contain no directory separator.
14763 *[\\/]* ) as_myself
=$0 ;;
14764 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14765 for as_dir
in $PATH
14768 test -z "$as_dir" && as_dir
=.
14769 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14775 # We did not find ourselves, most probably we were run as `sh COMMAND'
14776 # in which case we are not to be found in the path.
14777 if test "x$as_myself" = x
; then
14780 if test ! -f "$as_myself"; then
14781 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14785 # Unset variables that we do not need and which cause bugs (e.g. in
14786 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14787 # suppresses any "Segmentation fault" message there. '((' could
14788 # trigger a bug in pdksh 5.2.14.
14789 for as_var
in BASH_ENV ENV MAIL MAILPATH
14790 do eval test x\
${$as_var+set} = xset \
14791 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14804 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14807 # as_fn_error ERROR [LINENO LOG_FD]
14808 # ---------------------------------
14809 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14810 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14811 # script with status $?, using 1 if that was 0.
14814 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14816 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14817 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14819 $as_echo "$as_me: error: $1" >&2
14820 as_fn_exit
$as_status
14824 # as_fn_set_status STATUS
14825 # -----------------------
14826 # Set $? to STATUS, without forking.
14827 as_fn_set_status
()
14830 } # as_fn_set_status
14832 # as_fn_exit STATUS
14833 # -----------------
14834 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14838 as_fn_set_status
$1
14844 # Portably unset VAR.
14847 { eval $1=; unset $1;}
14849 as_unset
=as_fn_unset
14850 # as_fn_append VAR VALUE
14851 # ----------------------
14852 # Append the text in VALUE to the end of the definition contained in VAR. Take
14853 # advantage of any shell optimizations that allow amortized linear growth over
14854 # repeated appends, instead of the typical quadratic growth present in naive
14856 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14857 eval 'as_fn_append ()
14868 # as_fn_arith ARG...
14869 # ------------------
14870 # Perform arithmetic evaluation on the ARGs, and store the result in the
14871 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14872 # must be portable across $(()) and expr.
14873 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14874 eval 'as_fn_arith ()
14881 as_val
=`expr "$@" || test $? -eq 1`
14886 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14887 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14893 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14894 as_basename
=basename
14899 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14905 as_me
=`$as_basename -- "$0" ||
14906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14907 X"$0" : 'X\(//\)$' \| \
14908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14910 sed '/^.*\/\([^/][^/]*\)\/*$/{
14924 # Avoid depending upon Character Ranges.
14925 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14926 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14927 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14928 as_cr_digits
='0123456789'
14929 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14931 ECHO_C
= ECHO_N
= ECHO_T
=
14932 case `echo -n x` in #(((((
14934 case `echo 'xy\c'` in
14935 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14937 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14944 rm -f conf$$ conf$$.exe conf$$.
file
14945 if test -d conf$$.dir
; then
14946 rm -f conf$$.dir
/conf$$.
file
14949 mkdir conf$$.dir
2>/dev
/null
14951 if (echo >conf$$.
file) 2>/dev
/null
; then
14952 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14954 # ... but there are two gotchas:
14955 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14956 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14957 # In both cases, we have to default to `cp -p'.
14958 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14960 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14968 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14969 rmdir conf$$.dir
2>/dev
/null
14974 # Create "$as_dir" as a directory, including parents if necessary.
14979 -*) as_dir
=.
/$as_dir;;
14981 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14985 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14986 *) as_qdir
=$as_dir;;
14988 as_dirs
="'$as_qdir' $as_dirs"
14989 as_dir
=`$as_dirname -- "$as_dir" ||
14990 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14991 X"$as_dir" : 'X\(//\)[^/]' \| \
14992 X"$as_dir" : 'X\(//\)$' \| \
14993 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14994 $as_echo X"$as_dir" |
14995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14999 /^X\(\/\/\)[^/].*/{
15012 test -d "$as_dir" && break
15014 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15015 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15019 if mkdir
-p .
2>/dev
/null
; then
15020 as_mkdir_p
='mkdir -p "$as_dir"'
15022 test -d .
/-p && rmdir .
/-p
15026 if test -x / >/dev
/null
2>&1; then
15027 as_test_x
='test -x'
15029 if ls -dL / >/dev
/null
2>&1; then
15036 if test -d "$1"; then
15042 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15043 ???[sx]*):;;*)false;;esac;fi
15047 as_executable_p
=$as_test_x
15049 # Sed expression to map a string onto a valid CPP name.
15050 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15052 # Sed expression to map a string onto a valid variable name.
15053 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15057 ## ----------------------------------- ##
15058 ## Main body of $CONFIG_STATUS script. ##
15059 ## ----------------------------------- ##
15061 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15063 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15064 # Save the log message, to keep $0 and so on meaningful, and to
15065 # report actual input values of CONFIG_FILES etc. instead of their
15066 # values after options handling.
15068 This file was extended by $as_me, which was
15069 generated by GNU Autoconf 2.64. Invocation command line was
15071 CONFIG_FILES = $CONFIG_FILES
15072 CONFIG_HEADERS = $CONFIG_HEADERS
15073 CONFIG_LINKS = $CONFIG_LINKS
15074 CONFIG_COMMANDS = $CONFIG_COMMANDS
15077 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15082 case $ac_config_files in *"
15083 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15088 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15089 # Files that config.status was made for.
15090 config_files="$ac_config_files"
15094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15096 \`$as_me' instantiates files and other configuration actions
15097 from templates according to the current configuration. Unless the files
15098 and actions are specified as TAGs, all are instantiated by default.
15100 Usage: $0 [OPTION]... [TAG]...
15102 -h, --help print this help, then exit
15103 -V, --version print version number and configuration settings, then exit
15104 -q, --quiet, --silent
15105 do not print progress messages
15106 -d, --debug don't remove temporary files
15107 --recheck update $as_me by reconfiguring in the same conditions
15108 --file=FILE[:TEMPLATE]
15109 instantiate the configuration file FILE
15111 Configuration files:
15114 Report bugs to the package provider."
15117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15120 configured by $0, generated by GNU Autoconf 2.64,
15121 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15123 Copyright (C) 2009 Free Software Foundation, Inc.
15124 This config.status script is free software; the Free Software Foundation
15125 gives unlimited permission to copy, distribute and modify it."
15131 test -n "\$AWK" || AWK=awk
15134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15135 # The default lists apply if the user does not specify any file.
15141 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15142 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15153 # Handling of the options.
15154 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15156 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15157 $as_echo "$ac_cs_version"; exit ;;
15158 --debug |
--debu |
--deb |
--de |
--d |
-d )
15160 --file |
--fil |
--fi |
--f )
15163 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15165 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15166 ac_need_defaults
=false
;;
15167 --he |
--h |
--help |
--hel |
-h )
15168 $as_echo "$ac_cs_usage"; exit ;;
15169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15170 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15173 # This is an error.
15174 -*) as_fn_error
"unrecognized option: \`$1'
15175 Try \`$0 --help' for more information." ;;
15177 *) as_fn_append ac_config_targets
" $1"
15178 ac_need_defaults
=false
;;
15184 ac_configure_extra_args
=
15186 if $ac_cs_silent; then
15188 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15193 if \$ac_cs_recheck; then
15194 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15196 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15197 CONFIG_SHELL='$SHELL'
15198 export CONFIG_SHELL
15203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15207 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15208 ## Running $as_me. ##
15214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15218 extrasub_build="$extrasub_build"
15219 extrasub_host="$extrasub_host"
15220 extrasub_target="$extrasub_target"
15224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15226 # Handling of arguments.
15227 for ac_config_target
in $ac_config_targets
15229 case $ac_config_target in
15230 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15232 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15237 # If the user did not use the arguments to specify the items to instantiate,
15238 # then the envvar interface is used. Set only those that are not.
15239 # We use the long form for the default assignment because of an extremely
15240 # bizarre bug on SunOS 4.1.3.
15241 if $ac_need_defaults; then
15242 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15245 # Have a temporary directory for convenience. Make it in the build tree
15246 # simply because there is no reason against having it here, and in addition,
15247 # creating and moving files from /tmp can sometimes cause problems.
15248 # Hook for its removal unless debugging.
15249 # Note that there is a small window in which the directory will not be cleaned:
15250 # after its creation but before its name has been assigned to `$tmp'.
15254 trap 'exit_status=$?
15255 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15257 trap 'as_fn_exit 1' 1 2 13 15
15259 # Create a (secure) tmp directory for tmp files.
15262 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15263 test -n "$tmp" && test -d "$tmp"
15266 tmp
=.
/conf$$
-$RANDOM
15267 (umask 077 && mkdir
"$tmp")
15268 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15270 # Set up the scripts for CONFIG_FILES section.
15271 # No need to generate them if there are no CONFIG_FILES.
15272 # This happens for instance with `./config.status config.h'.
15273 if test -n "$CONFIG_FILES"; then
15275 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15276 ac_cs_awk_getline
=:
15277 ac_cs_awk_pipe_init
=
15278 ac_cs_awk_read_file
='
15279 while ((getline aline < (F[key])) > 0)
15282 ac_cs_awk_pipe_fini
=
15284 ac_cs_awk_getline
=false
15285 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15286 ac_cs_awk_read_file
='
15288 print "cat " F[key] " &&"
15289 '$ac_cs_awk_pipe_init
15290 # The final `:' finishes the AND list.
15291 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15293 ac_cr
=`echo X | tr X '\015'`
15294 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15295 # But we know of no other shell where ac_cr would be empty at this
15296 # point, so we can use a bashism as a fallback.
15297 if test "x$ac_cr" = x
; then
15298 eval ac_cr
=\$
\'\\r
\'
15300 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15301 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15304 ac_cs_awk_cr
=$ac_cr
15307 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15310 # Create commands to substitute file output variables.
15312 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15313 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15314 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15317 } >conf$
$files.sh
&&
15318 . .
/conf$
$files.sh ||
15319 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15320 rm -f conf$
$files.sh
15323 echo "cat >conf$$subs.awk <<_ACEOF" &&
15324 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15326 } >conf$$subs.sh ||
15327 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15330 for ac_last_try in false false false false false :; do
15331 . ./conf$$subs.sh ||
15332 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15334 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15335 if test $ac_delim_n = $ac_delim_num; then
15337 elif $ac_last_try; then
15338 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15340 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15343 rm -f conf$$subs.sh
15345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15346 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15350 s/^/S["/; s
/!.
*/"]=/
15360 s/\(.\{148\}\).*/\1/
15362 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15367 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15374 s/\(.\{148\}\).*/\1/
15376 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15380 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15385 ' <conf$$subs.awk | sed '
15390 ' >>$CONFIG_STATUS || ac_write_fail=1
15391 rm -f conf$$subs.awk
15392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15394 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15395 for (key in S) S_is_set[key] = 1
15397 \$ac_cs_awk_pipe_init
15401 nfields = split(line, field, "@
")
15403 len = length(field[1])
15404 for (i = 2; i < nfields; i++) {
15406 keylen = length(key)
15407 if (S_is_set[key]) {
15409 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15410 len += length(value) + length(field[++i])
15415 if (nfields == 3 && !substed) {
15417 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15418 \$ac_cs_awk_read_file
15424 \$ac_cs_awk_pipe_fini
15427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15428 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15429 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15432 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15433 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15436 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15437 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15438 # trailing colons and then remove the whole line if VPATH becomes empty
15439 # (actually we leave an empty line to preserve line numbers).
15440 if test "x
$srcdir" = x.; then
15441 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15442 s/:*\$(srcdir):*/:/
15443 s/:*\${srcdir}:*/:/
15445 s/^\([^=]*=[ ]*\):*/\1/
15451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15452 fi # test -n "$CONFIG_FILES"
15455 eval set X " :F
$CONFIG_FILES "
15460 :[FHLC]) ac_mode=$ac_tag; continue;;
15462 case $ac_mode$ac_tag in
15464 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15465 :[FH]-) ac_tag=-:-;;
15466 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15483 -) ac_f="$tmp/stdin";;
15484 *) # Look for the file first in the build tree, then in the source tree
15485 # (if the path is not absolute). The absolute path cannot be DOS-style,
15486 # because $ac_f cannot contain `:'.
15490 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15492 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15494 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15495 as_fn_append ac_file_inputs " '$ac_f'"
15498 # Let's still pretend it is `configure' which instantiates (i.e., don't
15499 # use $as_me), people would be surprised to read:
15500 # /* config.h. Generated by config.status. */
15501 configure_input='Generated from '`
15502 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15504 if test x"$ac_file" != x-; then
15505 configure_input="$ac_file.
$configure_input"
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15507 $as_echo "$as_me: creating
$ac_file" >&6;}
15509 # Neutralize special characters interpreted by sed in replacement strings.
15510 case $configure_input in #(
15511 *\&* | *\|* | *\\* )
15512 ac_sed_conf_input=`$as_echo "$configure_input" |
15513 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15514 *) ac_sed_conf_input=$configure_input;;
15518 *:-:* | *:-) cat >"$tmp/stdin
" \
15519 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15524 ac_dir=`$as_dirname -- "$ac_file" ||
15525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15526 X"$ac_file" : 'X\(//\)[^/]' \| \
15527 X"$ac_file" : 'X\(//\)$' \| \
15528 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15529 $as_echo X"$ac_file" |
15530 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15534 /^X\(\/\/\)[^/].*/{
15547 as_dir="$ac_dir"; as_fn_mkdir_p
15551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15553 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15554 # A "..
" for each directory in $ac_dir_suffix.
15555 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15556 case $ac_top_builddir_sub in
15557 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15558 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15561 ac_abs_top_builddir=$ac_pwd
15562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15563 # for backward compatibility:
15564 ac_top_builddir=$ac_top_build_prefix
15567 .) # We are building in place.
15569 ac_top_srcdir=$ac_top_builddir_sub
15570 ac_abs_top_srcdir=$ac_pwd ;;
15571 [\\/]* | ?:[\\/]* ) # Absolute name.
15572 ac_srcdir=$srcdir$ac_dir_suffix;
15573 ac_top_srcdir=$srcdir
15574 ac_abs_top_srcdir=$srcdir ;;
15575 *) # Relative name.
15576 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15577 ac_top_srcdir=$ac_top_build_prefix$srcdir
15578 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15590 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15591 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15596 # If the template does not know about datarootdir, expand it.
15597 # FIXME: This hack should be removed a few years after 2.60.
15598 ac_datarootdir_hack=; ac_datarootdir_seen=
15609 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15610 *datarootdir*) ac_datarootdir_seen=yes;;
15611 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15613 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15616 ac_datarootdir_hack='
15617 s&@datadir@&$datadir&g
15618 s&@docdir@&$docdir&g
15619 s&@infodir@&$infodir&g
15620 s&@localedir@&$localedir&g
15621 s&@mandir@&$mandir&g
15622 s&\\\${datarootdir}&$datarootdir&g' ;;
15626 # Neutralize VPATH when `$srcdir' = `.'.
15627 # Shell code in configure.ac might set extrasub.
15628 # FIXME: do we really want to maintain this feature?
15629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15630 ac_sed_extra="$ac_vpsub
15633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15635 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15636 s|@configure_input@|
$ac_sed_conf_input|
;t t
15637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15638 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15639 s
&@srcdir@
&$ac_srcdir&;t t
15640 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15641 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15642 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15643 s
&@builddir@
&$ac_builddir&;t t
15644 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15645 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15646 s
&@INSTALL@
&$ac_INSTALL&;t t
15647 $ac_datarootdir_hack
15649 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15650 if $ac_cs_awk_getline; then
15651 $AWK -f "$tmp/subs.
awk"
15653 $AWK -f "$tmp/subs.
awk" | $SHELL
15655 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15657 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15658 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15659 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15661 which seems to be undefined. Please make sure it is defined." >&5
15662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15663 which seems to be undefined. Please make sure it is defined." >&2;}
15667 -) cat "$tmp/out" && rm -f "$tmp/out";;
15668 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15670 || as_fn_error "could not create $ac_file" "$LINENO" 5
15678 case $ac_file$ac_mode in
15679 "Makefile":F) sed "$extrasub_build" Makefile |
15680 sed "$extrasub_host" |
15681 sed "$extrasub_target" > mf$$
15682 mv -f mf$$ Makefile ;;
15690 ac_clean_files=$ac_clean_files_save
15692 test $ac_write_fail = 0 ||
15693 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15696 # configure is writing to config.log, and then calls config.status.
15697 # config.status does its own redirection, appending to config.log.
15698 # Unfortunately, on DOS this fails, as config.log is still kept open
15699 # by configure, so config.status won't be able to
write to it
; its
15700 # output is simply discarded. So we exec the FD to /dev/null,
15701 # effectively closing config.log, so it can be properly (re)opened and
15702 # appended to by config.status. When coming back to configure, we
15703 # need to make the FD available again.
15704 if test "$no_create" != yes; then
15706 ac_config_status_args
=
15707 test "$silent" = yes &&
15708 ac_config_status_args
="$ac_config_status_args --quiet"
15710 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15712 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15713 # would make configure fail if this is the last instruction.
15714 $ac_cs_success || as_fn_exit $?
15716 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15718 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}