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
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
640 DEBUG_PREFIX_CFLAGS_FOR_TARGET
641 SYSROOT_CFLAGS_FOR_TARGET
643 extra_host_libiberty_configure_flags
652 extra_mpc_mpfr_configure_flags
653 extra_mpc_gmp_configure_flags
654 extra_mpfr_configure_flags
696 TOPLEVEL_CONFIGURE_ARGUMENTS
724 program_transform_name
735 ac_subst_files
='serialization_dependencies
741 enable_option_checking
747 enable_build_with_cxx
767 enable_ppl_version_check
772 enable_cloog_version_check
774 enable_stage1_languages
778 with_debug_prefix_map
781 enable_serial_configure
782 enable_upc_link_script
783 with_build_time_tools
784 enable_maintainer_mode
785 enable_stage1_checking
788 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
905 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
908 -build |
--build |
--buil |
--bui |
--bu)
909 ac_prev
=build_alias
;;
910 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
911 build_alias
=$ac_optarg ;;
913 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
914 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
915 ac_prev
=cache_file
;;
916 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
917 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
918 cache_file
=$ac_optarg ;;
921 cache_file
=config.cache
;;
923 -datadir |
--datadir |
--datadi |
--datad)
925 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
926 datadir
=$ac_optarg ;;
928 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
929 |
--dataroo |
--dataro |
--datar)
930 ac_prev
=datarootdir
;;
931 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
932 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
933 datarootdir
=$ac_optarg ;;
935 -disable-* |
--disable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=no
;;
951 -docdir |
--docdir |
--docdi |
--doc |
--do)
953 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
956 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
958 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
961 -enable-* |
--enable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=\
$ac_optarg ;;
977 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
978 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
979 |
--exec |
--exe |
--ex)
980 ac_prev
=exec_prefix
;;
981 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
982 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
983 |
--exec=* |
--exe=* |
--ex=*)
984 exec_prefix
=$ac_optarg ;;
986 -gas |
--gas |
--ga |
--g)
987 # Obsolete; use --with-gas.
990 -help |
--help |
--hel |
--he |
-h)
992 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
993 ac_init_help
=recursive
;;
994 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
995 ac_init_help
=short
;;
997 -host |
--host |
--hos |
--ho)
998 ac_prev
=host_alias
;;
999 -host=* |
--host=* |
--hos=* |
--ho=*)
1000 host_alias
=$ac_optarg ;;
1002 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1004 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1006 htmldir
=$ac_optarg ;;
1008 -includedir |
--includedir |
--includedi |
--included |
--include \
1009 |
--includ |
--inclu |
--incl |
--inc)
1010 ac_prev
=includedir
;;
1011 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1012 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1013 includedir
=$ac_optarg ;;
1015 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1017 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1018 infodir
=$ac_optarg ;;
1020 -libdir |
--libdir |
--libdi |
--libd)
1022 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1023 libdir
=$ac_optarg ;;
1025 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1026 |
--libexe |
--libex |
--libe)
1027 ac_prev
=libexecdir
;;
1028 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1029 |
--libexe=* |
--libex=* |
--libe=*)
1030 libexecdir
=$ac_optarg ;;
1032 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1033 ac_prev
=localedir
;;
1034 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1035 localedir
=$ac_optarg ;;
1037 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1038 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1039 ac_prev
=localstatedir
;;
1040 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1041 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1042 localstatedir
=$ac_optarg ;;
1044 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1046 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1047 mandir
=$ac_optarg ;;
1049 -nfp |
--nfp |
--nf)
1050 # Obsolete; use --without-fp.
1053 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1054 |
--no-cr |
--no-c |
-n)
1057 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1058 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1061 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1062 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1063 |
--oldin |
--oldi |
--old |
--ol |
--o)
1064 ac_prev
=oldincludedir
;;
1065 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1066 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1067 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1068 oldincludedir
=$ac_optarg ;;
1070 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1072 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1073 prefix
=$ac_optarg ;;
1075 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1076 |
--program-pre |
--program-pr |
--program-p)
1077 ac_prev
=program_prefix
;;
1078 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1079 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1080 program_prefix
=$ac_optarg ;;
1082 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1083 |
--program-suf |
--program-su |
--program-s)
1084 ac_prev
=program_suffix
;;
1085 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1086 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1087 program_suffix
=$ac_optarg ;;
1089 -program-transform-name |
--program-transform-name \
1090 |
--program-transform-nam |
--program-transform-na \
1091 |
--program-transform-n |
--program-transform- \
1092 |
--program-transform |
--program-transfor \
1093 |
--program-transfo |
--program-transf \
1094 |
--program-trans |
--program-tran \
1095 |
--progr-tra |
--program-tr |
--program-t)
1096 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1106 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1108 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1109 pdfdir
=$ac_optarg ;;
1111 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1113 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1117 |
-silent |
--silent |
--silen |
--sile |
--sil)
1120 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1122 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1127 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1128 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1132 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1133 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site |
--site |
--sit)
1139 -site=* |
--site=* |
--sit=*)
1142 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1144 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1148 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1151 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1155 ac_prev
=target_alias
;;
1156 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1162 -version |
--version |
--versio |
--versi |
--vers |
-V)
1163 ac_init_version
=: ;;
1166 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=\
$ac_optarg ;;
1181 -without-* |
--without-*)
1182 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1202 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1205 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1209 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1212 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) as_fn_error
"unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information."
1220 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1224 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error
"missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val
=\$
$ac_var
1260 # Remove trailing slashes.
1263 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\
$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$
]* | ?
:[\\/]* ) continue;;
1269 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1271 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target
=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x
; then
1283 if test "x$build_alias" = x
; then
1284 cross_compiling
=maybe
1285 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1286 If a cross compiler is detected then cross compile mode will be used." >&2
1287 elif test "x$build_alias" != "x$host_alias"; then
1293 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1295 test "$silent" = yes && exec 6>/dev
/null
1298 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di
=`ls -di .` &&
1300 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1301 as_fn_error
"working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 as_fn_error
"pwd does not report name of working directory"
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted
=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir
=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$as_myself" : 'X\(//\)[^/]' \| \
1313 X"$as_myself" : 'X\(//\)$' \| \
1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted
=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1342 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1344 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360 as_fn_error
"path to source, $srcdir, contains spaces"
1363 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1365 for ac_var
in $ac_precious_vars; do
1366 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1368 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1373 # Report the --help message.
1375 if test "$ac_init_help" = "long"; then
1376 # Omit some internal or obsolete options to make the list less imposing.
1377 # This message is too long to be a string in the A/UX 3.1 sh.
1379 \`configure' configures this package to adapt to many kinds of systems.
1381 Usage: $0 [OPTION]... [VAR=VALUE]...
1383 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1384 VAR=VALUE. See below for descriptions of some of the useful variables.
1386 Defaults for the options are specified in brackets.
1389 -h, --help display this help and exit
1390 --help=short display options specific to this package
1391 --help=recursive display the short help of all the included packages
1392 -V, --version display version information and exit
1393 -q, --quiet, --silent do not print \`checking...' messages
1394 --cache-file=FILE cache test results in FILE [disabled]
1395 -C, --config-cache alias for \`--cache-file=config.cache'
1396 -n, --no-create do not create output files
1397 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1399 Installation directories:
1400 --prefix=PREFIX install architecture-independent files in PREFIX
1401 [$ac_default_prefix]
1402 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1405 By default, \`make install' will install all the files in
1406 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1407 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1408 for instance \`--prefix=\$HOME'.
1410 For better control, use the options below.
1412 Fine tuning of the installation directories:
1413 --bindir=DIR user executables [EPREFIX/bin]
1414 --sbindir=DIR system admin executables [EPREFIX/sbin]
1415 --libexecdir=DIR program executables [EPREFIX/libexec]
1416 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1417 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1418 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1419 --libdir=DIR object code libraries [EPREFIX/lib]
1420 --includedir=DIR C header files [PREFIX/include]
1421 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1422 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1423 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1424 --infodir=DIR info documentation [DATAROOTDIR/info]
1425 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1426 --mandir=DIR man documentation [DATAROOTDIR/man]
1427 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1428 --htmldir=DIR html documentation [DOCDIR]
1429 --dvidir=DIR dvi documentation [DOCDIR]
1430 --pdfdir=DIR pdf documentation [DOCDIR]
1431 --psdir=DIR ps documentation [DOCDIR]
1437 --program-prefix=PREFIX prepend PREFIX to installed program names
1438 --program-suffix=SUFFIX append SUFFIX to installed program names
1439 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1442 --build=BUILD configure
for building on BUILD
[guessed
]
1443 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1444 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1448 if test -n "$ac_init_help"; then
1453 --disable-option-checking ignore unrecognized
--enable/--with options
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1457 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1458 --enable-libada build libada directory
1459 --enable-libssp build libssp directory
1460 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1461 --disable-ppl-version-check disable check
for PPL version
1462 --enable-cloog-backend[=BACKEND
]
1463 set the CLooG BACKEND used to either isl
, ppl or
1464 ppl-legacy
(default
)
1465 --disable-cloog-version-check
1466 disable check
for CLooG version
1467 --enable-lto enable link
time optimization support
1468 --enable-stage1-languages[=all
] choose additional languages to build during
1469 stage1. Mostly useful
for compiler development.
1470 --enable-objc-gc enable use of Boehm
's garbage collector with the
1471 GNU Objective-C runtime
1472 --enable-bootstrap enable bootstrapping [yes if native build]
1473 --enable-serial-[{host,target,build}-]configure
1474 force sequential configuration of
1475 sub-packages for the host, target or build
1476 machine, or all sub-packages
1477 --enable-upc-link-script Enable UPC's use of a custom linker
script.
1478 This will define the UPC shared section as a no load section on
1479 targets where this feature is supported. Requires GNU LD.
1480 --enable-maintainer-mode enable make rules and dependencies not useful
1481 (and sometimes confusing
) to the casual installer
1482 --enable-stage1-checking[=all
] choose additional checking
for stage1
1484 --enable-werror enable -Werror in bootstrap stage2 and later
1487 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1488 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1489 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1490 --with-mpc=PATH specify prefix directory
for installed MPC package.
1491 Equivalent to
--with-mpc-include=PATH
/include
1492 plus
--with-mpc-lib=PATH
/lib
1493 --with-mpc-include=PATH
1494 specify directory
for installed MPC include files
1495 --with-mpc-lib=PATH specify directory
for the installed MPC library
1496 --with-mpfr-dir=PATH this option has been REMOVED
1497 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1498 Equivalent to
--with-mpfr-include=PATH
/include
1499 plus
--with-mpfr-lib=PATH
/lib
1500 --with-mpfr-include=PATH
1501 specify directory
for installed MPFR include files
1502 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1503 --with-gmp-dir=PATH this option has been REMOVED
1504 --with-gmp=PATH specify prefix directory
for the installed GMP package.
1505 Equivalent to
--with-gmp-include=PATH
/include
1506 plus
--with-gmp-lib=PATH
/lib
1507 --with-gmp-include=PATH specify directory
for installed GMP include files
1508 --with-gmp-lib=PATH specify directory
for the installed GMP library
1509 --with-host-libstdcxx=L Use linker arguments L to link with libstdc
++
1510 when linking with PPL
1511 --with-stage1-ldflags=FLAGS Linker flags
for stage1
1512 -with-stage1-libs=LIBS Libraries
for stage1
1513 --with-boot-libs=LIBS Libraries
for stage2 and later
1514 --with-boot-ldflags=FLAGS Linker flags
for stage2 and later
1515 --with-ppl=PATH Specify prefix directory
for the installed PPL package
1516 Equivalent to
--with-ppl-include=PATH
/include
1517 plus
--with-ppl-lib=PATH
/lib
1518 --with-ppl-include=PATH Specify directory
for installed PPL include files
1519 --with-ppl-lib=PATH Specify the directory
for the installed PPL library
1520 --with-cloog=PATH Specify prefix directory
for the installed CLooG-PPL
1521 package. Equivalent to
1522 --with-cloog-include=PATH
/include plus
1523 --with-cloog-lib=PATH
/lib
1524 --with-cloog-include=PATH
1525 Specify directory
for installed CLooG include files
1526 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1528 --with-upc-pts={struct
,word-pair
,packed
} choose the representation
1529 of a UPC pointer-to-shared
1530 --with-build-sysroot=SYSROOT
1531 use sysroot as the system root during the build
1532 --with-debug-prefix-map='A=B C=D ...'
1533 map A to B
, C to D ...
in debug information
1534 --with-build-config='NAME NAME2...'
1535 Use config
/NAME.mk build configuration
1536 --with-build-time-tools=PATH
1537 use given path to
find target tools during the build
1539 Some influential environment variables
:
1540 CC C compiler
command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1543 nonstandard directory
<lib dir
>
1544 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1545 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1546 you have headers
in a nonstandard directory
<include dir
>
1547 CXX C
++ compiler
command
1548 CXXFLAGS C
++ compiler flags
1550 additional configure arguments
for build directories
1552 additional configure arguments
for host directories
1554 additional configure arguments
for target directories
1557 DLLTOOL DLLTOOL
for the
host
1559 LIPO LIPO
for the
host
1561 RANLIB RANLIB
for the
host
1562 STRIP STRIP
for the
host
1563 WINDRES WINDRES
for the
host
1564 WINDMC WINDMC
for the
host
1565 OBJCOPY OBJCOPY
for the
host
1566 OBJDUMP OBJDUMP
for the
host
1576 GFORTRAN
for the target
1584 DLLTOOL
for the target
1592 OBJDUMP
for the target
1594 RANLIB
for the target
1596 STRIP
for the target
1598 WINDRES
for the target
1600 WINDMC
for the target
1602 Use these variables to override the choices made by
`configure' or to help
1603 it to find libraries and programs with nonstandard names/locations.
1605 Report bugs to the package provider.
1610 if test "$ac_init_help" = "recursive"; then
1611 # If there are subdirs, report their specific --help.
1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1613 test -d "$ac_dir" ||
1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1621 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1622 # A ".." for each directory in $ac_dir_suffix.
1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1624 case $ac_top_builddir_sub in
1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 ac_abs_top_builddir=$ac_pwd
1630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1631 # for backward compatibility:
1632 ac_top_builddir=$ac_top_build_prefix
1635 .) # We are building in place.
1637 ac_top_srcdir=$ac_top_builddir_sub
1638 ac_abs_top_srcdir=$ac_pwd ;;
1639 [\\/]* | ?:[\\/]* ) # Absolute name.
1640 ac_srcdir=$srcdir$ac_dir_suffix;
1641 ac_top_srcdir=$srcdir
1642 ac_abs_top_srcdir=$srcdir ;;
1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1645 ac_top_srcdir=$ac_top_build_prefix$srcdir
1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1650 cd "$ac_dir" || { ac_status=$?; continue; }
1651 # Check for guested configure.
1652 if test -f "$ac_srcdir/configure.gnu"; then
1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1655 elif test -f "$ac_srcdir/configure"; then
1657 $SHELL "$ac_srcdir/configure" --help=recursive
1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1661 cd "$ac_pwd" || { ac_status=$?; break; }
1665 test -n "$ac_init_help" && exit $ac_status
1666 if $ac_init_version; then
1669 generated by GNU Autoconf 2.64
1671 Copyright (C) 2009 Free Software Foundation, Inc.
1672 This configure script is free software; the Free Software Foundation
1673 gives unlimited permission to copy, distribute and modify it.
1678 ## ------------------------ ##
1679 ## Autoconf initialization. ##
1680 ## ------------------------ ##
1682 # ac_fn_c_try_compile LINENO
1683 # --------------------------
1684 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1685 ac_fn_c_try_compile ()
1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1688 rm -f conftest.$ac_objext
1689 if { { ac_try="$ac_compile"
1691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1692 *) ac_try_echo
=$ac_try;;
1694 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695 $as_echo "$ac_try_echo"; } >&5
1696 (eval "$ac_compile") 2>conftest.err
1698 if test -s conftest.err
; then
1699 grep -v '^ *+' conftest.err
>conftest.er1
1700 cat conftest.er1
>&5
1701 mv -f conftest.er1 conftest.err
1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1704 test $ac_status = 0; } && {
1705 test -z "$ac_c_werror_flag" ||
1706 test ! -s conftest.err
1707 } && test -s conftest.
$ac_objext; then :
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.
$ac_ext >&5
1715 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1718 } # ac_fn_c_try_compile
1720 # ac_fn_cxx_try_compile LINENO
1721 # ----------------------------
1722 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1723 ac_fn_cxx_try_compile
()
1725 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1726 rm -f conftest.
$ac_objext
1727 if { { ac_try
="$ac_compile"
1729 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1730 *) ac_try_echo=$ac_try;;
1732 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1733 $as_echo "$ac_try_echo"; } >&5
1734 (eval "$ac_compile") 2>conftest.err
1736 if test -s conftest.err; then
1737 grep -v '^ *+' conftest.err >conftest.er1
1738 cat conftest.er1 >&5
1739 mv -f conftest.er1 conftest.err
1741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1742 test $ac_status = 0; } && {
1743 test -z "$ac_cxx_werror_flag" ||
1744 test ! -s conftest.err
1745 } && test -s conftest.$ac_objext; then :
1748 $as_echo "$as_me: failed program was:" >&5
1749 sed 's/^/| /' conftest.$ac_ext >&5
1753 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 } # ac_fn_cxx_try_compile
1758 # ac_fn_c_try_link LINENO
1759 # -----------------------
1760 # Try to link conftest.$ac_ext, and return whether this succeeded.
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 rm -f conftest.$ac_objext conftest$ac_exeext
1765 if { { ac_try="$ac_link"
1767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1768 *) ac_try_echo
=$ac_try;;
1770 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1771 $as_echo "$ac_try_echo"; } >&5
1772 (eval "$ac_link") 2>conftest.err
1774 if test -s conftest.err
; then
1775 grep -v '^ *+' conftest.err
>conftest.er1
1776 cat conftest.er1
>&5
1777 mv -f conftest.er1 conftest.err
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && {
1781 test -z "$ac_c_werror_flag" ||
1782 test ! -s conftest.err
1783 } && test -s conftest
$ac_exeext && {
1784 test "$cross_compiling" = yes ||
1785 $as_test_x conftest
$ac_exeext
1789 $as_echo "$as_me: failed program was:" >&5
1790 sed 's/^/| /' conftest.
$ac_ext >&5
1794 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1795 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1796 # interfere with the next link command; also delete a directory that is
1797 # left behind by Apple's compiler. We do this before executing the actions.
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1802 } # ac_fn_c_try_link
1803 cat >config.log
<<_ACEOF
1804 This file contains any messages produced by compilers while
1805 running configure, to aid debugging if configure makes a mistake.
1807 It was created by $as_me, which was
1808 generated by GNU Autoconf 2.64. Invocation command line was
1820 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1821 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1822 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1823 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1824 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1826 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1827 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1829 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1830 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1831 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1832 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1833 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1834 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1835 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1843 test -z "$as_dir" && as_dir
=.
1844 $as_echo "PATH: $as_dir"
1860 # Keep a trace of the command line.
1861 # Strip out --no-create and --no-recursion so they do not pile up.
1862 # Strip out --silent because we don't want to record it for future runs.
1863 # Also quote any args containing shell meta-characters.
1864 # Make two passes to allow for proper duplicate-argument suppression.
1868 ac_must_keep_next
=false
1874 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1875 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1876 |
-silent |
--silent |
--silen |
--sile |
--sil)
1879 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1882 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1884 as_fn_append ac_configure_args1
" '$ac_arg'"
1885 if test $ac_must_keep_next = true
; then
1886 ac_must_keep_next
=false
# Got value, back to normal.
1889 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1890 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1891 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1892 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1893 case "$ac_configure_args0 " in
1894 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1897 -* ) ac_must_keep_next
=true
;;
1900 as_fn_append ac_configure_args
" '$ac_arg'"
1905 { ac_configure_args0
=; unset ac_configure_args0
;}
1906 { ac_configure_args1
=; unset ac_configure_args1
;}
1908 # When interrupted or exit'd, cleanup temporary files, and complete
1909 # config.log. We remove comments because anyway the quotes in there
1910 # would cause problems or look ugly.
1911 # WARNING: Use '\'' to represent an apostrophe within the trap.
1912 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1913 trap 'exit_status=$?
1914 # Save into config.log some information that might help in debugging.
1919 ## ---------------- ##
1920 ## Cache variables. ##
1921 ## ---------------- ##
1924 # The following way of writing the cache mishandles newlines in values,
1926 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1927 eval ac_val=\$$ac_var
1931 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1932 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1935 _ | IFS | as_nl) ;; #(
1936 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1937 *) { eval $ac_var=; unset $ac_var;} ;;
1942 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1943 *${as_nl}ac_space=\ *)
1945 "s/'\''/'\''\\\\'\'''\''/g;
1946 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1949 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1957 ## ----------------- ##
1958 ## Output variables. ##
1959 ## ----------------- ##
1962 for ac_var in $ac_subst_vars
1964 eval ac_val=\$$ac_var
1966 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1968 $as_echo "$ac_var='\''$ac_val'\''"
1972 if test -n "$ac_subst_files"; then
1974 ## ------------------- ##
1975 ## File substitutions. ##
1976 ## ------------------- ##
1979 for ac_var
in $ac_subst_files
1981 eval ac_val
=\$
$ac_var
1983 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1985 $as_echo "$ac_var='\''$ac_val'\''"
1990 if test -s confdefs.h; then
2000 test "$ac_signal" != 0 &&
2001 $as_echo "$as_me: caught signal $ac_signal"
2002 $as_echo "$as_me: exit $exit_status"
2004 rm -f core *.core core.conftest.* &&
2005 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2008 for ac_signal
in 1 2 13 15; do
2009 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2013 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2014 rm -f -r conftest
* confdefs.h
2016 $as_echo "/* confdefs.h */" > confdefs.h
2018 # Predefined preprocessor variables.
2020 cat >>confdefs.h
<<_ACEOF
2021 #define PACKAGE_NAME "$PACKAGE_NAME"
2024 cat >>confdefs.h
<<_ACEOF
2025 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2028 cat >>confdefs.h
<<_ACEOF
2029 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2032 cat >>confdefs.h
<<_ACEOF
2033 #define PACKAGE_STRING "$PACKAGE_STRING"
2036 cat >>confdefs.h
<<_ACEOF
2037 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2040 cat >>confdefs.h
<<_ACEOF
2041 #define PACKAGE_URL "$PACKAGE_URL"
2045 # Let the site file select an alternate cache file if it wants to.
2046 # Prefer an explicitly selected file to automatically selected ones.
2049 if test -n "$CONFIG_SITE"; then
2050 ac_site_file1
=$CONFIG_SITE
2051 elif test "x$prefix" != xNONE
; then
2052 ac_site_file1
=$prefix/share
/config.site
2053 ac_site_file2
=$prefix/etc
/config.site
2055 ac_site_file1
=$ac_default_prefix/share
/config.site
2056 ac_site_file2
=$ac_default_prefix/etc
/config.site
2058 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2060 test "x$ac_site_file" = xNONE
&& continue
2061 if test -r "$ac_site_file"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2063 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2064 sed 's/^/| /' "$ac_site_file" >&5
2069 if test -r "$cache_file"; then
2070 # Some versions of bash will fail to source /dev/null (special
2071 # files actually), so we avoid doing that.
2072 if test -f "$cache_file"; then
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2074 $as_echo "$as_me: loading cache $cache_file" >&6;}
2076 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2077 *) .
"./$cache_file";;
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2082 $as_echo "$as_me: creating cache $cache_file" >&6;}
2086 # Check that the precious variables saved in the cache have kept the same
2088 ac_cache_corrupted
=false
2089 for ac_var
in $ac_precious_vars; do
2090 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2091 eval ac_new_set
=\
$ac_env_${ac_var}_set
2092 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2093 eval ac_new_val
=\
$ac_env_${ac_var}_value
2094 case $ac_old_set,$ac_new_set in
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2097 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2098 ac_cache_corrupted
=: ;;
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2101 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2102 ac_cache_corrupted
=: ;;
2105 if test "x$ac_old_val" != "x$ac_new_val"; then
2106 # differences in whitespace do not lead to failure.
2107 ac_old_val_w
=`echo x $ac_old_val`
2108 ac_new_val_w
=`echo x $ac_new_val`
2109 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2111 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2112 ac_cache_corrupted
=:
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2115 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2116 eval $ac_var=\
$ac_old_val
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2119 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2121 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2124 # Pass precious variables to config.status.
2125 if test "$ac_new_set" = set; then
2127 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2128 *) ac_arg
=$ac_var=$ac_new_val ;;
2130 case " $ac_configure_args " in
2131 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2132 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2136 if $ac_cache_corrupted; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2140 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2141 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2143 ## -------------------- ##
2144 ## Main body of script. ##
2145 ## -------------------- ##
2148 ac_cpp
='$CPP $CPPFLAGS'
2149 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2150 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2151 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2162 # if PWD already has a value, it is probably wrong.
2163 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2165 # Export original configure arguments for use by sub-configures.
2166 # Quote arguments with shell meta charatcers.
2167 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2168 set -- "$progname" "$@"
2172 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2173 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2174 # if the argument is of the form -foo=baz, quote the baz part only
2175 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2178 # Add the quoted argument to the list.
2179 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2181 if test "$silent" = yes; then
2182 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2184 # Remove the initial space we just introduced and, as these will be
2185 # expanded by make, quote '$'.
2186 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2189 # Find the build, host, and target systems.
2191 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2192 for ac_t
in install-sh
install.sh shtool
; do
2193 if test -f "$ac_dir/$ac_t"; then
2195 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2200 if test -z "$ac_aux_dir"; then
2201 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2204 # These three variables are undocumented and unsupported,
2205 # and are intended to be withdrawn in a future Autoconf release.
2206 # They can cause serious problems if a builder's source tree is in a directory
2207 # whose full name contains unusual characters.
2208 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2209 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2210 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2213 # Make sure we can run config.sub.
2214 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2215 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2218 $as_echo_n "checking build system type... " >&6; }
2219 if test "${ac_cv_build+set}" = set; then :
2220 $as_echo_n "(cached) " >&6
2222 ac_build_alias
=$build_alias
2223 test "x$ac_build_alias" = x
&&
2224 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2225 test "x$ac_build_alias" = x
&&
2226 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2227 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2228 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2232 $as_echo "$ac_cv_build" >&6; }
2233 case $ac_cv_build in
2235 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2238 ac_save_IFS
=$IFS; IFS
='-'
2244 # Remember, the first character of IFS is used to create $*,
2245 # except with old shells:
2248 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2251 case ${build_alias} in
2252 "") build_noncanonical
=${build} ;;
2253 *) build_noncanonical
=${build_alias} ;;
2258 case ${host_alias} in
2259 "") host_noncanonical
=${build_noncanonical} ;;
2260 *) host_noncanonical
=${host_alias} ;;
2265 case ${target_alias} in
2266 "") target_noncanonical
=${host_noncanonical} ;;
2267 *) target_noncanonical
=${target_alias} ;;
2273 test "$host_noncanonical" = "$target_noncanonical" &&
2274 test "$program_prefix$program_suffix$program_transform_name" = \
2276 program_transform_name
=s
,y
,y
,
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2279 $as_echo_n "checking host system type... " >&6; }
2280 if test "${ac_cv_host+set}" = set; then :
2281 $as_echo_n "(cached) " >&6
2283 if test "x$host_alias" = x
; then
2284 ac_cv_host
=$ac_cv_build
2286 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2287 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2292 $as_echo "$ac_cv_host" >&6; }
2295 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2298 ac_save_IFS
=$IFS; IFS
='-'
2304 # Remember, the first character of IFS is used to create $*,
2305 # except with old shells:
2308 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2312 $as_echo_n "checking target system type... " >&6; }
2313 if test "${ac_cv_target+set}" = set; then :
2314 $as_echo_n "(cached) " >&6
2316 if test "x$target_alias" = x
; then
2317 ac_cv_target
=$ac_cv_host
2319 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2320 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2325 $as_echo "$ac_cv_target" >&6; }
2326 case $ac_cv_target in
2328 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2330 target
=$ac_cv_target
2331 ac_save_IFS
=$IFS; IFS
='-'
2337 # Remember, the first character of IFS is used to create $*,
2338 # except with old shells:
2341 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2344 # The aliases save the names the user supplied, while $host etc.
2345 # will get canonicalized.
2346 test -n "$target_alias" &&
2347 test "$program_prefix$program_suffix$program_transform_name" = \
2349 program_prefix
=${target_alias}-
2351 test "$program_prefix" != NONE
&&
2352 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2353 # Use a double $ so make ignores it.
2354 test "$program_suffix" != NONE
&&
2355 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2356 # Double any \ or $.
2357 # By default was `s,x,x', remove it if useless.
2358 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2359 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2363 # Get 'install' or 'install-sh' and its variants.
2364 # Find a good install program. We prefer a C program (faster),
2365 # so one script is as good as another. But avoid the broken or
2366 # incompatible versions:
2367 # SysV /etc/install, /usr/sbin/install
2368 # SunOS /usr/etc/install
2369 # IRIX /sbin/install
2371 # AmigaOS /C/install, which installs bootblocks on floppy discs
2372 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2373 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2374 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2375 # OS/2's system install, which has a completely different semantic
2376 # ./install, which can be erroneously created by make from ./install.sh.
2377 # Reject install programs that cannot install multiple files.
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2379 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2380 if test -z "$INSTALL"; then
2381 if test "${ac_cv_path_install+set}" = set; then :
2382 $as_echo_n "(cached) " >&6
2384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2388 test -z "$as_dir" && as_dir
=.
2389 # Account for people who put trailing slashes in PATH elements.
2390 case $as_dir/ in #((
2391 .
/ | .
// |
/[cC
]/* | \
2392 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2393 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2396 # OSF1 and SCO ODT 3.0 have their own names for install.
2397 # Don't use installbsd from OSF since it installs stuff as root
2399 for ac_prog
in ginstall scoinst
install; do
2400 for ac_exec_ext
in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2402 if test $ac_prog = install &&
2403 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2404 # AIX install. It has an incompatible calling convention.
2406 elif test $ac_prog = install &&
2407 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2408 # program-specific install script used by HP pwplus--don't use.
2411 rm -rf conftest.one conftest.two conftest.dir
2412 echo one
> conftest.one
2413 echo two
> conftest.two
2415 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2416 test -s conftest.one
&& test -s conftest.two
&&
2417 test -s conftest.dir
/conftest.one
&&
2418 test -s conftest.dir
/conftest.two
2420 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2433 rm -rf conftest.one conftest.two conftest.dir
2436 if test "${ac_cv_path_install+set}" = set; then
2437 INSTALL
=$ac_cv_path_install
2439 # As a last resort, use the slow shell script. Don't cache a
2440 # value for INSTALL within a source directory, because that will
2441 # break other packages using the cache if that directory is
2442 # removed, or if the value is a relative name.
2443 INSTALL
=$ac_install_sh
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2447 $as_echo "$INSTALL" >&6; }
2449 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2450 # It thinks the first close brace ends the variable substitution.
2451 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2453 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2455 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2458 $as_echo_n "checking whether ln works... " >&6; }
2459 if test "${acx_cv_prog_LN+set}" = set; then :
2460 $as_echo_n "(cached) " >&6
2462 rm -f conftestdata_t
2463 echo >conftestdata_f
2464 if ln conftestdata_f conftestdata_t
2>/dev
/null
2470 rm -f conftestdata_f conftestdata_t
2473 if test $acx_cv_prog_LN = no
; then
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2476 $as_echo "no, using $LN" >&6; }
2478 LN
="$acx_cv_prog_LN"
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2480 $as_echo "yes" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2484 $as_echo_n "checking whether ln -s works... " >&6; }
2486 if test "$LN_S" = "ln -s"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2488 $as_echo "yes" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2491 $as_echo "no, using $LN_S" >&6; }
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2495 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2496 if test "${ac_cv_path_SED+set}" = set; then :
2497 $as_echo_n "(cached) " >&6
2499 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2500 for ac_i
in 1 2 3 4 5 6 7; do
2501 ac_script
="$ac_script$as_nl$ac_script"
2503 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2504 { ac_script
=; unset ac_script
;}
2505 if test -z "$SED"; then
2506 ac_path_SED_found
=false
2507 # Loop through the user's path and test for each of PROGNAME-LIST
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 for ac_prog
in sed gsed
; do
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2516 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2517 # Check for GNU ac_path_SED and select it if it is found.
2518 # Check for GNU $ac_path_SED
2519 case `"$ac_path_SED" --version 2>&1` in
2521 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2524 $as_echo_n 0123456789 >"conftest.in"
2527 cat "conftest.in" "conftest.in" >"conftest.tmp"
2528 mv "conftest.tmp" "conftest.in"
2529 cp "conftest.in" "conftest.nl"
2530 $as_echo '' >> "conftest.nl"
2531 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2532 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2533 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2534 if test $ac_count -gt ${ac_path_SED_max-0}; then
2535 # Best one so far, save it but keep looking for a better one
2536 ac_cv_path_SED
="$ac_path_SED"
2537 ac_path_SED_max
=$ac_count
2539 # 10*(2^10) chars as input seems more than enough
2540 test $ac_count -gt 10 && break
2542 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2545 $ac_path_SED_found && break 3
2550 if test -z "$ac_cv_path_SED"; then
2551 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2559 $as_echo "$ac_cv_path_SED" >&6; }
2560 SED
="$ac_cv_path_SED"
2563 for ac_prog
in gawk mawk nawk
awk
2565 # Extract the first word of "$ac_prog", so it can be a program name with args.
2566 set dummy
$ac_prog; ac_word
=$2
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568 $as_echo_n "checking for $ac_word... " >&6; }
2569 if test "${ac_cv_prog_AWK+set}" = set; then :
2570 $as_echo_n "(cached) " >&6
2572 if test -n "$AWK"; then
2573 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_exec_ext
in '' $ac_executable_extensions; do
2581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582 ac_cv_prog_AWK
="$ac_prog"
2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test -n "$AWK"; then
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2595 $as_echo "$AWK" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598 $as_echo "no" >&6; }
2602 test -n "$AWK" && break
2606 ### we might need to use some other shell than /bin/sh for running subshells
2607 ### If we are on Windows, search for the shell. This will permit people
2608 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2609 ### without also having to set CONFIG_SHELL. This code will work when
2610 ### using bash, which sets OSTYPE.
2613 if test x
${CONFIG_SHELL} = x
; then
2614 if test ! -f /bin
/sh
; then
2615 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2616 CONFIG_SHELL
=${SHELL}
2619 for prog
in sh sh.exe bash bash.exe
; do
2620 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2621 for dir
in $PATH; do
2622 test -z "$dir" && dir
=.
2623 if test -f $dir/$prog; then
2624 CONFIG_SHELL
=$dir/$prog
2630 test -n "${CONFIG_SHELL}" && break
2638 config_shell
=${CONFIG_SHELL-/bin/sh}
2640 moveifchange
=${srcdir}/move-if-change
2642 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2644 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2646 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2647 INSTALL
="${srcpwd}/install-sh -c"
2650 # Set srcdir to "." if that's what it is.
2651 # This is important for multilib support.
2653 if test "${pwd}" = "${srcpwd}" ; then
2661 ### To add a new directory to the tree, first choose whether it is a target
2662 ### or a host dependent tool. Then put it into the appropriate list
2663 ### (library or tools, host or target), doing a dependency sort.
2665 # Subdirs will be configured in the order listed in build_configdirs,
2666 # configdirs, or target_configdirs; see the serialization section below.
2668 # Dependency sorting is only needed when *configuration* must be done in
2669 # a particular order. In all cases a dependency should be specified in
2670 # the Makefile, whether or not it's implicitly specified here.
2672 # Double entries in build_configdirs, configdirs, or target_configdirs may
2673 # cause circular dependencies and break everything horribly.
2675 # these library is used by various programs built for the build
2678 build_libs
="build-libiberty"
2680 # these tools are built for the build environment
2681 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2683 # these libraries are used by various programs built for the host environment
2685 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2687 # these tools are built for the host environment
2688 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2689 # know that we are building the simulator.
2690 # binutils, gas and ld appear in that order because it makes sense to run
2691 # "make check" in that particular order.
2692 # If --enable-gold is used, "gold" may replace "ld".
2693 host_tools
="texinfo byacc flex bison binutils gas ld fixincludes gcc cgen sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar gnattools"
2695 # libgcj represents the runtime libraries only used by gcj.
2696 libgcj
="target-libffi \
2701 # these libraries are built for the target environment, and are built after
2702 # the host libraries and the host tools (which may be a cross compiler)
2704 target_libraries
="target-libgcc \
2709 target-libstdc++-v3 \
2712 target-libquadmath \
2713 target-libgfortran \
2721 # these tools are built using the target libraries, and are intended to
2722 # run only in the target environment
2724 # note: any program that *uses* libraries that are in the "target_libraries"
2725 # list belongs in this list. those programs are also very likely
2726 # candidates for the "native_only" list which follows
2728 target_tools
="target-examples target-groff target-gperf target-rda"
2730 ################################################################################
2732 ## All tools belong in one of the four categories, and are assigned above
2733 ## We assign ${configdirs} this way to remove all embedded newlines. This
2734 ## is important because configure will choke if they ever get through.
2735 ## ${configdirs} is directories we build using the host tools.
2736 ## ${target_configdirs} is directories we build using the target tools.
2737 configdirs
=`echo ${host_libs} ${host_tools}`
2738 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2739 build_configdirs
=`echo ${build_libs} ${build_tools}`
2743 ################################################################################
2745 srcname
="gnu development package"
2747 # This gets set non-empty for some net releases of packages.
2750 # Define is_cross_compiler to save on calls to 'test'.
2752 if test x
"${host}" = x
"${target}" ; then
2753 is_cross_compiler
=no
2755 is_cross_compiler
=yes
2758 # Find the build and target subdir names.
2760 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2761 # have matching libraries, they should use host libraries: Makefile.tpl
2762 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2763 # However, they still use the build modules, because the corresponding
2764 # host modules (e.g. bison) are only built for the host when bootstrap
2766 # - build_subdir is where we find build modules, and never changes.
2767 # - build_libsubdir is where we find build libraries, and can be overridden.
2769 # Prefix 'build-' so this never conflicts with target_subdir.
2770 build_subdir
="build-${build_noncanonical}"
2772 # Check whether --with-build-libsubdir was given.
2773 if test "${with_build_libsubdir+set}" = set; then :
2774 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2776 build_libsubdir
="$build_subdir"
2779 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2780 if ( test $srcdir = .
&& test -d gcc
) \
2781 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2782 host_subdir
="host-${host_noncanonical}"
2787 target_subdir
=${target_noncanonical}
2789 # Be sure to cover against remnants of an in-tree build.
2790 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2791 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2792 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2795 # Skipdirs are removed silently.
2797 # Noconfigdirs are removed loudly.
2801 # Make sure we don't let GNU ld be added if we didn't want it.
2802 if test x
$with_gnu_ld = xno
; then
2804 noconfigdirs
="$noconfigdirs ld gold"
2808 # Make sure we don't let GNU as be added if we didn't want it.
2809 if test x
$with_gnu_as = xno
; then
2811 noconfigdirs
="$noconfigdirs gas"
2815 # Make sure we don't let ZLIB be added if we didn't want it.
2816 if test x
$with_system_zlib = xyes
; then
2817 use_included_zlib
=no
2818 noconfigdirs
="$noconfigdirs zlib"
2821 # some tools are so dependent upon X11 that if we're not building with X,
2822 # it's not even worth trying to configure, much less build, that tool.
2825 yes |
"") ;; # the default value for this tree is that X11 is available
2827 skipdirs
="${skipdirs} tk itcl libgui"
2828 # We won't be able to build gdbtk without X.
2831 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2834 # Some tools are only suitable for building in a "native" situation.
2835 # Remove these if host!=target.
2836 native_only
="autoconf automake libtool fileutils find gawk gettext gzip hello indent m4 rcs recode sed shellutils tar textutils uudecode wdiff target-groff guile perl time ash bash bzip2 prms gnuserv target-gperf"
2838 # Similarly, some are only suitable for cross toolchains.
2839 # Remove these if host=target.
2840 cross_only
="target-libgloss target-newlib target-opcodes"
2842 case $is_cross_compiler in
2843 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2844 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2847 # If both --with-headers and --with-libs are specified, default to
2849 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2850 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2851 if test x
"${with_newlib}" = x
; then
2856 # Recognize --with-newlib/--without-newlib.
2857 case ${with_newlib} in
2858 no
) skipdirs
="${skipdirs} target-newlib" ;;
2859 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2862 # Handle --enable-gold, --enable-ld.
2863 # --disable-gold [--enable-ld]
2864 # Build only ld. Default option.
2865 # --enable-gold [--enable-ld]
2866 # Build both gold and ld. Install gold as "ld.gold", install ld
2867 # as "ld.bfd" and "ld".
2868 # --enable-gold=default [--enable-ld]
2869 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2870 # install ld as "ld.bfd".
2871 # --enable-gold[=default] --disable-ld
2872 # Build only gold, which is then installed as both "ld.gold" and "ld".
2873 # --enable-gold --enable-ld=default
2874 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2876 # In other words, ld is default
2877 # --enable-gold=default --enable-ld=default
2881 # Check whether --enable-gold was given.
2882 if test "${enable_gold+set}" = set; then :
2883 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2888 case "${ENABLE_GOLD}" in
2890 # Check for ELF target.
2893 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2894 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2895 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2897 *-*-linux*aout
* |
*-*-linux*oldld
*)
2905 if test "$is_elf" = "yes"; then
2906 # Check for target supported by gold.
2908 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2909 configdirs
="$configdirs gold"
2910 if test x
${ENABLE_GOLD} = xdefault
; then
2921 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2925 # Check whether --enable-ld was given.
2926 if test "${enable_ld+set}" = set; then :
2927 enableval
=$enable_ld; ENABLE_LD
=$enableval
2933 case "${ENABLE_LD}" in
2935 if test x
${default_ld} != x
; then
2936 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2942 if test x
${ENABLE_GOLD} != xyes
; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2944 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2946 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2949 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2953 # Configure extra directories which are host specific
2957 configdirs
="$configdirs libtermcap" ;;
2960 # A target can indicate whether a language isn't supported for some reason.
2961 # Only spaces may be used in this macro; not newlines or tabs.
2962 unsupported_languages
=
2964 # Remove more programs from consideration, based on the host or
2965 # target this usually means that a port of the program doesn't
2970 noconfigdirs
="$noconfigdirs byacc"
2972 i
[3456789]86-*-vsta)
2973 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2975 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2976 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2979 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2981 i
[3456789]86-*-mingw32*)
2982 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2983 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2985 i
[3456789]86-*-beos*)
2986 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2989 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2992 noconfigdirs
="$noconfigdirs rcs"
2995 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2998 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
3003 # Check whether --enable-libada was given.
3004 if test "${enable_libada+set}" = set; then :
3005 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3010 if test "${ENABLE_LIBADA}" != "yes" ; then
3011 noconfigdirs
="$noconfigdirs gnattools"
3014 # Check whether --enable-libssp was given.
3015 if test "${enable_libssp+set}" = set; then :
3016 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3022 # Save it here so that, even in case of --enable-libgcj, if the Java
3023 # front-end isn't enabled, we still get libgcj disabled.
3024 libgcj_saved
=$libgcj
3025 case $enable_libgcj in
3027 # If we reset it here, it won't get added to noconfigdirs in the
3028 # target-specific build rules, so it will be forcibly enabled
3029 # (unless the Java language itself isn't enabled).
3033 # Make sure we get it printed in the list of not supported target libs.
3034 # Don't disable libffi, though, other languages use it.
3035 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3040 # Disable libmudflap on some systems.
3041 if test x
$enable_libmudflap = x
; then
3044 # Disable for Cray catamount machine
3045 noconfigdirs
="$noconfigdirs target-libmudflap"
3048 # Disable for Cray XT CNL machine
3049 noconfigdirs
="$noconfigdirs target-libmudflap"
3051 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3052 # Enable libmudflap by default in GNU and friends.
3055 # Enable libmudflap by default in FreeBSD.
3058 # Disable it by default everywhere else.
3059 noconfigdirs
="$noconfigdirs target-libmudflap"
3064 # Disable libgomp on non POSIX hosted systems.
3065 if test x
$enable_libgomp = x
; then
3066 # Enable libgomp by default on hosted POSIX systems.
3068 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3070 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
3072 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3074 *-*-darwin* |
*-*-aix*)
3077 noconfigdirs
="$noconfigdirs target-libgomp"
3082 # Default libgloss CPU subdirectory.
3083 libgloss_dir
="$target_cpu"
3087 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3090 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3091 noconfigdirs
="$noconfigdirs sim target-rda"
3093 i
[3456789]86-*-darwin*)
3094 noconfigdirs
="$noconfigdirs ld gprof"
3095 noconfigdirs
="$noconfigdirs sim target-rda"
3097 x86_64-
*-darwin[912]*)
3098 noconfigdirs
="$noconfigdirs ld gas gprof"
3099 noconfigdirs
="$noconfigdirs sim target-rda"
3102 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3103 noconfigdirs
="$noconfigdirs sim target-rda"
3104 noconfigdirs
="$noconfigdirs ${libgcj}"
3106 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
3107 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3110 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3111 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3112 && test -f /usr
/local
/include
/gmp.h
; then
3116 # Skip some stuff that's unsupported on some FreeBSD configurations.
3122 noconfigdirs
="$noconfigdirs ${libgcj}"
3127 # Remove unsupported stuff on all kaOS configurations.
3128 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3129 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3130 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3131 noconfigdirs
="$noconfigdirs target-libgloss"
3134 # Skip some stuff on all NetBSD configurations.
3135 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3137 # Skip some stuff that's unsupported on some NetBSD configurations.
3139 i
*86-*-netbsdelf*) ;;
3140 arm
*-*-netbsdelf*) ;;
3142 noconfigdirs
="$noconfigdirs ${libgcj}"
3147 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3150 skipdirs
="${skipdirs} target-libiberty"
3151 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3153 # The tpf target doesn't support gdb yet.
3155 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3158 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3161 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3164 # ld works, but does not support shared libraries.
3165 # newlib is not 64 bit ready. I'm not sure about fileutils.
3166 # gas doesn't generate exception information.
3167 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3170 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3173 # newlib is not 64 bit ready
3174 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3177 # newlib is not 64 bit ready
3178 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3181 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3184 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3186 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3187 noconfigdirs
="$noconfigdirs ${libgcj}"
3188 noconfigdirs
="$noconfigdirs target-examples"
3189 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3190 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3191 noconfigdirs
="$noconfigdirs expect dejagnu"
3192 # the C++ libraries don't build on top of CE's C libraries
3193 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3194 noconfigdirs
="$noconfigdirs target-newlib"
3196 *-*-cygwin*) ;; # keep gdb and readline
3197 *) noconfigdirs
="$noconfigdirs gdb readline"
3203 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3207 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3208 noconfigdirs
="$noconfigdirs ${libgcj}"
3211 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3212 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3215 arm
*-*-linux-gnueabi)
3216 noconfigdirs
="$noconfigdirs target-qthreads"
3217 case ${with_newlib} in
3218 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3223 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3227 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3230 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3233 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3236 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3239 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3242 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3245 unsupported_languages
="$unsupported_languages java"
3246 noconfigdirs
="$noconfigdirs target-boehm-gc gdb"
3247 if test x
${is_cross_compiler} != xno
; then
3248 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3251 c4x-
*-* | tic4x-
*-*)
3252 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3254 c54x
*-*-* | tic54x-
*-*)
3255 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3258 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3260 cris-
*-* | crisv32-
*-*)
3261 unsupported_languages
="$unsupported_languages java"
3264 unsupported_languages
="$unsupported_languages fortran"
3265 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3267 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3269 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3271 unsupported_languages
="$unsupported_languages fortran"
3272 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3277 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3280 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3283 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3285 ep9312-
*-elf | ep9312-
*-coff)
3289 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3292 noconfigdirs
="$noconfigdirs ${libgcj}"
3295 noconfigdirs
="$noconfigdirs ${libgcj}"
3296 noconfigdirs
="$noconfigdirs gprof"
3299 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3302 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3304 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3306 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3307 # In this case, it's because the hppa64-linux target is for
3308 # the kernel only at this point and has no libc, and thus no
3309 # headers, crt*.o, etc., all of which are needed by these.
3310 noconfigdirs
="$noconfigdirs target-zlib"
3312 parisc
*-*-linux* | hppa
*-*-linux*)
3316 hppa
*-*-openbsd* | \
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3321 noconfigdirs
="$noconfigdirs ld shellutils"
3327 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3328 # build on HP-UX 10.20.
3329 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3332 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3335 # No gdb support yet.
3336 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3339 # No gdb or ld support yet.
3340 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3343 # No gdb or ld support yet.
3344 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3348 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3349 noconfigdirs
="$noconfigdirs ${libgcj}"
3352 i
[3456789]86-*-linux*)
3353 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3354 # not build java stuff by default.
3357 noconfigdirs
="$noconfigdirs ${libgcj}";;
3360 # This section makes it possible to build newlib natively on linux.
3361 # If we are using a cross compiler then don't configure newlib.
3362 if test x
${is_cross_compiler} != xno
; then
3363 noconfigdirs
="$noconfigdirs target-newlib"
3365 noconfigdirs
="$noconfigdirs target-libgloss"
3366 # If we are not using a cross compiler, do configure newlib.
3367 # Note however, that newlib will only be configured in this situation
3368 # if the --with-newlib option has been given, because otherwise
3369 # 'target-newlib' will appear in skipdirs.
3371 i
[3456789]86-w64-mingw*)
3372 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3374 i
[3456789]86-*-mingw*)
3375 target_configdirs
="$target_configdirs target-winsup"
3376 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3379 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3382 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3383 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3384 # always build newlib if winsup directory is present.
3385 if test -d "$srcdir/winsup/cygwin"; then
3386 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3387 elif test -d "$srcdir/newlib"; then
3388 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3391 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3392 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3395 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3397 i
[3456789]86-*-sco3.2v5
*)
3398 # The linker does not yet know about weak symbols in COFF,
3399 # and is not configured to handle mixed ELF and COFF.
3400 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3402 i
[3456789]86-*-sco*)
3403 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3405 i
[3456789]86-*-solaris2*)
3406 noconfigdirs
="$noconfigdirs target-libgloss"
3408 i
[3456789]86-*-sysv4*)
3409 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3411 i
[3456789]86-*-beos*)
3412 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3414 i
[3456789]86-*-rdos*)
3415 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3418 noconfigdirs
="$noconfigdirs ${libgcj}"
3420 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3421 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3422 libgloss_dir
=m68hc11
3425 noconfigdirs
="$noconfigdirs ${libgcj}"
3428 noconfigdirs
="$noconfigdirs ${libgcj}"
3430 m68
*-*-* | fido-
*-*)
3434 # The EPOC C++ environment does not support exceptions or rtti,
3435 # and so building libstdc++-v3 tends not to always work.
3436 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3439 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3440 unsupported_languages
="$unsupported_languages fortran java"
3443 noconfigdirs
="$noconfigdirs ${libgcj}"
3446 noconfigdirs
="$noconfigdirs ${libgcj}"
3449 noconfigdirs
="$noconfigdirs sim"
3452 noconfigdirs
="$noconfigdirs target-libiberty"
3455 # copied from rs6000-*-* entry
3456 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3458 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3459 target_configdirs
="$target_configdirs target-winsup"
3460 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3461 # always build newlib.
3462 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3464 # This is temporary until we can link against shared libraries
3465 powerpcle-
*-solaris*)
3466 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3470 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3473 noconfigdirs
="$noconfigdirs ${libgcj}"
3476 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3480 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3483 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3486 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3489 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3492 noconfigdirs
="$noconfigdirs gprof target-libssp ${libgcj}"
3495 skipdirs
="$skipdirs target-libiberty"
3496 noconfigdirs
="$noconfigdirs ${libgcj}"
3497 if test x
$with_newlib = xyes
; then
3498 noconfigdirs
="$noconfigdirs gprof"
3503 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3506 # Linking libjava exceeds command-line length limits on at least
3507 # IRIX 6.2, but not on IRIX 6.5.
3508 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3509 # <oldham@codesourcery.com>
3510 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3513 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3516 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3519 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3523 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3527 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3528 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3529 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3530 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3534 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3536 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3539 sparclet-
*-aout* | sparc86x-
*-*)
3543 noconfigdirs
="$noconfigdirs ${libgcj}"
3546 noconfigdirs
="$noconfigdirs ${libgcj}"
3550 noconfigdirs
="$noconfigdirs ${libgcj}"
3554 noconfigdirs
="$noconfigdirs ${libgcj}"
3555 if test x
${is_cross_compiler} != xno
; then
3556 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3561 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3562 noconfigdirs
="$noconfigdirs ${libgcj}"
3564 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3567 noconfigdirs
="$noconfigdirs gdb sim ${libgcj}"
3570 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3573 noconfigdirs
="$noconfigdirs ${libgcj}"
3576 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3579 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3582 noconfigdirs
="$noconfigdirs ${libgcj}"
3585 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3587 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3588 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3591 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3594 noconfigdirs
="$noconfigdirs ${libgcj}"
3598 # If we aren't building newlib, then don't build libgloss, since libgloss
3599 # depends upon some newlib header files.
3600 case "${noconfigdirs}" in
3601 *target-libgloss
*) ;;
3602 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3605 # Work in distributions that contain no compiler tools, like Autoconf.
3607 host_makefile_frag
=/dev
/null
3608 if test -d ${srcdir}/config
; then
3611 # Avoid "too much defining" errors from HPUX compiler.
3612 tentative_cc
="cc -Wp,-H256000"
3613 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3614 # If it's HP/UX ar, this should be harmless.
3618 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3621 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3622 # chokes on bfd, the compiler won't let you assign integers to enums, and
3623 # other problems. Defining CC to gcc is a questionable way to say "don't use
3624 # the apollo compiler" (the preferred version of GCC could be called cc,
3625 # or whatever), but I'm not sure leaving CC as cc is any better...
3626 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3627 # Used to have BISON=yacc.
3631 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3634 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3635 tentative_cc
="cc -Xa"
3636 host_makefile_frag
="config/mh-cxux"
3638 m88k-motorola-sysv
*)
3641 tentative_cc
="cc -Wf,-XNg1000"
3642 host_makefile_frag
="config/mh-decstation"
3645 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3646 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3647 host_makefile_frag
="config/mh-necv4"
3650 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3651 # environment. Also bump switch table size so that cp-parse will
3652 # compile. Bump string length limit so linker builds.
3653 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3656 host_makefile_frag
="config/mh-sysv4"
3659 # This is for a MIPS running RISC/os 4.52C.
3661 # This is needed for GDB, but needs to be in the top-level make because
3662 # if a library is compiled with the bsd headers and gets linked with the
3663 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3664 # a different size).
3665 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3666 # known except to select the sysv environment. Could we use /proc instead?
3667 # These "sysv environments" and "bsd environments" often end up being a pain.
3669 # This is not part of CFLAGS because perhaps not all C compilers have this
3671 tentative_cc
="cc -systype sysv"
3676 i
[3456789]86-*-sysv5*)
3677 host_makefile_frag
="config/mh-sysv5"
3679 i
[3456789]86-*-dgux*)
3680 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3681 host_makefile_frag
="config/mh-dgux386"
3683 i
[3456789]86-ncr-sysv4.3
*)
3684 # The MetaWare compiler will generate a copyright message unless you
3685 # turn it off by adding the -Hnocopyr flag.
3686 tentative_cc
="cc -Hnocopyr"
3688 i
[3456789]86-ncr-sysv4*)
3689 # for an NCR 3000 (i486/SVR4) system.
3690 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3691 # This compiler not only emits obnoxious copyright messages every time
3692 # you run it, but it chokes and dies on a whole bunch of GNU source
3693 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3694 tentative_cc
="/usr/ccs/ATT/cc"
3695 host_makefile_frag
="config/mh-ncr3000"
3697 i
[3456789]86-*-sco3.2v5
*)
3699 i
[3456789]86-*-sco*)
3700 # The native C compiler botches some simple uses of const. Unfortunately,
3701 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3702 tentative_cc
="cc -Dconst="
3703 host_makefile_frag
="config/mh-sco"
3705 i
[3456789]86-*-udk*)
3706 host_makefile_frag
="config/mh-sysv5"
3708 i
[3456789]86-*-solaris2*)
3709 host_makefile_frag
="config/mh-sysv4"
3711 i
[3456789]86-*-msdosdjgpp*)
3712 host_makefile_frag
="config/mh-djgpp"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3717 $as_echo_n "checking to see if cat works as expected... " >&6; }
3718 echo a
>cygwin-cat-check
3719 if test `cat cygwin-cat-check` = a
; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 as_fn_error
"The cat command does not ignore carriage return characters.
3728 Please either mount the build directory in binary mode or run the following
3729 commands before running any configure script:
3735 host_makefile_frag
="config/mh-cygwin"
3738 host_makefile_frag
="config/mh-mingw"
3741 host_makefile_frag
="config/mh-interix"
3744 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3748 host_makefile_frag
="config/mh-solaris"
3751 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3752 # without overflowing the jump tables (-J says to use a 32 bit table)
3753 tentative_cc
="cc -J"
3756 tentative_cc
="cc -Wp,-H256000"
3757 host_makefile_frag
="config/mh-pa-hpux10"
3759 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3760 tentative_cc
="cc -Wp,-H256000"
3761 host_makefile_frag
="config/mh-pa"
3764 host_makefile_frag
="config/mh-pa"
3766 *-hp-hpux* |
*-*-hiux*)
3767 tentative_cc
="cc -Wp,-H256000"
3770 # /bin/cc is less than useful for our purposes. Always use GCC
3771 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3772 host_makefile_frag
="config/mh-lynxrs6k"
3775 host_makefile_frag
="config/mh-darwin"
3778 host_makefile_frag
="config/mh-ppc-aix"
3781 host_makefile_frag
="config/mh-ppc-aix"
3784 # /bin/cc is less than useful for our purposes. Always use GCC
3785 tentative_cc
="/bin/gcc"
3788 host_makefile_frag
="config/mh-sysv4"
3790 # This is placed last to prevent interfering with the cases above.
3792 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3793 host_makefile_frag
="config/mh-x86omitfp"
3798 # If we aren't going to be using gcc, see if we can extract a definition
3799 # of CC from the fragment.
3800 # Actually, use the 'pre-extracted' version above.
3801 if test -z "${CC}" && test "${build}" = "${host}" ; then
3802 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3804 for dir
in $PATH; do
3805 test -z "$dir" && dir
=.
3806 if test -f $dir/gcc
; then
3812 if test -z "${found}" && test -n "${tentative_cc}" ; then
3817 if test "${build}" != "${host}" ; then
3818 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3819 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3820 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3821 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3822 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3823 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3824 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3825 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3826 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3827 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3828 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3829 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3830 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3832 AR_FOR_BUILD
="\$(AR)"
3833 AS_FOR_BUILD
="\$(AS)"
3834 CC_FOR_BUILD
="\$(CC)"
3835 CXX_FOR_BUILD
="\$(CXX)"
3836 GCJ_FOR_BUILD
="\$(GCJ)"
3837 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3838 GOC_FOR_BUILD
="\$(GOC)"
3839 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3840 LD_FOR_BUILD
="\$(LD)"
3841 NM_FOR_BUILD
="\$(NM)"
3842 RANLIB_FOR_BUILD
="\$(RANLIB)"
3843 WINDRES_FOR_BUILD
="\$(WINDRES)"
3844 WINDMC_FOR_BUILD
="\$(WINDMC)"
3848 ac_cpp
='$CPP $CPPFLAGS'
3849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3852 if test -n "$ac_tool_prefix"; then
3853 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3854 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3856 $as_echo_n "checking for $ac_word... " >&6; }
3857 if test "${ac_cv_prog_CC+set}" = set; then :
3858 $as_echo_n "(cached) " >&6
3860 if test -n "$CC"; then
3861 ac_cv_prog_CC
="$CC" # Let the user override the test.
3863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3867 test -z "$as_dir" && as_dir
=.
3868 for ac_exec_ext
in '' $ac_executable_extensions; do
3869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3870 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3881 if test -n "$CC"; then
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3883 $as_echo "$CC" >&6; }
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3886 $as_echo "no" >&6; }
3891 if test -z "$ac_cv_prog_CC"; then
3893 # Extract the first word of "gcc", so it can be a program name with args.
3894 set dummy gcc
; ac_word
=$2
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3896 $as_echo_n "checking for $ac_word... " >&6; }
3897 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3898 $as_echo_n "(cached) " >&6
3900 if test -n "$ac_ct_CC"; then
3901 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_prog_ac_ct_CC
="gcc"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3921 if test -n "$ac_ct_CC"; then
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3923 $as_echo "$ac_ct_CC" >&6; }
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3926 $as_echo "no" >&6; }
3929 if test "x$ac_ct_CC" = x
; then
3932 case $cross_compiling:$ac_tool_warned in
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3935 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3936 ac_tool_warned
=yes ;;
3944 if test -z "$CC"; then
3945 if test -n "$ac_tool_prefix"; then
3946 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3947 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_CC+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$CC"; then
3954 ac_cv_prog_CC
="$CC" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3974 if test -n "$CC"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3976 $as_echo "$CC" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3985 if test -z "$CC"; then
3986 # Extract the first word of "cc", so it can be a program name with args.
3987 set dummy cc
; ac_word
=$2
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3989 $as_echo_n "checking for $ac_word... " >&6; }
3990 if test "${ac_cv_prog_CC+set}" = set; then :
3991 $as_echo_n "(cached) " >&6
3993 if test -n "$CC"; then
3994 ac_cv_prog_CC
="$CC" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4004 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4005 ac_prog_rejected
=yes
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 if test $ac_prog_rejected = yes; then
4017 # We found a bogon in the path, so make sure we never use it.
4018 set dummy
$ac_cv_prog_CC
4020 if test $# != 0; then
4021 # We chose a different compiler from the bogus one.
4022 # However, it has the same basename, so the bogon will be chosen
4023 # first if we set CC to just the basename; use the full file name.
4025 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4031 if test -n "$CC"; then
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4033 $as_echo "$CC" >&6; }
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036 $as_echo "no" >&6; }
4041 if test -z "$CC"; then
4042 if test -n "$ac_tool_prefix"; then
4043 for ac_prog
in cl.exe
4045 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4046 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4048 $as_echo_n "checking for $ac_word... " >&6; }
4049 if test "${ac_cv_prog_CC+set}" = set; then :
4050 $as_echo_n "(cached) " >&6
4052 if test -n "$CC"; then
4053 ac_cv_prog_CC
="$CC" # Let the user override the test.
4055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4059 test -z "$as_dir" && as_dir
=.
4060 for ac_exec_ext
in '' $ac_executable_extensions; do
4061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4062 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 if test -n "$CC"; then
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4075 $as_echo "$CC" >&6; }
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4078 $as_echo "no" >&6; }
4082 test -n "$CC" && break
4085 if test -z "$CC"; then
4087 for ac_prog
in cl.exe
4089 # Extract the first word of "$ac_prog", so it can be a program name with args.
4090 set dummy
$ac_prog; ac_word
=$2
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4092 $as_echo_n "checking for $ac_word... " >&6; }
4093 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4094 $as_echo_n "(cached) " >&6
4096 if test -n "$ac_ct_CC"; then
4097 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106 ac_cv_prog_ac_ct_CC
="$ac_prog"
4107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4117 if test -n "$ac_ct_CC"; then
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4119 $as_echo "$ac_ct_CC" >&6; }
4121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4122 $as_echo "no" >&6; }
4126 test -n "$ac_ct_CC" && break
4129 if test "x$ac_ct_CC" = x
; then
4132 case $cross_compiling:$ac_tool_warned in
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4135 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4136 ac_tool_warned
=yes ;;
4145 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4146 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4147 as_fn_error
"no acceptable C compiler found in \$PATH
4148 See \`config.log' for more details." "$LINENO" 5; }
4150 # Provide some information about the compiler.
4151 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4154 for ac_option
in --version -v -V -qversion; do
4155 { { ac_try
="$ac_compiler $ac_option >&5"
4157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4158 *) ac_try_echo=$ac_try;;
4160 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4161 $as_echo "$ac_try_echo"; } >&5
4162 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4164 if test -s conftest.err; then
4166 ... rest of stderr output deleted ...
4167 10q' conftest.err >conftest.er1
4168 cat conftest.er1 >&5
4169 rm -f conftest.er1 conftest.err
4171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4172 test $ac_status = 0; }
4175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 /* end confdefs.h. */
4186 ac_clean_files_save=$ac_clean_files
4187 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4188 # Try to create an executable without -o first, disregard a.out.
4189 # It will help us diagnose broken compilers, and finding out an intuition
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4192 $as_echo_n "checking for C compiler default output file name... " >&6; }
4193 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4195 # The possible output files:
4196 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4199 for ac_file in $ac_files
4202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4203 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4208 if { { ac_try="$ac_link_default"
4210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4211 *) ac_try_echo
=$ac_try;;
4213 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4214 $as_echo "$ac_try_echo"; } >&5
4215 (eval "$ac_link_default") 2>&5
4217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4218 test $ac_status = 0; }; then :
4219 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4220 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4221 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4222 # so that the user can short-circuit this test for compilers unknown to
4224 for ac_file
in $ac_files ''
4226 test -f "$ac_file" ||
continue
4228 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4231 # We found the default executable, but exeext='' is most
4235 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4237 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4239 # We set ac_cv_exeext here because the later test for it is not
4240 # safe: cross compilers may not add the suffix if given an `-o'
4241 # argument, so we may need to know it at that point already.
4242 # Even if this section looks crufty: it has the advantage of
4249 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4255 $as_echo "$ac_file" >&6; }
4256 if test -z "$ac_file"; then :
4257 $as_echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4262 { as_fn_set_status
77
4263 as_fn_error
"C compiler cannot create executables
4264 See \`config.log' for more details." "$LINENO" 5; }; }
4266 ac_exeext
=$ac_cv_exeext
4268 # Check that the compiler produces executables we can run. If not, either
4269 # the compiler is broken, or we cross compile.
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4271 $as_echo_n "checking whether the C compiler works... " >&6; }
4272 # If not cross compiling, check that we can run a simple program.
4273 if test "$cross_compiling" != yes; then
4274 if { ac_try
='./$ac_file'
4275 { { case "(($ac_try" in
4276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4277 *) ac_try_echo=$ac_try;;
4279 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4280 $as_echo "$ac_try_echo"; } >&5
4281 (eval "$ac_try") 2>&5
4283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4284 test $ac_status = 0; }; }; then
4287 if test "$cross_compiling" = maybe; then
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error "cannot run C compiled programs.
4293 If you meant to cross compile
, use \
`--host'.
4294 See \`config.log
' for more details." "$LINENO" 5; }
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4299 $as_echo "yes" >&6; }
4301 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4302 ac_clean_files=$ac_clean_files_save
4303 # Check that the compiler produces executables we can run. If not, either
4304 # the compiler is broken, or we cross compile.
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4306 $as_echo_n "checking whether we are cross compiling... " >&6; }
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4308 $as_echo "$cross_compiling" >&6; }
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4311 $as_echo_n "checking for suffix of executables... " >&6; }
4312 if { { ac_try="$ac_link"
4314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_link") 2>&5
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }; then :
4323 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4324 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4325 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4327 for ac_file
in conftest.exe conftest conftest.
*; do
4328 test -f "$ac_file" ||
continue
4330 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4331 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4340 See \`config.log' for more details." "$LINENO" 5; }
4342 rm -f conftest
$ac_cv_exeext
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4344 $as_echo "$ac_cv_exeext" >&6; }
4346 rm -f conftest.
$ac_ext
4347 EXEEXT
=$ac_cv_exeext
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4350 $as_echo_n "checking for suffix of object files... " >&6; }
4351 if test "${ac_cv_objext+set}" = set; then :
4352 $as_echo_n "(cached) " >&6
4354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4355 /* end confdefs.h. */
4365 rm -f conftest.o conftest.obj
4366 if { { ac_try
="$ac_compile"
4368 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4369 *) ac_try_echo=$ac_try;;
4371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4372 $as_echo "$ac_try_echo"; } >&5
4373 (eval "$ac_compile") 2>&5
4375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376 test $ac_status = 0; }; then :
4377 for ac_file in conftest.o conftest.obj conftest.*; do
4378 test -f "$ac_file" || continue;
4380 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4381 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4386 $as_echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4391 as_fn_error "cannot compute suffix of object files
: cannot compile
4392 See \
`config.log' for more details." "$LINENO" 5; }
4394 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4397 $as_echo "$ac_cv_objext" >&6; }
4398 OBJEXT=$ac_cv_objext
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4401 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4402 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4403 $as_echo_n "(cached) " >&6
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4419 if ac_fn_c_try_compile "$LINENO"; then :
4424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4425 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4429 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4430 if test $ac_compiler_gnu = yes; then
4435 ac_test_CFLAGS=${CFLAGS+set}
4436 ac_save_CFLAGS=$CFLAGS
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4438 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4439 if test "${ac_cv_prog_cc_g+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4442 ac_save_c_werror_flag=$ac_c_werror_flag
4443 ac_c_werror_flag=yes
4446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4447 /* end confdefs.h. */
4457 if ac_fn_c_try_compile "$LINENO"; then :
4461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4462 /* end confdefs.h. */
4472 if ac_fn_c_try_compile "$LINENO"; then :
4475 ac_c_werror_flag=$ac_save_c_werror_flag
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 ac_c_werror_flag=$ac_save_c_werror_flag
4498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4499 $as_echo "$ac_cv_prog_cc_g" >&6; }
4500 if test "$ac_test_CFLAGS" = set; then
4501 CFLAGS=$ac_save_CFLAGS
4502 elif test $ac_cv_prog_cc_g = yes; then
4503 if test "$GCC" = yes; then
4509 if test "$GCC" = yes; then
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4516 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4517 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4518 $as_echo_n "(cached) " >&6
4520 ac_cv_prog_cc_c89=no
4522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4523 /* end confdefs.h. */
4526 #include <sys/types.h>
4527 #include <sys/stat.h>
4528 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4529 struct buf { int x; };
4530 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4531 static char *e (p, i)
4537 static char *f (char * (*g) (char **, int), char **p, ...)
4542 s = g (p, va_arg (v,int));
4547 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4548 function prototypes and stuff, but not '\xHH' hex character constants.
4549 These don't provoke an error unfortunately, instead are silently treated
4550 as 'x'. The following induces an error, until -std is added to get
4551 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4552 array size at least. It's necessary to write '\x00'==0 to get something
4553 that's true only with -std. */
4554 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4557 inside strings and character constants. */
4559 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561 int test (int i, double x);
4562 struct s1 {int (*f) (int a);};
4563 struct s2 {int (*f) (double a);};
4564 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4570 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4575 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4576 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 CC="$ac_save_CC $ac_arg"
4579 if ac_fn_c_try_compile "$LINENO"; then :
4580 ac_cv_prog_cc_c89=$ac_arg
4582 rm -f core conftest.err conftest.$ac_objext
4583 test "x$ac_cv_prog_cc_c89" != "xno" && break
4585 rm -f conftest.$ac_ext
4590 case "x$ac_cv_prog_cc_c89" in
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4593 $as_echo "none needed" >&6; } ;;
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4596 $as_echo "unsupported" >&6; } ;;
4598 CC="$CC $ac_cv_prog_cc_c89"
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4600 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4602 if test "x$ac_cv_prog_cc_c89" != xno; then :
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 ac_cpp='$CXXCPP $CPPFLAGS'
4614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4617 if test -z "$CXX"; then
4618 if test -n "$CCC"; then
4621 if test -n "$ac_tool_prefix"; then
4622 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4624 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4625 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_CXX+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$CXX"; then
4632 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir=.
4639 for ac_exec_ext in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4652 if test -n "$CXX"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4654 $as_echo "$CXX" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 test -n "$CXX" && break
4664 if test -z "$CXX"; then
4666 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4668 # Extract the first word of "$ac_prog", so it can be a program name with args.
4669 set dummy $ac_prog; ac_word=$2
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4671 $as_echo_n "checking for $ac_word... " >&6; }
4672 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4673 $as_echo_n "(cached) " >&6
4675 if test -n "$ac_ct_CXX"; then
4676 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4682 test -z "$as_dir" && as_dir=.
4683 for ac_exec_ext in '' $ac_executable_extensions; do
4684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4685 ac_cv_prog_ac_ct_CXX="$ac_prog"
4686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4695 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4696 if test -n "$ac_ct_CXX"; then
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4698 $as_echo "$ac_ct_CXX" >&6; }
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4701 $as_echo "no" >&6; }
4705 test -n "$ac_ct_CXX" && break
4708 if test "x$ac_ct_CXX" = x; then
4711 case $cross_compiling:$ac_tool_warned in
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4715 ac_tool_warned=yes ;;
4723 # Provide some information about the compiler.
4724 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4727 for ac_option in --version -v -V -qversion; do
4728 { { ac_try="$ac_compiler $ac_option >&5"
4730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4731 *) ac_try_echo
=$ac_try;;
4733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4734 $as_echo "$ac_try_echo"; } >&5
4735 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4737 if test -s conftest.err
; then
4739 ... rest of stderr output deleted ...
4740 10q' conftest.err
>conftest.er1
4741 cat conftest.er1
>&5
4742 rm -f conftest.er1 conftest.err
4744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4745 test $ac_status = 0; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4749 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4750 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4751 $as_echo_n "(cached) " >&6
4753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4754 /* end confdefs.h. */
4767 if ac_fn_cxx_try_compile
"$LINENO"; then :
4772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4773 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4777 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4778 if test $ac_compiler_gnu = yes; then
4783 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4784 ac_save_CXXFLAGS
=$CXXFLAGS
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4786 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4787 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4791 ac_cxx_werror_flag
=yes
4794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4805 if ac_fn_cxx_try_compile
"$LINENO"; then :
4806 ac_cv_prog_cxx_g
=yes
4809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4810 /* end confdefs.h. */
4820 if ac_fn_cxx_try_compile
"$LINENO"; then :
4823 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4836 if ac_fn_cxx_try_compile
"$LINENO"; then :
4837 ac_cv_prog_cxx_g
=yes
4839 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4844 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4847 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4848 if test "$ac_test_CXXFLAGS" = set; then
4849 CXXFLAGS
=$ac_save_CXXFLAGS
4850 elif test $ac_cv_prog_cxx_g = yes; then
4851 if test "$GXX" = yes; then
4857 if test "$GXX" = yes; then
4864 ac_cpp
='$CPP $CPPFLAGS'
4865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4870 # We must set the default linker to the linker used by gcc for the correct
4871 # operation of libtool. If LD is not defined and we are using gcc, try to
4872 # set the LD default to the ld used by gcc.
4873 if test -z "$LD"; then
4874 if test "$GCC" = yes; then
4877 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4879 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4881 case $gcc_prog_ld in
4882 # Accept absolute paths.
4883 [\\/]* |
[A-Za-z
]:[\\/]*)
4884 LD
="$gcc_prog_ld" ;;
4892 if test -n "$ac_tool_prefix"; then
4893 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4894 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4896 $as_echo_n "checking for $ac_word... " >&6; }
4897 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4898 $as_echo_n "(cached) " >&6
4900 if test -n "$GNATBIND"; then
4901 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4907 test -z "$as_dir" && as_dir
=.
4908 for ac_exec_ext
in '' $ac_executable_extensions; do
4909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4910 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4920 GNATBIND
=$ac_cv_prog_GNATBIND
4921 if test -n "$GNATBIND"; then
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4923 $as_echo "$GNATBIND" >&6; }
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4926 $as_echo "no" >&6; }
4931 if test -z "$ac_cv_prog_GNATBIND"; then
4932 ac_ct_GNATBIND
=$GNATBIND
4933 # Extract the first word of "gnatbind", so it can be a program name with args.
4934 set dummy gnatbind
; ac_word
=$2
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4936 $as_echo_n "checking for $ac_word... " >&6; }
4937 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4938 $as_echo_n "(cached) " >&6
4940 if test -n "$ac_ct_GNATBIND"; then
4941 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4947 test -z "$as_dir" && as_dir
=.
4948 for ac_exec_ext
in '' $ac_executable_extensions; do
4949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4950 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4960 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4961 if test -n "$ac_ct_GNATBIND"; then
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4963 $as_echo "$ac_ct_GNATBIND" >&6; }
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4966 $as_echo "no" >&6; }
4969 if test "x$ac_ct_GNATBIND" = x
; then
4972 case $cross_compiling:$ac_tool_warned in
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4976 ac_tool_warned
=yes ;;
4978 GNATBIND
=$ac_ct_GNATBIND
4981 GNATBIND
="$ac_cv_prog_GNATBIND"
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4986 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$GNATMAKE"; then
4993 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 GNATMAKE
=$ac_cv_prog_GNATMAKE
5013 if test -n "$GNATMAKE"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5015 $as_echo "$GNATMAKE" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5023 if test -z "$ac_cv_prog_GNATMAKE"; then
5024 ac_ct_GNATMAKE
=$GNATMAKE
5025 # Extract the first word of "gnatmake", so it can be a program name with args.
5026 set dummy gnatmake
; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$ac_ct_GNATMAKE"; then
5033 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5053 if test -n "$ac_ct_GNATMAKE"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5055 $as_echo "$ac_ct_GNATMAKE" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5061 if test "x$ac_ct_GNATMAKE" = x
; then
5064 case $cross_compiling:$ac_tool_warned in
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5067 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5068 ac_tool_warned
=yes ;;
5070 GNATMAKE
=$ac_ct_GNATMAKE
5073 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5077 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5078 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 cat >conftest.adb
<<EOF
5082 procedure conftest is begin null; end conftest;
5084 acx_cv_cc_gcc_supports_ada
=no
5085 # There is a bug in old released versions of GCC which causes the
5086 # driver to exit successfully when the appropriate language module
5087 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5088 # Therefore we must check for the error message as well as an
5089 # unsuccessful exit.
5090 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5091 # given a .adb file, but produce no object file. So we must check
5092 # if an object file was really produced to guard against this.
5093 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5094 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5095 acx_cv_cc_gcc_supports_ada
=yes
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5100 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5102 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5109 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5110 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5115 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5116 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5117 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5120 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5123 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5124 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5127 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5134 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5135 do_compare
="$gcc_cv_prog_cmp_skip"
5139 # See if we are building gcc with C++.
5140 # Check whether --enable-build-with-cxx was given.
5141 if test "${enable_build_with_cxx+set}" = set; then :
5142 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5144 ENABLE_BUILD_WITH_CXX
=no
5148 # Used for setting $lt_cv_objdir
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5150 $as_echo_n "checking for objdir... " >&6; }
5151 if test "${lt_cv_objdir+set}" = set; then :
5152 $as_echo_n "(cached) " >&6
5154 rm -f .libs
2>/dev
/null
5155 mkdir .libs
2>/dev
/null
5156 if test -d .libs
; then
5159 # MS-DOS does not allow filenames that begin with a dot.
5162 rmdir .libs
2>/dev
/null
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5165 $as_echo "$lt_cv_objdir" >&6; }
5166 objdir
=$lt_cv_objdir
5172 cat >>confdefs.h
<<_ACEOF
5173 #define LT_OBJDIR "$lt_cv_objdir/"
5178 # Check for GMP, MPFR and MPC
5179 gmplibs
="-lmpc -lmpfr -lgmp"
5183 # Specify a location for mpc
5184 # check for this first so it ends up on the link line before mpfr.
5186 # Check whether --with-mpc was given.
5187 if test "${with_mpc+set}" = set; then :
5192 # Check whether --with-mpc-include was given.
5193 if test "${with_mpc_include+set}" = set; then :
5194 withval
=$with_mpc_include;
5198 # Check whether --with-mpc-lib was given.
5199 if test "${with_mpc_lib+set}" = set; then :
5200 withval
=$with_mpc_lib;
5204 if test "x$with_mpc" != x
; then
5205 gmplibs
="-L$with_mpc/lib $gmplibs"
5206 gmpinc
="-I$with_mpc/include $gmpinc"
5208 if test "x$with_mpc_include" != x
; then
5209 gmpinc
="-I$with_mpc_include $gmpinc"
5211 if test "x$with_mpc_lib" != x
; then
5212 gmplibs
="-L$with_mpc_lib $gmplibs"
5214 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5215 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5216 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5217 # Do not test the mpc version. Assume that it is sufficient, since
5218 # it is in the source tree, and the library has not been built yet
5219 # but it would be included on the link line in the version check below
5220 # hence making the test fail.
5224 # Specify a location for mpfr
5225 # check for this first so it ends up on the link line before gmp.
5227 # Check whether --with-mpfr-dir was given.
5228 if test "${with_mpfr_dir+set}" = set; then :
5229 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5230 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5235 # Check whether --with-mpfr was given.
5236 if test "${with_mpfr+set}" = set; then :
5241 # Check whether --with-mpfr-include was given.
5242 if test "${with_mpfr_include+set}" = set; then :
5243 withval
=$with_mpfr_include;
5247 # Check whether --with-mpfr-lib was given.
5248 if test "${with_mpfr_lib+set}" = set; then :
5249 withval
=$with_mpfr_lib;
5253 if test "x$with_mpfr" != x
; then
5254 gmplibs
="-L$with_mpfr/lib $gmplibs"
5255 gmpinc
="-I$with_mpfr/include $gmpinc"
5257 if test "x$with_mpfr_include" != x
; then
5258 gmpinc
="-I$with_mpfr_include $gmpinc"
5260 if test "x$with_mpfr_lib" != x
; then
5261 gmplibs
="-L$with_mpfr_lib $gmplibs"
5263 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5264 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5265 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5266 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5267 # Do not test the mpfr version. Assume that it is sufficient, since
5268 # it is in the source tree, and the library has not been built yet
5269 # but it would be included on the link line in the version check below
5270 # hence making the test fail.
5274 # Specify a location for gmp
5276 # Check whether --with-gmp-dir was given.
5277 if test "${with_gmp_dir+set}" = set; then :
5278 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5279 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5284 # Check whether --with-gmp was given.
5285 if test "${with_gmp+set}" = set; then :
5290 # Check whether --with-gmp-include was given.
5291 if test "${with_gmp_include+set}" = set; then :
5292 withval
=$with_gmp_include;
5296 # Check whether --with-gmp-lib was given.
5297 if test "${with_gmp_lib+set}" = set; then :
5298 withval
=$with_gmp_lib;
5303 if test "x$with_gmp" != x
; then
5304 gmplibs
="-L$with_gmp/lib $gmplibs"
5305 gmpinc
="-I$with_gmp/include $gmpinc"
5307 if test "x$with_gmp_include" != x
; then
5308 gmpinc
="-I$with_gmp_include $gmpinc"
5310 if test "x$with_gmp_lib" != x
; then
5311 gmplibs
="-L$with_gmp_lib $gmplibs"
5313 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5314 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5315 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5316 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5317 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5318 # Do not test the gmp version. Assume that it is sufficient, since
5319 # it is in the source tree, and the library has not been built yet
5320 # but it would be included on the link line in the version check below
5321 # hence making the test fail.
5325 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5327 saved_CFLAGS
="$CFLAGS"
5328 CFLAGS
="$CFLAGS $gmpinc"
5329 # Check for the recommended and required versions of GMP.
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5331 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5334 /* end confdefs.h. */
5340 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5341 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5342 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5350 if ac_fn_c_try_compile
"$LINENO"; then :
5351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5352 /* end confdefs.h. */
5358 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5359 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5360 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5368 if ac_fn_c_try_compile
"$LINENO"; then :
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5370 $as_echo "yes" >&6; }
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5373 $as_echo "buggy but acceptable" >&6; }
5375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5378 $as_echo "no" >&6; }; have_gmp
=no
5380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5382 # If we have GMP, check the MPFR version.
5383 if test x
"$have_gmp" = xyes
; then
5384 # Check for the recommended and required versions of MPFR.
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5386 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5395 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5403 if ac_fn_c_try_compile
"$LINENO"; then :
5404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5405 /* end confdefs.h. */
5412 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5420 if ac_fn_c_try_compile
"$LINENO"; then :
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5422 $as_echo "yes" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5425 $as_echo "buggy but acceptable" >&6; }
5427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430 $as_echo "no" >&6; }; have_gmp
=no
5432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5435 # Check for the MPC header version.
5436 if test x
"$have_gmp" = xyes
; then
5437 # Check for the recommended and required versions of MPC.
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5439 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5447 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5455 if ac_fn_c_try_compile
"$LINENO"; then :
5456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h. */
5463 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5471 if ac_fn_c_try_compile
"$LINENO"; then :
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5473 $as_echo "yes" >&6; }
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5476 $as_echo "buggy but acceptable" >&6; }
5478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5481 $as_echo "no" >&6; }; have_gmp
=no
5483 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5486 # Now check the MPFR library.
5487 if test x
"$have_gmp" = xyes
; then
5489 LIBS
="$LIBS $gmplibs"
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5491 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5505 mpfr_atan2 (n, n, x, GMP_RNDN);
5506 mpfr_erfc (n, x, GMP_RNDN);
5507 mpfr_subnormalize (x, t, GMP_RNDN);
5511 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5512 mpc_cosh (c, c, MPC_RNDNN);
5513 mpc_pow (c, c, c, MPC_RNDNN);
5514 mpc_acosh (c, c, MPC_RNDNN);
5521 if ac_fn_c_try_link
"$LINENO"; then :
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5523 $as_echo "yes" >&6; }
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5526 $as_echo "no" >&6; }; have_gmp
=no
5528 rm -f core conftest.err conftest.
$ac_objext \
5529 conftest
$ac_exeext conftest.
$ac_ext
5533 CFLAGS
="$saved_CFLAGS"
5535 # The library versions listed in the error message below should match
5536 # the HARD-minimums enforced above.
5537 if test x
$have_gmp != xyes
; then
5538 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5539 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5540 their locations. Source code for these libraries can be found at
5541 their respective hosting sites as well as at
5542 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5543 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5544 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5545 make sure that you have installed both the libraries and the header
5546 files. They may be located in separate packages." "$LINENO" 5
5550 # Flags needed for both GMP, MPFR and/or MPC.
5557 # Allow host libstdc++ to be specified for static linking with PPL.
5559 # Check whether --with-host-libstdcxx was given.
5560 if test "${with_host_libstdcxx+set}" = set; then :
5561 withval
=$with_host_libstdcxx;
5565 case $with_host_libstdcxx in
5567 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5571 # Linker flags to use for stage1 or when not boostrapping.
5573 # Check whether --with-stage1-ldflags was given.
5574 if test "${with_stage1_ldflags+set}" = set; then :
5575 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5578 stage1_ldflags
=$withval
5586 # Libraries to use for stage1 or when not bootstrapping.
5588 # Check whether --with-stage1-libs was given.
5589 if test "${with_stage1_libs+set}" = set; then :
5590 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5593 stage1_libs
=$withval
5596 stage1_libs
=$with_host_libstdcxx
5601 # Libraries to use for stage2 and later builds. This defaults to the
5602 # argument passed to --with-host-libstdcxx.
5604 # Check whether --with-boot-libs was given.
5605 if test "${with_boot_libs+set}" = set; then :
5606 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5609 poststage1_libs
=$withval
5612 poststage1_libs
=$with_host_libstdcxx
5617 # Linker flags to use for stage2 and later builds.
5619 # Check whether --with-boot-ldflags was given.
5620 if test "${with_boot_ldflags+set}" = set; then :
5621 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5624 poststage1_ldflags
=$withval
5628 # With --enable-build-with-cxx, default to linking libstdc++ and
5629 # libgcc statically. But if the user explicitly specified the
5630 # libraries to use, trust that they are doing what they want.
5631 if test "$ENABLE_BUILD_WITH_CXX" = "yes" -a "$poststage1_libs" = ""; then
5632 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5639 ppllibs
=" -lppl_c -lppl -lgmpxx"
5643 # Check whether --with-ppl was given.
5644 if test "${with_ppl+set}" = set; then :
5649 # Check whether --with-ppl-include was given.
5650 if test "${with_ppl_include+set}" = set; then :
5651 withval
=$with_ppl_include;
5655 # Check whether --with-ppl-lib was given.
5656 if test "${with_ppl_lib+set}" = set; then :
5657 withval
=$with_ppl_lib;
5668 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5669 pplinc
="-I$with_ppl/include $pplinc"
5672 if test "x$with_ppl_include" != x
; then
5673 pplinc
="-I$with_ppl_include $pplinc"
5675 if test "x$with_ppl_lib" != x
; then
5676 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5678 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5679 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"' -lppl_c -lppl -lgmpxx '
5680 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5681 enable_ppl_version_check
=no
5684 # Check whether --enable-ppl-version-check was given.
5685 if test "${enable_ppl_version_check+set}" = set; then :
5686 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5688 ENABLE_PPL_CHECK
=yes
5692 if test "x$with_ppl" != "xno" -a "${ENABLE_PPL_CHECK}" = "yes"; then
5693 saved_CFLAGS
="$CFLAGS"
5694 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 (or later revision) of PPL" >&5
5696 $as_echo_n "checking for version 0.10 (or later revision) of PPL... " >&6; }
5697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5704 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 10
5712 if ac_fn_c_try_compile
"$LINENO"; then :
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5714 $as_echo "yes" >&6; }
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5717 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 CFLAGS
="$saved_CFLAGS"
5723 # Flags needed for PPL
5732 # Check whether --with-cloog was given.
5733 if test "${with_cloog+set}" = set; then :
5734 withval
=$with_cloog;
5738 # Check whether --with-cloog-include was given.
5739 if test "${with_cloog_include+set}" = set; then :
5740 withval
=$with_cloog_include;
5744 # Check whether --with-cloog-lib was given.
5745 if test "${with_cloog_lib+set}" = set; then :
5746 withval
=$with_cloog_lib;
5750 # Check whether --enable-cloog-backend was given.
5751 if test "${enable_cloog_backend+set}" = set; then :
5752 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5754 elif test "x${enableval}" = "xppl"; then
5757 cloog_backend
=ppl-legacy
5760 cloog_backend
=ppl-legacy
5763 # Check whether --enable-cloog-version-check was given.
5764 if test "${enable_cloog_version_check+set}" = set; then :
5765 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5767 ENABLE_CLOOG_CHECK
=yes
5771 # Initialize clooglibs and clooginc.
5780 clooglibs
="-L$with_cloog/lib"
5781 clooginc
="-I$with_cloog/include"
5784 if test "x${with_cloog_include}" != x
; then
5785 clooginc
="-I$with_cloog_include"
5787 if test "x${with_cloog_lib}" != x
; then
5788 clooglibs
="-L$with_cloog_lib"
5795 if test "x$with_ppl" = "xno"; then
5798 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5799 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5800 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5801 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5803 if test "x$with_cloog" != "xno"; then
5807 _cloog_saved_CFLAGS
=$CFLAGS
5808 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5809 _cloog_saved_LDFLAGS
=$LDFLAGS
5810 _cloog_saved_LIBS
=$LIBS
5812 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5814 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5815 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5816 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5818 case $cloog_backend in
5820 CFLAGS
="${CFLAGS} ${pplinc}"
5821 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5823 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5824 if test "${gcc_cv_cloog_type+set}" = set; then :
5825 $as_echo_n "(cached) " >&6
5827 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5830 #include "cloog/cloog.h"
5834 #ifndef CLOOG_PPL_BACKEND
5841 if ac_fn_c_try_link
"$LINENO"; then :
5842 gcc_cv_cloog_type
="PPL Legacy"
5844 gcc_cv_cloog_type
=no
5846 rm -f core conftest.err conftest.
$ac_objext \
5847 conftest
$ac_exeext conftest.
$ac_ext
5849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5850 $as_echo "$gcc_cv_cloog_type" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5854 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5855 if test "${gcc_cv_cloog_type+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5858 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5860 /* end confdefs.h. */
5861 #include "cloog/cloog.h"
5870 if ac_fn_c_try_link
"$LINENO"; then :
5871 gcc_cv_cloog_type
="ISL"
5873 gcc_cv_cloog_type
=no
5875 rm -f core conftest.err conftest.
$ac_objext \
5876 conftest
$ac_exeext conftest.
$ac_ext
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5879 $as_echo "$gcc_cv_cloog_type" >&6; }
5882 CFLAGS
="${CFLAGS} ${pplinc}"
5883 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5885 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5886 if test "${gcc_cv_cloog_type+set}" = set; then :
5887 $as_echo_n "(cached) " >&6
5889 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5891 /* end confdefs.h. */
5892 #include "cloog/cloog.h"
5893 #include "cloog/ppl/cloog.h"
5902 if ac_fn_c_try_link
"$LINENO"; then :
5903 gcc_cv_cloog_type
="PPL"
5905 gcc_cv_cloog_type
=no
5907 rm -f core conftest.err conftest.
$ac_objext \
5908 conftest
$ac_exeext conftest.
$ac_ext
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5911 $as_echo "$gcc_cv_cloog_type" >&6; }
5914 gcc_cv_cloog_type
=""
5917 case $gcc_cv_cloog_type in
5919 clooginc
="${clooginc}"
5920 clooglibs
="${clooglibs} -lcloog"
5924 clooginc
="${clooginc} ${_cloogorginc}"
5925 clooglibs
="${clooglibs} -lcloog-isl"
5929 clooginc
="${clooginc} ${_cloogorginc}"
5930 clooglibs
="${clooglibs} -lcloog-ppl"
5940 LIBS
=$_cloog_saved_LIBS
5941 CFLAGS
=$_cloog_saved_CFLAGS
5942 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5943 LDFLAGS
=$_cloog_saved_LDFLAGS
5949 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5950 _cloog_saved_CFLAGS
=$CFLAGS
5951 _cloog_saved_LDFLAGS
=$LDFLAGS
5953 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5954 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5956 if test "${cloog_org}" = yes ; then
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.14.0 of CLooG" >&5
5958 $as_echo_n "checking for version 0.14.0 of CLooG... " >&6; }
5959 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5960 $as_echo_n "(cached) " >&6
5962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5963 /* end confdefs.h. */
5964 #include "cloog/cloog.h"
5968 #if CLOOG_VERSION_MAJOR != 0 \
5969 || CLOOG_VERSION_MINOR != 14 \
5970 || CLOOG_VERSION_REVISION < 0
5977 if ac_fn_c_try_compile
"$LINENO"; then :
5978 gcc_cv_cloog_ct_0_14_0
=yes
5980 gcc_cv_cloog_ct_0_14_0
=no
5982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5985 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5986 elif test "${cloog_org}" = no
; then
5987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5988 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5989 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5990 $as_echo_n "(cached) " >&6
5992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
5994 #include "cloog/cloog.h"
5998 #if CLOOG_VERSION_MAJOR != 0 \
5999 || CLOOG_VERSION_MINOR != 15 \
6000 || CLOOG_VERSION_REVISION < 5
6007 if ac_fn_c_try_compile
"$LINENO"; then :
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6010 #include "cloog/cloog.h"
6014 #if CLOOG_VERSION_MAJOR != 0 \
6015 || CLOOG_VERSION_MINOR != 15 \
6016 || CLOOG_VERSION_REVISION < 9
6023 if ac_fn_c_try_compile
"$LINENO"; then :
6024 gcc_cv_cloog_ct_0_15_5
=yes
6026 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 gcc_cv_cloog_ct_0_15_5
=no
6032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6035 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6038 CFLAGS
=$_cloog_saved_CFLAGS
6039 LDFLAGS
=$_cloog_saved_LDFLAGS
6048 if test "x${with_cloog}" != x \
6049 ||
test "x${with_cloog_include}" != x \
6050 ||
test "x${with_cloog_lib}" != x
; then
6051 graphite_requested
=yes
6053 graphite_requested
=no
6058 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6059 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6060 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6065 if test "${graphite_requested}" = yes \
6066 && test "x${clooglibs}" = x \
6067 && test "x${clooginc}" = x
; then
6069 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6075 # Check for LTO support.
6076 # Check whether --enable-lto was given.
6077 if test "${enable_lto+set}" = set; then :
6078 enableval
=$enable_lto; enable_lto
=$enableval
6080 enable_lto
=yes; default_enable_lto
=yes
6089 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6090 *-msdosdjgpp* |
*-netware* |
*-vms* |
*-wince* |
*-*-pe* | \
6091 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6099 if test $target_elf = yes; then :
6100 # ELF platforms build the lto-plugin always.
6101 build_lto_plugin
=yes
6104 if test x
"$default_enable_lto" = x
"yes" ; then
6106 *-apple-darwin* |
*-cygwin* |
*-mingw*) ;;
6107 # On other non-ELF platforms, LTO has yet to be validated.
6111 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6112 # It would also be nice to check the binutils support, but we don't
6113 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6114 # warn during gcc/ subconfigure; unless you're bootstrapping with
6115 # -flto it won't be needed until after installation anyway.
6117 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6118 *) if test x
"$enable_lto" = x
"yes"; then
6119 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6124 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6125 # Build it unless LTO was explicitly disabled.
6127 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6135 # By default, C is the only stage 1 language.
6136 stage1_languages
=,c
,
6138 # Target libraries that we bootstrap.
6139 bootstrap_target_libs
=,target-libgcc
,
6141 # Figure out what language subdirectories are present.
6142 # Look if the user specified --enable-languages="..."; if not, use
6143 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6145 # NB: embedded tabs in this IF block -- do not untabify
6146 if test -d ${srcdir}/gcc
; then
6147 if test x
"${enable_languages+set}" != xset
; then
6148 if test x
"${LANGUAGES+set}" = xset
; then
6149 enable_languages
="${LANGUAGES}"
6150 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6152 enable_languages
=all
6155 if test x
"${enable_languages}" = x ||
6156 test x
"${enable_languages}" = xyes
;
6158 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6162 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6164 # 'f95' is the old name for the 'fortran' language. We issue a warning
6165 # and make the substitution.
6166 case ,${enable_languages}, in
6168 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6169 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6173 # First scan to see if an enabled language requires some other language.
6174 # We assume that a given config-lang.in will list all the language
6175 # front ends it requires, even if some are required indirectly.
6176 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6177 case ${lang_frag} in
6179 # The odd quoting in the next line works around
6180 # an apparent bug in bash 1.12 on linux.
6181 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6183 # From the config-lang.in, get $language, $lang_requires, and
6184 # $lang_requires_boot_languages.
6187 lang_requires_boot_languages
=
6189 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6190 case ,${enable_languages}, in
6194 echo " \`$other' language required by \`$language'; enabling" 1>&2
6195 enable_languages
="${enable_languages},${other}"
6199 for other
in ${lang_requires_boot_languages} ; do
6200 if test "$other" != "c"; then
6201 case ,${enable_stage1_languages}, in
6205 case ,${enable_languages}, in
6207 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6208 enable_stage1_languages
="$enable_stage1_languages,${other}"
6219 new_enable_languages
=,c
,
6221 # If LTO is enabled, add the LTO front end.
6222 extra_host_libiberty_configure_flags
=
6223 if test "$enable_lto" = "yes" ; then
6224 case ,${enable_languages}, in
6226 *) enable_languages
="${enable_languages},lto" ;;
6228 if test "${build_lto_plugin}" = "yes" ; then
6229 configdirs
="$configdirs lto-plugin"
6230 extra_host_libiberty_configure_flags
=--enable-shared
6235 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6236 potential_languages
=,c
,
6238 enabled_target_libs
=
6239 disabled_target_libs
=
6241 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6242 case ${lang_frag} in
6244 # The odd quoting in the next line works around
6245 # an apparent bug in bash 1.12 on linux.
6246 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6248 # From the config-lang.in, get $language, $target_libs,
6249 # $lang_dirs, $boot_language, and $build_by_default
6255 build_by_default
=yes
6257 if test x
${language} = x
; then
6258 echo "${lang_frag} doesn't set \$language." 1>&2
6262 if test "$language" = "c++" \
6263 && test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
6267 case ,${enable_languages}, in
6269 # Language was explicitly selected; include it.
6273 # 'all' was selected, select it if it is a default language
6274 add_this_lang
=${build_by_default}
6281 # Disable languages that need other directories if these aren't available.
6282 for i
in $subdir_requires; do
6283 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6284 case ,${enable_languages}, in
6286 # Specifically requested language; tell them.
6287 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6291 add_this_lang
=unsupported
6296 # Disable Ada if no preexisting GNAT is available.
6297 case ,${enable_languages},:${language}:${have_gnat} in
6298 *,${language},*:ada
:no
)
6299 # Specifically requested language; tell them.
6300 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6304 add_this_lang
=unsupported
6308 # Disable a language that is unsupported by the target.
6309 case " $unsupported_languages " in
6311 add_this_lang
=unsupported
6315 case $add_this_lang in
6317 # Remove language-dependent dirs.
6318 disabled_target_libs
="$disabled_target_libs $target_libs"
6319 noconfigdirs
="$noconfigdirs $lang_dirs"
6322 # Remove language-dependent dirs; still show language as supported.
6323 disabled_target_libs
="$disabled_target_libs $target_libs"
6324 noconfigdirs
="$noconfigdirs $lang_dirs"
6325 potential_languages
="${potential_languages}${language},"
6328 new_enable_languages
="${new_enable_languages}${language},"
6329 potential_languages
="${potential_languages}${language},"
6330 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6331 enabled_target_libs
="$enabled_target_libs $target_libs"
6332 case "${boot_language}:,$enable_stage1_languages," in
6333 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6334 # Add to (comma-separated) list of stage 1 languages.
6335 case ",$stage1_languages," in
6336 *,$language,* |
,yes, |
,all
,) ;;
6337 *) stage1_languages
="${stage1_languages}${language}," ;;
6339 # We need to bootstrap any supporting libraries.
6340 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6349 # Add target libraries which are only needed for disabled languages
6351 if test -n "$disabled_target_libs"; then
6352 for dir
in $disabled_target_libs; do
6353 case " $enabled_target_libs " in
6355 *) noconfigdirs
="$noconfigdirs $dir" ;;
6360 # Check whether --enable-stage1-languages was given.
6361 if test "${enable_stage1_languages+set}" = set; then :
6362 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6364 # Set it to something that will have no effect in the loop below
6365 enable_stage1_languages
=c
;;
6367 enable_stage1_languages
=`echo $new_enable_languages | \
6368 sed -e "s/^,//" -e "s/,$//" ` ;;
6370 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6371 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6374 # Add "good" languages from enable_stage1_languages to stage1_languages,
6375 # while "bad" languages go in missing_languages. Leave no duplicates.
6376 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6377 case $potential_languages in
6379 case $stage1_languages in
6381 *) stage1_languages
="$stage1_languages$i," ;;
6384 case $missing_languages in
6386 *) missing_languages
="$missing_languages$i," ;;
6393 # Remove leading/trailing commas that were added for simplicity
6394 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6395 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6396 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6397 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6399 if test "x$missing_languages" != x
; then
6401 The following requested languages could not be built: ${missing_languages}
6402 Supported languages are: ${potential_languages}" "$LINENO" 5
6404 if test "x$new_enable_languages" != "x$enable_languages"; then
6405 echo The following languages will be built
: ${new_enable_languages}
6406 enable_languages
="$new_enable_languages"
6410 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6413 # Handle --disable-<component> generically.
6414 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6415 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6416 varname
=`echo $dirname | sed -e s/+/_/g`
6417 if eval test x\
${enable_${varname}} "=" xno
; then
6418 noconfigdirs
="$noconfigdirs $dir"
6422 # Check for Boehm's garbage collector
6423 # Check whether --enable-objc-gc was given.
6424 if test "${enable_objc_gc+set}" = set; then :
6425 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6426 *,objc
,*:*:yes:*target-boehm-gc
*)
6427 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6433 # Make sure we only build Boehm's garbage collector if required.
6434 case ,${enable_languages},:${enable_objc_gc} in
6436 # Keep target-boehm-gc if requested for Objective-C.
6439 # Otherwise remove target-boehm-gc depending on target-libjava.
6440 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6441 noconfigdirs
="$noconfigdirs target-boehm-gc"
6447 # Check whether --with-upc-pts was given.
6448 if test "${with_upc_pts+set}" = set; then :
6449 withval
=$with_upc_pts;
6450 case ,${enable_languages}, in
6453 struct|word-pair|packed
)
6457 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6462 as_fn_error
"--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6469 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6470 # $build_configdirs and $target_configdirs.
6471 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6474 for dir
in .
$skipdirs $noconfigdirs ; do
6475 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6476 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6477 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6478 if test -r $srcdir/$dirname/configure
; then
6479 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6482 notsupp
="$notsupp $dir"
6486 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6487 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6488 if test -r $srcdir/$dirname/configure
; then
6489 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6492 notsupp
="$notsupp $dir"
6496 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6497 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6498 if test -r $srcdir/$dirname/configure
; then
6499 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6502 notsupp
="$notsupp $dir"
6508 # Sometimes the tools are distributed with libiberty but with no other
6509 # libraries. In that case, we don't want to build target-libiberty.
6510 # Don't let libgcc imply libiberty either.
6511 if test -n "${target_configdirs}" ; then
6514 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
6515 if test "$i" = "libgcc"; then
6516 libgcc
=target-libgcc
6517 elif test "$i" != "libiberty" ; then
6518 if test -r $srcdir/$i/configure
; then
6524 if test -z "${others}" ; then
6525 target_configdirs
=$libgcc
6529 # Quietly strip out all directories which aren't configurable in this tree.
6530 # This relies on all configurable subdirectories being autoconfiscated, which
6532 build_configdirs_all
="$build_configdirs"
6534 for i
in ${build_configdirs_all} ; do
6535 j
=`echo $i | sed -e s/build-//g`
6536 if test -f ${srcdir}/$j/configure
; then
6537 build_configdirs
="${build_configdirs} $i"
6541 configdirs_all
="$configdirs"
6543 for i
in ${configdirs_all} ; do
6544 if test -f ${srcdir}/$i/configure
; then
6545 configdirs
="${configdirs} $i"
6549 target_configdirs_all
="$target_configdirs"
6551 for i
in ${target_configdirs_all} ; do
6552 j
=`echo $i | sed -e s/target-//g`
6553 if test -f ${srcdir}/$j/configure
; then
6554 target_configdirs
="${target_configdirs} $i"
6558 # Produce a warning message for the subdirs we can't configure.
6559 # This isn't especially interesting in the Cygnus tree, but in the individual
6560 # FSF releases, it's important to let people know when their machine isn't
6561 # supported by the one or two programs in a package.
6563 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6564 # If $appdirs is non-empty, at least one of those directories must still
6565 # be configured, or we error out. (E.g., if the gas release supports a
6566 # specified target in some subdirs but not the gas subdir, we shouldn't
6567 # pretend that all is well.)
6568 if test -n "$appdirs" ; then
6569 for dir
in $appdirs ; do
6570 if test -r $dir/Makefile.
in ; then
6571 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6575 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6581 if test -n "$appdirs" ; then
6582 echo "*** This configuration is not supported by this package." 1>&2
6586 # Okay, some application will build, or we don't care to check. Still
6587 # notify of subdirs not getting built.
6588 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6589 echo " ${notsupp}" 1>&2
6590 echo " (Any other directories should still work fine.)" 1>&2
6598 # To find our prefix, in gcc_cv_tool_prefix.
6600 # The user is always right.
6601 if test "${PATH_SEPARATOR+set}" != set; then
6602 echo "#! /bin/sh" >conf$$.sh
6603 echo "exit 0" >>conf$$.sh
6605 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6615 if test "x$exec_prefix" = xNONE
; then
6616 if test "x$prefix" = xNONE
; then
6617 gcc_cv_tool_prefix
=$ac_default_prefix
6619 gcc_cv_tool_prefix
=$prefix
6622 gcc_cv_tool_prefix
=$exec_prefix
6625 # If there is no compiler in the tree, use the PATH only. In any
6626 # case, if there is no compiler in the tree nobody should use
6627 # AS_FOR_TARGET and LD_FOR_TARGET.
6628 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6629 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6630 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6631 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6632 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6633 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6634 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6635 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6640 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6641 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6649 # Check whether --with-build-sysroot was given.
6650 if test "${with_build_sysroot+set}" = set; then :
6651 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6652 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6655 SYSROOT_CFLAGS_FOR_TARGET
=
6661 # Check whether --with-debug-prefix-map was given.
6662 if test "${with_debug_prefix_map+set}" = set; then :
6663 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6664 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6665 for debug_map
in $withval; do
6666 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6670 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6675 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6676 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6677 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6678 # We want to ensure that TARGET libraries (which we know are built with
6679 # gcc) are built with "-O2 -g", so include those options when setting
6680 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6681 if test "x$CFLAGS_FOR_TARGET" = x
; then
6682 CFLAGS_FOR_TARGET
=$CFLAGS
6685 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6688 *" -g "* |
*" -g3 "*) ;;
6689 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6694 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6695 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6696 case " $CXXFLAGS " in
6698 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6700 case " $CXXFLAGS " in
6701 *" -g "* |
*" -g3 "*) ;;
6702 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6707 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6708 # the named directory are copied to $(tooldir)/sys-include.
6709 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6710 if test x
${is_cross_compiler} = xno
; then
6711 echo 1>&2 '***' --with-headers is only supported when cross compiling
6714 if test x
"${with_headers}" != xyes
; then
6715 x
=${gcc_cv_tool_prefix}
6716 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6720 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6721 # the name directories are copied to $(tooldir)/lib. Multiple directories
6723 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6724 if test x
${is_cross_compiler} = xno
; then
6725 echo 1>&2 '***' --with-libs is only supported when cross compiling
6728 if test x
"${with_libs}" != xyes
; then
6729 # Copy the libraries in reverse order, so that files in the first named
6730 # library override files in subsequent libraries.
6731 x
=${gcc_cv_tool_prefix}
6732 for l
in ${with_libs}; do
6733 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6738 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6740 # This is done by determining whether or not the appropriate directory
6741 # is available, and by checking whether or not specific configurations
6742 # have requested that this magic not happen.
6744 # The command line options always override the explicit settings in
6745 # configure.in, and the settings in configure.in override this magic.
6747 # If the default for a toolchain is to use GNU as and ld, and you don't
6748 # want to do that, then you should use the --without-gnu-as and
6749 # --without-gnu-ld options for the configure script. Similarly, if
6750 # the default is to use the included zlib and you don't want to do that,
6751 # you should use the --with-system-zlib option for the configure script.
6753 if test x
${use_gnu_as} = x
&&
6754 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6756 extra_host_args
="$extra_host_args --with-gnu-as"
6759 if test x
${use_gnu_ld} = x
&&
6760 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6762 extra_host_args
="$extra_host_args --with-gnu-ld"
6765 if test x
${use_included_zlib} = x
&&
6766 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6769 with_system_zlib
=yes
6770 extra_host_args
="$extra_host_args --with-system-zlib"
6773 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6774 # can detect this case.
6776 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6778 extra_host_args
="$extra_host_args --with-newlib"
6781 # Handle ${copy_dirs}
6782 set fnord
${copy_dirs}
6784 while test $# != 0 ; do
6785 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6788 echo Copying
$1 to
$2
6790 # Use the install script to create the directory and all required
6791 # parent directories.
6792 if test -d $2 ; then
6796 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6799 # Copy the directory, assuming we have tar.
6800 # FIXME: Should we use B in the second tar? Not all systems support it.
6801 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6803 # It is the responsibility of the user to correctly adjust all
6804 # symlinks. If somebody can figure out how to handle them correctly
6805 # here, feel free to add the code.
6812 # Determine a target-dependent exec_prefix that the installed
6813 # gcc will search in. Keep this list sorted by triplet, with
6814 # the *-*-osname triplets last.
6818 md_exec_prefix
=/gnu
/lib
/gcc-lib
6820 i
[34567]86-pc-msdosdjgpp*)
6821 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6823 i
[34567]86-*-sco3.2v5
*)
6824 if test $with_gnu_as = yes; then
6825 md_exec_prefix
=/usr
/gnu
/bin
6827 md_exec_prefix
=/usr
/ccs
/bin
/elf
6832 powerpc-
*-chorusos* | \
6833 powerpc
*-*-eabi* | \
6834 powerpc
*-*-sysv* | \
6835 powerpc
*-*-kaos* | \
6837 md_exec_prefix
=/usr
/ccs
/bin
6842 md_exec_prefix
=/usr
/ccs
/bin
6857 md_exec_prefix
=/usr
/ccs
/bin
6861 extra_arflags_for_target
=
6862 extra_nmflags_for_target
=
6863 extra_ranlibflags_for_target
=
6864 target_makefile_frag
=/dev
/null
6867 target_makefile_frag
="config/mt-mep"
6870 target_makefile_frag
="config/mt-spu"
6873 target_makefile_frag
="config/mt-sde"
6875 mipsisa
*-*-elfoabi*)
6876 target_makefile_frag
="config/mt-mips-elfoabi"
6878 mips
*-*-*linux
* | mips
*-*-gnu*)
6879 target_makefile_frag
="config/mt-mips-gnu"
6882 target_makefile_frag
="config/mt-netware"
6884 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6885 target_makefile_frag
="config/mt-gnu"
6887 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6888 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6889 # commands to handle both 32-bit and 64-bit objects. These flags are
6890 # harmless if we're using GNU nm or ar.
6891 extra_arflags_for_target
=" -X32_64"
6892 extra_nmflags_for_target
=" -B -X32_64"
6895 # ranlib before Darwin10 requires the -c flag to look at common symbols.
6896 extra_ranlibflags_for_target
=" -c"
6898 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6899 target_makefile_frag
="config/mt-wince"
6903 alphaieee_frag
=/dev
/null
6906 # This just makes sure to use the -mieee option to build target libs.
6907 # This should probably be set individually by each library.
6908 alphaieee_frag
="config/mt-alphaieee"
6912 # If --enable-target-optspace always use -Os instead of -O2 to build
6913 # the target libraries, similarly if it is not specified, use -Os
6914 # on selected platforms.
6915 ospace_frag
=/dev
/null
6916 case "${enable_target_optspace}:${target}" in
6918 ospace_frag
="config/mt-ospace"
6921 ospace_frag
="config/mt-d30v"
6923 :m32r-
* |
:d10v-
* |
:fr30-
*)
6924 ospace_frag
="config/mt-ospace"
6929 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6933 # Default to using --with-stabs for certain targets.
6934 if test x
${with_stabs} = x
; then
6938 mips
*-*-* | alpha
*-*-osf*)
6940 extra_host_args
="${extra_host_args} --with-stabs"
6945 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6946 # them automatically.
6949 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6953 # Some systems (e.g., one of the i386-aix systems the gas testers are
6954 # using) don't handle "\$" correctly, so don't use it here.
6955 tooldir
='${exec_prefix}'/${target_noncanonical}
6956 build_tooldir
=${tooldir}
6958 # Create a .gdbinit file which runs the one in srcdir
6959 # and tells GDB to look there for source files.
6961 if test -r ${srcdir}/.gdbinit
; then
6964 *) cat > .
/.gdbinit
<<EOF
6968 source ${srcdir}/.gdbinit
6974 # Make sure that the compiler is able to generate an executable. If it
6975 # can't, we are probably in trouble. We don't care whether we can run the
6976 # executable--we might be using a cross compiler--we only care whether it
6977 # can be created. At this point the main configure script has set CC.
6979 echo "int main () { return 0; }" > conftest.c
6980 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6981 if test $?
= 0 ; then
6982 if test -s conftest ||
test -s conftest.exe
; then
6988 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6989 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6996 # The Solaris /usr/ucb/cc compiler does not appear to work.
6998 sparc-sun-solaris2
*)
6999 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
7000 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
7002 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
7003 if test -d /opt
/cygnus
/bin
; then
7004 if test "$could_use" = "" ; then
7005 could_use
="/opt/cygnus/bin"
7007 could_use
="$could_use or /opt/cygnus/bin"
7010 if test "$could_use" = "" ; then
7011 echo "Warning: compilation may fail because you're using"
7012 echo "/usr/ucb/cc. You should change your PATH or CC "
7013 echo "variable and rerun configure."
7015 echo "Warning: compilation may fail because you're using"
7016 echo "/usr/ucb/cc, when you should use the C compiler from"
7017 echo "$could_use. You should change your"
7018 echo "PATH or CC variable and rerun configure."
7024 # Decide which environment variable is used to find dynamic libraries.
7026 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7027 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7028 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7029 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7032 # On systems where the dynamic library environment variable is PATH,
7033 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7034 # built executables to PATH.
7035 if test "$RPATH_ENVVAR" = PATH
; then
7036 GCC_SHLIB_SUBDIR
=/shlib
7041 # Record target_configdirs and the configure arguments for target and
7042 # build configuration in Makefile.
7043 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7044 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7046 # If we are building libgomp, bootstrap it.
7047 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7048 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7051 # Determine whether gdb needs tk/tcl or not.
7052 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7053 # and in that case we want gdb to be built without tk. Ugh!
7054 # In fact I believe gdb is the *only* package directly dependent on tk,
7055 # so we should be able to put the 'maybe's in unconditionally and
7056 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7057 # 100% sure that that's safe though.
7059 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7060 case "$enable_gdbtk" in
7064 GDB_TK
="${gdb_tk}" ;;
7066 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7067 # distro. Eventually someone will fix this and move Insight, nee
7068 # gdbtk to a separate directory.
7069 if test -d ${srcdir}/gdb
/gdbtk
; then
7076 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7077 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7079 # Strip out unwanted targets.
7081 # While at that, we remove Makefiles if we were started for recursive
7082 # configuration, so that the top-level Makefile reconfigures them,
7083 # like we used to do when configure itself was recursive.
7085 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7086 # but now we're fixing up the Makefile ourselves with the additional
7087 # commands passed to AC_CONFIG_FILES. Use separate variables
7088 # extrasub-{build,host,target} not because there is any reason to split
7089 # the substitutions up that way, but only to remain below the limit of
7090 # 99 commands in a script, for HP-UX sed.
7091 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7093 # Check whether --enable-bootstrap was given.
7094 if test "${enable_bootstrap+set}" = set; then :
7095 enableval
=$enable_bootstrap;
7097 enable_bootstrap
=default
7101 # Issue errors and warnings for invalid/strange bootstrap combinations.
7102 case "$configdirs" in
7103 *gcc
*) have_compiler
=yes ;;
7104 *) have_compiler
=no
;;
7107 case "$have_compiler:$host:$target:$enable_bootstrap" in
7110 # Default behavior. Enable bootstrap if we have a compiler
7111 # and we are in a native configuration.
7112 yes:$build:$build:default
)
7113 enable_bootstrap
=yes ;;
7116 enable_bootstrap
=no
;;
7118 # We have a compiler and we are in a native configuration, bootstrap is ok
7119 yes:$build:$build:yes)
7122 # Other configurations, but we have a compiler. Assume the user knows
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
7126 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
7129 # No compiler: if they passed --enable-bootstrap explicitly, fail
7131 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
7133 # Fail if wrong command line
7135 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
7139 case ",$enable_languages,:$ENABLE_BUILD_WITH_CXX:$enable_bootstrap" in
7142 as_fn_error
"bootstrapping with --enable-build-with-cxx requires c++ in --enable-languages" "$LINENO" 5
7146 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7147 yes:yes:*\ gold\
*:*,c
++,*) ;;
7148 yes:yes:*\ gold\
*:*)
7149 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7153 # Adjust the toplevel makefile according to whether bootstrap was selected.
7154 case $enable_bootstrap in
7156 bootstrap_suffix
=bootstrap
7157 BUILD_CONFIG
=bootstrap-debug
7160 bootstrap_suffix
=no-bootstrap
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7166 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7169 # Check whether --with-build-config was given.
7170 if test "${with_build_config+set}" = set; then :
7171 withval
=$with_build_config; case $with_build_config in
7172 yes) with_build_config
= ;;
7173 no
) with_build_config
= BUILD_CONFIG
= ;;
7178 if test "x${with_build_config}" != x
; then
7179 BUILD_CONFIG
=$with_build_config
7181 case $BUILD_CONFIG in
7183 if echo "int f (void) { return 0; }" > conftest.c
&&
7184 ${CC} -c conftest.c
&&
7185 mv conftest.o conftest.o.g0
&&
7186 ${CC} -c -g conftest.c
&&
7187 mv conftest.o conftest.o.g
&&
7188 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7193 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7198 $as_echo "$BUILD_CONFIG" >&6; }
7202 for module
in ${build_configdirs} ; do
7203 if test -z "${no_recursion}" \
7204 && test -f ${build_subdir}/${module}/Makefile
; then
7205 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7206 rm -f ${build_subdir}/${module}/Makefile
7208 extrasub_build
="$extrasub_build
7209 /^@if build-$module\$/d
7210 /^@endif build-$module\$/d
7211 /^@if build-$module-$bootstrap_suffix\$/d
7212 /^@endif build-$module-$bootstrap_suffix\$/d"
7215 for module
in ${configdirs} ; do
7216 if test -z "${no_recursion}"; then
7217 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7218 if test -f ${file}; then
7219 echo 1>&2 "*** removing ${file} to force reconfigure"
7224 extrasub_host
="$extrasub_host
7226 /^@endif $module\$/d
7227 /^@if $module-$bootstrap_suffix\$/d
7228 /^@endif $module-$bootstrap_suffix\$/d"
7231 for module
in ${target_configdirs} ; do
7232 if test -z "${no_recursion}" \
7233 && test -f ${target_subdir}/${module}/Makefile
; then
7234 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7235 rm -f ${target_subdir}/${module}/Makefile
7238 # We only bootstrap target libraries listed in bootstrap_target_libs.
7239 case $bootstrap_target_libs in
7240 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7241 *) target_bootstrap_suffix
=no-bootstrap
;;
7244 extrasub_target
="$extrasub_target
7245 /^@if target-$module\$/d
7246 /^@endif target-$module\$/d
7247 /^@if target-$module-$target_bootstrap_suffix\$/d
7248 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7251 # Do the final fixup along with target modules.
7252 extrasub_target
="$extrasub_target
7253 /^@if /,/^@endif /d"
7255 # Create the serialization dependencies. This uses a temporary file.
7257 # Check whether --enable-serial-configure was given.
7258 if test "${enable_serial_configure+set}" = set; then :
7259 enableval
=$enable_serial_configure;
7263 case ${enable_serial_configure} in
7265 enable_serial_build_configure
=yes
7266 enable_serial_host_configure
=yes
7267 enable_serial_target_configure
=yes
7271 # These force 'configure's to be done one at a time, to avoid problems
7272 # with contention over a shared config.cache.
7274 echo '# serdep.tmp' > serdep.tmp
7276 test "x${enable_serial_build_configure}" = xyes
&&
7277 for item
in ${build_configdirs} ; do
7280 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7285 test "x${enable_serial_host_configure}" = xyes
&&
7286 for item
in ${configdirs} ; do
7289 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7294 test "x${enable_serial_target_configure}" = xyes
&&
7295 for item
in ${target_configdirs} ; do
7298 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7302 serialization_dependencies
=serdep.tmp
7305 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7306 # target, nonopt, and variable assignments. These are the ones we
7307 # might not want to pass down to subconfigures. The exception being
7308 # --cache-file=/dev/null, which is used to turn off the use of cache
7309 # files altogether, and which should be passed on to subconfigures.
7310 # Also strip program-prefix, program-suffix, and program-transform-name,
7311 # so that we can pass down a consistent program-transform-name.
7315 eval "set -- $ac_configure_args"
7318 if test X
"$skip_next" = X
"yes"; then
7322 if test X
"$keep_next" = X
"yes"; then
7325 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7327 baseargs
="$baseargs '$ac_arg'"
7332 # Handle separated arguments. Based on the logic generated by
7335 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7336 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7337 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7338 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7350 --cache-file=/dev
/null | \
7351 -cache-file=/dev
/null
)
7352 # Handled here to avoid the test to skip args below.
7353 baseargs
="$baseargs '$ac_arg'"
7354 # Assert: $separate_arg should always be no.
7355 keep_next
=$separate_arg
7371 -program-prefix* | \
7372 -program-suffix* | \
7373 -program-transform-name* )
7374 skip_next
=$separate_arg
7378 # An option. Add it.
7381 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7383 baseargs
="$baseargs '$ac_arg'"
7384 keep_next
=$separate_arg
7387 # Either a variable assignment, or a nonopt (triplet). Don't
7388 # pass it down; let the Makefile handle this.
7393 # Remove the initial space we just introduced and, as these will be
7394 # expanded by make, quote '$'.
7395 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7397 # Add in --program-transform-name, after --program-prefix and
7398 # --program-suffix have been applied to it. Autoconf has already
7399 # doubled dollar signs and backslashes in program_transform_name; we want
7400 # the backslashes un-doubled, and then the entire thing wrapped in single
7401 # quotes, because this will be expanded first by make and then by the shell.
7402 # Also, because we want to override the logic in subdir configure scripts to
7403 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7404 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7405 ${program_transform_name}
7407 gcc_transform_name
=`cat conftestsed.out`
7408 rm -f conftestsed.out
7409 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7410 if test "$silent" = yes; then
7411 baseargs
="$baseargs --silent"
7413 baseargs
="$baseargs --disable-option-checking"
7415 # Record and document user additions to sub configure arguments.
7420 # For the build-side libraries, we just need to pretend we're native,
7421 # and not use the same cache file. Multilibs are neither needed nor
7423 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7425 # For host modules, accept cache file option, or specification as blank.
7426 case "${cache_file}" in
7428 cache_file_option
="" ;;
7429 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7430 cache_file_option
="--cache-file=${cache_file}" ;;
7432 cache_file_option
="--cache-file=../${cache_file}" ;;
7435 # Host dirs don't like to share a cache file either, horribly enough.
7436 # This seems to be due to autoconf 2.5x stupidity.
7437 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7439 target_configargs
="$target_configargs ${baseargs}"
7441 # Passing a --with-cross-host argument lets the target libraries know
7442 # whether they are being built with a cross-compiler or being built
7443 # native. However, it would be better to use other mechanisms to make the
7444 # sorts of decisions they want to make on this basis. Please consider
7445 # this option to be deprecated. FIXME.
7446 if test x
${is_cross_compiler} = xyes
; then
7447 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7450 # Default to --enable-multilib.
7451 if test x
${enable_multilib} = x
; then
7454 # no multilib for Cray catamount machine
7457 # or Cray XT CNL machine
7460 target_configargs
="--enable-multilib ${target_configargs}"
7465 # Pass --with-newlib if appropriate. Note that target_configdirs has
7466 # changed from the earlier setting of with_newlib.
7467 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7468 target_configargs
="--with-newlib ${target_configargs}"
7471 # Different target subdirs use different values of certain variables
7472 # (notably CXX). Worse, multilibs use *lots* of different values.
7473 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7474 # it doesn't automatically accept command-line overrides of them.
7475 # This means it's not safe for target subdirs to share a cache file,
7476 # which is disgusting, but there you have it. Hopefully this can be
7477 # fixed in future. It's still worthwhile to use a cache file for each
7478 # directory. I think.
7480 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7481 # We need to pass --target, as newer autoconf's requires consistency
7482 # for target_alias and gcc doesn't manage it consistently.
7483 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7486 case " $target_configdirs " in
7488 case " $target_configargs " in
7489 *" --with-newlib "*)
7492 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/include -isystem $$s/winsup/cygwin/include -isystem $$s/winsup/w32api/include'
7496 # If we're not building GCC, don't discard standard headers.
7497 if test -d ${srcdir}/gcc
; then
7498 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7500 if test "${build}" != "${host}"; then
7501 # On Canadian crosses, CC_FOR_TARGET will have already been set
7502 # by `configure', so we won't have an opportunity to add -Bgcc/
7503 # to it. This is right: we don't want to search that directory
7504 # for binaries, but we want the header files in there, so add
7506 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7508 # Someone might think of using the pre-installed headers on
7509 # Canadian crosses, in case the installed compiler is not fully
7510 # compatible with the compiler being built. In this case, it
7511 # would be better to flag an error than risking having
7512 # incompatible object files being constructed. We can't
7513 # guarantee that an error will be flagged, but let's hope the
7514 # compiler will do it, when presented with incompatible header
7519 case "${target}-${is_cross_compiler}" in
7520 i
[3456789]86-*-linux*-no)
7521 # Here host == target, so we don't need to build gcc,
7522 # so we don't want to discard standard headers.
7523 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7526 # If we're building newlib, use its generic headers last, but search
7527 # for any libc-related directories first (so make it the last -B
7529 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7531 # If we're building libgloss, find the startup file, simulator library
7532 # and linker script.
7533 case " $target_configdirs " in
7535 # Look for startup file, simulator library and maybe linker script.
7536 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7537 # Look for libnosys.a in case the target needs it.
7538 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7539 # Most targets have the linker script in the source directory.
7540 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7551 x86_64-
*mingw
* |
*-w64-mingw*)
7552 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7553 # however, use a symlink named 'mingw' in ${prefix} .
7554 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7557 # MinGW can't be handled as Cygwin above since it does not use newlib.
7558 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'
7562 # Allow the user to override the flags for
7563 # our build compiler if desired.
7564 if test x
"${build}" = x
"${host}" ; then
7565 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7566 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7567 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7570 # On Canadian crosses, we'll be searching the right directories for
7571 # the previously-installed cross compiler, so don't bother to add
7572 # flags for directories within the install tree of the compiler
7573 # being built; programs in there won't even run.
7574 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7575 # Search for pre-installed headers if nothing else fits.
7576 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7579 if test "x
${use_gnu_ld}" = x &&
7580 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7581 # Arrange for us to find uninstalled linker scripts.
7582 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7585 # Search for other target-specific linker scripts and such.
7588 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7592 # UPC linker script check
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7594 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7595 # Check whether --enable-upc-link-script was given.
7596 if test "${enable_upc_link_script+set}" = set; then :
7597 enableval=$enable_upc_link_script;
7601 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7607 if test x${use_gnu_ld} = x ; then
7609 # disable linker script for CRAY XT3/4 cnl/catamount
7611 enable_upc_link_script=no
7614 enable_upc_link_script=no
7616 # disable linker script for Apple Mac OS X
7618 enable_upc_link_script=no
7621 enable_upc_link_script=yes
7625 enable_upc_link_script=no
7627 if test "$enable_upc_link_script" = yes; then
7628 target_configargs="${target_configargs} --enable-upc-link-script"
7629 host_configargs="${host_configargs} --enable-upc-link-script"
7634 if test "$enable_upc_link_script" = yes; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7636 $as_echo "yes" >&6; };
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7639 $as_echo "no
" >&6; };
7643 # Makefile fragments.
7644 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7646 eval fragval=\$$frag
7647 if test $fragval != /dev/null; then
7648 eval $frag=${srcdir}/$fragval
7656 # Miscellanea: directories, flags, etc.
7665 # Build module lists & subconfigure args.
7669 # Host module lists & subconfigure args.
7674 # Target module lists & subconfigure args.
7697 # Generate default definitions for YACC, M4, LEX and other programs that run
7698 # on the build machine. These are used if the Makefile can't locate these
7699 # programs in objdir.
7700 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7702 for ac_prog in 'bison -y' byacc yacc
7704 # Extract the first word of "$ac_prog", so it can be a program name with args.
7705 set dummy $ac_prog; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7707 $as_echo_n "checking
for $ac_word...
" >&6; }
7708 if test "${ac_cv_prog_YACC+set}" = set; then :
7709 $as_echo_n "(cached
) " >&6
7711 if test -n "$YACC"; then
7712 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_YACC="$ac_prog"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7731 YACC=$ac_cv_prog_YACC
7732 if test -n "$YACC"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7734 $as_echo "$YACC" >&6; }
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7737 $as_echo "no
" >&6; }
7741 test -n "$YACC" && break
7743 test -n "$YACC" || YACC="$MISSING bison
-y"
7745 case " $build_configdirs " in
7746 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7747 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7750 for ac_prog in bison
7752 # Extract the first word of "$ac_prog", so it can be a program name with args.
7753 set dummy $ac_prog; ac_word=$2
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7755 $as_echo_n "checking
for $ac_word...
" >&6; }
7756 if test "${ac_cv_prog_BISON+set}" = set; then :
7757 $as_echo_n "(cached
) " >&6
7759 if test -n "$BISON"; then
7760 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7766 test -z "$as_dir" && as_dir=.
7767 for ac_exec_ext in '' $ac_executable_extensions; do
7768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7769 ac_cv_prog_BISON="$ac_prog"
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7779 BISON=$ac_cv_prog_BISON
7780 if test -n "$BISON"; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7782 $as_echo "$BISON" >&6; }
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7785 $as_echo "no
" >&6; }
7789 test -n "$BISON" && break
7791 test -n "$BISON" || BISON="$MISSING bison
"
7793 case " $build_configdirs " in
7794 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7797 for ac_prog in gm4 gnum4 m4
7799 # Extract the first word of "$ac_prog", so it can be a program name with args.
7800 set dummy $ac_prog; ac_word=$2
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7802 $as_echo_n "checking
for $ac_word...
" >&6; }
7803 if test "${ac_cv_prog_M4+set}" = set; then :
7804 $as_echo_n "(cached
) " >&6
7806 if test -n "$M4"; then
7807 ac_cv_prog_M4="$M4" # Let the user override the test.
7809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7813 test -z "$as_dir" && as_dir=.
7814 for ac_exec_ext in '' $ac_executable_extensions; do
7815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7816 ac_cv_prog_M4="$ac_prog"
7817 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7827 if test -n "$M4"; then
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7829 $as_echo "$M4" >&6; }
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7832 $as_echo "no
" >&6; }
7836 test -n "$M4" && break
7838 test -n "$M4" || M4="$MISSING m4"
7840 case " $build_configdirs " in
7841 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7844 for ac_prog in flex lex
7846 # Extract the first word of "$ac_prog", so it can be a program name with args.
7847 set dummy $ac_prog; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7849 $as_echo_n "checking
for $ac_word...
" >&6; }
7850 if test "${ac_cv_prog_LEX+set}" = set; then :
7851 $as_echo_n "(cached
) " >&6
7853 if test -n "$LEX"; then
7854 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7863 ac_cv_prog_LEX="$ac_prog"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7874 if test -n "$LEX"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7876 $as_echo "$LEX" >&6; }
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7879 $as_echo "no
" >&6; }
7883 test -n "$LEX" && break
7885 test -n "$LEX" || LEX="$MISSING flex
"
7887 case " $build_configdirs " in
7888 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7889 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7894 # Extract the first word of "$ac_prog", so it can be a program name with args.
7895 set dummy $ac_prog; ac_word=$2
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7897 $as_echo_n "checking
for $ac_word...
" >&6; }
7898 if test "${ac_cv_prog_FLEX+set}" = set; then :
7899 $as_echo_n "(cached
) " >&6
7901 if test -n "$FLEX"; then
7902 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7908 test -z "$as_dir" && as_dir=.
7909 for ac_exec_ext in '' $ac_executable_extensions; do
7910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7911 ac_cv_prog_FLEX="$ac_prog"
7912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7921 FLEX=$ac_cv_prog_FLEX
7922 if test -n "$FLEX"; then
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7924 $as_echo "$FLEX" >&6; }
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7927 $as_echo "no
" >&6; }
7931 test -n "$FLEX" && break
7933 test -n "$FLEX" || FLEX="$MISSING flex
"
7935 case " $build_configdirs " in
7936 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7939 for ac_prog in makeinfo
7941 # Extract the first word of "$ac_prog", so it can be a program name with args.
7942 set dummy $ac_prog; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7944 $as_echo_n "checking
for $ac_word...
" >&6; }
7945 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7946 $as_echo_n "(cached
) " >&6
7948 if test -n "$MAKEINFO"; then
7949 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7958 ac_cv_prog_MAKEINFO="$ac_prog"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7968 MAKEINFO=$ac_cv_prog_MAKEINFO
7969 if test -n "$MAKEINFO"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7971 $as_echo "$MAKEINFO" >&6; }
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7974 $as_echo "no
" >&6; }
7978 test -n "$MAKEINFO" && break
7980 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7982 case " $build_configdirs " in
7983 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7986 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7987 # higher, else we use the "missing
" dummy.
7988 if ${MAKEINFO} --version \
7989 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7992 MAKEINFO="$MISSING makeinfo
"
7998 # FIXME: expect and dejagnu may become build tools?
8000 for ac_prog in expect
8002 # Extract the first word of "$ac_prog", so it can be a program name with args.
8003 set dummy $ac_prog; ac_word=$2
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8005 $as_echo_n "checking
for $ac_word...
" >&6; }
8006 if test "${ac_cv_prog_EXPECT+set}" = set; then :
8007 $as_echo_n "(cached
) " >&6
8009 if test -n "$EXPECT"; then
8010 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016 test -z "$as_dir" && as_dir=.
8017 for ac_exec_ext in '' $ac_executable_extensions; do
8018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8019 ac_cv_prog_EXPECT="$ac_prog"
8020 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8029 EXPECT=$ac_cv_prog_EXPECT
8030 if test -n "$EXPECT"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8032 $as_echo "$EXPECT" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8035 $as_echo "no
" >&6; }
8039 test -n "$EXPECT" && break
8041 test -n "$EXPECT" || EXPECT="expect
"
8043 case " $configdirs " in
8045 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8049 for ac_prog in runtest
8051 # Extract the first word of "$ac_prog", so it can be a program name with args.
8052 set dummy $ac_prog; ac_word=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8054 $as_echo_n "checking
for $ac_word...
" >&6; }
8055 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
8056 $as_echo_n "(cached
) " >&6
8058 if test -n "$RUNTEST"; then
8059 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8065 test -z "$as_dir" && as_dir=.
8066 for ac_exec_ext in '' $ac_executable_extensions; do
8067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8068 ac_cv_prog_RUNTEST="$ac_prog"
8069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8078 RUNTEST=$ac_cv_prog_RUNTEST
8079 if test -n "$RUNTEST"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8081 $as_echo "$RUNTEST" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8084 $as_echo "no
" >&6; }
8088 test -n "$RUNTEST" && break
8090 test -n "$RUNTEST" || RUNTEST="runtest
"
8092 case " $configdirs " in
8094 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8101 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8102 ncn_target_tool_prefix=
8103 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8107 if test -n "$AR"; then
8109 elif test -n "$ac_cv_prog_AR"; then
8113 if test -n "$ac_cv_prog_AR"; then
8114 for ncn_progname in ar; do
8115 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8116 set dummy ${ncn_progname}; ac_word=$2
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8118 $as_echo_n "checking
for $ac_word...
" >&6; }
8119 if test "${ac_cv_prog_AR+set}" = set; then :
8120 $as_echo_n "(cached
) " >&6
8122 if test -n "$AR"; then
8123 ac_cv_prog_AR="$AR" # Let the user override the test.
8125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8129 test -z "$as_dir" && as_dir=.
8130 for ac_exec_ext in '' $ac_executable_extensions; do
8131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8132 ac_cv_prog_AR="${ncn_progname}"
8133 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8143 if test -n "$AR"; then
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8145 $as_echo "$AR" >&6; }
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8148 $as_echo "no
" >&6; }
8155 for ncn_progname in ar; do
8156 if test -n "$ncn_tool_prefix"; then
8157 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8158 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8160 $as_echo_n "checking
for $ac_word...
" >&6; }
8161 if test "${ac_cv_prog_AR+set}" = set; then :
8162 $as_echo_n "(cached
) " >&6
8164 if test -n "$AR"; then
8165 ac_cv_prog_AR="$AR" # Let the user override the test.
8167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8171 test -z "$as_dir" && as_dir=.
8172 for ac_exec_ext in '' $ac_executable_extensions; do
8173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8174 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8175 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8185 if test -n "$AR"; then
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8187 $as_echo "$AR" >&6; }
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8190 $as_echo "no
" >&6; }
8195 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8196 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8197 set dummy ${ncn_progname}; ac_word=$2
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8199 $as_echo_n "checking
for $ac_word...
" >&6; }
8200 if test "${ac_cv_prog_AR+set}" = set; then :
8201 $as_echo_n "(cached
) " >&6
8203 if test -n "$AR"; then
8204 ac_cv_prog_AR="$AR" # Let the user override the test.
8206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210 test -z "$as_dir" && as_dir=.
8211 for ac_exec_ext in '' $ac_executable_extensions; do
8212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8213 ac_cv_prog_AR="${ncn_progname}"
8214 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8224 if test -n "$AR"; then
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8226 $as_echo "$AR" >&6; }
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8229 $as_echo "no
" >&6; }
8234 test -n "$ac_cv_prog_AR" && break
8237 if test -z "$ac_cv_prog_AR" ; then
8239 if test $build = $host ; then
8242 AR="${ncn_tool_prefix}$2"
8248 if test -n "$AS"; then
8250 elif test -n "$ac_cv_prog_AS"; then
8254 if test -n "$ac_cv_prog_AS"; then
8255 for ncn_progname in as; do
8256 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8257 set dummy ${ncn_progname}; ac_word=$2
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8259 $as_echo_n "checking
for $ac_word...
" >&6; }
8260 if test "${ac_cv_prog_AS+set}" = set; then :
8261 $as_echo_n "(cached
) " >&6
8263 if test -n "$AS"; then
8264 ac_cv_prog_AS="$AS" # Let the user override the test.
8266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8270 test -z "$as_dir" && as_dir=.
8271 for ac_exec_ext in '' $ac_executable_extensions; do
8272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8273 ac_cv_prog_AS="${ncn_progname}"
8274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8284 if test -n "$AS"; then
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8286 $as_echo "$AS" >&6; }
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8289 $as_echo "no
" >&6; }
8296 for ncn_progname in as; do
8297 if test -n "$ncn_tool_prefix"; then
8298 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8299 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8301 $as_echo_n "checking
for $ac_word...
" >&6; }
8302 if test "${ac_cv_prog_AS+set}" = set; then :
8303 $as_echo_n "(cached
) " >&6
8305 if test -n "$AS"; then
8306 ac_cv_prog_AS="$AS" # Let the user override the test.
8308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir=.
8313 for ac_exec_ext in '' $ac_executable_extensions; do
8314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8315 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8326 if test -n "$AS"; then
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8328 $as_echo "$AS" >&6; }
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8331 $as_echo "no
" >&6; }
8336 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8337 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8338 set dummy ${ncn_progname}; ac_word=$2
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8340 $as_echo_n "checking
for $ac_word...
" >&6; }
8341 if test "${ac_cv_prog_AS+set}" = set; then :
8342 $as_echo_n "(cached
) " >&6
8344 if test -n "$AS"; then
8345 ac_cv_prog_AS="$AS" # Let the user override the test.
8347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8351 test -z "$as_dir" && as_dir=.
8352 for ac_exec_ext in '' $ac_executable_extensions; do
8353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8354 ac_cv_prog_AS="${ncn_progname}"
8355 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8365 if test -n "$AS"; then
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8367 $as_echo "$AS" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8370 $as_echo "no
" >&6; }
8375 test -n "$ac_cv_prog_AS" && break
8378 if test -z "$ac_cv_prog_AS" ; then
8380 if test $build = $host ; then
8383 AS="${ncn_tool_prefix}$2"
8389 if test -n "$DLLTOOL"; then
8390 ac_cv_prog_DLLTOOL=$DLLTOOL
8391 elif test -n "$ac_cv_prog_DLLTOOL"; then
8392 DLLTOOL=$ac_cv_prog_DLLTOOL
8395 if test -n "$ac_cv_prog_DLLTOOL"; then
8396 for ncn_progname in dlltool; do
8397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8398 set dummy ${ncn_progname}; ac_word=$2
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8400 $as_echo_n "checking
for $ac_word...
" >&6; }
8401 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8402 $as_echo_n "(cached
) " >&6
8404 if test -n "$DLLTOOL"; then
8405 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8411 test -z "$as_dir" && as_dir=.
8412 for ac_exec_ext in '' $ac_executable_extensions; do
8413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8414 ac_cv_prog_DLLTOOL="${ncn_progname}"
8415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8424 DLLTOOL=$ac_cv_prog_DLLTOOL
8425 if test -n "$DLLTOOL"; then
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8427 $as_echo "$DLLTOOL" >&6; }
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8430 $as_echo "no
" >&6; }
8437 for ncn_progname in dlltool; do
8438 if test -n "$ncn_tool_prefix"; then
8439 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8440 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8442 $as_echo_n "checking
for $ac_word...
" >&6; }
8443 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8444 $as_echo_n "(cached
) " >&6
8446 if test -n "$DLLTOOL"; then
8447 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8453 test -z "$as_dir" && as_dir=.
8454 for ac_exec_ext in '' $ac_executable_extensions; do
8455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8456 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8457 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8466 DLLTOOL=$ac_cv_prog_DLLTOOL
8467 if test -n "$DLLTOOL"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8469 $as_echo "$DLLTOOL" >&6; }
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8472 $as_echo "no
" >&6; }
8477 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8479 set dummy ${ncn_progname}; ac_word=$2
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8481 $as_echo_n "checking
for $ac_word...
" >&6; }
8482 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8483 $as_echo_n "(cached
) " >&6
8485 if test -n "$DLLTOOL"; then
8486 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8492 test -z "$as_dir" && as_dir=.
8493 for ac_exec_ext in '' $ac_executable_extensions; do
8494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8495 ac_cv_prog_DLLTOOL="${ncn_progname}"
8496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8505 DLLTOOL=$ac_cv_prog_DLLTOOL
8506 if test -n "$DLLTOOL"; then
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8508 $as_echo "$DLLTOOL" >&6; }
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8511 $as_echo "no
" >&6; }
8516 test -n "$ac_cv_prog_DLLTOOL" && break
8519 if test -z "$ac_cv_prog_DLLTOOL" ; then
8521 if test $build = $host ; then
8524 DLLTOOL="${ncn_tool_prefix}$2"
8530 if test -n "$LD"; then
8532 elif test -n "$ac_cv_prog_LD"; then
8536 if test -n "$ac_cv_prog_LD"; then
8537 for ncn_progname in ld; do
8538 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8539 set dummy ${ncn_progname}; ac_word=$2
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8541 $as_echo_n "checking
for $ac_word...
" >&6; }
8542 if test "${ac_cv_prog_LD+set}" = set; then :
8543 $as_echo_n "(cached
) " >&6
8545 if test -n "$LD"; then
8546 ac_cv_prog_LD="$LD" # Let the user override the test.
8548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8552 test -z "$as_dir" && as_dir=.
8553 for ac_exec_ext in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_prog_LD="${ncn_progname}"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8566 if test -n "$LD"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8568 $as_echo "$LD" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8571 $as_echo "no
" >&6; }
8578 for ncn_progname in ld; do
8579 if test -n "$ncn_tool_prefix"; then
8580 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8581 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8583 $as_echo_n "checking
for $ac_word...
" >&6; }
8584 if test "${ac_cv_prog_LD+set}" = set; then :
8585 $as_echo_n "(cached
) " >&6
8587 if test -n "$LD"; then
8588 ac_cv_prog_LD="$LD" # Let the user override the test.
8590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir=.
8595 for ac_exec_ext in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8608 if test -n "$LD"; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8610 $as_echo "$LD" >&6; }
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8613 $as_echo "no
" >&6; }
8618 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8619 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8620 set dummy ${ncn_progname}; ac_word=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8622 $as_echo_n "checking
for $ac_word...
" >&6; }
8623 if test "${ac_cv_prog_LD+set}" = set; then :
8624 $as_echo_n "(cached
) " >&6
8626 if test -n "$LD"; then
8627 ac_cv_prog_LD="$LD" # Let the user override the test.
8629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8633 test -z "$as_dir" && as_dir=.
8634 for ac_exec_ext in '' $ac_executable_extensions; do
8635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8636 ac_cv_prog_LD="${ncn_progname}"
8637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8647 if test -n "$LD"; then
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8649 $as_echo "$LD" >&6; }
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8652 $as_echo "no
" >&6; }
8657 test -n "$ac_cv_prog_LD" && break
8660 if test -z "$ac_cv_prog_LD" ; then
8662 if test $build = $host ; then
8665 LD="${ncn_tool_prefix}$2"
8671 if test -n "$LIPO"; then
8672 ac_cv_prog_LIPO=$LIPO
8673 elif test -n "$ac_cv_prog_LIPO"; then
8674 LIPO=$ac_cv_prog_LIPO
8677 if test -n "$ac_cv_prog_LIPO"; then
8678 for ncn_progname in lipo; do
8679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8680 set dummy ${ncn_progname}; ac_word=$2
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8682 $as_echo_n "checking
for $ac_word...
" >&6; }
8683 if test "${ac_cv_prog_LIPO+set}" = set; then :
8684 $as_echo_n "(cached
) " >&6
8686 if test -n "$LIPO"; then
8687 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8693 test -z "$as_dir" && as_dir=.
8694 for ac_exec_ext in '' $ac_executable_extensions; do
8695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8696 ac_cv_prog_LIPO="${ncn_progname}"
8697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8706 LIPO=$ac_cv_prog_LIPO
8707 if test -n "$LIPO"; then
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8709 $as_echo "$LIPO" >&6; }
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8712 $as_echo "no
" >&6; }
8719 for ncn_progname in lipo; do
8720 if test -n "$ncn_tool_prefix"; then
8721 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8722 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8724 $as_echo_n "checking
for $ac_word...
" >&6; }
8725 if test "${ac_cv_prog_LIPO+set}" = set; then :
8726 $as_echo_n "(cached
) " >&6
8728 if test -n "$LIPO"; then
8729 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 test -z "$as_dir" && as_dir=.
8736 for ac_exec_ext in '' $ac_executable_extensions; do
8737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8738 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8748 LIPO=$ac_cv_prog_LIPO
8749 if test -n "$LIPO"; then
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8751 $as_echo "$LIPO" >&6; }
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8754 $as_echo "no
" >&6; }
8759 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8760 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8761 set dummy ${ncn_progname}; ac_word=$2
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8763 $as_echo_n "checking
for $ac_word...
" >&6; }
8764 if test "${ac_cv_prog_LIPO+set}" = set; then :
8765 $as_echo_n "(cached
) " >&6
8767 if test -n "$LIPO"; then
8768 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 test -z "$as_dir" && as_dir=.
8775 for ac_exec_ext in '' $ac_executable_extensions; do
8776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8777 ac_cv_prog_LIPO="${ncn_progname}"
8778 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8787 LIPO=$ac_cv_prog_LIPO
8788 if test -n "$LIPO"; then
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8790 $as_echo "$LIPO" >&6; }
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8793 $as_echo "no
" >&6; }
8798 test -n "$ac_cv_prog_LIPO" && break
8801 if test -z "$ac_cv_prog_LIPO" ; then
8803 if test $build = $host ; then
8806 LIPO="${ncn_tool_prefix}$2"
8812 if test -n "$NM"; then
8814 elif test -n "$ac_cv_prog_NM"; then
8818 if test -n "$ac_cv_prog_NM"; then
8819 for ncn_progname in nm; do
8820 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8821 set dummy ${ncn_progname}; ac_word=$2
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8823 $as_echo_n "checking
for $ac_word...
" >&6; }
8824 if test "${ac_cv_prog_NM+set}" = set; then :
8825 $as_echo_n "(cached
) " >&6
8827 if test -n "$NM"; then
8828 ac_cv_prog_NM="$NM" # Let the user override the test.
8830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8834 test -z "$as_dir" && as_dir=.
8835 for ac_exec_ext in '' $ac_executable_extensions; do
8836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8837 ac_cv_prog_NM="${ncn_progname}"
8838 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8848 if test -n "$NM"; then
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8850 $as_echo "$NM" >&6; }
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8853 $as_echo "no
" >&6; }
8860 for ncn_progname in nm; do
8861 if test -n "$ncn_tool_prefix"; then
8862 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8863 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8865 $as_echo_n "checking
for $ac_word...
" >&6; }
8866 if test "${ac_cv_prog_NM+set}" = set; then :
8867 $as_echo_n "(cached
) " >&6
8869 if test -n "$NM"; then
8870 ac_cv_prog_NM="$NM" # Let the user override the test.
8872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8876 test -z "$as_dir" && as_dir=.
8877 for ac_exec_ext in '' $ac_executable_extensions; do
8878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8879 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8880 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8890 if test -n "$NM"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8892 $as_echo "$NM" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8895 $as_echo "no
" >&6; }
8900 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8901 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8902 set dummy ${ncn_progname}; ac_word=$2
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8904 $as_echo_n "checking
for $ac_word...
" >&6; }
8905 if test "${ac_cv_prog_NM+set}" = set; then :
8906 $as_echo_n "(cached
) " >&6
8908 if test -n "$NM"; then
8909 ac_cv_prog_NM="$NM" # Let the user override the test.
8911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8915 test -z "$as_dir" && as_dir=.
8916 for ac_exec_ext in '' $ac_executable_extensions; do
8917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8918 ac_cv_prog_NM="${ncn_progname}"
8919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8929 if test -n "$NM"; then
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8931 $as_echo "$NM" >&6; }
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8934 $as_echo "no
" >&6; }
8939 test -n "$ac_cv_prog_NM" && break
8942 if test -z "$ac_cv_prog_NM" ; then
8944 if test $build = $host ; then
8947 NM="${ncn_tool_prefix}$2"
8953 if test -n "$RANLIB"; then
8954 ac_cv_prog_RANLIB=$RANLIB
8955 elif test -n "$ac_cv_prog_RANLIB"; then
8956 RANLIB=$ac_cv_prog_RANLIB
8959 if test -n "$ac_cv_prog_RANLIB"; then
8960 for ncn_progname in ranlib; do
8961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8962 set dummy ${ncn_progname}; ac_word=$2
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8964 $as_echo_n "checking
for $ac_word...
" >&6; }
8965 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8966 $as_echo_n "(cached
) " >&6
8968 if test -n "$RANLIB"; then
8969 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_prog_RANLIB="${ncn_progname}"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8988 RANLIB=$ac_cv_prog_RANLIB
8989 if test -n "$RANLIB"; then
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8991 $as_echo "$RANLIB" >&6; }
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8994 $as_echo "no
" >&6; }
9001 for ncn_progname in ranlib; do
9002 if test -n "$ncn_tool_prefix"; then
9003 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9004 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9006 $as_echo_n "checking
for $ac_word...
" >&6; }
9007 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9008 $as_echo_n "(cached
) " >&6
9010 if test -n "$RANLIB"; then
9011 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9017 test -z "$as_dir" && as_dir=.
9018 for ac_exec_ext in '' $ac_executable_extensions; do
9019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9020 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9030 RANLIB=$ac_cv_prog_RANLIB
9031 if test -n "$RANLIB"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9033 $as_echo "$RANLIB" >&6; }
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9036 $as_echo "no
" >&6; }
9041 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9042 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9043 set dummy ${ncn_progname}; ac_word=$2
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9045 $as_echo_n "checking
for $ac_word...
" >&6; }
9046 if test "${ac_cv_prog_RANLIB+set}" = set; then :
9047 $as_echo_n "(cached
) " >&6
9049 if test -n "$RANLIB"; then
9050 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9056 test -z "$as_dir" && as_dir=.
9057 for ac_exec_ext in '' $ac_executable_extensions; do
9058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9059 ac_cv_prog_RANLIB="${ncn_progname}"
9060 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9069 RANLIB=$ac_cv_prog_RANLIB
9070 if test -n "$RANLIB"; then
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9072 $as_echo "$RANLIB" >&6; }
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9075 $as_echo "no
" >&6; }
9080 test -n "$ac_cv_prog_RANLIB" && break
9083 if test -z "$ac_cv_prog_RANLIB" ; then
9089 if test -n "$STRIP"; then
9090 ac_cv_prog_STRIP=$STRIP
9091 elif test -n "$ac_cv_prog_STRIP"; then
9092 STRIP=$ac_cv_prog_STRIP
9095 if test -n "$ac_cv_prog_STRIP"; then
9096 for ncn_progname in strip; do
9097 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9098 set dummy ${ncn_progname}; ac_word=$2
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9100 $as_echo_n "checking
for $ac_word...
" >&6; }
9101 if test "${ac_cv_prog_STRIP+set}" = set; then :
9102 $as_echo_n "(cached
) " >&6
9104 if test -n "$STRIP"; then
9105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9111 test -z "$as_dir" && as_dir=.
9112 for ac_exec_ext in '' $ac_executable_extensions; do
9113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9114 ac_cv_prog_STRIP="${ncn_progname}"
9115 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9124 STRIP=$ac_cv_prog_STRIP
9125 if test -n "$STRIP"; then
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9127 $as_echo "$STRIP" >&6; }
9129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9130 $as_echo "no
" >&6; }
9137 for ncn_progname in strip; do
9138 if test -n "$ncn_tool_prefix"; then
9139 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9140 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9142 $as_echo_n "checking
for $ac_word...
" >&6; }
9143 if test "${ac_cv_prog_STRIP+set}" = set; then :
9144 $as_echo_n "(cached
) " >&6
9146 if test -n "$STRIP"; then
9147 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9153 test -z "$as_dir" && as_dir=.
9154 for ac_exec_ext in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9166 STRIP=$ac_cv_prog_STRIP
9167 if test -n "$STRIP"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9169 $as_echo "$STRIP" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9172 $as_echo "no
" >&6; }
9177 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9178 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9179 set dummy ${ncn_progname}; ac_word=$2
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9181 $as_echo_n "checking
for $ac_word...
" >&6; }
9182 if test "${ac_cv_prog_STRIP+set}" = set; then :
9183 $as_echo_n "(cached
) " >&6
9185 if test -n "$STRIP"; then
9186 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir=.
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195 ac_cv_prog_STRIP="${ncn_progname}"
9196 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9205 STRIP=$ac_cv_prog_STRIP
9206 if test -n "$STRIP"; then
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9208 $as_echo "$STRIP" >&6; }
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9211 $as_echo "no
" >&6; }
9216 test -n "$ac_cv_prog_STRIP" && break
9219 if test -z "$ac_cv_prog_STRIP" ; then
9225 if test -n "$WINDRES"; then
9226 ac_cv_prog_WINDRES=$WINDRES
9227 elif test -n "$ac_cv_prog_WINDRES"; then
9228 WINDRES=$ac_cv_prog_WINDRES
9231 if test -n "$ac_cv_prog_WINDRES"; then
9232 for ncn_progname in windres; do
9233 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9234 set dummy ${ncn_progname}; ac_word=$2
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9236 $as_echo_n "checking
for $ac_word...
" >&6; }
9237 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9238 $as_echo_n "(cached
) " >&6
9240 if test -n "$WINDRES"; then
9241 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9247 test -z "$as_dir" && as_dir=.
9248 for ac_exec_ext in '' $ac_executable_extensions; do
9249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9250 ac_cv_prog_WINDRES="${ncn_progname}"
9251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9260 WINDRES=$ac_cv_prog_WINDRES
9261 if test -n "$WINDRES"; then
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9263 $as_echo "$WINDRES" >&6; }
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9266 $as_echo "no
" >&6; }
9273 for ncn_progname in windres; do
9274 if test -n "$ncn_tool_prefix"; then
9275 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9276 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9278 $as_echo_n "checking
for $ac_word...
" >&6; }
9279 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9280 $as_echo_n "(cached
) " >&6
9282 if test -n "$WINDRES"; then
9283 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9289 test -z "$as_dir" && as_dir=.
9290 for ac_exec_ext in '' $ac_executable_extensions; do
9291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9292 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9293 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9302 WINDRES=$ac_cv_prog_WINDRES
9303 if test -n "$WINDRES"; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9305 $as_echo "$WINDRES" >&6; }
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9308 $as_echo "no
" >&6; }
9313 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9314 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9315 set dummy ${ncn_progname}; ac_word=$2
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9317 $as_echo_n "checking
for $ac_word...
" >&6; }
9318 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9319 $as_echo_n "(cached
) " >&6
9321 if test -n "$WINDRES"; then
9322 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir=.
9329 for ac_exec_ext in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_prog_WINDRES="${ncn_progname}"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9341 WINDRES=$ac_cv_prog_WINDRES
9342 if test -n "$WINDRES"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9344 $as_echo "$WINDRES" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9347 $as_echo "no
" >&6; }
9352 test -n "$ac_cv_prog_WINDRES" && break
9355 if test -z "$ac_cv_prog_WINDRES" ; then
9357 if test $build = $host ; then
9360 WINDRES="${ncn_tool_prefix}$2"
9366 if test -n "$WINDMC"; then
9367 ac_cv_prog_WINDMC=$WINDMC
9368 elif test -n "$ac_cv_prog_WINDMC"; then
9369 WINDMC=$ac_cv_prog_WINDMC
9372 if test -n "$ac_cv_prog_WINDMC"; then
9373 for ncn_progname in windmc; do
9374 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9375 set dummy ${ncn_progname}; ac_word=$2
9376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9377 $as_echo_n "checking
for $ac_word...
" >&6; }
9378 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9379 $as_echo_n "(cached
) " >&6
9381 if test -n "$WINDMC"; then
9382 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir=.
9389 for ac_exec_ext in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_prog_WINDMC="${ncn_progname}"
9392 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9401 WINDMC=$ac_cv_prog_WINDMC
9402 if test -n "$WINDMC"; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9404 $as_echo "$WINDMC" >&6; }
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9407 $as_echo "no
" >&6; }
9414 for ncn_progname in windmc; do
9415 if test -n "$ncn_tool_prefix"; then
9416 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9417 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9419 $as_echo_n "checking
for $ac_word...
" >&6; }
9420 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9421 $as_echo_n "(cached
) " >&6
9423 if test -n "$WINDMC"; then
9424 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir=.
9431 for ac_exec_ext in '' $ac_executable_extensions; do
9432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9433 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9443 WINDMC=$ac_cv_prog_WINDMC
9444 if test -n "$WINDMC"; then
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9446 $as_echo "$WINDMC" >&6; }
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9449 $as_echo "no
" >&6; }
9454 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9455 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9456 set dummy ${ncn_progname}; ac_word=$2
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9458 $as_echo_n "checking
for $ac_word...
" >&6; }
9459 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9460 $as_echo_n "(cached
) " >&6
9462 if test -n "$WINDMC"; then
9463 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9469 test -z "$as_dir" && as_dir=.
9470 for ac_exec_ext in '' $ac_executable_extensions; do
9471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9472 ac_cv_prog_WINDMC="${ncn_progname}"
9473 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9482 WINDMC=$ac_cv_prog_WINDMC
9483 if test -n "$WINDMC"; then
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9485 $as_echo "$WINDMC" >&6; }
9487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9488 $as_echo "no
" >&6; }
9493 test -n "$ac_cv_prog_WINDMC" && break
9496 if test -z "$ac_cv_prog_WINDMC" ; then
9498 if test $build = $host ; then
9501 WINDMC="${ncn_tool_prefix}$2"
9507 if test -n "$OBJCOPY"; then
9508 ac_cv_prog_OBJCOPY=$OBJCOPY
9509 elif test -n "$ac_cv_prog_OBJCOPY"; then
9510 OBJCOPY=$ac_cv_prog_OBJCOPY
9513 if test -n "$ac_cv_prog_OBJCOPY"; then
9514 for ncn_progname in objcopy; do
9515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9516 set dummy ${ncn_progname}; ac_word=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9518 $as_echo_n "checking
for $ac_word...
" >&6; }
9519 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9520 $as_echo_n "(cached
) " >&6
9522 if test -n "$OBJCOPY"; then
9523 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9529 test -z "$as_dir" && as_dir=.
9530 for ac_exec_ext in '' $ac_executable_extensions; do
9531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532 ac_cv_prog_OBJCOPY="${ncn_progname}"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9542 OBJCOPY=$ac_cv_prog_OBJCOPY
9543 if test -n "$OBJCOPY"; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9545 $as_echo "$OBJCOPY" >&6; }
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9548 $as_echo "no
" >&6; }
9555 for ncn_progname in objcopy; do
9556 if test -n "$ncn_tool_prefix"; then
9557 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9558 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9560 $as_echo_n "checking
for $ac_word...
" >&6; }
9561 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9562 $as_echo_n "(cached
) " >&6
9564 if test -n "$OBJCOPY"; then
9565 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9571 test -z "$as_dir" && as_dir=.
9572 for ac_exec_ext in '' $ac_executable_extensions; do
9573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9574 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9575 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9584 OBJCOPY=$ac_cv_prog_OBJCOPY
9585 if test -n "$OBJCOPY"; then
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9587 $as_echo "$OBJCOPY" >&6; }
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9590 $as_echo "no
" >&6; }
9595 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9596 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9597 set dummy ${ncn_progname}; ac_word=$2
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9599 $as_echo_n "checking
for $ac_word...
" >&6; }
9600 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9601 $as_echo_n "(cached
) " >&6
9603 if test -n "$OBJCOPY"; then
9604 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 test -z "$as_dir" && as_dir=.
9611 for ac_exec_ext in '' $ac_executable_extensions; do
9612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613 ac_cv_prog_OBJCOPY="${ncn_progname}"
9614 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9623 OBJCOPY=$ac_cv_prog_OBJCOPY
9624 if test -n "$OBJCOPY"; then
9625 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9626 $as_echo "$OBJCOPY" >&6; }
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9629 $as_echo "no
" >&6; }
9634 test -n "$ac_cv_prog_OBJCOPY" && break
9637 if test -z "$ac_cv_prog_OBJCOPY" ; then
9639 if test $build = $host ; then
9642 OBJCOPY="${ncn_tool_prefix}$2"
9648 if test -n "$OBJDUMP"; then
9649 ac_cv_prog_OBJDUMP=$OBJDUMP
9650 elif test -n "$ac_cv_prog_OBJDUMP"; then
9651 OBJDUMP=$ac_cv_prog_OBJDUMP
9654 if test -n "$ac_cv_prog_OBJDUMP"; then
9655 for ncn_progname in objdump; do
9656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9657 set dummy ${ncn_progname}; ac_word=$2
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9659 $as_echo_n "checking
for $ac_word...
" >&6; }
9660 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9661 $as_echo_n "(cached
) " >&6
9663 if test -n "$OBJDUMP"; then
9664 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9670 test -z "$as_dir" && as_dir=.
9671 for ac_exec_ext in '' $ac_executable_extensions; do
9672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9673 ac_cv_prog_OBJDUMP="${ncn_progname}"
9674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9683 OBJDUMP=$ac_cv_prog_OBJDUMP
9684 if test -n "$OBJDUMP"; then
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9686 $as_echo "$OBJDUMP" >&6; }
9688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9689 $as_echo "no
" >&6; }
9696 for ncn_progname in objdump; do
9697 if test -n "$ncn_tool_prefix"; then
9698 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9699 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9701 $as_echo_n "checking
for $ac_word...
" >&6; }
9702 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9703 $as_echo_n "(cached
) " >&6
9705 if test -n "$OBJDUMP"; then
9706 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9712 test -z "$as_dir" && as_dir=.
9713 for ac_exec_ext in '' $ac_executable_extensions; do
9714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9715 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9716 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9725 OBJDUMP=$ac_cv_prog_OBJDUMP
9726 if test -n "$OBJDUMP"; then
9727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9728 $as_echo "$OBJDUMP" >&6; }
9730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9731 $as_echo "no
" >&6; }
9736 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9737 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9738 set dummy ${ncn_progname}; ac_word=$2
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9740 $as_echo_n "checking
for $ac_word...
" >&6; }
9741 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9742 $as_echo_n "(cached
) " >&6
9744 if test -n "$OBJDUMP"; then
9745 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9751 test -z "$as_dir" && as_dir=.
9752 for ac_exec_ext in '' $ac_executable_extensions; do
9753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9754 ac_cv_prog_OBJDUMP="${ncn_progname}"
9755 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9764 OBJDUMP=$ac_cv_prog_OBJDUMP
9765 if test -n "$OBJDUMP"; then
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9767 $as_echo "$OBJDUMP" >&6; }
9769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9770 $as_echo "no
" >&6; }
9775 test -n "$ac_cv_prog_OBJDUMP" && break
9778 if test -z "$ac_cv_prog_OBJDUMP" ; then
9780 if test $build = $host ; then
9783 OBJDUMP="${ncn_tool_prefix}$2"
9794 # Check whether --with-build-time-tools was given.
9795 if test "${with_build_time_tools+set}" = set; then :
9796 withval=$with_build_time_tools; case x"$withval" in
9799 with_build_time_tools=
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9801 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9805 with_build_time_tools=
9811 if test -n "$CC_FOR_TARGET"; then
9812 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9813 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9814 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9817 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9818 for ncn_progname in cc gcc; do
9819 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9820 set dummy ${ncn_progname}; ac_word=$2
9821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9822 $as_echo_n "checking
for $ac_word...
" >&6; }
9823 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9824 $as_echo_n "(cached
) " >&6
9826 if test -n "$CC_FOR_TARGET"; then
9827 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9833 test -z "$as_dir" && as_dir=.
9834 for ac_exec_ext in '' $ac_executable_extensions; do
9835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9836 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9846 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9847 if test -n "$CC_FOR_TARGET"; then
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9849 $as_echo "$CC_FOR_TARGET" >&6; }
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9852 $as_echo "no
" >&6; }
9859 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9860 for ncn_progname in cc gcc; do
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9862 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9863 if test -x $with_build_time_tools/${ncn_progname}; then
9864 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9866 $as_echo "yes" >&6; }
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9870 $as_echo "no
" >&6; }
9875 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9876 for ncn_progname in cc gcc; do
9877 if test -n "$ncn_target_tool_prefix"; then
9878 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9879 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9881 $as_echo_n "checking
for $ac_word...
" >&6; }
9882 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9883 $as_echo_n "(cached
) " >&6
9885 if test -n "$CC_FOR_TARGET"; then
9886 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9892 test -z "$as_dir" && as_dir=.
9893 for ac_exec_ext in '' $ac_executable_extensions; do
9894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9895 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9905 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9906 if test -n "$CC_FOR_TARGET"; then
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9908 $as_echo "$CC_FOR_TARGET" >&6; }
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9911 $as_echo "no
" >&6; }
9916 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9917 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9918 set dummy ${ncn_progname}; ac_word=$2
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9920 $as_echo_n "checking
for $ac_word...
" >&6; }
9921 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9922 $as_echo_n "(cached
) " >&6
9924 if test -n "$CC_FOR_TARGET"; then
9925 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9931 test -z "$as_dir" && as_dir=.
9932 for ac_exec_ext in '' $ac_executable_extensions; do
9933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9934 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9944 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9945 if test -n "$CC_FOR_TARGET"; then
9946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9947 $as_echo "$CC_FOR_TARGET" >&6; }
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9950 $as_echo "no
" >&6; }
9955 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9959 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9961 if test $build = $target ; then
9964 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9967 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9972 if test -n "$CXX_FOR_TARGET"; then
9973 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9974 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9975 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9978 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9979 for ncn_progname in c++ g++ cxx gxx; do
9980 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9981 set dummy ${ncn_progname}; ac_word=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9983 $as_echo_n "checking
for $ac_word...
" >&6; }
9984 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9985 $as_echo_n "(cached
) " >&6
9987 if test -n "$CXX_FOR_TARGET"; then
9988 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir=.
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10007 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10008 if test -n "$CXX_FOR_TARGET"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10010 $as_echo "$CXX_FOR_TARGET" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10013 $as_echo "no
" >&6; }
10020 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10021 for ncn_progname in c++ g++ cxx gxx; do
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10023 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10024 if test -x $with_build_time_tools/${ncn_progname}; then
10025 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10027 $as_echo "yes" >&6; }
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10031 $as_echo "no
" >&6; }
10036 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10037 for ncn_progname in c++ g++ cxx gxx; do
10038 if test -n "$ncn_target_tool_prefix"; then
10039 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10040 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10042 $as_echo_n "checking
for $ac_word...
" >&6; }
10043 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10044 $as_echo_n "(cached
) " >&6
10046 if test -n "$CXX_FOR_TARGET"; then
10047 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10050 for as_dir in $PATH
10053 test -z "$as_dir" && as_dir=.
10054 for ac_exec_ext in '' $ac_executable_extensions; do
10055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10056 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10057 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10066 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10067 if test -n "$CXX_FOR_TARGET"; then
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10069 $as_echo "$CXX_FOR_TARGET" >&6; }
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10072 $as_echo "no
" >&6; }
10077 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10078 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10079 set dummy ${ncn_progname}; ac_word=$2
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10081 $as_echo_n "checking
for $ac_word...
" >&6; }
10082 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10083 $as_echo_n "(cached
) " >&6
10085 if test -n "$CXX_FOR_TARGET"; then
10086 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10089 for as_dir in $PATH
10092 test -z "$as_dir" && as_dir=.
10093 for ac_exec_ext in '' $ac_executable_extensions; do
10094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10095 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10096 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10105 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10106 if test -n "$CXX_FOR_TARGET"; then
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10108 $as_echo "$CXX_FOR_TARGET" >&6; }
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10111 $as_echo "no
" >&6; }
10116 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10120 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10121 set dummy c++ g++ cxx gxx
10122 if test $build = $target ; then
10123 CXX_FOR_TARGET="$2"
10125 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10128 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10133 if test -n "$GCC_FOR_TARGET"; then
10134 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10135 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10136 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10139 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10140 for ncn_progname in gcc; do
10141 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10142 set dummy ${ncn_progname}; ac_word=$2
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10144 $as_echo_n "checking
for $ac_word...
" >&6; }
10145 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10146 $as_echo_n "(cached
) " >&6
10148 if test -n "$GCC_FOR_TARGET"; then
10149 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10152 for as_dir in $PATH
10155 test -z "$as_dir" && as_dir=.
10156 for ac_exec_ext in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10168 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10169 if test -n "$GCC_FOR_TARGET"; then
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10171 $as_echo "$GCC_FOR_TARGET" >&6; }
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10174 $as_echo "no
" >&6; }
10181 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10182 for ncn_progname in gcc; do
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10184 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10185 if test -x $with_build_time_tools/${ncn_progname}; then
10186 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10188 $as_echo "yes" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10192 $as_echo "no
" >&6; }
10197 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10198 for ncn_progname in gcc; do
10199 if test -n "$ncn_target_tool_prefix"; then
10200 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10201 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10203 $as_echo_n "checking
for $ac_word...
" >&6; }
10204 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10205 $as_echo_n "(cached
) " >&6
10207 if test -n "$GCC_FOR_TARGET"; then
10208 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10211 for as_dir in $PATH
10214 test -z "$as_dir" && as_dir=.
10215 for ac_exec_ext in '' $ac_executable_extensions; do
10216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10217 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10218 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10227 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10228 if test -n "$GCC_FOR_TARGET"; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10230 $as_echo "$GCC_FOR_TARGET" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10233 $as_echo "no
" >&6; }
10238 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10239 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10240 set dummy ${ncn_progname}; ac_word=$2
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10242 $as_echo_n "checking
for $ac_word...
" >&6; }
10243 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10244 $as_echo_n "(cached
) " >&6
10246 if test -n "$GCC_FOR_TARGET"; then
10247 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10250 for as_dir in $PATH
10253 test -z "$as_dir" && as_dir=.
10254 for ac_exec_ext in '' $ac_executable_extensions; do
10255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10256 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10266 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10267 if test -n "$GCC_FOR_TARGET"; then
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10269 $as_echo "$GCC_FOR_TARGET" >&6; }
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10272 $as_echo "no
" >&6; }
10277 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10281 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10282 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10284 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10289 if test -n "$GCJ_FOR_TARGET"; then
10290 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10291 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10292 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10295 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10296 for ncn_progname in gcj; do
10297 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10298 set dummy ${ncn_progname}; ac_word=$2
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10300 $as_echo_n "checking
for $ac_word...
" >&6; }
10301 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10302 $as_echo_n "(cached
) " >&6
10304 if test -n "$GCJ_FOR_TARGET"; then
10305 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10308 for as_dir in $PATH
10311 test -z "$as_dir" && as_dir=.
10312 for ac_exec_ext in '' $ac_executable_extensions; do
10313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10314 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10315 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10324 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10325 if test -n "$GCJ_FOR_TARGET"; then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10327 $as_echo "$GCJ_FOR_TARGET" >&6; }
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10330 $as_echo "no
" >&6; }
10337 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10338 for ncn_progname in gcj; do
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10340 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10341 if test -x $with_build_time_tools/${ncn_progname}; then
10342 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10344 $as_echo "yes" >&6; }
10347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10348 $as_echo "no
" >&6; }
10353 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10354 for ncn_progname in gcj; do
10355 if test -n "$ncn_target_tool_prefix"; then
10356 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10357 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10359 $as_echo_n "checking
for $ac_word...
" >&6; }
10360 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10361 $as_echo_n "(cached
) " >&6
10363 if test -n "$GCJ_FOR_TARGET"; then
10364 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10367 for as_dir in $PATH
10370 test -z "$as_dir" && as_dir=.
10371 for ac_exec_ext in '' $ac_executable_extensions; do
10372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10373 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10374 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10383 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10384 if test -n "$GCJ_FOR_TARGET"; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10386 $as_echo "$GCJ_FOR_TARGET" >&6; }
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10389 $as_echo "no
" >&6; }
10394 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10395 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10396 set dummy ${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_GCJ_FOR_TARGET+set}" = set; then :
10400 $as_echo_n "(cached
) " >&6
10402 if test -n "$GCJ_FOR_TARGET"; then
10403 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_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_GCJ_FOR_TARGET="${ncn_progname}"
10413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10422 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10423 if test -n "$GCJ_FOR_TARGET"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10425 $as_echo "$GCJ_FOR_TARGET" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10428 $as_echo "no
" >&6; }
10433 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10437 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10439 if test $build = $target ; then
10440 GCJ_FOR_TARGET="$2"
10442 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10445 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10450 if test -n "$GFORTRAN_FOR_TARGET"; then
10451 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10452 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10453 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10456 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10457 for ncn_progname in gfortran; do
10458 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10459 set dummy ${ncn_progname}; ac_word=$2
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10461 $as_echo_n "checking
for $ac_word...
" >&6; }
10462 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10463 $as_echo_n "(cached
) " >&6
10465 if test -n "$GFORTRAN_FOR_TARGET"; then
10466 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10469 for as_dir in $PATH
10472 test -z "$as_dir" && as_dir=.
10473 for ac_exec_ext in '' $ac_executable_extensions; do
10474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10475 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10485 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10486 if test -n "$GFORTRAN_FOR_TARGET"; then
10487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10488 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10491 $as_echo "no
" >&6; }
10498 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10499 for ncn_progname in gfortran; do
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10501 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10502 if test -x $with_build_time_tools/${ncn_progname}; then
10503 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10505 $as_echo "yes" >&6; }
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10509 $as_echo "no
" >&6; }
10514 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10515 for ncn_progname in gfortran; do
10516 if test -n "$ncn_target_tool_prefix"; then
10517 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10518 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10520 $as_echo_n "checking
for $ac_word...
" >&6; }
10521 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10522 $as_echo_n "(cached
) " >&6
10524 if test -n "$GFORTRAN_FOR_TARGET"; then
10525 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10531 test -z "$as_dir" && as_dir=.
10532 for ac_exec_ext in '' $ac_executable_extensions; do
10533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10534 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10535 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10544 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10545 if test -n "$GFORTRAN_FOR_TARGET"; then
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10547 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10550 $as_echo "no
" >&6; }
10555 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10556 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10557 set dummy ${ncn_progname}; ac_word=$2
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10559 $as_echo_n "checking
for $ac_word...
" >&6; }
10560 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10561 $as_echo_n "(cached
) " >&6
10563 if test -n "$GFORTRAN_FOR_TARGET"; then
10564 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10567 for as_dir in $PATH
10570 test -z "$as_dir" && as_dir=.
10571 for ac_exec_ext in '' $ac_executable_extensions; do
10572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10573 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10583 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10584 if test -n "$GFORTRAN_FOR_TARGET"; then
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10586 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10589 $as_echo "no
" >&6; }
10594 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10598 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10600 if test $build = $target ; then
10601 GFORTRAN_FOR_TARGET="$2"
10603 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10606 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10611 if test -n "$GOC_FOR_TARGET"; then
10612 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10613 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10614 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10617 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10618 for ncn_progname in gccgo; do
10619 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10620 set dummy ${ncn_progname}; ac_word=$2
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10622 $as_echo_n "checking
for $ac_word...
" >&6; }
10623 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10624 $as_echo_n "(cached
) " >&6
10626 if test -n "$GOC_FOR_TARGET"; then
10627 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10630 for as_dir in $PATH
10633 test -z "$as_dir" && as_dir=.
10634 for ac_exec_ext in '' $ac_executable_extensions; do
10635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10636 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10637 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10646 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10647 if test -n "$GOC_FOR_TARGET"; then
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10649 $as_echo "$GOC_FOR_TARGET" >&6; }
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10652 $as_echo "no
" >&6; }
10659 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10660 for ncn_progname in gccgo; do
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10662 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10663 if test -x $with_build_time_tools/${ncn_progname}; then
10664 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10666 $as_echo "yes" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10670 $as_echo "no
" >&6; }
10675 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10676 for ncn_progname in gccgo; do
10677 if test -n "$ncn_target_tool_prefix"; then
10678 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10679 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10681 $as_echo_n "checking
for $ac_word...
" >&6; }
10682 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10683 $as_echo_n "(cached
) " >&6
10685 if test -n "$GOC_FOR_TARGET"; then
10686 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10689 for as_dir in $PATH
10692 test -z "$as_dir" && as_dir=.
10693 for ac_exec_ext in '' $ac_executable_extensions; do
10694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10695 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10696 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10705 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10706 if test -n "$GOC_FOR_TARGET"; then
10707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10708 $as_echo "$GOC_FOR_TARGET" >&6; }
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10711 $as_echo "no
" >&6; }
10716 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10717 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10718 set dummy ${ncn_progname}; ac_word=$2
10719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10720 $as_echo_n "checking
for $ac_word...
" >&6; }
10721 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10722 $as_echo_n "(cached
) " >&6
10724 if test -n "$GOC_FOR_TARGET"; then
10725 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10728 for as_dir in $PATH
10731 test -z "$as_dir" && as_dir=.
10732 for ac_exec_ext in '' $ac_executable_extensions; do
10733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10734 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10735 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10744 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10745 if test -n "$GOC_FOR_TARGET"; then
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10747 $as_echo "$GOC_FOR_TARGET" >&6; }
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10750 $as_echo "no
" >&6; }
10755 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10759 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10761 if test $build = $target ; then
10762 GOC_FOR_TARGET="$2"
10764 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10767 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10772 cat > conftest.c << \EOF
10777 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10778 have_gcc_for_target=yes
10780 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10781 have_gcc_for_target=no
10788 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10789 if test -n "$with_build_time_tools"; then
10790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10791 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10792 if test -x $with_build_time_tools/ar; then
10793 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10794 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10796 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10799 $as_echo "no
" >&6; }
10801 elif test $build != $host && test $have_gcc_for_target = yes; then
10802 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10803 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10804 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10807 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10808 # Extract the first word of "ar", so it can be a program name with args.
10809 set dummy ar; ac_word=$2
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10811 $as_echo_n "checking
for $ac_word...
" >&6; }
10812 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10813 $as_echo_n "(cached
) " >&6
10815 case $AR_FOR_TARGET in
10817 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10821 for as_dir in $gcc_cv_tool_dirs
10824 test -z "$as_dir" && as_dir=.
10825 for ac_exec_ext in '' $ac_executable_extensions; do
10826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10827 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10838 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10839 if test -n "$AR_FOR_TARGET"; then
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10841 $as_echo "$AR_FOR_TARGET" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10844 $as_echo "no
" >&6; }
10849 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10852 if test -n "$AR_FOR_TARGET"; then
10853 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10854 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10855 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10858 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10859 for ncn_progname in ar; do
10860 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10861 set dummy ${ncn_progname}; ac_word=$2
10862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10863 $as_echo_n "checking
for $ac_word...
" >&6; }
10864 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10865 $as_echo_n "(cached
) " >&6
10867 if test -n "$AR_FOR_TARGET"; then
10868 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10871 for as_dir in $PATH
10874 test -z "$as_dir" && as_dir=.
10875 for ac_exec_ext in '' $ac_executable_extensions; do
10876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10877 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10878 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10887 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10888 if test -n "$AR_FOR_TARGET"; then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10890 $as_echo "$AR_FOR_TARGET" >&6; }
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10893 $as_echo "no
" >&6; }
10900 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10901 for ncn_progname in ar; do
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10903 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10904 if test -x $with_build_time_tools/${ncn_progname}; then
10905 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10907 $as_echo "yes" >&6; }
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10911 $as_echo "no
" >&6; }
10916 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10917 for ncn_progname in ar; do
10918 if test -n "$ncn_target_tool_prefix"; then
10919 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10920 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10922 $as_echo_n "checking
for $ac_word...
" >&6; }
10923 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10924 $as_echo_n "(cached
) " >&6
10926 if test -n "$AR_FOR_TARGET"; then
10927 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10930 for as_dir in $PATH
10933 test -z "$as_dir" && as_dir=.
10934 for ac_exec_ext in '' $ac_executable_extensions; do
10935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10936 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10937 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10946 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10947 if test -n "$AR_FOR_TARGET"; then
10948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10949 $as_echo "$AR_FOR_TARGET" >&6; }
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10952 $as_echo "no
" >&6; }
10957 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10958 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10959 set dummy ${ncn_progname}; ac_word=$2
10960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10961 $as_echo_n "checking
for $ac_word...
" >&6; }
10962 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10963 $as_echo_n "(cached
) " >&6
10965 if test -n "$AR_FOR_TARGET"; then
10966 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10969 for as_dir in $PATH
10972 test -z "$as_dir" && as_dir=.
10973 for ac_exec_ext in '' $ac_executable_extensions; do
10974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10975 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10985 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10986 if test -n "$AR_FOR_TARGET"; then
10987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10988 $as_echo "$AR_FOR_TARGET" >&6; }
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10991 $as_echo "no
" >&6; }
10996 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11000 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11002 if test $build = $target ; then
11005 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11008 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11012 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11018 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11019 if test -n "$with_build_time_tools"; then
11020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11021 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11022 if test -x $with_build_time_tools/as; then
11023 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11024 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11026 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11029 $as_echo "no
" >&6; }
11031 elif test $build != $host && test $have_gcc_for_target = yes; then
11032 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11033 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11034 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11037 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11038 # Extract the first word of "as
", so it can be a program name with args.
11039 set dummy as; ac_word=$2
11040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11041 $as_echo_n "checking
for $ac_word...
" >&6; }
11042 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11043 $as_echo_n "(cached
) " >&6
11045 case $AS_FOR_TARGET in
11047 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11051 for as_dir in $gcc_cv_tool_dirs
11054 test -z "$as_dir" && as_dir=.
11055 for ac_exec_ext in '' $ac_executable_extensions; do
11056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11057 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11068 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11069 if test -n "$AS_FOR_TARGET"; then
11070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11071 $as_echo "$AS_FOR_TARGET" >&6; }
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11074 $as_echo "no
" >&6; }
11079 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11082 if test -n "$AS_FOR_TARGET"; then
11083 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11084 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11085 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11088 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11089 for ncn_progname in as; do
11090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11091 set dummy ${ncn_progname}; ac_word=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11093 $as_echo_n "checking
for $ac_word...
" >&6; }
11094 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11095 $as_echo_n "(cached
) " >&6
11097 if test -n "$AS_FOR_TARGET"; then
11098 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11101 for as_dir in $PATH
11104 test -z "$as_dir" && as_dir=.
11105 for ac_exec_ext in '' $ac_executable_extensions; do
11106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11107 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11117 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11118 if test -n "$AS_FOR_TARGET"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11120 $as_echo "$AS_FOR_TARGET" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11123 $as_echo "no
" >&6; }
11130 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11131 for ncn_progname in as; do
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11133 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11134 if test -x $with_build_time_tools/${ncn_progname}; then
11135 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11137 $as_echo "yes" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11141 $as_echo "no
" >&6; }
11146 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11147 for ncn_progname in as; do
11148 if test -n "$ncn_target_tool_prefix"; then
11149 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11150 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11152 $as_echo_n "checking
for $ac_word...
" >&6; }
11153 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11154 $as_echo_n "(cached
) " >&6
11156 if test -n "$AS_FOR_TARGET"; then
11157 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11160 for as_dir in $PATH
11163 test -z "$as_dir" && as_dir=.
11164 for ac_exec_ext in '' $ac_executable_extensions; do
11165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11166 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11167 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11176 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11177 if test -n "$AS_FOR_TARGET"; then
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11179 $as_echo "$AS_FOR_TARGET" >&6; }
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11182 $as_echo "no
" >&6; }
11187 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11188 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11189 set dummy ${ncn_progname}; ac_word=$2
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11191 $as_echo_n "checking
for $ac_word...
" >&6; }
11192 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11193 $as_echo_n "(cached
) " >&6
11195 if test -n "$AS_FOR_TARGET"; then
11196 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11199 for as_dir in $PATH
11202 test -z "$as_dir" && as_dir=.
11203 for ac_exec_ext in '' $ac_executable_extensions; do
11204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11205 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11215 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11216 if test -n "$AS_FOR_TARGET"; then
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11218 $as_echo "$AS_FOR_TARGET" >&6; }
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11221 $as_echo "no
" >&6; }
11226 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11230 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11232 if test $build = $target ; then
11235 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11238 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11242 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11248 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11249 if test -n "$with_build_time_tools"; then
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11251 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11252 if test -x $with_build_time_tools/dlltool; then
11253 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11254 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11256 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11259 $as_echo "no
" >&6; }
11261 elif test $build != $host && test $have_gcc_for_target = yes; then
11262 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11263 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11264 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11267 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11268 # Extract the first word of "dlltool
", so it can be a program name with args.
11269 set dummy dlltool; ac_word=$2
11270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11271 $as_echo_n "checking
for $ac_word...
" >&6; }
11272 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11273 $as_echo_n "(cached
) " >&6
11275 case $DLLTOOL_FOR_TARGET in
11277 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11281 for as_dir in $gcc_cv_tool_dirs
11284 test -z "$as_dir" && as_dir=.
11285 for ac_exec_ext in '' $ac_executable_extensions; do
11286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11287 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11298 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11299 if test -n "$DLLTOOL_FOR_TARGET"; then
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11301 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11304 $as_echo "no
" >&6; }
11309 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11312 if test -n "$DLLTOOL_FOR_TARGET"; then
11313 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11314 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11315 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11318 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11319 for ncn_progname in dlltool; do
11320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11321 set dummy ${ncn_progname}; ac_word=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11323 $as_echo_n "checking
for $ac_word...
" >&6; }
11324 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11325 $as_echo_n "(cached
) " >&6
11327 if test -n "$DLLTOOL_FOR_TARGET"; then
11328 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH
11334 test -z "$as_dir" && as_dir=.
11335 for ac_exec_ext in '' $ac_executable_extensions; do
11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11337 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11347 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11348 if test -n "$DLLTOOL_FOR_TARGET"; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11350 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11353 $as_echo "no
" >&6; }
11360 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11361 for ncn_progname in dlltool; do
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11363 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11364 if test -x $with_build_time_tools/${ncn_progname}; then
11365 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11367 $as_echo "yes" >&6; }
11370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11371 $as_echo "no
" >&6; }
11376 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11377 for ncn_progname in dlltool; do
11378 if test -n "$ncn_target_tool_prefix"; then
11379 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11380 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11382 $as_echo_n "checking
for $ac_word...
" >&6; }
11383 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11384 $as_echo_n "(cached
) " >&6
11386 if test -n "$DLLTOOL_FOR_TARGET"; then
11387 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11390 for as_dir in $PATH
11393 test -z "$as_dir" && as_dir=.
11394 for ac_exec_ext in '' $ac_executable_extensions; do
11395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11396 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11397 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11406 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11407 if test -n "$DLLTOOL_FOR_TARGET"; then
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11409 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11412 $as_echo "no
" >&6; }
11417 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11418 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11419 set dummy ${ncn_progname}; ac_word=$2
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11421 $as_echo_n "checking
for $ac_word...
" >&6; }
11422 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11423 $as_echo_n "(cached
) " >&6
11425 if test -n "$DLLTOOL_FOR_TARGET"; then
11426 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11429 for as_dir in $PATH
11432 test -z "$as_dir" && as_dir=.
11433 for ac_exec_ext in '' $ac_executable_extensions; do
11434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11435 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11436 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11445 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11446 if test -n "$DLLTOOL_FOR_TARGET"; then
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11448 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11451 $as_echo "no
" >&6; }
11456 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11460 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11462 if test $build = $target ; then
11463 DLLTOOL_FOR_TARGET="$2"
11465 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11468 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11472 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11478 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11479 if test -n "$with_build_time_tools"; then
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11481 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11482 if test -x $with_build_time_tools/ld; then
11483 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11484 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11486 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11489 $as_echo "no
" >&6; }
11491 elif test $build != $host && test $have_gcc_for_target = yes; then
11492 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11493 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11494 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11497 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11498 # Extract the first word of "ld
", so it can be a program name with args.
11499 set dummy ld; ac_word=$2
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11501 $as_echo_n "checking
for $ac_word...
" >&6; }
11502 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11503 $as_echo_n "(cached
) " >&6
11505 case $LD_FOR_TARGET in
11507 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11511 for as_dir in $gcc_cv_tool_dirs
11514 test -z "$as_dir" && as_dir=.
11515 for ac_exec_ext in '' $ac_executable_extensions; do
11516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11517 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11518 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11528 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11529 if test -n "$LD_FOR_TARGET"; then
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11531 $as_echo "$LD_FOR_TARGET" >&6; }
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11534 $as_echo "no
" >&6; }
11539 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11542 if test -n "$LD_FOR_TARGET"; then
11543 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11544 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11545 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11548 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11549 for ncn_progname in ld; do
11550 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11551 set dummy ${ncn_progname}; ac_word=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11553 $as_echo_n "checking
for $ac_word...
" >&6; }
11554 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11555 $as_echo_n "(cached
) " >&6
11557 if test -n "$LD_FOR_TARGET"; then
11558 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11567 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11577 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11578 if test -n "$LD_FOR_TARGET"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11580 $as_echo "$LD_FOR_TARGET" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11583 $as_echo "no
" >&6; }
11590 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11591 for ncn_progname in ld; do
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11593 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11594 if test -x $with_build_time_tools/${ncn_progname}; then
11595 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11597 $as_echo "yes" >&6; }
11600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11601 $as_echo "no
" >&6; }
11606 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11607 for ncn_progname in ld; do
11608 if test -n "$ncn_target_tool_prefix"; then
11609 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11610 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11612 $as_echo_n "checking
for $ac_word...
" >&6; }
11613 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11614 $as_echo_n "(cached
) " >&6
11616 if test -n "$LD_FOR_TARGET"; then
11617 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11620 for as_dir in $PATH
11623 test -z "$as_dir" && as_dir=.
11624 for ac_exec_ext in '' $ac_executable_extensions; do
11625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11626 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11627 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11636 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11637 if test -n "$LD_FOR_TARGET"; then
11638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11639 $as_echo "$LD_FOR_TARGET" >&6; }
11641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11642 $as_echo "no
" >&6; }
11647 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11649 set dummy ${ncn_progname}; ac_word=$2
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11651 $as_echo_n "checking
for $ac_word...
" >&6; }
11652 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11653 $as_echo_n "(cached
) " >&6
11655 if test -n "$LD_FOR_TARGET"; then
11656 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659 for as_dir in $PATH
11662 test -z "$as_dir" && as_dir=.
11663 for ac_exec_ext in '' $ac_executable_extensions; do
11664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11666 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11675 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11676 if test -n "$LD_FOR_TARGET"; then
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11678 $as_echo "$LD_FOR_TARGET" >&6; }
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11681 $as_echo "no
" >&6; }
11686 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11690 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11692 if test $build = $target ; then
11695 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11698 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11702 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11708 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11709 if test -n "$with_build_time_tools"; then
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11711 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11712 if test -x $with_build_time_tools/lipo; then
11713 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11714 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11716 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11719 $as_echo "no
" >&6; }
11721 elif test $build != $host && test $have_gcc_for_target = yes; then
11722 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11723 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11724 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11727 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11728 # Extract the first word of "lipo
", so it can be a program name with args.
11729 set dummy lipo; ac_word=$2
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11731 $as_echo_n "checking
for $ac_word...
" >&6; }
11732 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11733 $as_echo_n "(cached
) " >&6
11735 case $LIPO_FOR_TARGET in
11737 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11741 for as_dir in $gcc_cv_tool_dirs
11744 test -z "$as_dir" && as_dir=.
11745 for ac_exec_ext in '' $ac_executable_extensions; do
11746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11747 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11748 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11758 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11759 if test -n "$LIPO_FOR_TARGET"; then
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11761 $as_echo "$LIPO_FOR_TARGET" >&6; }
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11764 $as_echo "no
" >&6; }
11769 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11772 if test -n "$LIPO_FOR_TARGET"; then
11773 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11774 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11775 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11778 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11779 for ncn_progname in lipo; do
11780 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11781 set dummy ${ncn_progname}; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11783 $as_echo_n "checking
for $ac_word...
" >&6; }
11784 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11785 $as_echo_n "(cached
) " >&6
11787 if test -n "$LIPO_FOR_TARGET"; then
11788 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11807 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11808 if test -n "$LIPO_FOR_TARGET"; then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11810 $as_echo "$LIPO_FOR_TARGET" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11813 $as_echo "no
" >&6; }
11820 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11821 for ncn_progname in lipo; do
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11823 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11824 if test -x $with_build_time_tools/${ncn_progname}; then
11825 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11827 $as_echo "yes" >&6; }
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11831 $as_echo "no
" >&6; }
11836 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11837 for ncn_progname in lipo; do
11838 if test -n "$ncn_target_tool_prefix"; then
11839 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11840 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11842 $as_echo_n "checking
for $ac_word...
" >&6; }
11843 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11844 $as_echo_n "(cached
) " >&6
11846 if test -n "$LIPO_FOR_TARGET"; then
11847 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11850 for as_dir in $PATH
11853 test -z "$as_dir" && as_dir=.
11854 for ac_exec_ext in '' $ac_executable_extensions; do
11855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11856 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11857 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11866 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11867 if test -n "$LIPO_FOR_TARGET"; then
11868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11869 $as_echo "$LIPO_FOR_TARGET" >&6; }
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11872 $as_echo "no
" >&6; }
11877 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11878 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11879 set dummy ${ncn_progname}; ac_word=$2
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11881 $as_echo_n "checking
for $ac_word...
" >&6; }
11882 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11883 $as_echo_n "(cached
) " >&6
11885 if test -n "$LIPO_FOR_TARGET"; then
11886 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11889 for as_dir in $PATH
11892 test -z "$as_dir" && as_dir=.
11893 for ac_exec_ext in '' $ac_executable_extensions; do
11894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11895 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11896 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11905 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11906 if test -n "$LIPO_FOR_TARGET"; then
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11908 $as_echo "$LIPO_FOR_TARGET" >&6; }
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11911 $as_echo "no
" >&6; }
11916 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11920 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11922 if test $build = $target ; then
11923 LIPO_FOR_TARGET="$2"
11925 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11928 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11932 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11938 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11939 if test -n "$with_build_time_tools"; then
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11941 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11942 if test -x $with_build_time_tools/nm; then
11943 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11944 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11946 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11949 $as_echo "no
" >&6; }
11951 elif test $build != $host && test $have_gcc_for_target = yes; then
11952 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11953 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11954 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11957 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11958 # Extract the first word of "nm
", so it can be a program name with args.
11959 set dummy nm; ac_word=$2
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11961 $as_echo_n "checking
for $ac_word...
" >&6; }
11962 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11963 $as_echo_n "(cached
) " >&6
11965 case $NM_FOR_TARGET in
11967 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11971 for as_dir in $gcc_cv_tool_dirs
11974 test -z "$as_dir" && as_dir=.
11975 for ac_exec_ext in '' $ac_executable_extensions; do
11976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11977 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11978 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11988 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11989 if test -n "$NM_FOR_TARGET"; then
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11991 $as_echo "$NM_FOR_TARGET" >&6; }
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11994 $as_echo "no
" >&6; }
11999 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12002 if test -n "$NM_FOR_TARGET"; then
12003 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12004 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12005 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12008 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12009 for ncn_progname in nm; do
12010 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12011 set dummy ${ncn_progname}; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12013 $as_echo_n "checking
for $ac_word...
" >&6; }
12014 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12015 $as_echo_n "(cached
) " >&6
12017 if test -n "$NM_FOR_TARGET"; then
12018 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12037 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12038 if test -n "$NM_FOR_TARGET"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12040 $as_echo "$NM_FOR_TARGET" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12043 $as_echo "no
" >&6; }
12050 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12051 for ncn_progname in nm; do
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12053 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12054 if test -x $with_build_time_tools/${ncn_progname}; then
12055 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12057 $as_echo "yes" >&6; }
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12061 $as_echo "no
" >&6; }
12066 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12067 for ncn_progname in nm; do
12068 if test -n "$ncn_target_tool_prefix"; then
12069 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12070 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12072 $as_echo_n "checking
for $ac_word...
" >&6; }
12073 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12074 $as_echo_n "(cached
) " >&6
12076 if test -n "$NM_FOR_TARGET"; then
12077 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12080 for as_dir in $PATH
12083 test -z "$as_dir" && as_dir=.
12084 for ac_exec_ext in '' $ac_executable_extensions; do
12085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12086 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12087 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12096 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12097 if test -n "$NM_FOR_TARGET"; then
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12099 $as_echo "$NM_FOR_TARGET" >&6; }
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12102 $as_echo "no
" >&6; }
12107 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12108 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12109 set dummy ${ncn_progname}; ac_word=$2
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12111 $as_echo_n "checking
for $ac_word...
" >&6; }
12112 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12113 $as_echo_n "(cached
) " >&6
12115 if test -n "$NM_FOR_TARGET"; then
12116 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12119 for as_dir in $PATH
12122 test -z "$as_dir" && as_dir=.
12123 for ac_exec_ext in '' $ac_executable_extensions; do
12124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12125 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12126 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12135 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12136 if test -n "$NM_FOR_TARGET"; then
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12138 $as_echo "$NM_FOR_TARGET" >&6; }
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12141 $as_echo "no
" >&6; }
12146 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12150 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12152 if test $build = $target ; then
12155 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12158 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12162 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12168 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12169 if test -n "$with_build_time_tools"; then
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12171 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12172 if test -x $with_build_time_tools/objdump; then
12173 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12174 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12176 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12179 $as_echo "no
" >&6; }
12181 elif test $build != $host && test $have_gcc_for_target = yes; then
12182 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12183 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12184 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12187 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12188 # Extract the first word of "objdump
", so it can be a program name with args.
12189 set dummy objdump; ac_word=$2
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12191 $as_echo_n "checking
for $ac_word...
" >&6; }
12192 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12193 $as_echo_n "(cached
) " >&6
12195 case $OBJDUMP_FOR_TARGET in
12197 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $gcc_cv_tool_dirs
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12207 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12208 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12218 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12219 if test -n "$OBJDUMP_FOR_TARGET"; then
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12221 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12224 $as_echo "no
" >&6; }
12229 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12232 if test -n "$OBJDUMP_FOR_TARGET"; then
12233 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12234 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12235 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12238 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12239 for ncn_progname in objdump; do
12240 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12241 set dummy ${ncn_progname}; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12243 $as_echo_n "checking
for $ac_word...
" >&6; }
12244 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12245 $as_echo_n "(cached
) " >&6
12247 if test -n "$OBJDUMP_FOR_TARGET"; then
12248 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12251 for as_dir in $PATH
12254 test -z "$as_dir" && as_dir=.
12255 for ac_exec_ext in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12267 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12268 if test -n "$OBJDUMP_FOR_TARGET"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12270 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12273 $as_echo "no
" >&6; }
12280 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12281 for ncn_progname in objdump; do
12282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12283 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12284 if test -x $with_build_time_tools/${ncn_progname}; then
12285 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12287 $as_echo "yes" >&6; }
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12291 $as_echo "no
" >&6; }
12296 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12297 for ncn_progname in objdump; do
12298 if test -n "$ncn_target_tool_prefix"; then
12299 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12300 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12302 $as_echo_n "checking
for $ac_word...
" >&6; }
12303 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12304 $as_echo_n "(cached
) " >&6
12306 if test -n "$OBJDUMP_FOR_TARGET"; then
12307 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12310 for as_dir in $PATH
12313 test -z "$as_dir" && as_dir=.
12314 for ac_exec_ext in '' $ac_executable_extensions; do
12315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12316 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12326 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12327 if test -n "$OBJDUMP_FOR_TARGET"; then
12328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12329 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12332 $as_echo "no
" >&6; }
12337 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12338 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12339 set dummy ${ncn_progname}; ac_word=$2
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12341 $as_echo_n "checking
for $ac_word...
" >&6; }
12342 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12343 $as_echo_n "(cached
) " >&6
12345 if test -n "$OBJDUMP_FOR_TARGET"; then
12346 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12349 for as_dir in $PATH
12352 test -z "$as_dir" && as_dir=.
12353 for ac_exec_ext in '' $ac_executable_extensions; do
12354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12355 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12356 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12365 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12366 if test -n "$OBJDUMP_FOR_TARGET"; then
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12368 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12371 $as_echo "no
" >&6; }
12376 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12380 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12382 if test $build = $target ; then
12383 OBJDUMP_FOR_TARGET="$2"
12385 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12388 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12392 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12398 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12399 if test -n "$with_build_time_tools"; then
12400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12401 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12402 if test -x $with_build_time_tools/ranlib; then
12403 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12404 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12406 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12409 $as_echo "no
" >&6; }
12411 elif test $build != $host && test $have_gcc_for_target = yes; then
12412 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12413 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12414 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12417 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12418 # Extract the first word of "ranlib
", so it can be a program name with args.
12419 set dummy ranlib; ac_word=$2
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12421 $as_echo_n "checking
for $ac_word...
" >&6; }
12422 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12423 $as_echo_n "(cached
) " >&6
12425 case $RANLIB_FOR_TARGET in
12427 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12431 for as_dir in $gcc_cv_tool_dirs
12434 test -z "$as_dir" && as_dir=.
12435 for ac_exec_ext in '' $ac_executable_extensions; do
12436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12437 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12438 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12448 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12449 if test -n "$RANLIB_FOR_TARGET"; then
12450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12451 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12454 $as_echo "no
" >&6; }
12459 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12462 if test -n "$RANLIB_FOR_TARGET"; then
12463 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12464 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12465 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12468 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12469 for ncn_progname in ranlib; do
12470 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12471 set dummy ${ncn_progname}; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12473 $as_echo_n "checking
for $ac_word...
" >&6; }
12474 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12475 $as_echo_n "(cached
) " >&6
12477 if test -n "$RANLIB_FOR_TARGET"; then
12478 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12497 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12498 if test -n "$RANLIB_FOR_TARGET"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12500 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12503 $as_echo "no
" >&6; }
12510 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12511 for ncn_progname in ranlib; do
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12513 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12514 if test -x $with_build_time_tools/${ncn_progname}; then
12515 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12517 $as_echo "yes" >&6; }
12520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12521 $as_echo "no
" >&6; }
12526 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12527 for ncn_progname in ranlib; do
12528 if test -n "$ncn_target_tool_prefix"; then
12529 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12530 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12532 $as_echo_n "checking
for $ac_word...
" >&6; }
12533 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12534 $as_echo_n "(cached
) " >&6
12536 if test -n "$RANLIB_FOR_TARGET"; then
12537 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12540 for as_dir in $PATH
12543 test -z "$as_dir" && as_dir=.
12544 for ac_exec_ext in '' $ac_executable_extensions; do
12545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12546 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12556 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12557 if test -n "$RANLIB_FOR_TARGET"; then
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12559 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12562 $as_echo "no
" >&6; }
12567 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12568 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12569 set dummy ${ncn_progname}; ac_word=$2
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12571 $as_echo_n "checking
for $ac_word...
" >&6; }
12572 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12573 $as_echo_n "(cached
) " >&6
12575 if test -n "$RANLIB_FOR_TARGET"; then
12576 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12579 for as_dir in $PATH
12582 test -z "$as_dir" && as_dir=.
12583 for ac_exec_ext in '' $ac_executable_extensions; do
12584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12585 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12595 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12596 if test -n "$RANLIB_FOR_TARGET"; then
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12598 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12601 $as_echo "no
" >&6; }
12606 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12610 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12612 if test $build = $target ; then
12613 RANLIB_FOR_TARGET="$2"
12615 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12618 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12622 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12628 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12629 if test -n "$with_build_time_tools"; then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12631 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12632 if test -x $with_build_time_tools/strip; then
12633 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12634 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12636 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12639 $as_echo "no
" >&6; }
12641 elif test $build != $host && test $have_gcc_for_target = yes; then
12642 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12643 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12644 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12647 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12648 # Extract the first word of "strip
", so it can be a program name with args.
12649 set dummy strip; ac_word=$2
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12651 $as_echo_n "checking
for $ac_word...
" >&6; }
12652 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12653 $as_echo_n "(cached
) " >&6
12655 case $STRIP_FOR_TARGET in
12657 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12661 for as_dir in $gcc_cv_tool_dirs
12664 test -z "$as_dir" && as_dir=.
12665 for ac_exec_ext in '' $ac_executable_extensions; do
12666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12667 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12678 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12679 if test -n "$STRIP_FOR_TARGET"; then
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12681 $as_echo "$STRIP_FOR_TARGET" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12684 $as_echo "no
" >&6; }
12689 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12692 if test -n "$STRIP_FOR_TARGET"; then
12693 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12694 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12695 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12698 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12699 for ncn_progname in strip; do
12700 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12701 set dummy ${ncn_progname}; ac_word=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12703 $as_echo_n "checking
for $ac_word...
" >&6; }
12704 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12705 $as_echo_n "(cached
) " >&6
12707 if test -n "$STRIP_FOR_TARGET"; then
12708 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12711 for as_dir in $PATH
12714 test -z "$as_dir" && as_dir=.
12715 for ac_exec_ext in '' $ac_executable_extensions; do
12716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12727 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12728 if test -n "$STRIP_FOR_TARGET"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12730 $as_echo "$STRIP_FOR_TARGET" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12733 $as_echo "no
" >&6; }
12740 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12741 for ncn_progname in strip; do
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12743 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12744 if test -x $with_build_time_tools/${ncn_progname}; then
12745 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12747 $as_echo "yes" >&6; }
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12751 $as_echo "no
" >&6; }
12756 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12757 for ncn_progname in strip; do
12758 if test -n "$ncn_target_tool_prefix"; then
12759 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12760 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12762 $as_echo_n "checking
for $ac_word...
" >&6; }
12763 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12764 $as_echo_n "(cached
) " >&6
12766 if test -n "$STRIP_FOR_TARGET"; then
12767 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12770 for as_dir in $PATH
12773 test -z "$as_dir" && as_dir=.
12774 for ac_exec_ext in '' $ac_executable_extensions; do
12775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12776 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12777 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12786 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12787 if test -n "$STRIP_FOR_TARGET"; then
12788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12789 $as_echo "$STRIP_FOR_TARGET" >&6; }
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12792 $as_echo "no
" >&6; }
12797 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
12798 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12799 set dummy ${ncn_progname}; ac_word=$2
12800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12801 $as_echo_n "checking
for $ac_word...
" >&6; }
12802 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12803 $as_echo_n "(cached
) " >&6
12805 if test -n "$STRIP_FOR_TARGET"; then
12806 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12809 for as_dir in $PATH
12812 test -z "$as_dir" && as_dir=.
12813 for ac_exec_ext in '' $ac_executable_extensions; do
12814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12815 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12816 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12825 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12826 if test -n "$STRIP_FOR_TARGET"; then
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12828 $as_echo "$STRIP_FOR_TARGET" >&6; }
12830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12831 $as_echo "no
" >&6; }
12836 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
12840 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12842 if test $build = $target ; then
12843 STRIP_FOR_TARGET="$2"
12845 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12848 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12852 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12858 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12859 if test -n "$with_build_time_tools"; then
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12861 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12862 if test -x $with_build_time_tools/windres; then
12863 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12864 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12866 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12869 $as_echo "no
" >&6; }
12871 elif test $build != $host && test $have_gcc_for_target = yes; then
12872 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12873 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12874 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12877 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12878 # Extract the first word of "windres
", so it can be a program name with args.
12879 set dummy windres; ac_word=$2
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12881 $as_echo_n "checking
for $ac_word...
" >&6; }
12882 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12883 $as_echo_n "(cached
) " >&6
12885 case $WINDRES_FOR_TARGET in
12887 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12891 for as_dir in $gcc_cv_tool_dirs
12894 test -z "$as_dir" && as_dir=.
12895 for ac_exec_ext in '' $ac_executable_extensions; do
12896 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12897 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12898 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12908 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12909 if test -n "$WINDRES_FOR_TARGET"; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12911 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12914 $as_echo "no
" >&6; }
12919 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12922 if test -n "$WINDRES_FOR_TARGET"; then
12923 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12924 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12925 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12928 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12929 for ncn_progname in windres; do
12930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12931 set dummy ${ncn_progname}; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12933 $as_echo_n "checking
for $ac_word...
" >&6; }
12934 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12935 $as_echo_n "(cached
) " >&6
12937 if test -n "$WINDRES_FOR_TARGET"; then
12938 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12957 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12958 if test -n "$WINDRES_FOR_TARGET"; then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12960 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12963 $as_echo "no
" >&6; }
12970 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12971 for ncn_progname in windres; do
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12973 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12974 if test -x $with_build_time_tools/${ncn_progname}; then
12975 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12977 $as_echo "yes" >&6; }
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12981 $as_echo "no
" >&6; }
12986 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12987 for ncn_progname in windres; do
12988 if test -n "$ncn_target_tool_prefix"; then
12989 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12990 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12992 $as_echo_n "checking
for $ac_word...
" >&6; }
12993 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12994 $as_echo_n "(cached
) " >&6
12996 if test -n "$WINDRES_FOR_TARGET"; then
12997 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13000 for as_dir in $PATH
13003 test -z "$as_dir" && as_dir=.
13004 for ac_exec_ext in '' $ac_executable_extensions; do
13005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13006 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13016 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13017 if test -n "$WINDRES_FOR_TARGET"; then
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13019 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13022 $as_echo "no
" >&6; }
13027 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13028 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13029 set dummy ${ncn_progname}; ac_word=$2
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13031 $as_echo_n "checking
for $ac_word...
" >&6; }
13032 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13033 $as_echo_n "(cached
) " >&6
13035 if test -n "$WINDRES_FOR_TARGET"; then
13036 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13039 for as_dir in $PATH
13042 test -z "$as_dir" && as_dir=.
13043 for ac_exec_ext in '' $ac_executable_extensions; do
13044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13045 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13046 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13055 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13056 if test -n "$WINDRES_FOR_TARGET"; then
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13058 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13061 $as_echo "no
" >&6; }
13066 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13070 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13072 if test $build = $target ; then
13073 WINDRES_FOR_TARGET="$2"
13075 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13078 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13082 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13088 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13089 if test -n "$with_build_time_tools"; then
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13091 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13092 if test -x $with_build_time_tools/windmc; then
13093 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13094 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13096 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13099 $as_echo "no
" >&6; }
13101 elif test $build != $host && test $have_gcc_for_target = yes; then
13102 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13103 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13104 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13107 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13108 # Extract the first word of "windmc
", so it can be a program name with args.
13109 set dummy windmc; ac_word=$2
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13111 $as_echo_n "checking
for $ac_word...
" >&6; }
13112 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13113 $as_echo_n "(cached
) " >&6
13115 case $WINDMC_FOR_TARGET in
13117 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121 for as_dir in $gcc_cv_tool_dirs
13124 test -z "$as_dir" && as_dir=.
13125 for ac_exec_ext in '' $ac_executable_extensions; do
13126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13127 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13128 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13138 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13139 if test -n "$WINDMC_FOR_TARGET"; then
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13141 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13144 $as_echo "no
" >&6; }
13149 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13152 if test -n "$WINDMC_FOR_TARGET"; then
13153 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13154 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13155 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13158 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13159 for ncn_progname in windmc; do
13160 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13161 set dummy ${ncn_progname}; ac_word=$2
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13163 $as_echo_n "checking
for $ac_word...
" >&6; }
13164 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13165 $as_echo_n "(cached
) " >&6
13167 if test -n "$WINDMC_FOR_TARGET"; then
13168 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13171 for as_dir in $PATH
13174 test -z "$as_dir" && as_dir=.
13175 for ac_exec_ext in '' $ac_executable_extensions; do
13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13177 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13187 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13188 if test -n "$WINDMC_FOR_TARGET"; then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13190 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13193 $as_echo "no
" >&6; }
13200 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13201 for ncn_progname in windmc; do
13202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13203 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13204 if test -x $with_build_time_tools/${ncn_progname}; then
13205 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13207 $as_echo "yes" >&6; }
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13211 $as_echo "no
" >&6; }
13216 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13217 for ncn_progname in windmc; do
13218 if test -n "$ncn_target_tool_prefix"; then
13219 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13220 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13222 $as_echo_n "checking
for $ac_word...
" >&6; }
13223 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13224 $as_echo_n "(cached
) " >&6
13226 if test -n "$WINDMC_FOR_TARGET"; then
13227 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13230 for as_dir in $PATH
13233 test -z "$as_dir" && as_dir=.
13234 for ac_exec_ext in '' $ac_executable_extensions; do
13235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13236 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13246 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13247 if test -n "$WINDMC_FOR_TARGET"; then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13249 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13252 $as_echo "no
" >&6; }
13257 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13258 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13259 set dummy ${ncn_progname}; ac_word=$2
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13261 $as_echo_n "checking
for $ac_word...
" >&6; }
13262 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13263 $as_echo_n "(cached
) " >&6
13265 if test -n "$WINDMC_FOR_TARGET"; then
13266 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13269 for as_dir in $PATH
13272 test -z "$as_dir" && as_dir=.
13273 for ac_exec_ext in '' $ac_executable_extensions; do
13274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13275 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13276 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13285 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13286 if test -n "$WINDMC_FOR_TARGET"; then
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13288 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13291 $as_echo "no
" >&6; }
13296 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13300 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13302 if test $build = $target ; then
13303 WINDMC_FOR_TARGET="$2"
13305 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13308 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13312 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13316 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13319 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13320 if test "x
${build}" != "x
${host}" ; then
13321 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13322 # We already found the complete path
13323 ac_dir=`dirname $AR_FOR_TARGET`
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13325 $as_echo "pre-installed
in $ac_dir" >&6; }
13327 # Canadian cross, just use what we found
13328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13329 $as_echo "pre-installed
" >&6; }
13333 case " ${configdirs} " in
13338 if test $ok = yes; then
13339 # An in-tree tool is available and we can use it
13340 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13342 $as_echo "just compiled
" >&6; }
13343 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13344 # We already found the complete path
13345 ac_dir=`dirname $AR_FOR_TARGET`
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13347 $as_echo "pre-installed
in $ac_dir" >&6; }
13348 elif test "x
$target" = "x
$host"; then
13349 # We can use an host tool
13350 AR_FOR_TARGET='$(AR)'
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13352 $as_echo "host tool
" >&6; }
13354 # We need a cross tool
13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13356 $as_echo "pre-installed
" >&6; }
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13361 $as_echo_n "checking where to
find the target as...
" >&6; }
13362 if test "x
${build}" != "x
${host}" ; then
13363 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13364 # We already found the complete path
13365 ac_dir=`dirname $AS_FOR_TARGET`
13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13367 $as_echo "pre-installed
in $ac_dir" >&6; }
13369 # Canadian cross, just use what we found
13370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13371 $as_echo "pre-installed
" >&6; }
13375 case " ${configdirs} " in
13380 if test $ok = yes; then
13381 # An in-tree tool is available and we can use it
13382 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13384 $as_echo "just compiled
" >&6; }
13385 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13386 # We already found the complete path
13387 ac_dir=`dirname $AS_FOR_TARGET`
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13389 $as_echo "pre-installed
in $ac_dir" >&6; }
13390 elif test "x
$target" = "x
$host"; then
13391 # We can use an host tool
13392 AS_FOR_TARGET='$(AS)'
13393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13394 $as_echo "host tool
" >&6; }
13396 # We need a cross tool
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13398 $as_echo "pre-installed
" >&6; }
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13403 $as_echo_n "checking where to
find the target cc...
" >&6; }
13404 if test "x
${build}" != "x
${host}" ; then
13405 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13406 # We already found the complete path
13407 ac_dir=`dirname $CC_FOR_TARGET`
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13409 $as_echo "pre-installed
in $ac_dir" >&6; }
13411 # Canadian cross, just use what we found
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13413 $as_echo "pre-installed
" >&6; }
13417 case " ${configdirs} " in
13422 if test $ok = yes; then
13423 # An in-tree tool is available and we can use it
13424 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13426 $as_echo "just compiled
" >&6; }
13427 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13428 # We already found the complete path
13429 ac_dir=`dirname $CC_FOR_TARGET`
13430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13431 $as_echo "pre-installed
in $ac_dir" >&6; }
13432 elif test "x
$target" = "x
$host"; then
13433 # We can use an host tool
13434 CC_FOR_TARGET='$(CC)'
13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13436 $as_echo "host tool
" >&6; }
13438 # We need a cross tool
13439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13440 $as_echo "pre-installed
" >&6; }
13444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13445 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13446 if test "x
${build}" != "x
${host}" ; then
13447 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13448 # We already found the complete path
13449 ac_dir=`dirname $CXX_FOR_TARGET`
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13451 $as_echo "pre-installed
in $ac_dir" >&6; }
13453 # Canadian cross, just use what we found
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13455 $as_echo "pre-installed
" >&6; }
13459 case " ${configdirs} " in
13463 case ,${enable_languages}, in
13467 if test $ok = yes; then
13468 # An in-tree tool is available and we can use it
13469 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -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'
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13471 $as_echo "just compiled
" >&6; }
13472 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13473 # We already found the complete path
13474 ac_dir=`dirname $CXX_FOR_TARGET`
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13476 $as_echo "pre-installed
in $ac_dir" >&6; }
13477 elif test "x
$target" = "x
$host"; then
13478 # We can use an host tool
13479 CXX_FOR_TARGET='$(CXX)'
13480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13481 $as_echo "host tool
" >&6; }
13483 # We need a cross tool
13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13485 $as_echo "pre-installed
" >&6; }
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13490 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13491 if test "x
${build}" != "x
${host}" ; then
13492 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13493 # We already found the complete path
13494 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13496 $as_echo "pre-installed
in $ac_dir" >&6; }
13498 # Canadian cross, just use what we found
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13500 $as_echo "pre-installed
" >&6; }
13504 case " ${configdirs} " in
13508 case ,${enable_languages}, in
13512 if test $ok = yes; then
13513 # An in-tree tool is available and we can use it
13514 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'
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13516 $as_echo "just compiled
" >&6; }
13517 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13518 # We already found the complete path
13519 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13521 $as_echo "pre-installed
in $ac_dir" >&6; }
13522 elif test "x
$target" = "x
$host"; then
13523 # We can use an host tool
13524 RAW_CXX_FOR_TARGET='$(CXX)'
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13526 $as_echo "host tool
" >&6; }
13528 # We need a cross tool
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13530 $as_echo "pre-installed
" >&6; }
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13535 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13536 if test "x
${build}" != "x
${host}" ; then
13537 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13538 # We already found the complete path
13539 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13540 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13541 $as_echo "pre-installed
in $ac_dir" >&6; }
13543 # Canadian cross, just use what we found
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13545 $as_echo "pre-installed
" >&6; }
13549 case " ${configdirs} " in
13554 if test $ok = yes; then
13555 # An in-tree tool is available and we can use it
13556 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13558 $as_echo "just compiled
" >&6; }
13559 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13560 # We already found the complete path
13561 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13563 $as_echo "pre-installed
in $ac_dir" >&6; }
13564 elif test "x
$target" = "x
$host"; then
13565 # We can use an host tool
13566 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13567 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13568 $as_echo "host tool
" >&6; }
13570 # We need a cross tool
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13572 $as_echo "pre-installed
" >&6; }
13576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13577 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13578 if test "x
${build}" != "x
${host}" ; then
13579 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13580 # We already found the complete path
13581 ac_dir=`dirname $GCC_FOR_TARGET`
13582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13583 $as_echo "pre-installed
in $ac_dir" >&6; }
13585 # Canadian cross, just use what we found
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13587 $as_echo "pre-installed
" >&6; }
13591 case " ${configdirs} " in
13596 if test $ok = yes; then
13597 # An in-tree tool is available and we can use it
13598 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13600 $as_echo "just compiled
" >&6; }
13601 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13602 # We already found the complete path
13603 ac_dir=`dirname $GCC_FOR_TARGET`
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13605 $as_echo "pre-installed
in $ac_dir" >&6; }
13606 elif test "x
$target" = "x
$host"; then
13607 # We can use an host tool
13608 GCC_FOR_TARGET='$()'
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13610 $as_echo "host tool
" >&6; }
13612 # We need a cross tool
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13614 $as_echo "pre-installed
" >&6; }
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13619 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13620 if test "x
${build}" != "x
${host}" ; then
13621 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13622 # We already found the complete path
13623 ac_dir=`dirname $GCJ_FOR_TARGET`
13624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13625 $as_echo "pre-installed
in $ac_dir" >&6; }
13627 # Canadian cross, just use what we found
13628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13629 $as_echo "pre-installed
" >&6; }
13633 case " ${configdirs} " in
13637 case ,${enable_languages}, in
13641 if test $ok = yes; then
13642 # An in-tree tool is available and we can use it
13643 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13645 $as_echo "just compiled
" >&6; }
13646 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13647 # We already found the complete path
13648 ac_dir=`dirname $GCJ_FOR_TARGET`
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13650 $as_echo "pre-installed
in $ac_dir" >&6; }
13651 elif test "x
$target" = "x
$host"; then
13652 # We can use an host tool
13653 GCJ_FOR_TARGET='$(GCJ)'
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13655 $as_echo "host tool
" >&6; }
13657 # We need a cross tool
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13659 $as_echo "pre-installed
" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13664 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13665 if test "x
${build}" != "x
${host}" ; then
13666 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13667 # We already found the complete path
13668 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13670 $as_echo "pre-installed
in $ac_dir" >&6; }
13672 # Canadian cross, just use what we found
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13674 $as_echo "pre-installed
" >&6; }
13678 case " ${configdirs} " in
13682 case ,${enable_languages}, in
13686 if test $ok = yes; then
13687 # An in-tree tool is available and we can use it
13688 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13690 $as_echo "just compiled
" >&6; }
13691 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13692 # We already found the complete path
13693 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13695 $as_echo "pre-installed
in $ac_dir" >&6; }
13696 elif test "x
$target" = "x
$host"; then
13697 # We can use an host tool
13698 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13700 $as_echo "host tool
" >&6; }
13702 # We need a cross tool
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13704 $as_echo "pre-installed
" >&6; }
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13709 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13710 if test "x
${build}" != "x
${host}" ; then
13711 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13712 # We already found the complete path
13713 ac_dir=`dirname $GOC_FOR_TARGET`
13714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13715 $as_echo "pre-installed
in $ac_dir" >&6; }
13717 # Canadian cross, just use what we found
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13719 $as_echo "pre-installed
" >&6; }
13723 case " ${configdirs} " in
13727 case ,${enable_languages}, in
13731 if test $ok = yes; then
13732 # An in-tree tool is available and we can use it
13733 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13735 $as_echo "just compiled
" >&6; }
13736 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13737 # We already found the complete path
13738 ac_dir=`dirname $GOC_FOR_TARGET`
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13740 $as_echo "pre-installed
in $ac_dir" >&6; }
13741 elif test "x
$target" = "x
$host"; then
13742 # We can use an host tool
13743 GOC_FOR_TARGET='$(GOC)'
13744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13745 $as_echo "host tool
" >&6; }
13747 # We need a cross tool
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13749 $as_echo "pre-installed
" >&6; }
13753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13754 $as_echo_n "checking where to
find the target ld...
" >&6; }
13755 if test "x
${build}" != "x
${host}" ; then
13756 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13757 # We already found the complete path
13758 ac_dir=`dirname $LD_FOR_TARGET`
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13760 $as_echo "pre-installed
in $ac_dir" >&6; }
13762 # Canadian cross, just use what we found
13763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13764 $as_echo "pre-installed
" >&6; }
13768 case " ${configdirs} " in
13773 if test $ok = yes; then
13774 # An in-tree tool is available and we can use it
13775 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13777 $as_echo "just compiled
" >&6; }
13778 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13779 # We already found the complete path
13780 ac_dir=`dirname $LD_FOR_TARGET`
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13782 $as_echo "pre-installed
in $ac_dir" >&6; }
13783 elif test "x
$target" = "x
$host"; then
13784 # We can use an host tool
13785 LD_FOR_TARGET='$(LD)'
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13787 $as_echo "host tool
" >&6; }
13789 # We need a cross tool
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13791 $as_echo "pre-installed
" >&6; }
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13796 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13797 if test "x
${build}" != "x
${host}" ; then
13798 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13799 # We already found the complete path
13800 ac_dir=`dirname $LIPO_FOR_TARGET`
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13802 $as_echo "pre-installed
in $ac_dir" >&6; }
13804 # Canadian cross, just use what we found
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13806 $as_echo "pre-installed
" >&6; }
13809 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
13810 # We already found the complete path
13811 ac_dir=`dirname $LIPO_FOR_TARGET`
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13813 $as_echo "pre-installed
in $ac_dir" >&6; }
13814 elif test "x
$target" = "x
$host"; then
13815 # We can use an host tool
13816 LIPO_FOR_TARGET='$(LIPO)'
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13818 $as_echo "host tool
" >&6; }
13820 # We need a cross tool
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13822 $as_echo "pre-installed
" >&6; }
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
13827 $as_echo_n "checking where to
find the target nm...
" >&6; }
13828 if test "x
${build}" != "x
${host}" ; then
13829 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13830 # We already found the complete path
13831 ac_dir=`dirname $NM_FOR_TARGET`
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13833 $as_echo "pre-installed
in $ac_dir" >&6; }
13835 # Canadian cross, just use what we found
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13837 $as_echo "pre-installed
" >&6; }
13841 case " ${configdirs} " in
13846 if test $ok = yes; then
13847 # An in-tree tool is available and we can use it
13848 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13850 $as_echo "just compiled
" >&6; }
13851 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
13852 # We already found the complete path
13853 ac_dir=`dirname $NM_FOR_TARGET`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13855 $as_echo "pre-installed
in $ac_dir" >&6; }
13856 elif test "x
$target" = "x
$host"; then
13857 # We can use an host tool
13858 NM_FOR_TARGET='$(NM)'
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13860 $as_echo "host tool
" >&6; }
13862 # We need a cross tool
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13864 $as_echo "pre-installed
" >&6; }
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
13869 $as_echo_n "checking where to
find the target objdump...
" >&6; }
13870 if test "x
${build}" != "x
${host}" ; then
13871 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13872 # We already found the complete path
13873 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13875 $as_echo "pre-installed
in $ac_dir" >&6; }
13877 # Canadian cross, just use what we found
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13879 $as_echo "pre-installed
" >&6; }
13883 case " ${configdirs} " in
13888 if test $ok = yes; then
13889 # An in-tree tool is available and we can use it
13890 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13892 $as_echo "just compiled
" >&6; }
13893 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13894 # We already found the complete path
13895 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13897 $as_echo "pre-installed
in $ac_dir" >&6; }
13898 elif test "x
$target" = "x
$host"; then
13899 # We can use an host tool
13900 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13902 $as_echo "host tool
" >&6; }
13904 # We need a cross tool
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13906 $as_echo "pre-installed
" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13911 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13912 if test "x
${build}" != "x
${host}" ; then
13913 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13914 # We already found the complete path
13915 ac_dir=`dirname $RANLIB_FOR_TARGET`
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13917 $as_echo "pre-installed
in $ac_dir" >&6; }
13919 # Canadian cross, just use what we found
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13921 $as_echo "pre-installed
" >&6; }
13925 case " ${configdirs} " in
13930 if test $ok = yes; then
13931 # An in-tree tool is available and we can use it
13932 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13933 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13934 $as_echo "just compiled
" >&6; }
13935 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13936 # We already found the complete path
13937 ac_dir=`dirname $RANLIB_FOR_TARGET`
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13939 $as_echo "pre-installed
in $ac_dir" >&6; }
13940 elif test "x
$target" = "x
$host"; then
13941 # We can use an host tool
13942 RANLIB_FOR_TARGET='$(RANLIB)'
13943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13944 $as_echo "host tool
" >&6; }
13946 # We need a cross tool
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13948 $as_echo "pre-installed
" >&6; }
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13953 $as_echo_n "checking where to
find the target strip...
" >&6; }
13954 if test "x
${build}" != "x
${host}" ; then
13955 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13956 # We already found the complete path
13957 ac_dir=`dirname $STRIP_FOR_TARGET`
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13959 $as_echo "pre-installed
in $ac_dir" >&6; }
13961 # Canadian cross, just use what we found
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13963 $as_echo "pre-installed
" >&6; }
13967 case " ${configdirs} " in
13972 if test $ok = yes; then
13973 # An in-tree tool is available and we can use it
13974 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13976 $as_echo "just compiled
" >&6; }
13977 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13978 # We already found the complete path
13979 ac_dir=`dirname $STRIP_FOR_TARGET`
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13981 $as_echo "pre-installed
in $ac_dir" >&6; }
13982 elif test "x
$target" = "x
$host"; then
13983 # We can use an host tool
13984 STRIP_FOR_TARGET='$(STRIP)'
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13986 $as_echo "host tool
" >&6; }
13988 # We need a cross tool
13989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13990 $as_echo "pre-installed
" >&6; }
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13995 $as_echo_n "checking where to
find the target windres...
" >&6; }
13996 if test "x
${build}" != "x
${host}" ; then
13997 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13998 # We already found the complete path
13999 ac_dir=`dirname $WINDRES_FOR_TARGET`
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14001 $as_echo "pre-installed
in $ac_dir" >&6; }
14003 # Canadian cross, just use what we found
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14005 $as_echo "pre-installed
" >&6; }
14009 case " ${configdirs} " in
14014 if test $ok = yes; then
14015 # An in-tree tool is available and we can use it
14016 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14018 $as_echo "just compiled
" >&6; }
14019 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14020 # We already found the complete path
14021 ac_dir=`dirname $WINDRES_FOR_TARGET`
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14023 $as_echo "pre-installed
in $ac_dir" >&6; }
14024 elif test "x
$target" = "x
$host"; then
14025 # We can use an host tool
14026 WINDRES_FOR_TARGET='$(WINDRES)'
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14028 $as_echo "host tool
" >&6; }
14030 # We need a cross tool
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14032 $as_echo "pre-installed
" >&6; }
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14037 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14038 if test "x
${build}" != "x
${host}" ; then
14039 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14040 # We already found the complete path
14041 ac_dir=`dirname $WINDMC_FOR_TARGET`
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14043 $as_echo "pre-installed
in $ac_dir" >&6; }
14045 # Canadian cross, just use what we found
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14047 $as_echo "pre-installed
" >&6; }
14051 case " ${configdirs} " in
14056 if test $ok = yes; then
14057 # An in-tree tool is available and we can use it
14058 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14060 $as_echo "just compiled
" >&6; }
14061 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14062 # We already found the complete path
14063 ac_dir=`dirname $WINDMC_FOR_TARGET`
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14065 $as_echo "pre-installed
in $ac_dir" >&6; }
14066 elif test "x
$target" = "x
$host"; then
14067 # We can use an host tool
14068 WINDMC_FOR_TARGET='$(WINDMC)'
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14070 $as_echo "host tool
" >&6; }
14072 # We need a cross tool
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14074 $as_echo "pre-installed
" >&6; }
14082 # Certain tools may need extra flags.
14083 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14084 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14085 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14087 # When building target libraries, except in a Canadian cross, we use
14088 # the same toolchain as the compiler we just built.
14089 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14090 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14091 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14092 if test $host = $build; then
14093 case " $configdirs " in
14095 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14096 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14097 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14107 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14108 # Check whether --enable-maintainer-mode was given.
14109 if test "${enable_maintainer_mode+set}" = set; then :
14110 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14112 USE_MAINTAINER_MODE=no
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14116 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14119 if test "$USE_MAINTAINER_MODE" = yes; then
14120 MAINTAINER_MODE_TRUE=
14121 MAINTAINER_MODE_FALSE='#'
14123 MAINTAINER_MODE_TRUE='#'
14124 MAINTAINER_MODE_FALSE=
14126 MAINT=$MAINTAINER_MODE_TRUE
14128 # ---------------------
14129 # GCC bootstrap support
14130 # ---------------------
14132 # Stage specific cflags for build.
14137 yes) stage1_cflags="-g -Wa,-J" ;;
14138 *) stage1_cflags="-g -J" ;;
14142 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14143 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14144 saved_CFLAGS="$CFLAGS"
14146 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14147 CFLAGS="$CFLAGS -fkeep-inline-functions"
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14149 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14151 /* end confdefs.h. */
14153 #if (__GNUC__ < 3) \
14154 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14155 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14156 #error http://gcc.gnu.org/PR29382
14167 if ac_fn_c_try_compile "$LINENO"; then :
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14169 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14172 $as_echo "no
" >&6; }
14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14176 CFLAGS="$saved_CFLAGS"
14181 # Enable --enable-checking in stage1 of the compiler.
14182 # Check whether --enable-stage1-checking was given.
14183 if test "${enable_stage1_checking+set}" = set; then :
14184 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14186 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14187 stage1_checking=--enable-checking=yes,types
14189 stage1_checking=--enable-checking=$enable_checking,types
14195 # Enable -Werror in bootstrap stage2 and later.
14196 # Check whether --enable-werror was given.
14197 if test "${enable_werror+set}" = set; then :
14198 enableval=$enable_werror;
14200 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14207 case ${enable_werror} in
14208 yes) stage2_werror_flag="--enable-werror-always" ;;
14209 *) stage2_werror_flag="" ;;
14213 # Specify what files to not compare during bootstrap.
14215 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14217 hppa*64*-*-hpux*) ;;
14218 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14220 case " $configdirs " in
14221 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14225 ac_config_files="$ac_config_files Makefile
"
14227 cat >confcache <<\_ACEOF
14228 # This file is a shell script that caches the results of configure
14229 # tests run on this system so they can be shared between configure
14230 # scripts and configure runs, see configure's option --config-cache.
14231 # It is not useful on other systems. If it contains results you don't
14232 # want to keep, you may remove or edit it.
14234 # config.status only pays attention to the cache file if you give it
14235 # the --recheck option to rerun configure.
14237 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14238 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14239 # following values.
14243 # The following way of writing the cache mishandles newlines in values,
14244 # but we know of no workaround that is simple, portable, and efficient.
14245 # So, we kill variables containing newlines.
14246 # Ultrix sh set writes to stderr and can't be redirected directly,
14247 # and sets the high bit in the cache file unless we assign to the vars.
14249 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14250 eval ac_val=\$$ac_var
14254 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14255 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14258 _ | IFS | as_nl) ;; #(
14259 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14260 *) { eval $ac_var=; unset $ac_var;} ;;
14266 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14267 *${as_nl}ac_space=\ *)
14268 # `set' does not quote correctly, so add quotes: double-quote
14269 # substitution turns \\\\ into \\, and sed turns \\ into \.
14272 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14275 # `set' quotes correctly as required by POSIX, so do not add quotes.
14276 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14287 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14290 if test -w "$cache_file"; then
14291 test "x
$cache_file" != "x
/dev
/null
" &&
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14293 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14294 cat confcache >$cache_file
14296 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14297 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14302 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14303 # Let make expand exec_prefix.
14304 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14306 # Transform confdefs.h into DEFS.
14307 # Protect against shell expansion while executing Makefile rules.
14308 # Protect against Makefile macro expansion.
14310 # If the first sed substitution is executed (which looks for macros that
14311 # take arguments), then branch to the quote section. Otherwise,
14312 # look for a macro that doesn't take arguments.
14322 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14324 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14328 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14341 DEFS=`sed -n "$ac_script" confdefs.h`
14346 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14347 # 1. Remove the extension, and $U if already installed.
14348 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14349 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14350 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14351 # will be set to the directory where LIBOBJS objects are built.
14352 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14353 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14355 LIBOBJS=$ac_libobjs
14357 LTLIBOBJS=$ac_ltlibobjs
14361 : ${CONFIG_STATUS=./config.status}
14363 ac_clean_files_save=$ac_clean_files
14364 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14370 # Generated by $as_me.
14371 # Run this file to recreate the current configuration.
14372 # Compiler output produced by configure, useful for debugging
14373 # configure, is in config.log if it exists.
14376 ac_cs_recheck=false
14379 SHELL=\${CONFIG_SHELL-$SHELL}
14382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14383 ## -------------------- ##
14384 ## M4sh Initialization. ##
14385 ## -------------------- ##
14387 # Be more Bourne compatible
14388 DUALCASE=1; export DUALCASE # for MKS sh
14389 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14393 # is contrary to our usage. Disable this feature.
14394 alias -g '${1+"$@"}'='"$@"'
14395 setopt NO_GLOB_SUBST
14397 case `(set -o) 2>/dev/null` in #(
14409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14410 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14411 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14412 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14413 # Prefer a ksh shell builtin over an external printf program on Solaris,
14414 # but without wasting forks for bash or zsh.
14415 if test -z "$BASH_VERSION$ZSH_VERSION" \
14416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14417 as_echo
='print -r --'
14418 as_echo_n
='print -rn --'
14419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14420 as_echo
='printf %s\n'
14421 as_echo_n
='printf %s'
14423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14424 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14425 as_echo_n
='/usr/ucb/echo -n'
14427 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14428 as_echo_n_body
='eval
14432 expr "X$arg" : "X\\(.*\\)$as_nl";
14433 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14435 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14437 export as_echo_n_body
14438 as_echo_n
='sh -c $as_echo_n_body as_echo'
14440 export as_echo_body
14441 as_echo
='sh -c $as_echo_body as_echo'
14444 # The user is always right.
14445 if test "${PATH_SEPARATOR+set}" != set; then
14447 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14448 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14455 # We need space, tab and new line, in precisely that order. Quoting is
14456 # there to prevent editors from complaining about space-tab.
14457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14458 # splitting by setting IFS to empty value.)
14461 # Find who we are. Look in the path if we contain no directory separator.
14463 *[\\/]* ) as_myself
=$0 ;;
14464 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14465 for as_dir
in $PATH
14468 test -z "$as_dir" && as_dir
=.
14469 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14475 # We did not find ourselves, most probably we were run as `sh COMMAND'
14476 # in which case we are not to be found in the path.
14477 if test "x$as_myself" = x
; then
14480 if test ! -f "$as_myself"; then
14481 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14485 # Unset variables that we do not need and which cause bugs (e.g. in
14486 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14487 # suppresses any "Segmentation fault" message there. '((' could
14488 # trigger a bug in pdksh 5.2.14.
14489 for as_var
in BASH_ENV ENV MAIL MAILPATH
14490 do eval test x\
${$as_var+set} = xset \
14491 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14504 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14507 # as_fn_error ERROR [LINENO LOG_FD]
14508 # ---------------------------------
14509 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14510 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14511 # script with status $?, using 1 if that was 0.
14514 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14516 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14517 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14519 $as_echo "$as_me: error: $1" >&2
14520 as_fn_exit
$as_status
14524 # as_fn_set_status STATUS
14525 # -----------------------
14526 # Set $? to STATUS, without forking.
14527 as_fn_set_status
()
14530 } # as_fn_set_status
14532 # as_fn_exit STATUS
14533 # -----------------
14534 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14538 as_fn_set_status
$1
14544 # Portably unset VAR.
14547 { eval $1=; unset $1;}
14549 as_unset
=as_fn_unset
14550 # as_fn_append VAR VALUE
14551 # ----------------------
14552 # Append the text in VALUE to the end of the definition contained in VAR. Take
14553 # advantage of any shell optimizations that allow amortized linear growth over
14554 # repeated appends, instead of the typical quadratic growth present in naive
14556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14557 eval 'as_fn_append ()
14568 # as_fn_arith ARG...
14569 # ------------------
14570 # Perform arithmetic evaluation on the ARGs, and store the result in the
14571 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14572 # must be portable across $(()) and expr.
14573 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14574 eval 'as_fn_arith ()
14581 as_val
=`expr "$@" || test $? -eq 1`
14586 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14587 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14593 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14594 as_basename
=basename
14599 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14605 as_me
=`$as_basename -- "$0" ||
14606 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14607 X"$0" : 'X\(//\)$' \| \
14608 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14610 sed '/^.*\/\([^/][^/]*\)\/*$/{
14624 # Avoid depending upon Character Ranges.
14625 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14626 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14627 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14628 as_cr_digits
='0123456789'
14629 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14631 ECHO_C
= ECHO_N
= ECHO_T
=
14632 case `echo -n x` in #(((((
14634 case `echo 'xy\c'` in
14635 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14637 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14644 rm -f conf$$ conf$$.exe conf$$.
file
14645 if test -d conf$$.dir
; then
14646 rm -f conf$$.dir
/conf$$.
file
14649 mkdir conf$$.dir
2>/dev
/null
14651 if (echo >conf$$.
file) 2>/dev
/null
; then
14652 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14654 # ... but there are two gotchas:
14655 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14656 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14657 # In both cases, we have to default to `cp -p'.
14658 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14660 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14668 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14669 rmdir conf$$.dir
2>/dev
/null
14674 # Create "$as_dir" as a directory, including parents if necessary.
14679 -*) as_dir
=.
/$as_dir;;
14681 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14685 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14686 *) as_qdir
=$as_dir;;
14688 as_dirs
="'$as_qdir' $as_dirs"
14689 as_dir
=`$as_dirname -- "$as_dir" ||
14690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14691 X"$as_dir" : 'X\(//\)[^/]' \| \
14692 X"$as_dir" : 'X\(//\)$' \| \
14693 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14694 $as_echo X"$as_dir" |
14695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14699 /^X\(\/\/\)[^/].*/{
14712 test -d "$as_dir" && break
14714 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14715 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14719 if mkdir
-p .
2>/dev
/null
; then
14720 as_mkdir_p
='mkdir -p "$as_dir"'
14722 test -d .
/-p && rmdir .
/-p
14726 if test -x / >/dev
/null
2>&1; then
14727 as_test_x
='test -x'
14729 if ls -dL / >/dev
/null
2>&1; then
14736 if test -d "$1"; then
14742 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14743 ???[sx]*):;;*)false;;esac;fi
14747 as_executable_p
=$as_test_x
14749 # Sed expression to map a string onto a valid CPP name.
14750 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14752 # Sed expression to map a string onto a valid variable name.
14753 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14757 ## ----------------------------------- ##
14758 ## Main body of $CONFIG_STATUS script. ##
14759 ## ----------------------------------- ##
14761 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
14763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14764 # Save the log message, to keep $0 and so on meaningful, and to
14765 # report actual input values of CONFIG_FILES etc. instead of their
14766 # values after options handling.
14768 This file was extended by $as_me, which was
14769 generated by GNU Autoconf 2.64. Invocation command line was
14771 CONFIG_FILES = $CONFIG_FILES
14772 CONFIG_HEADERS = $CONFIG_HEADERS
14773 CONFIG_LINKS = $CONFIG_LINKS
14774 CONFIG_COMMANDS = $CONFIG_COMMANDS
14777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14782 case $ac_config_files in *"
14783 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
14788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14789 # Files that config.status was made for.
14790 config_files="$ac_config_files"
14794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14796 \`$as_me' instantiates files and other configuration actions
14797 from templates according to the current configuration. Unless the files
14798 and actions are specified as TAGs, all are instantiated by default.
14800 Usage: $0 [OPTION]... [TAG]...
14802 -h, --help print this help, then exit
14803 -V, --version print version number and configuration settings, then exit
14804 -q, --quiet, --silent
14805 do not print progress messages
14806 -d, --debug don't remove temporary files
14807 --recheck update $as_me by reconfiguring in the same conditions
14808 --file=FILE[:TEMPLATE]
14809 instantiate the configuration file FILE
14811 Configuration files:
14814 Report bugs to the package provider."
14817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14820 configured by $0, generated by GNU Autoconf 2.64,
14821 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
14823 Copyright (C) 2009 Free Software Foundation, Inc.
14824 This config.status script is free software; the Free Software Foundation
14825 gives unlimited permission to copy, distribute and modify it."
14831 test -n "\$AWK" || AWK=awk
14834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14835 # The default lists apply if the user does not specify any file.
14841 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
14842 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
14853 # Handling of the options.
14854 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
14856 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
14857 $as_echo "$ac_cs_version"; exit ;;
14858 --debug |
--debu |
--deb |
--de |
--d |
-d )
14860 --file |
--fil |
--fi |
--f )
14863 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14865 as_fn_append CONFIG_FILES
" '$ac_optarg'"
14866 ac_need_defaults
=false
;;
14867 --he |
--h |
--help |
--hel |
-h )
14868 $as_echo "$ac_cs_usage"; exit ;;
14869 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
14870 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
14873 # This is an error.
14874 -*) as_fn_error
"unrecognized option: \`$1'
14875 Try \`$0 --help' for more information." ;;
14877 *) as_fn_append ac_config_targets
" $1"
14878 ac_need_defaults
=false
;;
14884 ac_configure_extra_args
=
14886 if $ac_cs_silent; then
14888 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14892 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14893 if \$ac_cs_recheck; then
14894 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14896 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14897 CONFIG_SHELL='$SHELL'
14898 export CONFIG_SHELL
14903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14907 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14908 ## Running $as_me. ##
14914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14918 extrasub_build="$extrasub_build"
14919 extrasub_host="$extrasub_host"
14920 extrasub_target="$extrasub_target"
14924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14926 # Handling of arguments.
14927 for ac_config_target
in $ac_config_targets
14929 case $ac_config_target in
14930 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14932 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14937 # If the user did not use the arguments to specify the items to instantiate,
14938 # then the envvar interface is used. Set only those that are not.
14939 # We use the long form for the default assignment because of an extremely
14940 # bizarre bug on SunOS 4.1.3.
14941 if $ac_need_defaults; then
14942 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14945 # Have a temporary directory for convenience. Make it in the build tree
14946 # simply because there is no reason against having it here, and in addition,
14947 # creating and moving files from /tmp can sometimes cause problems.
14948 # Hook for its removal unless debugging.
14949 # Note that there is a small window in which the directory will not be cleaned:
14950 # after its creation but before its name has been assigned to `$tmp'.
14954 trap 'exit_status=$?
14955 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14957 trap 'as_fn_exit 1' 1 2 13 15
14959 # Create a (secure) tmp directory for tmp files.
14962 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14963 test -n "$tmp" && test -d "$tmp"
14966 tmp
=.
/conf$$
-$RANDOM
14967 (umask 077 && mkdir
"$tmp")
14968 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14970 # Set up the scripts for CONFIG_FILES section.
14971 # No need to generate them if there are no CONFIG_FILES.
14972 # This happens for instance with `./config.status config.h'.
14973 if test -n "$CONFIG_FILES"; then
14975 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14976 ac_cs_awk_getline
=:
14977 ac_cs_awk_pipe_init
=
14978 ac_cs_awk_read_file
='
14979 while ((getline aline < (F[key])) > 0)
14982 ac_cs_awk_pipe_fini
=
14984 ac_cs_awk_getline
=false
14985 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14986 ac_cs_awk_read_file
='
14988 print "cat " F[key] " &&"
14989 '$ac_cs_awk_pipe_init
14990 # The final `:' finishes the AND list.
14991 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14993 ac_cr
=`echo X | tr X '\015'`
14994 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14995 # But we know of no other shell where ac_cr would be empty at this
14996 # point, so we can use a bashism as a fallback.
14997 if test "x$ac_cr" = x
; then
14998 eval ac_cr
=\$
\'\\r
\'
15000 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15001 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15004 ac_cs_awk_cr
=$ac_cr
15007 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15010 # Create commands to substitute file output variables.
15012 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15013 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15014 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15017 } >conf$
$files.sh
&&
15018 . .
/conf$
$files.sh ||
15019 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15020 rm -f conf$
$files.sh
15023 echo "cat >conf$$subs.awk <<_ACEOF" &&
15024 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15026 } >conf$$subs.sh ||
15027 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15028 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15030 for ac_last_try in false false false false false :; do
15031 . ./conf$$subs.sh ||
15032 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15034 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15035 if test $ac_delim_n = $ac_delim_num; then
15037 elif $ac_last_try; then
15038 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15040 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15043 rm -f conf$$subs.sh
15045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15050 s/^/S["/; s
/!.
*/"]=/
15060 s/\(.\{148\}\).*/\1/
15062 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15067 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15074 s/\(.\{148\}\).*/\1/
15076 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15080 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15085 ' <conf$$subs.awk | sed '
15090 ' >>$CONFIG_STATUS || ac_write_fail=1
15091 rm -f conf$$subs.awk
15092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15094 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15095 for (key in S) S_is_set[key] = 1
15097 \$ac_cs_awk_pipe_init
15101 nfields = split(line, field, "@
")
15103 len = length(field[1])
15104 for (i = 2; i < nfields; i++) {
15106 keylen = length(key)
15107 if (S_is_set[key]) {
15109 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15110 len += length(value) + length(field[++i])
15115 if (nfields == 3 && !substed) {
15117 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15118 \$ac_cs_awk_read_file
15124 \$ac_cs_awk_pipe_fini
15127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15128 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15129 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15132 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15133 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15136 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15137 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15138 # trailing colons and then remove the whole line if VPATH becomes empty
15139 # (actually we leave an empty line to preserve line numbers).
15140 if test "x
$srcdir" = x.; then
15141 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15142 s/:*\$(srcdir):*/:/
15143 s/:*\${srcdir}:*/:/
15145 s/^\([^=]*=[ ]*\):*/\1/
15151 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15152 fi # test -n "$CONFIG_FILES"
15155 eval set X " :F
$CONFIG_FILES "
15160 :[FHLC]) ac_mode=$ac_tag; continue;;
15162 case $ac_mode$ac_tag in
15164 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15165 :[FH]-) ac_tag=-:-;;
15166 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15183 -) ac_f="$tmp/stdin";;
15184 *) # Look for the file first in the build tree, then in the source tree
15185 # (if the path is not absolute). The absolute path cannot be DOS-style,
15186 # because $ac_f cannot contain `:'.
15190 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15192 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15194 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15195 as_fn_append ac_file_inputs " '$ac_f'"
15198 # Let's still pretend it is `configure' which instantiates (i.e., don't
15199 # use $as_me), people would be surprised to read:
15200 # /* config.h. Generated by config.status. */
15201 configure_input='Generated from '`
15202 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15204 if test x"$ac_file" != x-; then
15205 configure_input="$ac_file.
$configure_input"
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15207 $as_echo "$as_me: creating
$ac_file" >&6;}
15209 # Neutralize special characters interpreted by sed in replacement strings.
15210 case $configure_input in #(
15211 *\&* | *\|* | *\\* )
15212 ac_sed_conf_input=`$as_echo "$configure_input" |
15213 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15214 *) ac_sed_conf_input=$configure_input;;
15218 *:-:* | *:-) cat >"$tmp/stdin
" \
15219 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15224 ac_dir=`$as_dirname -- "$ac_file" ||
15225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15226 X"$ac_file" : 'X\(//\)[^/]' \| \
15227 X"$ac_file" : 'X\(//\)$' \| \
15228 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15229 $as_echo X"$ac_file" |
15230 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15234 /^X\(\/\/\)[^/].*/{
15247 as_dir="$ac_dir"; as_fn_mkdir_p
15251 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15253 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15254 # A "..
" for each directory in $ac_dir_suffix.
15255 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15256 case $ac_top_builddir_sub in
15257 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15258 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15261 ac_abs_top_builddir=$ac_pwd
15262 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15263 # for backward compatibility:
15264 ac_top_builddir=$ac_top_build_prefix
15267 .) # We are building in place.
15269 ac_top_srcdir=$ac_top_builddir_sub
15270 ac_abs_top_srcdir=$ac_pwd ;;
15271 [\\/]* | ?:[\\/]* ) # Absolute name.
15272 ac_srcdir=$srcdir$ac_dir_suffix;
15273 ac_top_srcdir=$srcdir
15274 ac_abs_top_srcdir=$srcdir ;;
15275 *) # Relative name.
15276 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15277 ac_top_srcdir=$ac_top_build_prefix$srcdir
15278 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15280 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15290 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15291 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15296 # If the template does not know about datarootdir, expand it.
15297 # FIXME: This hack should be removed a few years after 2.60.
15298 ac_datarootdir_hack=; ac_datarootdir_seen=
15309 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15310 *datarootdir*) ac_datarootdir_seen=yes;;
15311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15313 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15316 ac_datarootdir_hack='
15317 s&@datadir@&$datadir&g
15318 s&@docdir@&$docdir&g
15319 s&@infodir@&$infodir&g
15320 s&@localedir@&$localedir&g
15321 s&@mandir@&$mandir&g
15322 s&\\\${datarootdir}&$datarootdir&g' ;;
15326 # Neutralize VPATH when `$srcdir' = `.'.
15327 # Shell code in configure.ac might set extrasub.
15328 # FIXME: do we really want to maintain this feature?
15329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15330 ac_sed_extra="$ac_vpsub
15333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15335 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15336 s|@configure_input@|
$ac_sed_conf_input|
;t t
15337 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15338 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15339 s
&@srcdir@
&$ac_srcdir&;t t
15340 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15341 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15342 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15343 s
&@builddir@
&$ac_builddir&;t t
15344 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15345 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15346 s
&@INSTALL@
&$ac_INSTALL&;t t
15347 $ac_datarootdir_hack
15349 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15350 if $ac_cs_awk_getline; then
15351 $AWK -f "$tmp/subs.
awk"
15353 $AWK -f "$tmp/subs.
awk" | $SHELL
15355 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15357 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15358 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15359 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15361 which seems to be undefined. Please make sure it is defined." >&5
15362 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15363 which seems to be undefined. Please make sure it is defined." >&2;}
15367 -) cat "$tmp/out" && rm -f "$tmp/out";;
15368 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15370 || as_fn_error "could not create $ac_file" "$LINENO" 5
15378 case $ac_file$ac_mode in
15379 "Makefile":F) sed "$extrasub_build" Makefile |
15380 sed "$extrasub_host" |
15381 sed "$extrasub_target" > mf$$
15382 mv -f mf$$ Makefile ;;
15390 ac_clean_files=$ac_clean_files_save
15392 test $ac_write_fail = 0 ||
15393 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15396 # configure is writing to config.log, and then calls config.status.
15397 # config.status does its own redirection, appending to config.log.
15398 # Unfortunately, on DOS this fails, as config.log is still kept open
15399 # by configure, so config.status won't be able to
write to it
; its
15400 # output is simply discarded. So we exec the FD to /dev/null,
15401 # effectively closing config.log, so it can be properly (re)opened and
15402 # appended to by config.status. When coming back to configure, we
15403 # need to make the FD available again.
15404 if test "$no_create" != yes; then
15406 ac_config_status_args
=
15407 test "$silent" = yes &&
15408 ac_config_status_args
="$ac_config_status_args --quiet"
15410 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15412 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15413 # would make configure fail if this is the last instruction.
15414 $ac_cs_success || as_fn_exit $?
15416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}