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
654 extra_isl_gmp_configure_flags
655 extra_mpc_mpfr_configure_flags
656 extra_mpc_gmp_configure_flags
657 extra_mpfr_configure_flags
673 EXTRA_CONFIGARGS_LIBJAVA
700 TOPLEVEL_CONFIGURE_ARGUMENTS
728 program_transform_name
739 ac_subst_files
='serialization_dependencies
745 enable_option_checking
750 enable_libquadmath_support
754 enable_static_libjava
776 enable_isl_version_check
779 enable_cloog_version_check
781 enable_stage1_languages
784 with_debug_prefix_map
787 enable_serial_configure
788 with_build_time_tools
789 enable_maintainer_mode
790 enable_stage1_checking
794 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
913 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
916 -build |
--build |
--buil |
--bui |
--bu)
917 ac_prev
=build_alias
;;
918 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
919 build_alias
=$ac_optarg ;;
921 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
922 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
923 ac_prev
=cache_file
;;
924 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
925 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
926 cache_file
=$ac_optarg ;;
929 cache_file
=config.cache
;;
931 -datadir |
--datadir |
--datadi |
--datad)
933 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
934 datadir
=$ac_optarg ;;
936 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
937 |
--dataroo |
--dataro |
--datar)
938 ac_prev
=datarootdir
;;
939 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
940 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
941 datarootdir
=$ac_optarg ;;
943 -disable-* |
--disable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 as_fn_error
"invalid feature name: $ac_useropt"
948 ac_useropt_orig
=$ac_useropt
949 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955 ac_unrecognized_sep
=', ';;
957 eval enable_
$ac_useropt=no
;;
959 -docdir |
--docdir |
--docdi |
--doc |
--do)
961 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
964 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
966 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
969 -enable-* |
--enable-*)
970 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
973 as_fn_error
"invalid feature name: $ac_useropt"
974 ac_useropt_orig
=$ac_useropt
975 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
981 ac_unrecognized_sep
=', ';;
983 eval enable_
$ac_useropt=\
$ac_optarg ;;
985 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
986 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
987 |
--exec |
--exe |
--ex)
988 ac_prev
=exec_prefix
;;
989 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
990 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
991 |
--exec=* |
--exe=* |
--ex=*)
992 exec_prefix
=$ac_optarg ;;
994 -gas |
--gas |
--ga |
--g)
995 # Obsolete; use --with-gas.
998 -help |
--help |
--hel |
--he |
-h)
1000 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1001 ac_init_help
=recursive
;;
1002 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1003 ac_init_help
=short
;;
1005 -host |
--host |
--hos |
--ho)
1006 ac_prev
=host_alias
;;
1007 -host=* |
--host=* |
--hos=* |
--ho=*)
1008 host_alias
=$ac_optarg ;;
1010 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1012 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1014 htmldir
=$ac_optarg ;;
1016 -includedir |
--includedir |
--includedi |
--included |
--include \
1017 |
--includ |
--inclu |
--incl |
--inc)
1018 ac_prev
=includedir
;;
1019 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1020 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1021 includedir
=$ac_optarg ;;
1023 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1025 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1026 infodir
=$ac_optarg ;;
1028 -libdir |
--libdir |
--libdi |
--libd)
1030 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1031 libdir
=$ac_optarg ;;
1033 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1034 |
--libexe |
--libex |
--libe)
1035 ac_prev
=libexecdir
;;
1036 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1037 |
--libexe=* |
--libex=* |
--libe=*)
1038 libexecdir
=$ac_optarg ;;
1040 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1041 ac_prev
=localedir
;;
1042 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1043 localedir
=$ac_optarg ;;
1045 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1046 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1047 ac_prev
=localstatedir
;;
1048 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1049 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1050 localstatedir
=$ac_optarg ;;
1052 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1054 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1055 mandir
=$ac_optarg ;;
1057 -nfp |
--nfp |
--nf)
1058 # Obsolete; use --without-fp.
1061 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1062 |
--no-cr |
--no-c |
-n)
1065 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1066 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1069 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1070 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1071 |
--oldin |
--oldi |
--old |
--ol |
--o)
1072 ac_prev
=oldincludedir
;;
1073 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1074 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1075 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1076 oldincludedir
=$ac_optarg ;;
1078 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1080 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1081 prefix
=$ac_optarg ;;
1083 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1084 |
--program-pre |
--program-pr |
--program-p)
1085 ac_prev
=program_prefix
;;
1086 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1087 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1088 program_prefix
=$ac_optarg ;;
1090 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1091 |
--program-suf |
--program-su |
--program-s)
1092 ac_prev
=program_suffix
;;
1093 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1094 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1095 program_suffix
=$ac_optarg ;;
1097 -program-transform-name |
--program-transform-name \
1098 |
--program-transform-nam |
--program-transform-na \
1099 |
--program-transform-n |
--program-transform- \
1100 |
--program-transform |
--program-transfor \
1101 |
--program-transfo |
--program-transf \
1102 |
--program-trans |
--program-tran \
1103 |
--progr-tra |
--program-tr |
--program-t)
1104 ac_prev
=program_transform_name
;;
1105 -program-transform-name=* |
--program-transform-name=* \
1106 |
--program-transform-nam=* |
--program-transform-na=* \
1107 |
--program-transform-n=* |
--program-transform-=* \
1108 |
--program-transform=* |
--program-transfor=* \
1109 |
--program-transfo=* |
--program-transf=* \
1110 |
--program-trans=* |
--program-tran=* \
1111 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1112 program_transform_name
=$ac_optarg ;;
1114 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1116 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1117 pdfdir
=$ac_optarg ;;
1119 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1121 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1124 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1125 |
-silent |
--silent |
--silen |
--sile |
--sil)
1128 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1130 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1132 sbindir
=$ac_optarg ;;
1134 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1135 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1136 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1138 ac_prev
=sharedstatedir
;;
1139 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1140 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1141 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1143 sharedstatedir
=$ac_optarg ;;
1145 -site |
--site |
--sit)
1147 -site=* |
--site=* |
--sit=*)
1150 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1152 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1153 srcdir
=$ac_optarg ;;
1155 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1156 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1157 ac_prev
=sysconfdir
;;
1158 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1159 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1160 sysconfdir
=$ac_optarg ;;
1162 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1163 ac_prev
=target_alias
;;
1164 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1165 target_alias
=$ac_optarg ;;
1167 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1170 -version |
--version |
--versio |
--versi |
--vers |
-V)
1171 ac_init_version
=: ;;
1174 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1177 as_fn_error
"invalid package name: $ac_useropt"
1178 ac_useropt_orig
=$ac_useropt
1179 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1185 ac_unrecognized_sep
=', ';;
1187 eval with_
$ac_useropt=\
$ac_optarg ;;
1189 -without-* |
--without-*)
1190 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1193 as_fn_error
"invalid package name: $ac_useropt"
1194 ac_useropt_orig
=$ac_useropt
1195 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1201 ac_unrecognized_sep
=', ';;
1203 eval with_
$ac_useropt=no
;;
1206 # Obsolete; use --with-x.
1209 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1210 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1211 ac_prev
=x_includes
;;
1212 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1213 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1214 x_includes
=$ac_optarg ;;
1216 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1217 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1218 ac_prev
=x_libraries
;;
1219 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1220 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1221 x_libraries
=$ac_optarg ;;
1223 -*) as_fn_error
"unrecognized option: \`$ac_option'
1224 Try \`$0 --help' for more information."
1228 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 case $ac_envvar in #(
1231 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1232 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1234 eval $ac_envvar=\
$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1241 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1248 if test -n "$ac_prev"; then
1249 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1250 as_fn_error
"missing argument to $ac_option"
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1256 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1257 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 # Check all directory arguments for consistency.
1262 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir
1267 eval ac_val
=\$
$ac_var
1268 # Remove trailing slashes.
1271 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1272 eval $ac_var=\
$ac_val;;
1274 # Be sure to have absolute directory names.
1276 [\\/$
]* | ?
:[\\/]* ) continue;;
1277 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1279 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1282 # There might be people who depend on the old broken behavior: `$host'
1283 # used to hold the argument of --host etc.
1284 # FIXME: To remove some day.
1287 target
=$target_alias
1289 # FIXME: To remove some day.
1290 if test "x$host_alias" != x
; then
1291 if test "x$build_alias" = x
; then
1292 cross_compiling
=maybe
1293 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1294 If a cross compiler is detected then cross compile mode will be used." >&2
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1303 test "$silent" = yes && exec 6>/dev
/null
1306 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di
=`ls -di .` &&
1308 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error
"working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error
"pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted
=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir
=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted
=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1350 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 as_fn_error
"path to source, $srcdir, contains spaces"
1371 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1373 for ac_var
in $ac_precious_vars; do
1374 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1375 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1376 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1377 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1381 # Report the --help message.
1383 if test "$ac_init_help" = "long"; then
1384 # Omit some internal or obsolete options to make the list less imposing.
1385 # This message is too long to be a string in the A/UX 3.1 sh.
1387 \`configure' configures this package to adapt to many kinds of systems.
1389 Usage: $0 [OPTION]... [VAR=VALUE]...
1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392 VAR=VALUE. See below for descriptions of some of the useful variables.
1394 Defaults for the options are specified in brackets.
1397 -h, --help display this help and exit
1398 --help=short display options specific to this package
1399 --help=recursive display the short help of all the included packages
1400 -V, --version display version information and exit
1401 -q, --quiet, --silent do not print \`checking...' messages
1402 --cache-file=FILE cache test results in FILE [disabled]
1403 -C, --config-cache alias for \`--cache-file=config.cache'
1404 -n, --no-create do not create output files
1405 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1407 Installation directories:
1408 --prefix=PREFIX install architecture-independent files in PREFIX
1409 [$ac_default_prefix]
1410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1413 By default, \`make install' will install all the files in
1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416 for instance \`--prefix=\$HOME'.
1418 For better control, use the options below.
1420 Fine tuning of the installation directories:
1421 --bindir=DIR user executables [EPREFIX/bin]
1422 --sbindir=DIR system admin executables [EPREFIX/sbin]
1423 --libexecdir=DIR program executables [EPREFIX/libexec]
1424 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1425 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1426 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1427 --libdir=DIR object code libraries [EPREFIX/lib]
1428 --includedir=DIR C header files [PREFIX/include]
1429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1432 --infodir=DIR info documentation [DATAROOTDIR/info]
1433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1434 --mandir=DIR man documentation [DATAROOTDIR/man]
1435 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1436 --htmldir=DIR html documentation [DOCDIR]
1437 --dvidir=DIR dvi documentation [DOCDIR]
1438 --pdfdir=DIR pdf documentation [DOCDIR]
1439 --psdir=DIR ps documentation [DOCDIR]
1445 --program-prefix=PREFIX prepend PREFIX to installed program names
1446 --program-suffix=SUFFIX append SUFFIX to installed program names
1447 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1450 --build=BUILD configure
for building on BUILD
[guessed
]
1451 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1452 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1456 if test -n "$ac_init_help"; then
1461 --disable-option-checking ignore unrecognized
--enable/--with options
1462 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1463 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1464 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1465 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1466 --disable-libquadmath do not build libquadmath directory
1467 --disable-libquadmath-support
1468 disable libquadmath support
for Fortran
1469 --enable-libada build libada directory
1470 --enable-libssp build libssp directory
1471 --disable-libstdcxx do not build libstdc
++-v3 directory
1472 --enable-static-libjava[=ARG
]
1473 build static libjava
[default
=no
]
1474 --enable-bootstrap enable bootstrapping
[yes if native build
]
1475 --disable-isl-version-check
1476 disable check
for ISL version
1477 --disable-cloog-version-check
1478 disable check
for CLooG version
1479 --enable-lto enable link
time optimization support
1480 --enable-stage1-languages[=all
]
1481 choose additional languages to build during stage1.
1482 Mostly useful
for compiler development
1483 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1485 --enable-vtable-verify Enable vtable verification feature
1486 --enable-serial-[{host,target,build}-]configure
1487 force sequential configuration of sub-packages for
1488 the host, target or build machine, or all
1490 --enable-maintainer-mode
1491 enable make rules and dependencies not useful (and
1492 sometimes confusing) to the casual installer
1493 --enable-stage1-checking[=all]
1494 choose additional checking for stage1 of the
1496 --enable-werror enable -Werror in bootstrap stage2 and later
1497 --enable-host-shared build host code as shared libraries
1500 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1501 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1502 --with-build-libsubdir=DIR Directory where to find libraries for build system
1503 --with-mpc=PATH specify prefix directory for installed MPC package.
1504 Equivalent to --with-mpc-include=PATH/include plus
1505 --with-mpc-lib=PATH/lib
1506 --with-mpc-include=PATH specify directory for installed MPC include files
1507 --with-mpc-lib=PATH specify directory for the installed MPC library
1508 --with-mpfr-dir=PATH this option has been REMOVED
1509 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1510 Equivalent to --with-mpfr-include=PATH/include plus
1511 --with-mpfr-lib=PATH/lib
1512 --with-mpfr-include=PATH
1513 specify directory for installed MPFR include files
1514 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1515 --with-gmp-dir=PATH this option has been REMOVED
1516 --with-gmp=PATH specify prefix directory for the installed GMP
1517 package. Equivalent to
1518 --with-gmp-include=PATH/include plus
1519 --with-gmp-lib=PATH/lib
1520 --with-gmp-include=PATH specify directory for installed GMP include files
1521 --with-gmp-lib=PATH specify directory for the installed GMP library
1522 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1524 --with-stage1-libs=LIBS libraries for stage1
1525 --with-stage1-ldflags=FLAGS
1526 linker flags for stage1
1527 --with-boot-libs=LIBS libraries for stage2 and later
1528 --with-boot-ldflags=FLAGS
1529 linker flags for stage2 and later
1530 --with-cloog=PATH Specify prefix directory for the installed CLooG-ISL
1531 package. Equivalent to
1532 --with-cloog-include=PATH/include plus
1533 --with-cloog-lib=PATH/lib
1534 --with-isl=PATH Specify prefix directory for the installed ISL
1535 package. Equivalent to
1536 --with-isl-include=PATH/include plus
1537 --with-isl-lib=PATH/lib
1538 --with-isl-include=PATH Specify directory for installed ISL include files
1539 --with-isl-lib=PATH Specify the directory for the installed ISL library
1540 --with-cloog-include=PATH
1541 Specify directory for installed CLooG include files
1542 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1544 --with-build-sysroot=SYSROOT
1545 use sysroot as the system root during the build
1546 --with-debug-prefix-map='A
=B C
=D ...
'
1547 map A to B, C to D ... in debug information
1548 --with-build-config='NAME NAME2...
'
1549 use config/NAME.mk build configuration
1550 --with-build-time-tools=PATH
1551 use given path to find target tools during the build
1553 Some influential environment variables:
1554 CC C compiler command
1555 CFLAGS C compiler flags
1556 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1557 nonstandard directory <lib dir>
1558 LIBS libraries to pass to the linker, e.g. -l<library>
1559 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1560 you have headers in a nonstandard directory <include dir>
1561 CXX C++ compiler command
1562 CXXFLAGS C++ compiler flags
1564 additional configure arguments for build directories
1566 additional configure arguments for host directories
1568 additional configure arguments for target directories
1571 DLLTOOL DLLTOOL for the host
1573 LIPO LIPO for the host
1575 RANLIB RANLIB for the host
1576 STRIP STRIP for the host
1577 WINDRES WINDRES for the host
1578 WINDMC WINDMC for the host
1579 OBJCOPY OBJCOPY for the host
1580 OBJDUMP OBJDUMP for the host
1581 READELF READELF for the host
1591 GFORTRAN for the target
1599 DLLTOOL for the target
1607 OBJDUMP for the target
1609 RANLIB for the target
1611 READELF for the target
1613 STRIP for the target
1615 WINDRES for the target
1617 WINDMC for the target
1619 Use these variables to override the choices made by `configure' or to
help
1620 it to
find libraries and programs with nonstandard names
/locations.
1622 Report bugs to the package provider.
1627 if test "$ac_init_help" = "recursive"; then
1628 # If there are subdirs, report their specific --help.
1629 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1630 test -d "$ac_dir" ||
1631 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1636 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1638 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1639 # A ".." for each directory in $ac_dir_suffix.
1640 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1641 case $ac_top_builddir_sub in
1642 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1643 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1646 ac_abs_top_builddir
=$ac_pwd
1647 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1648 # for backward compatibility:
1649 ac_top_builddir
=$ac_top_build_prefix
1652 .
) # We are building in place.
1654 ac_top_srcdir
=$ac_top_builddir_sub
1655 ac_abs_top_srcdir
=$ac_pwd ;;
1656 [\\/]* | ?
:[\\/]* ) # Absolute name.
1657 ac_srcdir
=$srcdir$ac_dir_suffix;
1658 ac_top_srcdir
=$srcdir
1659 ac_abs_top_srcdir
=$srcdir ;;
1661 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1662 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1663 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1665 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1667 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1668 # Check for guested configure.
1669 if test -f "$ac_srcdir/configure.gnu"; then
1671 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1672 elif test -f "$ac_srcdir/configure"; then
1674 $SHELL "$ac_srcdir/configure" --help=recursive
1676 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1678 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1682 test -n "$ac_init_help" && exit $ac_status
1683 if $ac_init_version; then
1686 generated by GNU Autoconf
2.64
1688 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1689 This configure
script is free software
; the Free Software Foundation
1690 gives unlimited permission to copy
, distribute and modify it.
1695 ## ------------------------ ##
1696 ## Autoconf initialization. ##
1697 ## ------------------------ ##
1699 # ac_fn_c_try_compile LINENO
1700 # --------------------------
1701 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1702 ac_fn_c_try_compile
()
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 rm -f conftest.
$ac_objext
1706 if { { ac_try
="$ac_compile"
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_compile") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } && {
1722 test -z "$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1724 } && test -s conftest.$ac_objext; then :
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1735 } # ac_fn_c_try_compile
1737 # ac_fn_cxx_try_compile LINENO
1738 # ----------------------------
1739 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1740 ac_fn_cxx_try_compile ()
1742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1743 rm -f conftest.$ac_objext
1744 if { { ac_try="$ac_compile"
1746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1747 *) ac_try_echo
=$ac_try;;
1749 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750 $as_echo "$ac_try_echo"; } >&5
1751 (eval "$ac_compile") 2>conftest.err
1753 if test -s conftest.err
; then
1754 grep -v '^ *+' conftest.err
>conftest.er1
1755 cat conftest.er1
>&5
1756 mv -f conftest.er1 conftest.err
1758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759 test $ac_status = 0; } && {
1760 test -z "$ac_cxx_werror_flag" ||
1761 test ! -s conftest.err
1762 } && test -s conftest.
$ac_objext; then :
1765 $as_echo "$as_me: failed program was:" >&5
1766 sed 's/^/| /' conftest.
$ac_ext >&5
1770 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1773 } # ac_fn_cxx_try_compile
1775 # ac_fn_cxx_try_link LINENO
1776 # -------------------------
1777 # Try to link conftest.$ac_ext, and return whether this succeeded.
1778 ac_fn_cxx_try_link
()
1780 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1781 rm -f conftest.
$ac_objext conftest
$ac_exeext
1782 if { { ac_try
="$ac_link"
1784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1785 *) ac_try_echo=$ac_try;;
1787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1788 $as_echo "$ac_try_echo"; } >&5
1789 (eval "$ac_link") 2>conftest.err
1791 if test -s conftest.err; then
1792 grep -v '^ *+' conftest.err >conftest.er1
1793 cat conftest.er1 >&5
1794 mv -f conftest.er1 conftest.err
1796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1797 test $ac_status = 0; } && {
1798 test -z "$ac_cxx_werror_flag" ||
1799 test ! -s conftest.err
1800 } && test -s conftest$ac_exeext && {
1801 test "$cross_compiling" = yes ||
1802 $as_test_x conftest$ac_exeext
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1811 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1812 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1813 # interfere with the next link command; also delete a directory that is
1814 # left behind by Apple's compiler. We do this before executing the actions.
1815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1819 } # ac_fn_cxx_try_link
1821 # ac_fn_c_try_link LINENO
1822 # -----------------------
1823 # Try to link conftest.$ac_ext, and return whether this succeeded.
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext conftest$ac_exeext
1828 if { { ac_try="$ac_link"
1830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1831 *) ac_try_echo
=$ac_try;;
1833 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_link") 2>conftest.err
1837 if test -s conftest.err
; then
1838 grep -v '^ *+' conftest.err
>conftest.er1
1839 cat conftest.er1
>&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest
$ac_exeext && {
1847 test "$cross_compiling" = yes ||
1848 $as_test_x conftest
$ac_exeext
1852 $as_echo "$as_me: failed program was:" >&5
1853 sed 's/^/| /' conftest.
$ac_ext >&5
1857 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1858 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1859 # interfere with the next link command; also delete a directory that is
1860 # left behind by Apple's compiler. We do this before executing the actions.
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1865 } # ac_fn_c_try_link
1867 # ac_fn_c_try_run LINENO
1868 # ----------------------
1869 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1870 # that executables *can* be run.
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 if { { ac_try
="$ac_link"
1876 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1877 *) ac_try_echo=$ac_try;;
1879 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1880 $as_echo "$ac_try_echo"; } >&5
1881 (eval "$ac_link") 2>&5
1883 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1884 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1885 { { case "(($ac_try" in
1886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1887 *) ac_try_echo
=$ac_try;;
1889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_try") 2>&5
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; }; }; then :
1897 $as_echo "$as_me: program exited with status $ac_status" >&5
1898 $as_echo "$as_me: failed program was:" >&5
1899 sed 's/^/| /' conftest.
$ac_ext >&5
1901 ac_retval
=$ac_status
1903 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1904 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1908 cat >config.log
<<_ACEOF
1909 This file contains any messages produced by compilers while
1910 running configure, to aid debugging if configure makes a mistake.
1912 It was created by $as_me, which was
1913 generated by GNU Autoconf 2.64. Invocation command line was
1925 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1926 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1927 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1928 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1929 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1931 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1932 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1934 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1935 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1936 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1937 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1938 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1939 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1940 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir
=.
1949 $as_echo "PATH: $as_dir"
1965 # Keep a trace of the command line.
1966 # Strip out --no-create and --no-recursion so they do not pile up.
1967 # Strip out --silent because we don't want to record it for future runs.
1968 # Also quote any args containing shell meta-characters.
1969 # Make two passes to allow for proper duplicate-argument suppression.
1973 ac_must_keep_next
=false
1979 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1980 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1981 |
-silent |
--silent |
--silen |
--sile |
--sil)
1984 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1987 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1989 as_fn_append ac_configure_args1
" '$ac_arg'"
1990 if test $ac_must_keep_next = true
; then
1991 ac_must_keep_next
=false
# Got value, back to normal.
1994 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1995 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1996 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1997 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1998 case "$ac_configure_args0 " in
1999 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2002 -* ) ac_must_keep_next
=true
;;
2005 as_fn_append ac_configure_args
" '$ac_arg'"
2010 { ac_configure_args0
=; unset ac_configure_args0
;}
2011 { ac_configure_args1
=; unset ac_configure_args1
;}
2013 # When interrupted or exit'd, cleanup temporary files, and complete
2014 # config.log. We remove comments because anyway the quotes in there
2015 # would cause problems or look ugly.
2016 # WARNING: Use '\'' to represent an apostrophe within the trap.
2017 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2018 trap 'exit_status=$?
2019 # Save into config.log some information that might help in debugging.
2024 ## ---------------- ##
2025 ## Cache variables. ##
2026 ## ---------------- ##
2029 # The following way of writing the cache mishandles newlines in values,
2031 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2032 eval ac_val=\$$ac_var
2036 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2040 _ | IFS | as_nl) ;; #(
2041 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2042 *) { eval $ac_var=; unset $ac_var;} ;;
2047 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2048 *${as_nl}ac_space=\ *)
2050 "s/'\''/'\''\\\\'\'''\''/g;
2051 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2054 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2062 ## ----------------- ##
2063 ## Output variables. ##
2064 ## ----------------- ##
2067 for ac_var in $ac_subst_vars
2069 eval ac_val=\$$ac_var
2071 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2073 $as_echo "$ac_var='\''$ac_val'\''"
2077 if test -n "$ac_subst_files"; then
2079 ## ------------------- ##
2080 ## File substitutions. ##
2081 ## ------------------- ##
2084 for ac_var
in $ac_subst_files
2086 eval ac_val
=\$
$ac_var
2088 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2090 $as_echo "$ac_var='\''$ac_val'\''"
2095 if test -s confdefs.h; then
2105 test "$ac_signal" != 0 &&
2106 $as_echo "$as_me: caught signal $ac_signal"
2107 $as_echo "$as_me: exit $exit_status"
2109 rm -f core *.core core.conftest.* &&
2110 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2113 for ac_signal
in 1 2 13 15; do
2114 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2118 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2119 rm -f -r conftest
* confdefs.h
2121 $as_echo "/* confdefs.h */" > confdefs.h
2123 # Predefined preprocessor variables.
2125 cat >>confdefs.h
<<_ACEOF
2126 #define PACKAGE_NAME "$PACKAGE_NAME"
2129 cat >>confdefs.h
<<_ACEOF
2130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2133 cat >>confdefs.h
<<_ACEOF
2134 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define PACKAGE_STRING "$PACKAGE_STRING"
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_URL "$PACKAGE_URL"
2150 # Let the site file select an alternate cache file if it wants to.
2151 # Prefer an explicitly selected file to automatically selected ones.
2154 if test -n "$CONFIG_SITE"; then
2155 ac_site_file1
=$CONFIG_SITE
2156 elif test "x$prefix" != xNONE
; then
2157 ac_site_file1
=$prefix/share
/config.site
2158 ac_site_file2
=$prefix/etc
/config.site
2160 ac_site_file1
=$ac_default_prefix/share
/config.site
2161 ac_site_file2
=$ac_default_prefix/etc
/config.site
2163 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2165 test "x$ac_site_file" = xNONE
&& continue
2166 if test -r "$ac_site_file"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2168 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2169 sed 's/^/| /' "$ac_site_file" >&5
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special
2176 # files actually), so we avoid doing that.
2177 if test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2181 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2182 *) .
"./$cache_file";;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2191 # Check that the precious variables saved in the cache have kept the same
2193 ac_cache_corrupted
=false
2194 for ac_var
in $ac_precious_vars; do
2195 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2196 eval ac_new_set
=\
$ac_env_${ac_var}_set
2197 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2198 eval ac_new_val
=\
$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted
=: ;;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted
=: ;;
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w
=`echo x $ac_old_val`
2213 ac_new_val_w
=`echo x $ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2217 ac_cache_corrupted
=:
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\
$ac_old_val
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2232 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 *) ac_arg
=$ac_var=$ac_new_val ;;
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2253 ac_cpp
='$CPP $CPPFLAGS'
2254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2267 # if PWD already has a value, it is probably wrong.
2268 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2270 # Export original configure arguments for use by sub-configures.
2271 # Quote arguments with shell meta charatcers.
2272 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2273 set -- "$progname" "$@"
2277 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2278 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2279 # if the argument is of the form -foo=baz, quote the baz part only
2280 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2283 # Add the quoted argument to the list.
2284 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2286 if test "$silent" = yes; then
2287 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2289 # Remove the initial space we just introduced and, as these will be
2290 # expanded by make, quote '$'.
2291 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2294 # Find the build, host, and target systems.
2296 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2297 for ac_t
in install-sh
install.sh shtool
; do
2298 if test -f "$ac_dir/$ac_t"; then
2300 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2305 if test -z "$ac_aux_dir"; then
2306 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2309 # These three variables are undocumented and unsupported,
2310 # and are intended to be withdrawn in a future Autoconf release.
2311 # They can cause serious problems if a builder's source tree is in a directory
2312 # whose full name contains unusual characters.
2313 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2314 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2315 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2318 # Make sure we can run config.sub.
2319 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2320 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2323 $as_echo_n "checking build system type... " >&6; }
2324 if test "${ac_cv_build+set}" = set; then :
2325 $as_echo_n "(cached) " >&6
2327 ac_build_alias
=$build_alias
2328 test "x$ac_build_alias" = x
&&
2329 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2330 test "x$ac_build_alias" = x
&&
2331 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2332 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2333 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2337 $as_echo "$ac_cv_build" >&6; }
2338 case $ac_cv_build in
2340 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2343 ac_save_IFS
=$IFS; IFS
='-'
2349 # Remember, the first character of IFS is used to create $*,
2350 # except with old shells:
2353 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2356 case ${build_alias} in
2357 "") build_noncanonical
=${build} ;;
2358 *) build_noncanonical
=${build_alias} ;;
2363 case ${host_alias} in
2364 "") host_noncanonical
=${build_noncanonical} ;;
2365 *) host_noncanonical
=${host_alias} ;;
2370 case ${target_alias} in
2371 "") target_noncanonical
=${host_noncanonical} ;;
2372 *) target_noncanonical
=${target_alias} ;;
2378 test "$host_noncanonical" = "$target_noncanonical" &&
2379 test "$program_prefix$program_suffix$program_transform_name" = \
2381 program_transform_name
=s
,y
,y
,
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2384 $as_echo_n "checking host system type... " >&6; }
2385 if test "${ac_cv_host+set}" = set; then :
2386 $as_echo_n "(cached) " >&6
2388 if test "x$host_alias" = x
; then
2389 ac_cv_host
=$ac_cv_build
2391 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2392 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2397 $as_echo "$ac_cv_host" >&6; }
2400 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2403 ac_save_IFS
=$IFS; IFS
='-'
2409 # Remember, the first character of IFS is used to create $*,
2410 # except with old shells:
2413 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2417 $as_echo_n "checking target system type... " >&6; }
2418 if test "${ac_cv_target+set}" = set; then :
2419 $as_echo_n "(cached) " >&6
2421 if test "x$target_alias" = x
; then
2422 ac_cv_target
=$ac_cv_host
2424 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2425 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2430 $as_echo "$ac_cv_target" >&6; }
2431 case $ac_cv_target in
2433 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2435 target
=$ac_cv_target
2436 ac_save_IFS
=$IFS; IFS
='-'
2442 # Remember, the first character of IFS is used to create $*,
2443 # except with old shells:
2446 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2449 # The aliases save the names the user supplied, while $host etc.
2450 # will get canonicalized.
2451 test -n "$target_alias" &&
2452 test "$program_prefix$program_suffix$program_transform_name" = \
2454 program_prefix
=${target_alias}-
2456 test "$program_prefix" != NONE
&&
2457 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2458 # Use a double $ so make ignores it.
2459 test "$program_suffix" != NONE
&&
2460 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2461 # Double any \ or $.
2462 # By default was `s,x,x', remove it if useless.
2463 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2464 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2468 # Get 'install' or 'install-sh' and its variants.
2469 # Find a good install program. We prefer a C program (faster),
2470 # so one script is as good as another. But avoid the broken or
2471 # incompatible versions:
2472 # SysV /etc/install, /usr/sbin/install
2473 # SunOS /usr/etc/install
2474 # IRIX /sbin/install
2476 # AmigaOS /C/install, which installs bootblocks on floppy discs
2477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2480 # OS/2's system install, which has a completely different semantic
2481 # ./install, which can be erroneously created by make from ./install.sh.
2482 # Reject install programs that cannot install multiple files.
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2484 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2485 if test -z "$INSTALL"; then
2486 if test "${ac_cv_path_install+set}" = set; then :
2487 $as_echo_n "(cached) " >&6
2489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir
=.
2494 # Account for people who put trailing slashes in PATH elements.
2495 case $as_dir/ in #((
2496 .
/ | .
// |
/[cC
]/* | \
2497 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2498 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2501 # OSF1 and SCO ODT 3.0 have their own names for install.
2502 # Don't use installbsd from OSF since it installs stuff as root
2504 for ac_prog
in ginstall scoinst
install; do
2505 for ac_exec_ext
in '' $ac_executable_extensions; do
2506 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2507 if test $ac_prog = install &&
2508 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2509 # AIX install. It has an incompatible calling convention.
2511 elif test $ac_prog = install &&
2512 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2513 # program-specific install script used by HP pwplus--don't use.
2516 rm -rf conftest.one conftest.two conftest.dir
2517 echo one
> conftest.one
2518 echo two
> conftest.two
2520 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2521 test -s conftest.one
&& test -s conftest.two
&&
2522 test -s conftest.dir
/conftest.one
&&
2523 test -s conftest.dir
/conftest.two
2525 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2538 rm -rf conftest.one conftest.two conftest.dir
2541 if test "${ac_cv_path_install+set}" = set; then
2542 INSTALL
=$ac_cv_path_install
2544 # As a last resort, use the slow shell script. Don't cache a
2545 # value for INSTALL within a source directory, because that will
2546 # break other packages using the cache if that directory is
2547 # removed, or if the value is a relative name.
2548 INSTALL
=$ac_install_sh
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2552 $as_echo "$INSTALL" >&6; }
2554 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2555 # It thinks the first close brace ends the variable substitution.
2556 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2558 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2560 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2563 $as_echo_n "checking whether ln works... " >&6; }
2564 if test "${acx_cv_prog_LN+set}" = set; then :
2565 $as_echo_n "(cached) " >&6
2567 rm -f conftestdata_t
2568 echo >conftestdata_f
2569 if ln conftestdata_f conftestdata_t
2>/dev
/null
2575 rm -f conftestdata_f conftestdata_t
2578 if test $acx_cv_prog_LN = no
; then
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2581 $as_echo "no, using $LN" >&6; }
2583 LN
="$acx_cv_prog_LN"
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2585 $as_echo "yes" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2589 $as_echo_n "checking whether ln -s works... " >&6; }
2591 if test "$LN_S" = "ln -s"; then
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2593 $as_echo "yes" >&6; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2596 $as_echo "no, using $LN_S" >&6; }
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2600 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2601 if test "${ac_cv_path_SED+set}" = set; then :
2602 $as_echo_n "(cached) " >&6
2604 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2605 for ac_i
in 1 2 3 4 5 6 7; do
2606 ac_script
="$ac_script$as_nl$ac_script"
2608 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2609 { ac_script
=; unset ac_script
;}
2610 if test -z "$SED"; then
2611 ac_path_SED_found
=false
2612 # Loop through the user's path and test for each of PROGNAME-LIST
2613 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2617 test -z "$as_dir" && as_dir
=.
2618 for ac_prog
in sed gsed
; do
2619 for ac_exec_ext
in '' $ac_executable_extensions; do
2620 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2621 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2622 # Check for GNU ac_path_SED and select it if it is found.
2623 # Check for GNU $ac_path_SED
2624 case `"$ac_path_SED" --version 2>&1` in
2626 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2629 $as_echo_n 0123456789 >"conftest.in"
2632 cat "conftest.in" "conftest.in" >"conftest.tmp"
2633 mv "conftest.tmp" "conftest.in"
2634 cp "conftest.in" "conftest.nl"
2635 $as_echo '' >> "conftest.nl"
2636 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2637 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2638 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2639 if test $ac_count -gt ${ac_path_SED_max-0}; then
2640 # Best one so far, save it but keep looking for a better one
2641 ac_cv_path_SED
="$ac_path_SED"
2642 ac_path_SED_max
=$ac_count
2644 # 10*(2^10) chars as input seems more than enough
2645 test $ac_count -gt 10 && break
2647 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2650 $ac_path_SED_found && break 3
2655 if test -z "$ac_cv_path_SED"; then
2656 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2664 $as_echo "$ac_cv_path_SED" >&6; }
2665 SED
="$ac_cv_path_SED"
2668 for ac_prog
in gawk mawk nawk
awk
2670 # Extract the first word of "$ac_prog", so it can be a program name with args.
2671 set dummy
$ac_prog; ac_word
=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_AWK+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$AWK"; then
2678 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_AWK
="$ac_prog"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 if test -n "$AWK"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2700 $as_echo "$AWK" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2707 test -n "$AWK" && break
2711 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2713 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2715 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2716 INSTALL
="${srcpwd}/install-sh -c"
2719 # Set srcdir to "." if that's what it is.
2720 # This is important for multilib support.
2722 if test "${pwd}" = "${srcpwd}" ; then
2730 ### To add a new directory to the tree, first choose whether it is a target
2731 ### or a host dependent tool. Then put it into the appropriate list
2732 ### (library or tools, host or target), doing a dependency sort.
2734 # Subdirs will be configured in the order listed in build_configdirs,
2735 # configdirs, or target_configdirs; see the serialization section below.
2737 # Dependency sorting is only needed when *configuration* must be done in
2738 # a particular order. In all cases a dependency should be specified in
2739 # the Makefile, whether or not it's implicitly specified here.
2741 # Double entries in build_configdirs, configdirs, or target_configdirs may
2742 # cause circular dependencies and break everything horribly.
2744 # these library is used by various programs built for the build
2747 build_libs
="build-libiberty"
2749 # these tools are built for the build environment
2750 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2752 # these libraries are used by various programs built for the host environment
2754 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2756 # these tools are built for the host environment
2757 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2758 # know that we are building the simulator.
2759 # binutils, gas and ld appear in that order because it makes sense to run
2760 # "make check" in that particular order.
2761 # If --enable-gold is used, "gold" may replace "ld".
2762 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2764 # libgcj represents the runtime libraries only used by gcj.
2765 libgcj
="target-libffi \
2769 # these libraries are built for the target environment, and are built after
2770 # the host libraries and the host tools (which may be a cross compiler)
2771 # Note that libiberty is not a target library.
2772 target_libraries
="target-libgcc \
2773 target-libbacktrace \
2780 target-libstdc++-v3 \
2781 target-libsanitizer \
2784 target-libquadmath \
2785 target-libgfortran \
2792 # these tools are built using the target libraries, and are intended to
2793 # run only in the target environment
2795 # note: any program that *uses* libraries that are in the "target_libraries"
2796 # list belongs in this list.
2798 target_tools
="target-rda"
2800 ################################################################################
2802 ## All tools belong in one of the four categories, and are assigned above
2803 ## We assign ${configdirs} this way to remove all embedded newlines. This
2804 ## is important because configure will choke if they ever get through.
2805 ## ${configdirs} is directories we build using the host tools.
2806 ## ${target_configdirs} is directories we build using the target tools.
2807 configdirs
=`echo ${host_libs} ${host_tools}`
2808 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2809 build_configdirs
=`echo ${build_libs} ${build_tools}`
2813 ################################################################################
2815 srcname
="gnu development package"
2817 # This gets set non-empty for some net releases of packages.
2820 # Define is_cross_compiler to save on calls to 'test'.
2822 if test x
"${host}" = x
"${target}" ; then
2823 is_cross_compiler
=no
2825 is_cross_compiler
=yes
2828 # Find the build and target subdir names.
2830 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2831 # have matching libraries, they should use host libraries: Makefile.tpl
2832 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2833 # However, they still use the build modules, because the corresponding
2834 # host modules (e.g. bison) are only built for the host when bootstrap
2836 # - build_subdir is where we find build modules, and never changes.
2837 # - build_libsubdir is where we find build libraries, and can be overridden.
2839 # Prefix 'build-' so this never conflicts with target_subdir.
2840 build_subdir
="build-${build_noncanonical}"
2842 # Check whether --with-build-libsubdir was given.
2843 if test "${with_build_libsubdir+set}" = set; then :
2844 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2846 build_libsubdir
="$build_subdir"
2849 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2850 if ( test $srcdir = .
&& test -d gcc
) \
2851 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2852 host_subdir
="host-${host_noncanonical}"
2857 target_subdir
=${target_noncanonical}
2859 # Be sure to cover against remnants of an in-tree build.
2860 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2861 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2862 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2865 # Skipdirs are removed silently.
2867 # Noconfigdirs are removed loudly.
2871 # Make sure we don't let GNU ld be added if we didn't want it.
2872 if test x
$with_gnu_ld = xno
; then
2874 noconfigdirs
="$noconfigdirs ld gold"
2878 # Make sure we don't let GNU as be added if we didn't want it.
2879 if test x
$with_gnu_as = xno
; then
2881 noconfigdirs
="$noconfigdirs gas"
2885 # Make sure we don't let ZLIB be added if we didn't want it.
2886 if test x
$with_system_zlib = xyes
; then
2887 use_included_zlib
=no
2888 noconfigdirs
="$noconfigdirs zlib"
2891 # some tools are so dependent upon X11 that if we're not building with X,
2892 # it's not even worth trying to configure, much less build, that tool.
2895 yes |
"") ;; # the default value for this tree is that X11 is available
2897 skipdirs
="${skipdirs} tk itcl libgui"
2898 # We won't be able to build gdbtk without X.
2901 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2904 # Some are only suitable for cross toolchains.
2905 # Remove these if host=target.
2906 cross_only
="target-libgloss target-newlib target-opcodes"
2908 case $is_cross_compiler in
2909 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2912 # If both --with-headers and --with-libs are specified, default to
2914 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2915 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2916 if test x
"${with_newlib}" = x
; then
2921 # Recognize --with-newlib/--without-newlib.
2922 case ${with_newlib} in
2923 no
) skipdirs
="${skipdirs} target-newlib" ;;
2924 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2927 # Handle --enable-gold, --enable-ld.
2928 # --disable-gold [--enable-ld]
2929 # Build only ld. Default option.
2930 # --enable-gold [--enable-ld]
2931 # Build both gold and ld. Install gold as "ld.gold", install ld
2932 # as "ld.bfd" and "ld".
2933 # --enable-gold=default [--enable-ld]
2934 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2935 # install ld as "ld.bfd".
2936 # --enable-gold[=default] --disable-ld
2937 # Build only gold, which is then installed as both "ld.gold" and "ld".
2938 # --enable-gold --enable-ld=default
2939 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2941 # In other words, ld is default
2942 # --enable-gold=default --enable-ld=default
2946 # Check whether --enable-gold was given.
2947 if test "${enable_gold+set}" = set; then :
2948 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2953 case "${ENABLE_GOLD}" in
2955 # Check for ELF target.
2958 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2959 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2960 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2961 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
2963 *-*-linux*aout
* |
*-*-linux*oldld
*)
2971 if test "$is_elf" = "yes"; then
2972 # Check for target supported by gold.
2974 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2975 configdirs
="$configdirs gold"
2976 if test x
${ENABLE_GOLD} = xdefault
; then
2987 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2991 # Check whether --enable-ld was given.
2992 if test "${enable_ld+set}" = set; then :
2993 enableval
=$enable_ld; ENABLE_LD
=$enableval
2999 case "${ENABLE_LD}" in
3001 if test x
${default_ld} != x
; then
3002 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3008 if test x
${ENABLE_GOLD} != xyes
; then
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3010 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3012 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3015 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3019 # Configure extra directories which are host specific
3023 configdirs
="$configdirs libtermcap" ;;
3026 # A target can indicate whether a language isn't supported for some reason.
3027 # Only spaces may be used in this macro; not newlines or tabs.
3028 unsupported_languages
=
3030 # Remove more programs from consideration, based on the host or
3031 # target this usually means that a port of the program doesn't
3035 i
[3456789]86-*-msdosdjgpp*)
3036 noconfigdirs
="$noconfigdirs tcl tk itcl"
3041 # Check whether --enable-libquadmath was given.
3042 if test "${enable_libquadmath+set}" = set; then :
3043 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3045 ENABLE_LIBQUADMATH
=yes
3048 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3049 noconfigdirs
="$noconfigdirs target-libquadmath"
3053 # Check whether --enable-libquadmath-support was given.
3054 if test "${enable_libquadmath_support+set}" = set; then :
3055 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3057 ENABLE_LIBQUADMATH_SUPPORT
=yes
3060 enable_libquadmath_support
=
3061 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3062 enable_libquadmath_support
=no
3066 # Check whether --enable-libada was given.
3067 if test "${enable_libada+set}" = set; then :
3068 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3073 if test "${ENABLE_LIBADA}" != "yes" ; then
3074 noconfigdirs
="$noconfigdirs gnattools"
3077 # Check whether --enable-libssp was given.
3078 if test "${enable_libssp+set}" = set; then :
3079 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3085 # Check whether --enable-libstdcxx was given.
3086 if test "${enable_libstdcxx+set}" = set; then :
3087 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3089 ENABLE_LIBSTDCXX
=default
3092 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3093 noconfigdirs
="$noconfigdirs libstdc++-v3"
3096 # Save it here so that, even in case of --enable-libgcj, if the Java
3097 # front-end isn't enabled, we still get libgcj disabled.
3098 libgcj_saved
=$libgcj
3099 case $enable_libgcj in
3101 # If we reset it here, it won't get added to noconfigdirs in the
3102 # target-specific build rules, so it will be forcibly enabled
3103 # (unless the Java language itself isn't enabled).
3107 # Make sure we get it printed in the list of not supported target libs.
3108 # Don't disable libffi, though, other languages use it.
3109 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3110 # Clear libgcj_saved so that even if java is enabled libffi won't be
3116 # Check whether --enable-static-libjava was given.
3117 if test "${enable_static_libjava+set}" = set; then :
3118 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3120 ENABLE_STATIC_LIBJAVA
=no
3123 enable_static_libjava
=
3124 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3125 enable_static_libjava
=yes
3128 if test x
$enable_static_libjava != xyes
; then
3129 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3133 # Disable libgomp on non POSIX hosted systems.
3134 if test x
$enable_libgomp = x
; then
3135 # Enable libgomp by default on hosted POSIX systems.
3137 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3139 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3141 *-*-solaris2* |
*-*-hpux11*)
3143 *-*-darwin* |
*-*-aix*)
3146 noconfigdirs
="$noconfigdirs target-libgomp"
3151 # Disable libatomic on unsupported systems.
3152 if test -d ${srcdir}/libatomic
; then
3153 if test x
$enable_libatomic = x
; then
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3155 $as_echo_n "checking for libatomic support... " >&6; }
3156 if (srcdir
=${srcdir}/libatomic
; \
3157 .
${srcdir}/configure.tgt
; \
3158 test -n "$UNSUPPORTED")
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3162 noconfigdirs
="$noconfigdirs target-libatomic"
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3165 $as_echo "yes" >&6; }
3170 # Disable libcilkrts on unsupported systems.
3171 if test -d ${srcdir}/libcilkrts
; then
3172 if test x
$enable_libcilkrts = x
; then
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcilkrts support" >&5
3174 $as_echo_n "checking for libcilkrts support... " >&6; }
3175 if (srcdir
=${srcdir}/libcilkrts
; \
3176 .
${srcdir}/configure.tgt
; \
3177 test -n "$UNSUPPORTED")
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3180 $as_echo "no" >&6; }
3181 noconfigdirs
="$noconfigdirs target-libcilkrts"
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3184 $as_echo "yes" >&6; }
3189 # Disable libitm on unsupported systems.
3190 if test -d ${srcdir}/libitm
; then
3191 if test x
$enable_libitm = x
; then
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3193 $as_echo_n "checking for libitm support... " >&6; }
3194 if (srcdir
=${srcdir}/libitm
; \
3195 .
${srcdir}/configure.tgt
; \
3196 test -n "$UNSUPPORTED")
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3200 noconfigdirs
="$noconfigdirs target-libitm"
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3208 # Disable libsanitizer on unsupported systems.
3209 if test -d ${srcdir}/libsanitizer
; then
3210 if test x
$enable_libsanitizer = x
; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3212 $as_echo_n "checking for libsanitizer support... " >&6; }
3213 if (srcdir
=${srcdir}/libsanitizer
; \
3214 .
${srcdir}/configure.tgt
; \
3215 test -n "$UNSUPPORTED")
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218 $as_echo "no" >&6; }
3219 noconfigdirs
="$noconfigdirs target-libsanitizer"
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3222 $as_echo "yes" >&6; }
3227 # Disable libvtv on unsupported systems.
3228 if test -d ${srcdir}/libvtv
; then
3229 if test x
$enable_libvtv = x
; then
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3231 $as_echo_n "checking for libvtv support... " >&6; }
3232 if (srcdir
=${srcdir}/libvtv
; \
3233 .
${srcdir}/configure.tgt
; \
3234 test "$VTV_SUPPORTED" != "yes")
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3237 $as_echo "no" >&6; }
3238 noconfigdirs
="$noconfigdirs target-libvtv"
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3241 $as_echo "yes" >&6; }
3246 # Disable libquadmath for some systems.
3249 noconfigdirs
="$noconfigdirs target-libquadmath"
3251 # libquadmath is unused on AIX and libquadmath build process use of
3252 # LD_LIBRARY_PATH can break AIX bootstrap.
3253 powerpc-
*-aix* | rs6000-
*-aix*)
3254 noconfigdirs
="$noconfigdirs target-libquadmath"
3258 # Disable libssp for some systems.
3261 # No hosted I/O support.
3262 noconfigdirs
="$noconfigdirs target-libssp"
3264 powerpc-
*-aix* | rs6000-
*-aix*)
3265 noconfigdirs
="$noconfigdirs target-libssp"
3268 # libssp uses a misaligned load to trigger a fault, but the RL78
3269 # doesn't fault for those - instead, it gives a build-time error
3270 # for explicit misaligned loads.
3271 noconfigdirs
="$noconfigdirs target-libssp"
3275 # Disable libstdc++-v3 for some systems.
3276 # Allow user to override this if they pass --enable-libstdc++-v3
3277 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3280 # VxWorks uses the Dinkumware C++ library.
3281 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3284 # the C++ libraries don't build on top of CE's C libraries
3285 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3288 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3293 # Disable Fortran for some systems.
3296 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3297 unsupported_languages
="$unsupported_languages fortran"
3301 # Disable Java if libffi is not supported.
3333 powerpc-
*-aix* | rs6000-
*-aix*)
3337 powerpc64-
*-freebsd*)
3341 s390-
*-* | s390x-
*-*)
3343 sh-
*-* | sh
[34]*-*-*)
3345 sh64-
*-* | sh5
*-*-*)
3352 unsupported_languages
="$unsupported_languages java"
3356 # Disable Java, libgcj or related libraries for some systems.
3360 i
[3456789]86-*-darwin*)
3362 x86_64-
*-darwin[912]*)
3365 noconfigdirs
="$noconfigdirs ${libgcj}"
3368 noconfigdirs
="$noconfigdirs ${libgcj}"
3371 noconfigdirs
="$noconfigdirs ${libgcj}"
3374 noconfigdirs
="$noconfigdirs ${libgcj}"
3377 noconfigdirs
="$noconfigdirs ${libgcj}"
3380 noconfigdirs
="$noconfigdirs ${libgcj}"
3383 noconfigdirs
="$noconfigdirs ${libgcj}"
3386 noconfigdirs
="$noconfigdirs ${libgcj}"
3389 noconfigdirs
="$noconfigdirs ${libgcj}"
3392 noconfigdirs
="$noconfigdirs target-boehm-gc"
3394 cris-
*-* | crisv32-
*-*)
3395 unsupported_languages
="$unsupported_languages java"
3399 *) # See PR46792 regarding target-libffi.
3400 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3404 # In this case, it's because the hppa64-linux target is for
3405 # the kernel only at this point and has no libc, and thus no
3406 # headers, crt*.o, etc., all of which are needed by these.
3407 unsupported_languages
="$unsupported_languages java"
3410 noconfigdirs
="$noconfigdirs ${libgcj}"
3415 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3416 # build on HP-UX 10.20.
3417 noconfigdirs
="$noconfigdirs ${libgcj}"
3420 noconfigdirs
="$noconfigdirs ${libgcj}"
3422 i
[3456789]86-w64-mingw*)
3423 noconfigdirs
="$noconfigdirs ${libgcj}"
3425 i
[3456789]86-*-mingw*)
3426 noconfigdirs
="$noconfigdirs ${libgcj}"
3429 noconfigdirs
="$noconfigdirs ${libgcj}"
3432 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3435 # copied from rs6000-*-* entry
3436 noconfigdirs
="$noconfigdirs ${libgcj}"
3439 noconfigdirs
="$noconfigdirs ${libgcj}"
3442 noconfigdirs
="$noconfigdirs ${libgcj}"
3446 # Disable libgo for some systems where it is known to not work.
3447 # For testing, you can easily override this with --enable-libgo.
3448 if test x
$enable_libgo = x
; then
3452 noconfigdirs
="$noconfigdirs target-libgo"
3454 *-*-cygwin* |
*-*-mingw*)
3455 noconfigdirs
="$noconfigdirs target-libgo"
3458 noconfigdirs
="$noconfigdirs target-libgo"
3463 # Default libgloss CPU subdirectory.
3464 libgloss_dir
="$target_cpu"
3467 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3471 libgloss_dir
=aarch64
3476 cris-
*-* | crisv32-
*-*)
3485 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3486 libgloss_dir
=m68hc11
3488 m68
*-*-* | fido-
*-*)
3502 # Disable newlib and libgloss for various target OSes.
3505 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3507 i
[3456789]86-*-linux*)
3508 # This section makes it possible to build newlib natively on linux.
3509 # If we are using a cross compiler then don't configure newlib.
3510 if test x
${is_cross_compiler} != xno
; then
3511 noconfigdirs
="$noconfigdirs target-newlib"
3513 noconfigdirs
="$noconfigdirs target-libgloss"
3514 # If we are not using a cross compiler, do configure newlib.
3515 # Note however, that newlib will only be configured in this situation
3516 # if the --with-newlib option has been given, because otherwise
3517 # 'target-newlib' will appear in skipdirs.
3519 i
[3456789]86-*-rdos*)
3520 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3522 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3523 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3526 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3529 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3532 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3535 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3538 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3541 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3543 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3544 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3547 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3550 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3553 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3559 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3562 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3573 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3574 noconfigdirs
="$noconfigdirs sim target-rda"
3576 i
[3456789]86-*-darwin*)
3577 noconfigdirs
="$noconfigdirs ld gprof"
3578 noconfigdirs
="$noconfigdirs sim target-rda"
3580 x86_64-
*-darwin[912]*)
3581 noconfigdirs
="$noconfigdirs ld gas gprof"
3582 noconfigdirs
="$noconfigdirs sim target-rda"
3585 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3586 noconfigdirs
="$noconfigdirs sim target-rda"
3591 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3592 && test -f /usr
/local
/include
/gmp.h
; then
3597 # Remove unsupported stuff on all kaOS configurations.
3598 noconfigdirs
="$noconfigdirs target-libgloss"
3605 noconfigdirs
="$noconfigdirs target-libgloss"
3606 # this is not caught below because this stanza matches earlier
3608 or1k
*-*-*) noconfigdirs
="$noconfigdirs gdb" ;;
3611 # The tpf target doesn't support gdb yet.
3613 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3616 noconfigdirs
="$noconfigdirs target-rda"
3621 # ld works, but does not support shared libraries.
3622 # gas doesn't generate exception information.
3623 noconfigdirs
="$noconfigdirs gas ld"
3626 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3629 # newlib is not 64 bit ready
3630 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3632 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3633 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3636 noconfigdirs
="$noconfigdirs target-libgloss"
3639 noconfigdirs
="$noconfigdirs target-libgloss"
3642 noconfigdirs
="$noconfigdirs ld target-libgloss"
3647 if test x
${with_avrlibc} != xno
; then
3648 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3651 c4x-
*-* | tic4x-
*-*)
3652 noconfigdirs
="$noconfigdirs target-libgloss"
3655 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3658 noconfigdirs
="$noconfigdirs target-libgloss"
3661 noconfigdirs
="$noconfigdirs gdb"
3664 noconfigdirs
="$noconfigdirs gdb"
3667 noconfigdirs
="$noconfigdirs gprof"
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3673 noconfigdirs
="$noconfigdirs target-libgloss"
3675 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3683 hppa
*-*-openbsd* | \
3687 noconfigdirs
="$noconfigdirs ld"
3692 noconfigdirs
="$noconfigdirs ld"
3695 noconfigdirs
="$noconfigdirs gdb"
3698 # No gdb support yet.
3699 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3702 # No ld support yet.
3703 noconfigdirs
="$noconfigdirs libgui itcl ld"
3706 # No ld support yet.
3707 noconfigdirs
="$noconfigdirs libgui itcl ld"
3709 i
[3456789]86-w64-mingw*)
3711 i
[3456789]86-*-mingw*)
3712 target_configdirs
="$target_configdirs target-winsup"
3715 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3716 noconfigdirs
="$noconfigdirs target-libgloss"
3717 # always build newlib if winsup directory is present.
3718 if test -d "$srcdir/winsup/cygwin"; then
3719 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3720 elif test -d "$srcdir/newlib"; then
3721 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3725 noconfigdirs
="$noconfigdirs target-libgloss"
3727 i
[3456789]86-*-sco3.2v5
*)
3728 # The linker does not yet know about weak symbols in COFF,
3729 # and is not configured to handle mixed ELF and COFF.
3730 noconfigdirs
="$noconfigdirs ld target-libgloss"
3732 i
[3456789]86-*-sco*)
3733 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3735 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3736 noconfigdirs
="$noconfigdirs target-libgloss"
3738 i
[3456789]86-*-sysv4*)
3739 noconfigdirs
="$noconfigdirs target-libgloss"
3741 i
[3456789]86-*-beos*)
3742 noconfigdirs
="$noconfigdirs gdb"
3744 i
[3456789]86-*-rdos*)
3745 noconfigdirs
="$noconfigdirs gdb"
3748 noconfigdirs
="$noconfigdirs gdb"
3751 noconfigdirs
="$noconfigdirs sim"
3754 # copied from rs6000-*-* entry
3755 noconfigdirs
="$noconfigdirs gprof"
3757 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3758 target_configdirs
="$target_configdirs target-winsup"
3759 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3760 # always build newlib.
3761 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3763 # This is temporary until we can link against shared libraries
3764 powerpcle-
*-solaris*)
3765 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3768 noconfigdirs
="$noconfigdirs gdb"
3771 noconfigdirs
="$noconfigdirs gprof"
3774 noconfigdirs
="$noconfigdirs gprof"
3777 noconfigdirs
="$noconfigdirs gprof"
3780 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3783 noconfigdirs
="$noconfigdirs gprof"
3785 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3786 if test x
$with_newlib = xyes
; then
3787 noconfigdirs
="$noconfigdirs gprof"
3791 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3794 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3797 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3801 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3802 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3803 noconfigdirs
="$noconfigdirs ld gas gprof"
3806 noconfigdirs
="$noconfigdirs gprof"
3809 noconfigdirs
="$noconfigdirs gdb"
3812 noconfigdirs
="$noconfigdirs gdb"
3819 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3823 if test x
${is_cross_compiler} = xno
; then
3828 noconfigdirs
="$noconfigdirs sim"
3830 tilepro
*-*-* | tilegx
*-*-*)
3831 noconfigdirs
="$noconfigdirs sim"
3834 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3837 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3841 # If we aren't building newlib, then don't build libgloss, since libgloss
3842 # depends upon some newlib header files.
3843 case "${noconfigdirs}" in
3844 *target-libgloss
*) ;;
3845 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3848 # Work in distributions that contain no compiler tools, like Autoconf.
3849 host_makefile_frag
=/dev
/null
3850 if test -d ${srcdir}/config
; then
3852 i
[3456789]86-*-msdosdjgpp*)
3853 host_makefile_frag
="config/mh-djgpp"
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3858 $as_echo_n "checking to see if cat works as expected... " >&6; }
3859 echo a
>cygwin-cat-check
3860 if test `cat cygwin-cat-check` = a
; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3863 $as_echo "yes" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3868 as_fn_error
"The cat command does not ignore carriage return characters.
3869 Please either mount the build directory in binary mode or run the following
3870 commands before running any configure script:
3876 host_makefile_frag
="config/mh-cygwin"
3879 host_makefile_frag
="config/mh-mingw"
3882 host_makefile_frag
="config/mh-pa-hpux10"
3885 host_makefile_frag
="config/mh-pa"
3888 host_makefile_frag
="config/mh-pa"
3891 host_makefile_frag
="config/mh-darwin"
3894 host_makefile_frag
="config/mh-ppc-aix"
3897 host_makefile_frag
="config/mh-ppc-aix"
3902 if test "${build}" != "${host}" ; then
3903 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3904 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3905 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3906 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3907 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3908 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3909 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3910 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3911 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3912 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3913 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3914 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3915 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3917 AR_FOR_BUILD
="\$(AR)"
3918 AS_FOR_BUILD
="\$(AS)"
3919 CC_FOR_BUILD
="\$(CC)"
3920 CXX_FOR_BUILD
="\$(CXX)"
3921 GCJ_FOR_BUILD
="\$(GCJ)"
3922 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3923 GOC_FOR_BUILD
="\$(GOC)"
3924 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3925 LD_FOR_BUILD
="\$(LD)"
3926 NM_FOR_BUILD
="\$(NM)"
3927 RANLIB_FOR_BUILD
="\$(RANLIB)"
3928 WINDRES_FOR_BUILD
="\$(WINDRES)"
3929 WINDMC_FOR_BUILD
="\$(WINDMC)"
3933 ac_cpp
='$CPP $CPPFLAGS'
3934 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3935 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3936 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3937 if test -n "$ac_tool_prefix"; then
3938 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3939 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_CC+set}" = set; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$CC"; then
3946 ac_cv_prog_CC
="$CC" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 if test -n "$CC"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3968 $as_echo "$CC" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3976 if test -z "$ac_cv_prog_CC"; then
3978 # Extract the first word of "gcc", so it can be a program name with args.
3979 set dummy gcc
; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$ac_ct_CC"; then
3986 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_prog_ac_ct_CC
="gcc"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4006 if test -n "$ac_ct_CC"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4008 $as_echo "$ac_ct_CC" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4014 if test "x$ac_ct_CC" = x
; then
4017 case $cross_compiling:$ac_tool_warned in
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4021 ac_tool_warned
=yes ;;
4029 if test -z "$CC"; then
4030 if test -n "$ac_tool_prefix"; then
4031 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4032 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_CC+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$CC"; then
4039 ac_cv_prog_CC
="$CC" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4059 if test -n "$CC"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4061 $as_echo "$CC" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4070 if test -z "$CC"; then
4071 # Extract the first word of "cc", so it can be a program name with args.
4072 set dummy cc
; ac_word
=$2
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074 $as_echo_n "checking for $ac_word... " >&6; }
4075 if test "${ac_cv_prog_CC+set}" = set; then :
4076 $as_echo_n "(cached) " >&6
4078 if test -n "$CC"; then
4079 ac_cv_prog_CC
="$CC" # Let the user override the test.
4082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir
=.
4087 for ac_exec_ext
in '' $ac_executable_extensions; do
4088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4089 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4090 ac_prog_rejected
=yes
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 if test $ac_prog_rejected = yes; then
4102 # We found a bogon in the path, so make sure we never use it.
4103 set dummy
$ac_cv_prog_CC
4105 if test $# != 0; then
4106 # We chose a different compiler from the bogus one.
4107 # However, it has the same basename, so the bogon will be chosen
4108 # first if we set CC to just the basename; use the full file name.
4110 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4116 if test -n "$CC"; then
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4118 $as_echo "$CC" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4126 if test -z "$CC"; then
4127 if test -n "$ac_tool_prefix"; then
4128 for ac_prog
in cl.exe
4130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4131 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4133 $as_echo_n "checking for $ac_word... " >&6; }
4134 if test "${ac_cv_prog_CC+set}" = set; then :
4135 $as_echo_n "(cached) " >&6
4137 if test -n "$CC"; then
4138 ac_cv_prog_CC
="$CC" # Let the user override the test.
4140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4144 test -z "$as_dir" && as_dir
=.
4145 for ac_exec_ext
in '' $ac_executable_extensions; do
4146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4147 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 if test -n "$CC"; then
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4160 $as_echo "$CC" >&6; }
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163 $as_echo "no" >&6; }
4167 test -n "$CC" && break
4170 if test -z "$CC"; then
4172 for ac_prog
in cl.exe
4174 # Extract the first word of "$ac_prog", so it can be a program name with args.
4175 set dummy
$ac_prog; ac_word
=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$ac_ct_CC"; then
4182 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_ac_ct_CC
="$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4202 if test -n "$ac_ct_CC"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4204 $as_echo "$ac_ct_CC" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$ac_ct_CC" && break
4214 if test "x$ac_ct_CC" = x
; then
4217 case $cross_compiling:$ac_tool_warned in
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4221 ac_tool_warned
=yes ;;
4230 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4232 as_fn_error
"no acceptable C compiler found in \$PATH
4233 See \`config.log' for more details." "$LINENO" 5; }
4235 # Provide some information about the compiler.
4236 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4239 for ac_option
in --version -v -V -qversion; do
4240 { { ac_try
="$ac_compiler $ac_option >&5"
4242 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4243 *) ac_try_echo=$ac_try;;
4245 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4246 $as_echo "$ac_try_echo"; } >&5
4247 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4249 if test -s conftest.err; then
4251 ... rest of stderr output deleted ...
4252 10q' conftest.err >conftest.er1
4253 cat conftest.er1 >&5
4254 rm -f conftest.er1 conftest.err
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }
4260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4261 /* end confdefs.h. */
4271 ac_clean_files_save=$ac_clean_files
4272 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4273 # Try to create an executable without -o first, disregard a.out.
4274 # It will help us diagnose broken compilers, and finding out an intuition
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4277 $as_echo_n "checking for C compiler default output file name... " >&6; }
4278 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4280 # The possible output files:
4281 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4284 for ac_file in $ac_files
4287 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4288 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4293 if { { ac_try="$ac_link_default"
4295 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4296 *) ac_try_echo
=$ac_try;;
4298 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4299 $as_echo "$ac_try_echo"; } >&5
4300 (eval "$ac_link_default") 2>&5
4302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4303 test $ac_status = 0; }; then :
4304 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4305 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4306 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4307 # so that the user can short-circuit this test for compilers unknown to
4309 for ac_file
in $ac_files ''
4311 test -f "$ac_file" ||
continue
4313 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4316 # We found the default executable, but exeext='' is most
4320 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4322 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4324 # We set ac_cv_exeext here because the later test for it is not
4325 # safe: cross compilers may not add the suffix if given an `-o'
4326 # argument, so we may need to know it at that point already.
4327 # Even if this section looks crufty: it has the advantage of
4334 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4340 $as_echo "$ac_file" >&6; }
4341 if test -z "$ac_file"; then :
4342 $as_echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.
$ac_ext >&5
4345 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4346 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4347 { as_fn_set_status
77
4348 as_fn_error
"C compiler cannot create executables
4349 See \`config.log' for more details." "$LINENO" 5; }; }
4351 ac_exeext
=$ac_cv_exeext
4353 # Check that the compiler produces executables we can run. If not, either
4354 # the compiler is broken, or we cross compile.
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4356 $as_echo_n "checking whether the C compiler works... " >&6; }
4357 # If not cross compiling, check that we can run a simple program.
4358 if test "$cross_compiling" != yes; then
4359 if { ac_try
='./$ac_file'
4360 { { case "(($ac_try" in
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_try") 2>&5
4368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4369 test $ac_status = 0; }; }; then
4372 if test "$cross_compiling" = maybe; then
4375 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4376 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4377 as_fn_error "cannot run C compiled programs.
4378 If you meant to cross compile
, use \
`--host'.
4379 See \`config.log
' for more details." "$LINENO" 5; }
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4384 $as_echo "yes" >&6; }
4386 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4387 ac_clean_files=$ac_clean_files_save
4388 # Check that the compiler produces executables we can run. If not, either
4389 # the compiler is broken, or we cross compile.
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4391 $as_echo_n "checking whether we are cross compiling... " >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4393 $as_echo "$cross_compiling" >&6; }
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4396 $as_echo_n "checking for suffix of executables... " >&6; }
4397 if { { ac_try="$ac_link"
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_link") 2>&5
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }; then :
4408 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4409 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4410 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4412 for ac_file
in conftest.exe conftest conftest.
*; do
4413 test -f "$ac_file" ||
continue
4415 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4416 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4422 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4423 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4425 See \`config.log' for more details." "$LINENO" 5; }
4427 rm -f conftest
$ac_cv_exeext
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4429 $as_echo "$ac_cv_exeext" >&6; }
4431 rm -f conftest.
$ac_ext
4432 EXEEXT
=$ac_cv_exeext
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4435 $as_echo_n "checking for suffix of object files... " >&6; }
4436 if test "${ac_cv_objext+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4450 rm -f conftest.o conftest.obj
4451 if { { ac_try
="$ac_compile"
4453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4454 *) ac_try_echo=$ac_try;;
4456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4457 $as_echo "$ac_try_echo"; } >&5
4458 (eval "$ac_compile") 2>&5
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }; then :
4462 for ac_file in conftest.o conftest.obj conftest.*; do
4463 test -f "$ac_file" || continue;
4465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4466 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4471 $as_echo "$as_me: failed program was:" >&5
4472 sed 's/^/| /' conftest.$ac_ext >&5
4474 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4475 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4476 as_fn_error "cannot compute suffix of object files
: cannot compile
4477 See \
`config.log' for more details." "$LINENO" 5; }
4479 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4482 $as_echo "$ac_cv_objext" >&6; }
4483 OBJEXT=$ac_cv_objext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4486 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4487 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4488 $as_echo_n "(cached) " >&6
4490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491 /* end confdefs.h. */
4504 if ac_fn_c_try_compile "$LINENO"; then :
4509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4510 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4514 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4515 if test $ac_compiler_gnu = yes; then
4520 ac_test_CFLAGS=${CFLAGS+set}
4521 ac_save_CFLAGS=$CFLAGS
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4523 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4524 if test "${ac_cv_prog_cc_g+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 ac_save_c_werror_flag=$ac_c_werror_flag
4528 ac_c_werror_flag=yes
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4542 if ac_fn_c_try_compile "$LINENO"; then :
4546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4547 /* end confdefs.h. */
4557 if ac_fn_c_try_compile "$LINENO"; then :
4560 ac_c_werror_flag=$ac_save_c_werror_flag
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4573 if ac_fn_c_try_compile "$LINENO"; then :
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_c_werror_flag=$ac_save_c_werror_flag
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4584 $as_echo "$ac_cv_prog_cc_g" >&6; }
4585 if test "$ac_test_CFLAGS" = set; then
4586 CFLAGS=$ac_save_CFLAGS
4587 elif test $ac_cv_prog_cc_g = yes; then
4588 if test "$GCC" = yes; then
4594 if test "$GCC" = yes; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4601 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4602 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4605 ac_cv_prog_cc_c89=no
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4611 #include <sys/types.h>
4612 #include <sys/stat.h>
4613 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4614 struct buf { int x; };
4615 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4616 static char *e (p, i)
4622 static char *f (char * (*g) (char **, int), char **p, ...)
4627 s = g (p, va_arg (v,int));
4632 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4633 function prototypes and stuff, but not '\xHH' hex character constants.
4634 These don't provoke an error unfortunately, instead are silently treated
4635 as 'x'. The following induces an error, until -std is added to get
4636 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4637 array size at least. It's necessary to write '\x00'==0 to get something
4638 that's true only with -std. */
4639 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4641 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4642 inside strings and character constants. */
4644 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4646 int test (int i, double x);
4647 struct s1 {int (*f) (int a);};
4648 struct s2 {int (*f) (double a);};
4649 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4655 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4660 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4661 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4663 CC="$ac_save_CC $ac_arg"
4664 if ac_fn_c_try_compile "$LINENO"; then :
4665 ac_cv_prog_cc_c89=$ac_arg
4667 rm -f core conftest.err conftest.$ac_objext
4668 test "x$ac_cv_prog_cc_c89" != "xno" && break
4670 rm -f conftest.$ac_ext
4675 case "x$ac_cv_prog_cc_c89" in
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4678 $as_echo "none needed" >&6; } ;;
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4681 $as_echo "unsupported" >&6; } ;;
4683 CC="$CC $ac_cv_prog_cc_c89"
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4685 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4687 if test "x$ac_cv_prog_cc_c89" != xno; then :
4692 ac_cpp='$CPP $CPPFLAGS'
4693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4698 ac_cpp='$CXXCPP $CPPFLAGS'
4699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4702 if test -z "$CXX"; then
4703 if test -n "$CCC"; then
4706 if test -n "$ac_tool_prefix"; then
4707 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4709 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4710 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4712 $as_echo_n "checking for $ac_word... " >&6; }
4713 if test "${ac_cv_prog_CXX+set}" = set; then :
4714 $as_echo_n "(cached) " >&6
4716 if test -n "$CXX"; then
4717 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723 test -z "$as_dir" && as_dir=.
4724 for ac_exec_ext in '' $ac_executable_extensions; do
4725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4726 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4737 if test -n "$CXX"; then
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4739 $as_echo "$CXX" >&6; }
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 $as_echo "no" >&6; }
4746 test -n "$CXX" && break
4749 if test -z "$CXX"; then
4751 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4753 # Extract the first word of "$ac_prog", so it can be a program name with args.
4754 set dummy $ac_prog; ac_word=$2
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4756 $as_echo_n "checking for $ac_word... " >&6; }
4757 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4758 $as_echo_n "(cached) " >&6
4760 if test -n "$ac_ct_CXX"; then
4761 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 test -z "$as_dir" && as_dir=.
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4770 ac_cv_prog_ac_ct_CXX="$ac_prog"
4771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4780 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4781 if test -n "$ac_ct_CXX"; then
4782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4783 $as_echo "$ac_ct_CXX" >&6; }
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4786 $as_echo "no" >&6; }
4790 test -n "$ac_ct_CXX" && break
4793 if test "x$ac_ct_CXX" = x; then
4796 case $cross_compiling:$ac_tool_warned in
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4799 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4800 ac_tool_warned=yes ;;
4808 # Provide some information about the compiler.
4809 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4812 for ac_option in --version -v -V -qversion; do
4813 { { ac_try="$ac_compiler $ac_option >&5"
4815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4816 *) ac_try_echo
=$ac_try;;
4818 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4819 $as_echo "$ac_try_echo"; } >&5
4820 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4822 if test -s conftest.err
; then
4824 ... rest of stderr output deleted ...
4825 10q' conftest.err
>conftest.er1
4826 cat conftest.er1
>&5
4827 rm -f conftest.er1 conftest.err
4829 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4830 test $ac_status = 0; }
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4834 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4835 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4852 if ac_fn_cxx_try_compile
"$LINENO"; then :
4857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4858 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4862 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4863 if test $ac_compiler_gnu = yes; then
4868 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4869 ac_save_CXXFLAGS
=$CXXFLAGS
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4871 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4872 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4873 $as_echo_n "(cached) " >&6
4875 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4876 ac_cxx_werror_flag
=yes
4879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4890 if ac_fn_cxx_try_compile
"$LINENO"; then :
4891 ac_cv_prog_cxx_g
=yes
4894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4895 /* end confdefs.h. */
4905 if ac_fn_cxx_try_compile
"$LINENO"; then :
4908 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4921 if ac_fn_cxx_try_compile
"$LINENO"; then :
4922 ac_cv_prog_cxx_g
=yes
4924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4929 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4932 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4933 if test "$ac_test_CXXFLAGS" = set; then
4934 CXXFLAGS
=$ac_save_CXXFLAGS
4935 elif test $ac_cv_prog_cxx_g = yes; then
4936 if test "$GXX" = yes; then
4942 if test "$GXX" = yes; then
4949 ac_cpp
='$CPP $CPPFLAGS'
4950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4955 # We must set the default linker to the linker used by gcc for the correct
4956 # operation of libtool. If LD is not defined and we are using gcc, try to
4957 # set the LD default to the ld used by gcc.
4958 if test -z "$LD"; then
4959 if test "$GCC" = yes; then
4962 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4964 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4966 case $gcc_prog_ld in
4967 # Accept absolute paths.
4968 [\\/]* |
[A-Za-z
]:[\\/]*)
4969 LD
="$gcc_prog_ld" ;;
4974 # Check whether -static-libstdc++ -static-libgcc is supported.
4976 if test "$GCC" = yes; then
4977 saved_LDFLAGS
="$LDFLAGS"
4979 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4981 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4983 ac_cpp
='$CXXCPP $CPPFLAGS'
4984 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4985 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4986 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4990 /* end confdefs.h. */
4992 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4993 #error -static-libstdc++ not implemented
4997 if ac_fn_cxx_try_link
"$LINENO"; then :
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4999 $as_echo "yes" >&6; }; have_static_libs
=yes
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5004 rm -f core conftest.err conftest.
$ac_objext \
5005 conftest
$ac_exeext conftest.
$ac_ext
5007 ac_cpp
='$CPP $CPPFLAGS'
5008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5013 LDFLAGS
="$saved_LDFLAGS"
5019 if test -n "$ac_tool_prefix"; then
5020 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5021 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5023 $as_echo_n "checking for $ac_word... " >&6; }
5024 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
5025 $as_echo_n "(cached) " >&6
5027 if test -n "$GNATBIND"; then
5028 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5034 test -z "$as_dir" && as_dir
=.
5035 for ac_exec_ext
in '' $ac_executable_extensions; do
5036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5037 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 GNATBIND
=$ac_cv_prog_GNATBIND
5048 if test -n "$GNATBIND"; then
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5050 $as_echo "$GNATBIND" >&6; }
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5053 $as_echo "no" >&6; }
5058 if test -z "$ac_cv_prog_GNATBIND"; then
5059 ac_ct_GNATBIND
=$GNATBIND
5060 # Extract the first word of "gnatbind", so it can be a program name with args.
5061 set dummy gnatbind
; ac_word
=$2
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5063 $as_echo_n "checking for $ac_word... " >&6; }
5064 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5065 $as_echo_n "(cached) " >&6
5067 if test -n "$ac_ct_GNATBIND"; then
5068 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5088 if test -n "$ac_ct_GNATBIND"; then
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5090 $as_echo "$ac_ct_GNATBIND" >&6; }
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5093 $as_echo "no" >&6; }
5096 if test "x$ac_ct_GNATBIND" = x
; then
5099 case $cross_compiling:$ac_tool_warned in
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5102 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5103 ac_tool_warned
=yes ;;
5105 GNATBIND
=$ac_ct_GNATBIND
5108 GNATBIND
="$ac_cv_prog_GNATBIND"
5111 if test -n "$ac_tool_prefix"; then
5112 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5113 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5119 if test -n "$GNATMAKE"; then
5120 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5126 test -z "$as_dir" && as_dir
=.
5127 for ac_exec_ext
in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 GNATMAKE
=$ac_cv_prog_GNATMAKE
5140 if test -n "$GNATMAKE"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5142 $as_echo "$GNATMAKE" >&6; }
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5150 if test -z "$ac_cv_prog_GNATMAKE"; then
5151 ac_ct_GNATMAKE
=$GNATMAKE
5152 # Extract the first word of "gnatmake", so it can be a program name with args.
5153 set dummy gnatmake
; ac_word
=$2
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155 $as_echo_n "checking for $ac_word... " >&6; }
5156 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5157 $as_echo_n "(cached) " >&6
5159 if test -n "$ac_ct_GNATMAKE"; then
5160 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_exec_ext
in '' $ac_executable_extensions; do
5168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5169 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5180 if test -n "$ac_ct_GNATMAKE"; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5182 $as_echo "$ac_ct_GNATMAKE" >&6; }
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5185 $as_echo "no" >&6; }
5188 if test "x$ac_ct_GNATMAKE" = x
; then
5191 case $cross_compiling:$ac_tool_warned in
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5195 ac_tool_warned
=yes ;;
5197 GNATMAKE
=$ac_ct_GNATMAKE
5200 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5204 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5205 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5206 $as_echo_n "(cached) " >&6
5208 cat >conftest.adb
<<EOF
5209 procedure conftest is begin null; end conftest;
5211 acx_cv_cc_gcc_supports_ada
=no
5212 # There is a bug in old released versions of GCC which causes the
5213 # driver to exit successfully when the appropriate language module
5214 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5215 # Therefore we must check for the error message as well as an
5216 # unsuccessful exit.
5217 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5218 # given a .adb file, but produce no object file. So we must check
5219 # if an object file was really produced to guard against this.
5220 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5221 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5222 acx_cv_cc_gcc_supports_ada
=yes
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5227 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5229 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5236 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5237 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5238 $as_echo_n "(cached) " >&6
5242 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5243 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5244 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5247 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5250 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5251 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5254 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5261 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5262 do_compare
="$gcc_cv_prog_cmp_skip"
5266 # Check whether --enable-bootstrap was given.
5267 if test "${enable_bootstrap+set}" = set; then :
5268 enableval
=$enable_bootstrap;
5270 enable_bootstrap
=default
5274 # Issue errors and warnings for invalid/strange bootstrap combinations.
5275 if test -r $srcdir/gcc
/configure
; then
5281 case "$have_compiler:$host:$target:$enable_bootstrap" in
5284 # Default behavior. Enable bootstrap if we have a compiler
5285 # and we are in a native configuration.
5286 yes:$build:$build:default
)
5287 enable_bootstrap
=yes ;;
5290 enable_bootstrap
=no
;;
5292 # We have a compiler and we are in a native configuration, bootstrap is ok
5293 yes:$build:$build:yes)
5296 # Other configurations, but we have a compiler. Assume the user knows
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5300 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5303 # No compiler: if they passed --enable-bootstrap explicitly, fail
5305 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5307 # Fail if wrong command line
5309 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5313 # Used for setting $lt_cv_objdir
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5315 $as_echo_n "checking for objdir... " >&6; }
5316 if test "${lt_cv_objdir+set}" = set; then :
5317 $as_echo_n "(cached) " >&6
5319 rm -f .libs
2>/dev
/null
5320 mkdir .libs
2>/dev
/null
5321 if test -d .libs
; then
5324 # MS-DOS does not allow filenames that begin with a dot.
5327 rmdir .libs
2>/dev
/null
5329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5330 $as_echo "$lt_cv_objdir" >&6; }
5331 objdir
=$lt_cv_objdir
5337 cat >>confdefs.h
<<_ACEOF
5338 #define LT_OBJDIR "$lt_cv_objdir/"
5343 # Check for GMP, MPFR and MPC
5344 gmplibs
="-lmpc -lmpfr -lgmp"
5348 # Specify a location for mpc
5349 # check for this first so it ends up on the link line before mpfr.
5351 # Check whether --with-mpc was given.
5352 if test "${with_mpc+set}" = set; then :
5357 # Check whether --with-mpc-include was given.
5358 if test "${with_mpc_include+set}" = set; then :
5359 withval
=$with_mpc_include;
5363 # Check whether --with-mpc-lib was given.
5364 if test "${with_mpc_lib+set}" = set; then :
5365 withval
=$with_mpc_lib;
5369 if test "x$with_mpc" != x
; then
5370 gmplibs
="-L$with_mpc/lib $gmplibs"
5371 gmpinc
="-I$with_mpc/include $gmpinc"
5373 if test "x$with_mpc_include" != x
; then
5374 gmpinc
="-I$with_mpc_include $gmpinc"
5376 if test "x$with_mpc_lib" != x
; then
5377 gmplibs
="-L$with_mpc_lib $gmplibs"
5379 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5380 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5381 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5382 # Do not test the mpc version. Assume that it is sufficient, since
5383 # it is in the source tree, and the library has not been built yet
5384 # but it would be included on the link line in the version check below
5385 # hence making the test fail.
5389 # Specify a location for mpfr
5390 # check for this first so it ends up on the link line before gmp.
5392 # Check whether --with-mpfr-dir was given.
5393 if test "${with_mpfr_dir+set}" = set; then :
5394 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5395 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5400 # Check whether --with-mpfr was given.
5401 if test "${with_mpfr+set}" = set; then :
5406 # Check whether --with-mpfr-include was given.
5407 if test "${with_mpfr_include+set}" = set; then :
5408 withval
=$with_mpfr_include;
5412 # Check whether --with-mpfr-lib was given.
5413 if test "${with_mpfr_lib+set}" = set; then :
5414 withval
=$with_mpfr_lib;
5418 if test "x$with_mpfr" != x
; then
5419 gmplibs
="-L$with_mpfr/lib $gmplibs"
5420 gmpinc
="-I$with_mpfr/include $gmpinc"
5422 if test "x$with_mpfr_include" != x
; then
5423 gmpinc
="-I$with_mpfr_include $gmpinc"
5425 if test "x$with_mpfr_lib" != x
; then
5426 gmplibs
="-L$with_mpfr_lib $gmplibs"
5428 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5429 # MPFR v3.1.0 moved the sources into a src sub-directory.
5430 if test -d ${srcdir}/mpfr
/src
; then
5431 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5432 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5433 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5435 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5436 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5437 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5439 # Do not test the mpfr version. Assume that it is sufficient, since
5440 # it is in the source tree, and the library has not been built yet
5441 # but it would be included on the link line in the version check below
5442 # hence making the test fail.
5446 # Specify a location for gmp
5448 # Check whether --with-gmp-dir was given.
5449 if test "${with_gmp_dir+set}" = set; then :
5450 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5451 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5456 # Check whether --with-gmp was given.
5457 if test "${with_gmp+set}" = set; then :
5462 # Check whether --with-gmp-include was given.
5463 if test "${with_gmp_include+set}" = set; then :
5464 withval
=$with_gmp_include;
5468 # Check whether --with-gmp-lib was given.
5469 if test "${with_gmp_lib+set}" = set; then :
5470 withval
=$with_gmp_lib;
5475 if test "x$with_gmp" != x
; then
5476 gmplibs
="-L$with_gmp/lib $gmplibs"
5477 gmpinc
="-I$with_gmp/include $gmpinc"
5479 if test "x$with_gmp_include" != x
; then
5480 gmpinc
="-I$with_gmp_include $gmpinc"
5482 if test "x$with_gmp_lib" != x
; then
5483 gmplibs
="-L$with_gmp_lib $gmplibs"
5485 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5486 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5487 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5488 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5489 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5490 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5491 # Do not test the gmp version. Assume that it is sufficient, since
5492 # it is in the source tree, and the library has not been built yet
5493 # but it would be included on the link line in the version check below
5494 # hence making the test fail.
5498 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5500 saved_CFLAGS
="$CFLAGS"
5501 CFLAGS
="$CFLAGS $gmpinc"
5502 # Check for the recommended and required versions of GMP.
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5504 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5513 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5514 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5515 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5523 if ac_fn_c_try_compile
"$LINENO"; then :
5524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5531 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5532 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5533 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5541 if ac_fn_c_try_compile
"$LINENO"; then :
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5543 $as_echo "yes" >&6; }
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5546 $as_echo "buggy but acceptable" >&6; }
5548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }; have_gmp
=no
5553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5555 # If we have GMP, check the MPFR version.
5556 if test x
"$have_gmp" = xyes
; then
5557 # Check for the recommended and required versions of MPFR.
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5559 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5568 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5576 if ac_fn_c_try_compile
"$LINENO"; then :
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5585 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5593 if ac_fn_c_try_compile
"$LINENO"; then :
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5595 $as_echo "yes" >&6; }
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5598 $as_echo "buggy but acceptable" >&6; }
5600 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603 $as_echo "no" >&6; }; have_gmp
=no
5605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5608 # Check for the MPC header version.
5609 if test x
"$have_gmp" = xyes
; then
5610 # Check for the recommended and required versions of MPC.
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5612 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5614 /* end confdefs.h. */
5620 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5628 if ac_fn_c_try_compile
"$LINENO"; then :
5629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5630 /* end confdefs.h. */
5636 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5644 if ac_fn_c_try_compile
"$LINENO"; then :
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5646 $as_echo "yes" >&6; }
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5649 $as_echo "buggy but acceptable" >&6; }
5651 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5654 $as_echo "no" >&6; }; have_gmp
=no
5656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5659 # Now check the MPFR library.
5660 if test x
"$have_gmp" = xyes
; then
5662 LIBS
="$LIBS $gmplibs"
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5664 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5666 /* end confdefs.h. */
5678 mpfr_atan2 (n, n, x, GMP_RNDN);
5679 mpfr_erfc (n, x, GMP_RNDN);
5680 mpfr_subnormalize (x, t, GMP_RNDN);
5684 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5685 mpc_cosh (c, c, MPC_RNDNN);
5686 mpc_pow (c, c, c, MPC_RNDNN);
5687 mpc_acosh (c, c, MPC_RNDNN);
5694 if ac_fn_c_try_link
"$LINENO"; then :
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5696 $as_echo "yes" >&6; }
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }; have_gmp
=no
5701 rm -f core conftest.err conftest.
$ac_objext \
5702 conftest
$ac_exeext conftest.
$ac_ext
5706 CFLAGS
="$saved_CFLAGS"
5708 # The library versions listed in the error message below should match
5709 # the HARD-minimums enforced above.
5710 if test x
$have_gmp != xyes
; then
5711 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5712 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5713 their locations. Source code for these libraries can be found at
5714 their respective hosting sites as well as at
5715 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5716 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5717 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5718 make sure that you have installed both the libraries and the header
5719 files. They may be located in separate packages." "$LINENO" 5
5723 # Flags needed for both GMP, MPFR and/or MPC.
5731 # Allow host libstdc++ to be specified for static linking with PPL.
5733 # Check whether --with-host-libstdcxx was given.
5734 if test "${with_host_libstdcxx+set}" = set; then :
5735 withval
=$with_host_libstdcxx;
5739 case $with_host_libstdcxx in
5741 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5745 # Libraries to use for stage1 or when not bootstrapping.
5747 # Check whether --with-stage1-libs was given.
5748 if test "${with_stage1_libs+set}" = set; then :
5749 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5752 stage1_libs
=$withval
5755 stage1_libs
=$with_host_libstdcxx
5760 # Linker flags to use for stage1 or when not bootstrapping.
5762 # Check whether --with-stage1-ldflags was given.
5763 if test "${with_stage1_ldflags+set}" = set; then :
5764 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5767 stage1_ldflags
=$withval
5771 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5772 # if supported. But if the user explicitly specified the libraries to use,
5773 # trust that they are doing what they want.
5774 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5775 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5781 # Libraries to use for stage2 and later builds. This defaults to the
5782 # argument passed to --with-host-libstdcxx.
5784 # Check whether --with-boot-libs was given.
5785 if test "${with_boot_libs+set}" = set; then :
5786 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5789 poststage1_libs
=$withval
5792 poststage1_libs
=$with_host_libstdcxx
5797 # Linker flags to use for stage2 and later builds.
5799 # Check whether --with-boot-ldflags was given.
5800 if test "${with_boot_ldflags+set}" = set; then :
5801 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5804 poststage1_ldflags
=$withval
5808 # In stages 2 and 3, default to linking libstdc++ and libgcc
5809 # statically. But if the user explicitly specified the libraries to
5810 # use, trust that they are doing what they want.
5811 if test "$poststage1_libs" = ""; then
5812 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5818 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5819 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5823 # Check whether --with-cloog was given.
5824 if test "${with_cloog+set}" = set; then :
5825 withval
=$with_cloog;
5829 # Check whether --with-isl was given.
5830 if test "${with_isl+set}" = set; then :
5835 # Treat either --without-cloog or --without-isl as a request to disable
5836 # GRAPHITE support and skip all following checks.
5837 if test "x$with_isl" != "xno" &&
5838 test "x$with_cloog" != "xno"; then
5842 # Check whether --with-isl-include was given.
5843 if test "${with_isl_include+set}" = set; then :
5844 withval
=$with_isl_include;
5848 # Check whether --with-isl-lib was given.
5849 if test "${with_isl_lib+set}" = set; then :
5850 withval
=$with_isl_lib;
5854 # Check whether --enable-isl-version-check was given.
5855 if test "${enable_isl_version_check+set}" = set; then :
5856 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5858 ENABLE_ISL_CHECK
=yes
5862 # Initialize isllibs and islinc.
5871 isllibs
="-L$with_isl/lib"
5872 islinc
="-I$with_isl/include"
5875 if test "x${with_isl_include}" != x
; then
5876 islinc
="-I$with_isl_include"
5878 if test "x${with_isl_lib}" != x
; then
5879 isllibs
="-L$with_isl_lib"
5881 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5882 && test -d ${srcdir}/isl
; then
5883 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5884 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree ISL, disabling version check" >&5
5887 $as_echo "$as_me: WARNING: using in-tree ISL, disabling version check" >&2;}
5892 if test "${ENABLE_ISL_CHECK}" = yes ; then
5893 _isl_saved_CFLAGS
=$CFLAGS
5894 _isl_saved_LDFLAGS
=$LDFLAGS
5895 _isl_saved_LIBS
=$LIBS
5897 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5898 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5899 LIBS
="${_isl_saved_LIBS} -lisl"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5902 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5903 if test "$cross_compiling" = yes; then :
5906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5907 /* end confdefs.h. */
5908 #include <isl/version.h>
5913 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5920 if ac_fn_c_try_run
"$LINENO"; then :
5925 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5926 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5930 $as_echo "$gcc_cv_isl" >&6; }
5932 CFLAGS
=$_isl_saved_CFLAGS
5933 LDFLAGS
=$_isl_saved_LDFLAGS
5934 LIBS
=$_isl_saved_LIBS
5938 if test "${gcc_cv_isl}" = no
; then
5940 if test "${ENABLE_ISL_CHECK}" = yes ; then
5941 _isl_saved_CFLAGS
=$CFLAGS
5942 _isl_saved_LDFLAGS
=$LDFLAGS
5943 _isl_saved_LIBS
=$LIBS
5945 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5946 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5947 LIBS
="${_isl_saved_LIBS} -lisl"
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 of ISL" >&5
5950 $as_echo_n "checking for version 0.11 of ISL... " >&6; }
5951 if test "$cross_compiling" = yes; then :
5954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5956 #include <isl/version.h>
5961 if (strncmp (isl_version (), "isl-0.11", strlen ("isl-0.11")) != 0)
5968 if ac_fn_c_try_run
"$LINENO"; then :
5973 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5974 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5978 $as_echo "$gcc_cv_isl" >&6; }
5980 CFLAGS
=$_isl_saved_CFLAGS
5981 LDFLAGS
=$_isl_saved_LDFLAGS
5982 LIBS
=$_isl_saved_LIBS
5986 if test "${gcc_cv_isl}" = no
; then
5988 if test "${ENABLE_ISL_CHECK}" = yes ; then
5989 _isl_saved_CFLAGS
=$CFLAGS
5990 _isl_saved_LDFLAGS
=$LDFLAGS
5991 _isl_saved_LIBS
=$LIBS
5993 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5994 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5995 LIBS
="${_isl_saved_LIBS} -lisl"
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.12 of ISL" >&5
5998 $as_echo_n "checking for version 0.12 of ISL... " >&6; }
5999 if test "$cross_compiling" = yes; then :
6002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6003 /* end confdefs.h. */
6004 #include <isl/version.h>
6009 if (strncmp (isl_version (), "isl-0.12", strlen ("isl-0.12")) != 0)
6016 if ac_fn_c_try_run
"$LINENO"; then :
6021 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6022 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
6026 $as_echo "$gcc_cv_isl" >&6; }
6028 CFLAGS
=$_isl_saved_CFLAGS
6029 LDFLAGS
=$_isl_saved_LDFLAGS
6030 LIBS
=$_isl_saved_LIBS
6040 if test "x${with_isl}" = xno
; then
6041 graphite_requested
=no
6042 elif test "x${with_isl}" != x \
6043 ||
test "x${with_isl_include}" != x \
6044 ||
test "x${with_isl_lib}" != x
; then
6045 graphite_requested
=yes
6047 graphite_requested
=no
6052 if test "${gcc_cv_isl}" = no
; then
6057 if test "${graphite_requested}" = yes \
6058 && test "x${isllibs}" = x \
6059 && test "x${islinc}" = x
; then
6061 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
6066 if test "x$gcc_cv_isl" != "xno"; then
6070 # Check whether --with-cloog-include was given.
6071 if test "${with_cloog_include+set}" = set; then :
6072 withval
=$with_cloog_include;
6076 # Check whether --with-cloog-lib was given.
6077 if test "${with_cloog_lib+set}" = set; then :
6078 withval
=$with_cloog_lib;
6082 # Check whether --enable-cloog-version-check was given.
6083 if test "${enable_cloog_version_check+set}" = set; then :
6084 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
6086 ENABLE_CLOOG_CHECK
=yes
6090 # Initialize clooglibs and clooginc.
6099 clooglibs
="-L$with_cloog/lib"
6100 clooginc
="-I$with_cloog/include"
6103 if test "x${with_cloog_include}" != x
; then
6104 clooginc
="-I$with_cloog_include"
6106 if test "x${with_cloog_lib}" != x
; then
6107 clooglibs
="-L$with_cloog_lib"
6109 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
6110 && test -d ${srcdir}/cloog
; then
6111 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
6112 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
6113 ENABLE_CLOOG_CHECK
=no
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree CLooG, disabling version check" >&5
6115 $as_echo "$as_me: WARNING: using in-tree CLooG, disabling version check" >&2;}
6118 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
6119 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
6125 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6126 _cloog_saved_CFLAGS
=$CFLAGS
6127 _cloog_saved_LDFLAGS
=$LDFLAGS
6129 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6130 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
6133 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6136 #include "cloog/version.h"
6140 #if CLOOG_VERSION_MAJOR != 0 \
6141 || CLOOG_VERSION_MINOR != 17 \
6142 || CLOOG_VERSION_REVISION < 0
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6156 $as_echo "$gcc_cv_cloog" >&6; }
6158 CFLAGS
=$_cloog_saved_CFLAGS
6159 LDFLAGS
=$_cloog_saved_LDFLAGS
6163 if test "${gcc_cv_cloog}" = no
; then
6167 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
6168 _cloog_saved_CFLAGS
=$CFLAGS
6169 _cloog_saved_LDFLAGS
=$LDFLAGS
6171 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
6172 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.18.0 of CLooG" >&5
6175 $as_echo_n "checking for version 0.18.0 of CLooG... " >&6; }
6176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6177 /* end confdefs.h. */
6178 #include "cloog/version.h"
6182 #if CLOOG_VERSION_MAJOR != 0 \
6183 || CLOOG_VERSION_MINOR != 18 \
6184 || CLOOG_VERSION_REVISION < 0
6191 if ac_fn_c_try_compile
"$LINENO"; then :
6196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6198 $as_echo "$gcc_cv_cloog" >&6; }
6200 CFLAGS
=$_cloog_saved_CFLAGS
6201 LDFLAGS
=$_cloog_saved_LDFLAGS
6211 if test "x${with_cloog}" = xno
; then
6212 graphite_requested
=no
6213 elif test "x${with_cloog}" != x \
6214 ||
test "x${with_cloog_include}" != x \
6215 ||
test "x${with_cloog_lib}" != x
; then
6216 graphite_requested
=yes
6218 graphite_requested
=no
6223 if test "${gcc_cv_cloog}" = no
; then
6228 if test "${graphite_requested}" = yes \
6229 && test "x${clooglibs}" = x \
6230 && test "x${clooginc}" = x
; then
6232 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6239 # If either the ISL or the CLooG check failed, disable builds of in-tree
6241 if test "x$with_isl" = xno ||
6242 test "x$with_cloog" = xno ||
6243 test "x$gcc_cv_cloog" = xno ||
6244 test "x$gcc_cv_isl" = xno
; then
6245 noconfigdirs
="$noconfigdirs cloog isl"
6256 # Check for LTO support.
6257 # Check whether --enable-lto was given.
6258 if test "${enable_lto+set}" = set; then :
6259 enableval
=$enable_lto; enable_lto
=$enableval
6261 enable_lto
=yes; default_enable_lto
=yes
6270 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6271 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6272 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6280 if test $target_elf = yes; then :
6281 # ELF platforms build the lto-plugin always.
6282 build_lto_plugin
=yes
6285 if test x
"$default_enable_lto" = x
"yes" ; then
6287 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6288 # On other non-ELF platforms, LTO has yet to be validated.
6292 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6293 # It would also be nice to check the binutils support, but we don't
6294 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6295 # warn during gcc/ subconfigure; unless you're bootstrapping with
6296 # -flto it won't be needed until after installation anyway.
6298 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6299 *) if test x
"$enable_lto" = x
"yes"; then
6300 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6305 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6306 # Build it unless LTO was explicitly disabled.
6308 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6316 # By default, C and C++ are the only stage 1 languages.
6317 stage1_languages
=,c
,
6319 # Target libraries that we bootstrap.
6320 bootstrap_target_libs
=,target-libgcc
,
6322 # Figure out what language subdirectories are present.
6323 # Look if the user specified --enable-languages="..."; if not, use
6324 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6326 # NB: embedded tabs in this IF block -- do not untabify
6327 if test -d ${srcdir}/gcc
; then
6328 if test x
"${enable_languages+set}" != xset
; then
6329 if test x
"${LANGUAGES+set}" = xset
; then
6330 enable_languages
="${LANGUAGES}"
6331 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6333 enable_languages
=all
6336 if test x
"${enable_languages}" = x ||
6337 test x
"${enable_languages}" = xyes
;
6339 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6343 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6345 # 'f95' is the old name for the 'fortran' language. We issue a warning
6346 # and make the substitution.
6347 case ,${enable_languages}, in
6349 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6350 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6354 # If bootstrapping, C++ must be enabled.
6355 case ",$enable_languages,:$enable_bootstrap" in
6358 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6359 enable_languages
="${enable_languages},c++"
6361 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6366 # First scan to see if an enabled language requires some other language.
6367 # We assume that a given config-lang.in will list all the language
6368 # front ends it requires, even if some are required indirectly.
6369 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6370 case ${lang_frag} in
6372 # The odd quoting in the next line works around
6373 # an apparent bug in bash 1.12 on linux.
6374 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6376 # From the config-lang.in, get $language, $lang_requires, and
6377 # $lang_requires_boot_languages.
6380 lang_requires_boot_languages
=
6382 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6383 case ,${enable_languages}, in
6387 echo " \`$other' language required by \`$language'; enabling" 1>&2
6388 enable_languages
="${enable_languages},${other}"
6392 for other
in ${lang_requires_boot_languages} ; do
6393 if test "$other" != "c"; then
6394 case ,${enable_stage1_languages}, in
6398 case ,${enable_languages}, in
6400 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6401 enable_stage1_languages
="$enable_stage1_languages,${other}"
6412 new_enable_languages
=,c
,
6414 # If LTO is enabled, add the LTO front end.
6415 extra_host_libiberty_configure_flags
=
6416 if test "$enable_lto" = "yes" ; then
6417 case ,${enable_languages}, in
6419 *) enable_languages
="${enable_languages},lto" ;;
6421 if test "${build_lto_plugin}" = "yes" ; then
6422 configdirs
="$configdirs lto-plugin"
6423 extra_host_libiberty_configure_flags
=--enable-shared
6428 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6429 potential_languages
=,c
,
6431 enabled_target_libs
=
6432 disabled_target_libs
=
6434 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6435 case ${lang_frag} in
6437 # The odd quoting in the next line works around
6438 # an apparent bug in bash 1.12 on linux.
6439 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6441 # From the config-lang.in, get $language, $target_libs,
6442 # $lang_dirs, $boot_language, and $build_by_default
6448 build_by_default
=yes
6450 if test x
${language} = x
; then
6451 echo "${lang_frag} doesn't set \$language." 1>&2
6455 if test "$language" = "c++"; then
6460 case ,${enable_languages}, in
6462 # Language was explicitly selected; include it
6463 # unless it is C, which is enabled by default.
6464 if test "$language" != "c"; then
6469 # 'all' was selected, select it if it is a default language
6470 if test "$language" != "c"; then
6471 add_this_lang
=${build_by_default}
6476 # Disable languages that need other directories if these aren't available.
6477 for i
in $subdir_requires; do
6478 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6479 case ,${enable_languages}, in
6481 # Specifically requested language; tell them.
6482 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6486 add_this_lang
=unsupported
6491 # Disable Ada if no preexisting GNAT is available.
6492 case ,${enable_languages},:${language}:${have_gnat} in
6493 *,${language},*:ada
:no
)
6494 # Specifically requested language; tell them.
6495 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6499 add_this_lang
=unsupported
6503 # Disable a language that is unsupported by the target.
6504 case " $unsupported_languages " in
6506 add_this_lang
=unsupported
6510 case $add_this_lang in
6512 # Remove language-dependent dirs.
6513 disabled_target_libs
="$disabled_target_libs $target_libs"
6514 noconfigdirs
="$noconfigdirs $lang_dirs"
6517 # Remove language-dependent dirs; still show language as supported.
6518 disabled_target_libs
="$disabled_target_libs $target_libs"
6519 noconfigdirs
="$noconfigdirs $lang_dirs"
6520 potential_languages
="${potential_languages}${language},"
6523 new_enable_languages
="${new_enable_languages}${language},"
6524 potential_languages
="${potential_languages}${language},"
6525 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6526 enabled_target_libs
="$enabled_target_libs $target_libs"
6527 case "${boot_language}:,$enable_stage1_languages," in
6528 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6529 # Add to (comma-separated) list of stage 1 languages.
6530 case ",$stage1_languages," in
6531 *,$language,* |
,yes, |
,all
,) ;;
6532 *) stage1_languages
="${stage1_languages}${language}," ;;
6534 # We need to bootstrap any supporting libraries.
6535 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6544 # Add target libraries which are only needed for disabled languages
6546 if test -n "$disabled_target_libs"; then
6547 for dir
in $disabled_target_libs; do
6548 case " $enabled_target_libs " in
6550 *) noconfigdirs
="$noconfigdirs $dir" ;;
6555 # Check whether --enable-stage1-languages was given.
6556 if test "${enable_stage1_languages+set}" = set; then :
6557 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6559 # Set it to something that will have no effect in the loop below
6560 enable_stage1_languages
=c
;;
6562 enable_stage1_languages
=`echo $new_enable_languages | \
6563 sed -e "s/^,//" -e "s/,$//" ` ;;
6565 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6566 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6569 # Add "good" languages from enable_stage1_languages to stage1_languages,
6570 # while "bad" languages go in missing_languages. Leave no duplicates.
6571 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6572 case $potential_languages in
6574 case $stage1_languages in
6576 *) stage1_languages
="$stage1_languages$i," ;;
6579 case $missing_languages in
6581 *) missing_languages
="$missing_languages$i," ;;
6588 # Remove leading/trailing commas that were added for simplicity
6589 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6590 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6591 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6592 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6594 if test "x$missing_languages" != x
; then
6596 The following requested languages could not be built: ${missing_languages}
6597 Supported languages are: ${potential_languages}" "$LINENO" 5
6599 if test "x$new_enable_languages" != "x$enable_languages"; then
6600 echo The following languages will be built
: ${new_enable_languages}
6601 enable_languages
="$new_enable_languages"
6605 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6608 # Handle --disable-<component> generically.
6609 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6610 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6611 varname
=`echo $dirname | sed -e s/+/_/g`
6612 if eval test x\
${enable_${varname}} "=" xno
; then
6613 noconfigdirs
="$noconfigdirs $dir"
6617 # Check for Boehm's garbage collector
6618 # Check whether --enable-objc-gc was given.
6619 if test "${enable_objc_gc+set}" = set; then :
6620 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6621 *,objc
,*:*:yes:*target-boehm-gc
*)
6622 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6628 # Make sure we only build Boehm's garbage collector if required.
6629 case ,${enable_languages},:${enable_objc_gc} in
6631 # Keep target-boehm-gc if requested for Objective-C.
6634 # Otherwise remove target-boehm-gc depending on target-libjava.
6635 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6636 noconfigdirs
="$noconfigdirs target-boehm-gc"
6641 # Disable libitm, libsanitizer, libvtv if we're not building C++
6642 case ,${enable_languages}, in
6645 noconfigdirs
="$noconfigdirs target-libcilkrts target-libitm target-libsanitizer target-libvtv"
6649 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6650 # $build_configdirs and $target_configdirs.
6651 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6654 for dir
in .
$skipdirs $noconfigdirs ; do
6655 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6656 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6657 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6658 if test -r $srcdir/$dirname/configure
; then
6659 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6662 notsupp
="$notsupp $dir"
6666 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6667 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6668 if test -r $srcdir/$dirname/configure
; then
6669 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6672 notsupp
="$notsupp $dir"
6676 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6677 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6678 if test -r $srcdir/$dirname/configure
; then
6679 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6682 notsupp
="$notsupp $dir"
6688 # Quietly strip out all directories which aren't configurable in this tree.
6689 # This relies on all configurable subdirectories being autoconfiscated, which
6691 build_configdirs_all
="$build_configdirs"
6693 for i
in ${build_configdirs_all} ; do
6694 j
=`echo $i | sed -e s/build-//g`
6695 if test -f ${srcdir}/$j/configure
; then
6696 build_configdirs
="${build_configdirs} $i"
6700 configdirs_all
="$configdirs"
6702 for i
in ${configdirs_all} ; do
6703 if test -f ${srcdir}/$i/configure
; then
6704 configdirs
="${configdirs} $i"
6708 target_configdirs_all
="$target_configdirs"
6710 for i
in ${target_configdirs_all} ; do
6711 j
=`echo $i | sed -e s/target-//g`
6712 if test -f ${srcdir}/$j/configure
; then
6713 target_configdirs
="${target_configdirs} $i"
6717 # Produce a warning message for the subdirs we can't configure.
6718 # This isn't especially interesting in the Cygnus tree, but in the individual
6719 # FSF releases, it's important to let people know when their machine isn't
6720 # supported by the one or two programs in a package.
6722 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6723 # If $appdirs is non-empty, at least one of those directories must still
6724 # be configured, or we error out. (E.g., if the gas release supports a
6725 # specified target in some subdirs but not the gas subdir, we shouldn't
6726 # pretend that all is well.)
6727 if test -n "$appdirs" ; then
6728 for dir
in $appdirs ; do
6729 if test -r $dir/Makefile.
in ; then
6730 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6734 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6740 if test -n "$appdirs" ; then
6741 echo "*** This configuration is not supported by this package." 1>&2
6745 # Okay, some application will build, or we don't care to check. Still
6746 # notify of subdirs not getting built.
6747 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6748 echo " ${notsupp}" 1>&2
6749 echo " (Any other directories should still work fine.)" 1>&2
6757 # To find our prefix, in gcc_cv_tool_prefix.
6759 # The user is always right.
6760 if test "${PATH_SEPARATOR+set}" != set; then
6761 echo "#! /bin/sh" >conf$$.sh
6762 echo "exit 0" >>conf$$.sh
6764 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6774 if test "x$exec_prefix" = xNONE
; then
6775 if test "x$prefix" = xNONE
; then
6776 gcc_cv_tool_prefix
=$ac_default_prefix
6778 gcc_cv_tool_prefix
=$prefix
6781 gcc_cv_tool_prefix
=$exec_prefix
6784 # If there is no compiler in the tree, use the PATH only. In any
6785 # case, if there is no compiler in the tree nobody should use
6786 # AS_FOR_TARGET and LD_FOR_TARGET.
6787 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6788 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6789 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6790 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6791 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6792 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6793 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6794 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6799 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6800 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6808 # Check whether --with-build-sysroot was given.
6809 if test "${with_build_sysroot+set}" = set; then :
6810 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6811 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6814 SYSROOT_CFLAGS_FOR_TARGET
=
6820 # Check whether --with-debug-prefix-map was given.
6821 if test "${with_debug_prefix_map+set}" = set; then :
6822 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6823 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6824 for debug_map
in $withval; do
6825 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6829 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6834 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6835 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6836 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6837 # We want to ensure that TARGET libraries (which we know are built with
6838 # gcc) are built with "-O2 -g", so include those options when setting
6839 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6840 if test "x$CFLAGS_FOR_TARGET" = x
; then
6841 CFLAGS_FOR_TARGET
=$CFLAGS
6844 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6847 *" -g "* |
*" -g3 "*) ;;
6848 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6853 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6854 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6855 case " $CXXFLAGS " in
6857 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6859 case " $CXXFLAGS " in
6860 *" -g "* |
*" -g3 "*) ;;
6861 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6868 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6869 # the named directory are copied to $(tooldir)/sys-include.
6870 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6871 if test x
${is_cross_compiler} = xno
; then
6872 echo 1>&2 '***' --with-headers is only supported when cross compiling
6875 if test x
"${with_headers}" != xyes
; then
6876 x
=${gcc_cv_tool_prefix}
6877 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6881 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6882 # the name directories are copied to $(tooldir)/lib. Multiple directories
6884 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6885 if test x
${is_cross_compiler} = xno
; then
6886 echo 1>&2 '***' --with-libs is only supported when cross compiling
6889 if test x
"${with_libs}" != xyes
; then
6890 # Copy the libraries in reverse order, so that files in the first named
6891 # library override files in subsequent libraries.
6892 x
=${gcc_cv_tool_prefix}
6893 for l
in ${with_libs}; do
6894 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6899 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6901 # This is done by determining whether or not the appropriate directory
6902 # is available, and by checking whether or not specific configurations
6903 # have requested that this magic not happen.
6905 # The command line options always override the explicit settings in
6906 # configure.in, and the settings in configure.in override this magic.
6908 # If the default for a toolchain is to use GNU as and ld, and you don't
6909 # want to do that, then you should use the --without-gnu-as and
6910 # --without-gnu-ld options for the configure script. Similarly, if
6911 # the default is to use the included zlib and you don't want to do that,
6912 # you should use the --with-system-zlib option for the configure script.
6914 if test x
${use_gnu_as} = x
&&
6915 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6917 extra_host_args
="$extra_host_args --with-gnu-as"
6920 if test x
${use_gnu_ld} = x
&&
6921 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6923 extra_host_args
="$extra_host_args --with-gnu-ld"
6926 if test x
${use_included_zlib} = x
&&
6927 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6930 with_system_zlib
=yes
6931 extra_host_args
="$extra_host_args --with-system-zlib"
6934 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6935 # can detect this case.
6937 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6939 extra_host_args
="$extra_host_args --with-newlib"
6942 # Handle ${copy_dirs}
6943 set fnord
${copy_dirs}
6945 while test $# != 0 ; do
6946 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6949 echo Copying
$1 to
$2
6951 # Use the install script to create the directory and all required
6952 # parent directories.
6953 if test -d $2 ; then
6957 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6960 # Copy the directory, assuming we have tar.
6961 # FIXME: Should we use B in the second tar? Not all systems support it.
6962 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6964 # It is the responsibility of the user to correctly adjust all
6965 # symlinks. If somebody can figure out how to handle them correctly
6966 # here, feel free to add the code.
6973 # Determine a target-dependent exec_prefix that the installed
6974 # gcc will search in. Keep this list sorted by triplet, with
6975 # the *-*-osname triplets last.
6978 i
[34567]86-pc-msdosdjgpp*)
6979 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6984 md_exec_prefix
=/usr
/ccs
/bin
6988 extra_arflags_for_target
=
6989 extra_nmflags_for_target
=
6990 extra_ranlibflags_for_target
=
6991 target_makefile_frag
=/dev
/null
6994 target_makefile_frag
="config/mt-spu"
6996 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6997 target_makefile_frag
="config/mt-sde"
6999 mipsisa
*-*-elfoabi*)
7000 target_makefile_frag
="config/mt-mips-elfoabi"
7002 mips
*-*-*linux
* | mips
*-*-gnu*)
7003 target_makefile_frag
="config/mt-mips-gnu"
7006 target_makefile_frag
="config/mt-nios2-elf"
7008 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
7009 target_makefile_frag
="config/mt-gnu"
7011 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
7012 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
7013 # commands to handle both 32-bit and 64-bit objects. These flags are
7014 # harmless if we're using GNU nm or ar.
7015 extra_arflags_for_target
=" -X32_64"
7016 extra_nmflags_for_target
=" -B -X32_64"
7020 alphaieee_frag
=/dev
/null
7023 # This just makes sure to use the -mieee option to build target libs.
7024 # This should probably be set individually by each library.
7025 alphaieee_frag
="config/mt-alphaieee"
7029 # If --enable-target-optspace always use -Os instead of -O2 to build
7030 # the target libraries, similarly if it is not specified, use -Os
7031 # on selected platforms.
7032 ospace_frag
=/dev
/null
7033 case "${enable_target_optspace}:${target}" in
7035 ospace_frag
="config/mt-ospace"
7038 ospace_frag
="config/mt-d30v"
7040 :m32r-
* |
:d10v-
* |
:fr30-
*)
7041 ospace_frag
="config/mt-ospace"
7046 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7050 # Some systems (e.g., one of the i386-aix systems the gas testers are
7051 # using) don't handle "\$" correctly, so don't use it here.
7052 tooldir
='${exec_prefix}'/${target_noncanonical}
7053 build_tooldir
=${tooldir}
7055 # Create a .gdbinit file which runs the one in srcdir
7056 # and tells GDB to look there for source files.
7058 if test -r ${srcdir}/.gdbinit
; then
7061 *) cat > .
/.gdbinit
<<EOF
7065 source ${srcdir}/.gdbinit
7071 # Make sure that the compiler is able to generate an executable. If it
7072 # can't, we are probably in trouble. We don't care whether we can run the
7073 # executable--we might be using a cross compiler--we only care whether it
7074 # can be created. At this point the main configure script has set CC.
7076 echo "int main () { return 0; }" > conftest.c
7077 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7078 if test $?
= 0 ; then
7079 if test -s conftest ||
test -s conftest.exe
; then
7085 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7086 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7093 # Decide which environment variable is used to find dynamic libraries.
7095 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7096 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7097 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7098 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7101 # On systems where the dynamic library environment variable is PATH,
7102 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7103 # built executables to PATH.
7104 if test "$RPATH_ENVVAR" = PATH
; then
7105 GCC_SHLIB_SUBDIR
=/shlib
7110 # Adjust the toplevel makefile according to whether bootstrap was selected.
7111 case $enable_bootstrap in
7113 bootstrap_suffix
=bootstrap
7114 BUILD_CONFIG
=bootstrap-debug
7117 bootstrap_suffix
=no-bootstrap
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7123 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7126 # Check whether --with-build-config was given.
7127 if test "${with_build_config+set}" = set; then :
7128 withval
=$with_build_config; case $with_build_config in
7129 yes) with_build_config
= ;;
7130 no
) with_build_config
= BUILD_CONFIG
= ;;
7135 if test "x${with_build_config}" != x
; then
7136 BUILD_CONFIG
=$with_build_config
7138 case $BUILD_CONFIG in
7140 if echo "int f (void) { return 0; }" > conftest.c
&&
7141 ${CC} -c conftest.c
&&
7142 mv conftest.o conftest.o.g0
&&
7143 ${CC} -c -g conftest.c
&&
7144 mv conftest.o conftest.o.g
&&
7145 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7150 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7155 $as_echo "$BUILD_CONFIG" >&6; }
7158 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7160 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7161 # Check whether --enable-vtable-verify was given.
7162 if test "${enable_vtable_verify+set}" = set; then :
7163 enableval
=$enable_vtable_verify; case "$enableval" in
7164 yes) enable_vtable_verify
=yes ;;
7165 no
) enable_vtable_verify
=no
;;
7166 *) enable_vtable_verify
=no
;;
7169 enable_vtable_verify
=no
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7173 $as_echo "$enable_vtable_verify" >&6; }
7175 # Record target_configdirs and the configure arguments for target and
7176 # build configuration in Makefile.
7177 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7178 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7179 bootstrap_fixincludes
=no
7181 # If we are building libgomp, bootstrap it.
7182 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7183 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7186 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7187 # or bootstrap-ubsan, bootstrap it.
7188 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7189 case "$BUILD_CONFIG" in
7190 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7191 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7192 bootstrap_fixincludes
=yes
7197 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7198 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7199 test "$enable_vtable_verify" != no
; then
7200 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7203 # Determine whether gdb needs tk/tcl or not.
7204 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7205 # and in that case we want gdb to be built without tk. Ugh!
7206 # In fact I believe gdb is the *only* package directly dependent on tk,
7207 # so we should be able to put the 'maybe's in unconditionally and
7208 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7209 # 100% sure that that's safe though.
7211 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7212 case "$enable_gdbtk" in
7216 GDB_TK
="${gdb_tk}" ;;
7218 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7219 # distro. Eventually someone will fix this and move Insight, nee
7220 # gdbtk to a separate directory.
7221 if test -d ${srcdir}/gdb
/gdbtk
; then
7228 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7229 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7231 # Strip out unwanted targets.
7233 # While at that, we remove Makefiles if we were started for recursive
7234 # configuration, so that the top-level Makefile reconfigures them,
7235 # like we used to do when configure itself was recursive.
7237 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7238 # but now we're fixing up the Makefile ourselves with the additional
7239 # commands passed to AC_CONFIG_FILES. Use separate variables
7240 # extrasub-{build,host,target} not because there is any reason to split
7241 # the substitutions up that way, but only to remain below the limit of
7242 # 99 commands in a script, for HP-UX sed.
7243 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7245 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7246 yes:yes:*\ gold\
*:*,c
++,*) ;;
7247 yes:yes:*\ gold\
*:*)
7248 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7253 for module
in ${build_configdirs} ; do
7254 if test -z "${no_recursion}" \
7255 && test -f ${build_subdir}/${module}/Makefile
; then
7256 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7257 rm -f ${build_subdir}/${module}/Makefile
7259 extrasub_build
="$extrasub_build
7260 /^@if build-$module\$/d
7261 /^@endif build-$module\$/d
7262 /^@if build-$module-$bootstrap_suffix\$/d
7263 /^@endif build-$module-$bootstrap_suffix\$/d"
7266 for module
in ${configdirs} ; do
7267 if test -z "${no_recursion}"; then
7268 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7269 if test -f ${file}; then
7270 echo 1>&2 "*** removing ${file} to force reconfigure"
7275 case ${module},${bootstrap_fixincludes} in
7276 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7277 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7279 extrasub_host
="$extrasub_host
7281 /^@endif $module\$/d
7282 /^@if $module-$host_bootstrap_suffix\$/d
7283 /^@endif $module-$host_bootstrap_suffix\$/d"
7286 for module
in ${target_configdirs} ; do
7287 if test -z "${no_recursion}" \
7288 && test -f ${target_subdir}/${module}/Makefile
; then
7289 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7290 rm -f ${target_subdir}/${module}/Makefile
7293 # We only bootstrap target libraries listed in bootstrap_target_libs.
7294 case $bootstrap_target_libs in
7295 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7296 *) target_bootstrap_suffix
=no-bootstrap
;;
7299 extrasub_target
="$extrasub_target
7300 /^@if target-$module\$/d
7301 /^@endif target-$module\$/d
7302 /^@if target-$module-$target_bootstrap_suffix\$/d
7303 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7306 # Do the final fixup along with target modules.
7307 extrasub_target
="$extrasub_target
7308 /^@if /,/^@endif /d"
7310 # Create the serialization dependencies. This uses a temporary file.
7312 # Check whether --enable-serial-configure was given.
7313 if test "${enable_serial_configure+set}" = set; then :
7314 enableval
=$enable_serial_configure;
7318 case ${enable_serial_configure} in
7320 enable_serial_build_configure
=yes
7321 enable_serial_host_configure
=yes
7322 enable_serial_target_configure
=yes
7326 # These force 'configure's to be done one at a time, to avoid problems
7327 # with contention over a shared config.cache.
7329 echo '# serdep.tmp' > serdep.tmp
7331 test "x${enable_serial_build_configure}" = xyes
&&
7332 for item
in ${build_configdirs} ; do
7335 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7340 test "x${enable_serial_host_configure}" = xyes
&&
7341 for item
in ${configdirs} ; do
7344 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7349 test "x${enable_serial_target_configure}" = xyes
&&
7350 for item
in ${target_configdirs} ; do
7353 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7357 serialization_dependencies
=serdep.tmp
7360 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7361 # target, nonopt, and variable assignments. These are the ones we
7362 # might not want to pass down to subconfigures. The exception being
7363 # --cache-file=/dev/null, which is used to turn off the use of cache
7364 # files altogether, and which should be passed on to subconfigures.
7365 # Also strip program-prefix, program-suffix, and program-transform-name,
7366 # so that we can pass down a consistent program-transform-name.
7371 eval "set -- $ac_configure_args"
7374 if test X
"$skip_next" = X
"yes"; then
7378 if test X
"$keep_next" = X
"yes"; then
7381 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7383 baseargs
="$baseargs '$ac_arg'"
7384 tbaseargs
="$tbaseargs '$ac_arg'"
7389 # Handle separated arguments. Based on the logic generated by
7392 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7393 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7394 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7395 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7409 --with-* |
--without-*)
7410 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7414 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7417 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7426 mpc | mpfr | gmp | cloog
)
7427 # If we're processing --with-$lib, --with-$lib-include or
7428 # --with-$lib-lib, for one of the libs above, and target is
7429 # different from host, don't pass the current argument to any
7430 # target library's configure.
7431 if test x
$is_cross_compiler = xyes
; then
7440 --cache-file=/dev
/null | \
7441 -cache-file=/dev
/null
)
7442 # Handled here to avoid the test to skip args below.
7443 baseargs
="$baseargs '$ac_arg'"
7444 tbaseargs
="$tbaseargs '$ac_arg'"
7445 # Assert: $separate_arg should always be no.
7446 keep_next
=$separate_arg
7462 -program-prefix* | \
7463 -program-suffix* | \
7464 -program-transform-name* )
7465 skip_next
=$separate_arg
7469 # An option. Add it.
7472 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7474 baseargs
="$baseargs '$ac_arg'"
7475 if test X
"$skip_targ" = Xno
; then
7476 tbaseargs
="$tbaseargs '$ac_arg'"
7478 keep_next
=$separate_arg
7481 # Either a variable assignment, or a nonopt (triplet). Don't
7482 # pass it down; let the Makefile handle this.
7487 # Remove the initial space we just introduced and, as these will be
7488 # expanded by make, quote '$'.
7489 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7491 # Add in --program-transform-name, after --program-prefix and
7492 # --program-suffix have been applied to it. Autoconf has already
7493 # doubled dollar signs and backslashes in program_transform_name; we want
7494 # the backslashes un-doubled, and then the entire thing wrapped in single
7495 # quotes, because this will be expanded first by make and then by the shell.
7496 # Also, because we want to override the logic in subdir configure scripts to
7497 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7498 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7499 ${program_transform_name}
7501 gcc_transform_name
=`cat conftestsed.out`
7502 rm -f conftestsed.out
7503 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7504 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7505 if test "$silent" = yes; then
7506 baseargs
="$baseargs --silent"
7507 tbaseargs
="$tbaseargs --silent"
7509 baseargs
="$baseargs --disable-option-checking"
7510 tbaseargs
="$tbaseargs --disable-option-checking"
7512 # Record and document user additions to sub configure arguments.
7517 # For the build-side libraries, we just need to pretend we're native,
7518 # and not use the same cache file. Multilibs are neither needed nor
7520 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7522 # For host modules, accept cache file option, or specification as blank.
7523 case "${cache_file}" in
7525 cache_file_option
="" ;;
7526 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7527 cache_file_option
="--cache-file=${cache_file}" ;;
7529 cache_file_option
="--cache-file=../${cache_file}" ;;
7532 # Host dirs don't like to share a cache file either, horribly enough.
7533 # This seems to be due to autoconf 2.5x stupidity.
7534 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7536 target_configargs
="$target_configargs ${tbaseargs}"
7538 # Passing a --with-cross-host argument lets the target libraries know
7539 # whether they are being built with a cross-compiler or being built
7540 # native. However, it would be better to use other mechanisms to make the
7541 # sorts of decisions they want to make on this basis. Please consider
7542 # this option to be deprecated. FIXME.
7543 if test x
${is_cross_compiler} = xyes
; then
7544 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7547 # Special user-friendly check for native x86_64-linux build, if
7548 # multilib is not explicitly enabled.
7549 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7550 x86_64-
*linux
*:yes:$build:$build:)
7551 # Make sure we have a developement environment that handles 32-bit
7553 echo "int main () { return 0; }" > conftest.c
7554 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7555 if test $?
= 0 ; then
7556 if test -s conftest ||
test -s conftest.exe
; then
7561 if test x
${dev64} != xyes
; then
7562 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
7567 # Default to --enable-multilib.
7568 if test x
${enable_multilib} = x
; then
7569 target_configargs
="--enable-multilib ${target_configargs}"
7572 # Pass --with-newlib if appropriate. Note that target_configdirs has
7573 # changed from the earlier setting of with_newlib.
7574 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7575 target_configargs
="--with-newlib ${target_configargs}"
7578 # Different target subdirs use different values of certain variables
7579 # (notably CXX). Worse, multilibs use *lots* of different values.
7580 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7581 # it doesn't automatically accept command-line overrides of them.
7582 # This means it's not safe for target subdirs to share a cache file,
7583 # which is disgusting, but there you have it. Hopefully this can be
7584 # fixed in future. It's still worthwhile to use a cache file for each
7585 # directory. I think.
7587 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7588 # We need to pass --target, as newer autoconf's requires consistency
7589 # for target_alias and gcc doesn't manage it consistently.
7590 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7593 case " $target_configdirs " in
7595 case " $target_configargs " in
7596 *" --with-newlib "*)
7599 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7603 # If we're not building GCC, don't discard standard headers.
7604 if test -d ${srcdir}/gcc
; then
7605 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7607 if test "${build}" != "${host}"; then
7608 # On Canadian crosses, CC_FOR_TARGET will have already been set
7609 # by `configure', so we won't have an opportunity to add -Bgcc/
7610 # to it. This is right: we don't want to search that directory
7611 # for binaries, but we want the header files in there, so add
7613 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7615 # Someone might think of using the pre-installed headers on
7616 # Canadian crosses, in case the installed compiler is not fully
7617 # compatible with the compiler being built. In this case, it
7618 # would be better to flag an error than risking having
7619 # incompatible object files being constructed. We can't
7620 # guarantee that an error will be flagged, but let's hope the
7621 # compiler will do it, when presented with incompatible header
7626 case "${target}-${is_cross_compiler}" in
7627 i
[3456789]86-*-linux*-no)
7628 # Here host == target, so we don't need to build gcc,
7629 # so we don't want to discard standard headers.
7630 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7633 # If we're building newlib, use its generic headers last, but search
7634 # for any libc-related directories first (so make it the last -B
7636 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7638 # If we're building libgloss, find the startup file, simulator library
7639 # and linker script.
7640 case " $target_configdirs " in
7642 # Look for startup file, simulator library and maybe linker script.
7643 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7644 # Look for libnosys.a in case the target needs it.
7645 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7646 # Most targets have the linker script in the source directory.
7647 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7658 x86_64-
*mingw
* |
*-w64-mingw*)
7659 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7660 # however, use a symlink named 'mingw' in ${prefix} .
7661 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7664 # MinGW can't be handled as Cygwin above since it does not use newlib.
7665 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'
7669 # Allow the user to override the flags for
7670 # our build compiler if desired.
7671 if test x
"${build}" = x
"${host}" ; then
7672 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7673 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7674 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7677 # On Canadian crosses, we'll be searching the right directories for
7678 # the previously-installed cross compiler, so don't bother to add
7679 # flags for directories within the install tree of the compiler
7680 # being built; programs in there won't even run.
7681 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7682 # Search for pre-installed headers if nothing else fits.
7683 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7686 if test "x
${use_gnu_ld}" = x &&
7687 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7688 # Arrange for us to find uninstalled linker scripts.
7689 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7692 # Search for other target-specific linker scripts and such.
7695 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7699 # Makefile fragments.
7700 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7702 eval fragval=\$$frag
7703 if test $fragval != /dev/null; then
7704 eval $frag=${srcdir}/$fragval
7712 # Miscellanea: directories, flags, etc.
7721 # Build module lists & subconfigure args.
7725 # Host module lists & subconfigure args.
7730 # Target module lists & subconfigure args.
7752 # Generate default definitions for YACC, M4, LEX and other programs that run
7753 # on the build machine. These are used if the Makefile can't locate these
7754 # programs in objdir.
7755 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7757 for ac_prog in 'bison -y' byacc yacc
7759 # Extract the first word of "$ac_prog", so it can be a program name with args.
7760 set dummy $ac_prog; ac_word=$2
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7762 $as_echo_n "checking
for $ac_word...
" >&6; }
7763 if test "${ac_cv_prog_YACC+set}" = set; then :
7764 $as_echo_n "(cached
) " >&6
7766 if test -n "$YACC"; then
7767 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7773 test -z "$as_dir" && as_dir=.
7774 for ac_exec_ext in '' $ac_executable_extensions; do
7775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7776 ac_cv_prog_YACC="$ac_prog"
7777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7786 YACC=$ac_cv_prog_YACC
7787 if test -n "$YACC"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7789 $as_echo "$YACC" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7792 $as_echo "no
" >&6; }
7796 test -n "$YACC" && break
7798 test -n "$YACC" || YACC="$MISSING bison
-y"
7800 case " $build_configdirs " in
7801 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7804 for ac_prog in bison
7806 # Extract the first word of "$ac_prog", so it can be a program name with args.
7807 set dummy $ac_prog; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7809 $as_echo_n "checking
for $ac_word...
" >&6; }
7810 if test "${ac_cv_prog_BISON+set}" = set; then :
7811 $as_echo_n "(cached
) " >&6
7813 if test -n "$BISON"; then
7814 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7823 ac_cv_prog_BISON="$ac_prog"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7833 BISON=$ac_cv_prog_BISON
7834 if test -n "$BISON"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7836 $as_echo "$BISON" >&6; }
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7839 $as_echo "no
" >&6; }
7843 test -n "$BISON" && break
7845 test -n "$BISON" || BISON="$MISSING bison
"
7847 case " $build_configdirs " in
7848 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7851 for ac_prog in gm4 gnum4 m4
7853 # Extract the first word of "$ac_prog", so it can be a program name with args.
7854 set dummy $ac_prog; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7856 $as_echo_n "checking
for $ac_word...
" >&6; }
7857 if test "${ac_cv_prog_M4+set}" = set; then :
7858 $as_echo_n "(cached
) " >&6
7860 if test -n "$M4"; then
7861 ac_cv_prog_M4="$M4" # Let the user override the test.
7863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 test -z "$as_dir" && as_dir=.
7868 for ac_exec_ext in '' $ac_executable_extensions; do
7869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870 ac_cv_prog_M4="$ac_prog"
7871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7881 if test -n "$M4"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7883 $as_echo "$M4" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7886 $as_echo "no
" >&6; }
7890 test -n "$M4" && break
7892 test -n "$M4" || M4="$MISSING m4"
7894 case " $build_configdirs " in
7895 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7898 for ac_prog in flex lex
7900 # Extract the first word of "$ac_prog", so it can be a program name with args.
7901 set dummy $ac_prog; ac_word=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7903 $as_echo_n "checking
for $ac_word...
" >&6; }
7904 if test "${ac_cv_prog_LEX+set}" = set; then :
7905 $as_echo_n "(cached
) " >&6
7907 if test -n "$LEX"; then
7908 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7917 ac_cv_prog_LEX="$ac_prog"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7928 if test -n "$LEX"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7930 $as_echo "$LEX" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7933 $as_echo "no
" >&6; }
7937 test -n "$LEX" && break
7939 test -n "$LEX" || LEX="$MISSING flex
"
7941 case " $build_configdirs " in
7942 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7943 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7948 # Extract the first word of "$ac_prog", so it can be a program name with args.
7949 set dummy $ac_prog; ac_word=$2
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7951 $as_echo_n "checking
for $ac_word...
" >&6; }
7952 if test "${ac_cv_prog_FLEX+set}" = set; then :
7953 $as_echo_n "(cached
) " >&6
7955 if test -n "$FLEX"; then
7956 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962 test -z "$as_dir" && as_dir=.
7963 for ac_exec_ext in '' $ac_executable_extensions; do
7964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7965 ac_cv_prog_FLEX="$ac_prog"
7966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7975 FLEX=$ac_cv_prog_FLEX
7976 if test -n "$FLEX"; then
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7978 $as_echo "$FLEX" >&6; }
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7981 $as_echo "no
" >&6; }
7985 test -n "$FLEX" && break
7987 test -n "$FLEX" || FLEX="$MISSING flex
"
7989 case " $build_configdirs " in
7990 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7993 for ac_prog in makeinfo
7995 # Extract the first word of "$ac_prog", so it can be a program name with args.
7996 set dummy $ac_prog; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7998 $as_echo_n "checking
for $ac_word...
" >&6; }
7999 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
8000 $as_echo_n "(cached
) " >&6
8002 if test -n "$MAKEINFO"; then
8003 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8012 ac_cv_prog_MAKEINFO="$ac_prog"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8022 MAKEINFO=$ac_cv_prog_MAKEINFO
8023 if test -n "$MAKEINFO"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
8025 $as_echo "$MAKEINFO" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8028 $as_echo "no
" >&6; }
8032 test -n "$MAKEINFO" && break
8034 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
8036 case " $build_configdirs " in
8037 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
8040 # For an installed makeinfo, we require it to be from texinfo 4.7 or
8041 # higher, else we use the "missing
" dummy.
8042 if ${MAKEINFO} --version \
8043 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
8046 MAKEINFO="$MISSING makeinfo
"
8052 # FIXME: expect and dejagnu may become build tools?
8054 for ac_prog in expect
8056 # Extract the first word of "$ac_prog", so it can be a program name with args.
8057 set dummy $ac_prog; ac_word=$2
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8059 $as_echo_n "checking
for $ac_word...
" >&6; }
8060 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8061 $as_echo_n "(cached
) " >&6
8063 if test -n "$EXPECT"; then
8064 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir=.
8071 for ac_exec_ext in '' $ac_executable_extensions; do
8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8073 ac_cv_prog_EXPECT="$ac_prog"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8083 EXPECT=$ac_cv_prog_EXPECT
8084 if test -n "$EXPECT"; then
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8086 $as_echo "$EXPECT" >&6; }
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8089 $as_echo "no
" >&6; }
8093 test -n "$EXPECT" && break
8095 test -n "$EXPECT" || EXPECT="expect
"
8097 case " $configdirs " in
8099 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8103 for ac_prog in runtest
8105 # Extract the first word of "$ac_prog", so it can be a program name with args.
8106 set dummy $ac_prog; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8108 $as_echo_n "checking
for $ac_word...
" >&6; }
8109 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8110 $as_echo_n "(cached
) " >&6
8112 if test -n "$RUNTEST"; then
8113 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8122 ac_cv_prog_RUNTEST="$ac_prog"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8132 RUNTEST=$ac_cv_prog_RUNTEST
8133 if test -n "$RUNTEST"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8135 $as_echo "$RUNTEST" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8138 $as_echo "no
" >&6; }
8142 test -n "$RUNTEST" && break
8144 test -n "$RUNTEST" || RUNTEST="runtest
"
8146 case " $configdirs " in
8148 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8155 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8156 ncn_target_tool_prefix=
8157 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8161 if test -n "$AR"; then
8163 elif test -n "$ac_cv_prog_AR"; then
8167 if test -n "$ac_cv_prog_AR"; then
8168 for ncn_progname in ar; do
8169 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8170 set dummy ${ncn_progname}; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8172 $as_echo_n "checking
for $ac_word...
" >&6; }
8173 if test "${ac_cv_prog_AR+set}" = set; then :
8174 $as_echo_n "(cached
) " >&6
8176 if test -n "$AR"; then
8177 ac_cv_prog_AR="$AR" # Let the user override the test.
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8186 ac_cv_prog_AR="${ncn_progname}"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8197 if test -n "$AR"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8199 $as_echo "$AR" >&6; }
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8202 $as_echo "no
" >&6; }
8209 for ncn_progname in ar; do
8210 if test -n "$ncn_tool_prefix"; then
8211 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8212 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8214 $as_echo_n "checking
for $ac_word...
" >&6; }
8215 if test "${ac_cv_prog_AR+set}" = set; then :
8216 $as_echo_n "(cached
) " >&6
8218 if test -n "$AR"; then
8219 ac_cv_prog_AR="$AR" # Let the user override the test.
8221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir=.
8226 for ac_exec_ext in '' $ac_executable_extensions; do
8227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8228 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8239 if test -n "$AR"; then
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8241 $as_echo "$AR" >&6; }
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8244 $as_echo "no
" >&6; }
8249 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8250 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8251 set dummy ${ncn_progname}; ac_word=$2
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8253 $as_echo_n "checking
for $ac_word...
" >&6; }
8254 if test "${ac_cv_prog_AR+set}" = set; then :
8255 $as_echo_n "(cached
) " >&6
8257 if test -n "$AR"; then
8258 ac_cv_prog_AR="$AR" # Let the user override the test.
8260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8264 test -z "$as_dir" && as_dir=.
8265 for ac_exec_ext in '' $ac_executable_extensions; do
8266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8267 ac_cv_prog_AR="${ncn_progname}"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8278 if test -n "$AR"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8280 $as_echo "$AR" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8283 $as_echo "no
" >&6; }
8288 test -n "$ac_cv_prog_AR" && break
8291 if test -z "$ac_cv_prog_AR" ; then
8293 if test $build = $host ; then
8296 AR="${ncn_tool_prefix}$2"
8302 if test -n "$AS"; then
8304 elif test -n "$ac_cv_prog_AS"; then
8308 if test -n "$ac_cv_prog_AS"; then
8309 for ncn_progname in as; do
8310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8311 set dummy ${ncn_progname}; ac_word=$2
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8313 $as_echo_n "checking
for $ac_word...
" >&6; }
8314 if test "${ac_cv_prog_AS+set}" = set; then :
8315 $as_echo_n "(cached
) " >&6
8317 if test -n "$AS"; then
8318 ac_cv_prog_AS="$AS" # Let the user override the test.
8320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8324 test -z "$as_dir" && as_dir=.
8325 for ac_exec_ext in '' $ac_executable_extensions; do
8326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8327 ac_cv_prog_AS="${ncn_progname}"
8328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8338 if test -n "$AS"; then
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8340 $as_echo "$AS" >&6; }
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8343 $as_echo "no
" >&6; }
8350 for ncn_progname in as; do
8351 if test -n "$ncn_tool_prefix"; then
8352 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8353 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8355 $as_echo_n "checking
for $ac_word...
" >&6; }
8356 if test "${ac_cv_prog_AS+set}" = set; then :
8357 $as_echo_n "(cached
) " >&6
8359 if test -n "$AS"; then
8360 ac_cv_prog_AS="$AS" # Let the user override the test.
8362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8366 test -z "$as_dir" && as_dir=.
8367 for ac_exec_ext in '' $ac_executable_extensions; do
8368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8369 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8380 if test -n "$AS"; then
8381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8382 $as_echo "$AS" >&6; }
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8385 $as_echo "no
" >&6; }
8390 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8391 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8392 set dummy ${ncn_progname}; ac_word=$2
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8394 $as_echo_n "checking
for $ac_word...
" >&6; }
8395 if test "${ac_cv_prog_AS+set}" = set; then :
8396 $as_echo_n "(cached
) " >&6
8398 if test -n "$AS"; then
8399 ac_cv_prog_AS="$AS" # Let the user override the test.
8401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir=.
8406 for ac_exec_ext in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_prog_AS="${ncn_progname}"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8419 if test -n "$AS"; then
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8421 $as_echo "$AS" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8424 $as_echo "no
" >&6; }
8429 test -n "$ac_cv_prog_AS" && break
8432 if test -z "$ac_cv_prog_AS" ; then
8434 if test $build = $host ; then
8437 AS="${ncn_tool_prefix}$2"
8443 if test -n "$DLLTOOL"; then
8444 ac_cv_prog_DLLTOOL=$DLLTOOL
8445 elif test -n "$ac_cv_prog_DLLTOOL"; then
8446 DLLTOOL=$ac_cv_prog_DLLTOOL
8449 if test -n "$ac_cv_prog_DLLTOOL"; then
8450 for ncn_progname in dlltool; do
8451 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8452 set dummy ${ncn_progname}; ac_word=$2
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8454 $as_echo_n "checking
for $ac_word...
" >&6; }
8455 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8456 $as_echo_n "(cached
) " >&6
8458 if test -n "$DLLTOOL"; then
8459 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8465 test -z "$as_dir" && as_dir=.
8466 for ac_exec_ext in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_prog_DLLTOOL="${ncn_progname}"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8478 DLLTOOL=$ac_cv_prog_DLLTOOL
8479 if test -n "$DLLTOOL"; then
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8481 $as_echo "$DLLTOOL" >&6; }
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8484 $as_echo "no
" >&6; }
8491 for ncn_progname in dlltool; do
8492 if test -n "$ncn_tool_prefix"; then
8493 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8494 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8496 $as_echo_n "checking
for $ac_word...
" >&6; }
8497 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8498 $as_echo_n "(cached
) " >&6
8500 if test -n "$DLLTOOL"; then
8501 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir=.
8508 for ac_exec_ext in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8520 DLLTOOL=$ac_cv_prog_DLLTOOL
8521 if test -n "$DLLTOOL"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8523 $as_echo "$DLLTOOL" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8526 $as_echo "no
" >&6; }
8531 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8532 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8533 set dummy ${ncn_progname}; ac_word=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8535 $as_echo_n "checking
for $ac_word...
" >&6; }
8536 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8537 $as_echo_n "(cached
) " >&6
8539 if test -n "$DLLTOOL"; then
8540 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8546 test -z "$as_dir" && as_dir=.
8547 for ac_exec_ext in '' $ac_executable_extensions; do
8548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8549 ac_cv_prog_DLLTOOL="${ncn_progname}"
8550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8559 DLLTOOL=$ac_cv_prog_DLLTOOL
8560 if test -n "$DLLTOOL"; then
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8562 $as_echo "$DLLTOOL" >&6; }
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8565 $as_echo "no
" >&6; }
8570 test -n "$ac_cv_prog_DLLTOOL" && break
8573 if test -z "$ac_cv_prog_DLLTOOL" ; then
8575 if test $build = $host ; then
8578 DLLTOOL="${ncn_tool_prefix}$2"
8584 if test -n "$LD"; then
8586 elif test -n "$ac_cv_prog_LD"; then
8590 if test -n "$ac_cv_prog_LD"; then
8591 for ncn_progname in ld; do
8592 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8593 set dummy ${ncn_progname}; ac_word=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8595 $as_echo_n "checking
for $ac_word...
" >&6; }
8596 if test "${ac_cv_prog_LD+set}" = set; then :
8597 $as_echo_n "(cached
) " >&6
8599 if test -n "$LD"; then
8600 ac_cv_prog_LD="$LD" # Let the user override the test.
8602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8606 test -z "$as_dir" && as_dir=.
8607 for ac_exec_ext in '' $ac_executable_extensions; do
8608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8609 ac_cv_prog_LD="${ncn_progname}"
8610 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8620 if test -n "$LD"; then
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8622 $as_echo "$LD" >&6; }
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8625 $as_echo "no
" >&6; }
8632 for ncn_progname in ld; do
8633 if test -n "$ncn_tool_prefix"; then
8634 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8635 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8637 $as_echo_n "checking
for $ac_word...
" >&6; }
8638 if test "${ac_cv_prog_LD+set}" = set; then :
8639 $as_echo_n "(cached
) " >&6
8641 if test -n "$LD"; then
8642 ac_cv_prog_LD="$LD" # Let the user override the test.
8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8648 test -z "$as_dir" && as_dir=.
8649 for ac_exec_ext in '' $ac_executable_extensions; do
8650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8651 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8662 if test -n "$LD"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8664 $as_echo "$LD" >&6; }
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8667 $as_echo "no
" >&6; }
8672 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8673 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8674 set dummy ${ncn_progname}; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8676 $as_echo_n "checking
for $ac_word...
" >&6; }
8677 if test "${ac_cv_prog_LD+set}" = set; then :
8678 $as_echo_n "(cached
) " >&6
8680 if test -n "$LD"; then
8681 ac_cv_prog_LD="$LD" # Let the user override the test.
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8687 test -z "$as_dir" && as_dir=.
8688 for ac_exec_ext in '' $ac_executable_extensions; do
8689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690 ac_cv_prog_LD="${ncn_progname}"
8691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8701 if test -n "$LD"; then
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8703 $as_echo "$LD" >&6; }
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8706 $as_echo "no
" >&6; }
8711 test -n "$ac_cv_prog_LD" && break
8714 if test -z "$ac_cv_prog_LD" ; then
8716 if test $build = $host ; then
8719 LD="${ncn_tool_prefix}$2"
8725 if test -n "$LIPO"; then
8726 ac_cv_prog_LIPO=$LIPO
8727 elif test -n "$ac_cv_prog_LIPO"; then
8728 LIPO=$ac_cv_prog_LIPO
8731 if test -n "$ac_cv_prog_LIPO"; then
8732 for ncn_progname in lipo; do
8733 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8734 set dummy ${ncn_progname}; ac_word=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8736 $as_echo_n "checking
for $ac_word...
" >&6; }
8737 if test "${ac_cv_prog_LIPO+set}" = set; then :
8738 $as_echo_n "(cached
) " >&6
8740 if test -n "$LIPO"; then
8741 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8747 test -z "$as_dir" && as_dir=.
8748 for ac_exec_ext in '' $ac_executable_extensions; do
8749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8750 ac_cv_prog_LIPO="${ncn_progname}"
8751 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8760 LIPO=$ac_cv_prog_LIPO
8761 if test -n "$LIPO"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8763 $as_echo "$LIPO" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8766 $as_echo "no
" >&6; }
8773 for ncn_progname in lipo; do
8774 if test -n "$ncn_tool_prefix"; then
8775 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8776 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8778 $as_echo_n "checking
for $ac_word...
" >&6; }
8779 if test "${ac_cv_prog_LIPO+set}" = set; then :
8780 $as_echo_n "(cached
) " >&6
8782 if test -n "$LIPO"; then
8783 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir=.
8790 for ac_exec_ext in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8802 LIPO=$ac_cv_prog_LIPO
8803 if test -n "$LIPO"; then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8805 $as_echo "$LIPO" >&6; }
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8808 $as_echo "no
" >&6; }
8813 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8815 set dummy ${ncn_progname}; ac_word=$2
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8817 $as_echo_n "checking
for $ac_word...
" >&6; }
8818 if test "${ac_cv_prog_LIPO+set}" = set; then :
8819 $as_echo_n "(cached
) " >&6
8821 if test -n "$LIPO"; then
8822 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8828 test -z "$as_dir" && as_dir=.
8829 for ac_exec_ext in '' $ac_executable_extensions; do
8830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8831 ac_cv_prog_LIPO="${ncn_progname}"
8832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8841 LIPO=$ac_cv_prog_LIPO
8842 if test -n "$LIPO"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8844 $as_echo "$LIPO" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8847 $as_echo "no
" >&6; }
8852 test -n "$ac_cv_prog_LIPO" && break
8855 if test -z "$ac_cv_prog_LIPO" ; then
8857 if test $build = $host ; then
8860 LIPO="${ncn_tool_prefix}$2"
8866 if test -n "$NM"; then
8868 elif test -n "$ac_cv_prog_NM"; then
8872 if test -n "$ac_cv_prog_NM"; then
8873 for ncn_progname in nm; do
8874 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8875 set dummy ${ncn_progname}; ac_word=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8877 $as_echo_n "checking
for $ac_word...
" >&6; }
8878 if test "${ac_cv_prog_NM+set}" = set; then :
8879 $as_echo_n "(cached
) " >&6
8881 if test -n "$NM"; then
8882 ac_cv_prog_NM="$NM" # Let the user override the test.
8884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8888 test -z "$as_dir" && as_dir=.
8889 for ac_exec_ext in '' $ac_executable_extensions; do
8890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8891 ac_cv_prog_NM="${ncn_progname}"
8892 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8902 if test -n "$NM"; then
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8904 $as_echo "$NM" >&6; }
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8907 $as_echo "no
" >&6; }
8914 for ncn_progname in nm; do
8915 if test -n "$ncn_tool_prefix"; then
8916 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8917 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8919 $as_echo_n "checking
for $ac_word...
" >&6; }
8920 if test "${ac_cv_prog_NM+set}" = set; then :
8921 $as_echo_n "(cached
) " >&6
8923 if test -n "$NM"; then
8924 ac_cv_prog_NM="$NM" # Let the user override the test.
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8933 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8944 if test -n "$NM"; then
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8946 $as_echo "$NM" >&6; }
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8949 $as_echo "no
" >&6; }
8954 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8956 set dummy ${ncn_progname}; ac_word=$2
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8958 $as_echo_n "checking
for $ac_word...
" >&6; }
8959 if test "${ac_cv_prog_NM+set}" = set; then :
8960 $as_echo_n "(cached
) " >&6
8962 if test -n "$NM"; then
8963 ac_cv_prog_NM="$NM" # Let the user override the test.
8965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969 test -z "$as_dir" && as_dir=.
8970 for ac_exec_ext in '' $ac_executable_extensions; do
8971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8972 ac_cv_prog_NM="${ncn_progname}"
8973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8983 if test -n "$NM"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8985 $as_echo "$NM" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8988 $as_echo "no
" >&6; }
8993 test -n "$ac_cv_prog_NM" && break
8996 if test -z "$ac_cv_prog_NM" ; then
8998 if test $build = $host ; then
9001 NM="${ncn_tool_prefix}$2"
9007 if test -n "$RANLIB"; then
9008 ac_cv_prog_RANLIB=$RANLIB
9009 elif test -n "$ac_cv_prog_RANLIB"; then
9010 RANLIB=$ac_cv_prog_RANLIB
9013 if test -n "$ac_cv_prog_RANLIB"; then
9014 for ncn_progname in ranlib; do
9015 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9016 set dummy ${ncn_progname}; ac_word=$2
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9018 $as_echo_n "checking
for $ac_word...
" >&6; }
9019 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9020 $as_echo_n "(cached
) " >&6
9022 if test -n "$RANLIB"; then
9023 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir=.
9030 for ac_exec_ext in '' $ac_executable_extensions; do
9031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9032 ac_cv_prog_RANLIB="${ncn_progname}"
9033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9042 RANLIB=$ac_cv_prog_RANLIB
9043 if test -n "$RANLIB"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9045 $as_echo "$RANLIB" >&6; }
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9048 $as_echo "no
" >&6; }
9055 for ncn_progname in ranlib; do
9056 if test -n "$ncn_tool_prefix"; then
9057 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9058 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9060 $as_echo_n "checking
for $ac_word...
" >&6; }
9061 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9062 $as_echo_n "(cached
) " >&6
9064 if test -n "$RANLIB"; then
9065 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9071 test -z "$as_dir" && as_dir=.
9072 for ac_exec_ext in '' $ac_executable_extensions; do
9073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9074 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9084 RANLIB=$ac_cv_prog_RANLIB
9085 if test -n "$RANLIB"; then
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9087 $as_echo "$RANLIB" >&6; }
9089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9090 $as_echo "no
" >&6; }
9095 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9096 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9097 set dummy ${ncn_progname}; ac_word=$2
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9099 $as_echo_n "checking
for $ac_word...
" >&6; }
9100 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9101 $as_echo_n "(cached
) " >&6
9103 if test -n "$RANLIB"; then
9104 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir=.
9111 for ac_exec_ext in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_prog_RANLIB="${ncn_progname}"
9114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9123 RANLIB=$ac_cv_prog_RANLIB
9124 if test -n "$RANLIB"; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9126 $as_echo "$RANLIB" >&6; }
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9129 $as_echo "no
" >&6; }
9134 test -n "$ac_cv_prog_RANLIB" && break
9137 if test -z "$ac_cv_prog_RANLIB" ; then
9143 if test -n "$STRIP"; then
9144 ac_cv_prog_STRIP=$STRIP
9145 elif test -n "$ac_cv_prog_STRIP"; then
9146 STRIP=$ac_cv_prog_STRIP
9149 if test -n "$ac_cv_prog_STRIP"; then
9150 for ncn_progname in strip; do
9151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9152 set dummy ${ncn_progname}; ac_word=$2
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9154 $as_echo_n "checking
for $ac_word...
" >&6; }
9155 if test "${ac_cv_prog_STRIP+set}" = set; then :
9156 $as_echo_n "(cached
) " >&6
9158 if test -n "$STRIP"; then
9159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 test -z "$as_dir" && as_dir=.
9166 for ac_exec_ext in '' $ac_executable_extensions; do
9167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9168 ac_cv_prog_STRIP="${ncn_progname}"
9169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9178 STRIP=$ac_cv_prog_STRIP
9179 if test -n "$STRIP"; then
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9181 $as_echo "$STRIP" >&6; }
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9184 $as_echo "no
" >&6; }
9191 for ncn_progname in strip; do
9192 if test -n "$ncn_tool_prefix"; then
9193 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9194 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9196 $as_echo_n "checking
for $ac_word...
" >&6; }
9197 if test "${ac_cv_prog_STRIP+set}" = set; then :
9198 $as_echo_n "(cached
) " >&6
9200 if test -n "$STRIP"; then
9201 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 test -z "$as_dir" && as_dir=.
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9210 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9211 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9220 STRIP=$ac_cv_prog_STRIP
9221 if test -n "$STRIP"; then
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9223 $as_echo "$STRIP" >&6; }
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9226 $as_echo "no
" >&6; }
9231 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9232 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9233 set dummy ${ncn_progname}; ac_word=$2
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9235 $as_echo_n "checking
for $ac_word...
" >&6; }
9236 if test "${ac_cv_prog_STRIP+set}" = set; then :
9237 $as_echo_n "(cached
) " >&6
9239 if test -n "$STRIP"; then
9240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9246 test -z "$as_dir" && as_dir=.
9247 for ac_exec_ext in '' $ac_executable_extensions; do
9248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9249 ac_cv_prog_STRIP="${ncn_progname}"
9250 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9259 STRIP=$ac_cv_prog_STRIP
9260 if test -n "$STRIP"; then
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9262 $as_echo "$STRIP" >&6; }
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9265 $as_echo "no
" >&6; }
9270 test -n "$ac_cv_prog_STRIP" && break
9273 if test -z "$ac_cv_prog_STRIP" ; then
9279 if test -n "$WINDRES"; then
9280 ac_cv_prog_WINDRES=$WINDRES
9281 elif test -n "$ac_cv_prog_WINDRES"; then
9282 WINDRES=$ac_cv_prog_WINDRES
9285 if test -n "$ac_cv_prog_WINDRES"; then
9286 for ncn_progname in windres; do
9287 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9288 set dummy ${ncn_progname}; ac_word=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9290 $as_echo_n "checking
for $ac_word...
" >&6; }
9291 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9292 $as_echo_n "(cached
) " >&6
9294 if test -n "$WINDRES"; then
9295 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9301 test -z "$as_dir" && as_dir=.
9302 for ac_exec_ext in '' $ac_executable_extensions; do
9303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9304 ac_cv_prog_WINDRES="${ncn_progname}"
9305 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9314 WINDRES=$ac_cv_prog_WINDRES
9315 if test -n "$WINDRES"; then
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9317 $as_echo "$WINDRES" >&6; }
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9320 $as_echo "no
" >&6; }
9327 for ncn_progname in windres; do
9328 if test -n "$ncn_tool_prefix"; then
9329 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9330 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9332 $as_echo_n "checking
for $ac_word...
" >&6; }
9333 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9334 $as_echo_n "(cached
) " >&6
9336 if test -n "$WINDRES"; then
9337 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9343 test -z "$as_dir" && as_dir=.
9344 for ac_exec_ext in '' $ac_executable_extensions; do
9345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9346 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9347 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9356 WINDRES=$ac_cv_prog_WINDRES
9357 if test -n "$WINDRES"; then
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9359 $as_echo "$WINDRES" >&6; }
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9362 $as_echo "no
" >&6; }
9367 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9368 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9369 set dummy ${ncn_progname}; ac_word=$2
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9371 $as_echo_n "checking
for $ac_word...
" >&6; }
9372 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9373 $as_echo_n "(cached
) " >&6
9375 if test -n "$WINDRES"; then
9376 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir=.
9383 for ac_exec_ext in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_prog_WINDRES="${ncn_progname}"
9386 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9395 WINDRES=$ac_cv_prog_WINDRES
9396 if test -n "$WINDRES"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9398 $as_echo "$WINDRES" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9401 $as_echo "no
" >&6; }
9406 test -n "$ac_cv_prog_WINDRES" && break
9409 if test -z "$ac_cv_prog_WINDRES" ; then
9411 if test $build = $host ; then
9414 WINDRES="${ncn_tool_prefix}$2"
9420 if test -n "$WINDMC"; then
9421 ac_cv_prog_WINDMC=$WINDMC
9422 elif test -n "$ac_cv_prog_WINDMC"; then
9423 WINDMC=$ac_cv_prog_WINDMC
9426 if test -n "$ac_cv_prog_WINDMC"; then
9427 for ncn_progname in windmc; do
9428 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9429 set dummy ${ncn_progname}; ac_word=$2
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9431 $as_echo_n "checking
for $ac_word...
" >&6; }
9432 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9433 $as_echo_n "(cached
) " >&6
9435 if test -n "$WINDMC"; then
9436 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9442 test -z "$as_dir" && as_dir=.
9443 for ac_exec_ext in '' $ac_executable_extensions; do
9444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9445 ac_cv_prog_WINDMC="${ncn_progname}"
9446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9455 WINDMC=$ac_cv_prog_WINDMC
9456 if test -n "$WINDMC"; then
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9458 $as_echo "$WINDMC" >&6; }
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9461 $as_echo "no
" >&6; }
9468 for ncn_progname in windmc; do
9469 if test -n "$ncn_tool_prefix"; then
9470 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9471 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9473 $as_echo_n "checking
for $ac_word...
" >&6; }
9474 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9475 $as_echo_n "(cached
) " >&6
9477 if test -n "$WINDMC"; then
9478 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9484 test -z "$as_dir" && as_dir=.
9485 for ac_exec_ext in '' $ac_executable_extensions; do
9486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9487 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9497 WINDMC=$ac_cv_prog_WINDMC
9498 if test -n "$WINDMC"; then
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9500 $as_echo "$WINDMC" >&6; }
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9503 $as_echo "no
" >&6; }
9508 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9510 set dummy ${ncn_progname}; ac_word=$2
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9512 $as_echo_n "checking
for $ac_word...
" >&6; }
9513 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9514 $as_echo_n "(cached
) " >&6
9516 if test -n "$WINDMC"; then
9517 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9523 test -z "$as_dir" && as_dir=.
9524 for ac_exec_ext in '' $ac_executable_extensions; do
9525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9526 ac_cv_prog_WINDMC="${ncn_progname}"
9527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9536 WINDMC=$ac_cv_prog_WINDMC
9537 if test -n "$WINDMC"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9539 $as_echo "$WINDMC" >&6; }
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9542 $as_echo "no
" >&6; }
9547 test -n "$ac_cv_prog_WINDMC" && break
9550 if test -z "$ac_cv_prog_WINDMC" ; then
9552 if test $build = $host ; then
9555 WINDMC="${ncn_tool_prefix}$2"
9561 if test -n "$OBJCOPY"; then
9562 ac_cv_prog_OBJCOPY=$OBJCOPY
9563 elif test -n "$ac_cv_prog_OBJCOPY"; then
9564 OBJCOPY=$ac_cv_prog_OBJCOPY
9567 if test -n "$ac_cv_prog_OBJCOPY"; then
9568 for ncn_progname in objcopy; do
9569 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9570 set dummy ${ncn_progname}; ac_word=$2
9571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9572 $as_echo_n "checking
for $ac_word...
" >&6; }
9573 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9574 $as_echo_n "(cached
) " >&6
9576 if test -n "$OBJCOPY"; then
9577 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9583 test -z "$as_dir" && as_dir=.
9584 for ac_exec_ext in '' $ac_executable_extensions; do
9585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9586 ac_cv_prog_OBJCOPY="${ncn_progname}"
9587 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9596 OBJCOPY=$ac_cv_prog_OBJCOPY
9597 if test -n "$OBJCOPY"; then
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9599 $as_echo "$OBJCOPY" >&6; }
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9602 $as_echo "no
" >&6; }
9609 for ncn_progname in objcopy; do
9610 if test -n "$ncn_tool_prefix"; then
9611 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9612 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9614 $as_echo_n "checking
for $ac_word...
" >&6; }
9615 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9616 $as_echo_n "(cached
) " >&6
9618 if test -n "$OBJCOPY"; then
9619 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9625 test -z "$as_dir" && as_dir=.
9626 for ac_exec_ext in '' $ac_executable_extensions; do
9627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9628 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9629 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9638 OBJCOPY=$ac_cv_prog_OBJCOPY
9639 if test -n "$OBJCOPY"; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9641 $as_echo "$OBJCOPY" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9644 $as_echo "no
" >&6; }
9649 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9651 set dummy ${ncn_progname}; ac_word=$2
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9653 $as_echo_n "checking
for $ac_word...
" >&6; }
9654 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9655 $as_echo_n "(cached
) " >&6
9657 if test -n "$OBJCOPY"; then
9658 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9664 test -z "$as_dir" && as_dir=.
9665 for ac_exec_ext in '' $ac_executable_extensions; do
9666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9667 ac_cv_prog_OBJCOPY="${ncn_progname}"
9668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9677 OBJCOPY=$ac_cv_prog_OBJCOPY
9678 if test -n "$OBJCOPY"; then
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9680 $as_echo "$OBJCOPY" >&6; }
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9683 $as_echo "no
" >&6; }
9688 test -n "$ac_cv_prog_OBJCOPY" && break
9691 if test -z "$ac_cv_prog_OBJCOPY" ; then
9693 if test $build = $host ; then
9696 OBJCOPY="${ncn_tool_prefix}$2"
9702 if test -n "$OBJDUMP"; then
9703 ac_cv_prog_OBJDUMP=$OBJDUMP
9704 elif test -n "$ac_cv_prog_OBJDUMP"; then
9705 OBJDUMP=$ac_cv_prog_OBJDUMP
9708 if test -n "$ac_cv_prog_OBJDUMP"; then
9709 for ncn_progname in objdump; do
9710 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9711 set dummy ${ncn_progname}; ac_word=$2
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9713 $as_echo_n "checking
for $ac_word...
" >&6; }
9714 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9715 $as_echo_n "(cached
) " >&6
9717 if test -n "$OBJDUMP"; then
9718 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9724 test -z "$as_dir" && as_dir=.
9725 for ac_exec_ext in '' $ac_executable_extensions; do
9726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9727 ac_cv_prog_OBJDUMP="${ncn_progname}"
9728 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9737 OBJDUMP=$ac_cv_prog_OBJDUMP
9738 if test -n "$OBJDUMP"; then
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9740 $as_echo "$OBJDUMP" >&6; }
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9743 $as_echo "no
" >&6; }
9750 for ncn_progname in objdump; do
9751 if test -n "$ncn_tool_prefix"; then
9752 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9753 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9755 $as_echo_n "checking
for $ac_word...
" >&6; }
9756 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9757 $as_echo_n "(cached
) " >&6
9759 if test -n "$OBJDUMP"; then
9760 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 test -z "$as_dir" && as_dir=.
9767 for ac_exec_ext in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9779 OBJDUMP=$ac_cv_prog_OBJDUMP
9780 if test -n "$OBJDUMP"; then
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9782 $as_echo "$OBJDUMP" >&6; }
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9785 $as_echo "no
" >&6; }
9790 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9792 set dummy ${ncn_progname}; ac_word=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9794 $as_echo_n "checking
for $ac_word...
" >&6; }
9795 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9796 $as_echo_n "(cached
) " >&6
9798 if test -n "$OBJDUMP"; then
9799 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir=.
9806 for ac_exec_ext in '' $ac_executable_extensions; do
9807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9808 ac_cv_prog_OBJDUMP="${ncn_progname}"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9818 OBJDUMP=$ac_cv_prog_OBJDUMP
9819 if test -n "$OBJDUMP"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9821 $as_echo "$OBJDUMP" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9824 $as_echo "no
" >&6; }
9829 test -n "$ac_cv_prog_OBJDUMP" && break
9832 if test -z "$ac_cv_prog_OBJDUMP" ; then
9834 if test $build = $host ; then
9837 OBJDUMP="${ncn_tool_prefix}$2"
9843 if test -n "$READELF"; then
9844 ac_cv_prog_READELF=$READELF
9845 elif test -n "$ac_cv_prog_READELF"; then
9846 READELF=$ac_cv_prog_READELF
9849 if test -n "$ac_cv_prog_READELF"; then
9850 for ncn_progname in readelf; do
9851 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9852 set dummy ${ncn_progname}; ac_word=$2
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9854 $as_echo_n "checking
for $ac_word...
" >&6; }
9855 if test "${ac_cv_prog_READELF+set}" = set; then :
9856 $as_echo_n "(cached
) " >&6
9858 if test -n "$READELF"; then
9859 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 test -z "$as_dir" && as_dir=.
9866 for ac_exec_ext in '' $ac_executable_extensions; do
9867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9868 ac_cv_prog_READELF="${ncn_progname}"
9869 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9878 READELF=$ac_cv_prog_READELF
9879 if test -n "$READELF"; then
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9881 $as_echo "$READELF" >&6; }
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9884 $as_echo "no
" >&6; }
9891 for ncn_progname in readelf; do
9892 if test -n "$ncn_tool_prefix"; then
9893 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9894 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9896 $as_echo_n "checking
for $ac_word...
" >&6; }
9897 if test "${ac_cv_prog_READELF+set}" = set; then :
9898 $as_echo_n "(cached
) " >&6
9900 if test -n "$READELF"; then
9901 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9907 test -z "$as_dir" && as_dir=.
9908 for ac_exec_ext in '' $ac_executable_extensions; do
9909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9910 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9911 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9920 READELF=$ac_cv_prog_READELF
9921 if test -n "$READELF"; then
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9923 $as_echo "$READELF" >&6; }
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9926 $as_echo "no
" >&6; }
9931 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9932 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9933 set dummy ${ncn_progname}; ac_word=$2
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9935 $as_echo_n "checking
for $ac_word...
" >&6; }
9936 if test "${ac_cv_prog_READELF+set}" = set; then :
9937 $as_echo_n "(cached
) " >&6
9939 if test -n "$READELF"; then
9940 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9946 test -z "$as_dir" && as_dir=.
9947 for ac_exec_ext in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_prog_READELF="${ncn_progname}"
9950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9959 READELF=$ac_cv_prog_READELF
9960 if test -n "$READELF"; then
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9962 $as_echo "$READELF" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9965 $as_echo "no
" >&6; }
9970 test -n "$ac_cv_prog_READELF" && break
9973 if test -z "$ac_cv_prog_READELF" ; then
9975 if test $build = $host ; then
9978 READELF="${ncn_tool_prefix}$2"
9989 # Check whether --with-build-time-tools was given.
9990 if test "${with_build_time_tools+set}" = set; then :
9991 withval=$with_build_time_tools; case x"$withval" in
9994 with_build_time_tools=
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9996 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
10000 with_build_time_tools=
10006 if test -n "$CC_FOR_TARGET"; then
10007 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
10008 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10009 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10012 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
10013 for ncn_progname in cc gcc; do
10014 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10015 set dummy ${ncn_progname}; ac_word=$2
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10017 $as_echo_n "checking
for $ac_word...
" >&6; }
10018 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10019 $as_echo_n "(cached
) " >&6
10021 if test -n "$CC_FOR_TARGET"; then
10022 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10031 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10041 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10042 if test -n "$CC_FOR_TARGET"; then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10044 $as_echo "$CC_FOR_TARGET" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10047 $as_echo "no
" >&6; }
10054 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10055 for ncn_progname in cc gcc; do
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10057 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10058 if test -x $with_build_time_tools/${ncn_progname}; then
10059 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10061 $as_echo "yes" >&6; }
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10065 $as_echo "no
" >&6; }
10070 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10071 for ncn_progname in cc gcc; do
10072 if test -n "$ncn_target_tool_prefix"; then
10073 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10074 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10076 $as_echo_n "checking
for $ac_word...
" >&6; }
10077 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10078 $as_echo_n "(cached
) " >&6
10080 if test -n "$CC_FOR_TARGET"; then
10081 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in $PATH
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10100 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10101 if test -n "$CC_FOR_TARGET"; then
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10103 $as_echo "$CC_FOR_TARGET" >&6; }
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10106 $as_echo "no
" >&6; }
10111 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10112 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10113 set dummy ${ncn_progname}; ac_word=$2
10114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10115 $as_echo_n "checking
for $ac_word...
" >&6; }
10116 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
10117 $as_echo_n "(cached
) " >&6
10119 if test -n "$CC_FOR_TARGET"; then
10120 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123 for as_dir in $PATH
10126 test -z "$as_dir" && as_dir=.
10127 for ac_exec_ext in '' $ac_executable_extensions; do
10128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10129 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10130 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10139 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10140 if test -n "$CC_FOR_TARGET"; then
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10142 $as_echo "$CC_FOR_TARGET" >&6; }
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10145 $as_echo "no
" >&6; }
10150 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10154 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10156 if test $build = $target ; then
10159 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10162 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10167 if test -n "$CXX_FOR_TARGET"; then
10168 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10169 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10170 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10173 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10174 for ncn_progname in c++ g++ cxx gxx; do
10175 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10176 set dummy ${ncn_progname}; ac_word=$2
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10178 $as_echo_n "checking
for $ac_word...
" >&6; }
10179 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10180 $as_echo_n "(cached
) " >&6
10182 if test -n "$CXX_FOR_TARGET"; then
10183 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10186 for as_dir in $PATH
10189 test -z "$as_dir" && as_dir=.
10190 for ac_exec_ext in '' $ac_executable_extensions; do
10191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10192 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10202 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10203 if test -n "$CXX_FOR_TARGET"; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10205 $as_echo "$CXX_FOR_TARGET" >&6; }
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10208 $as_echo "no
" >&6; }
10215 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10216 for ncn_progname in c++ g++ cxx gxx; do
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10218 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10219 if test -x $with_build_time_tools/${ncn_progname}; then
10220 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10222 $as_echo "yes" >&6; }
10225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10226 $as_echo "no
" >&6; }
10231 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10232 for ncn_progname in c++ g++ cxx gxx; do
10233 if test -n "$ncn_target_tool_prefix"; then
10234 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10235 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10237 $as_echo_n "checking
for $ac_word...
" >&6; }
10238 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10239 $as_echo_n "(cached
) " >&6
10241 if test -n "$CXX_FOR_TARGET"; then
10242 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10245 for as_dir in $PATH
10248 test -z "$as_dir" && as_dir=.
10249 for ac_exec_ext in '' $ac_executable_extensions; do
10250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10251 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10261 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10262 if test -n "$CXX_FOR_TARGET"; then
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10264 $as_echo "$CXX_FOR_TARGET" >&6; }
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10267 $as_echo "no
" >&6; }
10272 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10273 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10274 set dummy ${ncn_progname}; ac_word=$2
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10276 $as_echo_n "checking
for $ac_word...
" >&6; }
10277 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10278 $as_echo_n "(cached
) " >&6
10280 if test -n "$CXX_FOR_TARGET"; then
10281 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10284 for as_dir in $PATH
10287 test -z "$as_dir" && as_dir=.
10288 for ac_exec_ext in '' $ac_executable_extensions; do
10289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10290 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10300 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10301 if test -n "$CXX_FOR_TARGET"; then
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10303 $as_echo "$CXX_FOR_TARGET" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10306 $as_echo "no
" >&6; }
10311 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10315 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10316 set dummy c++ g++ cxx gxx
10317 if test $build = $target ; then
10318 CXX_FOR_TARGET="$2"
10320 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10323 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10328 if test -n "$GCC_FOR_TARGET"; then
10329 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10330 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10331 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10334 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10335 for ncn_progname in gcc; do
10336 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10337 set dummy ${ncn_progname}; ac_word=$2
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10339 $as_echo_n "checking
for $ac_word...
" >&6; }
10340 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10341 $as_echo_n "(cached
) " >&6
10343 if test -n "$GCC_FOR_TARGET"; then
10344 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10347 for as_dir in $PATH
10350 test -z "$as_dir" && as_dir=.
10351 for ac_exec_ext in '' $ac_executable_extensions; do
10352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10353 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10354 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10363 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10364 if test -n "$GCC_FOR_TARGET"; then
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10366 $as_echo "$GCC_FOR_TARGET" >&6; }
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10369 $as_echo "no
" >&6; }
10376 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10377 for ncn_progname in gcc; do
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10379 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10380 if test -x $with_build_time_tools/${ncn_progname}; then
10381 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10383 $as_echo "yes" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10387 $as_echo "no
" >&6; }
10392 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10393 for ncn_progname in gcc; do
10394 if test -n "$ncn_target_tool_prefix"; then
10395 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10396 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10398 $as_echo_n "checking
for $ac_word...
" >&6; }
10399 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10400 $as_echo_n "(cached
) " >&6
10402 if test -n "$GCC_FOR_TARGET"; then
10403 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10409 test -z "$as_dir" && as_dir=.
10410 for ac_exec_ext in '' $ac_executable_extensions; do
10411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10412 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10422 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10423 if test -n "$GCC_FOR_TARGET"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10425 $as_echo "$GCC_FOR_TARGET" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10428 $as_echo "no
" >&6; }
10433 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10435 set dummy ${ncn_progname}; ac_word=$2
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10437 $as_echo_n "checking
for $ac_word...
" >&6; }
10438 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10439 $as_echo_n "(cached
) " >&6
10441 if test -n "$GCC_FOR_TARGET"; then
10442 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10445 for as_dir in $PATH
10448 test -z "$as_dir" && as_dir=.
10449 for ac_exec_ext in '' $ac_executable_extensions; do
10450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10451 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10461 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10462 if test -n "$GCC_FOR_TARGET"; then
10463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10464 $as_echo "$GCC_FOR_TARGET" >&6; }
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10467 $as_echo "no
" >&6; }
10472 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10476 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10477 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10479 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10484 if test -n "$GCJ_FOR_TARGET"; then
10485 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10486 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10487 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10490 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10491 for ncn_progname in gcj; do
10492 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10493 set dummy ${ncn_progname}; ac_word=$2
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10495 $as_echo_n "checking
for $ac_word...
" >&6; }
10496 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10497 $as_echo_n "(cached
) " >&6
10499 if test -n "$GCJ_FOR_TARGET"; then
10500 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503 for as_dir in $PATH
10506 test -z "$as_dir" && as_dir=.
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10509 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10519 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10520 if test -n "$GCJ_FOR_TARGET"; then
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10522 $as_echo "$GCJ_FOR_TARGET" >&6; }
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10525 $as_echo "no
" >&6; }
10532 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10533 for ncn_progname in gcj; do
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10535 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10536 if test -x $with_build_time_tools/${ncn_progname}; then
10537 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10539 $as_echo "yes" >&6; }
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10543 $as_echo "no
" >&6; }
10548 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10549 for ncn_progname in gcj; do
10550 if test -n "$ncn_target_tool_prefix"; then
10551 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10552 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10554 $as_echo_n "checking
for $ac_word...
" >&6; }
10555 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10556 $as_echo_n "(cached
) " >&6
10558 if test -n "$GCJ_FOR_TARGET"; then
10559 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10562 for as_dir in $PATH
10565 test -z "$as_dir" && as_dir=.
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10568 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10569 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10578 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10579 if test -n "$GCJ_FOR_TARGET"; then
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10581 $as_echo "$GCJ_FOR_TARGET" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10584 $as_echo "no
" >&6; }
10589 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10590 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10591 set dummy ${ncn_progname}; ac_word=$2
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10593 $as_echo_n "checking
for $ac_word...
" >&6; }
10594 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10595 $as_echo_n "(cached
) " >&6
10597 if test -n "$GCJ_FOR_TARGET"; then
10598 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10601 for as_dir in $PATH
10604 test -z "$as_dir" && as_dir=.
10605 for ac_exec_ext in '' $ac_executable_extensions; do
10606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10607 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10617 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10618 if test -n "$GCJ_FOR_TARGET"; then
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10620 $as_echo "$GCJ_FOR_TARGET" >&6; }
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10623 $as_echo "no
" >&6; }
10628 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10632 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10634 if test $build = $target ; then
10635 GCJ_FOR_TARGET="$2"
10637 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10640 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10645 if test -n "$GFORTRAN_FOR_TARGET"; then
10646 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10647 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10648 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10651 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10652 for ncn_progname in gfortran; do
10653 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10654 set dummy ${ncn_progname}; ac_word=$2
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10656 $as_echo_n "checking
for $ac_word...
" >&6; }
10657 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10658 $as_echo_n "(cached
) " >&6
10660 if test -n "$GFORTRAN_FOR_TARGET"; then
10661 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10664 for as_dir in $PATH
10667 test -z "$as_dir" && as_dir=.
10668 for ac_exec_ext in '' $ac_executable_extensions; do
10669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10670 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10680 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10681 if test -n "$GFORTRAN_FOR_TARGET"; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10683 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10686 $as_echo "no
" >&6; }
10693 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10694 for ncn_progname in gfortran; do
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10696 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10697 if test -x $with_build_time_tools/${ncn_progname}; then
10698 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10700 $as_echo "yes" >&6; }
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10704 $as_echo "no
" >&6; }
10709 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10710 for ncn_progname in gfortran; do
10711 if test -n "$ncn_target_tool_prefix"; then
10712 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10713 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10715 $as_echo_n "checking
for $ac_word...
" >&6; }
10716 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10717 $as_echo_n "(cached
) " >&6
10719 if test -n "$GFORTRAN_FOR_TARGET"; then
10720 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10723 for as_dir in $PATH
10726 test -z "$as_dir" && as_dir=.
10727 for ac_exec_ext in '' $ac_executable_extensions; do
10728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10729 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10739 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10740 if test -n "$GFORTRAN_FOR_TARGET"; then
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10742 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10745 $as_echo "no
" >&6; }
10750 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10751 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10752 set dummy ${ncn_progname}; ac_word=$2
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10754 $as_echo_n "checking
for $ac_word...
" >&6; }
10755 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10756 $as_echo_n "(cached
) " >&6
10758 if test -n "$GFORTRAN_FOR_TARGET"; then
10759 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10762 for as_dir in $PATH
10765 test -z "$as_dir" && as_dir=.
10766 for ac_exec_ext in '' $ac_executable_extensions; do
10767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10768 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10769 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10778 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10779 if test -n "$GFORTRAN_FOR_TARGET"; then
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10781 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10784 $as_echo "no
" >&6; }
10789 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10793 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10795 if test $build = $target ; then
10796 GFORTRAN_FOR_TARGET="$2"
10798 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10801 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10806 if test -n "$GOC_FOR_TARGET"; then
10807 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10808 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10809 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10812 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10813 for ncn_progname in gccgo; do
10814 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10815 set dummy ${ncn_progname}; ac_word=$2
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10817 $as_echo_n "checking
for $ac_word...
" >&6; }
10818 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10819 $as_echo_n "(cached
) " >&6
10821 if test -n "$GOC_FOR_TARGET"; then
10822 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10825 for as_dir in $PATH
10828 test -z "$as_dir" && as_dir=.
10829 for ac_exec_ext in '' $ac_executable_extensions; do
10830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10831 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10841 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10842 if test -n "$GOC_FOR_TARGET"; then
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10844 $as_echo "$GOC_FOR_TARGET" >&6; }
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10847 $as_echo "no
" >&6; }
10854 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10855 for ncn_progname in gccgo; do
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10857 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10858 if test -x $with_build_time_tools/${ncn_progname}; then
10859 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10861 $as_echo "yes" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10865 $as_echo "no
" >&6; }
10870 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10871 for ncn_progname in gccgo; do
10872 if test -n "$ncn_target_tool_prefix"; then
10873 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10874 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10876 $as_echo_n "checking
for $ac_word...
" >&6; }
10877 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10878 $as_echo_n "(cached
) " >&6
10880 if test -n "$GOC_FOR_TARGET"; then
10881 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10884 for as_dir in $PATH
10887 test -z "$as_dir" && as_dir=.
10888 for ac_exec_ext in '' $ac_executable_extensions; do
10889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10890 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10900 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10901 if test -n "$GOC_FOR_TARGET"; then
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10903 $as_echo "$GOC_FOR_TARGET" >&6; }
10905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10906 $as_echo "no
" >&6; }
10911 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10912 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10913 set dummy ${ncn_progname}; ac_word=$2
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10915 $as_echo_n "checking
for $ac_word...
" >&6; }
10916 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10917 $as_echo_n "(cached
) " >&6
10919 if test -n "$GOC_FOR_TARGET"; then
10920 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10923 for as_dir in $PATH
10926 test -z "$as_dir" && as_dir=.
10927 for ac_exec_ext in '' $ac_executable_extensions; do
10928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10929 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10930 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10939 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10940 if test -n "$GOC_FOR_TARGET"; then
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10942 $as_echo "$GOC_FOR_TARGET" >&6; }
10944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10945 $as_echo "no
" >&6; }
10950 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10954 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10956 if test $build = $target ; then
10957 GOC_FOR_TARGET="$2"
10959 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10962 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10967 cat > conftest.c << \EOF
10972 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10973 have_gcc_for_target=yes
10975 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10976 have_gcc_for_target=no
10983 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10984 if test -n "$with_build_time_tools"; then
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10986 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10987 if test -x $with_build_time_tools/ar; then
10988 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10989 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10991 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10994 $as_echo "no
" >&6; }
10996 elif test $build != $host && test $have_gcc_for_target = yes; then
10997 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10998 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10999 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
11002 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11003 # Extract the first word of "ar", so it can be a program name with args.
11004 set dummy ar; ac_word=$2
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11006 $as_echo_n "checking
for $ac_word...
" >&6; }
11007 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
11008 $as_echo_n "(cached
) " >&6
11010 case $AR_FOR_TARGET in
11012 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
11015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11016 for as_dir in $gcc_cv_tool_dirs
11019 test -z "$as_dir" && as_dir=.
11020 for ac_exec_ext in '' $ac_executable_extensions; do
11021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11022 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11023 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11033 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11034 if test -n "$AR_FOR_TARGET"; then
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11036 $as_echo "$AR_FOR_TARGET" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11039 $as_echo "no
" >&6; }
11044 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11047 if test -n "$AR_FOR_TARGET"; then
11048 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11049 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11050 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11053 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11054 for ncn_progname in ar; do
11055 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11056 set dummy ${ncn_progname}; ac_word=$2
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11058 $as_echo_n "checking
for $ac_word...
" >&6; }
11059 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11060 $as_echo_n "(cached
) " >&6
11062 if test -n "$AR_FOR_TARGET"; then
11063 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11066 for as_dir in $PATH
11069 test -z "$as_dir" && as_dir=.
11070 for ac_exec_ext in '' $ac_executable_extensions; do
11071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11072 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11082 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11083 if test -n "$AR_FOR_TARGET"; then
11084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11085 $as_echo "$AR_FOR_TARGET" >&6; }
11087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11088 $as_echo "no
" >&6; }
11095 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11096 for ncn_progname in ar; do
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11098 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11099 if test -x $with_build_time_tools/${ncn_progname}; then
11100 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11102 $as_echo "yes" >&6; }
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11106 $as_echo "no
" >&6; }
11111 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11112 for ncn_progname in ar; do
11113 if test -n "$ncn_target_tool_prefix"; then
11114 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11115 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11117 $as_echo_n "checking
for $ac_word...
" >&6; }
11118 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11119 $as_echo_n "(cached
) " >&6
11121 if test -n "$AR_FOR_TARGET"; then
11122 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11125 for as_dir in $PATH
11128 test -z "$as_dir" && as_dir=.
11129 for ac_exec_ext in '' $ac_executable_extensions; do
11130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11131 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11132 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11141 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11142 if test -n "$AR_FOR_TARGET"; then
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11144 $as_echo "$AR_FOR_TARGET" >&6; }
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11147 $as_echo "no
" >&6; }
11152 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11153 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11154 set dummy ${ncn_progname}; ac_word=$2
11155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11156 $as_echo_n "checking
for $ac_word...
" >&6; }
11157 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11158 $as_echo_n "(cached
) " >&6
11160 if test -n "$AR_FOR_TARGET"; then
11161 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11164 for as_dir in $PATH
11167 test -z "$as_dir" && as_dir=.
11168 for ac_exec_ext in '' $ac_executable_extensions; do
11169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11170 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11171 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11180 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11181 if test -n "$AR_FOR_TARGET"; then
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11183 $as_echo "$AR_FOR_TARGET" >&6; }
11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11186 $as_echo "no
" >&6; }
11191 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11195 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11197 if test $build = $target ; then
11200 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11203 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11207 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11213 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11214 if test -n "$with_build_time_tools"; then
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11216 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11217 if test -x $with_build_time_tools/as; then
11218 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11219 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11221 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11224 $as_echo "no
" >&6; }
11226 elif test $build != $host && test $have_gcc_for_target = yes; then
11227 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11228 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11229 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11232 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11233 # Extract the first word of "as
", so it can be a program name with args.
11234 set dummy as; ac_word=$2
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11236 $as_echo_n "checking
for $ac_word...
" >&6; }
11237 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11238 $as_echo_n "(cached
) " >&6
11240 case $AS_FOR_TARGET in
11242 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11246 for as_dir in $gcc_cv_tool_dirs
11249 test -z "$as_dir" && as_dir=.
11250 for ac_exec_ext in '' $ac_executable_extensions; do
11251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11252 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11253 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11263 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11264 if test -n "$AS_FOR_TARGET"; then
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11266 $as_echo "$AS_FOR_TARGET" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11269 $as_echo "no
" >&6; }
11274 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11277 if test -n "$AS_FOR_TARGET"; then
11278 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11279 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11280 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11283 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11284 for ncn_progname in as; do
11285 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11286 set dummy ${ncn_progname}; ac_word=$2
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11288 $as_echo_n "checking
for $ac_word...
" >&6; }
11289 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11290 $as_echo_n "(cached
) " >&6
11292 if test -n "$AS_FOR_TARGET"; then
11293 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11296 for as_dir in $PATH
11299 test -z "$as_dir" && as_dir=.
11300 for ac_exec_ext in '' $ac_executable_extensions; do
11301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11302 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11312 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11313 if test -n "$AS_FOR_TARGET"; then
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11315 $as_echo "$AS_FOR_TARGET" >&6; }
11317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11318 $as_echo "no
" >&6; }
11325 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11326 for ncn_progname in as; do
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11328 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11329 if test -x $with_build_time_tools/${ncn_progname}; then
11330 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11332 $as_echo "yes" >&6; }
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11336 $as_echo "no
" >&6; }
11341 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11342 for ncn_progname in as; do
11343 if test -n "$ncn_target_tool_prefix"; then
11344 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11345 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11347 $as_echo_n "checking
for $ac_word...
" >&6; }
11348 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11349 $as_echo_n "(cached
) " >&6
11351 if test -n "$AS_FOR_TARGET"; then
11352 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11355 for as_dir in $PATH
11358 test -z "$as_dir" && as_dir=.
11359 for ac_exec_ext in '' $ac_executable_extensions; do
11360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11361 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11362 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11371 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11372 if test -n "$AS_FOR_TARGET"; then
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11374 $as_echo "$AS_FOR_TARGET" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11377 $as_echo "no
" >&6; }
11382 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11383 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11384 set dummy ${ncn_progname}; ac_word=$2
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11386 $as_echo_n "checking
for $ac_word...
" >&6; }
11387 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11388 $as_echo_n "(cached
) " >&6
11390 if test -n "$AS_FOR_TARGET"; then
11391 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11394 for as_dir in $PATH
11397 test -z "$as_dir" && as_dir=.
11398 for ac_exec_ext in '' $ac_executable_extensions; do
11399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11400 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11401 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11410 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11411 if test -n "$AS_FOR_TARGET"; then
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11413 $as_echo "$AS_FOR_TARGET" >&6; }
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11416 $as_echo "no
" >&6; }
11421 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11425 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11427 if test $build = $target ; then
11430 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11433 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11437 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11443 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11444 if test -n "$with_build_time_tools"; then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11446 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11447 if test -x $with_build_time_tools/dlltool; then
11448 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11449 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11451 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11454 $as_echo "no
" >&6; }
11456 elif test $build != $host && test $have_gcc_for_target = yes; then
11457 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11458 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11459 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11462 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11463 # Extract the first word of "dlltool
", so it can be a program name with args.
11464 set dummy dlltool; ac_word=$2
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11466 $as_echo_n "checking
for $ac_word...
" >&6; }
11467 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11468 $as_echo_n "(cached
) " >&6
11470 case $DLLTOOL_FOR_TARGET in
11472 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11476 for as_dir in $gcc_cv_tool_dirs
11479 test -z "$as_dir" && as_dir=.
11480 for ac_exec_ext in '' $ac_executable_extensions; do
11481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11482 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11493 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11494 if test -n "$DLLTOOL_FOR_TARGET"; then
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11496 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11499 $as_echo "no
" >&6; }
11504 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11507 if test -n "$DLLTOOL_FOR_TARGET"; then
11508 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11509 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11510 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11513 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11514 for ncn_progname in dlltool; do
11515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11516 set dummy ${ncn_progname}; ac_word=$2
11517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11518 $as_echo_n "checking
for $ac_word...
" >&6; }
11519 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11520 $as_echo_n "(cached
) " >&6
11522 if test -n "$DLLTOOL_FOR_TARGET"; then
11523 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11532 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11542 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11543 if test -n "$DLLTOOL_FOR_TARGET"; then
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11545 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11548 $as_echo "no
" >&6; }
11555 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11556 for ncn_progname in dlltool; do
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11558 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11559 if test -x $with_build_time_tools/${ncn_progname}; then
11560 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11562 $as_echo "yes" >&6; }
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11566 $as_echo "no
" >&6; }
11571 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11572 for ncn_progname in dlltool; do
11573 if test -n "$ncn_target_tool_prefix"; then
11574 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11575 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11577 $as_echo_n "checking
for $ac_word...
" >&6; }
11578 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11579 $as_echo_n "(cached
) " >&6
11581 if test -n "$DLLTOOL_FOR_TARGET"; then
11582 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11585 for as_dir in $PATH
11588 test -z "$as_dir" && as_dir=.
11589 for ac_exec_ext in '' $ac_executable_extensions; do
11590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11591 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11601 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11602 if test -n "$DLLTOOL_FOR_TARGET"; then
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11604 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11607 $as_echo "no
" >&6; }
11612 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11613 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11614 set dummy ${ncn_progname}; ac_word=$2
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11616 $as_echo_n "checking
for $ac_word...
" >&6; }
11617 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11618 $as_echo_n "(cached
) " >&6
11620 if test -n "$DLLTOOL_FOR_TARGET"; then
11621 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11624 for as_dir in $PATH
11627 test -z "$as_dir" && as_dir=.
11628 for ac_exec_ext in '' $ac_executable_extensions; do
11629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11630 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11631 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11640 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11641 if test -n "$DLLTOOL_FOR_TARGET"; then
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11643 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11646 $as_echo "no
" >&6; }
11651 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11655 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11657 if test $build = $target ; then
11658 DLLTOOL_FOR_TARGET="$2"
11660 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11663 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11667 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11673 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11674 if test -n "$with_build_time_tools"; then
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11676 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11677 if test -x $with_build_time_tools/ld; then
11678 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11679 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11681 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11684 $as_echo "no
" >&6; }
11686 elif test $build != $host && test $have_gcc_for_target = yes; then
11687 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11688 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11689 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11692 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11693 # Extract the first word of "ld
", so it can be a program name with args.
11694 set dummy ld; ac_word=$2
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11696 $as_echo_n "checking
for $ac_word...
" >&6; }
11697 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11698 $as_echo_n "(cached
) " >&6
11700 case $LD_FOR_TARGET in
11702 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11706 for as_dir in $gcc_cv_tool_dirs
11709 test -z "$as_dir" && as_dir=.
11710 for ac_exec_ext in '' $ac_executable_extensions; do
11711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11712 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11713 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11723 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11724 if test -n "$LD_FOR_TARGET"; then
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11726 $as_echo "$LD_FOR_TARGET" >&6; }
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11729 $as_echo "no
" >&6; }
11734 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11737 if test -n "$LD_FOR_TARGET"; then
11738 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11739 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11740 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11743 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11744 for ncn_progname in ld; do
11745 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11746 set dummy ${ncn_progname}; ac_word=$2
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11748 $as_echo_n "checking
for $ac_word...
" >&6; }
11749 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11750 $as_echo_n "(cached
) " >&6
11752 if test -n "$LD_FOR_TARGET"; then
11753 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11756 for as_dir in $PATH
11759 test -z "$as_dir" && as_dir=.
11760 for ac_exec_ext in '' $ac_executable_extensions; do
11761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11762 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11772 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11773 if test -n "$LD_FOR_TARGET"; then
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11775 $as_echo "$LD_FOR_TARGET" >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11778 $as_echo "no
" >&6; }
11785 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11786 for ncn_progname in ld; do
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11788 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11789 if test -x $with_build_time_tools/${ncn_progname}; then
11790 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11792 $as_echo "yes" >&6; }
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11796 $as_echo "no
" >&6; }
11801 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11802 for ncn_progname in ld; do
11803 if test -n "$ncn_target_tool_prefix"; then
11804 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11805 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11807 $as_echo_n "checking
for $ac_word...
" >&6; }
11808 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11809 $as_echo_n "(cached
) " >&6
11811 if test -n "$LD_FOR_TARGET"; then
11812 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11815 for as_dir in $PATH
11818 test -z "$as_dir" && as_dir=.
11819 for ac_exec_ext in '' $ac_executable_extensions; do
11820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11821 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11822 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11831 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11832 if test -n "$LD_FOR_TARGET"; then
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11834 $as_echo "$LD_FOR_TARGET" >&6; }
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11837 $as_echo "no
" >&6; }
11842 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11843 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11844 set dummy ${ncn_progname}; ac_word=$2
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11846 $as_echo_n "checking
for $ac_word...
" >&6; }
11847 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11848 $as_echo_n "(cached
) " >&6
11850 if test -n "$LD_FOR_TARGET"; then
11851 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11854 for as_dir in $PATH
11857 test -z "$as_dir" && as_dir=.
11858 for ac_exec_ext in '' $ac_executable_extensions; do
11859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11860 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11861 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11870 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11871 if test -n "$LD_FOR_TARGET"; then
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11873 $as_echo "$LD_FOR_TARGET" >&6; }
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11876 $as_echo "no
" >&6; }
11881 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11885 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11887 if test $build = $target ; then
11890 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11893 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11897 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11903 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11904 if test -n "$with_build_time_tools"; then
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11906 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11907 if test -x $with_build_time_tools/lipo; then
11908 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11909 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11911 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11914 $as_echo "no
" >&6; }
11916 elif test $build != $host && test $have_gcc_for_target = yes; then
11917 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11918 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11919 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11922 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11923 # Extract the first word of "lipo
", so it can be a program name with args.
11924 set dummy lipo; ac_word=$2
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11926 $as_echo_n "checking
for $ac_word...
" >&6; }
11927 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11928 $as_echo_n "(cached
) " >&6
11930 case $LIPO_FOR_TARGET in
11932 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11936 for as_dir in $gcc_cv_tool_dirs
11939 test -z "$as_dir" && as_dir=.
11940 for ac_exec_ext in '' $ac_executable_extensions; do
11941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11942 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11953 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11954 if test -n "$LIPO_FOR_TARGET"; then
11955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11956 $as_echo "$LIPO_FOR_TARGET" >&6; }
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11959 $as_echo "no
" >&6; }
11964 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11967 if test -n "$LIPO_FOR_TARGET"; then
11968 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11969 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11970 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11973 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11974 for ncn_progname in lipo; do
11975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11976 set dummy ${ncn_progname}; ac_word=$2
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11978 $as_echo_n "checking
for $ac_word...
" >&6; }
11979 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11980 $as_echo_n "(cached
) " >&6
11982 if test -n "$LIPO_FOR_TARGET"; then
11983 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11986 for as_dir in $PATH
11989 test -z "$as_dir" && as_dir=.
11990 for ac_exec_ext in '' $ac_executable_extensions; do
11991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11992 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12002 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12003 if test -n "$LIPO_FOR_TARGET"; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12005 $as_echo "$LIPO_FOR_TARGET" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12008 $as_echo "no
" >&6; }
12015 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
12016 for ncn_progname in lipo; do
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12018 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12019 if test -x $with_build_time_tools/${ncn_progname}; then
12020 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12022 $as_echo "yes" >&6; }
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12026 $as_echo "no
" >&6; }
12031 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12032 for ncn_progname in lipo; do
12033 if test -n "$ncn_target_tool_prefix"; then
12034 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12035 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12037 $as_echo_n "checking
for $ac_word...
" >&6; }
12038 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12039 $as_echo_n "(cached
) " >&6
12041 if test -n "$LIPO_FOR_TARGET"; then
12042 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12045 for as_dir in $PATH
12048 test -z "$as_dir" && as_dir=.
12049 for ac_exec_ext in '' $ac_executable_extensions; do
12050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12051 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12052 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12061 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12062 if test -n "$LIPO_FOR_TARGET"; then
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12064 $as_echo "$LIPO_FOR_TARGET" >&6; }
12066 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12067 $as_echo "no
" >&6; }
12072 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12073 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12074 set dummy ${ncn_progname}; ac_word=$2
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12076 $as_echo_n "checking
for $ac_word...
" >&6; }
12077 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12078 $as_echo_n "(cached
) " >&6
12080 if test -n "$LIPO_FOR_TARGET"; then
12081 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12084 for as_dir in $PATH
12087 test -z "$as_dir" && as_dir=.
12088 for ac_exec_ext in '' $ac_executable_extensions; do
12089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12090 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12091 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12100 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12101 if test -n "$LIPO_FOR_TARGET"; then
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12103 $as_echo "$LIPO_FOR_TARGET" >&6; }
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12106 $as_echo "no
" >&6; }
12111 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12115 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12117 if test $build = $target ; then
12118 LIPO_FOR_TARGET="$2"
12120 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12123 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12127 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12133 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12134 if test -n "$with_build_time_tools"; then
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12136 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12137 if test -x $with_build_time_tools/nm; then
12138 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12139 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12141 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12144 $as_echo "no
" >&6; }
12146 elif test $build != $host && test $have_gcc_for_target = yes; then
12147 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12148 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12149 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12152 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12153 # Extract the first word of "nm
", so it can be a program name with args.
12154 set dummy nm; ac_word=$2
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12156 $as_echo_n "checking
for $ac_word...
" >&6; }
12157 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12158 $as_echo_n "(cached
) " >&6
12160 case $NM_FOR_TARGET in
12162 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12166 for as_dir in $gcc_cv_tool_dirs
12169 test -z "$as_dir" && as_dir=.
12170 for ac_exec_ext in '' $ac_executable_extensions; do
12171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12172 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12173 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12183 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12184 if test -n "$NM_FOR_TARGET"; then
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12186 $as_echo "$NM_FOR_TARGET" >&6; }
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12189 $as_echo "no
" >&6; }
12194 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12197 if test -n "$NM_FOR_TARGET"; then
12198 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12199 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12200 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12203 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12204 for ncn_progname in nm; do
12205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12206 set dummy ${ncn_progname}; ac_word=$2
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12208 $as_echo_n "checking
for $ac_word...
" >&6; }
12209 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12210 $as_echo_n "(cached
) " >&6
12212 if test -n "$NM_FOR_TARGET"; then
12213 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12216 for as_dir in $PATH
12219 test -z "$as_dir" && as_dir=.
12220 for ac_exec_ext in '' $ac_executable_extensions; do
12221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12222 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12232 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12233 if test -n "$NM_FOR_TARGET"; then
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12235 $as_echo "$NM_FOR_TARGET" >&6; }
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12238 $as_echo "no
" >&6; }
12245 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12246 for ncn_progname in nm; do
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12248 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12249 if test -x $with_build_time_tools/${ncn_progname}; then
12250 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12252 $as_echo "yes" >&6; }
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12256 $as_echo "no
" >&6; }
12261 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12262 for ncn_progname in nm; do
12263 if test -n "$ncn_target_tool_prefix"; then
12264 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12265 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12267 $as_echo_n "checking
for $ac_word...
" >&6; }
12268 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12269 $as_echo_n "(cached
) " >&6
12271 if test -n "$NM_FOR_TARGET"; then
12272 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12275 for as_dir in $PATH
12278 test -z "$as_dir" && as_dir=.
12279 for ac_exec_ext in '' $ac_executable_extensions; do
12280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12281 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12282 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12291 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12292 if test -n "$NM_FOR_TARGET"; then
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12294 $as_echo "$NM_FOR_TARGET" >&6; }
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12297 $as_echo "no
" >&6; }
12302 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12303 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12304 set dummy ${ncn_progname}; ac_word=$2
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12306 $as_echo_n "checking
for $ac_word...
" >&6; }
12307 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12308 $as_echo_n "(cached
) " >&6
12310 if test -n "$NM_FOR_TARGET"; then
12311 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12314 for as_dir in $PATH
12317 test -z "$as_dir" && as_dir=.
12318 for ac_exec_ext in '' $ac_executable_extensions; do
12319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12320 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12321 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12330 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12331 if test -n "$NM_FOR_TARGET"; then
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12333 $as_echo "$NM_FOR_TARGET" >&6; }
12335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12336 $as_echo "no
" >&6; }
12341 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12345 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12347 if test $build = $target ; then
12350 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12353 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12357 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12363 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12364 if test -n "$with_build_time_tools"; then
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12366 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12367 if test -x $with_build_time_tools/objdump; then
12368 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12369 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12371 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12374 $as_echo "no
" >&6; }
12376 elif test $build != $host && test $have_gcc_for_target = yes; then
12377 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12378 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12379 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12382 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12383 # Extract the first word of "objdump
", so it can be a program name with args.
12384 set dummy objdump; ac_word=$2
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12386 $as_echo_n "checking
for $ac_word...
" >&6; }
12387 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12388 $as_echo_n "(cached
) " >&6
12390 case $OBJDUMP_FOR_TARGET in
12392 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12396 for as_dir in $gcc_cv_tool_dirs
12399 test -z "$as_dir" && as_dir=.
12400 for ac_exec_ext in '' $ac_executable_extensions; do
12401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12402 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12413 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12414 if test -n "$OBJDUMP_FOR_TARGET"; then
12415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12416 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12419 $as_echo "no
" >&6; }
12424 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12427 if test -n "$OBJDUMP_FOR_TARGET"; then
12428 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12429 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12430 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12433 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12434 for ncn_progname in objdump; do
12435 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12436 set dummy ${ncn_progname}; ac_word=$2
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12438 $as_echo_n "checking
for $ac_word...
" >&6; }
12439 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12440 $as_echo_n "(cached
) " >&6
12442 if test -n "$OBJDUMP_FOR_TARGET"; then
12443 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12446 for as_dir in $PATH
12449 test -z "$as_dir" && as_dir=.
12450 for ac_exec_ext in '' $ac_executable_extensions; do
12451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12452 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12462 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12463 if test -n "$OBJDUMP_FOR_TARGET"; then
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12465 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12468 $as_echo "no
" >&6; }
12475 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12476 for ncn_progname in objdump; do
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12478 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12479 if test -x $with_build_time_tools/${ncn_progname}; then
12480 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12482 $as_echo "yes" >&6; }
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12486 $as_echo "no
" >&6; }
12491 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12492 for ncn_progname in objdump; do
12493 if test -n "$ncn_target_tool_prefix"; then
12494 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12495 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12497 $as_echo_n "checking
for $ac_word...
" >&6; }
12498 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12499 $as_echo_n "(cached
) " >&6
12501 if test -n "$OBJDUMP_FOR_TARGET"; then
12502 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505 for as_dir in $PATH
12508 test -z "$as_dir" && as_dir=.
12509 for ac_exec_ext in '' $ac_executable_extensions; do
12510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12511 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12512 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12521 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12522 if test -n "$OBJDUMP_FOR_TARGET"; then
12523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12524 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12527 $as_echo "no
" >&6; }
12532 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12533 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12534 set dummy ${ncn_progname}; ac_word=$2
12535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12536 $as_echo_n "checking
for $ac_word...
" >&6; }
12537 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12538 $as_echo_n "(cached
) " >&6
12540 if test -n "$OBJDUMP_FOR_TARGET"; then
12541 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12544 for as_dir in $PATH
12547 test -z "$as_dir" && as_dir=.
12548 for ac_exec_ext in '' $ac_executable_extensions; do
12549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12550 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12551 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12560 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12561 if test -n "$OBJDUMP_FOR_TARGET"; then
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12563 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12566 $as_echo "no
" >&6; }
12571 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12575 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12577 if test $build = $target ; then
12578 OBJDUMP_FOR_TARGET="$2"
12580 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12583 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12587 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12593 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12594 if test -n "$with_build_time_tools"; then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12596 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12597 if test -x $with_build_time_tools/ranlib; then
12598 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12599 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12601 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12604 $as_echo "no
" >&6; }
12606 elif test $build != $host && test $have_gcc_for_target = yes; then
12607 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12608 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12609 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12612 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12613 # Extract the first word of "ranlib
", so it can be a program name with args.
12614 set dummy ranlib; ac_word=$2
12615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12616 $as_echo_n "checking
for $ac_word...
" >&6; }
12617 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12618 $as_echo_n "(cached
) " >&6
12620 case $RANLIB_FOR_TARGET in
12622 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12626 for as_dir in $gcc_cv_tool_dirs
12629 test -z "$as_dir" && as_dir=.
12630 for ac_exec_ext in '' $ac_executable_extensions; do
12631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12632 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12633 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12643 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12644 if test -n "$RANLIB_FOR_TARGET"; then
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12646 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12649 $as_echo "no
" >&6; }
12654 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12657 if test -n "$RANLIB_FOR_TARGET"; then
12658 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12659 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12660 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12663 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12664 for ncn_progname in ranlib; do
12665 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12666 set dummy ${ncn_progname}; ac_word=$2
12667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12668 $as_echo_n "checking
for $ac_word...
" >&6; }
12669 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12670 $as_echo_n "(cached
) " >&6
12672 if test -n "$RANLIB_FOR_TARGET"; then
12673 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12676 for as_dir in $PATH
12679 test -z "$as_dir" && as_dir=.
12680 for ac_exec_ext in '' $ac_executable_extensions; do
12681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12682 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12692 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12693 if test -n "$RANLIB_FOR_TARGET"; then
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12695 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12698 $as_echo "no
" >&6; }
12705 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12706 for ncn_progname in ranlib; do
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12708 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12709 if test -x $with_build_time_tools/${ncn_progname}; then
12710 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12712 $as_echo "yes" >&6; }
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12716 $as_echo "no
" >&6; }
12721 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12722 for ncn_progname in ranlib; do
12723 if test -n "$ncn_target_tool_prefix"; then
12724 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12725 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12727 $as_echo_n "checking
for $ac_word...
" >&6; }
12728 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12729 $as_echo_n "(cached
) " >&6
12731 if test -n "$RANLIB_FOR_TARGET"; then
12732 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12735 for as_dir in $PATH
12738 test -z "$as_dir" && as_dir=.
12739 for ac_exec_ext in '' $ac_executable_extensions; do
12740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12741 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12751 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12752 if test -n "$RANLIB_FOR_TARGET"; then
12753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12754 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12757 $as_echo "no
" >&6; }
12762 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12763 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12764 set dummy ${ncn_progname}; ac_word=$2
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12766 $as_echo_n "checking
for $ac_word...
" >&6; }
12767 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12768 $as_echo_n "(cached
) " >&6
12770 if test -n "$RANLIB_FOR_TARGET"; then
12771 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12774 for as_dir in $PATH
12777 test -z "$as_dir" && as_dir=.
12778 for ac_exec_ext in '' $ac_executable_extensions; do
12779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12780 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12790 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12791 if test -n "$RANLIB_FOR_TARGET"; then
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12793 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12796 $as_echo "no
" >&6; }
12801 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12805 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12807 if test $build = $target ; then
12808 RANLIB_FOR_TARGET="$2"
12810 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12813 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12817 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12823 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12824 if test -n "$with_build_time_tools"; then
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12826 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12827 if test -x $with_build_time_tools/readelf; then
12828 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12829 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12831 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12834 $as_echo "no
" >&6; }
12836 elif test $build != $host && test $have_gcc_for_target = yes; then
12837 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12838 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12839 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12842 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12843 # Extract the first word of "readelf
", so it can be a program name with args.
12844 set dummy readelf; ac_word=$2
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12846 $as_echo_n "checking
for $ac_word...
" >&6; }
12847 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12848 $as_echo_n "(cached
) " >&6
12850 case $READELF_FOR_TARGET in
12852 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12856 for as_dir in $gcc_cv_tool_dirs
12859 test -z "$as_dir" && as_dir=.
12860 for ac_exec_ext in '' $ac_executable_extensions; do
12861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12862 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12873 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12874 if test -n "$READELF_FOR_TARGET"; then
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12876 $as_echo "$READELF_FOR_TARGET" >&6; }
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12879 $as_echo "no
" >&6; }
12884 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12887 if test -n "$READELF_FOR_TARGET"; then
12888 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12889 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12890 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12893 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12894 for ncn_progname in readelf; do
12895 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12896 set dummy ${ncn_progname}; ac_word=$2
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12898 $as_echo_n "checking
for $ac_word...
" >&6; }
12899 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12900 $as_echo_n "(cached
) " >&6
12902 if test -n "$READELF_FOR_TARGET"; then
12903 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12906 for as_dir in $PATH
12909 test -z "$as_dir" && as_dir=.
12910 for ac_exec_ext in '' $ac_executable_extensions; do
12911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12912 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12913 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12922 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12923 if test -n "$READELF_FOR_TARGET"; then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12925 $as_echo "$READELF_FOR_TARGET" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12928 $as_echo "no
" >&6; }
12935 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12936 for ncn_progname in readelf; do
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12938 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12939 if test -x $with_build_time_tools/${ncn_progname}; then
12940 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12942 $as_echo "yes" >&6; }
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12946 $as_echo "no
" >&6; }
12951 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12952 for ncn_progname in readelf; do
12953 if test -n "$ncn_target_tool_prefix"; then
12954 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12955 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12957 $as_echo_n "checking
for $ac_word...
" >&6; }
12958 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12959 $as_echo_n "(cached
) " >&6
12961 if test -n "$READELF_FOR_TARGET"; then
12962 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12972 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12981 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12982 if test -n "$READELF_FOR_TARGET"; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12984 $as_echo "$READELF_FOR_TARGET" >&6; }
12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12987 $as_echo "no
" >&6; }
12992 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12993 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12994 set dummy ${ncn_progname}; ac_word=$2
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12996 $as_echo_n "checking
for $ac_word...
" >&6; }
12997 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12998 $as_echo_n "(cached
) " >&6
13000 if test -n "$READELF_FOR_TARGET"; then
13001 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13004 for as_dir in $PATH
13007 test -z "$as_dir" && as_dir=.
13008 for ac_exec_ext in '' $ac_executable_extensions; do
13009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13010 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13011 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13020 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13021 if test -n "$READELF_FOR_TARGET"; then
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13023 $as_echo "$READELF_FOR_TARGET" >&6; }
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13026 $as_echo "no
" >&6; }
13031 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13035 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13037 if test $build = $target ; then
13038 READELF_FOR_TARGET="$2"
13040 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13043 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13047 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13053 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13054 if test -n "$with_build_time_tools"; then
13055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13056 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13057 if test -x $with_build_time_tools/strip; then
13058 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13059 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13061 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13064 $as_echo "no
" >&6; }
13066 elif test $build != $host && test $have_gcc_for_target = yes; then
13067 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13068 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13069 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13072 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13073 # Extract the first word of "strip
", so it can be a program name with args.
13074 set dummy strip; ac_word=$2
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13076 $as_echo_n "checking
for $ac_word...
" >&6; }
13077 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13078 $as_echo_n "(cached
) " >&6
13080 case $STRIP_FOR_TARGET in
13082 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13086 for as_dir in $gcc_cv_tool_dirs
13089 test -z "$as_dir" && as_dir=.
13090 for ac_exec_ext in '' $ac_executable_extensions; do
13091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13092 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13093 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13103 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13104 if test -n "$STRIP_FOR_TARGET"; then
13105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13106 $as_echo "$STRIP_FOR_TARGET" >&6; }
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13109 $as_echo "no
" >&6; }
13114 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13117 if test -n "$STRIP_FOR_TARGET"; then
13118 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13119 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13120 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13123 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13124 for ncn_progname in strip; do
13125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13126 set dummy ${ncn_progname}; ac_word=$2
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13128 $as_echo_n "checking
for $ac_word...
" >&6; }
13129 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13130 $as_echo_n "(cached
) " >&6
13132 if test -n "$STRIP_FOR_TARGET"; then
13133 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13136 for as_dir in $PATH
13139 test -z "$as_dir" && as_dir=.
13140 for ac_exec_ext in '' $ac_executable_extensions; do
13141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13142 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13152 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13153 if test -n "$STRIP_FOR_TARGET"; then
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13155 $as_echo "$STRIP_FOR_TARGET" >&6; }
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13158 $as_echo "no
" >&6; }
13165 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13166 for ncn_progname in strip; do
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13168 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13169 if test -x $with_build_time_tools/${ncn_progname}; then
13170 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13172 $as_echo "yes" >&6; }
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13176 $as_echo "no
" >&6; }
13181 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13182 for ncn_progname in strip; do
13183 if test -n "$ncn_target_tool_prefix"; then
13184 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13185 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13187 $as_echo_n "checking
for $ac_word...
" >&6; }
13188 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13189 $as_echo_n "(cached
) " >&6
13191 if test -n "$STRIP_FOR_TARGET"; then
13192 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13195 for as_dir in $PATH
13198 test -z "$as_dir" && as_dir=.
13199 for ac_exec_ext in '' $ac_executable_extensions; do
13200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13201 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13211 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13212 if test -n "$STRIP_FOR_TARGET"; then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13214 $as_echo "$STRIP_FOR_TARGET" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13217 $as_echo "no
" >&6; }
13222 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13223 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13224 set dummy ${ncn_progname}; ac_word=$2
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13226 $as_echo_n "checking
for $ac_word...
" >&6; }
13227 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13228 $as_echo_n "(cached
) " >&6
13230 if test -n "$STRIP_FOR_TARGET"; then
13231 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13234 for as_dir in $PATH
13237 test -z "$as_dir" && as_dir=.
13238 for ac_exec_ext in '' $ac_executable_extensions; do
13239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13240 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13250 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13251 if test -n "$STRIP_FOR_TARGET"; then
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13253 $as_echo "$STRIP_FOR_TARGET" >&6; }
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13256 $as_echo "no
" >&6; }
13261 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13265 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13267 if test $build = $target ; then
13268 STRIP_FOR_TARGET="$2"
13270 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13273 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13277 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13283 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13284 if test -n "$with_build_time_tools"; then
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13286 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13287 if test -x $with_build_time_tools/windres; then
13288 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13289 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13291 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13294 $as_echo "no
" >&6; }
13296 elif test $build != $host && test $have_gcc_for_target = yes; then
13297 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13298 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13299 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13302 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13303 # Extract the first word of "windres
", so it can be a program name with args.
13304 set dummy windres; ac_word=$2
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13306 $as_echo_n "checking
for $ac_word...
" >&6; }
13307 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13308 $as_echo_n "(cached
) " >&6
13310 case $WINDRES_FOR_TARGET in
13312 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13316 for as_dir in $gcc_cv_tool_dirs
13319 test -z "$as_dir" && as_dir=.
13320 for ac_exec_ext in '' $ac_executable_extensions; do
13321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13322 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13323 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13333 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13334 if test -n "$WINDRES_FOR_TARGET"; then
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13336 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13339 $as_echo "no
" >&6; }
13344 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13347 if test -n "$WINDRES_FOR_TARGET"; then
13348 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13349 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13350 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13353 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13354 for ncn_progname in windres; do
13355 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13356 set dummy ${ncn_progname}; ac_word=$2
13357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13358 $as_echo_n "checking
for $ac_word...
" >&6; }
13359 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13360 $as_echo_n "(cached
) " >&6
13362 if test -n "$WINDRES_FOR_TARGET"; then
13363 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13366 for as_dir in $PATH
13369 test -z "$as_dir" && as_dir=.
13370 for ac_exec_ext in '' $ac_executable_extensions; do
13371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13372 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13373 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13382 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13383 if test -n "$WINDRES_FOR_TARGET"; then
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13385 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13388 $as_echo "no
" >&6; }
13395 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13396 for ncn_progname in windres; do
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13398 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13399 if test -x $with_build_time_tools/${ncn_progname}; then
13400 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13402 $as_echo "yes" >&6; }
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13406 $as_echo "no
" >&6; }
13411 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13412 for ncn_progname in windres; do
13413 if test -n "$ncn_target_tool_prefix"; then
13414 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13415 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13417 $as_echo_n "checking
for $ac_word...
" >&6; }
13418 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13419 $as_echo_n "(cached
) " >&6
13421 if test -n "$WINDRES_FOR_TARGET"; then
13422 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13425 for as_dir in $PATH
13428 test -z "$as_dir" && as_dir=.
13429 for ac_exec_ext in '' $ac_executable_extensions; do
13430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13431 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13441 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13442 if test -n "$WINDRES_FOR_TARGET"; then
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13444 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13447 $as_echo "no
" >&6; }
13452 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13454 set dummy ${ncn_progname}; ac_word=$2
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13456 $as_echo_n "checking
for $ac_word...
" >&6; }
13457 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13458 $as_echo_n "(cached
) " >&6
13460 if test -n "$WINDRES_FOR_TARGET"; then
13461 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13464 for as_dir in $PATH
13467 test -z "$as_dir" && as_dir=.
13468 for ac_exec_ext in '' $ac_executable_extensions; do
13469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13470 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13480 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13481 if test -n "$WINDRES_FOR_TARGET"; then
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13483 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13486 $as_echo "no
" >&6; }
13491 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13495 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13497 if test $build = $target ; then
13498 WINDRES_FOR_TARGET="$2"
13500 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13503 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13507 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13513 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13514 if test -n "$with_build_time_tools"; then
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13516 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13517 if test -x $with_build_time_tools/windmc; then
13518 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13519 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13521 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13524 $as_echo "no
" >&6; }
13526 elif test $build != $host && test $have_gcc_for_target = yes; then
13527 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13528 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13529 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13532 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13533 # Extract the first word of "windmc
", so it can be a program name with args.
13534 set dummy windmc; ac_word=$2
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13536 $as_echo_n "checking
for $ac_word...
" >&6; }
13537 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13538 $as_echo_n "(cached
) " >&6
13540 case $WINDMC_FOR_TARGET in
13542 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13546 for as_dir in $gcc_cv_tool_dirs
13549 test -z "$as_dir" && as_dir=.
13550 for ac_exec_ext in '' $ac_executable_extensions; do
13551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13552 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13553 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13563 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13564 if test -n "$WINDMC_FOR_TARGET"; then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13566 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13569 $as_echo "no
" >&6; }
13574 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13577 if test -n "$WINDMC_FOR_TARGET"; then
13578 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13579 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13580 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13583 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13584 for ncn_progname in windmc; do
13585 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13586 set dummy ${ncn_progname}; ac_word=$2
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13588 $as_echo_n "checking
for $ac_word...
" >&6; }
13589 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13590 $as_echo_n "(cached
) " >&6
13592 if test -n "$WINDMC_FOR_TARGET"; then
13593 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13596 for as_dir in $PATH
13599 test -z "$as_dir" && as_dir=.
13600 for ac_exec_ext in '' $ac_executable_extensions; do
13601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13602 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13603 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13612 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13613 if test -n "$WINDMC_FOR_TARGET"; then
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13615 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13618 $as_echo "no
" >&6; }
13625 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13626 for ncn_progname in windmc; do
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13628 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13629 if test -x $with_build_time_tools/${ncn_progname}; then
13630 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13632 $as_echo "yes" >&6; }
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13636 $as_echo "no
" >&6; }
13641 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13642 for ncn_progname in windmc; do
13643 if test -n "$ncn_target_tool_prefix"; then
13644 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13645 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13647 $as_echo_n "checking
for $ac_word...
" >&6; }
13648 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13649 $as_echo_n "(cached
) " >&6
13651 if test -n "$WINDMC_FOR_TARGET"; then
13652 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13655 for as_dir in $PATH
13658 test -z "$as_dir" && as_dir=.
13659 for ac_exec_ext in '' $ac_executable_extensions; do
13660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13661 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13662 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13671 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13672 if test -n "$WINDMC_FOR_TARGET"; then
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13674 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13676 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13677 $as_echo "no
" >&6; }
13682 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13683 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13684 set dummy ${ncn_progname}; ac_word=$2
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13686 $as_echo_n "checking
for $ac_word...
" >&6; }
13687 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13688 $as_echo_n "(cached
) " >&6
13690 if test -n "$WINDMC_FOR_TARGET"; then
13691 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13694 for as_dir in $PATH
13697 test -z "$as_dir" && as_dir=.
13698 for ac_exec_ext in '' $ac_executable_extensions; do
13699 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13700 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13701 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13710 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13711 if test -n "$WINDMC_FOR_TARGET"; then
13712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13713 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13716 $as_echo "no
" >&6; }
13721 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13725 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13727 if test $build = $target ; then
13728 WINDMC_FOR_TARGET="$2"
13730 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13733 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13737 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13741 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13744 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13745 if test "x
${build}" != "x
${host}" ; then
13746 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13747 # We already found the complete path
13748 ac_dir=`dirname $AR_FOR_TARGET`
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13750 $as_echo "pre-installed
in $ac_dir" >&6; }
13752 # Canadian cross, just use what we found
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13754 $as_echo "pre-installed
" >&6; }
13758 case " ${configdirs} " in
13763 if test $ok = yes; then
13764 # An in-tree tool is available and we can use it
13765 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13767 $as_echo "just compiled
" >&6; }
13768 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13769 # We already found the complete path
13770 ac_dir=`dirname $AR_FOR_TARGET`
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13772 $as_echo "pre-installed
in $ac_dir" >&6; }
13773 elif test "x
$target" = "x
$host"; then
13774 # We can use an host tool
13775 AR_FOR_TARGET='$(AR)'
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13777 $as_echo "host tool
" >&6; }
13779 # We need a cross tool
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13781 $as_echo "pre-installed
" >&6; }
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13786 $as_echo_n "checking where to
find the target as...
" >&6; }
13787 if test "x
${build}" != "x
${host}" ; then
13788 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13789 # We already found the complete path
13790 ac_dir=`dirname $AS_FOR_TARGET`
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13792 $as_echo "pre-installed
in $ac_dir" >&6; }
13794 # Canadian cross, just use what we found
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13796 $as_echo "pre-installed
" >&6; }
13800 case " ${configdirs} " in
13805 if test $ok = yes; then
13806 # An in-tree tool is available and we can use it
13807 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13809 $as_echo "just compiled
" >&6; }
13810 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13811 # We already found the complete path
13812 ac_dir=`dirname $AS_FOR_TARGET`
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13814 $as_echo "pre-installed
in $ac_dir" >&6; }
13815 elif test "x
$target" = "x
$host"; then
13816 # We can use an host tool
13817 AS_FOR_TARGET='$(AS)'
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13819 $as_echo "host tool
" >&6; }
13821 # We need a cross tool
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13823 $as_echo "pre-installed
" >&6; }
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13828 $as_echo_n "checking where to
find the target cc...
" >&6; }
13829 if test "x
${build}" != "x
${host}" ; then
13830 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13831 # We already found the complete path
13832 ac_dir=`dirname $CC_FOR_TARGET`
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13834 $as_echo "pre-installed
in $ac_dir" >&6; }
13836 # Canadian cross, just use what we found
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13838 $as_echo "pre-installed
" >&6; }
13842 case " ${configdirs} " in
13847 if test $ok = yes; then
13848 # An in-tree tool is available and we can use it
13849 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13851 $as_echo "just compiled
" >&6; }
13852 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13853 # We already found the complete path
13854 ac_dir=`dirname $CC_FOR_TARGET`
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13856 $as_echo "pre-installed
in $ac_dir" >&6; }
13857 elif test "x
$target" = "x
$host"; then
13858 # We can use an host tool
13859 CC_FOR_TARGET='$(CC)'
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13861 $as_echo "host tool
" >&6; }
13863 # We need a cross tool
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13865 $as_echo "pre-installed
" >&6; }
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13870 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13871 if test "x
${build}" != "x
${host}" ; then
13872 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13873 # We already found the complete path
13874 ac_dir=`dirname $CXX_FOR_TARGET`
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13876 $as_echo "pre-installed
in $ac_dir" >&6; }
13878 # Canadian cross, just use what we found
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13880 $as_echo "pre-installed
" >&6; }
13884 case " ${configdirs} " in
13888 case ,${enable_languages}, in
13892 if test $ok = yes; then
13893 # An in-tree tool is available and we can use it
13894 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'
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13896 $as_echo "just compiled
" >&6; }
13897 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13898 # We already found the complete path
13899 ac_dir=`dirname $CXX_FOR_TARGET`
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13901 $as_echo "pre-installed
in $ac_dir" >&6; }
13902 elif test "x
$target" = "x
$host"; then
13903 # We can use an host tool
13904 CXX_FOR_TARGET='$(CXX)'
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13906 $as_echo "host tool
" >&6; }
13908 # We need a cross tool
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13910 $as_echo "pre-installed
" >&6; }
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13915 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13916 if test "x
${build}" != "x
${host}" ; then
13917 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13918 # We already found the complete path
13919 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13921 $as_echo "pre-installed
in $ac_dir" >&6; }
13923 # Canadian cross, just use what we found
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13925 $as_echo "pre-installed
" >&6; }
13929 case " ${configdirs} " in
13933 case ,${enable_languages}, in
13937 if test $ok = yes; then
13938 # An in-tree tool is available and we can use it
13939 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'
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13941 $as_echo "just compiled
" >&6; }
13942 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13943 # We already found the complete path
13944 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13946 $as_echo "pre-installed
in $ac_dir" >&6; }
13947 elif test "x
$target" = "x
$host"; then
13948 # We can use an host tool
13949 RAW_CXX_FOR_TARGET='$(CXX)'
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13951 $as_echo "host tool
" >&6; }
13953 # We need a cross tool
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13955 $as_echo "pre-installed
" >&6; }
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13960 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13961 if test "x
${build}" != "x
${host}" ; then
13962 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13963 # We already found the complete path
13964 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13966 $as_echo "pre-installed
in $ac_dir" >&6; }
13968 # Canadian cross, just use what we found
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13970 $as_echo "pre-installed
" >&6; }
13974 case " ${configdirs} " in
13979 if test $ok = yes; then
13980 # An in-tree tool is available and we can use it
13981 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13983 $as_echo "just compiled
" >&6; }
13984 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13985 # We already found the complete path
13986 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13988 $as_echo "pre-installed
in $ac_dir" >&6; }
13989 elif test "x
$target" = "x
$host"; then
13990 # We can use an host tool
13991 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13993 $as_echo "host tool
" >&6; }
13995 # We need a cross tool
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13997 $as_echo "pre-installed
" >&6; }
14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14002 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14003 if test "x
${build}" != "x
${host}" ; then
14004 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14005 # We already found the complete path
14006 ac_dir=`dirname $GCC_FOR_TARGET`
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14008 $as_echo "pre-installed
in $ac_dir" >&6; }
14010 # Canadian cross, just use what we found
14011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14012 $as_echo "pre-installed
" >&6; }
14016 case " ${configdirs} " in
14021 if test $ok = yes; then
14022 # An in-tree tool is available and we can use it
14023 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14025 $as_echo "just compiled
" >&6; }
14026 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14027 # We already found the complete path
14028 ac_dir=`dirname $GCC_FOR_TARGET`
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14030 $as_echo "pre-installed
in $ac_dir" >&6; }
14031 elif test "x
$target" = "x
$host"; then
14032 # We can use an host tool
14033 GCC_FOR_TARGET='$()'
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14035 $as_echo "host tool
" >&6; }
14037 # We need a cross tool
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14039 $as_echo "pre-installed
" >&6; }
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14044 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14045 if test "x
${build}" != "x
${host}" ; then
14046 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14047 # We already found the complete path
14048 ac_dir=`dirname $GCJ_FOR_TARGET`
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14050 $as_echo "pre-installed
in $ac_dir" >&6; }
14052 # Canadian cross, just use what we found
14053 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14054 $as_echo "pre-installed
" >&6; }
14058 case " ${configdirs} " in
14062 case ,${enable_languages}, in
14066 if test $ok = yes; then
14067 # An in-tree tool is available and we can use it
14068 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14070 $as_echo "just compiled
" >&6; }
14071 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14072 # We already found the complete path
14073 ac_dir=`dirname $GCJ_FOR_TARGET`
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14075 $as_echo "pre-installed
in $ac_dir" >&6; }
14076 elif test "x
$target" = "x
$host"; then
14077 # We can use an host tool
14078 GCJ_FOR_TARGET='$(GCJ)'
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14080 $as_echo "host tool
" >&6; }
14082 # We need a cross tool
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14084 $as_echo "pre-installed
" >&6; }
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14089 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14090 if test "x
${build}" != "x
${host}" ; then
14091 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14092 # We already found the complete path
14093 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14095 $as_echo "pre-installed
in $ac_dir" >&6; }
14097 # Canadian cross, just use what we found
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14099 $as_echo "pre-installed
" >&6; }
14103 case " ${configdirs} " in
14107 case ,${enable_languages}, in
14111 if test $ok = yes; then
14112 # An in-tree tool is available and we can use it
14113 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14115 $as_echo "just compiled
" >&6; }
14116 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14117 # We already found the complete path
14118 ac_dir=`dirname $GFORTRAN_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; }
14121 elif test "x
$target" = "x
$host"; then
14122 # We can use an host tool
14123 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14124 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14125 $as_echo "host tool
" >&6; }
14127 # We need a cross tool
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14129 $as_echo "pre-installed
" >&6; }
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14134 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14135 if test "x
${build}" != "x
${host}" ; then
14136 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14137 # We already found the complete path
14138 ac_dir=`dirname $GOC_FOR_TARGET`
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14140 $as_echo "pre-installed
in $ac_dir" >&6; }
14142 # Canadian cross, just use what we found
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14144 $as_echo "pre-installed
" >&6; }
14148 case " ${configdirs} " in
14152 case ,${enable_languages}, in
14156 if test $ok = yes; then
14157 # An in-tree tool is available and we can use it
14158 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14160 $as_echo "just compiled
" >&6; }
14161 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14162 # We already found the complete path
14163 ac_dir=`dirname $GOC_FOR_TARGET`
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14165 $as_echo "pre-installed
in $ac_dir" >&6; }
14166 elif test "x
$target" = "x
$host"; then
14167 # We can use an host tool
14168 GOC_FOR_TARGET='$(GOC)'
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14170 $as_echo "host tool
" >&6; }
14172 # We need a cross tool
14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14174 $as_echo "pre-installed
" >&6; }
14178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14179 $as_echo_n "checking where to
find the target ld...
" >&6; }
14180 if test "x
${build}" != "x
${host}" ; then
14181 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14182 # We already found the complete path
14183 ac_dir=`dirname $LD_FOR_TARGET`
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14185 $as_echo "pre-installed
in $ac_dir" >&6; }
14187 # Canadian cross, just use what we found
14188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14189 $as_echo "pre-installed
" >&6; }
14193 case " ${configdirs} " in
14198 if test $ok = yes; then
14199 # An in-tree tool is available and we can use it
14200 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14202 $as_echo "just compiled
" >&6; }
14203 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14204 # We already found the complete path
14205 ac_dir=`dirname $LD_FOR_TARGET`
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14207 $as_echo "pre-installed
in $ac_dir" >&6; }
14208 elif test "x
$target" = "x
$host"; then
14209 # We can use an host tool
14210 LD_FOR_TARGET='$(LD)'
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14212 $as_echo "host tool
" >&6; }
14214 # We need a cross tool
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14216 $as_echo "pre-installed
" >&6; }
14220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14221 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14222 if test "x
${build}" != "x
${host}" ; then
14223 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14224 # We already found the complete path
14225 ac_dir=`dirname $LIPO_FOR_TARGET`
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14227 $as_echo "pre-installed
in $ac_dir" >&6; }
14229 # Canadian cross, just use what we found
14230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14231 $as_echo "pre-installed
" >&6; }
14234 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14235 # We already found the complete path
14236 ac_dir=`dirname $LIPO_FOR_TARGET`
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14238 $as_echo "pre-installed
in $ac_dir" >&6; }
14239 elif test "x
$target" = "x
$host"; then
14240 # We can use an host tool
14241 LIPO_FOR_TARGET='$(LIPO)'
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14243 $as_echo "host tool
" >&6; }
14245 # We need a cross tool
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14247 $as_echo "pre-installed
" >&6; }
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14252 $as_echo_n "checking where to
find the target nm...
" >&6; }
14253 if test "x
${build}" != "x
${host}" ; then
14254 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14255 # We already found the complete path
14256 ac_dir=`dirname $NM_FOR_TARGET`
14257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14258 $as_echo "pre-installed
in $ac_dir" >&6; }
14260 # Canadian cross, just use what we found
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14262 $as_echo "pre-installed
" >&6; }
14266 case " ${configdirs} " in
14271 if test $ok = yes; then
14272 # An in-tree tool is available and we can use it
14273 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14275 $as_echo "just compiled
" >&6; }
14276 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14277 # We already found the complete path
14278 ac_dir=`dirname $NM_FOR_TARGET`
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14280 $as_echo "pre-installed
in $ac_dir" >&6; }
14281 elif test "x
$target" = "x
$host"; then
14282 # We can use an host tool
14283 NM_FOR_TARGET='$(NM)'
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14285 $as_echo "host tool
" >&6; }
14287 # We need a cross tool
14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14289 $as_echo "pre-installed
" >&6; }
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14294 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14295 if test "x
${build}" != "x
${host}" ; then
14296 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14297 # We already found the complete path
14298 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14300 $as_echo "pre-installed
in $ac_dir" >&6; }
14302 # Canadian cross, just use what we found
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14304 $as_echo "pre-installed
" >&6; }
14308 case " ${configdirs} " in
14313 if test $ok = yes; then
14314 # An in-tree tool is available and we can use it
14315 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14317 $as_echo "just compiled
" >&6; }
14318 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14319 # We already found the complete path
14320 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14322 $as_echo "pre-installed
in $ac_dir" >&6; }
14323 elif test "x
$target" = "x
$host"; then
14324 # We can use an host tool
14325 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14327 $as_echo "host tool
" >&6; }
14329 # We need a cross tool
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14331 $as_echo "pre-installed
" >&6; }
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14336 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14337 if test "x
${build}" != "x
${host}" ; then
14338 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14339 # We already found the complete path
14340 ac_dir=`dirname $RANLIB_FOR_TARGET`
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14342 $as_echo "pre-installed
in $ac_dir" >&6; }
14344 # Canadian cross, just use what we found
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14346 $as_echo "pre-installed
" >&6; }
14350 case " ${configdirs} " in
14355 if test $ok = yes; then
14356 # An in-tree tool is available and we can use it
14357 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14359 $as_echo "just compiled
" >&6; }
14360 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14361 # We already found the complete path
14362 ac_dir=`dirname $RANLIB_FOR_TARGET`
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14364 $as_echo "pre-installed
in $ac_dir" >&6; }
14365 elif test "x
$target" = "x
$host"; then
14366 # We can use an host tool
14367 RANLIB_FOR_TARGET='$(RANLIB)'
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14369 $as_echo "host tool
" >&6; }
14371 # We need a cross tool
14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14373 $as_echo "pre-installed
" >&6; }
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14378 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14379 if test "x
${build}" != "x
${host}" ; then
14380 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14381 # We already found the complete path
14382 ac_dir=`dirname $READELF_FOR_TARGET`
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14384 $as_echo "pre-installed
in $ac_dir" >&6; }
14386 # Canadian cross, just use what we found
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14388 $as_echo "pre-installed
" >&6; }
14392 case " ${configdirs} " in
14397 if test $ok = yes; then
14398 # An in-tree tool is available and we can use it
14399 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14401 $as_echo "just compiled
" >&6; }
14402 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14403 # We already found the complete path
14404 ac_dir=`dirname $READELF_FOR_TARGET`
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14406 $as_echo "pre-installed
in $ac_dir" >&6; }
14407 elif test "x
$target" = "x
$host"; then
14408 # We can use an host tool
14409 READELF_FOR_TARGET='$(READELF)'
14410 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14411 $as_echo "host tool
" >&6; }
14413 # We need a cross tool
14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14415 $as_echo "pre-installed
" >&6; }
14419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14420 $as_echo_n "checking where to
find the target strip...
" >&6; }
14421 if test "x
${build}" != "x
${host}" ; then
14422 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14423 # We already found the complete path
14424 ac_dir=`dirname $STRIP_FOR_TARGET`
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14426 $as_echo "pre-installed
in $ac_dir" >&6; }
14428 # Canadian cross, just use what we found
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14430 $as_echo "pre-installed
" >&6; }
14434 case " ${configdirs} " in
14439 if test $ok = yes; then
14440 # An in-tree tool is available and we can use it
14441 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14443 $as_echo "just compiled
" >&6; }
14444 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14445 # We already found the complete path
14446 ac_dir=`dirname $STRIP_FOR_TARGET`
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14448 $as_echo "pre-installed
in $ac_dir" >&6; }
14449 elif test "x
$target" = "x
$host"; then
14450 # We can use an host tool
14451 STRIP_FOR_TARGET='$(STRIP)'
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14453 $as_echo "host tool
" >&6; }
14455 # We need a cross tool
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14457 $as_echo "pre-installed
" >&6; }
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14462 $as_echo_n "checking where to
find the target windres...
" >&6; }
14463 if test "x
${build}" != "x
${host}" ; then
14464 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14465 # We already found the complete path
14466 ac_dir=`dirname $WINDRES_FOR_TARGET`
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14468 $as_echo "pre-installed
in $ac_dir" >&6; }
14470 # Canadian cross, just use what we found
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14472 $as_echo "pre-installed
" >&6; }
14476 case " ${configdirs} " in
14481 if test $ok = yes; then
14482 # An in-tree tool is available and we can use it
14483 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14485 $as_echo "just compiled
" >&6; }
14486 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14487 # We already found the complete path
14488 ac_dir=`dirname $WINDRES_FOR_TARGET`
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14490 $as_echo "pre-installed
in $ac_dir" >&6; }
14491 elif test "x
$target" = "x
$host"; then
14492 # We can use an host tool
14493 WINDRES_FOR_TARGET='$(WINDRES)'
14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14495 $as_echo "host tool
" >&6; }
14497 # We need a cross tool
14498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14499 $as_echo "pre-installed
" >&6; }
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14504 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14505 if test "x
${build}" != "x
${host}" ; then
14506 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14507 # We already found the complete path
14508 ac_dir=`dirname $WINDMC_FOR_TARGET`
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14510 $as_echo "pre-installed
in $ac_dir" >&6; }
14512 # Canadian cross, just use what we found
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14514 $as_echo "pre-installed
" >&6; }
14518 case " ${configdirs} " in
14523 if test $ok = yes; then
14524 # An in-tree tool is available and we can use it
14525 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14527 $as_echo "just compiled
" >&6; }
14528 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14529 # We already found the complete path
14530 ac_dir=`dirname $WINDMC_FOR_TARGET`
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14532 $as_echo "pre-installed
in $ac_dir" >&6; }
14533 elif test "x
$target" = "x
$host"; then
14534 # We can use an host tool
14535 WINDMC_FOR_TARGET='$(WINDMC)'
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14537 $as_echo "host tool
" >&6; }
14539 # We need a cross tool
14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14541 $as_echo "pre-installed
" >&6; }
14549 # Certain tools may need extra flags.
14550 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14551 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14552 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14554 # When building target libraries, except in a Canadian cross, we use
14555 # the same toolchain as the compiler we just built.
14556 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14557 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14558 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14559 if test $host = $build; then
14560 case " $configdirs " in
14562 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14563 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14564 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14574 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14575 # Check whether --enable-maintainer-mode was given.
14576 if test "${enable_maintainer_mode+set}" = set; then :
14577 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14579 USE_MAINTAINER_MODE=no
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14583 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14586 if test "$USE_MAINTAINER_MODE" = yes; then
14587 MAINTAINER_MODE_TRUE=
14588 MAINTAINER_MODE_FALSE='#'
14590 MAINTAINER_MODE_TRUE='#'
14591 MAINTAINER_MODE_FALSE=
14593 MAINT=$MAINTAINER_MODE_TRUE
14595 # ---------------------
14596 # GCC bootstrap support
14597 # ---------------------
14599 # Stage specific cflags for build.
14604 yes) stage1_cflags="-g -Wa,-J" ;;
14605 *) stage1_cflags="-g -J" ;;
14611 # Enable --enable-checking in stage1 of the compiler.
14612 # Check whether --enable-stage1-checking was given.
14613 if test "${enable_stage1_checking+set}" = set; then :
14614 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14616 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14617 stage1_checking=--enable-checking=yes,types
14619 stage1_checking=--enable-checking=$enable_checking,types
14625 # Enable -Werror in bootstrap stage2 and later.
14626 # Check whether --enable-werror was given.
14627 if test "${enable_werror+set}" = set; then :
14628 enableval=$enable_werror;
14630 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14637 case ${enable_werror} in
14638 yes) stage2_werror_flag="--enable-werror-always" ;;
14639 *) stage2_werror_flag="" ;;
14643 # Enable --enable-host-shared.
14644 # Check whether --enable-host-shared was given.
14645 if test "${enable_host_shared+set}" = set; then :
14646 enableval=$enable_host_shared; host_shared=$enableval
14653 # Specify what files to not compare during bootstrap.
14655 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14657 hppa*64*-*-hpux*) ;;
14658 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14659 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14663 ac_config_files="$ac_config_files Makefile
"
14665 cat >confcache <<\_ACEOF
14666 # This file is a shell script that caches the results of configure
14667 # tests run on this system so they can be shared between configure
14668 # scripts and configure runs, see configure's option --config-cache.
14669 # It is not useful on other systems. If it contains results you don't
14670 # want to keep, you may remove or edit it.
14672 # config.status only pays attention to the cache file if you give it
14673 # the --recheck option to rerun configure.
14675 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14676 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14677 # following values.
14681 # The following way of writing the cache mishandles newlines in values,
14682 # but we know of no workaround that is simple, portable, and efficient.
14683 # So, we kill variables containing newlines.
14684 # Ultrix sh set writes to stderr and can't be redirected directly,
14685 # and sets the high bit in the cache file unless we assign to the vars.
14687 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14688 eval ac_val=\$$ac_var
14692 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14693 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14696 _ | IFS | as_nl) ;; #(
14697 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14698 *) { eval $ac_var=; unset $ac_var;} ;;
14704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14705 *${as_nl}ac_space=\ *)
14706 # `set' does not quote correctly, so add quotes: double-quote
14707 # substitution turns \\\\ into \\, and sed turns \\ into \.
14710 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14713 # `set' quotes correctly as required by POSIX, so do not add quotes.
14714 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14727 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14728 if test -w "$cache_file"; then
14729 test "x
$cache_file" != "x
/dev
/null
" &&
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14731 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14732 cat confcache >$cache_file
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14735 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14740 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14741 # Let make expand exec_prefix.
14742 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14744 # Transform confdefs.h into DEFS.
14745 # Protect against shell expansion while executing Makefile rules.
14746 # Protect against Makefile macro expansion.
14748 # If the first sed substitution is executed (which looks for macros that
14749 # take arguments), then branch to the quote section. Otherwise,
14750 # look for a macro that doesn't take arguments.
14760 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14762 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14766 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14779 DEFS=`sed -n "$ac_script" confdefs.h`
14784 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14785 # 1. Remove the extension, and $U if already installed.
14786 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14787 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14788 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14789 # will be set to the directory where LIBOBJS objects are built.
14790 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14791 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14793 LIBOBJS=$ac_libobjs
14795 LTLIBOBJS=$ac_ltlibobjs
14799 : ${CONFIG_STATUS=./config.status}
14801 ac_clean_files_save=$ac_clean_files
14802 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14804 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14806 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14808 # Generated by $as_me.
14809 # Run this file to recreate the current configuration.
14810 # Compiler output produced by configure, useful for debugging
14811 # configure, is in config.log if it exists.
14814 ac_cs_recheck=false
14817 SHELL=\${CONFIG_SHELL-$SHELL}
14820 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14821 ## -------------------- ##
14822 ## M4sh Initialization. ##
14823 ## -------------------- ##
14825 # Be more Bourne compatible
14826 DUALCASE=1; export DUALCASE # for MKS sh
14827 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14830 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14831 # is contrary to our usage. Disable this feature.
14832 alias -g '${1+"$@"}'='"$@"'
14833 setopt NO_GLOB_SUBST
14835 case `(set -o) 2>/dev/null` in #(
14847 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14848 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14849 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14850 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14851 # Prefer a ksh shell builtin over an external printf program on Solaris,
14852 # but without wasting forks for bash or zsh.
14853 if test -z "$BASH_VERSION$ZSH_VERSION" \
14854 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14855 as_echo
='print -r --'
14856 as_echo_n
='print -rn --'
14857 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14858 as_echo
='printf %s\n'
14859 as_echo_n
='printf %s'
14861 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14862 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14863 as_echo_n
='/usr/ucb/echo -n'
14865 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14866 as_echo_n_body
='eval
14870 expr "X$arg" : "X\\(.*\\)$as_nl";
14871 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14873 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14875 export as_echo_n_body
14876 as_echo_n
='sh -c $as_echo_n_body as_echo'
14878 export as_echo_body
14879 as_echo
='sh -c $as_echo_body as_echo'
14882 # The user is always right.
14883 if test "${PATH_SEPARATOR+set}" != set; then
14885 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14886 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14893 # We need space, tab and new line, in precisely that order. Quoting is
14894 # there to prevent editors from complaining about space-tab.
14895 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14896 # splitting by setting IFS to empty value.)
14899 # Find who we are. Look in the path if we contain no directory separator.
14901 *[\\/]* ) as_myself
=$0 ;;
14902 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14903 for as_dir
in $PATH
14906 test -z "$as_dir" && as_dir
=.
14907 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14913 # We did not find ourselves, most probably we were run as `sh COMMAND'
14914 # in which case we are not to be found in the path.
14915 if test "x$as_myself" = x
; then
14918 if test ! -f "$as_myself"; then
14919 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14923 # Unset variables that we do not need and which cause bugs (e.g. in
14924 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14925 # suppresses any "Segmentation fault" message there. '((' could
14926 # trigger a bug in pdksh 5.2.14.
14927 for as_var
in BASH_ENV ENV MAIL MAILPATH
14928 do eval test x\
${$as_var+set} = xset \
14929 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14942 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14945 # as_fn_error ERROR [LINENO LOG_FD]
14946 # ---------------------------------
14947 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14948 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14949 # script with status $?, using 1 if that was 0.
14952 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14954 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14955 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14957 $as_echo "$as_me: error: $1" >&2
14958 as_fn_exit
$as_status
14962 # as_fn_set_status STATUS
14963 # -----------------------
14964 # Set $? to STATUS, without forking.
14965 as_fn_set_status
()
14968 } # as_fn_set_status
14970 # as_fn_exit STATUS
14971 # -----------------
14972 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14976 as_fn_set_status
$1
14982 # Portably unset VAR.
14985 { eval $1=; unset $1;}
14987 as_unset
=as_fn_unset
14988 # as_fn_append VAR VALUE
14989 # ----------------------
14990 # Append the text in VALUE to the end of the definition contained in VAR. Take
14991 # advantage of any shell optimizations that allow amortized linear growth over
14992 # repeated appends, instead of the typical quadratic growth present in naive
14994 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14995 eval 'as_fn_append ()
15006 # as_fn_arith ARG...
15007 # ------------------
15008 # Perform arithmetic evaluation on the ARGs, and store the result in the
15009 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15010 # must be portable across $(()) and expr.
15011 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15012 eval 'as_fn_arith ()
15019 as_val
=`expr "$@" || test $? -eq 1`
15024 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15025 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15031 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15032 as_basename
=basename
15037 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15043 as_me
=`$as_basename -- "$0" ||
15044 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15045 X"$0" : 'X\(//\)$' \| \
15046 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15048 sed '/^.*\/\([^/][^/]*\)\/*$/{
15062 # Avoid depending upon Character Ranges.
15063 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15064 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15065 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15066 as_cr_digits
='0123456789'
15067 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15069 ECHO_C
= ECHO_N
= ECHO_T
=
15070 case `echo -n x` in #(((((
15072 case `echo 'xy\c'` in
15073 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15075 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15082 rm -f conf$$ conf$$.exe conf$$.
file
15083 if test -d conf$$.dir
; then
15084 rm -f conf$$.dir
/conf$$.
file
15087 mkdir conf$$.dir
2>/dev
/null
15089 if (echo >conf$$.
file) 2>/dev
/null
; then
15090 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15092 # ... but there are two gotchas:
15093 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15094 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15095 # In both cases, we have to default to `cp -p'.
15096 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15098 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15106 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15107 rmdir conf$$.dir
2>/dev
/null
15112 # Create "$as_dir" as a directory, including parents if necessary.
15117 -*) as_dir
=.
/$as_dir;;
15119 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15123 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15124 *) as_qdir
=$as_dir;;
15126 as_dirs
="'$as_qdir' $as_dirs"
15127 as_dir
=`$as_dirname -- "$as_dir" ||
15128 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15129 X"$as_dir" : 'X\(//\)[^/]' \| \
15130 X"$as_dir" : 'X\(//\)$' \| \
15131 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15132 $as_echo X"$as_dir" |
15133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15137 /^X\(\/\/\)[^/].*/{
15150 test -d "$as_dir" && break
15152 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15153 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15157 if mkdir
-p .
2>/dev
/null
; then
15158 as_mkdir_p
='mkdir -p "$as_dir"'
15160 test -d .
/-p && rmdir .
/-p
15164 if test -x / >/dev
/null
2>&1; then
15165 as_test_x
='test -x'
15167 if ls -dL / >/dev
/null
2>&1; then
15174 if test -d "$1"; then
15180 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15181 ???[sx]*):;;*)false;;esac;fi
15185 as_executable_p
=$as_test_x
15187 # Sed expression to map a string onto a valid CPP name.
15188 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15190 # Sed expression to map a string onto a valid variable name.
15191 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15195 ## ----------------------------------- ##
15196 ## Main body of $CONFIG_STATUS script. ##
15197 ## ----------------------------------- ##
15199 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15202 # Save the log message, to keep $0 and so on meaningful, and to
15203 # report actual input values of CONFIG_FILES etc. instead of their
15204 # values after options handling.
15206 This file was extended by $as_me, which was
15207 generated by GNU Autoconf 2.64. Invocation command line was
15209 CONFIG_FILES = $CONFIG_FILES
15210 CONFIG_HEADERS = $CONFIG_HEADERS
15211 CONFIG_LINKS = $CONFIG_LINKS
15212 CONFIG_COMMANDS = $CONFIG_COMMANDS
15215 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15220 case $ac_config_files in *"
15221 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15226 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15227 # Files that config.status was made for.
15228 config_files="$ac_config_files"
15232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15234 \`$as_me' instantiates files and other configuration actions
15235 from templates according to the current configuration. Unless the files
15236 and actions are specified as TAGs, all are instantiated by default.
15238 Usage: $0 [OPTION]... [TAG]...
15240 -h, --help print this help, then exit
15241 -V, --version print version number and configuration settings, then exit
15242 -q, --quiet, --silent
15243 do not print progress messages
15244 -d, --debug don't remove temporary files
15245 --recheck update $as_me by reconfiguring in the same conditions
15246 --file=FILE[:TEMPLATE]
15247 instantiate the configuration file FILE
15249 Configuration files:
15252 Report bugs to the package provider."
15255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15258 configured by $0, generated by GNU Autoconf 2.64,
15259 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15261 Copyright (C) 2009 Free Software Foundation, Inc.
15262 This config.status script is free software; the Free Software Foundation
15263 gives unlimited permission to copy, distribute and modify it."
15269 test -n "\$AWK" || AWK=awk
15272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15273 # The default lists apply if the user does not specify any file.
15279 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15280 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15291 # Handling of the options.
15292 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15294 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15295 $as_echo "$ac_cs_version"; exit ;;
15296 --debug |
--debu |
--deb |
--de |
--d |
-d )
15298 --file |
--fil |
--fi |
--f )
15301 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15303 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15304 ac_need_defaults
=false
;;
15305 --he |
--h |
--help |
--hel |
-h )
15306 $as_echo "$ac_cs_usage"; exit ;;
15307 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15308 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15311 # This is an error.
15312 -*) as_fn_error
"unrecognized option: \`$1'
15313 Try \`$0 --help' for more information." ;;
15315 *) as_fn_append ac_config_targets
" $1"
15316 ac_need_defaults
=false
;;
15322 ac_configure_extra_args
=
15324 if $ac_cs_silent; then
15326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15331 if \$ac_cs_recheck; then
15332 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15334 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15335 CONFIG_SHELL='$SHELL'
15336 export CONFIG_SHELL
15341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15346 ## Running $as_me. ##
15352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15356 extrasub_build="$extrasub_build"
15357 extrasub_host="$extrasub_host"
15358 extrasub_target="$extrasub_target"
15362 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15364 # Handling of arguments.
15365 for ac_config_target
in $ac_config_targets
15367 case $ac_config_target in
15368 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15370 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15375 # If the user did not use the arguments to specify the items to instantiate,
15376 # then the envvar interface is used. Set only those that are not.
15377 # We use the long form for the default assignment because of an extremely
15378 # bizarre bug on SunOS 4.1.3.
15379 if $ac_need_defaults; then
15380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15383 # Have a temporary directory for convenience. Make it in the build tree
15384 # simply because there is no reason against having it here, and in addition,
15385 # creating and moving files from /tmp can sometimes cause problems.
15386 # Hook for its removal unless debugging.
15387 # Note that there is a small window in which the directory will not be cleaned:
15388 # after its creation but before its name has been assigned to `$tmp'.
15392 trap 'exit_status=$?
15393 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15395 trap 'as_fn_exit 1' 1 2 13 15
15397 # Create a (secure) tmp directory for tmp files.
15400 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15401 test -n "$tmp" && test -d "$tmp"
15404 tmp
=.
/conf$$
-$RANDOM
15405 (umask 077 && mkdir
"$tmp")
15406 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15408 # Set up the scripts for CONFIG_FILES section.
15409 # No need to generate them if there are no CONFIG_FILES.
15410 # This happens for instance with `./config.status config.h'.
15411 if test -n "$CONFIG_FILES"; then
15413 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15414 ac_cs_awk_getline
=:
15415 ac_cs_awk_pipe_init
=
15416 ac_cs_awk_read_file
='
15417 while ((getline aline < (F[key])) > 0)
15420 ac_cs_awk_pipe_fini
=
15422 ac_cs_awk_getline
=false
15423 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15424 ac_cs_awk_read_file
='
15426 print "cat " F[key] " &&"
15427 '$ac_cs_awk_pipe_init
15428 # The final `:' finishes the AND list.
15429 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15431 ac_cr
=`echo X | tr X '\015'`
15432 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15433 # But we know of no other shell where ac_cr would be empty at this
15434 # point, so we can use a bashism as a fallback.
15435 if test "x$ac_cr" = x
; then
15436 eval ac_cr
=\$
\'\\r
\'
15438 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15439 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15442 ac_cs_awk_cr
=$ac_cr
15445 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15448 # Create commands to substitute file output variables.
15450 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15451 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15452 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15455 } >conf$
$files.sh
&&
15456 . .
/conf$
$files.sh ||
15457 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15458 rm -f conf$
$files.sh
15461 echo "cat >conf$$subs.awk <<_ACEOF" &&
15462 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15464 } >conf$$subs.sh ||
15465 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15466 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15468 for ac_last_try in false false false false false :; do
15469 . ./conf$$subs.sh ||
15470 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15472 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15473 if test $ac_delim_n = $ac_delim_num; then
15475 elif $ac_last_try; then
15476 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15478 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15481 rm -f conf$$subs.sh
15483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15484 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15488 s/^/S["/; s
/!.
*/"]=/
15498 s/\(.\{148\}\).*/\1/
15500 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15505 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15512 s/\(.\{148\}\).*/\1/
15514 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15518 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15523 ' <conf$$subs.awk | sed '
15528 ' >>$CONFIG_STATUS || ac_write_fail=1
15529 rm -f conf$$subs.awk
15530 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15532 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15533 for (key in S) S_is_set[key] = 1
15535 \$ac_cs_awk_pipe_init
15539 nfields = split(line, field, "@
")
15541 len = length(field[1])
15542 for (i = 2; i < nfields; i++) {
15544 keylen = length(key)
15545 if (S_is_set[key]) {
15547 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15548 len += length(value) + length(field[++i])
15553 if (nfields == 3 && !substed) {
15555 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15556 \$ac_cs_awk_read_file
15562 \$ac_cs_awk_pipe_fini
15565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15566 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15567 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15570 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15571 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15574 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15575 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15576 # trailing colons and then remove the whole line if VPATH becomes empty
15577 # (actually we leave an empty line to preserve line numbers).
15578 if test "x
$srcdir" = x.; then
15579 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15580 s/:*\$(srcdir):*/:/
15581 s/:*\${srcdir}:*/:/
15583 s/^\([^=]*=[ ]*\):*/\1/
15589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15590 fi # test -n "$CONFIG_FILES"
15593 eval set X " :F
$CONFIG_FILES "
15598 :[FHLC]) ac_mode=$ac_tag; continue;;
15600 case $ac_mode$ac_tag in
15602 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15603 :[FH]-) ac_tag=-:-;;
15604 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15621 -) ac_f="$tmp/stdin";;
15622 *) # Look for the file first in the build tree, then in the source tree
15623 # (if the path is not absolute). The absolute path cannot be DOS-style,
15624 # because $ac_f cannot contain `:'.
15628 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15630 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15632 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15633 as_fn_append ac_file_inputs " '$ac_f'"
15636 # Let's still pretend it is `configure' which instantiates (i.e., don't
15637 # use $as_me), people would be surprised to read:
15638 # /* config.h. Generated by config.status. */
15639 configure_input='Generated from '`
15640 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15642 if test x"$ac_file" != x-; then
15643 configure_input="$ac_file.
$configure_input"
15644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15645 $as_echo "$as_me: creating
$ac_file" >&6;}
15647 # Neutralize special characters interpreted by sed in replacement strings.
15648 case $configure_input in #(
15649 *\&* | *\|* | *\\* )
15650 ac_sed_conf_input=`$as_echo "$configure_input" |
15651 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15652 *) ac_sed_conf_input=$configure_input;;
15656 *:-:* | *:-) cat >"$tmp/stdin
" \
15657 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15662 ac_dir=`$as_dirname -- "$ac_file" ||
15663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15664 X"$ac_file" : 'X\(//\)[^/]' \| \
15665 X"$ac_file" : 'X\(//\)$' \| \
15666 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15667 $as_echo X"$ac_file" |
15668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15672 /^X\(\/\/\)[^/].*/{
15685 as_dir="$ac_dir"; as_fn_mkdir_p
15689 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15691 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15692 # A "..
" for each directory in $ac_dir_suffix.
15693 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15694 case $ac_top_builddir_sub in
15695 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15696 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15699 ac_abs_top_builddir=$ac_pwd
15700 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15701 # for backward compatibility:
15702 ac_top_builddir=$ac_top_build_prefix
15705 .) # We are building in place.
15707 ac_top_srcdir=$ac_top_builddir_sub
15708 ac_abs_top_srcdir=$ac_pwd ;;
15709 [\\/]* | ?:[\\/]* ) # Absolute name.
15710 ac_srcdir=$srcdir$ac_dir_suffix;
15711 ac_top_srcdir=$srcdir
15712 ac_abs_top_srcdir=$srcdir ;;
15713 *) # Relative name.
15714 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15715 ac_top_srcdir=$ac_top_build_prefix$srcdir
15716 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15718 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15728 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15729 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15734 # If the template does not know about datarootdir, expand it.
15735 # FIXME: This hack should be removed a few years after 2.60.
15736 ac_datarootdir_hack=; ac_datarootdir_seen=
15747 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15748 *datarootdir*) ac_datarootdir_seen=yes;;
15749 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15751 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15754 ac_datarootdir_hack='
15755 s&@datadir@&$datadir&g
15756 s&@docdir@&$docdir&g
15757 s&@infodir@&$infodir&g
15758 s&@localedir@&$localedir&g
15759 s&@mandir@&$mandir&g
15760 s&\\\${datarootdir}&$datarootdir&g' ;;
15764 # Neutralize VPATH when `$srcdir' = `.'.
15765 # Shell code in configure.ac might set extrasub.
15766 # FIXME: do we really want to maintain this feature?
15767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768 ac_sed_extra="$ac_vpsub
15771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15773 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15774 s|@configure_input@|
$ac_sed_conf_input|
;t t
15775 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15776 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15777 s
&@srcdir@
&$ac_srcdir&;t t
15778 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15779 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15780 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15781 s
&@builddir@
&$ac_builddir&;t t
15782 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15783 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15784 s
&@INSTALL@
&$ac_INSTALL&;t t
15785 $ac_datarootdir_hack
15787 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15788 if $ac_cs_awk_getline; then
15789 $AWK -f "$tmp/subs.
awk"
15791 $AWK -f "$tmp/subs.
awk" | $SHELL
15793 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15796 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15799 which seems to be undefined. Please make sure it is defined." >&5
15800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15801 which seems to be undefined. Please make sure it is defined." >&2;}
15805 -) cat "$tmp/out" && rm -f "$tmp/out";;
15806 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15808 || as_fn_error "could not create $ac_file" "$LINENO" 5
15816 case $ac_file$ac_mode in
15817 "Makefile":F) sed "$extrasub_build" Makefile |
15818 sed "$extrasub_host" |
15819 sed "$extrasub_target" > mf$$
15820 mv -f mf$$ Makefile ;;
15828 ac_clean_files=$ac_clean_files_save
15830 test $ac_write_fail = 0 ||
15831 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15834 # configure is writing to config.log, and then calls config.status.
15835 # config.status does its own redirection, appending to config.log.
15836 # Unfortunately, on DOS this fails, as config.log is still kept open
15837 # by configure, so config.status won't be able to
write to it
; its
15838 # output is simply discarded. So we exec the FD to /dev/null,
15839 # effectively closing config.log, so it can be properly (re)opened and
15840 # appended to by config.status. When coming back to configure, we
15841 # need to make the FD available again.
15842 if test "$no_create" != yes; then
15844 ac_config_status_args
=
15845 test "$silent" = yes &&
15846 ac_config_status_args
="$ac_config_status_args --quiet"
15848 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15850 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15851 # would make configure fail if this is the last instruction.
15852 $ac_cs_success || as_fn_exit $?
15854 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15856 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}