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
637 DEBUG_PREFIX_CFLAGS_FOR_TARGET
638 SYSROOT_CFLAGS_FOR_TARGET
648 extra_mpc_mpfr_configure_flags
649 extra_mpc_gmp_configure_flags
650 extra_mpfr_configure_flags
692 TOPLEVEL_CONFIGURE_ARGUMENTS
720 program_transform_name
731 ac_subst_files
='serialization_dependencies
737 enable_option_checking
742 enable_build_with_cxx
762 enable_ppl_version_check
766 enable_cloog_version_check
767 enable_stage1_languages
770 with_debug_prefix_map
772 enable_serial_configure
773 with_build_time_tools
774 enable_maintainer_mode
775 enable_stage1_checking
778 ac_precious_vars
='build_alias
819 # Initialize some variables set by options.
821 ac_init_version
=false
822 ac_unrecognized_opts
=
824 # The variables have the same names as the options, with
825 # dashes changed to underlines.
833 program_transform_name
=s
,x
,x
,
841 # Installation directory options.
842 # These are left unexpanded so users can "make install exec_prefix=/foo"
843 # and all the variables that are supposed to be based on exec_prefix
844 # by default will actually change.
845 # Use braces instead of parens because sh, perl, etc. also accept them.
846 # (The list follows the same order as the GNU Coding Standards.)
847 bindir
='${exec_prefix}/bin'
848 sbindir
='${exec_prefix}/sbin'
849 libexecdir
='${exec_prefix}/libexec'
850 datarootdir
='${prefix}/share'
851 datadir
='${datarootdir}'
852 sysconfdir
='${prefix}/etc'
853 sharedstatedir
='${prefix}/com'
854 localstatedir
='${prefix}/var'
855 includedir
='${prefix}/include'
856 oldincludedir
='/usr/include'
857 docdir
='${datarootdir}/doc/${PACKAGE}'
858 infodir
='${datarootdir}/info'
863 libdir
='${exec_prefix}/lib'
864 localedir
='${datarootdir}/locale'
865 mandir
='${datarootdir}/man'
871 # If the previous option needs an argument, assign it.
872 if test -n "$ac_prev"; then
873 eval $ac_prev=\
$ac_option
879 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
883 # Accept the important Cygnus configure options, so we can diagnose typos.
885 case $ac_dashdash$ac_option in
889 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
891 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
894 -build |
--build |
--buil |
--bui |
--bu)
895 ac_prev
=build_alias
;;
896 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
897 build_alias
=$ac_optarg ;;
899 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
900 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
901 ac_prev
=cache_file
;;
902 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
903 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
904 cache_file
=$ac_optarg ;;
907 cache_file
=config.cache
;;
909 -datadir |
--datadir |
--datadi |
--datad)
911 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
912 datadir
=$ac_optarg ;;
914 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
915 |
--dataroo |
--dataro |
--datar)
916 ac_prev
=datarootdir
;;
917 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
918 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
919 datarootdir
=$ac_optarg ;;
921 -disable-* |
--disable-*)
922 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
923 # Reject names that are not valid shell variable names.
924 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
925 as_fn_error
"invalid feature name: $ac_useropt"
926 ac_useropt_orig
=$ac_useropt
927 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928 case $ac_user_opts in
932 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
933 ac_unrecognized_sep
=', ';;
935 eval enable_
$ac_useropt=no
;;
937 -docdir |
--docdir |
--docdi |
--doc |
--do)
939 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
942 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
944 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
947 -enable-* |
--enable-*)
948 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
949 # Reject names that are not valid shell variable names.
950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
951 as_fn_error
"invalid feature name: $ac_useropt"
952 ac_useropt_orig
=$ac_useropt
953 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
958 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
959 ac_unrecognized_sep
=', ';;
961 eval enable_
$ac_useropt=\
$ac_optarg ;;
963 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
964 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
965 |
--exec |
--exe |
--ex)
966 ac_prev
=exec_prefix
;;
967 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
968 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
969 |
--exec=* |
--exe=* |
--ex=*)
970 exec_prefix
=$ac_optarg ;;
972 -gas |
--gas |
--ga |
--g)
973 # Obsolete; use --with-gas.
976 -help |
--help |
--hel |
--he |
-h)
978 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
979 ac_init_help
=recursive
;;
980 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
981 ac_init_help
=short
;;
983 -host |
--host |
--hos |
--ho)
984 ac_prev
=host_alias
;;
985 -host=* |
--host=* |
--hos=* |
--ho=*)
986 host_alias
=$ac_optarg ;;
988 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
990 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
992 htmldir
=$ac_optarg ;;
994 -includedir |
--includedir |
--includedi |
--included |
--include \
995 |
--includ |
--inclu |
--incl |
--inc)
996 ac_prev
=includedir
;;
997 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
998 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
999 includedir
=$ac_optarg ;;
1001 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1003 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1004 infodir
=$ac_optarg ;;
1006 -libdir |
--libdir |
--libdi |
--libd)
1008 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1009 libdir
=$ac_optarg ;;
1011 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1012 |
--libexe |
--libex |
--libe)
1013 ac_prev
=libexecdir
;;
1014 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1015 |
--libexe=* |
--libex=* |
--libe=*)
1016 libexecdir
=$ac_optarg ;;
1018 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1019 ac_prev
=localedir
;;
1020 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1021 localedir
=$ac_optarg ;;
1023 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1024 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1025 ac_prev
=localstatedir
;;
1026 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1027 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1028 localstatedir
=$ac_optarg ;;
1030 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1032 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1033 mandir
=$ac_optarg ;;
1035 -nfp |
--nfp |
--nf)
1036 # Obsolete; use --without-fp.
1039 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1040 |
--no-cr |
--no-c |
-n)
1043 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1044 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1047 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1048 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1049 |
--oldin |
--oldi |
--old |
--ol |
--o)
1050 ac_prev
=oldincludedir
;;
1051 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1052 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1053 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1054 oldincludedir
=$ac_optarg ;;
1056 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1058 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1059 prefix
=$ac_optarg ;;
1061 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1062 |
--program-pre |
--program-pr |
--program-p)
1063 ac_prev
=program_prefix
;;
1064 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1065 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1066 program_prefix
=$ac_optarg ;;
1068 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1069 |
--program-suf |
--program-su |
--program-s)
1070 ac_prev
=program_suffix
;;
1071 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1072 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1073 program_suffix
=$ac_optarg ;;
1075 -program-transform-name |
--program-transform-name \
1076 |
--program-transform-nam |
--program-transform-na \
1077 |
--program-transform-n |
--program-transform- \
1078 |
--program-transform |
--program-transfor \
1079 |
--program-transfo |
--program-transf \
1080 |
--program-trans |
--program-tran \
1081 |
--progr-tra |
--program-tr |
--program-t)
1082 ac_prev
=program_transform_name
;;
1083 -program-transform-name=* |
--program-transform-name=* \
1084 |
--program-transform-nam=* |
--program-transform-na=* \
1085 |
--program-transform-n=* |
--program-transform-=* \
1086 |
--program-transform=* |
--program-transfor=* \
1087 |
--program-transfo=* |
--program-transf=* \
1088 |
--program-trans=* |
--program-tran=* \
1089 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1090 program_transform_name
=$ac_optarg ;;
1092 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1094 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1095 pdfdir
=$ac_optarg ;;
1097 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1099 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1102 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1103 |
-silent |
--silent |
--silen |
--sile |
--sil)
1106 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1108 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1110 sbindir
=$ac_optarg ;;
1112 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1113 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1114 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1116 ac_prev
=sharedstatedir
;;
1117 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1118 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1119 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1121 sharedstatedir
=$ac_optarg ;;
1123 -site |
--site |
--sit)
1125 -site=* |
--site=* |
--sit=*)
1128 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1130 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1131 srcdir
=$ac_optarg ;;
1133 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1134 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1135 ac_prev
=sysconfdir
;;
1136 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1137 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1138 sysconfdir
=$ac_optarg ;;
1140 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1141 ac_prev
=target_alias
;;
1142 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1143 target_alias
=$ac_optarg ;;
1145 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1148 -version |
--version |
--versio |
--versi |
--vers |
-V)
1149 ac_init_version
=: ;;
1152 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1155 as_fn_error
"invalid package name: $ac_useropt"
1156 ac_useropt_orig
=$ac_useropt
1157 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1158 case $ac_user_opts in
1162 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1163 ac_unrecognized_sep
=', ';;
1165 eval with_
$ac_useropt=\
$ac_optarg ;;
1167 -without-* |
--without-*)
1168 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1169 # Reject names that are not valid shell variable names.
1170 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1171 as_fn_error
"invalid package name: $ac_useropt"
1172 ac_useropt_orig
=$ac_useropt
1173 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1174 case $ac_user_opts in
1178 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1179 ac_unrecognized_sep
=', ';;
1181 eval with_
$ac_useropt=no
;;
1184 # Obsolete; use --with-x.
1187 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1188 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1189 ac_prev
=x_includes
;;
1190 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1191 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1192 x_includes
=$ac_optarg ;;
1194 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1195 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1196 ac_prev
=x_libraries
;;
1197 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1198 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1199 x_libraries
=$ac_optarg ;;
1201 -*) as_fn_error
"unrecognized option: \`$ac_option'
1202 Try \`$0 --help' for more information."
1206 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 case $ac_envvar in #(
1209 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1210 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1212 eval $ac_envvar=\
$ac_optarg
1213 export $ac_envvar ;;
1216 # FIXME: should be removed in autoconf 3.0.
1217 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1219 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1226 if test -n "$ac_prev"; then
1227 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1228 as_fn_error
"missing argument to $ac_option"
1231 if test -n "$ac_unrecognized_opts"; then
1232 case $enable_option_checking in
1234 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1235 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1239 # Check all directory arguments for consistency.
1240 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1241 datadir sysconfdir sharedstatedir localstatedir includedir \
1242 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1243 libdir localedir mandir
1245 eval ac_val
=\$
$ac_var
1246 # Remove trailing slashes.
1249 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1250 eval $ac_var=\
$ac_val;;
1252 # Be sure to have absolute directory names.
1254 [\\/$
]* | ?
:[\\/]* ) continue;;
1255 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1257 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1260 # There might be people who depend on the old broken behavior: `$host'
1261 # used to hold the argument of --host etc.
1262 # FIXME: To remove some day.
1265 target
=$target_alias
1267 # FIXME: To remove some day.
1268 if test "x$host_alias" != x
; then
1269 if test "x$build_alias" = x
; then
1270 cross_compiling
=maybe
1271 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1272 If a cross compiler is detected then cross compile mode will be used." >&2
1273 elif test "x$build_alias" != "x$host_alias"; then
1279 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1281 test "$silent" = yes && exec 6>/dev
/null
1284 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1285 ac_ls_di
=`ls -di .` &&
1286 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1287 as_fn_error
"working directory cannot be determined"
1288 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1289 as_fn_error
"pwd does not report name of working directory"
1292 # Find the source files, if location was not specified.
1293 if test -z "$srcdir"; then
1294 ac_srcdir_defaulted
=yes
1295 # Try the directory containing this script, then the parent directory.
1296 ac_confdir
=`$as_dirname -- "$as_myself" ||
1297 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1298 X"$as_myself" : 'X\(//\)[^/]' \| \
1299 X"$as_myself" : 'X\(//\)$' \| \
1300 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1301 $as_echo X"$as_myself" |
1302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320 if test ! -r "$srcdir/$ac_unique_file"; then
1324 ac_srcdir_defaulted
=no
1326 if test ! -r "$srcdir/$ac_unique_file"; then
1327 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1328 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1330 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1332 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1334 # When building in place, set srcdir=.
1335 if test "$ac_abs_confdir" = "$ac_pwd"; then
1338 # Remove unnecessary trailing slashes from srcdir.
1339 # Double slashes in file names in object file debugging info
1340 # mess up M-x gdb in Emacs.
1342 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1344 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1346 for ac_var
in $ac_precious_vars; do
1347 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1348 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1349 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1350 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1354 # Report the --help message.
1356 if test "$ac_init_help" = "long"; then
1357 # Omit some internal or obsolete options to make the list less imposing.
1358 # This message is too long to be a string in the A/UX 3.1 sh.
1360 \`configure' configures this package to adapt to many kinds of systems.
1362 Usage: $0 [OPTION]... [VAR=VALUE]...
1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1365 VAR=VALUE. See below for descriptions of some of the useful variables.
1367 Defaults for the options are specified in brackets.
1370 -h, --help display this help and exit
1371 --help=short display options specific to this package
1372 --help=recursive display the short help of all the included packages
1373 -V, --version display version information and exit
1374 -q, --quiet, --silent do not print \`checking...' messages
1375 --cache-file=FILE cache test results in FILE [disabled]
1376 -C, --config-cache alias for \`--cache-file=config.cache'
1377 -n, --no-create do not create output files
1378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1380 Installation directories:
1381 --prefix=PREFIX install architecture-independent files in PREFIX
1382 [$ac_default_prefix]
1383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1386 By default, \`make install' will install all the files in
1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1389 for instance \`--prefix=\$HOME'.
1391 For better control, use the options below.
1393 Fine tuning of the installation directories:
1394 --bindir=DIR user executables [EPREFIX/bin]
1395 --sbindir=DIR system admin executables [EPREFIX/sbin]
1396 --libexecdir=DIR program executables [EPREFIX/libexec]
1397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1400 --libdir=DIR object code libraries [EPREFIX/lib]
1401 --includedir=DIR C header files [PREFIX/include]
1402 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1403 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1404 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1405 --infodir=DIR info documentation [DATAROOTDIR/info]
1406 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1407 --mandir=DIR man documentation [DATAROOTDIR/man]
1408 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1409 --htmldir=DIR html documentation [DOCDIR]
1410 --dvidir=DIR dvi documentation [DOCDIR]
1411 --pdfdir=DIR pdf documentation [DOCDIR]
1412 --psdir=DIR ps documentation [DOCDIR]
1418 --program-prefix=PREFIX prepend PREFIX to installed program names
1419 --program-suffix=SUFFIX append SUFFIX to installed program names
1420 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1423 --build=BUILD configure
for building on BUILD
[guessed
]
1424 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1425 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1429 if test -n "$ac_init_help"; then
1434 --disable-option-checking ignore unrecognized
--enable/--with options
1435 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1436 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1437 --enable-gold use gold instead of ld
1438 --enable-libada build libada directory
1439 --enable-libssp build libssp directory
1440 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1441 --disable-ppl-version-check disable check
for PPL version
1442 --disable-cloog-version-check disable check
for CLooG version
1443 --enable-stage1-languages[=all
] choose additional languages to build during
1444 stage1. Mostly useful
for compiler development.
1445 --enable-objc-gc enable use of Boehm
's garbage collector with the
1446 GNU Objective-C runtime
1447 --enable-bootstrap enable bootstrapping [yes if native build]
1448 --enable-serial-[{host,target,build}-]configure
1449 force sequential configuration of
1450 sub-packages for the host, target or build
1451 machine, or all sub-packages
1452 --enable-maintainer-mode enable make rules and dependencies not useful
1453 (and sometimes confusing) to the casual installer
1454 --enable-stage1-checking[=all] choose additional checking for stage1
1456 --enable-werror enable -Werror in bootstrap stage2 and later
1459 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1460 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1461 --with-build-libsubdir=DIR Directory where to find libraries for build system
1462 --with-mpc=PATH specify prefix directory for installed MPC package.
1463 Equivalent to --with-mpc-include=PATH/include
1464 plus --with-mpc-lib=PATH/lib
1465 --with-mpc-include=PATH
1466 specify directory for installed MPC include files
1467 --with-mpc-lib=PATH specify directory for the installed MPC library
1468 --with-mpfr-dir=PATH this option has been REMOVED
1469 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1470 Equivalent to --with-mpfr-include=PATH/include
1471 plus --with-mpfr-lib=PATH/lib
1472 --with-mpfr-include=PATH
1473 specify directory for installed MPFR include files
1474 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1475 --with-gmp-dir=PATH this option has been REMOVED
1476 --with-gmp=PATH specify prefix directory for the installed GMP package.
1477 Equivalent to --with-gmp-include=PATH/include
1478 plus --with-gmp-lib=PATH/lib
1479 --with-gmp-include=PATH specify directory for installed GMP include files
1480 --with-gmp-lib=PATH specify directory for the installed GMP library
1481 --with-host-libstdcxx=L Use linker arguments L to link with libstdc++
1482 when linking with PPL
1483 --with-stage1-ldflags=FLAGS Linker flags for stage1
1484 -with-stage1-libs=LIBS Libraries for stage1
1485 --with-boot-ldflags=FLAGS Linker flags for stage2 and later
1486 --with-boot-libs=LIBS Libraries for stage2 and later
1487 --with-ppl=PATH Specify prefix directory for the installed PPL package
1488 Equivalent to --with-ppl-include=PATH/include
1489 plus --with-ppl-lib=PATH/lib
1490 --with-ppl-include=PATH Specify directory for installed PPL include files
1491 --with-ppl-lib=PATH Specify the directory for the installed PPL library
1492 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL package
1493 Equivalent to --with-cloog-include=PATH/include
1494 plus --with-cloog-lib=PATH/lib
1495 --with-cloog-include=PATH Specify directory for installed CLooG include files
1496 --with-cloog-lib=PATH Specify the directory for the installed CLooG library
1497 --with-build-sysroot=SYSROOT
1498 use sysroot as the system root during the build
1499 --with-debug-prefix-map='A
=B C
=D ...
'
1500 map A to B, C to D ... in debug information
1501 --with-build-time-tools=PATH
1502 use given path to find target tools during the build
1504 Some influential environment variables:
1505 CC C compiler command
1506 CFLAGS C compiler flags
1507 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1508 nonstandard directory <lib dir>
1509 LIBS libraries to pass to the linker, e.g. -l<library>
1510 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1511 you have headers in a nonstandard directory <include dir>
1512 CXX C++ compiler command
1513 CXXFLAGS C++ compiler flags
1516 DLLTOOL DLLTOOL for the host
1518 LIPO LIPO for the host
1520 RANLIB RANLIB for the host
1521 STRIP STRIP for the host
1522 WINDRES WINDRES for the host
1523 WINDMC WINDMC for the host
1524 OBJCOPY OBJCOPY for the host
1525 OBJDUMP OBJDUMP for the host
1535 GFORTRAN for the target
1541 DLLTOOL for the target
1549 OBJDUMP for the target
1551 RANLIB for the target
1553 STRIP for the target
1555 WINDRES for the target
1557 WINDMC for the target
1559 Use these variables to override the choices made by `configure' or to
help
1560 it to
find libraries and programs with nonstandard names
/locations.
1562 Report bugs to the package provider.
1567 if test "$ac_init_help" = "recursive"; then
1568 # If there are subdirs, report their specific --help.
1569 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1570 test -d "$ac_dir" ||
1571 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1576 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1578 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1579 # A ".." for each directory in $ac_dir_suffix.
1580 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1581 case $ac_top_builddir_sub in
1582 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1583 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1586 ac_abs_top_builddir
=$ac_pwd
1587 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1588 # for backward compatibility:
1589 ac_top_builddir
=$ac_top_build_prefix
1592 .
) # We are building in place.
1594 ac_top_srcdir
=$ac_top_builddir_sub
1595 ac_abs_top_srcdir
=$ac_pwd ;;
1596 [\\/]* | ?
:[\\/]* ) # Absolute name.
1597 ac_srcdir
=$srcdir$ac_dir_suffix;
1598 ac_top_srcdir
=$srcdir
1599 ac_abs_top_srcdir
=$srcdir ;;
1601 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1602 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1603 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1605 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1607 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1608 # Check for guested configure.
1609 if test -f "$ac_srcdir/configure.gnu"; then
1611 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1612 elif test -f "$ac_srcdir/configure"; then
1614 $SHELL "$ac_srcdir/configure" --help=recursive
1616 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1618 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1622 test -n "$ac_init_help" && exit $ac_status
1623 if $ac_init_version; then
1626 generated by GNU Autoconf
2.64
1628 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1629 This configure
script is free software
; the Free Software Foundation
1630 gives unlimited permission to copy
, distribute and modify it.
1635 ## ------------------------ ##
1636 ## Autoconf initialization. ##
1637 ## ------------------------ ##
1639 # ac_fn_c_try_compile LINENO
1640 # --------------------------
1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_c_try_compile
()
1644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1645 rm -f conftest.
$ac_objext
1646 if { { ac_try
="$ac_compile"
1648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_compile") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest.$ac_objext; then :
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 } # ac_fn_c_try_compile
1677 # ac_fn_cxx_try_compile LINENO
1678 # ----------------------------
1679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1680 ac_fn_cxx_try_compile ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 rm -f conftest.$ac_objext
1684 if { { ac_try="$ac_compile"
1686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1687 *) ac_try_echo
=$ac_try;;
1689 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_compile") 2>conftest.err
1693 if test -s conftest.err
; then
1694 grep -v '^ *+' conftest.err
>conftest.er1
1695 cat conftest.er1
>&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_cxx_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest.
$ac_objext; then :
1705 $as_echo "$as_me: failed program was:" >&5
1706 sed 's/^/| /' conftest.
$ac_ext >&5
1710 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1713 } # ac_fn_cxx_try_compile
1715 # ac_fn_c_try_link LINENO
1716 # -----------------------
1717 # Try to link conftest.$ac_ext, and return whether this succeeded.
1720 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1721 rm -f conftest.
$ac_objext conftest
$ac_exeext
1722 if { { ac_try
="$ac_link"
1724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_link") 2>conftest.err
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest$ac_exeext && {
1741 test "$cross_compiling" = yes ||
1742 $as_test_x conftest$ac_exeext
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.$ac_ext >&5
1751 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1752 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1753 # interfere with the next link command; also delete a directory that is
1754 # left behind by Apple's compiler. We do this before executing the actions.
1755 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1756 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1759 } # ac_fn_c_try_link
1760 cat >config.log <<_ACEOF
1761 This file contains any messages produced by compilers while
1762 running configure, to aid debugging if configure makes a mistake.
1764 It was created by $as_me, which was
1765 generated by GNU Autoconf 2.64. Invocation command line was
1777 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1778 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1779 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1780 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1781 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1783 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1784 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1786 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1787 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1788 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1789 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1790 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1791 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1792 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1800 test -z "$as_dir" && as_dir=.
1801 $as_echo "PATH: $as_dir"
1817 # Keep a trace of the command line.
1818 # Strip out --no-create and --no-recursion so they do not pile up.
1819 # Strip out --silent because we don't want to record it for future runs.
1820 # Also quote any args containing shell meta-characters.
1821 # Make two passes to allow for proper duplicate-argument suppression.
1825 ac_must_keep_next=false
1831 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1832 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1833 | -silent | --silent | --silen | --sile | --sil)
1836 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1839 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1841 as_fn_append ac_configure_args1 " '$ac_arg'"
1842 if test $ac_must_keep_next = true; then
1843 ac_must_keep_next=false # Got value, back to normal.
1846 *=* | --config-cache | -C | -disable-* | --disable-* \
1847 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1848 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1849 | -with-* | --with-* | -without-* | --without-* | --x)
1850 case "$ac_configure_args0 " in
1851 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1854 -* ) ac_must_keep_next=true ;;
1857 as_fn_append ac_configure_args " '$ac_arg'"
1862 { ac_configure_args0=; unset ac_configure_args0;}
1863 { ac_configure_args1=; unset ac_configure_args1;}
1865 # When interrupted or exit'd, cleanup temporary files, and complete
1866 # config.log. We remove comments because anyway the quotes in there
1867 # would cause problems or look ugly.
1868 # WARNING: Use '\'' to represent an apostrophe within the trap.
1869 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1870 trap 'exit_status=$?
1871 # Save into config.log some information that might help in debugging.
1876 ## ---------------- ##
1877 ## Cache variables. ##
1878 ## ---------------- ##
1881 # The following way of writing the cache mishandles newlines in values,
1883 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1884 eval ac_val=\$$ac_var
1888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1889 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1892 _ | IFS | as_nl) ;; #(
1893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1894 *) { eval $ac_var=; unset $ac_var;} ;;
1899 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1900 *${as_nl}ac_space=\ *)
1902 "s/'\''/'\''\\\\'\'''\''/g;
1903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1914 ## ----------------- ##
1915 ## Output variables. ##
1916 ## ----------------- ##
1919 for ac_var in $ac_subst_vars
1921 eval ac_val=\$$ac_var
1923 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1925 $as_echo "$ac_var='\''$ac_val'\''"
1929 if test -n "$ac_subst_files"; then
1931 ## ------------------- ##
1932 ## File substitutions. ##
1933 ## ------------------- ##
1936 for ac_var in $ac_subst_files
1938 eval ac_val=\$$ac_var
1940 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1942 $as_echo "$ac_var='\''$ac_val'\''"
1947 if test -s confdefs.h; then
1957 test "$ac_signal" != 0 &&
1958 $as_echo "$as_me: caught signal $ac_signal"
1959 $as_echo "$as_me: exit $exit_status"
1961 rm -f core *.core core.conftest.* &&
1962 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1965 for ac_signal in 1 2 13 15; do
1966 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1970 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1971 rm -f -r conftest* confdefs.h
1973 $as_echo "/* confdefs.h */" > confdefs.h
1975 # Predefined preprocessor variables.
1977 cat >>confdefs.h <<_ACEOF
1978 #define PACKAGE_NAME "$PACKAGE_NAME"
1981 cat >>confdefs.h <<_ACEOF
1982 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1985 cat >>confdefs.h <<_ACEOF
1986 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1989 cat >>confdefs.h <<_ACEOF
1990 #define PACKAGE_STRING "$PACKAGE_STRING"
1993 cat >>confdefs.h <<_ACEOF
1994 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1997 cat >>confdefs.h <<_ACEOF
1998 #define PACKAGE_URL "$PACKAGE_URL"
2002 # Let the site file select an alternate cache file if it wants to.
2003 # Prefer an explicitly selected file to automatically selected ones.
2006 if test -n "$CONFIG_SITE"; then
2007 ac_site_file1=$CONFIG_SITE
2008 elif test "x$prefix" != xNONE; then
2009 ac_site_file1=$prefix/share/config.site
2010 ac_site_file2=$prefix/etc/config.site
2012 ac_site_file1=$ac_default_prefix/share/config.site
2013 ac_site_file2=$ac_default_prefix/etc/config.site
2015 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2017 test "x$ac_site_file" = xNONE && continue
2018 if test -r "$ac_site_file"; then
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2020 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2021 sed 's/^/| /' "$ac_site_file" >&5
2026 if test -r "$cache_file"; then
2027 # Some versions of bash will fail to source /dev/null (special
2028 # files actually), so we avoid doing that.
2029 if test -f "$cache_file"; then
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2031 $as_echo "$as_me: loading cache $cache_file" >&6;}
2033 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2034 *) . "./$cache_file";;
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2039 $as_echo "$as_me: creating cache $cache_file" >&6;}
2043 # Check that the precious variables saved in the cache have kept the same
2045 ac_cache_corrupted=false
2046 for ac_var in $ac_precious_vars; do
2047 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2048 eval ac_new_set=\$ac_env_${ac_var}_set
2049 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2050 eval ac_new_val=\$ac_env_${ac_var}_value
2051 case $ac_old_set,$ac_new_set in
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2054 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2055 ac_cache_corrupted=: ;;
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2058 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2059 ac_cache_corrupted=: ;;
2062 if test "x$ac_old_val" != "x$ac_new_val"; then
2063 # differences in whitespace do not lead to failure.
2064 ac_old_val_w=`echo x
$ac_old_val`
2065 ac_new_val_w=`echo x
$ac_new_val`
2066 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2068 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2069 ac_cache_corrupted=:
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2072 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2073 eval $ac_var=\$ac_old_val
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2076 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2078 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2081 # Pass precious variables to config.status.
2082 if test "$ac_new_set" = set; then
2084 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2085 *) ac_arg=$ac_var=$ac_new_val ;;
2087 case " $ac_configure_args " in
2088 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2089 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2093 if $ac_cache_corrupted; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2097 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2098 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2100 ## -------------------- ##
2101 ## Main body of script. ##
2102 ## -------------------- ##
2105 ac_cpp='$CPP $CPPFLAGS'
2106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2119 # if PWD already has a value, it is probably wrong.
2120 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2122 # Export original configure arguments for use by sub-configures.
2123 # Quote arguments with shell meta charatcers.
2124 TOPLEVEL_CONFIGURE_ARGUMENTS=
2125 set -- "$progname" "$@"
2129 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2130 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2131 # if the argument is of the form -foo=baz, quote the baz part only
2132 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2135 # Add the quoted argument to the list.
2136 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2138 if test "$silent" = yes; then
2139 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2141 # Remove the initial space we just introduced and, as these will be
2142 # expanded by make, quote '$'.
2143 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2146 # Find the build, host, and target systems.
2148 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2149 for ac_t in install-sh install.sh shtool; do
2150 if test -f "$ac_dir/$ac_t"; then
2152 ac_install_sh="$ac_aux_dir/$ac_t -c"
2157 if test -z "$ac_aux_dir"; then
2158 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2161 # These three variables are undocumented and unsupported,
2162 # and are intended to be withdrawn in a future Autoconf release.
2163 # They can cause serious problems if a builder's source tree is in a directory
2164 # whose full name contains unusual characters.
2165 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2166 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2167 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2170 # Make sure we can run config.sub.
2171 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2172 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2175 $as_echo_n "checking build system type... " >&6; }
2176 if test "${ac_cv_build+set}" = set; then :
2177 $as_echo_n "(cached) " >&6
2179 ac_build_alias=$build_alias
2180 test "x$ac_build_alias" = x &&
2181 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2182 test "x$ac_build_alias" = x &&
2183 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2184 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2185 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2189 $as_echo "$ac_cv_build" >&6; }
2190 case $ac_cv_build in
2192 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2195 ac_save_IFS=$IFS; IFS='-'
2201 # Remember, the first character of IFS is used to create $*,
2202 # except with old shells:
2205 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2208 case ${build_alias} in
2209 "") build_noncanonical=${build} ;;
2210 *) build_noncanonical=${build_alias} ;;
2215 case ${host_alias} in
2216 "") host_noncanonical=${build_noncanonical} ;;
2217 *) host_noncanonical=${host_alias} ;;
2222 case ${target_alias} in
2223 "") target_noncanonical=${host_noncanonical} ;;
2224 *) target_noncanonical=${target_alias} ;;
2230 test "$host_noncanonical" = "$target_noncanonical" &&
2231 test "$program_prefix$program_suffix$program_transform_name" = \
2233 program_transform_name=s,y,y,
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2236 $as_echo_n "checking host system type... " >&6; }
2237 if test "${ac_cv_host+set}" = set; then :
2238 $as_echo_n "(cached) " >&6
2240 if test "x$host_alias" = x; then
2241 ac_cv_host=$ac_cv_build
2243 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2244 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2249 $as_echo "$ac_cv_host" >&6; }
2252 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2255 ac_save_IFS=$IFS; IFS='-'
2261 # Remember, the first character of IFS is used to create $*,
2262 # except with old shells:
2265 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2269 $as_echo_n "checking target system type... " >&6; }
2270 if test "${ac_cv_target+set}" = set; then :
2271 $as_echo_n "(cached) " >&6
2273 if test "x$target_alias" = x; then
2274 ac_cv_target=$ac_cv_host
2276 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2277 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2282 $as_echo "$ac_cv_target" >&6; }
2283 case $ac_cv_target in
2285 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2287 target=$ac_cv_target
2288 ac_save_IFS=$IFS; IFS='-'
2294 # Remember, the first character of IFS is used to create $*,
2295 # except with old shells:
2298 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2301 # The aliases save the names the user supplied, while $host etc.
2302 # will get canonicalized.
2303 test -n "$target_alias" &&
2304 test "$program_prefix$program_suffix$program_transform_name" = \
2306 program_prefix=${target_alias}-
2308 test "$program_prefix" != NONE &&
2309 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2310 # Use a double $ so make ignores it.
2311 test "$program_suffix" != NONE &&
2312 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2313 # Double any \ or $.
2314 # By default was `s
,x
,x
', remove it if useless.
2315 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2316 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2320 # Get 'install' or 'install-sh
' and its variants.
2321 # Find a good install program. We prefer a C program (faster),
2322 # so one script is as good as another. But avoid the broken or
2323 # incompatible versions:
2324 # SysV /etc/install, /usr/sbin/install
2325 # SunOS /usr/etc/install
2326 # IRIX /sbin/install
2328 # AmigaOS /C/install, which installs bootblocks on floppy discs
2329 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2330 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2331 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2332 # OS/2's system install, which has a completely different semantic
2333 # ./install, which can be erroneously created by make from ./install.sh.
2334 # Reject install programs that cannot install multiple files.
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2336 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2337 if test -z "$INSTALL"; then
2338 if test "${ac_cv_path_install+set}" = set; then :
2339 $as_echo_n "(cached) " >&6
2341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2345 test -z "$as_dir" && as_dir
=.
2346 # Account for people who put trailing slashes in PATH elements.
2347 case $as_dir/ in #((
2348 .
/ | .
// |
/[cC
]/* | \
2349 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2350 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2353 # OSF1 and SCO ODT 3.0 have their own names for install.
2354 # Don't use installbsd from OSF since it installs stuff as root
2356 for ac_prog
in ginstall scoinst
install; do
2357 for ac_exec_ext
in '' $ac_executable_extensions; do
2358 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2359 if test $ac_prog = install &&
2360 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2361 # AIX install. It has an incompatible calling convention.
2363 elif test $ac_prog = install &&
2364 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2365 # program-specific install script used by HP pwplus--don't use.
2368 rm -rf conftest.one conftest.two conftest.dir
2369 echo one
> conftest.one
2370 echo two
> conftest.two
2372 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2373 test -s conftest.one
&& test -s conftest.two
&&
2374 test -s conftest.dir
/conftest.one
&&
2375 test -s conftest.dir
/conftest.two
2377 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2390 rm -rf conftest.one conftest.two conftest.dir
2393 if test "${ac_cv_path_install+set}" = set; then
2394 INSTALL
=$ac_cv_path_install
2396 # As a last resort, use the slow shell script. Don't cache a
2397 # value for INSTALL within a source directory, because that will
2398 # break other packages using the cache if that directory is
2399 # removed, or if the value is a relative name.
2400 INSTALL
=$ac_install_sh
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2404 $as_echo "$INSTALL" >&6; }
2406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2407 # It thinks the first close brace ends the variable substitution.
2408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2412 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2415 $as_echo_n "checking whether ln works... " >&6; }
2416 if test "${acx_cv_prog_LN+set}" = set; then :
2417 $as_echo_n "(cached) " >&6
2419 rm -f conftestdata_t
2420 echo >conftestdata_f
2421 if ln conftestdata_f conftestdata_t
2>/dev
/null
2427 rm -f conftestdata_f conftestdata_t
2430 if test $acx_cv_prog_LN = no
; then
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2433 $as_echo "no, using $LN" >&6; }
2435 LN
="$acx_cv_prog_LN"
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2437 $as_echo "yes" >&6; }
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2441 $as_echo_n "checking whether ln -s works... " >&6; }
2443 if test "$LN_S" = "ln -s"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2445 $as_echo "yes" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2448 $as_echo "no, using $LN_S" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2452 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2453 if test "${ac_cv_path_SED+set}" = set; then :
2454 $as_echo_n "(cached) " >&6
2456 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2457 for ac_i
in 1 2 3 4 5 6 7; do
2458 ac_script
="$ac_script$as_nl$ac_script"
2460 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2461 { ac_script
=; unset ac_script
;}
2462 if test -z "$SED"; then
2463 ac_path_SED_found
=false
2464 # Loop through the user's path and test for each of PROGNAME-LIST
2465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2469 test -z "$as_dir" && as_dir
=.
2470 for ac_prog
in sed gsed
; do
2471 for ac_exec_ext
in '' $ac_executable_extensions; do
2472 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2473 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2474 # Check for GNU ac_path_SED and select it if it is found.
2475 # Check for GNU $ac_path_SED
2476 case `"$ac_path_SED" --version 2>&1` in
2478 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2481 $as_echo_n 0123456789 >"conftest.in"
2484 cat "conftest.in" "conftest.in" >"conftest.tmp"
2485 mv "conftest.tmp" "conftest.in"
2486 cp "conftest.in" "conftest.nl"
2487 $as_echo '' >> "conftest.nl"
2488 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2489 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2490 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2491 if test $ac_count -gt ${ac_path_SED_max-0}; then
2492 # Best one so far, save it but keep looking for a better one
2493 ac_cv_path_SED
="$ac_path_SED"
2494 ac_path_SED_max
=$ac_count
2496 # 10*(2^10) chars as input seems more than enough
2497 test $ac_count -gt 10 && break
2499 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2502 $ac_path_SED_found && break 3
2507 if test -z "$ac_cv_path_SED"; then
2508 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2516 $as_echo "$ac_cv_path_SED" >&6; }
2517 SED
="$ac_cv_path_SED"
2520 for ac_prog
in gawk mawk nawk
awk
2522 # Extract the first word of "$ac_prog", so it can be a program name with args.
2523 set dummy
$ac_prog; ac_word
=$2
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2525 $as_echo_n "checking for $ac_word... " >&6; }
2526 if test "${ac_cv_prog_AWK+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 if test -n "$AWK"; then
2530 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2536 test -z "$as_dir" && as_dir
=.
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2539 ac_cv_prog_AWK
="$ac_prog"
2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 if test -n "$AWK"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2552 $as_echo "$AWK" >&6; }
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2555 $as_echo "no" >&6; }
2559 test -n "$AWK" && break
2563 ### we might need to use some other shell than /bin/sh for running subshells
2564 ### If we are on Windows, search for the shell. This will permit people
2565 ### to not have /bin/sh, but to be able to see /SOME/PATH/sh configure
2566 ### without also having to set CONFIG_SHELL. This code will work when
2567 ### using bash, which sets OSTYPE.
2570 if test x
${CONFIG_SHELL} = x
; then
2571 if test ! -f /bin
/sh
; then
2572 if test x
${SHELL} != x
&& test -f ${SHELL} ; then
2573 CONFIG_SHELL
=${SHELL}
2576 for prog
in sh sh.exe bash bash.exe
; do
2577 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
2578 for dir
in $PATH; do
2579 test -z "$dir" && dir
=.
2580 if test -f $dir/$prog; then
2581 CONFIG_SHELL
=$dir/$prog
2587 test -n "${CONFIG_SHELL}" && break
2595 config_shell
=${CONFIG_SHELL-/bin/sh}
2597 moveifchange
=${srcdir}/move-if-change
2599 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2601 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2603 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2604 INSTALL
="${srcpwd}/install-sh -c"
2607 # Set srcdir to "." if that's what it is.
2608 # This is important for multilib support.
2610 if test "${pwd}" = "${srcpwd}" ; then
2618 ### To add a new directory to the tree, first choose whether it is a target
2619 ### or a host dependent tool. Then put it into the appropriate list
2620 ### (library or tools, host or target), doing a dependency sort.
2622 # Subdirs will be configured in the order listed in build_configdirs,
2623 # configdirs, or target_configdirs; see the serialization section below.
2625 # Dependency sorting is only needed when *configuration* must be done in
2626 # a particular order. In all cases a dependency should be specified in
2627 # the Makefile, whether or not it's implicitly specified here.
2629 # Double entries in build_configdirs, configdirs, or target_configdirs may
2630 # cause circular dependencies and break everything horribly.
2632 # these library is used by various programs built for the build
2635 build_libs
="build-libiberty"
2637 # these tools are built for the build environment
2638 build_tools
="build-texinfo build-byacc build-flex build-bison build-m4 build-fixincludes"
2640 # these libraries are used by various programs built for the host environment
2642 host_libs
="intl mmalloc libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libiconv"
2644 # these tools are built for the host environment
2645 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2646 # know that we are building the simulator.
2647 # binutils, gas and ld appear in that order because it makes sense to run
2648 # "make check" in that particular order.
2649 # If --enable-gold is used, "gold" will replace "ld".
2650 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"
2652 # libgcj represents the runtime libraries only used by gcj.
2653 libgcj
="target-libffi \
2658 # these libraries are built for the target environment, and are built after
2659 # the host libraries and the host tools (which may be a cross compiler)
2661 target_libraries
="target-libgcc \
2666 target-libstdc++-v3 \
2669 target-libgfortran \
2675 # these tools are built using the target libraries, and are intended to
2676 # run only in the target environment
2678 # note: any program that *uses* libraries that are in the "target_libraries"
2679 # list belongs in this list. those programs are also very likely
2680 # candidates for the "native_only" list which follows
2682 target_tools
="target-examples target-groff target-gperf target-rda"
2684 ################################################################################
2686 ## All tools belong in one of the four categories, and are assigned above
2687 ## We assign ${configdirs} this way to remove all embedded newlines. This
2688 ## is important because configure will choke if they ever get through.
2689 ## ${configdirs} is directories we build using the host tools.
2690 ## ${target_configdirs} is directories we build using the target tools.
2691 configdirs
=`echo ${host_libs} ${host_tools}`
2692 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2693 build_configdirs
=`echo ${build_libs} ${build_tools}`
2697 ################################################################################
2699 srcname
="gnu development package"
2701 # This gets set non-empty for some net releases of packages.
2704 # Define is_cross_compiler to save on calls to 'test'.
2706 if test x
"${host}" = x
"${target}" ; then
2707 is_cross_compiler
=no
2709 is_cross_compiler
=yes
2712 # Find the build and target subdir names.
2714 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2715 # have matching libraries, they should use host libraries: Makefile.tpl
2716 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2717 # However, they still use the build modules, because the corresponding
2718 # host modules (e.g. bison) are only built for the host when bootstrap
2720 # - build_subdir is where we find build modules, and never changes.
2721 # - build_libsubdir is where we find build libraries, and can be overridden.
2723 # Prefix 'build-' so this never conflicts with target_subdir.
2724 build_subdir
="build-${build_noncanonical}"
2726 # Check whether --with-build-libsubdir was given.
2727 if test "${with_build_libsubdir+set}" = set; then :
2728 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2730 build_libsubdir
="$build_subdir"
2733 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2734 if ( test $srcdir = .
&& test -d gcc
) \
2735 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2736 host_subdir
="host-${host_noncanonical}"
2741 target_subdir
=${target_noncanonical}
2744 # Skipdirs are removed silently.
2746 # Noconfigdirs are removed loudly.
2750 # Make sure we don't let GNU ld be added if we didn't want it.
2751 if test x
$with_gnu_ld = xno
; then
2753 noconfigdirs
="$noconfigdirs ld gold"
2757 # Make sure we don't let GNU as be added if we didn't want it.
2758 if test x
$with_gnu_as = xno
; then
2760 noconfigdirs
="$noconfigdirs gas"
2763 # some tools are so dependent upon X11 that if we're not building with X,
2764 # it's not even worth trying to configure, much less build, that tool.
2767 yes |
"") ;; # the default value for this tree is that X11 is available
2769 skipdirs
="${skipdirs} tk itcl libgui"
2770 # We won't be able to build gdbtk without X.
2773 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2776 # Some tools are only suitable for building in a "native" situation.
2777 # Remove these if host!=target.
2778 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"
2780 # Similarly, some are only suitable for cross toolchains.
2781 # Remove these if host=target.
2782 cross_only
="target-libgloss target-newlib target-opcodes"
2784 case $is_cross_compiler in
2785 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2786 yes) skipdirs
="${skipdirs} ${native_only}" ;;
2789 # If both --with-headers and --with-libs are specified, default to
2791 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2792 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2793 if test x
"${with_newlib}" = x
; then
2798 # Recognize --with-newlib/--without-newlib.
2799 case ${with_newlib} in
2800 no
) skipdirs
="${skipdirs} target-newlib" ;;
2801 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2804 # Handle --enable-gold.
2806 # Check whether --enable-gold was given.
2807 if test "${enable_gold+set}" = set; then :
2808 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2813 if test "${ENABLE_GOLD}" = "yes"; then
2814 # Check for ELF target.
2817 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2818 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2819 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-solaris2* |
*-*-nto*)
2821 *-*-linux*aout
* |
*-*-linux*oldld
*)
2829 if test "$is_elf" = "yes"; then
2830 # Check for target supported by gold.
2832 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2833 configdirs
="`echo " ${configdirs} " | sed -e 's/ ld / gold /'`"
2839 # Configure extra directories which are host specific
2843 configdirs
="$configdirs libtermcap" ;;
2846 # A target can indicate whether a language isn't supported for some reason.
2847 # Only spaces may be used in this macro; not newlines or tabs.
2848 unsupported_languages
=
2850 # Remove more programs from consideration, based on the host or
2851 # target this usually means that a port of the program doesn't
2856 noconfigdirs
="$noconfigdirs byacc"
2858 i
[3456789]86-*-vsta)
2859 noconfigdirs
="$noconfigdirs tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff guile perl itcl gnuserv gettext"
2861 i
[3456789]86-*-go32* | i
[3456789]86-*-msdosdjgpp*)
2862 noconfigdirs
="$noconfigdirs tcl tk expect dejagnu send-pr uudecode guile itcl gnuserv libffi"
2865 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2867 i
[3456789]86-*-mingw32*)
2868 # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
2869 noconfigdirs
="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
2871 i
[3456789]86-*-beos*)
2872 noconfigdirs
="$noconfigdirs tk itcl libgui gdb"
2875 noconfigdirs
="$noconfigdirs autoconf automake send-pr rcs guile perl"
2878 noconfigdirs
="$noconfigdirs rcs"
2881 noconfigdirs
="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
2884 noconfigdirs
="$noconfigdirs tk itcl libgui gdb dejagnu readline"
2889 # Check whether --enable-libada was given.
2890 if test "${enable_libada+set}" = set; then :
2891 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2896 if test "${ENABLE_LIBADA}" != "yes" ; then
2897 noconfigdirs
="$noconfigdirs gnattools"
2900 # Check whether --enable-libssp was given.
2901 if test "${enable_libssp+set}" = set; then :
2902 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2908 # Save it here so that, even in case of --enable-libgcj, if the Java
2909 # front-end isn't enabled, we still get libgcj disabled.
2910 libgcj_saved
=$libgcj
2911 case $enable_libgcj in
2913 # If we reset it here, it won't get added to noconfigdirs in the
2914 # target-specific build rules, so it will be forcibly enabled
2915 # (unless the Java language itself isn't enabled).
2919 # Make sure we get it printed in the list of not supported target libs.
2920 noconfigdirs
="$noconfigdirs ${libgcj}"
2925 # Disable libmudflap on some systems.
2926 if test x
$enable_libmudflap = x
; then
2928 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
2929 # Enable libmudflap by default in GNU and friends.
2932 # Enable libmudflap by default in FreeBSD.
2935 # Disable it by default everywhere else.
2936 noconfigdirs
="$noconfigdirs target-libmudflap"
2941 # Disable libgomp on non POSIX hosted systems.
2942 if test x
$enable_libgomp = x
; then
2943 # Enable libgomp by default on hosted POSIX systems.
2945 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
2947 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd*)
2949 *-*-solaris2* |
*-*-sysv4* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
2951 *-*-darwin* |
*-*-aix*)
2954 noconfigdirs
="$noconfigdirs target-libgomp"
2959 # Default libgloss CPU subdirectory.
2960 libgloss_dir
="$target_cpu"
2964 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2967 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2968 noconfigdirs
="$noconfigdirs sim target-rda"
2970 i
[3456789]86-*-darwin*)
2971 noconfigdirs
="$noconfigdirs ld gprof"
2972 noconfigdirs
="$noconfigdirs sim target-rda"
2974 x86_64-
*-darwin[912]*)
2975 noconfigdirs
="$noconfigdirs ld gas gprof"
2976 noconfigdirs
="$noconfigdirs sim target-rda"
2979 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
2980 noconfigdirs
="$noconfigdirs sim target-rda"
2981 noconfigdirs
="$noconfigdirs ${libgcj}"
2983 *-*-freebsd[12] |
*-*-freebsd[12].
* |
*-*-freebsd*aout
*)
2984 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
2987 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
2988 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
2989 && test -f /usr
/local
/include
/gmp.h
; then
2993 # Skip some stuff that's unsupported on some FreeBSD configurations.
2998 noconfigdirs
="$noconfigdirs ${libgcj}"
3003 # Remove unsupported stuff on all kaOS configurations.
3004 skipdirs
="target-libiberty ${libgcj} target-libstdc++-v3 target-librx"
3005 skipdirs
="$skipdirs target-libobjc target-examples target-groff target-gperf"
3006 skipdirs
="$skipdirs zlib fastjar target-libjava target-boehm-gc target-zlib"
3007 noconfigdirs
="$noconfigdirs target-libgloss"
3010 # Skip some stuff on all NetBSD configurations.
3011 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss"
3013 # Skip some stuff that's unsupported on some NetBSD configurations.
3015 i
*86-*-netbsdelf*) ;;
3016 arm
*-*-netbsdelf*) ;;
3018 noconfigdirs
="$noconfigdirs ${libgcj}"
3023 noconfigdirs
="$noconfigdirs target-newlib target-libiberty target-libgloss ${libgcj} target-libmudflap"
3026 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3028 # The tpf target doesn't support gdb yet.
3030 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty ${libgcj} target-libmudflap gdb tcl tk libgui itcl"
3033 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-rda ${libgcj}"
3036 noconfigdirs
="$noconfigdirs target-newlib target-libgloss target-libiberty target-libstdc++-v3 ${libgcj}"
3039 # ld works, but does not support shared libraries.
3040 # newlib is not 64 bit ready. I'm not sure about fileutils.
3041 # gas doesn't generate exception information.
3042 noconfigdirs
="$noconfigdirs gas ld fileutils target-newlib target-libgloss"
3045 noconfigdirs
="$noconfigdirs gdb ld target-newlib target-libgloss ${libgcj}"
3048 # newlib is not 64 bit ready
3049 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3052 # newlib is not 64 bit ready
3053 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3056 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3059 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss"
3061 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3062 noconfigdirs
="$noconfigdirs ${libgcj}"
3063 noconfigdirs
="$noconfigdirs target-examples"
3064 noconfigdirs
="$noconfigdirs target-libiberty texinfo send-pr"
3065 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3066 noconfigdirs
="$noconfigdirs expect dejagnu"
3067 # the C++ libraries don't build on top of CE's C libraries
3068 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3069 noconfigdirs
="$noconfigdirs target-newlib"
3071 *-*-cygwin*) ;; # keep gdb and readline
3072 *) noconfigdirs
="$noconfigdirs gdb readline"
3078 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3082 arm-
*-coff | strongarm-
*-coff | xscale-
*-coff)
3083 noconfigdirs
="$noconfigdirs ${libgcj}"
3086 arm-
*-elf* | strongarm-
*-elf* | xscale-
*-elf* | arm
*-*-eabi* )
3087 noconfigdirs
="$noconfigdirs target-libffi target-qthreads"
3090 arm
*-*-linux-gnueabi)
3091 noconfigdirs
="$noconfigdirs target-qthreads"
3092 case ${with_newlib} in
3093 no
) noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3098 noconfigdirs
="$noconfigdirs ${libgcj} target-libiberty"
3102 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3105 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3108 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3111 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3114 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3117 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj} target-libssp"
3120 noconfigdirs
="$noconfigdirs gdb"
3121 if test x
${is_cross_compiler} != xno
; then
3122 target_configdirs
="${target_configdirs} target-bsp target-cygmon"
3125 c4x-
*-* | tic4x-
*-*)
3126 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3128 c54x
*-*-* | tic54x-
*-*)
3129 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj} gcc gdb newlib"
3132 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3134 cris-
*-* | crisv32-
*-*)
3135 unsupported_languages
="$unsupported_languages java"
3138 unsupported_languages
="$unsupported_languages fortran"
3139 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3141 noconfigdirs
="$noconfigdirs target-boehm-gc";;
3143 noconfigdirs
="$noconfigdirs target-newlib target-libgloss";;
3145 unsupported_languages
="$unsupported_languages fortran"
3146 noconfigdirs
="$noconfigdirs ${libgcj} target-newlib target-libgloss";;
3151 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-mudflap ${libgcj}"
3154 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3157 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3159 ep9312-
*-elf | ep9312-
*-coff)
3163 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3166 noconfigdirs
="$noconfigdirs ${libgcj}"
3169 noconfigdirs
="$noconfigdirs ${libgcj}"
3170 noconfigdirs
="$noconfigdirs gprof"
3173 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3176 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3178 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3180 hppa
*64*-*-linux* | parisc
*64*-*-linux*)
3181 # In this case, it's because the hppa64-linux target is for
3182 # the kernel only at this point and has no libc, and thus no
3183 # headers, crt*.o, etc., all of which are needed by these.
3184 noconfigdirs
="$noconfigdirs target-zlib"
3186 parisc
*-*-linux* | hppa
*-*-linux*)
3190 hppa
*-*-openbsd* | \
3192 noconfigdirs
="$noconfigdirs ${libgcj}"
3195 noconfigdirs
="$noconfigdirs ld shellutils"
3201 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3202 # build on HP-UX 10.20.
3203 noconfigdirs
="$noconfigdirs ld shellutils ${libgcj}"
3206 noconfigdirs
="$noconfigdirs ${libgcj} gdb"
3209 # No gdb support yet.
3210 noconfigdirs
="$noconfigdirs readline mmalloc libgui itcl gdb"
3213 # No gdb or ld support yet.
3214 noconfigdirs
="$noconfigdirs ${libgcj} readline mmalloc libgui itcl gdb ld"
3217 # No gdb or ld support yet.
3218 noconfigdirs
="$noconfigdirs ${libgcj} tix readline mmalloc libgui itcl gdb ld"
3222 i
[3456789]86-*-coff | i
[3456789]86-*-elf)
3223 noconfigdirs
="$noconfigdirs ${libgcj}"
3226 i
[3456789]86-*-linux*)
3227 # The GCC port for glibc1 has no MD_FALLBACK_FRAME_STATE_FOR, so let's
3228 # not build java stuff by default.
3231 noconfigdirs
="$noconfigdirs ${libgcj}";;
3234 # This section makes it possible to build newlib natively on linux.
3235 # If we are using a cross compiler then don't configure newlib.
3236 if test x
${is_cross_compiler} != xno
; then
3237 noconfigdirs
="$noconfigdirs target-newlib"
3239 noconfigdirs
="$noconfigdirs target-libgloss"
3240 # If we are not using a cross compiler, do configure newlib.
3241 # Note however, that newlib will only be configured in this situation
3242 # if the --with-newlib option has been given, because otherwise
3243 # 'target-newlib' will appear in skipdirs.
3245 i
[3456789]86-*-mingw32*)
3246 target_configdirs
="$target_configdirs target-winsup"
3247 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3250 target_configdirs
="$target_configdirs target-winsup"
3251 noconfigdirs
="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
3254 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3255 noconfigdirs
="$noconfigdirs target-gperf target-libgloss"
3256 # always build newlib if winsup directory is present.
3257 if test -d "$srcdir/winsup/cygwin"; then
3258 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3259 elif test -d "$srcdir/newlib"; then
3260 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3263 i
[3456789]86-moss-msdos | i
[3456789]86-*-moss* | \
3264 i
[3456789]86-*-uwin* | i
[3456789]86-*-interix* )
3267 noconfigdirs
="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
3269 i
[3456789]86-*-sco3.2v5
*)
3270 # The linker does not yet know about weak symbols in COFF,
3271 # and is not configured to handle mixed ELF and COFF.
3272 noconfigdirs
="$noconfigdirs ld target-libgloss ${libgcj}"
3274 i
[3456789]86-*-sco*)
3275 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3277 i
[3456789]86-*-solaris2*)
3278 noconfigdirs
="$noconfigdirs target-libgloss"
3280 i
[3456789]86-*-sysv4*)
3281 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3283 i
[3456789]86-*-beos*)
3284 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3286 i
[3456789]86-*-rdos*)
3287 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3290 noconfigdirs
="$noconfigdirs ${libgcj}"
3292 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3293 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3294 libgloss_dir
=m68hc11
3297 noconfigdirs
="$noconfigdirs ${libgcj}"
3300 noconfigdirs
="$noconfigdirs ${libgcj}"
3302 m68
*-*-* | fido-
*-*)
3306 # The EPOC C++ environment does not support exceptions or rtti,
3307 # and so building libstdc++-v3 tends not to always work.
3308 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3311 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc gdb libgloss"
3312 unsupported_languages
="$unsupported_languages fortran java"
3315 noconfigdirs
="$noconfigdirs ${libgcj}"
3318 noconfigdirs
="$noconfigdirs ${libgcj}"
3321 noconfigdirs
="$noconfigdirs sim"
3324 # copied from rs6000-*-* entry
3325 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3327 powerpc
*-*-winnt* | powerpc
*-*-pe* | ppc
*-*-pe)
3328 target_configdirs
="$target_configdirs target-winsup"
3329 noconfigdirs
="$noconfigdirs gdb tcl tk make expect target-libgloss itcl gnuserv ${libgcj}"
3330 # always build newlib.
3331 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3333 # This is temporary until we can link against shared libraries
3334 powerpcle-
*-solaris*)
3335 noconfigdirs
="$noconfigdirs gdb sim make tcl tk expect itcl gnuserv ${libgcj}"
3339 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss ${libgcj}"
3342 noconfigdirs
="$noconfigdirs ${libgcj}"
3345 powerpc-
*-eabi* | powerpcle-
*-eabi* | powerpc-
*-rtems* )
3349 noconfigdirs
="$noconfigdirs target-newlib gprof ${libgcj}"
3352 noconfigdirs
="$noconfigdirs gprof target-libgloss target-libssp target-newlib ${libgcj}"
3355 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss ${libgcj}"
3361 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3364 skipdirs
="$skipdirs target-libiberty"
3365 noconfigdirs
="$noconfigdirs ${libgcj}"
3366 if test x
$with_newlib = xyes
; then
3367 noconfigdirs
="$noconfigdirs gprof"
3372 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3375 # Linking libjava exceeds command-line length limits on at least
3376 # IRIX 6.2, but not on IRIX 6.5.
3377 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3378 # <oldham@codesourcery.com>
3379 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3382 noconfigdirs
="$noconfigdirs gprof target-libgloss ${libgcj}"
3385 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3388 noconfigdirs
="$noconfigdirs gprof ${libgcj}"
3392 noconfigdirs
="$noconfigdirs bfd binutils ld gas opcodes target-libgloss ${libgcj}"
3396 i
[3456789]86-*-vsta) ;; # don't add gprof back in
3397 i
[3456789]86-*-go32*) ;; # don't add gprof back in
3398 i
[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
3399 *) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
3403 noconfigdirs
="$noconfigdirs ${libgcj}" ;;
3405 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}" ;;
3408 sparclet-
*-aout* | sparc86x-
*-*)
3412 noconfigdirs
="$noconfigdirs ${libgcj}"
3415 noconfigdirs
="$noconfigdirs ${libgcj}"
3419 noconfigdirs
="$noconfigdirs ${libgcj}"
3423 noconfigdirs
="$noconfigdirs ${libgcj}"
3424 if test x
${is_cross_compiler} != xno
; then
3425 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3430 sparc-
*-solaris2.
[0-6] | sparc-
*-solaris2.
[0-6].
*)
3431 noconfigdirs
="$noconfigdirs ${libgcj}"
3433 sparc-
*-solaris* | sparc64-
*-solaris* | sparcv9-
*-solaris*)
3436 noconfigdirs
="$noconfigdirs bfd binutils gas gcc gdb ld target-libstdc++-v3 opcodes target-libgloss ${libgcj}"
3439 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3442 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3445 noconfigdirs
="$noconfigdirs target-libgloss ${libgcj}"
3448 noconfigdirs
="$noconfigdirs bfd binutils gdb ld target-newlib opcodes target-libgloss ${libgcj}"
3451 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3454 noconfigdirs
="$noconfigdirs ${libgcj}"
3457 noconfigdirs
="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
3459 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3460 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3463 noconfigdirs
="$noconfigdirs target-newlib target-libgloss ${libgcj}"
3466 noconfigdirs
="$noconfigdirs ${libgcj}"
3470 # If we aren't building newlib, then don't build libgloss, since libgloss
3471 # depends upon some newlib header files.
3472 case "${noconfigdirs}" in
3473 *target-libgloss
*) ;;
3474 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3477 # Work in distributions that contain no compiler tools, like Autoconf.
3479 host_makefile_frag
=/dev
/null
3480 if test -d ${srcdir}/config
; then
3483 # Avoid "too much defining" errors from HPUX compiler.
3484 tentative_cc
="cc -Wp,-H256000"
3485 # If "ar" in $PATH is GNU ar, the symbol table may need rebuilding.
3486 # If it's HP/UX ar, this should be harmless.
3490 tentative_cc
="cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DUSG"
3493 #None of the Apollo compilers can compile gas or binutils. The preprocessor
3494 # chokes on bfd, the compiler won't let you assign integers to enums, and
3495 # other problems. Defining CC to gcc is a questionable way to say "don't use
3496 # the apollo compiler" (the preferred version of GCC could be called cc,
3497 # or whatever), but I'm not sure leaving CC as cc is any better...
3498 #CC=cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_STDARG
3499 # Used to have BISON=yacc.
3503 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3506 # Under CX/UX, we want to tell the compiler to use ANSI mode.
3507 tentative_cc
="cc -Xa"
3508 host_makefile_frag
="config/mh-cxux"
3510 m88k-motorola-sysv
*)
3513 tentative_cc
="cc -Wf,-XNg1000"
3514 host_makefile_frag
="config/mh-decstation"
3517 # The C compiler on NEC MIPS SVR4 needs bigger tables.
3518 tentative_cc
="cc -ZXNd=5000 -ZXNg=1000"
3519 host_makefile_frag
="config/mh-necv4"
3522 # Tell compiler to use K&R C. We can't compile under the SGI Ansi
3523 # environment. Also bump switch table size so that cp-parse will
3524 # compile. Bump string length limit so linker builds.
3525 tentative_cc
="cc -cckr -Wf,-XNg1500 -Wf,-XNk1000 -Wf,-XNh2000 -Wf,-XNl8192"
3528 host_makefile_frag
="config/mh-sysv4"
3531 # This is for a MIPS running RISC/os 4.52C.
3533 # This is needed for GDB, but needs to be in the top-level make because
3534 # if a library is compiled with the bsd headers and gets linked with the
3535 # sysv system libraries all hell can break loose (e.g. a jmp_buf might be
3536 # a different size).
3537 # ptrace(2) apparently has problems in the BSD environment. No workaround is
3538 # known except to select the sysv environment. Could we use /proc instead?
3539 # These "sysv environments" and "bsd environments" often end up being a pain.
3541 # This is not part of CFLAGS because perhaps not all C compilers have this
3543 tentative_cc
="cc -systype sysv"
3548 i
[3456789]86-*-sysv5*)
3549 host_makefile_frag
="config/mh-sysv5"
3551 i
[3456789]86-*-dgux*)
3552 tentative_cc
="gcc -Wall -ansi -D__using_DGUX"
3553 host_makefile_frag
="config/mh-dgux386"
3555 i
[3456789]86-ncr-sysv4.3
*)
3556 # The MetaWare compiler will generate a copyright message unless you
3557 # turn it off by adding the -Hnocopyr flag.
3558 tentative_cc
="cc -Hnocopyr"
3560 i
[3456789]86-ncr-sysv4*)
3561 # for an NCR 3000 (i486/SVR4) system.
3562 # The NCR 3000 ships with a MetaWare compiler installed as /bin/cc.
3563 # This compiler not only emits obnoxious copyright messages every time
3564 # you run it, but it chokes and dies on a whole bunch of GNU source
3565 # files. Default to using the AT&T compiler installed in /usr/ccs/ATT/cc.
3566 tentative_cc
="/usr/ccs/ATT/cc"
3567 host_makefile_frag
="config/mh-ncr3000"
3569 i
[3456789]86-*-sco3.2v5
*)
3571 i
[3456789]86-*-sco*)
3572 # The native C compiler botches some simple uses of const. Unfortunately,
3573 # it doesn't defined anything like "__sco__" for us to test for in ansidecl.h.
3574 tentative_cc
="cc -Dconst="
3575 host_makefile_frag
="config/mh-sco"
3577 i
[3456789]86-*-udk*)
3578 host_makefile_frag
="config/mh-sysv5"
3580 i
[3456789]86-*-solaris2*)
3581 host_makefile_frag
="config/mh-sysv4"
3583 i
[3456789]86-*-msdosdjgpp*)
3584 host_makefile_frag
="config/mh-djgpp"
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3589 $as_echo_n "checking to see if cat works as expected... " >&6; }
3590 echo a
>cygwin-cat-check
3591 if test `cat cygwin-cat-check` == a
; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3594 $as_echo "yes" >&6; }
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3598 $as_echo "no" >&6; }
3599 as_fn_error
"The cat command does not ignore carriage return characters.
3600 Please either mount the build directory in binary mode or run the following
3601 commands before running any configure script:
3607 host_makefile_frag
="config/mh-cygwin"
3610 host_makefile_frag
="config/mh-mingw"
3613 host_makefile_frag
="config/mh-interix"
3616 # The old BSD pcc isn't up to compiling parts of gdb so use gcc
3620 host_makefile_frag
="config/mh-solaris"
3623 # Sun's C compiler needs the -J flag to be able to compile cp-parse.c
3624 # without overflowing the jump tables (-J says to use a 32 bit table)
3625 tentative_cc
="cc -J"
3628 tentative_cc
="cc -Wp,-H256000"
3629 host_makefile_frag
="config/mh-pa-hpux10"
3631 hppa
*-hp-hpux* | hppa
*-*-hiux*)
3632 tentative_cc
="cc -Wp,-H256000"
3633 host_makefile_frag
="config/mh-pa"
3636 host_makefile_frag
="config/mh-pa"
3638 *-hp-hpux* |
*-*-hiux*)
3639 tentative_cc
="cc -Wp,-H256000"
3642 # /bin/cc is less than useful for our purposes. Always use GCC
3643 tentative_cc
="/usr/cygnus/progressive/bin/gcc"
3644 host_makefile_frag
="config/mh-lynxrs6k"
3647 host_makefile_frag
="config/mh-ppc-darwin"
3650 host_makefile_frag
="config/mh-ppc-aix"
3653 host_makefile_frag
="config/mh-ppc-aix"
3656 # /bin/cc is less than useful for our purposes. Always use GCC
3657 tentative_cc
="/bin/gcc"
3660 host_makefile_frag
="config/mh-sysv4"
3662 # This is placed last to prevent interfering with the cases above.
3664 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
3665 host_makefile_frag
="config/mh-x86omitfp"
3670 # If we aren't going to be using gcc, see if we can extract a definition
3671 # of CC from the fragment.
3672 # Actually, use the 'pre-extracted' version above.
3673 if test -z "${CC}" && test "${build}" = "${host}" ; then
3674 IFS
="${IFS= }"; save_ifs
="$IFS"; IFS
="${IFS}:"
3676 for dir
in $PATH; do
3677 test -z "$dir" && dir
=.
3678 if test -f $dir/gcc
; then
3684 if test -z "${found}" && test -n "${tentative_cc}" ; then
3689 if test "${build}" != "${host}" ; then
3690 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3691 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3692 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3693 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3694 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3695 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3696 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3697 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3698 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3699 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3700 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3701 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3703 AR_FOR_BUILD
="\$(AR)"
3704 AS_FOR_BUILD
="\$(AS)"
3705 CC_FOR_BUILD
="\$(CC)"
3706 CXX_FOR_BUILD
="\$(CXX)"
3707 GCJ_FOR_BUILD
="\$(GCJ)"
3708 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3709 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3710 LD_FOR_BUILD
="\$(LD)"
3711 NM_FOR_BUILD
="\$(NM)"
3712 RANLIB_FOR_BUILD
="\$(RANLIB)"
3713 WINDRES_FOR_BUILD
="\$(WINDRES)"
3714 WINDMC_FOR_BUILD
="\$(WINDMC)"
3718 ac_cpp
='$CPP $CPPFLAGS'
3719 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3722 if test -n "$ac_tool_prefix"; then
3723 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3724 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if test "${ac_cv_prog_CC+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$CC"; then
3731 ac_cv_prog_CC
="$CC" # Let the user override the test.
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 if test -n "$CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3753 $as_echo "$CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3761 if test -z "$ac_cv_prog_CC"; then
3763 # Extract the first word of "gcc", so it can be a program name with args.
3764 set dummy gcc
; ac_word
=$2
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3766 $as_echo_n "checking for $ac_word... " >&6; }
3767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3768 $as_echo_n "(cached) " >&6
3770 if test -n "$ac_ct_CC"; then
3771 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_exec_ext
in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 ac_cv_prog_ac_ct_CC
="gcc"
3781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3791 if test -n "$ac_ct_CC"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3793 $as_echo "$ac_ct_CC" >&6; }
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3799 if test "x$ac_ct_CC" = x
; then
3802 case $cross_compiling:$ac_tool_warned in
3804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3806 ac_tool_warned
=yes ;;
3814 if test -z "$CC"; then
3815 if test -n "$ac_tool_prefix"; then
3816 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3817 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if test "${ac_cv_prog_CC+set}" = set; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -n "$CC"; then
3824 ac_cv_prog_CC
="$CC" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3833 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 if test -n "$CC"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3846 $as_echo "$CC" >&6; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3855 if test -z "$CC"; then
3856 # Extract the first word of "cc", so it can be a program name with args.
3857 set dummy cc
; ac_word
=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if test "${ac_cv_prog_CC+set}" = set; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -n "$CC"; then
3864 ac_cv_prog_CC
="$CC" # Let the user override the test.
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_exec_ext
in '' $ac_executable_extensions; do
3873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3874 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3875 ac_prog_rejected
=yes
3879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3886 if test $ac_prog_rejected = yes; then
3887 # We found a bogon in the path, so make sure we never use it.
3888 set dummy
$ac_cv_prog_CC
3890 if test $# != 0; then
3891 # We chose a different compiler from the bogus one.
3892 # However, it has the same basename, so the bogon will be chosen
3893 # first if we set CC to just the basename; use the full file name.
3895 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3901 if test -n "$CC"; then
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3903 $as_echo "$CC" >&6; }
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3906 $as_echo "no" >&6; }
3911 if test -z "$CC"; then
3912 if test -n "$ac_tool_prefix"; then
3913 for ac_prog
in cl.exe
3915 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3916 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if test "${ac_cv_prog_CC+set}" = set; then :
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$CC"; then
3923 ac_cv_prog_CC
="$CC" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 if test -n "$CC"; then
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3945 $as_echo "$CC" >&6; }
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$CC" && break
3955 if test -z "$CC"; then
3957 for ac_prog
in cl.exe
3959 # Extract the first word of "$ac_prog", so it can be a program name with args.
3960 set dummy
$ac_prog; ac_word
=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3964 $as_echo_n "(cached) " >&6
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir
=.
3974 for ac_exec_ext
in '' $ac_executable_extensions; do
3975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976 ac_cv_prog_ac_ct_CC
="$ac_prog"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3996 test -n "$ac_ct_CC" && break
3999 if test "x$ac_ct_CC" = x
; then
4002 case $cross_compiling:$ac_tool_warned in
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4005 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4006 ac_tool_warned
=yes ;;
4015 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error
"no acceptable C compiler found in \$PATH
4018 See \`config.log' for more details." "$LINENO" 5; }
4020 # Provide some information about the compiler.
4021 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4024 for ac_option
in --version -v -V -qversion; do
4025 { { ac_try
="$ac_compiler $ac_option >&5"
4027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4034 if test -s conftest.err; then
4036 ... rest of stderr output deleted ...
4037 10q' conftest.err >conftest.er1
4038 cat conftest.er1 >&5
4039 rm -f conftest.er1 conftest.err
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }
4045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4046 /* end confdefs.h. */
4056 ac_clean_files_save=$ac_clean_files
4057 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4058 # Try to create an executable without -o first, disregard a.out.
4059 # It will help us diagnose broken compilers, and finding out an intuition
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4062 $as_echo_n "checking for C compiler default output file name... " >&6; }
4063 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4065 # The possible output files:
4066 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4069 for ac_file in $ac_files
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4073 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4078 if { { ac_try="$ac_link_default"
4080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4081 *) ac_try_echo
=$ac_try;;
4083 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_link_default") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; then :
4089 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4090 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4091 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4092 # so that the user can short-circuit this test for compilers unknown to
4094 for ac_file
in $ac_files ''
4096 test -f "$ac_file" ||
continue
4098 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4101 # We found the default executable, but exeext='' is most
4105 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4107 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4109 # We set ac_cv_exeext here because the later test for it is not
4110 # safe: cross compilers may not add the suffix if given an `-o'
4111 # argument, so we may need to know it at that point already.
4112 # Even if this section looks crufty: it has the advantage of
4119 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4125 $as_echo "$ac_file" >&6; }
4126 if test -z "$ac_file"; then :
4127 $as_echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.
$ac_ext >&5
4130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4132 { as_fn_set_status
77
4133 as_fn_error
"C compiler cannot create executables
4134 See \`config.log' for more details." "$LINENO" 5; }; }
4136 ac_exeext
=$ac_cv_exeext
4138 # Check that the compiler produces executables we can run. If not, either
4139 # the compiler is broken, or we cross compile.
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4141 $as_echo_n "checking whether the C compiler works... " >&6; }
4142 # If not cross compiling, check that we can run a simple program.
4143 if test "$cross_compiling" != yes; then
4144 if { ac_try
='./$ac_file'
4145 { { case "(($ac_try" in
4146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4147 *) ac_try_echo=$ac_try;;
4149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4150 $as_echo "$ac_try_echo"; } >&5
4151 (eval "$ac_try") 2>&5
4153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4154 test $ac_status = 0; }; }; then
4157 if test "$cross_compiling" = maybe; then
4160 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4161 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4162 as_fn_error "cannot run C compiled programs.
4163 If you meant to cross compile
, use \
`--host'.
4164 See \`config.log
' for more details." "$LINENO" 5; }
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4171 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4172 ac_clean_files=$ac_clean_files_save
4173 # Check that the compiler produces executables we can run. If not, either
4174 # the compiler is broken, or we cross compile.
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4176 $as_echo_n "checking whether we are cross compiling... " >&6; }
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4178 $as_echo "$cross_compiling" >&6; }
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4181 $as_echo_n "checking for suffix of executables... " >&6; }
4182 if { { ac_try="$ac_link"
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4187 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4188 $as_echo "$ac_try_echo"; } >&5
4189 (eval "$ac_link") 2>&5
4191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4192 test $ac_status = 0; }; then :
4193 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4194 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4195 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4197 for ac_file
in conftest.exe conftest conftest.
*; do
4198 test -f "$ac_file" ||
continue
4200 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4201 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4208 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4209 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4210 See \`config.log' for more details." "$LINENO" 5; }
4212 rm -f conftest
$ac_cv_exeext
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4214 $as_echo "$ac_cv_exeext" >&6; }
4216 rm -f conftest.
$ac_ext
4217 EXEEXT
=$ac_cv_exeext
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4220 $as_echo_n "checking for suffix of object files... " >&6; }
4221 if test "${ac_cv_objext+set}" = set; then :
4222 $as_echo_n "(cached) " >&6
4224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h. */
4235 rm -f conftest.o conftest.obj
4236 if { { ac_try
="$ac_compile"
4238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4241 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4242 $as_echo "$ac_try_echo"; } >&5
4243 (eval "$ac_compile") 2>&5
4245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4246 test $ac_status = 0; }; then :
4247 for ac_file in conftest.o conftest.obj conftest.*; do
4248 test -f "$ac_file" || continue;
4250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4251 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4256 $as_echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4261 as_fn_error "cannot compute suffix of object files
: cannot compile
4262 See \
`config.log' for more details." "$LINENO" 5; }
4264 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4267 $as_echo "$ac_cv_objext" >&6; }
4268 OBJEXT=$ac_cv_objext
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4271 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4272 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4273 $as_echo_n "(cached) " >&6
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4289 if ac_fn_c_try_compile "$LINENO"; then :
4294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4295 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4299 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4300 if test $ac_compiler_gnu = yes; then
4305 ac_test_CFLAGS=${CFLAGS+set}
4306 ac_save_CFLAGS=$CFLAGS
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4308 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4309 if test "${ac_cv_prog_cc_g+set}" = set; then :
4310 $as_echo_n "(cached) " >&6
4312 ac_save_c_werror_flag=$ac_c_werror_flag
4313 ac_c_werror_flag=yes
4316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4317 /* end confdefs.h. */
4327 if ac_fn_c_try_compile "$LINENO"; then :
4331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4332 /* end confdefs.h. */
4342 if ac_fn_c_try_compile "$LINENO"; then :
4345 ac_c_werror_flag=$ac_save_c_werror_flag
4347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348 /* end confdefs.h. */
4358 if ac_fn_c_try_compile "$LINENO"; then :
4361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4366 ac_c_werror_flag=$ac_save_c_werror_flag
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4369 $as_echo "$ac_cv_prog_cc_g" >&6; }
4370 if test "$ac_test_CFLAGS" = set; then
4371 CFLAGS=$ac_save_CFLAGS
4372 elif test $ac_cv_prog_cc_g = yes; then
4373 if test "$GCC" = yes; then
4379 if test "$GCC" = yes; then
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4386 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4387 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4388 $as_echo_n "(cached) " >&6
4390 ac_cv_prog_cc_c89=no
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4396 #include <sys/types.h>
4397 #include <sys/stat.h>
4398 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4399 struct buf { int x; };
4400 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4401 static char *e (p, i)
4407 static char *f (char * (*g) (char **, int), char **p, ...)
4412 s = g (p, va_arg (v,int));
4417 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4418 function prototypes and stuff, but not '\xHH' hex character constants.
4419 These don't provoke an error unfortunately, instead are silently treated
4420 as 'x'. The following induces an error, until -std is added to get
4421 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4422 array size at least. It's necessary to write '\x00'==0 to get something
4423 that's true only with -std. */
4424 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4426 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4427 inside strings and character constants. */
4429 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4431 int test (int i, double x);
4432 struct s1 {int (*f) (int a);};
4433 struct s2 {int (*f) (double a);};
4434 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4440 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4445 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4446 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4448 CC="$ac_save_CC $ac_arg"
4449 if ac_fn_c_try_compile "$LINENO"; then :
4450 ac_cv_prog_cc_c89=$ac_arg
4452 rm -f core conftest.err conftest.$ac_objext
4453 test "x$ac_cv_prog_cc_c89" != "xno" && break
4455 rm -f conftest.$ac_ext
4460 case "x$ac_cv_prog_cc_c89" in
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4463 $as_echo "none needed" >&6; } ;;
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4466 $as_echo "unsupported" >&6; } ;;
4468 CC="$CC $ac_cv_prog_cc_c89"
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4470 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4472 if test "x$ac_cv_prog_cc_c89" != xno; then :
4477 ac_cpp='$CPP $CPPFLAGS'
4478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4483 ac_cpp='$CXXCPP $CPPFLAGS'
4484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4487 if test -z "$CXX"; then
4488 if test -n "$CCC"; then
4491 if test -n "$ac_tool_prefix"; then
4492 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4494 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4495 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if test "${ac_cv_prog_CXX+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$CXX"; then
4502 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir=.
4509 for ac_exec_ext in '' $ac_executable_extensions; do
4510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 if test -n "$CXX"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4524 $as_echo "$CXX" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4531 test -n "$CXX" && break
4534 if test -z "$CXX"; then
4536 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4538 # Extract the first word of "$ac_prog", so it can be a program name with args.
4539 set dummy $ac_prog; ac_word=$2
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$ac_ct_CXX"; then
4546 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir=.
4553 for ac_exec_ext in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_ac_ct_CXX="$ac_prog"
4556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4566 if test -n "$ac_ct_CXX"; then
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4568 $as_echo "$ac_ct_CXX" >&6; }
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4571 $as_echo "no" >&6; }
4575 test -n "$ac_ct_CXX" && break
4578 if test "x$ac_ct_CXX" = x; then
4581 case $cross_compiling:$ac_tool_warned in
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4585 ac_tool_warned=yes ;;
4593 # Provide some information about the compiler.
4594 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4597 for ac_option in --version -v -V -qversion; do
4598 { { ac_try="$ac_compiler $ac_option >&5"
4600 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4601 *) ac_try_echo
=$ac_try;;
4603 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4604 $as_echo "$ac_try_echo"; } >&5
4605 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4607 if test -s conftest.err
; then
4609 ... rest of stderr output deleted ...
4610 10q' conftest.err
>conftest.er1
4611 cat conftest.er1
>&5
4612 rm -f conftest.er1 conftest.err
4614 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4615 test $ac_status = 0; }
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4619 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4620 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4637 if ac_fn_cxx_try_compile
"$LINENO"; then :
4642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4643 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4647 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4648 if test $ac_compiler_gnu = yes; then
4653 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4654 ac_save_CXXFLAGS
=$CXXFLAGS
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4656 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4657 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4658 $as_echo_n "(cached) " >&6
4660 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4661 ac_cxx_werror_flag
=yes
4664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h. */
4675 if ac_fn_cxx_try_compile
"$LINENO"; then :
4676 ac_cv_prog_cxx_g
=yes
4679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4690 if ac_fn_cxx_try_compile
"$LINENO"; then :
4693 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4706 if ac_fn_cxx_try_compile
"$LINENO"; then :
4707 ac_cv_prog_cxx_g
=yes
4709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4714 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4717 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4718 if test "$ac_test_CXXFLAGS" = set; then
4719 CXXFLAGS
=$ac_save_CXXFLAGS
4720 elif test $ac_cv_prog_cxx_g = yes; then
4721 if test "$GXX" = yes; then
4727 if test "$GXX" = yes; then
4734 ac_cpp
='$CPP $CPPFLAGS'
4735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4740 # We must set the default linker to the linker used by gcc for the correct
4741 # operation of libtool. If LD is not defined and we are using gcc, try to
4742 # set the LD default to the ld used by gcc.
4743 if test -z "$LD"; then
4744 if test "$GCC" = yes; then
4747 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4749 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4751 case $gcc_prog_ld in
4752 # Accept absolute paths.
4753 [\\/]* |
[A-Za-z
]:[\\/]*)
4754 LD
="$gcc_prog_ld" ;;
4762 if test -n "$ac_tool_prefix"; then
4763 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4764 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766 $as_echo_n "checking for $ac_word... " >&6; }
4767 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4768 $as_echo_n "(cached) " >&6
4770 if test -n "$GNATBIND"; then
4771 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 GNATBIND
=$ac_cv_prog_GNATBIND
4791 if test -n "$GNATBIND"; then
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4793 $as_echo "$GNATBIND" >&6; }
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796 $as_echo "no" >&6; }
4801 if test -z "$ac_cv_prog_GNATBIND"; then
4802 ac_ct_GNATBIND
=$GNATBIND
4803 # Extract the first word of "gnatbind", so it can be a program name with args.
4804 set dummy gnatbind
; ac_word
=$2
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4806 $as_echo_n "checking for $ac_word... " >&6; }
4807 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4808 $as_echo_n "(cached) " >&6
4810 if test -n "$ac_ct_GNATBIND"; then
4811 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4820 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4830 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4831 if test -n "$ac_ct_GNATBIND"; then
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4833 $as_echo "$ac_ct_GNATBIND" >&6; }
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4836 $as_echo "no" >&6; }
4839 if test "x$ac_ct_GNATBIND" = x
; then
4842 case $cross_compiling:$ac_tool_warned in
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4846 ac_tool_warned
=yes ;;
4848 GNATBIND
=$ac_ct_GNATBIND
4851 GNATBIND
="$ac_cv_prog_GNATBIND"
4854 if test -n "$ac_tool_prefix"; then
4855 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4856 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4858 $as_echo_n "checking for $ac_word... " >&6; }
4859 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4860 $as_echo_n "(cached) " >&6
4862 if test -n "$GNATMAKE"; then
4863 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4869 test -z "$as_dir" && as_dir
=.
4870 for ac_exec_ext
in '' $ac_executable_extensions; do
4871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4872 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4882 GNATMAKE
=$ac_cv_prog_GNATMAKE
4883 if test -n "$GNATMAKE"; then
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4885 $as_echo "$GNATMAKE" >&6; }
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4888 $as_echo "no" >&6; }
4893 if test -z "$ac_cv_prog_GNATMAKE"; then
4894 ac_ct_GNATMAKE
=$GNATMAKE
4895 # Extract the first word of "gnatmake", so it can be a program name with args.
4896 set dummy gnatmake
; ac_word
=$2
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4898 $as_echo_n "checking for $ac_word... " >&6; }
4899 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4900 $as_echo_n "(cached) " >&6
4902 if test -n "$ac_ct_GNATMAKE"; then
4903 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4909 test -z "$as_dir" && as_dir
=.
4910 for ac_exec_ext
in '' $ac_executable_extensions; do
4911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4912 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4922 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4923 if test -n "$ac_ct_GNATMAKE"; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4925 $as_echo "$ac_ct_GNATMAKE" >&6; }
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 $as_echo "no" >&6; }
4931 if test "x$ac_ct_GNATMAKE" = x
; then
4934 case $cross_compiling:$ac_tool_warned in
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4938 ac_tool_warned
=yes ;;
4940 GNATMAKE
=$ac_ct_GNATMAKE
4943 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4947 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4948 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4949 $as_echo_n "(cached) " >&6
4951 cat >conftest.adb
<<EOF
4952 procedure conftest is begin null; end conftest;
4954 acx_cv_cc_gcc_supports_ada
=no
4955 # There is a bug in old released versions of GCC which causes the
4956 # driver to exit successfully when the appropriate language module
4957 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4958 # Therefore we must check for the error message as well as an
4959 # unsuccessful exit.
4960 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4961 # given a .adb file, but produce no object file. So we must check
4962 # if an object file was really produced to guard against this.
4963 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4964 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4965 acx_cv_cc_gcc_supports_ada
=yes
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4970 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4972 if test x
$GNATBIND != xno
&& test x
$GNATMAKE != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4979 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4980 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4985 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4986 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4987 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4990 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4993 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4994 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
4997 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5004 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5005 do_compare
="$gcc_cv_prog_cmp_skip"
5009 # See if we are building gcc with C++.
5010 # Check whether --enable-build-with-cxx was given.
5011 if test "${enable_build_with_cxx+set}" = set; then :
5012 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5014 ENABLE_BUILD_WITH_CXX
=no
5018 # Check for GMP, MPFR and MPC
5019 gmplibs
="-lmpfr -lgmp"
5026 # Specify a location for mpc
5027 # check for this first so it ends up on the link line before mpfr.
5029 # Check whether --with-mpc was given.
5030 if test "${with_mpc+set}" = set; then :
5035 # Check whether --with-mpc_include was given.
5036 if test "${with_mpc_include+set}" = set; then :
5037 withval
=$with_mpc_include;
5041 # Check whether --with-mpc_lib was given.
5042 if test "${with_mpc_lib+set}" = set; then :
5043 withval
=$with_mpc_lib;
5047 if test "x$with_mpc" != x
; then
5048 mpclibs
="-L$with_mpc/lib -lmpc"
5049 mpcinc
="-I$with_mpc/include $mpcinc"
5051 if test "x$with_mpc_include" != x
; then
5052 mpcinc
="-I$with_mpc_include $mpcinc"
5054 if test "x$with_mpc_lib" != x
; then
5055 mpclibs
="-L$with_mpc_lib -lmpc"
5057 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5058 mpclibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/.libs -L$$r/$(HOST_SUBDIR)/mpc/src/_libs -lmpc'
5059 mpcinc
='-I$$s/mpc/src '"$mpcinc"
5060 # Do not test the mpc version. Assume that it is sufficient, since
5061 # it is in the source tree, and the library has not been built yet
5062 # but it would be included on the link line in the version check below
5063 # hence making the test fail.
5067 # Specify a location for mpfr
5068 # check for this first so it ends up on the link line before gmp.
5070 # Check whether --with-mpfr-dir was given.
5071 if test "${with_mpfr_dir+set}" = set; then :
5072 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5073 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5078 # Check whether --with-mpfr was given.
5079 if test "${with_mpfr+set}" = set; then :
5084 # Check whether --with-mpfr_include was given.
5085 if test "${with_mpfr_include+set}" = set; then :
5086 withval
=$with_mpfr_include;
5090 # Check whether --with-mpfr_lib was given.
5091 if test "${with_mpfr_lib+set}" = set; then :
5092 withval
=$with_mpfr_lib;
5096 if test "x$with_mpfr" != x
; then
5097 gmplibs
="-L$with_mpfr/lib $gmplibs"
5098 gmpinc
="-I$with_mpfr/include"
5100 if test "x$with_mpfr_include" != x
; then
5101 gmpinc
="-I$with_mpfr_include"
5103 if test "x$with_mpfr_lib" != x
; then
5104 gmplibs
="-L$with_mpfr_lib $gmplibs"
5106 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5107 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/.libs -L$$r/$(HOST_SUBDIR)/mpfr/_libs '"$gmplibs"
5108 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5109 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr'
5110 # Do not test the mpfr version. Assume that it is sufficient, since
5111 # it is in the source tree, and the library has not been built yet
5112 # but it would be included on the link line in the version check below
5113 # hence making the test fail.
5117 # Specify a location for gmp
5119 # Check whether --with-gmp-dir was given.
5120 if test "${with_gmp_dir+set}" = set; then :
5121 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5122 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5127 # Check whether --with-gmp was given.
5128 if test "${with_gmp+set}" = set; then :
5133 # Check whether --with-gmp_include was given.
5134 if test "${with_gmp_include+set}" = set; then :
5135 withval
=$with_gmp_include;
5139 # Check whether --with-gmp_lib was given.
5140 if test "${with_gmp_lib+set}" = set; then :
5141 withval
=$with_gmp_lib;
5146 if test "x$with_gmp" != x
; then
5147 gmplibs
="-L$with_gmp/lib $gmplibs"
5148 gmpinc
="-I$with_gmp/include $gmpinc"
5150 if test "x$with_gmp_include" != x
; then
5151 gmpinc
="-I$with_gmp_include $gmpinc"
5153 if test "x$with_gmp_lib" != x
; then
5154 gmplibs
="-L$with_gmp_lib $gmplibs"
5156 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5157 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/.libs -L$$r/$(HOST_SUBDIR)/gmp/_libs '"$gmplibs"
5158 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5159 extra_mpfr_configure_flags
='--with-gmp-build=$$r/$(HOST_SUBDIR)/gmp'
5160 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp'
5161 # Do not test the gmp version. Assume that it is sufficient, since
5162 # it is in the source tree, and the library has not been built yet
5163 # but it would be included on the link line in the version check below
5164 # hence making the test fail.
5168 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5170 saved_CFLAGS
="$CFLAGS"
5171 CFLAGS
="$CFLAGS $gmpinc"
5172 # Check GMP actually works
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of gmp.h" >&5
5174 $as_echo_n "checking for correct version of gmp.h... " >&6; }
5176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5177 /* end confdefs.h. */
5183 #if __GNU_MP_VERSION < 4 || (__GNU_MP_VERSION == 4 && __GNU_MP_VERSION_MINOR < 2)
5191 if ac_fn_c_try_compile
"$LINENO"; then :
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5193 $as_echo "yes" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5196 $as_echo "no" >&6; }; have_gmp
=no
5198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5200 # If we have GMP, check the MPFR version.
5201 if test x
"$have_gmp" = xyes
; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of mpfr.h" >&5
5203 $as_echo_n "checking for correct version of mpfr.h... " >&6; }
5204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5212 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5220 if ac_fn_c_try_compile
"$LINENO"; then :
5221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5222 /* end confdefs.h. */
5229 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,2)
5237 if ac_fn_c_try_compile
"$LINENO"; then :
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5239 $as_echo "yes" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5242 $as_echo "buggy but acceptable" >&6; }
5244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5247 $as_echo "no" >&6; }; have_gmp
=no
5249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5252 # Check for the MPC header version.
5253 if test x
"$have_mpc" != xyes
; then
5254 CFLAGS
="$CFLAGS $mpcinc"
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5256 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5264 #if MPC_VERSION < MPC_VERSION_NUM (0,6,0)
5272 if ac_fn_c_try_compile
"$LINENO"; then :
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5274 $as_echo "yes" >&6; }; have_mpc
=maybe
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }; have_mpc
=no
; mpclibs
= ; mpcinc
=
5279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5282 # Now check the MPFR library.
5283 if test x
"$have_gmp" = xyes
; then
5285 LIBS
="$LIBS $gmplibs"
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr libraries" >&5
5287 $as_echo_n "checking for the correct version of the gmp/mpfr libraries... " >&6; }
5288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5301 mpfr_atan2 (n, n, x, GMP_RNDN);
5302 mpfr_erfc (n, x, GMP_RNDN);
5303 mpfr_subnormalize (x, t, GMP_RNDN);
5309 if ac_fn_c_try_link
"$LINENO"; then :
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5311 $as_echo "yes" >&6; }
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }; have_gmp
=no
5316 rm -f core conftest.err conftest.
$ac_objext \
5317 conftest
$ac_exeext conftest.
$ac_ext
5321 if test x
"$have_mpc" = xmaybe
; then
5323 LIBS
="$LIBS $mpclibs $gmplibs"
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the mpc library" >&5
5325 $as_echo_n "checking for the correct version of the mpc library... " >&6; }
5326 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5335 mpc_set_ui_ui (n, 1, 1, MPC_RNDNN);
5336 mpc_sin (n, n, MPC_RNDNN);
5337 mpc_cos (n, n, MPC_RNDNN);
5338 mpc_tan (n, n, MPC_RNDNN);
5339 mpc_sinh (n, n, MPC_RNDNN);
5340 mpc_cosh (n, n, MPC_RNDNN);
5341 mpc_tanh (n, n, MPC_RNDNN);
5342 mpc_exp (n, n, MPC_RNDNN);
5343 mpc_log (n, n, MPC_RNDNN);
5344 mpc_sqrt (n, n, MPC_RNDNN);
5345 mpc_proj (n, n, MPC_RNDNN);
5346 mpc_neg (n, n, MPC_RNDNN);
5347 mpc_sqr (n, n, MPC_RNDNN);
5354 if ac_fn_c_try_link
"$LINENO"; then :
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5356 $as_echo "yes" >&6; }; have_mpc
=yes
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }; have_mpc
=no
; mpclibs
= ; mpcinc
=
5361 rm -f core conftest.err conftest.
$ac_objext \
5362 conftest
$ac_exeext conftest.
$ac_ext
5366 CFLAGS
="$saved_CFLAGS"
5368 if test x
$have_gmp != xyes
; then
5369 as_fn_error
"Building GCC requires GMP 4.2+ and MPFR 2.3.2+.
5370 Try the --with-gmp and/or --with-mpfr options to specify their locations.
5371 Copies of these libraries' source code can be found at their respective
5372 hosting sites as well as at ftp://gcc.gnu.org/pub/gcc/infrastructure/.
5373 See also http://gcc.gnu.org/install/prerequisites.html for additional info.
5374 If you obtained GMP and/or MPFR from a vendor distribution package, make
5375 sure that you have installed both the libraries and the header files.
5376 They may be located in separate packages." "$LINENO" 5
5380 if test x
$have_mpc != xyes
; then
5385 gmpinc
="$mpcinc $gmpinc"
5386 gmplibs
="$mpclibs $gmplibs"
5388 # Flags needed for both GMP, MPFR and/or MPC.
5395 # Allow host libstdc++ to be specified for static linking with PPL.
5397 # Check whether --with-host-libstdcxx was given.
5398 if test "${with_host_libstdcxx+set}" = set; then :
5399 withval
=$with_host_libstdcxx;
5403 case $with_host_libstdcxx in
5405 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5409 # Linker flags to use for stage1 or when not boostrapping.
5411 # Check whether --with-stage1-ldflags was given.
5412 if test "${with_stage1_ldflags+set}" = set; then :
5413 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5416 stage1_ldflags
=$withval
5424 # Libraries to use for stage1 or when not bootstrapping.
5426 # Check whether --with-stage1-libs was given.
5427 if test "${with_stage1_libs+set}" = set; then :
5428 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5431 stage1_libs
=$withval
5434 stage1_libs
=$with_host_libstdcxx
5439 # Linker flags to use for stage2 and later builds.
5441 # Check whether --with-boot-ldflags was given.
5442 if test "${with_boot_ldflags+set}" = set; then :
5443 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5446 poststage1_ldflags
=$withval
5449 if test "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5450 poststage1_ldflags
=-static-libstdc++
5458 # Libraries to use for stage2 and later builds. This defaults to the
5459 # argument passed to --with-host-libstdcxx.
5461 # Check whether --with-boot-libs was given.
5462 if test "${with_boot_libs+set}" = set; then :
5463 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5466 poststage1_libs
=$withval
5469 poststage1_libs
=$with_host_libstdcxx
5476 ppl_minor_version
=10
5477 ppllibs
=" -lppl_c -lppl -lgmpxx"
5481 # Check whether --with-ppl was given.
5482 if test "${with_ppl+set}" = set; then :
5489 # Check whether --with-ppl_include was given.
5490 if test "${with_ppl_include+set}" = set; then :
5491 withval
=$with_ppl_include;
5495 # Check whether --with-ppl_lib was given.
5496 if test "${with_ppl_lib+set}" = set; then :
5497 withval
=$with_ppl_lib;
5506 ppllibs
="-L$with_ppl/lib -lppl_c -lppl -lgmpxx"
5507 pplinc
="-I$with_ppl/include $pplinc"
5508 LIBS
="$ppllibs $LIBS"
5511 if test "x$with_ppl_include" != x
; then
5512 pplinc
="-I$with_ppl_include $pplinc"
5514 if test "x$with_ppl_lib" != x
; then
5515 ppllibs
="-L$with_ppl_lib -lppl_c -lppl -lgmpxx"
5516 LIBS
="$ppllibs $LIBS"
5518 if test "x$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5519 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/.libs -L$$r/$(HOST_SUBDIR)/ppl/_libs -lppl_c -lppl -lgmpxx '
5520 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/include -I$$s/ppl/include '
5521 LIBS
="$ppllibs $LIBS"
5524 # Check whether --enable-ppl-version-check was given.
5525 if test "${enable_ppl_version_check+set}" = set; then :
5526 enableval
=$enable_ppl_version_check; ENABLE_PPL_CHECK
=$enableval
5528 ENABLE_PPL_CHECK
=yes
5532 if test "${ENABLE_PPL_CHECK}" = "yes"; then
5533 saved_CFLAGS
="$CFLAGS"
5534 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version $ppl_major_version.$ppl_minor_version of PPL" >&5
5536 $as_echo_n "checking for version $ppl_major_version.$ppl_minor_version of PPL... " >&6; }
5537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5544 #if PPL_VERSION_MAJOR != $ppl_major_version || PPL_VERSION_MINOR != $ppl_minor_version
5552 if ac_fn_c_try_compile
"$LINENO"; then :
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5554 $as_echo "yes" >&6; }
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5557 $as_echo "no" >&6; }; ppllibs
= ; pplinc
=
5559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5560 CFLAGS
="$saved_CFLAGS"
5563 # Flags needed for PPL
5569 clooglibs
=" -lcloog "
5570 clooginc
=" -DCLOOG_PPL_BACKEND "
5573 # Check whether --with-cloog was given.
5574 if test "${with_cloog+set}" = set; then :
5575 withval
=$with_cloog;
5581 # Check whether --with-cloog_include was given.
5582 if test "${with_cloog_include+set}" = set; then :
5583 withval
=$with_cloog_include;
5587 # Check whether --with-cloog_lib was given.
5588 if test "${with_cloog_lib+set}" = set; then :
5589 withval
=$with_cloog_lib;
5599 clooglibs
="-L$with_cloog/lib -lcloog"
5600 clooginc
="-I$with_cloog/include -DCLOOG_PPL_BACKEND "
5601 LIBS
="$clooglibs $LIBS"
5604 if test "x$with_cloog_include" != x
; then
5605 clooginc
="-I$with_cloog_include -DCLOOG_PPL_BACKEND "
5607 if test "x$with_cloog_lib" != x
; then
5608 clooglibs
="-L$with_cloog_lib -lcloog"
5609 LIBS
="$clooglibs $LIBS"
5611 if test "x$with_cloog$with_cloog_include$with_cloog_lib" = x
&& test -d ${srcdir}/cloog
; then
5612 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/.libs -L$$r/$(HOST_SUBDIR)/cloog/_libs -lcloog '
5613 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -DCLOOG_PPL_BACKEND '
5614 LIBS
="$clooglibs $LIBS"
5617 # Check whether --enable-cloog-version-check was given.
5618 if test "${enable_cloog_version_check+set}" = set; then :
5619 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5621 ENABLE_CLOOG_CHECK
=yes
5625 if test "${ENABLE_CLOOG_CHECK}" = "yes"; then
5626 saved_CFLAGS
="$CFLAGS"
5627 CFLAGS
="$CFLAGS $clooginc $gmpinc $pplinc"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for correct version of CLooG" >&5
5629 $as_echo_n "checking for correct version of CLooG... " >&6; }
5630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5631 /* end confdefs.h. */
5632 #include "cloog/cloog.h"
5637 #if CLOOG_VERSION_MAJOR != 0 || CLOOG_VERSION_MINOR != 15
5645 if ac_fn_c_try_compile
"$LINENO"; then :
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5647 $as_echo "yes" >&6; }
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650 $as_echo "no" >&6; }; clooglibs
= ; clooginc
=
5652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5653 CFLAGS
="$saved_CFLAGS"
5656 # Flags needed for CLOOG
5661 # By default, C is the only stage 1 language.
5662 stage1_languages
=,c
,
5664 # Target libraries that we bootstrap.
5665 bootstrap_target_libs
=,target-libgcc
,
5667 # Figure out what language subdirectories are present.
5668 # Look if the user specified --enable-languages="..."; if not, use
5669 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5671 # NB: embedded tabs in this IF block -- do not untabify
5672 if test -d ${srcdir}/gcc
; then
5673 if test x
"${enable_languages+set}" != xset
; then
5674 if test x
"${LANGUAGES+set}" = xset
; then
5675 enable_languages
="${LANGUAGES}"
5676 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
5678 enable_languages
=all
5681 if test x
"${enable_languages}" = x ||
5682 test x
"${enable_languages}" = xyes
;
5684 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
5688 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
5690 # 'f95' is the old name for the 'fortran' language. We issue a warning
5691 # and make the substitution.
5692 case ,${enable_languages}, in
5694 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
5695 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
5699 # First scan to see if an enabled language requires some other language.
5700 # We assume that a given config-lang.in will list all the language
5701 # front ends it requires, even if some are required indirectly.
5702 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5703 case ${lang_frag} in
5705 # The odd quoting in the next line works around
5706 # an apparent bug in bash 1.12 on linux.
5707 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5709 # From the config-lang.in, get $language, $lang_requires
5713 for other
in ${lang_requires} ; do
5714 case ,${enable_languages}, in
5718 echo " \`$other' language required by \`$language'; enabling" 1>&2
5719 enable_languages
="${enable_languages},${other}"
5727 new_enable_languages
=,c
,
5728 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
5729 potential_languages
=,c
,
5731 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
5732 case ${lang_frag} in
5734 # The odd quoting in the next line works around
5735 # an apparent bug in bash 1.12 on linux.
5736 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
5738 # From the config-lang.in, get $language, $target_libs,
5739 # $lang_dirs, $boot_language, and $build_by_default
5745 build_by_default
=yes
5747 if test x
${language} = x
; then
5748 echo "${lang_frag} doesn't set \$language." 1>&2
5752 if test "$language" = "c++" -a "$ENABLE_BUILD_WITH_CXX" = "yes"; then
5756 case ,${enable_languages}, in
5758 # Language was explicitly selected; include it.
5762 # 'all' was selected, select it if it is a default language
5763 add_this_lang
=${build_by_default}
5770 # Disable languages that need other directories if these aren't available.
5771 for i
in $subdir_requires; do
5772 test -f "$srcdir/gcc/$i/config-lang.in" && continue
5773 case ,${enable_languages}, in
5775 # Specifically requested language; tell them.
5776 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
5780 add_this_lang
=unsupported
5785 # Disable Ada if no preexisting GNAT is available.
5786 case ,${enable_languages},:${language}:${have_gnat} in
5787 *,${language},*:ada
:no
)
5788 # Specifically requested language; tell them.
5789 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
5793 add_this_lang
=unsupported
5797 # Disable a language that is unsupported by the target.
5798 case " $unsupported_languages " in
5800 add_this_lang
=unsupported
5804 case $add_this_lang in
5806 # Remove language-dependent dirs.
5807 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5810 # Remove language-dependent dirs; still show language as supported.
5811 eval noconfigdirs
='"$noconfigdirs "'\"$target_libs $lang_dirs\"
5812 potential_languages
="${potential_languages}${language},"
5815 new_enable_languages
="${new_enable_languages}${language},"
5816 potential_languages
="${potential_languages}${language},"
5817 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
5818 case ${boot_language} in
5820 # Add to (comma-separated) list of stage 1 languages.
5821 stage1_languages
="${stage1_languages}${language},"
5822 # We need to bootstrap any supporting libraries.
5823 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
5832 # Check whether --enable-stage1-languages was given.
5833 if test "${enable_stage1_languages+set}" = set; then :
5834 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
5836 # Set it to something that will have no effect in the loop below
5837 enable_stage1_languages
=c
;;
5839 enable_stage1_languages
=`echo $new_enable_languages | \
5840 sed -e "s/^,//" -e "s/,$//" ` ;;
5842 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
5843 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
5846 # Add "good" languages from enable_stage1_languages to stage1_languages,
5847 # while "bad" languages go in missing_languages. Leave no duplicates.
5848 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
5849 case $potential_languages in
5851 case $stage1_languages in
5853 *) stage1_languages
="$stage1_languages$i," ;;
5856 case $missing_languages in
5858 *) missing_languages
="$missing_languages$i," ;;
5865 # Remove leading/trailing commas that were added for simplicity
5866 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
5867 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
5868 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
5869 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
5871 if test "x$missing_languages" != x
; then
5873 The following requested languages could not be built: ${missing_languages}
5874 Supported languages are: ${potential_languages}" "$LINENO" 5
5876 if test "x$new_enable_languages" != "x$enable_languages"; then
5877 echo The following languages will be built
: ${new_enable_languages}
5878 enable_languages
="$new_enable_languages"
5882 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
5885 # Handle --disable-<component> generically.
5886 for dir
in $configdirs $build_configdirs $target_configdirs ; do
5887 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
5888 varname
=`echo $dirname | sed -e s/+/_/g`
5889 if eval test x\
${enable_${varname}} "=" xno
; then
5890 noconfigdirs
="$noconfigdirs $dir"
5894 # Check for Boehm's garbage collector
5895 # Check whether --enable-objc-gc was given.
5896 if test "${enable_objc_gc+set}" = set; then :
5897 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
5898 *,objc
,*:*:yes:*target-boehm-gc
*)
5899 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
5905 # Make sure we only build Boehm's garbage collector if required.
5906 case ,${enable_languages},:${enable_objc_gc} in
5908 # Keep target-boehm-gc if requested for Objective-C.
5911 # Otherwise remove target-boehm-gc depending on target-libjava.
5912 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
5913 noconfigdirs
="$noconfigdirs target-boehm-gc"
5918 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
5919 # $build_configdirs and $target_configdirs.
5920 # If we have the source for $noconfigdirs entries, add them to $notsupp.
5923 for dir
in .
$skipdirs $noconfigdirs ; do
5924 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
5925 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5926 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
5927 if test -r $srcdir/$dirname/configure
; then
5928 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5931 notsupp
="$notsupp $dir"
5935 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5936 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
5937 if test -r $srcdir/$dirname/configure
; then
5938 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5941 notsupp
="$notsupp $dir"
5945 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5946 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
5947 if test -r $srcdir/$dirname/configure
; then
5948 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
5951 notsupp
="$notsupp $dir"
5957 # Sometimes the tools are distributed with libiberty but with no other
5958 # libraries. In that case, we don't want to build target-libiberty.
5959 # Don't let libgcc imply libiberty either.
5960 if test -n "${target_configdirs}" ; then
5963 for i
in `echo ${target_configdirs} | sed -e s/target-//g` ; do
5964 if test "$i" = "libgcc"; then
5965 libgcc
=target-libgcc
5966 elif test "$i" != "libiberty" ; then
5967 if test -r $srcdir/$i/configure
; then
5973 if test -z "${others}" ; then
5974 target_configdirs
=$libgcc
5978 # Quietly strip out all directories which aren't configurable in this tree.
5979 # This relies on all configurable subdirectories being autoconfiscated, which
5981 build_configdirs_all
="$build_configdirs"
5983 for i
in ${build_configdirs_all} ; do
5984 j
=`echo $i | sed -e s/build-//g`
5985 if test -f ${srcdir}/$j/configure
; then
5986 build_configdirs
="${build_configdirs} $i"
5990 configdirs_all
="$configdirs"
5992 for i
in ${configdirs_all} ; do
5993 if test -f ${srcdir}/$i/configure
; then
5994 configdirs
="${configdirs} $i"
5998 target_configdirs_all
="$target_configdirs"
6000 for i
in ${target_configdirs_all} ; do
6001 j
=`echo $i | sed -e s/target-//g`
6002 if test -f ${srcdir}/$j/configure
; then
6003 target_configdirs
="${target_configdirs} $i"
6007 # Produce a warning message for the subdirs we can't configure.
6008 # This isn't especially interesting in the Cygnus tree, but in the individual
6009 # FSF releases, it's important to let people know when their machine isn't
6010 # supported by the one or two programs in a package.
6012 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6013 # If $appdirs is non-empty, at least one of those directories must still
6014 # be configured, or we error out. (E.g., if the gas release supports a
6015 # specified target in some subdirs but not the gas subdir, we shouldn't
6016 # pretend that all is well.)
6017 if test -n "$appdirs" ; then
6018 for dir
in $appdirs ; do
6019 if test -r $dir/Makefile.
in ; then
6020 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6024 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6030 if test -n "$appdirs" ; then
6031 echo "*** This configuration is not supported by this package." 1>&2
6035 # Okay, some application will build, or we don't care to check. Still
6036 # notify of subdirs not getting built.
6037 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6038 echo " ${notsupp}" 1>&2
6039 echo " (Any other directories should still work fine.)" 1>&2
6047 # To find our prefix, in gcc_cv_tool_prefix.
6049 # The user is always right.
6050 if test "${PATH_SEPARATOR+set}" != set; then
6051 echo "#! /bin/sh" >conf$$.sh
6052 echo "exit 0" >>conf$$.sh
6054 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6064 if test "x$exec_prefix" = xNONE
; then
6065 if test "x$prefix" = xNONE
; then
6066 gcc_cv_tool_prefix
=$ac_default_prefix
6068 gcc_cv_tool_prefix
=$prefix
6071 gcc_cv_tool_prefix
=$exec_prefix
6074 # If there is no compiler in the tree, use the PATH only. In any
6075 # case, if there is no compiler in the tree nobody should use
6076 # AS_FOR_TARGET and LD_FOR_TARGET.
6077 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6078 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6079 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6080 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6081 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6082 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6083 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6084 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6089 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6090 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6098 # Check whether --with-build-sysroot was given.
6099 if test "${with_build_sysroot+set}" = set; then :
6100 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6101 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6104 SYSROOT_CFLAGS_FOR_TARGET
=
6110 # Check whether --with-debug-prefix-map was given.
6111 if test "${with_debug_prefix_map+set}" = set; then :
6112 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6113 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6114 for debug_map
in $withval; do
6115 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6119 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6124 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6125 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6126 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6127 # We want to ensure that TARGET libraries (which we know are built with
6128 # gcc) are built with "-O2 -g", so include those options when setting
6129 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6130 if test "x$CFLAGS_FOR_TARGET" = x
; then
6131 CFLAGS_FOR_TARGET
=$CFLAGS
6134 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6137 *" -g "* |
*" -g3 "*) ;;
6138 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6143 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6144 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6145 case " $CXXFLAGS " in
6147 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6149 case " $CXXFLAGS " in
6150 *" -g "* |
*" -g3 "*) ;;
6151 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6156 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6157 # the named directory are copied to $(tooldir)/sys-include.
6158 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6159 if test x
${is_cross_compiler} = xno
; then
6160 echo 1>&2 '***' --with-headers is only supported when cross compiling
6163 if test x
"${with_headers}" != xyes
; then
6164 x
=${gcc_cv_tool_prefix}
6165 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6169 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6170 # the name directories are copied to $(tooldir)/lib. Multiple directories
6172 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6173 if test x
${is_cross_compiler} = xno
; then
6174 echo 1>&2 '***' --with-libs is only supported when cross compiling
6177 if test x
"${with_libs}" != xyes
; then
6178 # Copy the libraries in reverse order, so that files in the first named
6179 # library override files in subsequent libraries.
6180 x
=${gcc_cv_tool_prefix}
6181 for l
in ${with_libs}; do
6182 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6187 # Set with_gnu_as and with_gnu_ld as appropriate.
6189 # This is done by determining whether or not the appropriate directory
6190 # is available, and by checking whether or not specific configurations
6191 # have requested that this magic not happen.
6193 # The command line options always override the explicit settings in
6194 # configure.in, and the settings in configure.in override this magic.
6196 # If the default for a toolchain is to use GNU as and ld, and you don't
6197 # want to do that, then you should use the --without-gnu-as and
6198 # --without-gnu-ld options for the configure script.
6200 if test x
${use_gnu_as} = x
&&
6201 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6203 extra_host_args
="$extra_host_args --with-gnu-as"
6206 if test x
${use_gnu_ld} = x
&&
6207 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6209 extra_host_args
="$extra_host_args --with-gnu-ld"
6212 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6213 # can detect this case.
6215 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6217 extra_host_args
="$extra_host_args --with-newlib"
6220 # Handle ${copy_dirs}
6221 set fnord
${copy_dirs}
6223 while test $# != 0 ; do
6224 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6227 echo Copying
$1 to
$2
6229 # Use the install script to create the directory and all required
6230 # parent directories.
6231 if test -d $2 ; then
6235 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6238 # Copy the directory, assuming we have tar.
6239 # FIXME: Should we use B in the second tar? Not all systems support it.
6240 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6242 # It is the responsibility of the user to correctly adjust all
6243 # symlinks. If somebody can figure out how to handle them correctly
6244 # here, feel free to add the code.
6251 # Determine a target-dependent exec_prefix that the installed
6252 # gcc will search in. Keep this list sorted by triplet, with
6253 # the *-*-osname triplets last.
6257 md_exec_prefix
=/gnu
/lib
/gcc-lib
6259 i
[34567]86-pc-msdosdjgpp*)
6260 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6262 i
[34567]86-*-sco3.2v5
*)
6263 if test $with_gnu_as = yes; then
6264 md_exec_prefix
=/usr
/gnu
/bin
6266 md_exec_prefix
=/usr
/ccs
/bin
/elf
6271 powerpc-
*-chorusos* | \
6272 powerpc
*-*-eabi* | \
6273 powerpc
*-*-sysv* | \
6274 powerpc
*-*-kaos* | \
6276 md_exec_prefix
=/usr
/ccs
/bin
6281 md_exec_prefix
=/usr
/ccs
/bin
6296 md_exec_prefix
=/usr
/ccs
/bin
6300 extra_arflags_for_target
=
6301 extra_nmflags_for_target
=
6302 extra_ranlibflags_for_target
=
6303 target_makefile_frag
=/dev
/null
6306 target_makefile_frag
="config/mt-mep"
6309 target_makefile_frag
="config/mt-spu"
6312 target_makefile_frag
="config/mt-sde"
6314 mipsisa
*-*-elfoabi*)
6315 target_makefile_frag
="config/mt-mips-elfoabi"
6317 mips
*-*-*linux
* | mips
*-*-gnu*)
6318 target_makefile_frag
="config/mt-mips-gnu"
6321 target_makefile_frag
="config/mt-netware"
6323 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6324 target_makefile_frag
="config/mt-gnu"
6326 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6327 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6328 # commands to handle both 32-bit and 64-bit objects. These flags are
6329 # harmless if we're using GNU nm or ar.
6330 extra_arflags_for_target
=" -X32_64"
6331 extra_nmflags_for_target
=" -B -X32_64"
6334 # ranlib from Darwin requires the -c flag to look at common symbols.
6335 extra_ranlibflags_for_target
=" -c"
6337 mips
*-*-pe | sh
*-*-pe |
*arm-wince-pe
)
6338 target_makefile_frag
="config/mt-wince"
6342 alphaieee_frag
=/dev
/null
6345 # This just makes sure to use the -mieee option to build target libs.
6346 # This should probably be set individually by each library.
6347 alphaieee_frag
="config/mt-alphaieee"
6351 # If --enable-target-optspace always use -Os instead of -O2 to build
6352 # the target libraries, similarly if it is not specified, use -Os
6353 # on selected platforms.
6354 ospace_frag
=/dev
/null
6355 case "${enable_target_optspace}:${target}" in
6357 ospace_frag
="config/mt-ospace"
6360 ospace_frag
="config/mt-d30v"
6362 :m32r-
* |
:d10v-
* |
:fr30-
*)
6363 ospace_frag
="config/mt-ospace"
6368 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6372 # Default to using --with-stabs for certain targets.
6373 if test x
${with_stabs} = x
; then
6377 mips
*-*-* | alpha
*-*-osf*)
6379 extra_host_args
="${extra_host_args} --with-stabs"
6384 # hpux11 in 64bit mode has libraries in a weird place. Arrange to find
6385 # them automatically.
6388 extra_host_args
="$extra_host_args -x-libraries=/usr/lib/pa20_64 -x-includes=/usr/X11R6/include"
6392 # Some systems (e.g., one of the i386-aix systems the gas testers are
6393 # using) don't handle "\$" correctly, so don't use it here.
6394 tooldir
='${exec_prefix}'/${target_noncanonical}
6395 build_tooldir
=${tooldir}
6397 # Create a .gdbinit file which runs the one in srcdir
6398 # and tells GDB to look there for source files.
6400 if test -r ${srcdir}/.gdbinit
; then
6403 *) cat > .
/.gdbinit
<<EOF
6407 source ${srcdir}/.gdbinit
6413 # Make sure that the compiler is able to generate an executable. If it
6414 # can't, we are probably in trouble. We don't care whether we can run the
6415 # executable--we might be using a cross compiler--we only care whether it
6416 # can be created. At this point the main configure script has set CC.
6418 echo "int main () { return 0; }" > conftest.c
6419 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6420 if test $?
= 0 ; then
6421 if test -s conftest ||
test -s conftest.exe
; then
6427 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6428 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6435 # The Solaris /usr/ucb/cc compiler does not appear to work.
6437 sparc-sun-solaris2
*)
6438 CCBASE
="`echo ${CC-cc} | sed 's/ .*$//'`"
6439 if test "`type $CCBASE | sed 's/^[^/]*//'`" = "/usr/ucb/cc" ; then
6441 test -d /opt
/SUNWspro
/bin
&& could_use
="/opt/SUNWspro/bin"
6442 if test -d /opt
/cygnus
/bin
; then
6443 if test "$could_use" = "" ; then
6444 could_use
="/opt/cygnus/bin"
6446 could_use
="$could_use or /opt/cygnus/bin"
6449 if test "$could_use" = "" ; then
6450 echo "Warning: compilation may fail because you're using"
6451 echo "/usr/ucb/cc. You should change your PATH or CC "
6452 echo "variable and rerun configure."
6454 echo "Warning: compilation may fail because you're using"
6455 echo "/usr/ucb/cc, when you should use the C compiler from"
6456 echo "$could_use. You should change your"
6457 echo "PATH or CC variable and rerun configure."
6463 # Decide which environment variable is used to find dynamic libraries.
6465 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6466 *-*-darwin* |
*-*-rhapsody* ) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6467 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6468 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6471 # On systems where the dynamic library environment variable is PATH,
6472 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6473 # built executables to PATH.
6474 if test "$RPATH_ENVVAR" = PATH
; then
6475 GCC_SHLIB_SUBDIR
=/shlib
6480 # Record target_configdirs and the configure arguments for target and
6481 # build configuration in Makefile.
6482 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6483 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6485 # Determine whether gdb needs tk/tcl or not.
6486 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6487 # and in that case we want gdb to be built without tk. Ugh!
6488 # In fact I believe gdb is the *only* package directly dependent on tk,
6489 # so we should be able to put the 'maybe's in unconditionally and
6490 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6491 # 100% sure that that's safe though.
6493 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6494 case "$enable_gdbtk" in
6498 GDB_TK
="${gdb_tk}" ;;
6500 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6501 # distro. Eventually someone will fix this and move Insight, nee
6502 # gdbtk to a separate directory.
6503 if test -d ${srcdir}/gdb
/gdbtk
; then
6510 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6511 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6513 # Strip out unwanted targets.
6515 # While at that, we remove Makefiles if we were started for recursive
6516 # configuration, so that the top-level Makefile reconfigures them,
6517 # like we used to do when configure itself was recursive.
6519 # Loop over modules. $extrasub must be used with care, limiting as
6520 # much as possible the usage of range addresses. That's because autoconf
6521 # splits the sed script to overcome limits in the number of commands,
6522 # and relying on carefully-timed sed passes may turn out to be very hard
6523 # to maintain later. In this particular case, you just have to be careful
6524 # not to nest @if/@endif pairs, because configure will not warn you at all.
6526 # Check whether --enable-bootstrap was given.
6527 if test "${enable_bootstrap+set}" = set; then :
6528 enableval
=$enable_bootstrap;
6530 enable_bootstrap
=default
6534 # Issue errors and warnings for invalid/strange bootstrap combinations.
6535 case "$configdirs" in
6536 *gcc
*) have_compiler
=yes ;;
6537 *) have_compiler
=no
;;
6540 case "$have_compiler:$host:$target:$enable_bootstrap" in
6543 # Default behavior. Enable bootstrap if we have a compiler
6544 # and we are in a native configuration.
6545 yes:$build:$build:default
)
6546 enable_bootstrap
=yes ;;
6549 enable_bootstrap
=no
;;
6551 # We have a compiler and we are in a native configuration, bootstrap is ok
6552 yes:$build:$build:yes)
6555 # Other configurations, but we have a compiler. Assume the user knows
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
6559 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
6562 # No compiler: if they passed --enable-bootstrap explicitly, fail
6564 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
6566 # Fail if wrong command line
6568 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
6572 # Adjust the toplevel makefile according to whether bootstrap was selected.
6573 case $enable_bootstrap in
6575 bootstrap_suffix
=bootstrap
6576 BUILD_CONFIG
=bootstrap-debug
6579 bootstrap_suffix
=no-bootstrap
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6585 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6586 if test "x${with_build_config}" != x
; then
6587 BUILD_CONFIG
=$with_build_config
6589 case $BUILD_CONFIG in
6591 if echo "int f (void) { return 0; }" > conftest.c
&&
6592 ${CC} -c conftest.c
&&
6593 mv conftest.o conftest.o.g0
&&
6594 ${CC} -c -g conftest.c
&&
6595 mv conftest.o conftest.o.g
&&
6596 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
; then
6601 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6606 $as_echo "$BUILD_CONFIG" >&6; }
6609 for module
in ${build_configdirs} ; do
6610 if test -z "${no_recursion}" \
6611 && test -f ${build_subdir}/${module}/Makefile
; then
6612 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6613 rm -f ${build_subdir}/${module}/Makefile
6616 /^@if build-$module\$/d
6617 /^@endif build-$module\$/d
6618 /^@if build-$module-$bootstrap_suffix\$/d
6619 /^@endif build-$module-$bootstrap_suffix\$/d"
6621 for module
in ${configdirs} ; do
6622 if test -z "${no_recursion}"; then
6623 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6624 if test -f ${file}; then
6625 echo 1>&2 "*** removing ${file} to force reconfigure"
6632 /^@endif $module\$/d
6633 /^@if $module-$bootstrap_suffix\$/d
6634 /^@endif $module-$bootstrap_suffix\$/d"
6636 for module
in ${target_configdirs} ; do
6637 if test -z "${no_recursion}" \
6638 && test -f ${target_subdir}/${module}/Makefile
; then
6639 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6640 rm -f ${target_subdir}/${module}/Makefile
6643 # We only bootstrap target libraries listed in bootstrap_target_libs.
6644 case $bootstrap_target_libs in
6645 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6646 *) target_bootstrap_suffix
=no-bootstrap
;;
6650 /^@if target-$module\$/d
6651 /^@endif target-$module\$/d
6652 /^@if target-$module-$target_bootstrap_suffix\$/d
6653 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6657 /^@if /,/^@endif /d"
6659 # Create the serialization dependencies. This uses a temporary file.
6661 # Check whether --enable-serial-configure was given.
6662 if test "${enable_serial_configure+set}" = set; then :
6663 enableval
=$enable_serial_configure;
6667 case ${enable_serial_configure} in
6669 enable_serial_build_configure
=yes
6670 enable_serial_host_configure
=yes
6671 enable_serial_target_configure
=yes
6675 # These force 'configure's to be done one at a time, to avoid problems
6676 # with contention over a shared config.cache.
6678 echo '# serdep.tmp' > serdep.tmp
6680 test "x${enable_serial_build_configure}" = xyes
&&
6681 for item
in ${build_configdirs} ; do
6684 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6689 test "x${enable_serial_host_configure}" = xyes
&&
6690 for item
in ${configdirs} ; do
6693 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6698 test "x${enable_serial_target_configure}" = xyes
&&
6699 for item
in ${target_configdirs} ; do
6702 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
6706 serialization_dependencies
=serdep.tmp
6709 # Base args. Strip norecursion, cache-file, srcdir, host, build,
6710 # target, nonopt, and variable assignments. These are the ones we
6711 # might not want to pass down to subconfigures. Also strip
6712 # program-prefix, program-suffix, and program-transform-name, so that
6713 # we can pass down a consistent program-transform-name.
6717 eval "set -- $ac_configure_args"
6720 if test X
"$skip_next" = X
"yes"; then
6724 if test X
"$keep_next" = X
"yes"; then
6727 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6729 baseargs
="$baseargs '$ac_arg'"
6734 # Handle separated arguments. Based on the logic generated by
6737 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
6738 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
6739 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
6740 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
6766 -program-prefix* | \
6767 -program-suffix* | \
6768 -program-transform-name* )
6769 skip_next
=$separate_arg
6773 # An option. Add it.
6776 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
6778 baseargs
="$baseargs '$ac_arg'"
6779 keep_next
=$separate_arg
6782 # Either a variable assignment, or a nonopt (triplet). Don't
6783 # pass it down; let the Makefile handle this.
6788 # Remove the initial space we just introduced and, as these will be
6789 # expanded by make, quote '$'.
6790 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
6792 # Add in --program-transform-name, after --program-prefix and
6793 # --program-suffix have been applied to it. Autoconf has already
6794 # doubled dollar signs and backslashes in program_transform_name; we want
6795 # the backslashes un-doubled, and then the entire thing wrapped in single
6796 # quotes, because this will be expanded first by make and then by the shell.
6797 # Also, because we want to override the logic in subdir configure scripts to
6798 # choose program_transform_name, replace any s,x,x, with s,y,y,.
6799 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
6800 ${program_transform_name}
6802 gcc_transform_name
=`cat conftestsed.out`
6803 rm -f conftestsed.out
6804 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
6805 if test "$silent" = yes; then
6806 baseargs
="$baseargs --silent"
6808 baseargs
="$baseargs --disable-option-checking"
6810 # For the build-side libraries, we just need to pretend we're native,
6811 # and not use the same cache file. Multilibs are neither needed nor
6813 build_configargs
="--cache-file=../config.cache ${baseargs}"
6815 # For host modules, accept cache file option, or specification as blank.
6816 case "${cache_file}" in
6818 cache_file_option
="" ;;
6819 /* |
[A-Za-z
]:[\\/]* ) # absolute path
6820 cache_file_option
="--cache-file=${cache_file}" ;;
6822 cache_file_option
="--cache-file=../${cache_file}" ;;
6825 # Host dirs don't like to share a cache file either, horribly enough.
6826 # This seems to be due to autoconf 2.5x stupidity.
6827 host_configargs
="--cache-file=./config.cache ${extra_host_args} ${baseargs}"
6829 target_configargs
=${baseargs}
6831 # Passing a --with-cross-host argument lets the target libraries know
6832 # whether they are being built with a cross-compiler or being built
6833 # native. However, it would be better to use other mechanisms to make the
6834 # sorts of decisions they want to make on this basis. Please consider
6835 # this option to be deprecated. FIXME.
6836 if test x
${is_cross_compiler} = xyes
; then
6837 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
6840 # Default to --enable-multilib.
6841 if test x
${enable_multilib} = x
; then
6842 target_configargs
="--enable-multilib ${target_configargs}"
6845 # Pass --with-newlib if appropriate. Note that target_configdirs has
6846 # changed from the earlier setting of with_newlib.
6847 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
6848 target_configargs
="--with-newlib ${target_configargs}"
6851 # Different target subdirs use different values of certain variables
6852 # (notably CXX). Worse, multilibs use *lots* of different values.
6853 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
6854 # it doesn't automatically accept command-line overrides of them.
6855 # This means it's not safe for target subdirs to share a cache file,
6856 # which is disgusting, but there you have it. Hopefully this can be
6857 # fixed in future. It's still worthwhile to use a cache file for each
6858 # directory. I think.
6860 # Pass the appropriate --build, --host, --target and --cache-file arguments.
6861 # We need to pass --target, as newer autoconf's requires consistency
6862 # for target_alias and gcc doesn't manage it consistently.
6863 target_configargs
="--cache-file=./config.cache ${target_configargs}"
6866 case " $target_configdirs " in
6868 case " $target_configargs " in
6869 *" --with-newlib "*)
6872 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' ;;
6875 # If we're not building GCC, don't discard standard headers.
6876 if test -d ${srcdir}/gcc
; then
6877 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
6879 if test "${build}" != "${host}"; then
6880 # On Canadian crosses, CC_FOR_TARGET will have already been set
6881 # by `configure', so we won't have an opportunity to add -Bgcc/
6882 # to it. This is right: we don't want to search that directory
6883 # for binaries, but we want the header files in there, so add
6885 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include'
6887 # Someone might think of using the pre-installed headers on
6888 # Canadian crosses, in case the installed compiler is not fully
6889 # compatible with the compiler being built. In this case, it
6890 # would be better to flag an error than risking having
6891 # incompatible object files being constructed. We can't
6892 # guarantee that an error will be flagged, but let's hope the
6893 # compiler will do it, when presented with incompatible header
6898 case "${target}-${is_cross_compiler}" in
6899 i
[3456789]86-*-linux*-no)
6900 # Here host == target, so we don't need to build gcc,
6901 # so we don't want to discard standard headers.
6902 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
6905 # If we're building newlib, use its generic headers last, but search
6906 # for any libc-related directories first (so make it the last -B
6908 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
6910 # If we're building libgloss, find the startup file, simulator library
6911 # and linker script.
6912 case " $target_configdirs " in
6914 # Look for startup file, simulator library and maybe linker script.
6915 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
6916 # Look for libnosys.a in case the target needs it.
6917 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
6918 # Most targets have the linker script in the source directory.
6919 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
6930 # Can't be handled as Cygwin above since Mingw does not use newlib.
6931 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' ;;
6934 # Allow the user to override the flags for
6935 # our build compiler if desired.
6936 if test x
"${build}" = x
"${host}" ; then
6937 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
6938 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
6939 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
6942 # On Canadian crosses, we'll be searching the right directories for
6943 # the previously-installed cross compiler, so don't bother to add
6944 # flags for directories within the install tree of the compiler
6945 # being built; programs in there won't even run.
6946 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
6947 # Search for pre-installed headers if nothing else fits.
6948 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
6951 if test "x
${use_gnu_ld}" = x &&
6952 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
6953 # Arrange for us to find uninstalled linker scripts.
6954 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
6957 # Search for other target-specific linker scripts and such.
6960 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
6964 # Makefile fragments.
6965 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
6967 eval fragval=\$$frag
6968 if test $fragval != /dev/null; then
6969 eval $frag=${srcdir}/$fragval
6977 # Miscellanea: directories, flags, etc.
6986 # Build module lists & subconfigure args.
6990 # Host module lists & subconfigure args.
6994 # Target module lists & subconfigure args.
7016 # Generate default definitions for YACC, M4, LEX and other programs that run
7017 # on the build machine. These are used if the Makefile can't locate these
7018 # programs in objdir.
7019 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7021 for ac_prog in 'bison -y' byacc yacc
7023 # Extract the first word of "$ac_prog", so it can be a program name with args.
7024 set dummy $ac_prog; ac_word=$2
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7026 $as_echo_n "checking
for $ac_word...
" >&6; }
7027 if test "${ac_cv_prog_YACC+set}" = set; then :
7028 $as_echo_n "(cached
) " >&6
7030 if test -n "$YACC"; then
7031 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7037 test -z "$as_dir" && as_dir=.
7038 for ac_exec_ext in '' $ac_executable_extensions; do
7039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7040 ac_cv_prog_YACC="$ac_prog"
7041 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7050 YACC=$ac_cv_prog_YACC
7051 if test -n "$YACC"; then
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7053 $as_echo "$YACC" >&6; }
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7056 $as_echo "no
" >&6; }
7060 test -n "$YACC" && break
7062 test -n "$YACC" || YACC="$MISSING bison
-y"
7064 case " $build_configdirs " in
7065 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7066 *" byacc
"*) YACC='$$r/$(BUILD_SUBDIR)/byacc/byacc' ;;
7069 for ac_prog in bison
7071 # Extract the first word of "$ac_prog", so it can be a program name with args.
7072 set dummy $ac_prog; ac_word=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7074 $as_echo_n "checking
for $ac_word...
" >&6; }
7075 if test "${ac_cv_prog_BISON+set}" = set; then :
7076 $as_echo_n "(cached
) " >&6
7078 if test -n "$BISON"; then
7079 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir=.
7086 for ac_exec_ext in '' $ac_executable_extensions; do
7087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088 ac_cv_prog_BISON="$ac_prog"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7098 BISON=$ac_cv_prog_BISON
7099 if test -n "$BISON"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7101 $as_echo "$BISON" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7104 $as_echo "no
" >&6; }
7108 test -n "$BISON" && break
7110 test -n "$BISON" || BISON="$MISSING bison
"
7112 case " $build_configdirs " in
7113 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7116 for ac_prog in gm4 gnum4 m4
7118 # Extract the first word of "$ac_prog", so it can be a program name with args.
7119 set dummy $ac_prog; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7121 $as_echo_n "checking
for $ac_word...
" >&6; }
7122 if test "${ac_cv_prog_M4+set}" = set; then :
7123 $as_echo_n "(cached
) " >&6
7125 if test -n "$M4"; then
7126 ac_cv_prog_M4="$M4" # Let the user override the test.
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7135 ac_cv_prog_M4="$ac_prog"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7146 if test -n "$M4"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7148 $as_echo "$M4" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7151 $as_echo "no
" >&6; }
7155 test -n "$M4" && break
7157 test -n "$M4" || M4="$MISSING m4"
7159 case " $build_configdirs " in
7160 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7163 for ac_prog in flex lex
7165 # Extract the first word of "$ac_prog", so it can be a program name with args.
7166 set dummy $ac_prog; ac_word=$2
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7168 $as_echo_n "checking
for $ac_word...
" >&6; }
7169 if test "${ac_cv_prog_LEX+set}" = set; then :
7170 $as_echo_n "(cached
) " >&6
7172 if test -n "$LEX"; then
7173 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7179 test -z "$as_dir" && as_dir=.
7180 for ac_exec_ext in '' $ac_executable_extensions; do
7181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7182 ac_cv_prog_LEX="$ac_prog"
7183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7193 if test -n "$LEX"; then
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7195 $as_echo "$LEX" >&6; }
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7198 $as_echo "no
" >&6; }
7202 test -n "$LEX" && break
7204 test -n "$LEX" || LEX="$MISSING flex
"
7206 case " $build_configdirs " in
7207 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7208 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7213 # Extract the first word of "$ac_prog", so it can be a program name with args.
7214 set dummy $ac_prog; ac_word=$2
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7216 $as_echo_n "checking
for $ac_word...
" >&6; }
7217 if test "${ac_cv_prog_FLEX+set}" = set; then :
7218 $as_echo_n "(cached
) " >&6
7220 if test -n "$FLEX"; then
7221 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7227 test -z "$as_dir" && as_dir=.
7228 for ac_exec_ext in '' $ac_executable_extensions; do
7229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7230 ac_cv_prog_FLEX="$ac_prog"
7231 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7240 FLEX=$ac_cv_prog_FLEX
7241 if test -n "$FLEX"; then
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7243 $as_echo "$FLEX" >&6; }
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7246 $as_echo "no
" >&6; }
7250 test -n "$FLEX" && break
7252 test -n "$FLEX" || FLEX="$MISSING flex
"
7254 case " $build_configdirs " in
7255 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7258 for ac_prog in makeinfo
7260 # Extract the first word of "$ac_prog", so it can be a program name with args.
7261 set dummy $ac_prog; ac_word=$2
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7263 $as_echo_n "checking
for $ac_word...
" >&6; }
7264 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7265 $as_echo_n "(cached
) " >&6
7267 if test -n "$MAKEINFO"; then
7268 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7274 test -z "$as_dir" && as_dir=.
7275 for ac_exec_ext in '' $ac_executable_extensions; do
7276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7277 ac_cv_prog_MAKEINFO="$ac_prog"
7278 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7287 MAKEINFO=$ac_cv_prog_MAKEINFO
7288 if test -n "$MAKEINFO"; then
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7290 $as_echo "$MAKEINFO" >&6; }
7292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7293 $as_echo "no
" >&6; }
7297 test -n "$MAKEINFO" && break
7299 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7301 case " $build_configdirs " in
7302 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7305 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7306 # higher, else we use the "missing
" dummy.
7307 if ${MAKEINFO} --version \
7308 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7311 MAKEINFO="$MISSING makeinfo
"
7317 # FIXME: expect and dejagnu may become build tools?
7319 for ac_prog in expect
7321 # Extract the first word of "$ac_prog", so it can be a program name with args.
7322 set dummy $ac_prog; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7324 $as_echo_n "checking
for $ac_word...
" >&6; }
7325 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7326 $as_echo_n "(cached
) " >&6
7328 if test -n "$EXPECT"; then
7329 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_EXPECT="$ac_prog"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7348 EXPECT=$ac_cv_prog_EXPECT
7349 if test -n "$EXPECT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7351 $as_echo "$EXPECT" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7354 $as_echo "no
" >&6; }
7358 test -n "$EXPECT" && break
7360 test -n "$EXPECT" || EXPECT="expect
"
7362 case " $configdirs " in
7364 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7368 for ac_prog in runtest
7370 # Extract the first word of "$ac_prog", so it can be a program name with args.
7371 set dummy $ac_prog; ac_word=$2
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7373 $as_echo_n "checking
for $ac_word...
" >&6; }
7374 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7375 $as_echo_n "(cached
) " >&6
7377 if test -n "$RUNTEST"; then
7378 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 test -z "$as_dir" && as_dir=.
7385 for ac_exec_ext in '' $ac_executable_extensions; do
7386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7387 ac_cv_prog_RUNTEST="$ac_prog"
7388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7397 RUNTEST=$ac_cv_prog_RUNTEST
7398 if test -n "$RUNTEST"; then
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7400 $as_echo "$RUNTEST" >&6; }
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7403 $as_echo "no
" >&6; }
7407 test -n "$RUNTEST" && break
7409 test -n "$RUNTEST" || RUNTEST="runtest
"
7411 case " $configdirs " in
7413 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7420 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7421 ncn_target_tool_prefix=
7422 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7426 if test -n "$AR"; then
7428 elif test -n "$ac_cv_prog_AR"; then
7432 if test -n "$ac_cv_prog_AR"; then
7433 for ncn_progname in ar; do
7434 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7435 set dummy ${ncn_progname}; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7437 $as_echo_n "checking
for $ac_word...
" >&6; }
7438 if test "${ac_cv_prog_AR+set}" = set; then :
7439 $as_echo_n "(cached
) " >&6
7441 if test -n "$AR"; then
7442 ac_cv_prog_AR="$AR" # Let the user override the test.
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_AR="${ncn_progname}"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7462 if test -n "$AR"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7464 $as_echo "$AR" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7467 $as_echo "no
" >&6; }
7474 for ncn_progname in ar; do
7475 if test -n "$ncn_tool_prefix"; then
7476 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7477 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7479 $as_echo_n "checking
for $ac_word...
" >&6; }
7480 if test "${ac_cv_prog_AR+set}" = set; then :
7481 $as_echo_n "(cached
) " >&6
7483 if test -n "$AR"; then
7484 ac_cv_prog_AR="$AR" # Let the user override the test.
7486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 test -z "$as_dir" && as_dir=.
7491 for ac_exec_ext in '' $ac_executable_extensions; do
7492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7493 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7494 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7504 if test -n "$AR"; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7506 $as_echo "$AR" >&6; }
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7509 $as_echo "no
" >&6; }
7514 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7515 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7516 set dummy ${ncn_progname}; ac_word=$2
7517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7518 $as_echo_n "checking
for $ac_word...
" >&6; }
7519 if test "${ac_cv_prog_AR+set}" = set; then :
7520 $as_echo_n "(cached
) " >&6
7522 if test -n "$AR"; then
7523 ac_cv_prog_AR="$AR" # Let the user override the test.
7525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7529 test -z "$as_dir" && as_dir=.
7530 for ac_exec_ext in '' $ac_executable_extensions; do
7531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7532 ac_cv_prog_AR="${ncn_progname}"
7533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7543 if test -n "$AR"; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7545 $as_echo "$AR" >&6; }
7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7548 $as_echo "no
" >&6; }
7553 test -n "$ac_cv_prog_AR" && break
7556 if test -z "$ac_cv_prog_AR" ; then
7558 if test $build = $host ; then
7561 AR="${ncn_tool_prefix}$2"
7567 if test -n "$AS"; then
7569 elif test -n "$ac_cv_prog_AS"; then
7573 if test -n "$ac_cv_prog_AS"; then
7574 for ncn_progname in as; do
7575 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7576 set dummy ${ncn_progname}; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7578 $as_echo_n "checking
for $ac_word...
" >&6; }
7579 if test "${ac_cv_prog_AS+set}" = set; then :
7580 $as_echo_n "(cached
) " >&6
7582 if test -n "$AS"; then
7583 ac_cv_prog_AS="$AS" # Let the user override the test.
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_AS="${ncn_progname}"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 if test -n "$AS"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7605 $as_echo "$AS" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7608 $as_echo "no
" >&6; }
7615 for ncn_progname in as; do
7616 if test -n "$ncn_tool_prefix"; then
7617 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7618 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7620 $as_echo_n "checking
for $ac_word...
" >&6; }
7621 if test "${ac_cv_prog_AS+set}" = set; then :
7622 $as_echo_n "(cached
) " >&6
7624 if test -n "$AS"; then
7625 ac_cv_prog_AS="$AS" # Let the user override the test.
7627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir=.
7632 for ac_exec_ext in '' $ac_executable_extensions; do
7633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7634 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7645 if test -n "$AS"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7647 $as_echo "$AS" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7650 $as_echo "no
" >&6; }
7655 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
7656 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7657 set dummy ${ncn_progname}; ac_word=$2
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7659 $as_echo_n "checking
for $ac_word...
" >&6; }
7660 if test "${ac_cv_prog_AS+set}" = set; then :
7661 $as_echo_n "(cached
) " >&6
7663 if test -n "$AS"; then
7664 ac_cv_prog_AS="$AS" # Let the user override the test.
7666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7670 test -z "$as_dir" && as_dir=.
7671 for ac_exec_ext in '' $ac_executable_extensions; do
7672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7673 ac_cv_prog_AS="${ncn_progname}"
7674 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7684 if test -n "$AS"; then
7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
7686 $as_echo "$AS" >&6; }
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7689 $as_echo "no
" >&6; }
7694 test -n "$ac_cv_prog_AS" && break
7697 if test -z "$ac_cv_prog_AS" ; then
7699 if test $build = $host ; then
7702 AS="${ncn_tool_prefix}$2"
7708 if test -n "$DLLTOOL"; then
7709 ac_cv_prog_DLLTOOL=$DLLTOOL
7710 elif test -n "$ac_cv_prog_DLLTOOL"; then
7711 DLLTOOL=$ac_cv_prog_DLLTOOL
7714 if test -n "$ac_cv_prog_DLLTOOL"; then
7715 for ncn_progname in dlltool; do
7716 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7717 set dummy ${ncn_progname}; ac_word=$2
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7719 $as_echo_n "checking
for $ac_word...
" >&6; }
7720 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7721 $as_echo_n "(cached
) " >&6
7723 if test -n "$DLLTOOL"; then
7724 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7730 test -z "$as_dir" && as_dir=.
7731 for ac_exec_ext in '' $ac_executable_extensions; do
7732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7733 ac_cv_prog_DLLTOOL="${ncn_progname}"
7734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 DLLTOOL=$ac_cv_prog_DLLTOOL
7744 if test -n "$DLLTOOL"; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7746 $as_echo "$DLLTOOL" >&6; }
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7749 $as_echo "no
" >&6; }
7756 for ncn_progname in dlltool; do
7757 if test -n "$ncn_tool_prefix"; then
7758 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7759 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7761 $as_echo_n "checking
for $ac_word...
" >&6; }
7762 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7763 $as_echo_n "(cached
) " >&6
7765 if test -n "$DLLTOOL"; then
7766 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7775 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7785 DLLTOOL=$ac_cv_prog_DLLTOOL
7786 if test -n "$DLLTOOL"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7788 $as_echo "$DLLTOOL" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7791 $as_echo "no
" >&6; }
7796 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
7797 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7798 set dummy ${ncn_progname}; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7800 $as_echo_n "checking
for $ac_word...
" >&6; }
7801 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
7802 $as_echo_n "(cached
) " >&6
7804 if test -n "$DLLTOOL"; then
7805 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7814 ac_cv_prog_DLLTOOL="${ncn_progname}"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7824 DLLTOOL=$ac_cv_prog_DLLTOOL
7825 if test -n "$DLLTOOL"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7827 $as_echo "$DLLTOOL" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7830 $as_echo "no
" >&6; }
7835 test -n "$ac_cv_prog_DLLTOOL" && break
7838 if test -z "$ac_cv_prog_DLLTOOL" ; then
7840 if test $build = $host ; then
7843 DLLTOOL="${ncn_tool_prefix}$2"
7849 if test -n "$LD"; then
7851 elif test -n "$ac_cv_prog_LD"; then
7855 if test -n "$ac_cv_prog_LD"; then
7856 for ncn_progname in ld; do
7857 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7858 set dummy ${ncn_progname}; ac_word=$2
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7860 $as_echo_n "checking
for $ac_word...
" >&6; }
7861 if test "${ac_cv_prog_LD+set}" = set; then :
7862 $as_echo_n "(cached
) " >&6
7864 if test -n "$LD"; then
7865 ac_cv_prog_LD="$LD" # Let the user override the test.
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_LD="${ncn_progname}"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7885 if test -n "$LD"; then
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7887 $as_echo "$LD" >&6; }
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7890 $as_echo "no
" >&6; }
7897 for ncn_progname in ld; do
7898 if test -n "$ncn_tool_prefix"; then
7899 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7900 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7902 $as_echo_n "checking
for $ac_word...
" >&6; }
7903 if test "${ac_cv_prog_LD+set}" = set; then :
7904 $as_echo_n "(cached
) " >&6
7906 if test -n "$LD"; then
7907 ac_cv_prog_LD="$LD" # Let the user override the test.
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7916 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7927 if test -n "$LD"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7929 $as_echo "$LD" >&6; }
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7932 $as_echo "no
" >&6; }
7937 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
7938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7939 set dummy ${ncn_progname}; ac_word=$2
7940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7941 $as_echo_n "checking
for $ac_word...
" >&6; }
7942 if test "${ac_cv_prog_LD+set}" = set; then :
7943 $as_echo_n "(cached
) " >&6
7945 if test -n "$LD"; then
7946 ac_cv_prog_LD="$LD" # Let the user override the test.
7948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 test -z "$as_dir" && as_dir=.
7953 for ac_exec_ext in '' $ac_executable_extensions; do
7954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7955 ac_cv_prog_LD="${ncn_progname}"
7956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7966 if test -n "$LD"; then
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
7968 $as_echo "$LD" >&6; }
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7971 $as_echo "no
" >&6; }
7976 test -n "$ac_cv_prog_LD" && break
7979 if test -z "$ac_cv_prog_LD" ; then
7981 if test $build = $host ; then
7984 LD="${ncn_tool_prefix}$2"
7990 if test -n "$LIPO"; then
7991 ac_cv_prog_LIPO=$LIPO
7992 elif test -n "$ac_cv_prog_LIPO"; then
7993 LIPO=$ac_cv_prog_LIPO
7996 if test -n "$ac_cv_prog_LIPO"; then
7997 for ncn_progname in lipo; do
7998 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7999 set dummy ${ncn_progname}; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if test "${ac_cv_prog_LIPO+set}" = set; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$LIPO"; then
8006 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8015 ac_cv_prog_LIPO="${ncn_progname}"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 LIPO=$ac_cv_prog_LIPO
8026 if test -n "$LIPO"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8028 $as_echo "$LIPO" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8038 for ncn_progname in lipo; do
8039 if test -n "$ncn_tool_prefix"; then
8040 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8041 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8043 $as_echo_n "checking
for $ac_word...
" >&6; }
8044 if test "${ac_cv_prog_LIPO+set}" = set; then :
8045 $as_echo_n "(cached
) " >&6
8047 if test -n "$LIPO"; then
8048 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054 test -z "$as_dir" && as_dir=.
8055 for ac_exec_ext in '' $ac_executable_extensions; do
8056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8057 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8058 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8067 LIPO=$ac_cv_prog_LIPO
8068 if test -n "$LIPO"; then
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8070 $as_echo "$LIPO" >&6; }
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8073 $as_echo "no
" >&6; }
8078 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8079 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8080 set dummy ${ncn_progname}; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8082 $as_echo_n "checking
for $ac_word...
" >&6; }
8083 if test "${ac_cv_prog_LIPO+set}" = set; then :
8084 $as_echo_n "(cached
) " >&6
8086 if test -n "$LIPO"; then
8087 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8096 ac_cv_prog_LIPO="${ncn_progname}"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8106 LIPO=$ac_cv_prog_LIPO
8107 if test -n "$LIPO"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8109 $as_echo "$LIPO" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8112 $as_echo "no
" >&6; }
8117 test -n "$ac_cv_prog_LIPO" && break
8120 if test -z "$ac_cv_prog_LIPO" ; then
8122 if test $build = $host ; then
8125 LIPO="${ncn_tool_prefix}$2"
8131 if test -n "$NM"; then
8133 elif test -n "$ac_cv_prog_NM"; then
8137 if test -n "$ac_cv_prog_NM"; then
8138 for ncn_progname in nm; do
8139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8140 set dummy ${ncn_progname}; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8142 $as_echo_n "checking
for $ac_word...
" >&6; }
8143 if test "${ac_cv_prog_NM+set}" = set; then :
8144 $as_echo_n "(cached
) " >&6
8146 if test -n "$NM"; then
8147 ac_cv_prog_NM="$NM" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8156 ac_cv_prog_NM="${ncn_progname}"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8167 if test -n "$NM"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8169 $as_echo "$NM" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8172 $as_echo "no
" >&6; }
8179 for ncn_progname in nm; do
8180 if test -n "$ncn_tool_prefix"; then
8181 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8182 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8184 $as_echo_n "checking
for $ac_word...
" >&6; }
8185 if test "${ac_cv_prog_NM+set}" = set; then :
8186 $as_echo_n "(cached
) " >&6
8188 if test -n "$NM"; then
8189 ac_cv_prog_NM="$NM" # Let the user override the test.
8191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir=.
8196 for ac_exec_ext in '' $ac_executable_extensions; do
8197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8198 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8209 if test -n "$NM"; then
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8211 $as_echo "$NM" >&6; }
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8214 $as_echo "no
" >&6; }
8219 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8220 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8221 set dummy ${ncn_progname}; ac_word=$2
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8223 $as_echo_n "checking
for $ac_word...
" >&6; }
8224 if test "${ac_cv_prog_NM+set}" = set; then :
8225 $as_echo_n "(cached
) " >&6
8227 if test -n "$NM"; then
8228 ac_cv_prog_NM="$NM" # Let the user override the test.
8230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8234 test -z "$as_dir" && as_dir=.
8235 for ac_exec_ext in '' $ac_executable_extensions; do
8236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8237 ac_cv_prog_NM="${ncn_progname}"
8238 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8248 if test -n "$NM"; then
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8250 $as_echo "$NM" >&6; }
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8253 $as_echo "no
" >&6; }
8258 test -n "$ac_cv_prog_NM" && break
8261 if test -z "$ac_cv_prog_NM" ; then
8263 if test $build = $host ; then
8266 NM="${ncn_tool_prefix}$2"
8272 if test -n "$RANLIB"; then
8273 ac_cv_prog_RANLIB=$RANLIB
8274 elif test -n "$ac_cv_prog_RANLIB"; then
8275 RANLIB=$ac_cv_prog_RANLIB
8278 if test -n "$ac_cv_prog_RANLIB"; then
8279 for ncn_progname in ranlib; do
8280 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8281 set dummy ${ncn_progname}; ac_word=$2
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8283 $as_echo_n "checking
for $ac_word...
" >&6; }
8284 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8285 $as_echo_n "(cached
) " >&6
8287 if test -n "$RANLIB"; then
8288 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8294 test -z "$as_dir" && as_dir=.
8295 for ac_exec_ext in '' $ac_executable_extensions; do
8296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8297 ac_cv_prog_RANLIB="${ncn_progname}"
8298 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8307 RANLIB=$ac_cv_prog_RANLIB
8308 if test -n "$RANLIB"; then
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8310 $as_echo "$RANLIB" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8313 $as_echo "no
" >&6; }
8320 for ncn_progname in ranlib; do
8321 if test -n "$ncn_tool_prefix"; then
8322 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8323 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8325 $as_echo_n "checking
for $ac_word...
" >&6; }
8326 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8327 $as_echo_n "(cached
) " >&6
8329 if test -n "$RANLIB"; then
8330 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8339 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8349 RANLIB=$ac_cv_prog_RANLIB
8350 if test -n "$RANLIB"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8352 $as_echo "$RANLIB" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8355 $as_echo "no
" >&6; }
8360 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8361 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8362 set dummy ${ncn_progname}; ac_word=$2
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8364 $as_echo_n "checking
for $ac_word...
" >&6; }
8365 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8366 $as_echo_n "(cached
) " >&6
8368 if test -n "$RANLIB"; then
8369 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir=.
8376 for ac_exec_ext in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_prog_RANLIB="${ncn_progname}"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8388 RANLIB=$ac_cv_prog_RANLIB
8389 if test -n "$RANLIB"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8391 $as_echo "$RANLIB" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8394 $as_echo "no
" >&6; }
8399 test -n "$ac_cv_prog_RANLIB" && break
8402 if test -z "$ac_cv_prog_RANLIB" ; then
8408 if test -n "$STRIP"; then
8409 ac_cv_prog_STRIP=$STRIP
8410 elif test -n "$ac_cv_prog_STRIP"; then
8411 STRIP=$ac_cv_prog_STRIP
8414 if test -n "$ac_cv_prog_STRIP"; then
8415 for ncn_progname in strip; do
8416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8417 set dummy ${ncn_progname}; ac_word=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8419 $as_echo_n "checking
for $ac_word...
" >&6; }
8420 if test "${ac_cv_prog_STRIP+set}" = set; then :
8421 $as_echo_n "(cached
) " >&6
8423 if test -n "$STRIP"; then
8424 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8430 test -z "$as_dir" && as_dir=.
8431 for ac_exec_ext in '' $ac_executable_extensions; do
8432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8433 ac_cv_prog_STRIP="${ncn_progname}"
8434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8443 STRIP=$ac_cv_prog_STRIP
8444 if test -n "$STRIP"; then
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8446 $as_echo "$STRIP" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8449 $as_echo "no
" >&6; }
8456 for ncn_progname in strip; do
8457 if test -n "$ncn_tool_prefix"; then
8458 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8459 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8461 $as_echo_n "checking
for $ac_word...
" >&6; }
8462 if test "${ac_cv_prog_STRIP+set}" = set; then :
8463 $as_echo_n "(cached
) " >&6
8465 if test -n "$STRIP"; then
8466 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8472 test -z "$as_dir" && as_dir=.
8473 for ac_exec_ext in '' $ac_executable_extensions; do
8474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8475 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8476 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8485 STRIP=$ac_cv_prog_STRIP
8486 if test -n "$STRIP"; then
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8488 $as_echo "$STRIP" >&6; }
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8491 $as_echo "no
" >&6; }
8496 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8497 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8498 set dummy ${ncn_progname}; ac_word=$2
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8500 $as_echo_n "checking
for $ac_word...
" >&6; }
8501 if test "${ac_cv_prog_STRIP+set}" = set; then :
8502 $as_echo_n "(cached
) " >&6
8504 if test -n "$STRIP"; then
8505 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8511 test -z "$as_dir" && as_dir=.
8512 for ac_exec_ext in '' $ac_executable_extensions; do
8513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8514 ac_cv_prog_STRIP="${ncn_progname}"
8515 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8524 STRIP=$ac_cv_prog_STRIP
8525 if test -n "$STRIP"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8527 $as_echo "$STRIP" >&6; }
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8530 $as_echo "no
" >&6; }
8535 test -n "$ac_cv_prog_STRIP" && break
8538 if test -z "$ac_cv_prog_STRIP" ; then
8544 if test -n "$WINDRES"; then
8545 ac_cv_prog_WINDRES=$WINDRES
8546 elif test -n "$ac_cv_prog_WINDRES"; then
8547 WINDRES=$ac_cv_prog_WINDRES
8550 if test -n "$ac_cv_prog_WINDRES"; then
8551 for ncn_progname in windres; do
8552 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8553 set dummy ${ncn_progname}; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$WINDRES"; then
8560 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_WINDRES="${ncn_progname}"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 WINDRES=$ac_cv_prog_WINDRES
8580 if test -n "$WINDRES"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8582 $as_echo "$WINDRES" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8592 for ncn_progname in windres; do
8593 if test -n "$ncn_tool_prefix"; then
8594 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8595 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8597 $as_echo_n "checking
for $ac_word...
" >&6; }
8598 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8599 $as_echo_n "(cached
) " >&6
8601 if test -n "$WINDRES"; then
8602 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir=.
8609 for ac_exec_ext in '' $ac_executable_extensions; do
8610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8611 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 WINDRES=$ac_cv_prog_WINDRES
8622 if test -n "$WINDRES"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8624 $as_echo "$WINDRES" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8627 $as_echo "no
" >&6; }
8632 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
8633 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8634 set dummy ${ncn_progname}; ac_word=$2
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8636 $as_echo_n "checking
for $ac_word...
" >&6; }
8637 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8638 $as_echo_n "(cached
) " >&6
8640 if test -n "$WINDRES"; then
8641 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8647 test -z "$as_dir" && as_dir=.
8648 for ac_exec_ext in '' $ac_executable_extensions; do
8649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8650 ac_cv_prog_WINDRES="${ncn_progname}"
8651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8660 WINDRES=$ac_cv_prog_WINDRES
8661 if test -n "$WINDRES"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8663 $as_echo "$WINDRES" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8666 $as_echo "no
" >&6; }
8671 test -n "$ac_cv_prog_WINDRES" && break
8674 if test -z "$ac_cv_prog_WINDRES" ; then
8676 if test $build = $host ; then
8679 WINDRES="${ncn_tool_prefix}$2"
8685 if test -n "$WINDMC"; then
8686 ac_cv_prog_WINDMC=$WINDMC
8687 elif test -n "$ac_cv_prog_WINDMC"; then
8688 WINDMC=$ac_cv_prog_WINDMC
8691 if test -n "$ac_cv_prog_WINDMC"; then
8692 for ncn_progname in windmc; do
8693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8694 set dummy ${ncn_progname}; ac_word=$2
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8696 $as_echo_n "checking
for $ac_word...
" >&6; }
8697 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8698 $as_echo_n "(cached
) " >&6
8700 if test -n "$WINDMC"; then
8701 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 test -z "$as_dir" && as_dir=.
8708 for ac_exec_ext in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_prog_WINDMC="${ncn_progname}"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8720 WINDMC=$ac_cv_prog_WINDMC
8721 if test -n "$WINDMC"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8723 $as_echo "$WINDMC" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8726 $as_echo "no
" >&6; }
8733 for ncn_progname in windmc; do
8734 if test -n "$ncn_tool_prefix"; then
8735 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8736 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8738 $as_echo_n "checking
for $ac_word...
" >&6; }
8739 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8740 $as_echo_n "(cached
) " >&6
8742 if test -n "$WINDMC"; then
8743 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir=.
8750 for ac_exec_ext in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8762 WINDMC=$ac_cv_prog_WINDMC
8763 if test -n "$WINDMC"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8765 $as_echo "$WINDMC" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8768 $as_echo "no
" >&6; }
8773 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
8774 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8775 set dummy ${ncn_progname}; ac_word=$2
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8777 $as_echo_n "checking
for $ac_word...
" >&6; }
8778 if test "${ac_cv_prog_WINDMC+set}" = set; then :
8779 $as_echo_n "(cached
) " >&6
8781 if test -n "$WINDMC"; then
8782 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
8784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8788 test -z "$as_dir" && as_dir=.
8789 for ac_exec_ext in '' $ac_executable_extensions; do
8790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8791 ac_cv_prog_WINDMC="${ncn_progname}"
8792 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8801 WINDMC=$ac_cv_prog_WINDMC
8802 if test -n "$WINDMC"; then
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
8804 $as_echo "$WINDMC" >&6; }
8806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8807 $as_echo "no
" >&6; }
8812 test -n "$ac_cv_prog_WINDMC" && break
8815 if test -z "$ac_cv_prog_WINDMC" ; then
8817 if test $build = $host ; then
8820 WINDMC="${ncn_tool_prefix}$2"
8826 if test -n "$OBJCOPY"; then
8827 ac_cv_prog_OBJCOPY=$OBJCOPY
8828 elif test -n "$ac_cv_prog_OBJCOPY"; then
8829 OBJCOPY=$ac_cv_prog_OBJCOPY
8832 if test -n "$ac_cv_prog_OBJCOPY"; then
8833 for ncn_progname in objcopy; do
8834 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8835 set dummy ${ncn_progname}; ac_word=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8837 $as_echo_n "checking
for $ac_word...
" >&6; }
8838 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8839 $as_echo_n "(cached
) " >&6
8841 if test -n "$OBJCOPY"; then
8842 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8851 ac_cv_prog_OBJCOPY="${ncn_progname}"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8861 OBJCOPY=$ac_cv_prog_OBJCOPY
8862 if test -n "$OBJCOPY"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8864 $as_echo "$OBJCOPY" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8867 $as_echo "no
" >&6; }
8874 for ncn_progname in objcopy; do
8875 if test -n "$ncn_tool_prefix"; then
8876 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8877 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8879 $as_echo_n "checking
for $ac_word...
" >&6; }
8880 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8881 $as_echo_n "(cached
) " >&6
8883 if test -n "$OBJCOPY"; then
8884 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890 test -z "$as_dir" && as_dir=.
8891 for ac_exec_ext in '' $ac_executable_extensions; do
8892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8893 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8903 OBJCOPY=$ac_cv_prog_OBJCOPY
8904 if test -n "$OBJCOPY"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8906 $as_echo "$OBJCOPY" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8909 $as_echo "no
" >&6; }
8914 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
8915 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8916 set dummy ${ncn_progname}; ac_word=$2
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8918 $as_echo_n "checking
for $ac_word...
" >&6; }
8919 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
8920 $as_echo_n "(cached
) " >&6
8922 if test -n "$OBJCOPY"; then
8923 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
8925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929 test -z "$as_dir" && as_dir=.
8930 for ac_exec_ext in '' $ac_executable_extensions; do
8931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8932 ac_cv_prog_OBJCOPY="${ncn_progname}"
8933 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8942 OBJCOPY=$ac_cv_prog_OBJCOPY
8943 if test -n "$OBJCOPY"; then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
8945 $as_echo "$OBJCOPY" >&6; }
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8948 $as_echo "no
" >&6; }
8953 test -n "$ac_cv_prog_OBJCOPY" && break
8956 if test -z "$ac_cv_prog_OBJCOPY" ; then
8958 if test $build = $host ; then
8961 OBJCOPY="${ncn_tool_prefix}$2"
8967 if test -n "$OBJDUMP"; then
8968 ac_cv_prog_OBJDUMP=$OBJDUMP
8969 elif test -n "$ac_cv_prog_OBJDUMP"; then
8970 OBJDUMP=$ac_cv_prog_OBJDUMP
8973 if test -n "$ac_cv_prog_OBJDUMP"; then
8974 for ncn_progname in objdump; do
8975 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8976 set dummy ${ncn_progname}; ac_word=$2
8977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8978 $as_echo_n "checking
for $ac_word...
" >&6; }
8979 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8980 $as_echo_n "(cached
) " >&6
8982 if test -n "$OBJDUMP"; then
8983 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8989 test -z "$as_dir" && as_dir=.
8990 for ac_exec_ext in '' $ac_executable_extensions; do
8991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8992 ac_cv_prog_OBJDUMP="${ncn_progname}"
8993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9002 OBJDUMP=$ac_cv_prog_OBJDUMP
9003 if test -n "$OBJDUMP"; then
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9005 $as_echo "$OBJDUMP" >&6; }
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9008 $as_echo "no
" >&6; }
9015 for ncn_progname in objdump; do
9016 if test -n "$ncn_tool_prefix"; then
9017 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9018 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9020 $as_echo_n "checking
for $ac_word...
" >&6; }
9021 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9022 $as_echo_n "(cached
) " >&6
9024 if test -n "$OBJDUMP"; then
9025 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9031 test -z "$as_dir" && as_dir=.
9032 for ac_exec_ext in '' $ac_executable_extensions; do
9033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9034 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9035 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9044 OBJDUMP=$ac_cv_prog_OBJDUMP
9045 if test -n "$OBJDUMP"; then
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9047 $as_echo "$OBJDUMP" >&6; }
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9050 $as_echo "no
" >&6; }
9055 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9056 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9057 set dummy ${ncn_progname}; ac_word=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9059 $as_echo_n "checking
for $ac_word...
" >&6; }
9060 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9061 $as_echo_n "(cached
) " >&6
9063 if test -n "$OBJDUMP"; then
9064 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9070 test -z "$as_dir" && as_dir=.
9071 for ac_exec_ext in '' $ac_executable_extensions; do
9072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9073 ac_cv_prog_OBJDUMP="${ncn_progname}"
9074 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9083 OBJDUMP=$ac_cv_prog_OBJDUMP
9084 if test -n "$OBJDUMP"; then
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9086 $as_echo "$OBJDUMP" >&6; }
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9089 $as_echo "no
" >&6; }
9094 test -n "$ac_cv_prog_OBJDUMP" && break
9097 if test -z "$ac_cv_prog_OBJDUMP" ; then
9099 if test $build = $host ; then
9102 OBJDUMP="${ncn_tool_prefix}$2"
9113 # Check whether --with-build-time-tools was given.
9114 if test "${with_build_time_tools+set}" = set; then :
9115 withval=$with_build_time_tools; case x"$withval" in
9118 with_build_time_tools=
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9120 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9124 with_build_time_tools=
9130 if test -n "$CC_FOR_TARGET"; then
9131 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9132 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9133 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9136 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9137 for ncn_progname in cc gcc; do
9138 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9139 set dummy ${ncn_progname}; ac_word=$2
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9141 $as_echo_n "checking
for $ac_word...
" >&6; }
9142 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9143 $as_echo_n "(cached
) " >&6
9145 if test -n "$CC_FOR_TARGET"; then
9146 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9152 test -z "$as_dir" && as_dir=.
9153 for ac_exec_ext in '' $ac_executable_extensions; do
9154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9155 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9156 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9165 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9166 if test -n "$CC_FOR_TARGET"; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9168 $as_echo "$CC_FOR_TARGET" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9171 $as_echo "no
" >&6; }
9178 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9179 for ncn_progname in cc gcc; do
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9181 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9182 if test -x $with_build_time_tools/${ncn_progname}; then
9183 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9185 $as_echo "yes" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9189 $as_echo "no
" >&6; }
9194 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9195 for ncn_progname in cc gcc; do
9196 if test -n "$ncn_target_tool_prefix"; then
9197 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9198 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9200 $as_echo_n "checking
for $ac_word...
" >&6; }
9201 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9202 $as_echo_n "(cached
) " >&6
9204 if test -n "$CC_FOR_TARGET"; then
9205 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9211 test -z "$as_dir" && as_dir=.
9212 for ac_exec_ext in '' $ac_executable_extensions; do
9213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9214 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9215 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9224 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9225 if test -n "$CC_FOR_TARGET"; then
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9227 $as_echo "$CC_FOR_TARGET" >&6; }
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9230 $as_echo "no
" >&6; }
9235 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9236 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9237 set dummy ${ncn_progname}; ac_word=$2
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9239 $as_echo_n "checking
for $ac_word...
" >&6; }
9240 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9241 $as_echo_n "(cached
) " >&6
9243 if test -n "$CC_FOR_TARGET"; then
9244 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 test -z "$as_dir" && as_dir=.
9251 for ac_exec_ext in '' $ac_executable_extensions; do
9252 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9253 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9254 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9263 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9264 if test -n "$CC_FOR_TARGET"; then
9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9266 $as_echo "$CC_FOR_TARGET" >&6; }
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9269 $as_echo "no
" >&6; }
9274 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9278 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9280 if test $build = $target ; then
9283 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9286 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9291 if test -n "$CXX_FOR_TARGET"; then
9292 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9293 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9294 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9297 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9298 for ncn_progname in c++ g++ cxx gxx; do
9299 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9300 set dummy ${ncn_progname}; ac_word=$2
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9302 $as_echo_n "checking
for $ac_word...
" >&6; }
9303 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9304 $as_echo_n "(cached
) " >&6
9306 if test -n "$CXX_FOR_TARGET"; then
9307 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9313 test -z "$as_dir" && as_dir=.
9314 for ac_exec_ext in '' $ac_executable_extensions; do
9315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9316 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9317 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9326 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9327 if test -n "$CXX_FOR_TARGET"; then
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9329 $as_echo "$CXX_FOR_TARGET" >&6; }
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9332 $as_echo "no
" >&6; }
9339 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9340 for ncn_progname in c++ g++ cxx gxx; do
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9342 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9343 if test -x $with_build_time_tools/${ncn_progname}; then
9344 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9346 $as_echo "yes" >&6; }
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9350 $as_echo "no
" >&6; }
9355 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9356 for ncn_progname in c++ g++ cxx gxx; do
9357 if test -n "$ncn_target_tool_prefix"; then
9358 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9359 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9361 $as_echo_n "checking
for $ac_word...
" >&6; }
9362 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9363 $as_echo_n "(cached
) " >&6
9365 if test -n "$CXX_FOR_TARGET"; then
9366 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9372 test -z "$as_dir" && as_dir=.
9373 for ac_exec_ext in '' $ac_executable_extensions; do
9374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9375 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9376 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9385 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9386 if test -n "$CXX_FOR_TARGET"; then
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9388 $as_echo "$CXX_FOR_TARGET" >&6; }
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9391 $as_echo "no
" >&6; }
9396 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9397 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9398 set dummy ${ncn_progname}; ac_word=$2
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9400 $as_echo_n "checking
for $ac_word...
" >&6; }
9401 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9402 $as_echo_n "(cached
) " >&6
9404 if test -n "$CXX_FOR_TARGET"; then
9405 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9411 test -z "$as_dir" && as_dir=.
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9415 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9424 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9425 if test -n "$CXX_FOR_TARGET"; then
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9427 $as_echo "$CXX_FOR_TARGET" >&6; }
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9430 $as_echo "no
" >&6; }
9435 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9439 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9440 set dummy c++ g++ cxx gxx
9441 if test $build = $target ; then
9444 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9447 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
9452 if test -n "$GCC_FOR_TARGET"; then
9453 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
9454 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9455 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9458 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
9459 for ncn_progname in gcc; do
9460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9461 set dummy ${ncn_progname}; ac_word=$2
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9463 $as_echo_n "checking
for $ac_word...
" >&6; }
9464 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9465 $as_echo_n "(cached
) " >&6
9467 if test -n "$GCC_FOR_TARGET"; then
9468 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9474 test -z "$as_dir" && as_dir=.
9475 for ac_exec_ext in '' $ac_executable_extensions; do
9476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9477 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9487 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9488 if test -n "$GCC_FOR_TARGET"; then
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9490 $as_echo "$GCC_FOR_TARGET" >&6; }
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9493 $as_echo "no
" >&6; }
9500 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9501 for ncn_progname in gcc; do
9502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9503 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9504 if test -x $with_build_time_tools/${ncn_progname}; then
9505 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9507 $as_echo "yes" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9511 $as_echo "no
" >&6; }
9516 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
9517 for ncn_progname in gcc; do
9518 if test -n "$ncn_target_tool_prefix"; then
9519 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9520 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9522 $as_echo_n "checking
for $ac_word...
" >&6; }
9523 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9524 $as_echo_n "(cached
) " >&6
9526 if test -n "$GCC_FOR_TARGET"; then
9527 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 test -z "$as_dir" && as_dir=.
9534 for ac_exec_ext in '' $ac_executable_extensions; do
9535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9536 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9546 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9547 if test -n "$GCC_FOR_TARGET"; then
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9549 $as_echo "$GCC_FOR_TARGET" >&6; }
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9552 $as_echo "no
" >&6; }
9557 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
9558 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9559 set dummy ${ncn_progname}; ac_word=$2
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9561 $as_echo_n "checking
for $ac_word...
" >&6; }
9562 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
9563 $as_echo_n "(cached
) " >&6
9565 if test -n "$GCC_FOR_TARGET"; then
9566 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
9568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir=.
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9575 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9585 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
9586 if test -n "$GCC_FOR_TARGET"; then
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
9588 $as_echo "$GCC_FOR_TARGET" >&6; }
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9591 $as_echo "no
" >&6; }
9596 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
9600 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
9601 GCC_FOR_TARGET="${CC_FOR_TARGET}"
9603 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
9608 if test -n "$GCJ_FOR_TARGET"; then
9609 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
9610 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9611 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9614 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
9615 for ncn_progname in gcj; do
9616 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9617 set dummy ${ncn_progname}; ac_word=$2
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9619 $as_echo_n "checking
for $ac_word...
" >&6; }
9620 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9621 $as_echo_n "(cached
) " >&6
9623 if test -n "$GCJ_FOR_TARGET"; then
9624 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9630 test -z "$as_dir" && as_dir=.
9631 for ac_exec_ext in '' $ac_executable_extensions; do
9632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9633 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9634 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9643 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9644 if test -n "$GCJ_FOR_TARGET"; then
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9646 $as_echo "$GCJ_FOR_TARGET" >&6; }
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9649 $as_echo "no
" >&6; }
9656 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
9657 for ncn_progname in gcj; do
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9659 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9660 if test -x $with_build_time_tools/${ncn_progname}; then
9661 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9663 $as_echo "yes" >&6; }
9666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9667 $as_echo "no
" >&6; }
9672 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
9673 for ncn_progname in gcj; do
9674 if test -n "$ncn_target_tool_prefix"; then
9675 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9676 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9678 $as_echo_n "checking
for $ac_word...
" >&6; }
9679 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9680 $as_echo_n "(cached
) " >&6
9682 if test -n "$GCJ_FOR_TARGET"; then
9683 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9689 test -z "$as_dir" && as_dir=.
9690 for ac_exec_ext in '' $ac_executable_extensions; do
9691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9692 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9702 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9703 if test -n "$GCJ_FOR_TARGET"; then
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9705 $as_echo "$GCJ_FOR_TARGET" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9708 $as_echo "no
" >&6; }
9713 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
9714 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9715 set dummy ${ncn_progname}; ac_word=$2
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9717 $as_echo_n "checking
for $ac_word...
" >&6; }
9718 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
9719 $as_echo_n "(cached
) " >&6
9721 if test -n "$GCJ_FOR_TARGET"; then
9722 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
9724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 test -z "$as_dir" && as_dir=.
9729 for ac_exec_ext in '' $ac_executable_extensions; do
9730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9731 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
9732 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9741 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
9742 if test -n "$GCJ_FOR_TARGET"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
9744 $as_echo "$GCJ_FOR_TARGET" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9747 $as_echo "no
" >&6; }
9752 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
9756 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
9758 if test $build = $target ; then
9761 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
9764 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
9769 if test -n "$GFORTRAN_FOR_TARGET"; then
9770 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
9771 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9772 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9775 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9776 for ncn_progname in gfortran; do
9777 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9778 set dummy ${ncn_progname}; ac_word=$2
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9780 $as_echo_n "checking
for $ac_word...
" >&6; }
9781 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9782 $as_echo_n "(cached
) " >&6
9784 if test -n "$GFORTRAN_FOR_TARGET"; then
9785 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791 test -z "$as_dir" && as_dir=.
9792 for ac_exec_ext in '' $ac_executable_extensions; do
9793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9794 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9795 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9804 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9805 if test -n "$GFORTRAN_FOR_TARGET"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9807 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9810 $as_echo "no
" >&6; }
9817 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
9818 for ncn_progname in gfortran; do
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9820 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9821 if test -x $with_build_time_tools/${ncn_progname}; then
9822 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9824 $as_echo "yes" >&6; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9828 $as_echo "no
" >&6; }
9833 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
9834 for ncn_progname in gfortran; do
9835 if test -n "$ncn_target_tool_prefix"; then
9836 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9837 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9839 $as_echo_n "checking
for $ac_word...
" >&6; }
9840 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9841 $as_echo_n "(cached
) " >&6
9843 if test -n "$GFORTRAN_FOR_TARGET"; then
9844 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9850 test -z "$as_dir" && as_dir=.
9851 for ac_exec_ext in '' $ac_executable_extensions; do
9852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9853 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9863 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9864 if test -n "$GFORTRAN_FOR_TARGET"; then
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9866 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9869 $as_echo "no
" >&6; }
9874 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
9875 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9876 set dummy ${ncn_progname}; ac_word=$2
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9878 $as_echo_n "checking
for $ac_word...
" >&6; }
9879 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
9880 $as_echo_n "(cached
) " >&6
9882 if test -n "$GFORTRAN_FOR_TARGET"; then
9883 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
9885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9889 test -z "$as_dir" && as_dir=.
9890 for ac_exec_ext in '' $ac_executable_extensions; do
9891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9892 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
9893 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9902 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
9903 if test -n "$GFORTRAN_FOR_TARGET"; then
9904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
9905 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9908 $as_echo "no
" >&6; }
9913 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
9917 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
9919 if test $build = $target ; then
9920 GFORTRAN_FOR_TARGET="$2"
9922 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
9925 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
9930 cat > conftest.c << \EOF
9935 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
9936 have_gcc_for_target=yes
9938 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
9939 have_gcc_for_target=no
9946 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
9947 if test -n "$with_build_time_tools"; then
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
9949 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
9950 if test -x $with_build_time_tools/ar; then
9951 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
9952 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
9954 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9957 $as_echo "no
" >&6; }
9959 elif test $build != $host && test $have_gcc_for_target = yes; then
9960 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
9961 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
9962 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
9965 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
9966 # Extract the first word of "ar", so it can be a program name with args.
9967 set dummy ar; ac_word=$2
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9969 $as_echo_n "checking
for $ac_word...
" >&6; }
9970 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
9971 $as_echo_n "(cached
) " >&6
9973 case $AR_FOR_TARGET in
9975 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
9978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9979 for as_dir in $gcc_cv_tool_dirs
9982 test -z "$as_dir" && as_dir=.
9983 for ac_exec_ext in '' $ac_executable_extensions; do
9984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9985 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9996 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
9997 if test -n "$AR_FOR_TARGET"; then
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
9999 $as_echo "$AR_FOR_TARGET" >&6; }
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10002 $as_echo "no
" >&6; }
10007 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10010 if test -n "$AR_FOR_TARGET"; then
10011 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10012 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10013 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10016 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10017 for ncn_progname in ar; do
10018 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10019 set dummy ${ncn_progname}; ac_word=$2
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10021 $as_echo_n "checking
for $ac_word...
" >&6; }
10022 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10023 $as_echo_n "(cached
) " >&6
10025 if test -n "$AR_FOR_TARGET"; then
10026 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10029 for as_dir in $PATH
10032 test -z "$as_dir" && as_dir=.
10033 for ac_exec_ext in '' $ac_executable_extensions; do
10034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10035 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10036 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10045 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10046 if test -n "$AR_FOR_TARGET"; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10048 $as_echo "$AR_FOR_TARGET" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10051 $as_echo "no
" >&6; }
10058 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10059 for ncn_progname in ar; do
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10061 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10062 if test -x $with_build_time_tools/${ncn_progname}; then
10063 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10065 $as_echo "yes" >&6; }
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10069 $as_echo "no
" >&6; }
10074 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10075 for ncn_progname in ar; do
10076 if test -n "$ncn_target_tool_prefix"; then
10077 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10078 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10080 $as_echo_n "checking
for $ac_word...
" >&6; }
10081 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10082 $as_echo_n "(cached
) " >&6
10084 if test -n "$AR_FOR_TARGET"; then
10085 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10088 for as_dir in $PATH
10091 test -z "$as_dir" && as_dir=.
10092 for ac_exec_ext in '' $ac_executable_extensions; do
10093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10094 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10095 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10104 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10105 if test -n "$AR_FOR_TARGET"; then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10107 $as_echo "$AR_FOR_TARGET" >&6; }
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10110 $as_echo "no
" >&6; }
10115 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10116 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10117 set dummy ${ncn_progname}; ac_word=$2
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10119 $as_echo_n "checking
for $ac_word...
" >&6; }
10120 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10121 $as_echo_n "(cached
) " >&6
10123 if test -n "$AR_FOR_TARGET"; then
10124 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10127 for as_dir in $PATH
10130 test -z "$as_dir" && as_dir=.
10131 for ac_exec_ext in '' $ac_executable_extensions; do
10132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10133 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10143 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10144 if test -n "$AR_FOR_TARGET"; then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10146 $as_echo "$AR_FOR_TARGET" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10149 $as_echo "no
" >&6; }
10154 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10158 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10160 if test $build = $target ; then
10163 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10166 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10170 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10176 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10177 if test -n "$with_build_time_tools"; then
10178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10179 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10180 if test -x $with_build_time_tools/as; then
10181 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10182 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10184 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10187 $as_echo "no
" >&6; }
10189 elif test $build != $host && test $have_gcc_for_target = yes; then
10190 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
10191 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
10192 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10195 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10196 # Extract the first word of "as
", so it can be a program name with args.
10197 set dummy as; ac_word=$2
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10199 $as_echo_n "checking
for $ac_word...
" >&6; }
10200 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
10201 $as_echo_n "(cached
) " >&6
10203 case $AS_FOR_TARGET in
10205 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in $gcc_cv_tool_dirs
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10216 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10226 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10227 if test -n "$AS_FOR_TARGET"; then
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10229 $as_echo "$AS_FOR_TARGET" >&6; }
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10232 $as_echo "no
" >&6; }
10237 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10240 if test -n "$AS_FOR_TARGET"; then
10241 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
10242 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10243 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10246 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
10247 for ncn_progname in as; do
10248 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10249 set dummy ${ncn_progname}; ac_word=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10251 $as_echo_n "checking
for $ac_word...
" >&6; }
10252 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10253 $as_echo_n "(cached
) " >&6
10255 if test -n "$AS_FOR_TARGET"; then
10256 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10259 for as_dir in $PATH
10262 test -z "$as_dir" && as_dir=.
10263 for ac_exec_ext in '' $ac_executable_extensions; do
10264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10265 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10266 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10275 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10276 if test -n "$AS_FOR_TARGET"; then
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10278 $as_echo "$AS_FOR_TARGET" >&6; }
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10281 $as_echo "no
" >&6; }
10288 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
10289 for ncn_progname in as; do
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10291 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10292 if test -x $with_build_time_tools/${ncn_progname}; then
10293 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10295 $as_echo "yes" >&6; }
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10299 $as_echo "no
" >&6; }
10304 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
10305 for ncn_progname in as; do
10306 if test -n "$ncn_target_tool_prefix"; then
10307 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10308 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10310 $as_echo_n "checking
for $ac_word...
" >&6; }
10311 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10312 $as_echo_n "(cached
) " >&6
10314 if test -n "$AS_FOR_TARGET"; then
10315 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10318 for as_dir in $PATH
10321 test -z "$as_dir" && as_dir=.
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10324 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10334 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10335 if test -n "$AS_FOR_TARGET"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10337 $as_echo "$AS_FOR_TARGET" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10340 $as_echo "no
" >&6; }
10345 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
10346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10347 set dummy ${ncn_progname}; ac_word=$2
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10349 $as_echo_n "checking
for $ac_word...
" >&6; }
10350 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
10351 $as_echo_n "(cached
) " >&6
10353 if test -n "$AS_FOR_TARGET"; then
10354 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
10356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10357 for as_dir in $PATH
10360 test -z "$as_dir" && as_dir=.
10361 for ac_exec_ext in '' $ac_executable_extensions; do
10362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10363 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
10364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10373 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
10374 if test -n "$AS_FOR_TARGET"; then
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
10376 $as_echo "$AS_FOR_TARGET" >&6; }
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10379 $as_echo "no
" >&6; }
10384 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
10388 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
10390 if test $build = $target ; then
10393 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
10396 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
10400 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
10406 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10407 if test -n "$with_build_time_tools"; then
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
10409 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
10410 if test -x $with_build_time_tools/dlltool; then
10411 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
10412 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
10414 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10417 $as_echo "no
" >&6; }
10419 elif test $build != $host && test $have_gcc_for_target = yes; then
10420 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
10421 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
10422 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10425 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10426 # Extract the first word of "dlltool
", so it can be a program name with args.
10427 set dummy dlltool; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10429 $as_echo_n "checking
for $ac_word...
" >&6; }
10430 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
10431 $as_echo_n "(cached
) " >&6
10433 case $DLLTOOL_FOR_TARGET in
10435 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in $gcc_cv_tool_dirs
10442 test -z "$as_dir" && as_dir=.
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10446 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10456 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10457 if test -n "$DLLTOOL_FOR_TARGET"; then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10459 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10462 $as_echo "no
" >&6; }
10467 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
10470 if test -n "$DLLTOOL_FOR_TARGET"; then
10471 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
10472 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10473 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10476 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10477 for ncn_progname in dlltool; do
10478 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10479 set dummy ${ncn_progname}; ac_word=$2
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10481 $as_echo_n "checking
for $ac_word...
" >&6; }
10482 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10483 $as_echo_n "(cached
) " >&6
10485 if test -n "$DLLTOOL_FOR_TARGET"; then
10486 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10489 for as_dir in $PATH
10492 test -z "$as_dir" && as_dir=.
10493 for ac_exec_ext in '' $ac_executable_extensions; do
10494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10495 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10496 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10505 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10506 if test -n "$DLLTOOL_FOR_TARGET"; then
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10508 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10511 $as_echo "no
" >&6; }
10518 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
10519 for ncn_progname in dlltool; do
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10521 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10522 if test -x $with_build_time_tools/${ncn_progname}; then
10523 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10525 $as_echo "yes" >&6; }
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10529 $as_echo "no
" >&6; }
10534 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
10535 for ncn_progname in dlltool; do
10536 if test -n "$ncn_target_tool_prefix"; then
10537 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10538 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10540 $as_echo_n "checking
for $ac_word...
" >&6; }
10541 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10542 $as_echo_n "(cached
) " >&6
10544 if test -n "$DLLTOOL_FOR_TARGET"; then
10545 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10548 for as_dir in $PATH
10551 test -z "$as_dir" && as_dir=.
10552 for ac_exec_ext in '' $ac_executable_extensions; do
10553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10554 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10555 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10564 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10565 if test -n "$DLLTOOL_FOR_TARGET"; then
10566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10567 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10570 $as_echo "no
" >&6; }
10575 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
10576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10577 set dummy ${ncn_progname}; ac_word=$2
10578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10579 $as_echo_n "checking
for $ac_word...
" >&6; }
10580 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
10581 $as_echo_n "(cached
) " >&6
10583 if test -n "$DLLTOOL_FOR_TARGET"; then
10584 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
10586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10587 for as_dir in $PATH
10590 test -z "$as_dir" && as_dir=.
10591 for ac_exec_ext in '' $ac_executable_extensions; do
10592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10593 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
10594 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10603 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
10604 if test -n "$DLLTOOL_FOR_TARGET"; then
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
10606 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10609 $as_echo "no
" >&6; }
10614 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
10618 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
10620 if test $build = $target ; then
10621 DLLTOOL_FOR_TARGET="$2"
10623 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
10626 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
10630 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
10636 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10637 if test -n "$with_build_time_tools"; then
10638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
10639 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
10640 if test -x $with_build_time_tools/ld; then
10641 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
10642 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
10644 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10647 $as_echo "no
" >&6; }
10649 elif test $build != $host && test $have_gcc_for_target = yes; then
10650 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
10651 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
10652 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
10655 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10656 # Extract the first word of "ld
", so it can be a program name with args.
10657 set dummy ld; ac_word=$2
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10659 $as_echo_n "checking
for $ac_word...
" >&6; }
10660 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
10661 $as_echo_n "(cached
) " >&6
10663 case $LD_FOR_TARGET in
10665 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
10668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10669 for as_dir in $gcc_cv_tool_dirs
10672 test -z "$as_dir" && as_dir=.
10673 for ac_exec_ext in '' $ac_executable_extensions; do
10674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10675 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10676 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10686 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10687 if test -n "$LD_FOR_TARGET"; then
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10689 $as_echo "$LD_FOR_TARGET" >&6; }
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10692 $as_echo "no
" >&6; }
10697 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
10700 if test -n "$LD_FOR_TARGET"; then
10701 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
10702 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10703 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10706 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
10707 for ncn_progname in ld; do
10708 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10709 set dummy ${ncn_progname}; ac_word=$2
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10711 $as_echo_n "checking
for $ac_word...
" >&6; }
10712 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10713 $as_echo_n "(cached
) " >&6
10715 if test -n "$LD_FOR_TARGET"; then
10716 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10719 for as_dir in $PATH
10722 test -z "$as_dir" && as_dir=.
10723 for ac_exec_ext in '' $ac_executable_extensions; do
10724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10725 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10735 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10736 if test -n "$LD_FOR_TARGET"; then
10737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10738 $as_echo "$LD_FOR_TARGET" >&6; }
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10741 $as_echo "no
" >&6; }
10748 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
10749 for ncn_progname in ld; do
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10751 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10752 if test -x $with_build_time_tools/${ncn_progname}; then
10753 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10755 $as_echo "yes" >&6; }
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10759 $as_echo "no
" >&6; }
10764 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
10765 for ncn_progname in ld; do
10766 if test -n "$ncn_target_tool_prefix"; then
10767 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10768 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10770 $as_echo_n "checking
for $ac_word...
" >&6; }
10771 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10772 $as_echo_n "(cached
) " >&6
10774 if test -n "$LD_FOR_TARGET"; then
10775 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10778 for as_dir in $PATH
10781 test -z "$as_dir" && as_dir=.
10782 for ac_exec_ext in '' $ac_executable_extensions; do
10783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10784 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10785 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10794 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10795 if test -n "$LD_FOR_TARGET"; then
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10797 $as_echo "$LD_FOR_TARGET" >&6; }
10799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10800 $as_echo "no
" >&6; }
10805 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
10806 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10807 set dummy ${ncn_progname}; ac_word=$2
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10809 $as_echo_n "checking
for $ac_word...
" >&6; }
10810 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
10811 $as_echo_n "(cached
) " >&6
10813 if test -n "$LD_FOR_TARGET"; then
10814 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
10816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10817 for as_dir in $PATH
10820 test -z "$as_dir" && as_dir=.
10821 for ac_exec_ext in '' $ac_executable_extensions; do
10822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10823 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
10824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10833 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
10834 if test -n "$LD_FOR_TARGET"; then
10835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
10836 $as_echo "$LD_FOR_TARGET" >&6; }
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10839 $as_echo "no
" >&6; }
10844 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
10848 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
10850 if test $build = $target ; then
10853 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
10856 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
10860 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
10866 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10867 if test -n "$with_build_time_tools"; then
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
10869 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
10870 if test -x $with_build_time_tools/lipo; then
10871 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
10872 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
10874 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10877 $as_echo "no
" >&6; }
10879 elif test $build != $host && test $have_gcc_for_target = yes; then
10880 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
10881 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
10882 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10885 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10886 # Extract the first word of "lipo
", so it can be a program name with args.
10887 set dummy lipo; ac_word=$2
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10889 $as_echo_n "checking
for $ac_word...
" >&6; }
10890 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
10891 $as_echo_n "(cached
) " >&6
10893 case $LIPO_FOR_TARGET in
10895 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
10898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10899 for as_dir in $gcc_cv_tool_dirs
10902 test -z "$as_dir" && as_dir=.
10903 for ac_exec_ext in '' $ac_executable_extensions; do
10904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10905 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10916 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
10917 if test -n "$LIPO_FOR_TARGET"; then
10918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10919 $as_echo "$LIPO_FOR_TARGET" >&6; }
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10922 $as_echo "no
" >&6; }
10927 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
10930 if test -n "$LIPO_FOR_TARGET"; then
10931 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
10932 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10933 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10936 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
10937 for ncn_progname in lipo; do
10938 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10939 set dummy ${ncn_progname}; ac_word=$2
10940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10941 $as_echo_n "checking
for $ac_word...
" >&6; }
10942 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
10943 $as_echo_n "(cached
) " >&6
10945 if test -n "$LIPO_FOR_TARGET"; then
10946 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
10948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10949 for as_dir in $PATH
10952 test -z "$as_dir" && as_dir=.
10953 for ac_exec_ext in '' $ac_executable_extensions; do
10954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10955 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
10956 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10965 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
10966 if test -n "$LIPO_FOR_TARGET"; then
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
10968 $as_echo "$LIPO_FOR_TARGET" >&6; }
10970 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10971 $as_echo "no
" >&6; }
10978 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
10979 for ncn_progname in lipo; do
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10981 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10982 if test -x $with_build_time_tools/${ncn_progname}; then
10983 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10985 $as_echo "yes" >&6; }
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10989 $as_echo "no
" >&6; }
10994 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
10995 for ncn_progname in lipo; do
10996 if test -n "$ncn_target_tool_prefix"; then
10997 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10998 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11000 $as_echo_n "checking
for $ac_word...
" >&6; }
11001 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11002 $as_echo_n "(cached
) " >&6
11004 if test -n "$LIPO_FOR_TARGET"; then
11005 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11008 for as_dir in $PATH
11011 test -z "$as_dir" && as_dir=.
11012 for ac_exec_ext in '' $ac_executable_extensions; do
11013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11014 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11024 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11025 if test -n "$LIPO_FOR_TARGET"; then
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11027 $as_echo "$LIPO_FOR_TARGET" >&6; }
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11030 $as_echo "no
" >&6; }
11035 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11036 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11037 set dummy ${ncn_progname}; ac_word=$2
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11039 $as_echo_n "checking
for $ac_word...
" >&6; }
11040 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11041 $as_echo_n "(cached
) " >&6
11043 if test -n "$LIPO_FOR_TARGET"; then
11044 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11047 for as_dir in $PATH
11050 test -z "$as_dir" && as_dir=.
11051 for ac_exec_ext in '' $ac_executable_extensions; do
11052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11053 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11054 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11063 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11064 if test -n "$LIPO_FOR_TARGET"; then
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11066 $as_echo "$LIPO_FOR_TARGET" >&6; }
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11069 $as_echo "no
" >&6; }
11074 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11078 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11080 if test $build = $target ; then
11081 LIPO_FOR_TARGET="$2"
11083 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11086 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11090 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11096 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11097 if test -n "$with_build_time_tools"; then
11098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11099 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11100 if test -x $with_build_time_tools/nm; then
11101 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11102 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11104 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11107 $as_echo "no
" >&6; }
11109 elif test $build != $host && test $have_gcc_for_target = yes; then
11110 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11111 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11112 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11115 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11116 # Extract the first word of "nm
", so it can be a program name with args.
11117 set dummy nm; ac_word=$2
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11119 $as_echo_n "checking
for $ac_word...
" >&6; }
11120 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11121 $as_echo_n "(cached
) " >&6
11123 case $NM_FOR_TARGET in
11125 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11129 for as_dir in $gcc_cv_tool_dirs
11132 test -z "$as_dir" && as_dir=.
11133 for ac_exec_ext in '' $ac_executable_extensions; do
11134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11135 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11136 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11146 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11147 if test -n "$NM_FOR_TARGET"; then
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11149 $as_echo "$NM_FOR_TARGET" >&6; }
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11152 $as_echo "no
" >&6; }
11157 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11160 if test -n "$NM_FOR_TARGET"; then
11161 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11162 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11163 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11166 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11167 for ncn_progname in nm; do
11168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11169 set dummy ${ncn_progname}; ac_word=$2
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11171 $as_echo_n "checking
for $ac_word...
" >&6; }
11172 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11173 $as_echo_n "(cached
) " >&6
11175 if test -n "$NM_FOR_TARGET"; then
11176 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11179 for as_dir in $PATH
11182 test -z "$as_dir" && as_dir=.
11183 for ac_exec_ext in '' $ac_executable_extensions; do
11184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11185 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11195 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11196 if test -n "$NM_FOR_TARGET"; then
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11198 $as_echo "$NM_FOR_TARGET" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11201 $as_echo "no
" >&6; }
11208 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
11209 for ncn_progname in nm; do
11210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11211 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11212 if test -x $with_build_time_tools/${ncn_progname}; then
11213 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11215 $as_echo "yes" >&6; }
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11219 $as_echo "no
" >&6; }
11224 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
11225 for ncn_progname in nm; do
11226 if test -n "$ncn_target_tool_prefix"; then
11227 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11228 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11230 $as_echo_n "checking
for $ac_word...
" >&6; }
11231 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11232 $as_echo_n "(cached
) " >&6
11234 if test -n "$NM_FOR_TARGET"; then
11235 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11238 for as_dir in $PATH
11241 test -z "$as_dir" && as_dir=.
11242 for ac_exec_ext in '' $ac_executable_extensions; do
11243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11244 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11245 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11254 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11255 if test -n "$NM_FOR_TARGET"; then
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11257 $as_echo "$NM_FOR_TARGET" >&6; }
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11260 $as_echo "no
" >&6; }
11265 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
11266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11267 set dummy ${ncn_progname}; ac_word=$2
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11269 $as_echo_n "checking
for $ac_word...
" >&6; }
11270 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11271 $as_echo_n "(cached
) " >&6
11273 if test -n "$NM_FOR_TARGET"; then
11274 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11277 for as_dir in $PATH
11280 test -z "$as_dir" && as_dir=.
11281 for ac_exec_ext in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
11284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11293 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11294 if test -n "$NM_FOR_TARGET"; then
11295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11296 $as_echo "$NM_FOR_TARGET" >&6; }
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11299 $as_echo "no
" >&6; }
11304 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
11308 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
11310 if test $build = $target ; then
11313 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
11316 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
11320 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11326 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11327 if test -n "$with_build_time_tools"; then
11328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
11329 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
11330 if test -x $with_build_time_tools/objdump; then
11331 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
11332 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
11334 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11337 $as_echo "no
" >&6; }
11339 elif test $build != $host && test $have_gcc_for_target = yes; then
11340 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
11341 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
11342 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11345 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11346 # Extract the first word of "objdump
", so it can be a program name with args.
11347 set dummy objdump; ac_word=$2
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11349 $as_echo_n "checking
for $ac_word...
" >&6; }
11350 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
11351 $as_echo_n "(cached
) " >&6
11353 case $OBJDUMP_FOR_TARGET in
11355 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
11358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11359 for as_dir in $gcc_cv_tool_dirs
11362 test -z "$as_dir" && as_dir=.
11363 for ac_exec_ext in '' $ac_executable_extensions; do
11364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11365 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11376 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11377 if test -n "$OBJDUMP_FOR_TARGET"; then
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11379 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11382 $as_echo "no
" >&6; }
11387 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
11390 if test -n "$OBJDUMP_FOR_TARGET"; then
11391 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
11392 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11393 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11396 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11397 for ncn_progname in objdump; do
11398 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11399 set dummy ${ncn_progname}; ac_word=$2
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11401 $as_echo_n "checking
for $ac_word...
" >&6; }
11402 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11403 $as_echo_n "(cached
) " >&6
11405 if test -n "$OBJDUMP_FOR_TARGET"; then
11406 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11409 for as_dir in $PATH
11412 test -z "$as_dir" && as_dir=.
11413 for ac_exec_ext in '' $ac_executable_extensions; do
11414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11415 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11416 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11425 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11426 if test -n "$OBJDUMP_FOR_TARGET"; then
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11428 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11431 $as_echo "no
" >&6; }
11438 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11439 for ncn_progname in objdump; do
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11441 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11442 if test -x $with_build_time_tools/${ncn_progname}; then
11443 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11445 $as_echo "yes" >&6; }
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11449 $as_echo "no
" >&6; }
11454 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
11455 for ncn_progname in objdump; do
11456 if test -n "$ncn_target_tool_prefix"; then
11457 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11458 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11460 $as_echo_n "checking
for $ac_word...
" >&6; }
11461 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11462 $as_echo_n "(cached
) " >&6
11464 if test -n "$OBJDUMP_FOR_TARGET"; then
11465 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11468 for as_dir in $PATH
11471 test -z "$as_dir" && as_dir=.
11472 for ac_exec_ext in '' $ac_executable_extensions; do
11473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11474 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11475 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11484 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11485 if test -n "$OBJDUMP_FOR_TARGET"; then
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11487 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11490 $as_echo "no
" >&6; }
11495 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
11496 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11497 set dummy ${ncn_progname}; ac_word=$2
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11499 $as_echo_n "checking
for $ac_word...
" >&6; }
11500 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
11501 $as_echo_n "(cached
) " >&6
11503 if test -n "$OBJDUMP_FOR_TARGET"; then
11504 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
11506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11507 for as_dir in $PATH
11510 test -z "$as_dir" && as_dir=.
11511 for ac_exec_ext in '' $ac_executable_extensions; do
11512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11513 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
11514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11523 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
11524 if test -n "$OBJDUMP_FOR_TARGET"; then
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
11526 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11529 $as_echo "no
" >&6; }
11534 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
11538 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
11540 if test $build = $target ; then
11541 OBJDUMP_FOR_TARGET="$2"
11543 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
11546 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
11550 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
11556 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11557 if test -n "$with_build_time_tools"; then
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
11559 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
11560 if test -x $with_build_time_tools/ranlib; then
11561 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
11562 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
11564 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11567 $as_echo "no
" >&6; }
11569 elif test $build != $host && test $have_gcc_for_target = yes; then
11570 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
11571 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
11572 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11575 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11576 # Extract the first word of "ranlib
", so it can be a program name with args.
11577 set dummy ranlib; ac_word=$2
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11579 $as_echo_n "checking
for $ac_word...
" >&6; }
11580 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
11581 $as_echo_n "(cached
) " >&6
11583 case $RANLIB_FOR_TARGET in
11585 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
11588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11589 for as_dir in $gcc_cv_tool_dirs
11592 test -z "$as_dir" && as_dir=.
11593 for ac_exec_ext in '' $ac_executable_extensions; do
11594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11595 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11596 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11606 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11607 if test -n "$RANLIB_FOR_TARGET"; then
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11609 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11612 $as_echo "no
" >&6; }
11617 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
11620 if test -n "$RANLIB_FOR_TARGET"; then
11621 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
11622 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11623 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11626 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11627 for ncn_progname in ranlib; do
11628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11629 set dummy ${ncn_progname}; ac_word=$2
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11631 $as_echo_n "checking
for $ac_word...
" >&6; }
11632 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11633 $as_echo_n "(cached
) " >&6
11635 if test -n "$RANLIB_FOR_TARGET"; then
11636 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11639 for as_dir in $PATH
11642 test -z "$as_dir" && as_dir=.
11643 for ac_exec_ext in '' $ac_executable_extensions; do
11644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11645 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11655 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11656 if test -n "$RANLIB_FOR_TARGET"; then
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11658 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11661 $as_echo "no
" >&6; }
11668 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
11669 for ncn_progname in ranlib; do
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11671 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11672 if test -x $with_build_time_tools/${ncn_progname}; then
11673 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11675 $as_echo "yes" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11679 $as_echo "no
" >&6; }
11684 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
11685 for ncn_progname in ranlib; do
11686 if test -n "$ncn_target_tool_prefix"; then
11687 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11688 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11690 $as_echo_n "checking
for $ac_word...
" >&6; }
11691 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11692 $as_echo_n "(cached
) " >&6
11694 if test -n "$RANLIB_FOR_TARGET"; then
11695 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11698 for as_dir in $PATH
11701 test -z "$as_dir" && as_dir=.
11702 for ac_exec_ext in '' $ac_executable_extensions; do
11703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11704 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11705 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11714 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11715 if test -n "$RANLIB_FOR_TARGET"; then
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11717 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11720 $as_echo "no
" >&6; }
11725 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
11726 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11727 set dummy ${ncn_progname}; ac_word=$2
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11729 $as_echo_n "checking
for $ac_word...
" >&6; }
11730 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
11731 $as_echo_n "(cached
) " >&6
11733 if test -n "$RANLIB_FOR_TARGET"; then
11734 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
11736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11737 for as_dir in $PATH
11740 test -z "$as_dir" && as_dir=.
11741 for ac_exec_ext in '' $ac_executable_extensions; do
11742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11743 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
11744 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11753 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
11754 if test -n "$RANLIB_FOR_TARGET"; then
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
11756 $as_echo "$RANLIB_FOR_TARGET" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11759 $as_echo "no
" >&6; }
11764 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
11768 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
11770 if test $build = $target ; then
11771 RANLIB_FOR_TARGET="$2"
11773 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
11776 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
11780 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
11786 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11787 if test -n "$with_build_time_tools"; then
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
11789 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
11790 if test -x $with_build_time_tools/strip; then
11791 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
11792 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
11794 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11797 $as_echo "no
" >&6; }
11799 elif test $build != $host && test $have_gcc_for_target = yes; then
11800 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
11801 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
11802 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11805 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11806 # Extract the first word of "strip
", so it can be a program name with args.
11807 set dummy strip; ac_word=$2
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11809 $as_echo_n "checking
for $ac_word...
" >&6; }
11810 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
11811 $as_echo_n "(cached
) " >&6
11813 case $STRIP_FOR_TARGET in
11815 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
11818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11819 for as_dir in $gcc_cv_tool_dirs
11822 test -z "$as_dir" && as_dir=.
11823 for ac_exec_ext in '' $ac_executable_extensions; do
11824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11825 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11826 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11836 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
11837 if test -n "$STRIP_FOR_TARGET"; then
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11839 $as_echo "$STRIP_FOR_TARGET" >&6; }
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11842 $as_echo "no
" >&6; }
11847 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
11850 if test -n "$STRIP_FOR_TARGET"; then
11851 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
11852 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11853 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11856 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
11857 for ncn_progname in strip; do
11858 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11859 set dummy ${ncn_progname}; ac_word=$2
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11861 $as_echo_n "checking
for $ac_word...
" >&6; }
11862 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11863 $as_echo_n "(cached
) " >&6
11865 if test -n "$STRIP_FOR_TARGET"; then
11866 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11869 for as_dir in $PATH
11872 test -z "$as_dir" && as_dir=.
11873 for ac_exec_ext in '' $ac_executable_extensions; do
11874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11875 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11876 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11885 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11886 if test -n "$STRIP_FOR_TARGET"; then
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11888 $as_echo "$STRIP_FOR_TARGET" >&6; }
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11891 $as_echo "no
" >&6; }
11898 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
11899 for ncn_progname in strip; do
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11901 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11902 if test -x $with_build_time_tools/${ncn_progname}; then
11903 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11905 $as_echo "yes" >&6; }
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11909 $as_echo "no
" >&6; }
11914 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
11915 for ncn_progname in strip; do
11916 if test -n "$ncn_target_tool_prefix"; then
11917 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11918 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11920 $as_echo_n "checking
for $ac_word...
" >&6; }
11921 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11922 $as_echo_n "(cached
) " >&6
11924 if test -n "$STRIP_FOR_TARGET"; then
11925 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11928 for as_dir in $PATH
11931 test -z "$as_dir" && as_dir=.
11932 for ac_exec_ext in '' $ac_executable_extensions; do
11933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11934 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11935 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11944 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11945 if test -n "$STRIP_FOR_TARGET"; then
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11947 $as_echo "$STRIP_FOR_TARGET" >&6; }
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11950 $as_echo "no
" >&6; }
11955 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
11956 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11957 set dummy ${ncn_progname}; ac_word=$2
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11959 $as_echo_n "checking
for $ac_word...
" >&6; }
11960 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
11961 $as_echo_n "(cached
) " >&6
11963 if test -n "$STRIP_FOR_TARGET"; then
11964 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
11966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11967 for as_dir in $PATH
11970 test -z "$as_dir" && as_dir=.
11971 for ac_exec_ext in '' $ac_executable_extensions; do
11972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11973 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
11974 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11983 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
11984 if test -n "$STRIP_FOR_TARGET"; then
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
11986 $as_echo "$STRIP_FOR_TARGET" >&6; }
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11989 $as_echo "no
" >&6; }
11994 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
11998 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
12000 if test $build = $target ; then
12001 STRIP_FOR_TARGET="$2"
12003 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12006 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
12010 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12016 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12017 if test -n "$with_build_time_tools"; then
12018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
12019 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
12020 if test -x $with_build_time_tools/windres; then
12021 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
12022 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
12024 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12027 $as_echo "no
" >&6; }
12029 elif test $build != $host && test $have_gcc_for_target = yes; then
12030 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
12031 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
12032 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12035 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12036 # Extract the first word of "windres
", so it can be a program name with args.
12037 set dummy windres; ac_word=$2
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12039 $as_echo_n "checking
for $ac_word...
" >&6; }
12040 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
12041 $as_echo_n "(cached
) " >&6
12043 case $WINDRES_FOR_TARGET in
12045 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
12048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12049 for as_dir in $gcc_cv_tool_dirs
12052 test -z "$as_dir" && as_dir=.
12053 for ac_exec_ext in '' $ac_executable_extensions; do
12054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12055 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12056 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12066 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12067 if test -n "$WINDRES_FOR_TARGET"; then
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12069 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12072 $as_echo "no
" >&6; }
12077 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
12080 if test -n "$WINDRES_FOR_TARGET"; then
12081 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
12082 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12083 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12086 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12087 for ncn_progname in windres; do
12088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12089 set dummy ${ncn_progname}; ac_word=$2
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12091 $as_echo_n "checking
for $ac_word...
" >&6; }
12092 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12093 $as_echo_n "(cached
) " >&6
12095 if test -n "$WINDRES_FOR_TARGET"; then
12096 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12099 for as_dir in $PATH
12102 test -z "$as_dir" && as_dir=.
12103 for ac_exec_ext in '' $ac_executable_extensions; do
12104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12105 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12115 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12116 if test -n "$WINDRES_FOR_TARGET"; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12118 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12121 $as_echo "no
" >&6; }
12128 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
12129 for ncn_progname in windres; do
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12131 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12132 if test -x $with_build_time_tools/${ncn_progname}; then
12133 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12135 $as_echo "yes" >&6; }
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12139 $as_echo "no
" >&6; }
12144 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
12145 for ncn_progname in windres; do
12146 if test -n "$ncn_target_tool_prefix"; then
12147 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12148 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12150 $as_echo_n "checking
for $ac_word...
" >&6; }
12151 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12152 $as_echo_n "(cached
) " >&6
12154 if test -n "$WINDRES_FOR_TARGET"; then
12155 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12158 for as_dir in $PATH
12161 test -z "$as_dir" && as_dir=.
12162 for ac_exec_ext in '' $ac_executable_extensions; do
12163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12164 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12165 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12174 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12175 if test -n "$WINDRES_FOR_TARGET"; then
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12177 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12180 $as_echo "no
" >&6; }
12185 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
12186 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12187 set dummy ${ncn_progname}; ac_word=$2
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12189 $as_echo_n "checking
for $ac_word...
" >&6; }
12190 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
12191 $as_echo_n "(cached
) " >&6
12193 if test -n "$WINDRES_FOR_TARGET"; then
12194 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
12196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12197 for as_dir in $PATH
12200 test -z "$as_dir" && as_dir=.
12201 for ac_exec_ext in '' $ac_executable_extensions; do
12202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12203 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
12204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12213 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
12214 if test -n "$WINDRES_FOR_TARGET"; then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
12216 $as_echo "$WINDRES_FOR_TARGET" >&6; }
12218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12219 $as_echo "no
" >&6; }
12224 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
12228 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
12230 if test $build = $target ; then
12231 WINDRES_FOR_TARGET="$2"
12233 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
12236 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
12240 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
12246 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12247 if test -n "$with_build_time_tools"; then
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
12249 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
12250 if test -x $with_build_time_tools/windmc; then
12251 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
12252 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
12254 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12257 $as_echo "no
" >&6; }
12259 elif test $build != $host && test $have_gcc_for_target = yes; then
12260 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
12261 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
12262 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12265 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12266 # Extract the first word of "windmc
", so it can be a program name with args.
12267 set dummy windmc; ac_word=$2
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12269 $as_echo_n "checking
for $ac_word...
" >&6; }
12270 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
12271 $as_echo_n "(cached
) " >&6
12273 case $WINDMC_FOR_TARGET in
12275 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
12278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12279 for as_dir in $gcc_cv_tool_dirs
12282 test -z "$as_dir" && as_dir=.
12283 for ac_exec_ext in '' $ac_executable_extensions; do
12284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12285 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12286 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12296 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12297 if test -n "$WINDMC_FOR_TARGET"; then
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12299 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12302 $as_echo "no
" >&6; }
12307 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
12310 if test -n "$WINDMC_FOR_TARGET"; then
12311 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
12312 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12313 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12316 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12317 for ncn_progname in windmc; do
12318 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12319 set dummy ${ncn_progname}; ac_word=$2
12320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12321 $as_echo_n "checking
for $ac_word...
" >&6; }
12322 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12323 $as_echo_n "(cached
) " >&6
12325 if test -n "$WINDMC_FOR_TARGET"; then
12326 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12329 for as_dir in $PATH
12332 test -z "$as_dir" && as_dir=.
12333 for ac_exec_ext in '' $ac_executable_extensions; do
12334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12335 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12336 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12345 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12346 if test -n "$WINDMC_FOR_TARGET"; then
12347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12348 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12351 $as_echo "no
" >&6; }
12358 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
12359 for ncn_progname in windmc; do
12360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12361 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12362 if test -x $with_build_time_tools/${ncn_progname}; then
12363 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12365 $as_echo "yes" >&6; }
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12369 $as_echo "no
" >&6; }
12374 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
12375 for ncn_progname in windmc; do
12376 if test -n "$ncn_target_tool_prefix"; then
12377 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12378 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12380 $as_echo_n "checking
for $ac_word...
" >&6; }
12381 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12382 $as_echo_n "(cached
) " >&6
12384 if test -n "$WINDMC_FOR_TARGET"; then
12385 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12388 for as_dir in $PATH
12391 test -z "$as_dir" && as_dir=.
12392 for ac_exec_ext in '' $ac_executable_extensions; do
12393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12394 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12395 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12404 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12405 if test -n "$WINDMC_FOR_TARGET"; then
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12407 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12410 $as_echo "no
" >&6; }
12415 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
12416 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12417 set dummy ${ncn_progname}; ac_word=$2
12418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12419 $as_echo_n "checking
for $ac_word...
" >&6; }
12420 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
12421 $as_echo_n "(cached
) " >&6
12423 if test -n "$WINDMC_FOR_TARGET"; then
12424 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
12426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427 for as_dir in $PATH
12430 test -z "$as_dir" && as_dir=.
12431 for ac_exec_ext in '' $ac_executable_extensions; do
12432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12433 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
12434 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12443 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
12444 if test -n "$WINDMC_FOR_TARGET"; then
12445 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
12446 $as_echo "$WINDMC_FOR_TARGET" >&6; }
12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12449 $as_echo "no
" >&6; }
12454 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
12458 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
12460 if test $build = $target ; then
12461 WINDMC_FOR_TARGET="$2"
12463 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
12466 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
12470 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
12474 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
12477 $as_echo_n "checking where to
find the target
ar...
" >&6; }
12478 if test "x
${build}" != "x
${host}" ; then
12479 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12480 # We already found the complete path
12481 ac_dir=`dirname $AR_FOR_TARGET`
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12483 $as_echo "pre-installed
in $ac_dir" >&6; }
12485 # Canadian cross, just use what we found
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12487 $as_echo "pre-installed
" >&6; }
12491 case " ${configdirs} " in
12496 if test $ok = yes; then
12497 # An in-tree tool is available and we can use it
12498 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12500 $as_echo "just compiled
" >&6; }
12501 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
12502 # We already found the complete path
12503 ac_dir=`dirname $AR_FOR_TARGET`
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12505 $as_echo "pre-installed
in $ac_dir" >&6; }
12506 elif test "x
$target" = "x
$host"; then
12507 # We can use an host tool
12508 AR_FOR_TARGET='$(AR)'
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12510 $as_echo "host tool
" >&6; }
12512 # We need a cross tool
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12514 $as_echo "pre-installed
" >&6; }
12518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
12519 $as_echo_n "checking where to
find the target as...
" >&6; }
12520 if test "x
${build}" != "x
${host}" ; then
12521 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12522 # We already found the complete path
12523 ac_dir=`dirname $AS_FOR_TARGET`
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12525 $as_echo "pre-installed
in $ac_dir" >&6; }
12527 # Canadian cross, just use what we found
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12529 $as_echo "pre-installed
" >&6; }
12533 case " ${configdirs} " in
12538 if test $ok = yes; then
12539 # An in-tree tool is available and we can use it
12540 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12542 $as_echo "just compiled
" >&6; }
12543 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
12544 # We already found the complete path
12545 ac_dir=`dirname $AS_FOR_TARGET`
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12547 $as_echo "pre-installed
in $ac_dir" >&6; }
12548 elif test "x
$target" = "x
$host"; then
12549 # We can use an host tool
12550 AS_FOR_TARGET='$(AS)'
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12552 $as_echo "host tool
" >&6; }
12554 # We need a cross tool
12555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12556 $as_echo "pre-installed
" >&6; }
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
12561 $as_echo_n "checking where to
find the target cc...
" >&6; }
12562 if test "x
${build}" != "x
${host}" ; then
12563 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12564 # We already found the complete path
12565 ac_dir=`dirname $CC_FOR_TARGET`
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12567 $as_echo "pre-installed
in $ac_dir" >&6; }
12569 # Canadian cross, just use what we found
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12571 $as_echo "pre-installed
" >&6; }
12575 case " ${configdirs} " in
12580 if test $ok = yes; then
12581 # An in-tree tool is available and we can use it
12582 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12584 $as_echo "just compiled
" >&6; }
12585 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
12586 # We already found the complete path
12587 ac_dir=`dirname $CC_FOR_TARGET`
12588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12589 $as_echo "pre-installed
in $ac_dir" >&6; }
12590 elif test "x
$target" = "x
$host"; then
12591 # We can use an host tool
12592 CC_FOR_TARGET='$(CC)'
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12594 $as_echo "host tool
" >&6; }
12596 # We need a cross tool
12597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12598 $as_echo "pre-installed
" >&6; }
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
12603 $as_echo_n "checking where to
find the target c
++...
" >&6; }
12604 if test "x
${build}" != "x
${host}" ; then
12605 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12606 # We already found the complete path
12607 ac_dir=`dirname $CXX_FOR_TARGET`
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12609 $as_echo "pre-installed
in $ac_dir" >&6; }
12611 # Canadian cross, just use what we found
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12613 $as_echo "pre-installed
" >&6; }
12617 case " ${configdirs} " in
12621 case ,${enable_languages}, in
12625 if test $ok = yes; then
12626 # An in-tree tool is available and we can use it
12627 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12629 $as_echo "just compiled
" >&6; }
12630 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
12631 # We already found the complete path
12632 ac_dir=`dirname $CXX_FOR_TARGET`
12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12634 $as_echo "pre-installed
in $ac_dir" >&6; }
12635 elif test "x
$target" = "x
$host"; then
12636 # We can use an host tool
12637 CXX_FOR_TARGET='$(CXX)'
12638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12639 $as_echo "host tool
" >&6; }
12641 # We need a cross tool
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12643 $as_echo "pre-installed
" >&6; }
12647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
12648 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
12649 if test "x
${build}" != "x
${host}" ; then
12650 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12651 # We already found the complete path
12652 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12654 $as_echo "pre-installed
in $ac_dir" >&6; }
12656 # Canadian cross, just use what we found
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12658 $as_echo "pre-installed
" >&6; }
12662 case " ${configdirs} " in
12666 case ,${enable_languages}, in
12670 if test $ok = yes; then
12671 # An in-tree tool is available and we can use it
12672 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'
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12674 $as_echo "just compiled
" >&6; }
12675 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
12676 # We already found the complete path
12677 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12679 $as_echo "pre-installed
in $ac_dir" >&6; }
12680 elif test "x
$target" = "x
$host"; then
12681 # We can use an host tool
12682 RAW_CXX_FOR_TARGET='$(CXX)'
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12684 $as_echo "host tool
" >&6; }
12686 # We need a cross tool
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12688 $as_echo "pre-installed
" >&6; }
12692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
12693 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
12694 if test "x
${build}" != "x
${host}" ; then
12695 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12696 # We already found the complete path
12697 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12699 $as_echo "pre-installed
in $ac_dir" >&6; }
12701 # Canadian cross, just use what we found
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12703 $as_echo "pre-installed
" >&6; }
12707 case " ${configdirs} " in
12712 if test $ok = yes; then
12713 # An in-tree tool is available and we can use it
12714 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12716 $as_echo "just compiled
" >&6; }
12717 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
12718 # We already found the complete path
12719 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
12720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12721 $as_echo "pre-installed
in $ac_dir" >&6; }
12722 elif test "x
$target" = "x
$host"; then
12723 # We can use an host tool
12724 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12726 $as_echo "host tool
" >&6; }
12728 # We need a cross tool
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12730 $as_echo "pre-installed
" >&6; }
12734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
12735 $as_echo_n "checking where to
find the target gcc...
" >&6; }
12736 if test "x
${build}" != "x
${host}" ; then
12737 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12738 # We already found the complete path
12739 ac_dir=`dirname $GCC_FOR_TARGET`
12740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12741 $as_echo "pre-installed
in $ac_dir" >&6; }
12743 # Canadian cross, just use what we found
12744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12745 $as_echo "pre-installed
" >&6; }
12749 case " ${configdirs} " in
12754 if test $ok = yes; then
12755 # An in-tree tool is available and we can use it
12756 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12758 $as_echo "just compiled
" >&6; }
12759 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
12760 # We already found the complete path
12761 ac_dir=`dirname $GCC_FOR_TARGET`
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12763 $as_echo "pre-installed
in $ac_dir" >&6; }
12764 elif test "x
$target" = "x
$host"; then
12765 # We can use an host tool
12766 GCC_FOR_TARGET='$()'
12767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12768 $as_echo "host tool
" >&6; }
12770 # We need a cross tool
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12772 $as_echo "pre-installed
" >&6; }
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
12777 $as_echo_n "checking where to
find the target gcj...
" >&6; }
12778 if test "x
${build}" != "x
${host}" ; then
12779 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12780 # We already found the complete path
12781 ac_dir=`dirname $GCJ_FOR_TARGET`
12782 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12783 $as_echo "pre-installed
in $ac_dir" >&6; }
12785 # Canadian cross, just use what we found
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12787 $as_echo "pre-installed
" >&6; }
12791 case " ${configdirs} " in
12795 case ,${enable_languages}, in
12799 if test $ok = yes; then
12800 # An in-tree tool is available and we can use it
12801 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12803 $as_echo "just compiled
" >&6; }
12804 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
12805 # We already found the complete path
12806 ac_dir=`dirname $GCJ_FOR_TARGET`
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12808 $as_echo "pre-installed
in $ac_dir" >&6; }
12809 elif test "x
$target" = "x
$host"; then
12810 # We can use an host tool
12811 GCJ_FOR_TARGET='$(GCJ)'
12812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12813 $as_echo "host tool
" >&6; }
12815 # We need a cross tool
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12817 $as_echo "pre-installed
" >&6; }
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
12822 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
12823 if test "x
${build}" != "x
${host}" ; then
12824 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12825 # We already found the complete path
12826 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12828 $as_echo "pre-installed
in $ac_dir" >&6; }
12830 # Canadian cross, just use what we found
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12832 $as_echo "pre-installed
" >&6; }
12836 case " ${configdirs} " in
12840 case ,${enable_languages}, in
12844 if test $ok = yes; then
12845 # An in-tree tool is available and we can use it
12846 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
12847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12848 $as_echo "just compiled
" >&6; }
12849 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
12850 # We already found the complete path
12851 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12853 $as_echo "pre-installed
in $ac_dir" >&6; }
12854 elif test "x
$target" = "x
$host"; then
12855 # We can use an host tool
12856 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12858 $as_echo "host tool
" >&6; }
12860 # We need a cross tool
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12862 $as_echo "pre-installed
" >&6; }
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
12867 $as_echo_n "checking where to
find the target ld...
" >&6; }
12868 if test "x
${build}" != "x
${host}" ; then
12869 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12870 # We already found the complete path
12871 ac_dir=`dirname $LD_FOR_TARGET`
12872 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12873 $as_echo "pre-installed
in $ac_dir" >&6; }
12875 # Canadian cross, just use what we found
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12877 $as_echo "pre-installed
" >&6; }
12881 case " ${configdirs} " in
12886 if test $ok = yes; then
12887 # An in-tree tool is available and we can use it
12888 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12890 $as_echo "just compiled
" >&6; }
12891 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
12892 # We already found the complete path
12893 ac_dir=`dirname $LD_FOR_TARGET`
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12895 $as_echo "pre-installed
in $ac_dir" >&6; }
12896 elif test "x
$target" = "x
$host"; then
12897 # We can use an host tool
12898 LD_FOR_TARGET='$(LD)'
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12900 $as_echo "host tool
" >&6; }
12902 # We need a cross tool
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12904 $as_echo "pre-installed
" >&6; }
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
12909 $as_echo_n "checking where to
find the target lipo...
" >&6; }
12910 if test "x
${build}" != "x
${host}" ; then
12911 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12912 # We already found the complete path
12913 ac_dir=`dirname $LIPO_FOR_TARGET`
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12915 $as_echo "pre-installed
in $ac_dir" >&6; }
12917 # Canadian cross, just use what we found
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12919 $as_echo "pre-installed
" >&6; }
12922 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
12923 # We already found the complete path
12924 ac_dir=`dirname $LIPO_FOR_TARGET`
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12926 $as_echo "pre-installed
in $ac_dir" >&6; }
12927 elif test "x
$target" = "x
$host"; then
12928 # We can use an host tool
12929 LIPO_FOR_TARGET='$(LIPO)'
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12931 $as_echo "host tool
" >&6; }
12933 # We need a cross tool
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12935 $as_echo "pre-installed
" >&6; }
12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
12940 $as_echo_n "checking where to
find the target nm...
" >&6; }
12941 if test "x
${build}" != "x
${host}" ; then
12942 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12943 # We already found the complete path
12944 ac_dir=`dirname $NM_FOR_TARGET`
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12946 $as_echo "pre-installed
in $ac_dir" >&6; }
12948 # Canadian cross, just use what we found
12949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12950 $as_echo "pre-installed
" >&6; }
12954 case " ${configdirs} " in
12959 if test $ok = yes; then
12960 # An in-tree tool is available and we can use it
12961 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
12963 $as_echo "just compiled
" >&6; }
12964 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
12965 # We already found the complete path
12966 ac_dir=`dirname $NM_FOR_TARGET`
12967 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12968 $as_echo "pre-installed
in $ac_dir" >&6; }
12969 elif test "x
$target" = "x
$host"; then
12970 # We can use an host tool
12971 NM_FOR_TARGET='$(NM)'
12972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
12973 $as_echo "host tool
" >&6; }
12975 # We need a cross tool
12976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12977 $as_echo "pre-installed
" >&6; }
12981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
12982 $as_echo_n "checking where to
find the target objdump...
" >&6; }
12983 if test "x
${build}" != "x
${host}" ; then
12984 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
12985 # We already found the complete path
12986 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
12988 $as_echo "pre-installed
in $ac_dir" >&6; }
12990 # Canadian cross, just use what we found
12991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
12992 $as_echo "pre-installed
" >&6; }
12996 case " ${configdirs} " in
13001 if test $ok = yes; then
13002 # An in-tree tool is available and we can use it
13003 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13005 $as_echo "just compiled
" >&6; }
13006 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
13007 # We already found the complete path
13008 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13010 $as_echo "pre-installed
in $ac_dir" >&6; }
13011 elif test "x
$target" = "x
$host"; then
13012 # We can use an host tool
13013 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13015 $as_echo "host tool
" >&6; }
13017 # We need a cross tool
13018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13019 $as_echo "pre-installed
" >&6; }
13023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
13024 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
13025 if test "x
${build}" != "x
${host}" ; then
13026 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13027 # We already found the complete path
13028 ac_dir=`dirname $RANLIB_FOR_TARGET`
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13030 $as_echo "pre-installed
in $ac_dir" >&6; }
13032 # Canadian cross, just use what we found
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13034 $as_echo "pre-installed
" >&6; }
13038 case " ${configdirs} " in
13043 if test $ok = yes; then
13044 # An in-tree tool is available and we can use it
13045 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13047 $as_echo "just compiled
" >&6; }
13048 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
13049 # We already found the complete path
13050 ac_dir=`dirname $RANLIB_FOR_TARGET`
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13052 $as_echo "pre-installed
in $ac_dir" >&6; }
13053 elif test "x
$target" = "x
$host"; then
13054 # We can use an host tool
13055 RANLIB_FOR_TARGET='$(RANLIB)'
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13057 $as_echo "host tool
" >&6; }
13059 # We need a cross tool
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13061 $as_echo "pre-installed
" >&6; }
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
13066 $as_echo_n "checking where to
find the target strip...
" >&6; }
13067 if test "x
${build}" != "x
${host}" ; then
13068 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13069 # We already found the complete path
13070 ac_dir=`dirname $STRIP_FOR_TARGET`
13071 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13072 $as_echo "pre-installed
in $ac_dir" >&6; }
13074 # Canadian cross, just use what we found
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13076 $as_echo "pre-installed
" >&6; }
13080 case " ${configdirs} " in
13085 if test $ok = yes; then
13086 # An in-tree tool is available and we can use it
13087 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip'
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13089 $as_echo "just compiled
" >&6; }
13090 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
13091 # We already found the complete path
13092 ac_dir=`dirname $STRIP_FOR_TARGET`
13093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13094 $as_echo "pre-installed
in $ac_dir" >&6; }
13095 elif test "x
$target" = "x
$host"; then
13096 # We can use an host tool
13097 STRIP_FOR_TARGET='$(STRIP)'
13098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13099 $as_echo "host tool
" >&6; }
13101 # We need a cross tool
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13103 $as_echo "pre-installed
" >&6; }
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
13108 $as_echo_n "checking where to
find the target windres...
" >&6; }
13109 if test "x
${build}" != "x
${host}" ; then
13110 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13111 # We already found the complete path
13112 ac_dir=`dirname $WINDRES_FOR_TARGET`
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13114 $as_echo "pre-installed
in $ac_dir" >&6; }
13116 # Canadian cross, just use what we found
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13118 $as_echo "pre-installed
" >&6; }
13122 case " ${configdirs} " in
13127 if test $ok = yes; then
13128 # An in-tree tool is available and we can use it
13129 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13131 $as_echo "just compiled
" >&6; }
13132 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
13133 # We already found the complete path
13134 ac_dir=`dirname $WINDRES_FOR_TARGET`
13135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13136 $as_echo "pre-installed
in $ac_dir" >&6; }
13137 elif test "x
$target" = "x
$host"; then
13138 # We can use an host tool
13139 WINDRES_FOR_TARGET='$(WINDRES)'
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13141 $as_echo "host tool
" >&6; }
13143 # We need a cross tool
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13145 $as_echo "pre-installed
" >&6; }
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
13150 $as_echo_n "checking where to
find the target windmc...
" >&6; }
13151 if test "x
${build}" != "x
${host}" ; then
13152 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13153 # We already found the complete path
13154 ac_dir=`dirname $WINDMC_FOR_TARGET`
13155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13156 $as_echo "pre-installed
in $ac_dir" >&6; }
13158 # Canadian cross, just use what we found
13159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13160 $as_echo "pre-installed
" >&6; }
13164 case " ${configdirs} " in
13169 if test $ok = yes; then
13170 # An in-tree tool is available and we can use it
13171 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13173 $as_echo "just compiled
" >&6; }
13174 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
13175 # We already found the complete path
13176 ac_dir=`dirname $WINDMC_FOR_TARGET`
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13178 $as_echo "pre-installed
in $ac_dir" >&6; }
13179 elif test "x
$target" = "x
$host"; then
13180 # We can use an host tool
13181 WINDMC_FOR_TARGET='$(WINDMC)'
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13183 $as_echo "host tool
" >&6; }
13185 # We need a cross tool
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13187 $as_echo "pre-installed
" >&6; }
13195 # Certain tools may need extra flags.
13196 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
13197 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
13198 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
13200 # When building target libraries, except in a Canadian cross, we use
13201 # the same toolchain as the compiler we just built.
13202 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
13203 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
13204 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
13205 if test $host = $build; then
13206 case " $configdirs " in
13208 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
13209 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
13210 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
13220 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
13221 # Check whether --enable-maintainer-mode was given.
13222 if test "${enable_maintainer_mode+set}" = set; then :
13223 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
13225 USE_MAINTAINER_MODE=no
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
13229 $as_echo "$USE_MAINTAINER_MODE" >&6; }
13232 if test "$USE_MAINTAINER_MODE" = yes; then
13233 MAINTAINER_MODE_TRUE=
13234 MAINTAINER_MODE_FALSE='#'
13236 MAINTAINER_MODE_TRUE='#'
13237 MAINTAINER_MODE_FALSE=
13239 MAINT=$MAINTAINER_MODE_TRUE
13241 # ---------------------
13242 # GCC bootstrap support
13243 # ---------------------
13245 # Stage specific cflags for build.
13250 yes) stage1_cflags="-g -Wa,-J" ;;
13251 *) stage1_cflags="-g -J" ;;
13255 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
13256 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
13257 saved_CFLAGS="$CFLAGS"
13259 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
13260 CFLAGS="$CFLAGS -fkeep-inline-functions"
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
13262 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
13263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13264 /* end confdefs.h. */
13266 #if (__GNUC__ < 3) \
13267 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
13268 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
13269 #error http://gcc.gnu.org/PR29382
13280 if ac_fn_c_try_compile "$LINENO"; then :
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13282 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13285 $as_echo "no
" >&6; }
13287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13289 CFLAGS="$saved_CFLAGS"
13294 # Enable --enable-checking in stage1 of the compiler.
13295 # Check whether --enable-stage1-checking was given.
13296 if test "${enable_stage1_checking+set}" = set; then :
13297 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
13299 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
13300 stage1_checking=--enable-checking=yes,types
13302 stage1_checking=--enable-checking=$enable_checking,types
13308 # Enable -Werror in bootstrap stage2 and later.
13309 # Check whether --enable-werror was given.
13310 if test "${enable_werror+set}" = set; then :
13311 enableval=$enable_werror;
13313 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
13320 case ${enable_werror} in
13321 yes) stage2_werror_flag="--enable-werror-always" ;;
13322 *) stage2_werror_flag="" ;;
13326 # Specify what files to not compare during bootstrap.
13328 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
13330 hppa*64*-*-hpux*) ;;
13331 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
13335 ac_config_files="$ac_config_files Makefile
"
13337 cat >confcache <<\_ACEOF
13338 # This file is a shell script that caches the results of configure
13339 # tests run on this system so they can be shared between configure
13340 # scripts and configure runs, see configure's option --config-cache.
13341 # It is not useful on other systems. If it contains results you don't
13342 # want to keep, you may remove or edit it.
13344 # config.status only pays attention to the cache file if you give it
13345 # the --recheck option to rerun configure.
13347 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13348 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13349 # following values.
13353 # The following way of writing the cache mishandles newlines in values,
13354 # but we know of no workaround that is simple, portable, and efficient.
13355 # So, we kill variables containing newlines.
13356 # Ultrix sh set writes to stderr and can't be redirected directly,
13357 # and sets the high bit in the cache file unless we assign to the vars.
13359 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13360 eval ac_val=\$$ac_var
13364 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
13365 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
13368 _ | IFS | as_nl) ;; #(
13369 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13370 *) { eval $ac_var=; unset $ac_var;} ;;
13376 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13377 *${as_nl}ac_space=\ *)
13378 # `set' does not quote correctly, so add quotes: double-quote
13379 # substitution turns \\\\ into \\, and sed turns \\ into \.
13382 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
13385 # `set' quotes correctly as required by POSIX, so do not add quotes.
13386 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
13395 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13397 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13399 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13400 if test -w "$cache_file"; then
13401 test "x
$cache_file" != "x
/dev
/null
" &&
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
13403 $as_echo "$as_me: updating cache
$cache_file" >&6;}
13404 cat confcache >$cache_file
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
13407 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
13412 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
13413 # Let make expand exec_prefix.
13414 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
13416 # Transform confdefs.h into DEFS.
13417 # Protect against shell expansion while executing Makefile rules.
13418 # Protect against Makefile macro expansion.
13420 # If the first sed substitution is executed (which looks for macros that
13421 # take arguments), then branch to the quote section. Otherwise,
13422 # look for a macro that doesn't take arguments.
13432 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
13434 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
13438 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
13451 DEFS=`sed -n "$ac_script" confdefs.h`
13456 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13457 # 1. Remove the extension, and $U if already installed.
13458 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
13459 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13460 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13461 # will be set to the directory where LIBOBJS objects are built.
13462 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13463 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
13465 LIBOBJS=$ac_libobjs
13467 LTLIBOBJS=$ac_ltlibobjs
13471 : ${CONFIG_STATUS=./config.status}
13473 ac_clean_files_save=$ac_clean_files
13474 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13475 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13476 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13478 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13480 # Generated by $as_me.
13481 # Run this file to recreate the current configuration.
13482 # Compiler output produced by configure, useful for debugging
13483 # configure, is in config.log if it exists.
13486 ac_cs_recheck=false
13489 SHELL=\${CONFIG_SHELL-$SHELL}
13492 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13493 ## -------------------- ##
13494 ## M4sh Initialization. ##
13495 ## -------------------- ##
13497 # Be more Bourne compatible
13498 DUALCASE=1; export DUALCASE # for MKS sh
13499 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13502 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13503 # is contrary to our usage. Disable this feature.
13504 alias -g '${1+"$@"}'='"$@"'
13505 setopt NO_GLOB_SUBST
13507 case `(set -o) 2>/dev/null` in #(
13519 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13520 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13521 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
13522 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13523 # Prefer a ksh shell builtin over an external printf program on Solaris,
13524 # but without wasting forks for bash or zsh.
13525 if test -z "$BASH_VERSION$ZSH_VERSION" \
13526 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13527 as_echo
='print -r --'
13528 as_echo_n
='print -rn --'
13529 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
13530 as_echo
='printf %s\n'
13531 as_echo_n
='printf %s'
13533 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13534 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
13535 as_echo_n
='/usr/ucb/echo -n'
13537 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
13538 as_echo_n_body
='eval
13542 expr "X$arg" : "X\\(.*\\)$as_nl";
13543 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13545 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13547 export as_echo_n_body
13548 as_echo_n
='sh -c $as_echo_n_body as_echo'
13550 export as_echo_body
13551 as_echo
='sh -c $as_echo_body as_echo'
13554 # The user is always right.
13555 if test "${PATH_SEPARATOR+set}" != set; then
13557 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
13558 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
13565 # We need space, tab and new line, in precisely that order. Quoting is
13566 # there to prevent editors from complaining about space-tab.
13567 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13568 # splitting by setting IFS to empty value.)
13571 # Find who we are. Look in the path if we contain no directory separator.
13573 *[\\/]* ) as_myself
=$0 ;;
13574 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13575 for as_dir
in $PATH
13578 test -z "$as_dir" && as_dir
=.
13579 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13585 # We did not find ourselves, most probably we were run as `sh COMMAND'
13586 # in which case we are not to be found in the path.
13587 if test "x$as_myself" = x
; then
13590 if test ! -f "$as_myself"; then
13591 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13595 # Unset variables that we do not need and which cause bugs (e.g. in
13596 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13597 # suppresses any "Segmentation fault" message there. '((' could
13598 # trigger a bug in pdksh 5.2.14.
13599 for as_var
in BASH_ENV ENV MAIL MAILPATH
13600 do eval test x\
${$as_var+set} = xset \
13601 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
13614 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
13617 # as_fn_error ERROR [LINENO LOG_FD]
13618 # ---------------------------------
13619 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13620 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13621 # script with status $?, using 1 if that was 0.
13624 as_status
=$?
; test $as_status -eq 0 && as_status
=1
13626 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
13627 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
13629 $as_echo "$as_me: error: $1" >&2
13630 as_fn_exit
$as_status
13634 # as_fn_set_status STATUS
13635 # -----------------------
13636 # Set $? to STATUS, without forking.
13637 as_fn_set_status
()
13640 } # as_fn_set_status
13642 # as_fn_exit STATUS
13643 # -----------------
13644 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13648 as_fn_set_status
$1
13654 # Portably unset VAR.
13657 { eval $1=; unset $1;}
13659 as_unset
=as_fn_unset
13660 # as_fn_append VAR VALUE
13661 # ----------------------
13662 # Append the text in VALUE to the end of the definition contained in VAR. Take
13663 # advantage of any shell optimizations that allow amortized linear growth over
13664 # repeated appends, instead of the typical quadratic growth present in naive
13666 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
13667 eval 'as_fn_append ()
13678 # as_fn_arith ARG...
13679 # ------------------
13680 # Perform arithmetic evaluation on the ARGs, and store the result in the
13681 # global $as_val. Take advantage of shells that can avoid forks. The arguments
13682 # must be portable across $(()) and expr.
13683 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
13684 eval 'as_fn_arith ()
13691 as_val
=`expr "$@" || test $? -eq 1`
13696 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13697 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13703 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13704 as_basename
=basename
13709 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13715 as_me
=`$as_basename -- "$0" ||
13716 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13717 X"$0" : 'X\(//\)$' \| \
13718 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13720 sed '/^.*\/\([^/][^/]*\)\/*$/{
13734 # Avoid depending upon Character Ranges.
13735 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13736 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13737 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13738 as_cr_digits
='0123456789'
13739 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13741 ECHO_C
= ECHO_N
= ECHO_T
=
13742 case `echo -n x` in #(((((
13744 case `echo 'xy\c'` in
13745 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13747 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
13754 rm -f conf$$ conf$$.exe conf$$.
file
13755 if test -d conf$$.dir
; then
13756 rm -f conf$$.dir
/conf$$.
file
13759 mkdir conf$$.dir
2>/dev
/null
13761 if (echo >conf$$.
file) 2>/dev
/null
; then
13762 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13764 # ... but there are two gotchas:
13765 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13766 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13767 # In both cases, we have to default to `cp -p'.
13768 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13770 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13778 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13779 rmdir conf$$.dir
2>/dev
/null
13784 # Create "$as_dir" as a directory, including parents if necessary.
13789 -*) as_dir
=.
/$as_dir;;
13791 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
13795 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13796 *) as_qdir
=$as_dir;;
13798 as_dirs
="'$as_qdir' $as_dirs"
13799 as_dir
=`$as_dirname -- "$as_dir" ||
13800 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13801 X"$as_dir" : 'X\(//\)[^/]' \| \
13802 X"$as_dir" : 'X\(//\)$' \| \
13803 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13804 $as_echo X"$as_dir" |
13805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13809 /^X\(\/\/\)[^/].*/{
13822 test -d "$as_dir" && break
13824 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13825 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
13829 if mkdir
-p .
2>/dev
/null
; then
13830 as_mkdir_p
='mkdir -p "$as_dir"'
13832 test -d .
/-p && rmdir .
/-p
13836 if test -x / >/dev
/null
2>&1; then
13837 as_test_x
='test -x'
13839 if ls -dL / >/dev
/null
2>&1; then
13846 if test -d "$1"; then
13852 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13853 ???[sx]*):;;*)false;;esac;fi
13857 as_executable_p
=$as_test_x
13859 # Sed expression to map a string onto a valid CPP name.
13860 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13862 # Sed expression to map a string onto a valid variable name.
13863 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13867 ## ----------------------------------- ##
13868 ## Main body of $CONFIG_STATUS script. ##
13869 ## ----------------------------------- ##
13871 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
13873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13874 # Save the log message, to keep $0 and so on meaningful, and to
13875 # report actual input values of CONFIG_FILES etc. instead of their
13876 # values after options handling.
13878 This file was extended by $as_me, which was
13879 generated by GNU Autoconf 2.64. Invocation command line was
13881 CONFIG_FILES = $CONFIG_FILES
13882 CONFIG_HEADERS = $CONFIG_HEADERS
13883 CONFIG_LINKS = $CONFIG_LINKS
13884 CONFIG_COMMANDS = $CONFIG_COMMANDS
13887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13892 case $ac_config_files in *"
13893 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13898 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13899 # Files that config.status was made for.
13900 config_files="$ac_config_files"
13904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13906 \`$as_me' instantiates files and other configuration actions
13907 from templates according to the current configuration. Unless the files
13908 and actions are specified as TAGs, all are instantiated by default.
13910 Usage: $0 [OPTION]... [TAG]...
13912 -h, --help print this help, then exit
13913 -V, --version print version number and configuration settings, then exit
13914 -q, --quiet, --silent
13915 do not print progress messages
13916 -d, --debug don't remove temporary files
13917 --recheck update $as_me by reconfiguring in the same conditions
13918 --file=FILE[:TEMPLATE]
13919 instantiate the configuration file FILE
13921 Configuration files:
13924 Report bugs to the package provider."
13927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13930 configured by $0, generated by GNU Autoconf 2.64,
13931 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13933 Copyright (C) 2009 Free Software Foundation, Inc.
13934 This config.status script is free software; the Free Software Foundation
13935 gives unlimited permission to copy, distribute and modify it."
13941 test -n "\$AWK" || AWK=awk
13944 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13945 # The default lists apply if the user does not specify any file.
13951 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13952 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13963 # Handling of the options.
13964 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13966 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13967 $as_echo "$ac_cs_version"; exit ;;
13968 --debug |
--debu |
--deb |
--de |
--d |
-d )
13970 --file |
--fil |
--fi |
--f )
13973 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13975 as_fn_append CONFIG_FILES
" '$ac_optarg'"
13976 ac_need_defaults
=false
;;
13977 --he |
--h |
--help |
--hel |
-h )
13978 $as_echo "$ac_cs_usage"; exit ;;
13979 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13980 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13983 # This is an error.
13984 -*) as_fn_error
"unrecognized option: \`$1'
13985 Try \`$0 --help' for more information." ;;
13987 *) as_fn_append ac_config_targets
" $1"
13988 ac_need_defaults
=false
;;
13994 ac_configure_extra_args
=
13996 if $ac_cs_silent; then
13998 ac_configure_extra_args
="$ac_configure_extra_args --silent"
14002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14003 if \$ac_cs_recheck; then
14004 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14006 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14007 CONFIG_SHELL='$SHELL'
14008 export CONFIG_SHELL
14013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14017 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14018 ## Running $as_me. ##
14024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14027 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14029 # Handling of arguments.
14030 for ac_config_target
in $ac_config_targets
14032 case $ac_config_target in
14033 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
14035 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14040 # If the user did not use the arguments to specify the items to instantiate,
14041 # then the envvar interface is used. Set only those that are not.
14042 # We use the long form for the default assignment because of an extremely
14043 # bizarre bug on SunOS 4.1.3.
14044 if $ac_need_defaults; then
14045 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
14048 # Have a temporary directory for convenience. Make it in the build tree
14049 # simply because there is no reason against having it here, and in addition,
14050 # creating and moving files from /tmp can sometimes cause problems.
14051 # Hook for its removal unless debugging.
14052 # Note that there is a small window in which the directory will not be cleaned:
14053 # after its creation but before its name has been assigned to `$tmp'.
14057 trap 'exit_status=$?
14058 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14060 trap 'as_fn_exit 1' 1 2 13 15
14062 # Create a (secure) tmp directory for tmp files.
14065 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14066 test -n "$tmp" && test -d "$tmp"
14069 tmp
=.
/conf$$
-$RANDOM
14070 (umask 077 && mkdir
"$tmp")
14071 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
14073 # Set up the scripts for CONFIG_FILES section.
14074 # No need to generate them if there are no CONFIG_FILES.
14075 # This happens for instance with `./config.status config.h'.
14076 if test -n "$CONFIG_FILES"; then
14078 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
14079 ac_cs_awk_getline
=:
14080 ac_cs_awk_pipe_init
=
14081 ac_cs_awk_read_file
='
14082 while ((getline aline < (F[key])) > 0)
14085 ac_cs_awk_pipe_fini
=
14087 ac_cs_awk_getline
=false
14088 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
14089 ac_cs_awk_read_file
='
14091 print "cat " F[key] " &&"
14092 '$ac_cs_awk_pipe_init
14093 # The final `:' finishes the AND list.
14094 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
14096 ac_cr
=`echo X | tr X '\015'`
14097 # On cygwin, bash can eat \r inside `` if the user requested igncr.
14098 # But we know of no other shell where ac_cr would be empty at this
14099 # point, so we can use a bashism as a fallback.
14100 if test "x$ac_cr" = x
; then
14101 eval ac_cr
=\$
\'\\r
\'
14103 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14104 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14107 ac_cs_awk_cr
=$ac_cr
14110 echo 'BEGIN {' >"$tmp/subs1.awk" &&
14113 # Create commands to substitute file output variables.
14115 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
14116 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
14117 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
14120 } >conf$
$files.sh
&&
14121 . .
/conf$
$files.sh ||
14122 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
14123 rm -f conf$
$files.sh
14126 echo "cat >conf$$subs.awk <<_ACEOF" &&
14127 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14129 } >conf$$subs.sh ||
14130 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14131 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14133 for ac_last_try in false false false false false :; do
14134 . ./conf$$subs.sh ||
14135 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14137 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
14138 if test $ac_delim_n = $ac_delim_num; then
14140 elif $ac_last_try; then
14141 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
14143 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14146 rm -f conf$$subs.sh
14148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14149 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
14153 s/^/S["/; s
/!.
*/"]=/
14163 s/\(.\{148\}\).*/\1/
14165 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
14170 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14177 s/\(.\{148\}\).*/\1/
14179 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
14183 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
14188 ' <conf$$subs.awk | sed '
14193 ' >>$CONFIG_STATUS || ac_write_fail=1
14194 rm -f conf$$subs.awk
14195 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14197 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14198 for (key in S) S_is_set[key] = 1
14200 \$ac_cs_awk_pipe_init
14204 nfields = split(line, field, "@
")
14206 len = length(field[1])
14207 for (i = 2; i < nfields; i++) {
14209 keylen = length(key)
14210 if (S_is_set[key]) {
14212 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14213 len += length(value) + length(field[++i])
14218 if (nfields == 3 && !substed) {
14220 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
14221 \$ac_cs_awk_read_file
14227 \$ac_cs_awk_pipe_fini
14230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14231 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14232 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14235 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14236 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
14239 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14240 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14241 # trailing colons and then remove the whole line if VPATH becomes empty
14242 # (actually we leave an empty line to preserve line numbers).
14243 if test "x
$srcdir" = x.; then
14244 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14245 s/:*\$(srcdir):*/:/
14246 s/:*\${srcdir}:*/:/
14248 s/^\([^=]*=[ ]*\):*/\1/
14254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14255 fi # test -n "$CONFIG_FILES"
14258 eval set X " :F
$CONFIG_FILES "
14263 :[FHLC]) ac_mode=$ac_tag; continue;;
14265 case $ac_mode$ac_tag in
14267 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
14268 :[FH]-) ac_tag=-:-;;
14269 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14286 -) ac_f="$tmp/stdin";;
14287 *) # Look for the file first in the build tree, then in the source tree
14288 # (if the path is not absolute). The absolute path cannot be DOS-style,
14289 # because $ac_f cannot contain `:'.
14293 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14295 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14297 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
14298 as_fn_append ac_file_inputs " '$ac_f'"
14301 # Let's still pretend it is `configure' which instantiates (i.e., don't
14302 # use $as_me), people would be surprised to read:
14303 # /* config.h. Generated by config.status. */
14304 configure_input='Generated from '`
14305 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14307 if test x"$ac_file" != x-; then
14308 configure_input="$ac_file.
$configure_input"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
14310 $as_echo "$as_me: creating
$ac_file" >&6;}
14312 # Neutralize special characters interpreted by sed in replacement strings.
14313 case $configure_input in #(
14314 *\&* | *\|* | *\\* )
14315 ac_sed_conf_input=`$as_echo "$configure_input" |
14316 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14317 *) ac_sed_conf_input=$configure_input;;
14321 *:-:* | *:-) cat >"$tmp/stdin
" \
14322 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
14327 ac_dir=`$as_dirname -- "$ac_file" ||
14328 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14329 X"$ac_file" : 'X\(//\)[^/]' \| \
14330 X"$ac_file" : 'X\(//\)$' \| \
14331 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14332 $as_echo X"$ac_file" |
14333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14337 /^X\(\/\/\)[^/].*/{
14350 as_dir="$ac_dir"; as_fn_mkdir_p
14354 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14356 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14357 # A "..
" for each directory in $ac_dir_suffix.
14358 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14359 case $ac_top_builddir_sub in
14360 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14361 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14364 ac_abs_top_builddir=$ac_pwd
14365 ac_abs_builddir=$ac_pwd$ac_dir_suffix
14366 # for backward compatibility:
14367 ac_top_builddir=$ac_top_build_prefix
14370 .) # We are building in place.
14372 ac_top_srcdir=$ac_top_builddir_sub
14373 ac_abs_top_srcdir=$ac_pwd ;;
14374 [\\/]* | ?:[\\/]* ) # Absolute name.
14375 ac_srcdir=$srcdir$ac_dir_suffix;
14376 ac_top_srcdir=$srcdir
14377 ac_abs_top_srcdir=$srcdir ;;
14378 *) # Relative name.
14379 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14380 ac_top_srcdir=$ac_top_build_prefix$srcdir
14381 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14383 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14394 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14398 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14399 # If the template does not know about datarootdir, expand it.
14400 # FIXME: This hack should be removed a few years after 2.60.
14401 ac_datarootdir_hack=; ac_datarootdir_seen=
14412 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
14413 *datarootdir*) ac_datarootdir_seen=yes;;
14414 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
14416 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
14418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14419 ac_datarootdir_hack='
14420 s&@datadir@&$datadir&g
14421 s&@docdir@&$docdir&g
14422 s&@infodir@&$infodir&g
14423 s&@localedir@&$localedir&g
14424 s&@mandir@&$mandir&g
14425 s&\\\${datarootdir}&$datarootdir&g' ;;
14429 # Neutralize VPATH when `$srcdir' = `.'.
14430 # Shell code in configure.ac might set extrasub.
14431 # FIXME: do we really want to maintain this feature?
14432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14433 ac_sed_extra="$ac_vpsub
14436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14438 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14439 s|@configure_input@|
$ac_sed_conf_input|
;t t
14440 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14441 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14442 s
&@srcdir@
&$ac_srcdir&;t t
14443 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14444 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14445 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14446 s
&@builddir@
&$ac_builddir&;t t
14447 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14448 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14449 s
&@INSTALL@
&$ac_INSTALL&;t t
14450 $ac_datarootdir_hack
14452 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
14453 if $ac_cs_awk_getline; then
14454 $AWK -f "$tmp/subs.
awk"
14456 $AWK -f "$tmp/subs.
awk" | $SHELL
14458 || as_fn_error "could not create
$ac_file" "$LINENO" 5
14460 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14461 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14462 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14464 which seems to be undefined. Please make sure it is defined." >&5
14465 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14466 which seems to be undefined. Please make sure it is defined." >&2;}
14470 -) cat "$tmp/out" && rm -f "$tmp/out";;
14471 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14473 || as_fn_error "could not create $ac_file" "$LINENO" 5
14485 ac_clean_files=$ac_clean_files_save
14487 test $ac_write_fail = 0 ||
14488 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14491 # configure is writing to config.log, and then calls config.status.
14492 # config.status does its own redirection, appending to config.log.
14493 # Unfortunately, on DOS this fails, as config.log is still kept open
14494 # by configure, so config.status won't be able to
write to it
; its
14495 # output is simply discarded. So we exec the FD to /dev/null,
14496 # effectively closing config.log, so it can be properly (re)opened and
14497 # appended to by config.status. When coming back to configure, we
14498 # need to make the FD available again.
14499 if test "$no_create" != yes; then
14501 ac_config_status_args
=
14502 test "$silent" = yes &&
14503 ac_config_status_args
="$ac_config_status_args --quiet"
14505 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14507 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14508 # would make configure fail if this is the last instruction.
14509 $ac_cs_success || as_fn_exit $?
14511 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14513 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}