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
559 POSTSTAGE1_CONFIGURE_FLAGS
564 MAINTAINER_MODE_FALSE
566 COMPILER_NM_FOR_TARGET
567 COMPILER_LD_FOR_TARGET
568 COMPILER_AS_FOR_TARGET
643 DEBUG_PREFIX_CFLAGS_FOR_TARGET
644 SYSROOT_CFLAGS_FOR_TARGET
646 extra_host_libiberty_configure_flags
655 extra_mpc_mpfr_configure_flags
656 extra_mpc_gmp_configure_flags
657 extra_mpfr_configure_flags
673 EXTRA_CONFIGARGS_LIBJAVA
700 TOPLEVEL_CONFIGURE_ARGUMENTS
728 program_transform_name
739 ac_subst_files
='serialization_dependencies
745 enable_option_checking
750 enable_libquadmath_support
753 enable_static_libjava
755 enable_build_with_cxx
756 enable_build_poststage1_with_cxx
776 enable_ppl_version_check
781 enable_cloog_version_check
783 enable_stage1_languages
786 with_debug_prefix_map
788 enable_serial_configure
789 with_build_time_tools
790 enable_maintainer_mode
791 enable_stage1_checking
794 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
913 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
916 -build |
--build |
--buil |
--bui |
--bu)
917 ac_prev
=build_alias
;;
918 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
919 build_alias
=$ac_optarg ;;
921 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
922 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
923 ac_prev
=cache_file
;;
924 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
925 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
926 cache_file
=$ac_optarg ;;
929 cache_file
=config.cache
;;
931 -datadir |
--datadir |
--datadi |
--datad)
933 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
934 datadir
=$ac_optarg ;;
936 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
937 |
--dataroo |
--dataro |
--datar)
938 ac_prev
=datarootdir
;;
939 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
940 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
941 datarootdir
=$ac_optarg ;;
943 -disable-* |
--disable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 as_fn_error
"invalid feature name: $ac_useropt"
948 ac_useropt_orig
=$ac_useropt
949 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950 case $ac_user_opts in
954 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955 ac_unrecognized_sep
=', ';;
957 eval enable_
$ac_useropt=no
;;
959 -docdir |
--docdir |
--docdi |
--doc |
--do)
961 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
964 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
966 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
969 -enable-* |
--enable-*)
970 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
973 as_fn_error
"invalid feature name: $ac_useropt"
974 ac_useropt_orig
=$ac_useropt
975 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
981 ac_unrecognized_sep
=', ';;
983 eval enable_
$ac_useropt=\
$ac_optarg ;;
985 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
986 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
987 |
--exec |
--exe |
--ex)
988 ac_prev
=exec_prefix
;;
989 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
990 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
991 |
--exec=* |
--exe=* |
--ex=*)
992 exec_prefix
=$ac_optarg ;;
994 -gas |
--gas |
--ga |
--g)
995 # Obsolete; use --with-gas.
998 -help |
--help |
--hel |
--he |
-h)
1000 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1001 ac_init_help
=recursive
;;
1002 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1003 ac_init_help
=short
;;
1005 -host |
--host |
--hos |
--ho)
1006 ac_prev
=host_alias
;;
1007 -host=* |
--host=* |
--hos=* |
--ho=*)
1008 host_alias
=$ac_optarg ;;
1010 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1012 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1014 htmldir
=$ac_optarg ;;
1016 -includedir |
--includedir |
--includedi |
--included |
--include \
1017 |
--includ |
--inclu |
--incl |
--inc)
1018 ac_prev
=includedir
;;
1019 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1020 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1021 includedir
=$ac_optarg ;;
1023 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1025 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1026 infodir
=$ac_optarg ;;
1028 -libdir |
--libdir |
--libdi |
--libd)
1030 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1031 libdir
=$ac_optarg ;;
1033 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1034 |
--libexe |
--libex |
--libe)
1035 ac_prev
=libexecdir
;;
1036 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1037 |
--libexe=* |
--libex=* |
--libe=*)
1038 libexecdir
=$ac_optarg ;;
1040 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1041 ac_prev
=localedir
;;
1042 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1043 localedir
=$ac_optarg ;;
1045 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1046 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1047 ac_prev
=localstatedir
;;
1048 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1049 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1050 localstatedir
=$ac_optarg ;;
1052 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1054 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1055 mandir
=$ac_optarg ;;
1057 -nfp |
--nfp |
--nf)
1058 # Obsolete; use --without-fp.
1061 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1062 |
--no-cr |
--no-c |
-n)
1065 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1066 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1069 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1070 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1071 |
--oldin |
--oldi |
--old |
--ol |
--o)
1072 ac_prev
=oldincludedir
;;
1073 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1074 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1075 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1076 oldincludedir
=$ac_optarg ;;
1078 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1080 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1081 prefix
=$ac_optarg ;;
1083 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1084 |
--program-pre |
--program-pr |
--program-p)
1085 ac_prev
=program_prefix
;;
1086 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1087 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1088 program_prefix
=$ac_optarg ;;
1090 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1091 |
--program-suf |
--program-su |
--program-s)
1092 ac_prev
=program_suffix
;;
1093 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1094 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1095 program_suffix
=$ac_optarg ;;
1097 -program-transform-name |
--program-transform-name \
1098 |
--program-transform-nam |
--program-transform-na \
1099 |
--program-transform-n |
--program-transform- \
1100 |
--program-transform |
--program-transfor \
1101 |
--program-transfo |
--program-transf \
1102 |
--program-trans |
--program-tran \
1103 |
--progr-tra |
--program-tr |
--program-t)
1104 ac_prev
=program_transform_name
;;
1105 -program-transform-name=* |
--program-transform-name=* \
1106 |
--program-transform-nam=* |
--program-transform-na=* \
1107 |
--program-transform-n=* |
--program-transform-=* \
1108 |
--program-transform=* |
--program-transfor=* \
1109 |
--program-transfo=* |
--program-transf=* \
1110 |
--program-trans=* |
--program-tran=* \
1111 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1112 program_transform_name
=$ac_optarg ;;
1114 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1116 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1117 pdfdir
=$ac_optarg ;;
1119 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1121 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1124 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1125 |
-silent |
--silent |
--silen |
--sile |
--sil)
1128 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1130 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1132 sbindir
=$ac_optarg ;;
1134 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1135 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1136 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1138 ac_prev
=sharedstatedir
;;
1139 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1140 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1141 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1143 sharedstatedir
=$ac_optarg ;;
1145 -site |
--site |
--sit)
1147 -site=* |
--site=* |
--sit=*)
1150 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1152 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1153 srcdir
=$ac_optarg ;;
1155 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1156 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1157 ac_prev
=sysconfdir
;;
1158 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1159 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1160 sysconfdir
=$ac_optarg ;;
1162 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1163 ac_prev
=target_alias
;;
1164 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1165 target_alias
=$ac_optarg ;;
1167 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1170 -version |
--version |
--versio |
--versi |
--vers |
-V)
1171 ac_init_version
=: ;;
1174 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1177 as_fn_error
"invalid package name: $ac_useropt"
1178 ac_useropt_orig
=$ac_useropt
1179 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1180 case $ac_user_opts in
1184 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1185 ac_unrecognized_sep
=', ';;
1187 eval with_
$ac_useropt=\
$ac_optarg ;;
1189 -without-* |
--without-*)
1190 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1193 as_fn_error
"invalid package name: $ac_useropt"
1194 ac_useropt_orig
=$ac_useropt
1195 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196 case $ac_user_opts in
1200 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1201 ac_unrecognized_sep
=', ';;
1203 eval with_
$ac_useropt=no
;;
1206 # Obsolete; use --with-x.
1209 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1210 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1211 ac_prev
=x_includes
;;
1212 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1213 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1214 x_includes
=$ac_optarg ;;
1216 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1217 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1218 ac_prev
=x_libraries
;;
1219 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1220 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1221 x_libraries
=$ac_optarg ;;
1223 -*) as_fn_error
"unrecognized option: \`$ac_option'
1224 Try \`$0 --help' for more information."
1228 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 case $ac_envvar in #(
1231 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1232 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1234 eval $ac_envvar=\
$ac_optarg
1235 export $ac_envvar ;;
1238 # FIXME: should be removed in autoconf 3.0.
1239 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1240 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1241 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1242 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1248 if test -n "$ac_prev"; then
1249 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1250 as_fn_error
"missing argument to $ac_option"
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1256 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1257 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1261 # Check all directory arguments for consistency.
1262 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1263 datadir sysconfdir sharedstatedir localstatedir includedir \
1264 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1265 libdir localedir mandir
1267 eval ac_val
=\$
$ac_var
1268 # Remove trailing slashes.
1271 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1272 eval $ac_var=\
$ac_val;;
1274 # Be sure to have absolute directory names.
1276 [\\/$
]* | ?
:[\\/]* ) continue;;
1277 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1279 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1282 # There might be people who depend on the old broken behavior: `$host'
1283 # used to hold the argument of --host etc.
1284 # FIXME: To remove some day.
1287 target
=$target_alias
1289 # FIXME: To remove some day.
1290 if test "x$host_alias" != x
; then
1291 if test "x$build_alias" = x
; then
1292 cross_compiling
=maybe
1293 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1294 If a cross compiler is detected then cross compile mode will be used." >&2
1295 elif test "x$build_alias" != "x$host_alias"; then
1301 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1303 test "$silent" = yes && exec 6>/dev
/null
1306 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1307 ac_ls_di
=`ls -di .` &&
1308 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1309 as_fn_error
"working directory cannot be determined"
1310 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1311 as_fn_error
"pwd does not report name of working directory"
1314 # Find the source files, if location was not specified.
1315 if test -z "$srcdir"; then
1316 ac_srcdir_defaulted
=yes
1317 # Try the directory containing this script, then the parent directory.
1318 ac_confdir
=`$as_dirname -- "$as_myself" ||
1319 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1320 X"$as_myself" : 'X\(//\)[^/]' \| \
1321 X"$as_myself" : 'X\(//\)$' \| \
1322 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1323 $as_echo X"$as_myself" |
1324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1342 if test ! -r "$srcdir/$ac_unique_file"; then
1346 ac_srcdir_defaulted
=no
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1349 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1350 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1352 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1354 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1356 # When building in place, set srcdir=.
1357 if test "$ac_abs_confdir" = "$ac_pwd"; then
1360 # Remove unnecessary trailing slashes from srcdir.
1361 # Double slashes in file names in object file debugging info
1362 # mess up M-x gdb in Emacs.
1364 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 as_fn_error
"path to source, $srcdir, contains spaces"
1371 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1373 for ac_var
in $ac_precious_vars; do
1374 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1375 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1376 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1377 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1381 # Report the --help message.
1383 if test "$ac_init_help" = "long"; then
1384 # Omit some internal or obsolete options to make the list less imposing.
1385 # This message is too long to be a string in the A/UX 3.1 sh.
1387 \`configure' configures this package to adapt to many kinds of systems.
1389 Usage: $0 [OPTION]... [VAR=VALUE]...
1391 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392 VAR=VALUE. See below for descriptions of some of the useful variables.
1394 Defaults for the options are specified in brackets.
1397 -h, --help display this help and exit
1398 --help=short display options specific to this package
1399 --help=recursive display the short help of all the included packages
1400 -V, --version display version information and exit
1401 -q, --quiet, --silent do not print \`checking...' messages
1402 --cache-file=FILE cache test results in FILE [disabled]
1403 -C, --config-cache alias for \`--cache-file=config.cache'
1404 -n, --no-create do not create output files
1405 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1407 Installation directories:
1408 --prefix=PREFIX install architecture-independent files in PREFIX
1409 [$ac_default_prefix]
1410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1413 By default, \`make install' will install all the files in
1414 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1415 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416 for instance \`--prefix=\$HOME'.
1418 For better control, use the options below.
1420 Fine tuning of the installation directories:
1421 --bindir=DIR user executables [EPREFIX/bin]
1422 --sbindir=DIR system admin executables [EPREFIX/sbin]
1423 --libexecdir=DIR program executables [EPREFIX/libexec]
1424 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1425 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1426 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1427 --libdir=DIR object code libraries [EPREFIX/lib]
1428 --includedir=DIR C header files [PREFIX/include]
1429 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1430 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1431 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1432 --infodir=DIR info documentation [DATAROOTDIR/info]
1433 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1434 --mandir=DIR man documentation [DATAROOTDIR/man]
1435 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1436 --htmldir=DIR html documentation [DOCDIR]
1437 --dvidir=DIR dvi documentation [DOCDIR]
1438 --pdfdir=DIR pdf documentation [DOCDIR]
1439 --psdir=DIR ps documentation [DOCDIR]
1445 --program-prefix=PREFIX prepend PREFIX to installed program names
1446 --program-suffix=SUFFIX append SUFFIX to installed program names
1447 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1450 --build=BUILD configure
for building on BUILD
[guessed
]
1451 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1452 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1456 if test -n "$ac_init_help"; then
1461 --disable-option-checking ignore unrecognized
--enable/--with options
1462 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1463 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1464 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1465 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1466 --disable-libquadmath do not build libquadmath directory
1467 --disable-libquadmath-support
1468 disable libquadmath support
for Fortran
1469 --enable-libada build libada directory
1470 --enable-libssp build libssp directory
1471 --enable-static-libjava[=ARG
]
1472 build static libjava
[default
=no
]
1473 --enable-bootstrap enable bootstrapping
[yes if native build
]
1474 --enable-build-with-cxx build with C
++ compiler instead of C compiler
1475 --enable-build-poststage1-with-cxx
1476 build stages
2 and
3 with C
++, not C
1477 --disable-ppl-version-check
1478 disable check
for PPL version
1479 --enable-cloog-backend[=BACKEND
]
1480 set the CLooG BACKEND used to either isl
, ppl or
1481 ppl-legacy
(default
)
1482 --disable-cloog-version-check
1483 disable check
for CLooG version
1484 --enable-lto enable link
time optimization support
1485 --enable-stage1-languages[=all
]
1486 choose additional languages to build during stage1.
1487 Mostly useful
for compiler development
1488 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1490 --enable-serial-[{host,target,build}-]configure
1491 force sequential configuration of sub-packages for
1492 the host, target or build machine, or all
1494 --enable-maintainer-mode
1495 enable make rules and dependencies not useful (and
1496 sometimes confusing) to the casual installer
1497 --enable-stage1-checking[=all]
1498 choose additional checking for stage1 of the
1500 --enable-werror enable -Werror in bootstrap stage2 and later
1503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1505 --with-build-libsubdir=DIR Directory where to find libraries for build system
1506 --with-mpc=PATH specify prefix directory for installed MPC package.
1507 Equivalent to --with-mpc-include=PATH/include plus
1508 --with-mpc-lib=PATH/lib
1509 --with-mpc-include=PATH specify directory for installed MPC include files
1510 --with-mpc-lib=PATH specify directory for the installed MPC library
1511 --with-mpfr-dir=PATH this option has been REMOVED
1512 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1513 Equivalent to --with-mpfr-include=PATH/include plus
1514 --with-mpfr-lib=PATH/lib
1515 --with-mpfr-include=PATH
1516 specify directory for installed MPFR include files
1517 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1518 --with-gmp-dir=PATH this option has been REMOVED
1519 --with-gmp=PATH specify prefix directory for the installed GMP
1520 package. Equivalent to
1521 --with-gmp-include=PATH/include plus
1522 --with-gmp-lib=PATH/lib
1523 --with-gmp-include=PATH specify directory for installed GMP include files
1524 --with-gmp-lib=PATH specify directory for the installed GMP library
1525 --with-host-libstdcxx=L use linker arguments L to link with libstdc++ when
1527 --with-stage1-ldflags=FLAGS
1528 linker flags for stage1
1529 --with-stage1-libs=LIBS libraries for stage1
1530 --with-boot-libs=LIBS libraries for stage2 and later
1531 --with-boot-ldflags=FLAGS
1532 linker flags for stage2 and later
1533 --with-ppl=PATH specify prefix directory for the installed PPL
1534 package. Equivalent to
1535 --with-ppl-include=PATH/include plus
1536 --with-ppl-lib=PATH/lib
1537 --with-ppl-include=PATH specify directory for installed PPL include files
1538 --with-ppl-lib=PATH specify directory for the installed PPL library
1539 --with-cloog=PATH Specify prefix directory for the installed CLooG-PPL
1540 package. Equivalent to
1541 --with-cloog-include=PATH/include plus
1542 --with-cloog-lib=PATH/lib
1543 --with-cloog-include=PATH
1544 Specify directory for installed CLooG include files
1545 --with-cloog-lib=PATH Specify the directory for the installed CLooG
1547 --with-build-sysroot=SYSROOT
1548 use sysroot as the system root during the build
1549 --with-debug-prefix-map='A
=B C
=D ...
'
1550 map A to B, C to D ... in debug information
1551 --with-build-config='NAME NAME2...
'
1552 use config/NAME.mk build configuration
1553 --with-build-time-tools=PATH
1554 use given path to find target tools during the build
1556 Some influential environment variables:
1557 CC C compiler command
1558 CFLAGS C compiler flags
1559 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1560 nonstandard directory <lib dir>
1561 LIBS libraries to pass to the linker, e.g. -l<library>
1562 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1563 you have headers in a nonstandard directory <include dir>
1564 CXX C++ compiler command
1565 CXXFLAGS C++ compiler flags
1567 additional configure arguments for build directories
1569 additional configure arguments for host directories
1571 additional configure arguments for target directories
1574 DLLTOOL DLLTOOL for the host
1576 LIPO LIPO for the host
1578 RANLIB RANLIB for the host
1579 STRIP STRIP for the host
1580 WINDRES WINDRES for the host
1581 WINDMC WINDMC for the host
1582 OBJCOPY OBJCOPY for the host
1583 OBJDUMP OBJDUMP for the host
1584 READELF READELF for the host
1594 GFORTRAN for the target
1602 DLLTOOL for the target
1610 OBJDUMP for the target
1612 RANLIB for the target
1614 READELF for the target
1616 STRIP for the target
1618 WINDRES for the target
1620 WINDMC for the target
1622 Use these variables to override the choices made by `configure' or to
help
1623 it to
find libraries and programs with nonstandard names
/locations.
1625 Report bugs to the package provider.
1630 if test "$ac_init_help" = "recursive"; then
1631 # If there are subdirs, report their specific --help.
1632 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1633 test -d "$ac_dir" ||
1634 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1639 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1641 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1642 # A ".." for each directory in $ac_dir_suffix.
1643 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1644 case $ac_top_builddir_sub in
1645 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1646 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1649 ac_abs_top_builddir
=$ac_pwd
1650 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1651 # for backward compatibility:
1652 ac_top_builddir
=$ac_top_build_prefix
1655 .
) # We are building in place.
1657 ac_top_srcdir
=$ac_top_builddir_sub
1658 ac_abs_top_srcdir
=$ac_pwd ;;
1659 [\\/]* | ?
:[\\/]* ) # Absolute name.
1660 ac_srcdir
=$srcdir$ac_dir_suffix;
1661 ac_top_srcdir
=$srcdir
1662 ac_abs_top_srcdir
=$srcdir ;;
1664 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1665 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1666 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1668 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1670 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1671 # Check for guested configure.
1672 if test -f "$ac_srcdir/configure.gnu"; then
1674 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1675 elif test -f "$ac_srcdir/configure"; then
1677 $SHELL "$ac_srcdir/configure" --help=recursive
1679 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1685 test -n "$ac_init_help" && exit $ac_status
1686 if $ac_init_version; then
1689 generated by GNU Autoconf
2.64
1691 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1692 This configure
script is free software
; the Free Software Foundation
1693 gives unlimited permission to copy
, distribute and modify it.
1698 ## ------------------------ ##
1699 ## Autoconf initialization. ##
1700 ## ------------------------ ##
1702 # ac_fn_c_try_compile LINENO
1703 # --------------------------
1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1705 ac_fn_c_try_compile
()
1707 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1708 rm -f conftest.
$ac_objext
1709 if { { ac_try
="$ac_compile"
1711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_compile") 2>conftest.err
1718 if test -s conftest.err; then
1719 grep -v '^ *+' conftest.err >conftest.er1
1720 cat conftest.er1 >&5
1721 mv -f conftest.er1 conftest.err
1723 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724 test $ac_status = 0; } && {
1725 test -z "$ac_c_werror_flag" ||
1726 test ! -s conftest.err
1727 } && test -s conftest.$ac_objext; then :
1730 $as_echo "$as_me: failed program was:" >&5
1731 sed 's/^/| /' conftest.$ac_ext >&5
1735 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1738 } # ac_fn_c_try_compile
1740 # ac_fn_cxx_try_compile LINENO
1741 # ----------------------------
1742 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1743 ac_fn_cxx_try_compile ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 rm -f conftest.$ac_objext
1747 if { { ac_try="$ac_compile"
1749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1750 *) ac_try_echo
=$ac_try;;
1752 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753 $as_echo "$ac_try_echo"; } >&5
1754 (eval "$ac_compile") 2>conftest.err
1756 if test -s conftest.err
; then
1757 grep -v '^ *+' conftest.err
>conftest.er1
1758 cat conftest.er1
>&5
1759 mv -f conftest.er1 conftest.err
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && {
1763 test -z "$ac_cxx_werror_flag" ||
1764 test ! -s conftest.err
1765 } && test -s conftest.
$ac_objext; then :
1768 $as_echo "$as_me: failed program was:" >&5
1769 sed 's/^/| /' conftest.
$ac_ext >&5
1773 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1776 } # ac_fn_cxx_try_compile
1778 # ac_fn_c_try_link LINENO
1779 # -----------------------
1780 # Try to link conftest.$ac_ext, and return whether this succeeded.
1783 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1784 rm -f conftest.
$ac_objext conftest
$ac_exeext
1785 if { { ac_try
="$ac_link"
1787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_link") 2>conftest.err
1794 if test -s conftest.err; then
1795 grep -v '^ *+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } && {
1801 test -z "$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 } && test -s conftest$ac_exeext && {
1804 test "$cross_compiling" = yes ||
1805 $as_test_x conftest$ac_exeext
1809 $as_echo "$as_me: failed program was:" >&5
1810 sed 's/^/| /' conftest.$ac_ext >&5
1814 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1815 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1816 # interfere with the next link command; also delete a directory that is
1817 # left behind by Apple's compiler. We do this before executing the actions.
1818 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 } # ac_fn_c_try_link
1823 cat >config.log <<_ACEOF
1824 This file contains any messages produced by compilers while
1825 running configure, to aid debugging if configure makes a mistake.
1827 It was created by $as_me, which was
1828 generated by GNU Autoconf 2.64. Invocation command line was
1840 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1841 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1842 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1843 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1844 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1846 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1847 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1849 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1850 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1851 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1852 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1853 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1854 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1855 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1863 test -z "$as_dir" && as_dir=.
1864 $as_echo "PATH: $as_dir"
1880 # Keep a trace of the command line.
1881 # Strip out --no-create and --no-recursion so they do not pile up.
1882 # Strip out --silent because we don't want to record it for future runs.
1883 # Also quote any args containing shell meta-characters.
1884 # Make two passes to allow for proper duplicate-argument suppression.
1888 ac_must_keep_next=false
1894 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1896 | -silent | --silent | --silen | --sile | --sil)
1899 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1902 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1904 as_fn_append ac_configure_args1 " '$ac_arg'"
1905 if test $ac_must_keep_next = true; then
1906 ac_must_keep_next=false # Got value, back to normal.
1909 *=* | --config-cache | -C | -disable-* | --disable-* \
1910 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1911 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1912 | -with-* | --with-* | -without-* | --without-* | --x)
1913 case "$ac_configure_args0 " in
1914 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1917 -* ) ac_must_keep_next=true ;;
1920 as_fn_append ac_configure_args " '$ac_arg'"
1925 { ac_configure_args0=; unset ac_configure_args0;}
1926 { ac_configure_args1=; unset ac_configure_args1;}
1928 # When interrupted or exit'd, cleanup temporary files, and complete
1929 # config.log. We remove comments because anyway the quotes in there
1930 # would cause problems or look ugly.
1931 # WARNING: Use '\'' to represent an apostrophe within the trap.
1932 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1933 trap 'exit_status=$?
1934 # Save into config.log some information that might help in debugging.
1939 ## ---------------- ##
1940 ## Cache variables. ##
1941 ## ---------------- ##
1944 # The following way of writing the cache mishandles newlines in values,
1946 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1947 eval ac_val=\$$ac_var
1951 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1952 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1955 _ | IFS | as_nl) ;; #(
1956 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1957 *) { eval $ac_var=; unset $ac_var;} ;;
1962 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1963 *${as_nl}ac_space=\ *)
1965 "s/'\''/'\''\\\\'\'''\''/g;
1966 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1969 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1977 ## ----------------- ##
1978 ## Output variables. ##
1979 ## ----------------- ##
1982 for ac_var in $ac_subst_vars
1984 eval ac_val=\$$ac_var
1986 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1988 $as_echo "$ac_var='\''$ac_val'\''"
1992 if test -n "$ac_subst_files"; then
1994 ## ------------------- ##
1995 ## File substitutions. ##
1996 ## ------------------- ##
1999 for ac_var in $ac_subst_files
2001 eval ac_val=\$$ac_var
2003 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005 $as_echo "$ac_var='\''$ac_val'\''"
2010 if test -s confdefs.h; then
2020 test "$ac_signal" != 0 &&
2021 $as_echo "$as_me: caught signal $ac_signal"
2022 $as_echo "$as_me: exit $exit_status"
2024 rm -f core *.core core.conftest.* &&
2025 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2028 for ac_signal in 1 2 13 15; do
2029 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2033 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2034 rm -f -r conftest* confdefs.h
2036 $as_echo "/* confdefs.h */" > confdefs.h
2038 # Predefined preprocessor variables.
2040 cat >>confdefs.h <<_ACEOF
2041 #define PACKAGE_NAME "$PACKAGE_NAME"
2044 cat >>confdefs.h <<_ACEOF
2045 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2048 cat >>confdefs.h <<_ACEOF
2049 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2052 cat >>confdefs.h <<_ACEOF
2053 #define PACKAGE_STRING "$PACKAGE_STRING"
2056 cat >>confdefs.h <<_ACEOF
2057 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2060 cat >>confdefs.h <<_ACEOF
2061 #define PACKAGE_URL "$PACKAGE_URL"
2065 # Let the site file select an alternate cache file if it wants to.
2066 # Prefer an explicitly selected file to automatically selected ones.
2069 if test -n "$CONFIG_SITE"; then
2070 ac_site_file1=$CONFIG_SITE
2071 elif test "x$prefix" != xNONE; then
2072 ac_site_file1=$prefix/share/config.site
2073 ac_site_file2=$prefix/etc/config.site
2075 ac_site_file1=$ac_default_prefix/share/config.site
2076 ac_site_file2=$ac_default_prefix/etc/config.site
2078 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2080 test "x$ac_site_file" = xNONE && continue
2081 if test -r "$ac_site_file"; then
2082 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2083 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2084 sed 's/^/| /' "$ac_site_file" >&5
2089 if test -r "$cache_file"; then
2090 # Some versions of bash will fail to source /dev/null (special
2091 # files actually), so we avoid doing that.
2092 if test -f "$cache_file"; then
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
2096 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2097 *) . "./$cache_file";;
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
2106 # Check that the precious variables saved in the cache have kept the same
2108 ac_cache_corrupted=false
2109 for ac_var in $ac_precious_vars; do
2110 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2111 eval ac_new_set=\$ac_env_${ac_var}_set
2112 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2113 eval ac_new_val=\$ac_env_${ac_var}_value
2114 case $ac_old_set,$ac_new_set in
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2117 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2118 ac_cache_corrupted=: ;;
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2121 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2122 ac_cache_corrupted=: ;;
2125 if test "x$ac_old_val" != "x$ac_new_val"; then
2126 # differences in whitespace do not lead to failure.
2127 ac_old_val_w=`echo x
$ac_old_val`
2128 ac_new_val_w=`echo x
$ac_new_val`
2129 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2132 ac_cache_corrupted=:
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2136 eval $ac_var=\$ac_old_val
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2139 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2141 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2144 # Pass precious variables to config.status.
2145 if test "$ac_new_set" = set; then
2147 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2148 *) ac_arg=$ac_var=$ac_new_val ;;
2150 case " $ac_configure_args " in
2151 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2152 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2156 if $ac_cache_corrupted; then
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2161 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2163 ## -------------------- ##
2164 ## Main body of script. ##
2165 ## -------------------- ##
2168 ac_cpp='$CPP $CPPFLAGS'
2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182 # if PWD already has a value, it is probably wrong.
2183 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2185 # Export original configure arguments for use by sub-configures.
2186 # Quote arguments with shell meta charatcers.
2187 TOPLEVEL_CONFIGURE_ARGUMENTS=
2188 set -- "$progname" "$@"
2192 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2193 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2194 # if the argument is of the form -foo=baz, quote the baz part only
2195 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2198 # Add the quoted argument to the list.
2199 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2201 if test "$silent" = yes; then
2202 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2204 # Remove the initial space we just introduced and, as these will be
2205 # expanded by make, quote '$'.
2206 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2209 # Find the build, host, and target systems.
2211 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2212 for ac_t in install-sh install.sh shtool; do
2213 if test -f "$ac_dir/$ac_t"; then
2215 ac_install_sh="$ac_aux_dir/$ac_t -c"
2220 if test -z "$ac_aux_dir"; then
2221 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2224 # These three variables are undocumented and unsupported,
2225 # and are intended to be withdrawn in a future Autoconf release.
2226 # They can cause serious problems if a builder's source tree is in a directory
2227 # whose full name contains unusual characters.
2228 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2229 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2230 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2233 # Make sure we can run config.sub.
2234 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2235 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2238 $as_echo_n "checking build system type... " >&6; }
2239 if test "${ac_cv_build+set}" = set; then :
2240 $as_echo_n "(cached) " >&6
2242 ac_build_alias=$build_alias
2243 test "x$ac_build_alias" = x &&
2244 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2245 test "x$ac_build_alias" = x &&
2246 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2247 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2248 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2252 $as_echo "$ac_cv_build" >&6; }
2253 case $ac_cv_build in
2255 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2258 ac_save_IFS=$IFS; IFS='-'
2264 # Remember, the first character of IFS is used to create $*,
2265 # except with old shells:
2268 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2271 case ${build_alias} in
2272 "") build_noncanonical=${build} ;;
2273 *) build_noncanonical=${build_alias} ;;
2278 case ${host_alias} in
2279 "") host_noncanonical=${build_noncanonical} ;;
2280 *) host_noncanonical=${host_alias} ;;
2285 case ${target_alias} in
2286 "") target_noncanonical=${host_noncanonical} ;;
2287 *) target_noncanonical=${target_alias} ;;
2293 test "$host_noncanonical" = "$target_noncanonical" &&
2294 test "$program_prefix$program_suffix$program_transform_name" = \
2296 program_transform_name=s,y,y,
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2299 $as_echo_n "checking host system type... " >&6; }
2300 if test "${ac_cv_host+set}" = set; then :
2301 $as_echo_n "(cached) " >&6
2303 if test "x$host_alias" = x; then
2304 ac_cv_host=$ac_cv_build
2306 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2307 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2312 $as_echo "$ac_cv_host" >&6; }
2315 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2318 ac_save_IFS=$IFS; IFS='-'
2324 # Remember, the first character of IFS is used to create $*,
2325 # except with old shells:
2328 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2332 $as_echo_n "checking target system type... " >&6; }
2333 if test "${ac_cv_target+set}" = set; then :
2334 $as_echo_n "(cached) " >&6
2336 if test "x$target_alias" = x; then
2337 ac_cv_target=$ac_cv_host
2339 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2340 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2345 $as_echo "$ac_cv_target" >&6; }
2346 case $ac_cv_target in
2348 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2350 target=$ac_cv_target
2351 ac_save_IFS=$IFS; IFS='-'
2357 # Remember, the first character of IFS is used to create $*,
2358 # except with old shells:
2361 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2364 # The aliases save the names the user supplied, while $host etc.
2365 # will get canonicalized.
2366 test -n "$target_alias" &&
2367 test "$program_prefix$program_suffix$program_transform_name" = \
2369 program_prefix=${target_alias}-
2371 test "$program_prefix" != NONE &&
2372 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2373 # Use a double $ so make ignores it.
2374 test "$program_suffix" != NONE &&
2375 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2376 # Double any \ or $.
2377 # By default was `s
,x
,x
', remove it if useless.
2378 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2379 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2383 # Get 'install' or 'install-sh
' and its variants.
2384 # Find a good install program. We prefer a C program (faster),
2385 # so one script is as good as another. But avoid the broken or
2386 # incompatible versions:
2387 # SysV /etc/install, /usr/sbin/install
2388 # SunOS /usr/etc/install
2389 # IRIX /sbin/install
2391 # AmigaOS /C/install, which installs bootblocks on floppy discs
2392 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2393 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2394 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2395 # OS/2's system install, which has a completely different semantic
2396 # ./install, which can be erroneously created by make from ./install.sh.
2397 # Reject install programs that cannot install multiple files.
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2399 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2400 if test -z "$INSTALL"; then
2401 if test "${ac_cv_path_install+set}" = set; then :
2402 $as_echo_n "(cached) " >&6
2404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir
=.
2409 # Account for people who put trailing slashes in PATH elements.
2410 case $as_dir/ in #((
2411 .
/ | .
// |
/[cC
]/* | \
2412 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2413 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2416 # OSF1 and SCO ODT 3.0 have their own names for install.
2417 # Don't use installbsd from OSF since it installs stuff as root
2419 for ac_prog
in ginstall scoinst
install; do
2420 for ac_exec_ext
in '' $ac_executable_extensions; do
2421 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2422 if test $ac_prog = install &&
2423 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2424 # AIX install. It has an incompatible calling convention.
2426 elif test $ac_prog = install &&
2427 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2428 # program-specific install script used by HP pwplus--don't use.
2431 rm -rf conftest.one conftest.two conftest.dir
2432 echo one
> conftest.one
2433 echo two
> conftest.two
2435 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2436 test -s conftest.one
&& test -s conftest.two
&&
2437 test -s conftest.dir
/conftest.one
&&
2438 test -s conftest.dir
/conftest.two
2440 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2453 rm -rf conftest.one conftest.two conftest.dir
2456 if test "${ac_cv_path_install+set}" = set; then
2457 INSTALL
=$ac_cv_path_install
2459 # As a last resort, use the slow shell script. Don't cache a
2460 # value for INSTALL within a source directory, because that will
2461 # break other packages using the cache if that directory is
2462 # removed, or if the value is a relative name.
2463 INSTALL
=$ac_install_sh
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2467 $as_echo "$INSTALL" >&6; }
2469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2470 # It thinks the first close brace ends the variable substitution.
2471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2475 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2478 $as_echo_n "checking whether ln works... " >&6; }
2479 if test "${acx_cv_prog_LN+set}" = set; then :
2480 $as_echo_n "(cached) " >&6
2482 rm -f conftestdata_t
2483 echo >conftestdata_f
2484 if ln conftestdata_f conftestdata_t
2>/dev
/null
2490 rm -f conftestdata_f conftestdata_t
2493 if test $acx_cv_prog_LN = no
; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2496 $as_echo "no, using $LN" >&6; }
2498 LN
="$acx_cv_prog_LN"
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2500 $as_echo "yes" >&6; }
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2504 $as_echo_n "checking whether ln -s works... " >&6; }
2506 if test "$LN_S" = "ln -s"; then
2507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2508 $as_echo "yes" >&6; }
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2511 $as_echo "no, using $LN_S" >&6; }
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2515 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2516 if test "${ac_cv_path_SED+set}" = set; then :
2517 $as_echo_n "(cached) " >&6
2519 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2520 for ac_i
in 1 2 3 4 5 6 7; do
2521 ac_script
="$ac_script$as_nl$ac_script"
2523 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2524 { ac_script
=; unset ac_script
;}
2525 if test -z "$SED"; then
2526 ac_path_SED_found
=false
2527 # Loop through the user's path and test for each of PROGNAME-LIST
2528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2532 test -z "$as_dir" && as_dir
=.
2533 for ac_prog
in sed gsed
; do
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2536 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2537 # Check for GNU ac_path_SED and select it if it is found.
2538 # Check for GNU $ac_path_SED
2539 case `"$ac_path_SED" --version 2>&1` in
2541 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2544 $as_echo_n 0123456789 >"conftest.in"
2547 cat "conftest.in" "conftest.in" >"conftest.tmp"
2548 mv "conftest.tmp" "conftest.in"
2549 cp "conftest.in" "conftest.nl"
2550 $as_echo '' >> "conftest.nl"
2551 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2552 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2553 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2554 if test $ac_count -gt ${ac_path_SED_max-0}; then
2555 # Best one so far, save it but keep looking for a better one
2556 ac_cv_path_SED
="$ac_path_SED"
2557 ac_path_SED_max
=$ac_count
2559 # 10*(2^10) chars as input seems more than enough
2560 test $ac_count -gt 10 && break
2562 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2565 $ac_path_SED_found && break 3
2570 if test -z "$ac_cv_path_SED"; then
2571 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2579 $as_echo "$ac_cv_path_SED" >&6; }
2580 SED
="$ac_cv_path_SED"
2583 for ac_prog
in gawk mawk nawk
awk
2585 # Extract the first word of "$ac_prog", so it can be a program name with args.
2586 set dummy
$ac_prog; ac_word
=$2
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588 $as_echo_n "checking for $ac_word... " >&6; }
2589 if test "${ac_cv_prog_AWK+set}" = set; then :
2590 $as_echo_n "(cached) " >&6
2592 if test -n "$AWK"; then
2593 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir
=.
2600 for ac_exec_ext
in '' $ac_executable_extensions; do
2601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2602 ac_cv_prog_AWK
="$ac_prog"
2603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2613 if test -n "$AWK"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2615 $as_echo "$AWK" >&6; }
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618 $as_echo "no" >&6; }
2622 test -n "$AWK" && break
2626 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2628 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2630 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2631 INSTALL
="${srcpwd}/install-sh -c"
2634 # Set srcdir to "." if that's what it is.
2635 # This is important for multilib support.
2637 if test "${pwd}" = "${srcpwd}" ; then
2645 ### To add a new directory to the tree, first choose whether it is a target
2646 ### or a host dependent tool. Then put it into the appropriate list
2647 ### (library or tools, host or target), doing a dependency sort.
2649 # Subdirs will be configured in the order listed in build_configdirs,
2650 # configdirs, or target_configdirs; see the serialization section below.
2652 # Dependency sorting is only needed when *configuration* must be done in
2653 # a particular order. In all cases a dependency should be specified in
2654 # the Makefile, whether or not it's implicitly specified here.
2656 # Double entries in build_configdirs, configdirs, or target_configdirs may
2657 # cause circular dependencies and break everything horribly.
2659 # these library is used by various programs built for the build
2662 build_libs
="build-libiberty"
2664 # these tools are built for the build environment
2665 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2667 # these libraries are used by various programs built for the host environment
2669 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc ppl cloog libelf libiconv"
2671 # these tools are built for the host environment
2672 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2673 # know that we are building the simulator.
2674 # binutils, gas and ld appear in that order because it makes sense to run
2675 # "make check" in that particular order.
2676 # If --enable-gold is used, "gold" may replace "ld".
2677 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2679 # libgcj represents the runtime libraries only used by gcj.
2680 libgcj
="target-libffi \
2684 # these libraries are built for the target environment, and are built after
2685 # the host libraries and the host tools (which may be a cross compiler)
2686 # Note that libiberty is not a target library.
2687 target_libraries
="target-libgcc \
2692 target-libstdc++-v3 \
2695 target-libquadmath \
2696 target-libgfortran \
2704 # these tools are built using the target libraries, and are intended to
2705 # run only in the target environment
2707 # note: any program that *uses* libraries that are in the "target_libraries"
2708 # list belongs in this list.
2710 target_tools
="target-rda"
2712 ################################################################################
2714 ## All tools belong in one of the four categories, and are assigned above
2715 ## We assign ${configdirs} this way to remove all embedded newlines. This
2716 ## is important because configure will choke if they ever get through.
2717 ## ${configdirs} is directories we build using the host tools.
2718 ## ${target_configdirs} is directories we build using the target tools.
2719 configdirs
=`echo ${host_libs} ${host_tools}`
2720 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2721 build_configdirs
=`echo ${build_libs} ${build_tools}`
2725 ################################################################################
2727 srcname
="gnu development package"
2729 # This gets set non-empty for some net releases of packages.
2732 # Define is_cross_compiler to save on calls to 'test'.
2734 if test x
"${host}" = x
"${target}" ; then
2735 is_cross_compiler
=no
2737 is_cross_compiler
=yes
2740 # Find the build and target subdir names.
2742 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2743 # have matching libraries, they should use host libraries: Makefile.tpl
2744 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2745 # However, they still use the build modules, because the corresponding
2746 # host modules (e.g. bison) are only built for the host when bootstrap
2748 # - build_subdir is where we find build modules, and never changes.
2749 # - build_libsubdir is where we find build libraries, and can be overridden.
2751 # Prefix 'build-' so this never conflicts with target_subdir.
2752 build_subdir
="build-${build_noncanonical}"
2754 # Check whether --with-build-libsubdir was given.
2755 if test "${with_build_libsubdir+set}" = set; then :
2756 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2758 build_libsubdir
="$build_subdir"
2761 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2762 if ( test $srcdir = .
&& test -d gcc
) \
2763 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2764 host_subdir
="host-${host_noncanonical}"
2769 target_subdir
=${target_noncanonical}
2771 # Be sure to cover against remnants of an in-tree build.
2772 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2773 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2774 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2777 # Skipdirs are removed silently.
2779 # Noconfigdirs are removed loudly.
2783 # Make sure we don't let GNU ld be added if we didn't want it.
2784 if test x
$with_gnu_ld = xno
; then
2786 noconfigdirs
="$noconfigdirs ld gold"
2790 # Make sure we don't let GNU as be added if we didn't want it.
2791 if test x
$with_gnu_as = xno
; then
2793 noconfigdirs
="$noconfigdirs gas"
2797 # Make sure we don't let ZLIB be added if we didn't want it.
2798 if test x
$with_system_zlib = xyes
; then
2799 use_included_zlib
=no
2800 noconfigdirs
="$noconfigdirs zlib"
2803 # some tools are so dependent upon X11 that if we're not building with X,
2804 # it's not even worth trying to configure, much less build, that tool.
2807 yes |
"") ;; # the default value for this tree is that X11 is available
2809 skipdirs
="${skipdirs} tk itcl libgui"
2810 # We won't be able to build gdbtk without X.
2813 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2816 # Some are only suitable for cross toolchains.
2817 # Remove these if host=target.
2818 cross_only
="target-libgloss target-newlib target-opcodes"
2820 case $is_cross_compiler in
2821 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2824 # If both --with-headers and --with-libs are specified, default to
2826 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2827 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2828 if test x
"${with_newlib}" = x
; then
2833 # Recognize --with-newlib/--without-newlib.
2834 case ${with_newlib} in
2835 no
) skipdirs
="${skipdirs} target-newlib" ;;
2836 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2839 # Handle --enable-gold, --enable-ld.
2840 # --disable-gold [--enable-ld]
2841 # Build only ld. Default option.
2842 # --enable-gold [--enable-ld]
2843 # Build both gold and ld. Install gold as "ld.gold", install ld
2844 # as "ld.bfd" and "ld".
2845 # --enable-gold=default [--enable-ld]
2846 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2847 # install ld as "ld.bfd".
2848 # --enable-gold[=default] --disable-ld
2849 # Build only gold, which is then installed as both "ld.gold" and "ld".
2850 # --enable-gold --enable-ld=default
2851 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2853 # In other words, ld is default
2854 # --enable-gold=default --enable-ld=default
2858 # Check whether --enable-gold was given.
2859 if test "${enable_gold+set}" = set; then :
2860 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2865 case "${ENABLE_GOLD}" in
2867 # Check for ELF target.
2870 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2871 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2872 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2873 |
*-*-solaris2* |
*-*-nto*)
2875 *-*-linux*aout
* |
*-*-linux*oldld
*)
2883 if test "$is_elf" = "yes"; then
2884 # Check for target supported by gold.
2886 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2887 configdirs
="$configdirs gold"
2888 if test x
${ENABLE_GOLD} = xdefault
; then
2899 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2903 # Check whether --enable-ld was given.
2904 if test "${enable_ld+set}" = set; then :
2905 enableval
=$enable_ld; ENABLE_LD
=$enableval
2911 case "${ENABLE_LD}" in
2913 if test x
${default_ld} != x
; then
2914 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2920 if test x
${ENABLE_GOLD} != xyes
; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2922 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2924 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2927 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2931 # Configure extra directories which are host specific
2935 configdirs
="$configdirs libtermcap" ;;
2938 # A target can indicate whether a language isn't supported for some reason.
2939 # Only spaces may be used in this macro; not newlines or tabs.
2940 unsupported_languages
=
2942 # Remove more programs from consideration, based on the host or
2943 # target this usually means that a port of the program doesn't
2947 i
[3456789]86-*-msdosdjgpp*)
2948 noconfigdirs
="$noconfigdirs tcl tk itcl"
2953 # Check whether --enable-libquadmath was given.
2954 if test "${enable_libquadmath+set}" = set; then :
2955 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2957 ENABLE_LIBQUADMATH
=yes
2960 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2961 noconfigdirs
="$noconfigdirs target-libquadmath"
2965 # Check whether --enable-libquadmath-support was given.
2966 if test "${enable_libquadmath_support+set}" = set; then :
2967 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2969 ENABLE_LIBQUADMATH_SUPPORT
=yes
2972 enable_libquadmath_support
=
2973 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2974 enable_libquadmath_support
=no
2978 # Check whether --enable-libada was given.
2979 if test "${enable_libada+set}" = set; then :
2980 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2985 if test "${ENABLE_LIBADA}" != "yes" ; then
2986 noconfigdirs
="$noconfigdirs gnattools"
2989 # Check whether --enable-libssp was given.
2990 if test "${enable_libssp+set}" = set; then :
2991 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2997 # Save it here so that, even in case of --enable-libgcj, if the Java
2998 # front-end isn't enabled, we still get libgcj disabled.
2999 libgcj_saved
=$libgcj
3000 case $enable_libgcj in
3002 # If we reset it here, it won't get added to noconfigdirs in the
3003 # target-specific build rules, so it will be forcibly enabled
3004 # (unless the Java language itself isn't enabled).
3008 # Make sure we get it printed in the list of not supported target libs.
3009 # Don't disable libffi, though, other languages use it.
3010 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3011 # Clear libgcj_saved so that even if java is enabled libffi won't be
3017 # Check whether --enable-static-libjava was given.
3018 if test "${enable_static_libjava+set}" = set; then :
3019 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3021 ENABLE_STATIC_LIBJAVA
=no
3024 enable_static_libjava
=
3025 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3026 enable_static_libjava
=yes
3029 if test x
$enable_static_libjava != xyes
; then
3030 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3034 # Disable libmudflap on some systems.
3035 if test x
$enable_libmudflap = x
; then
3037 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3038 # Enable libmudflap by default in GNU and friends.
3041 # Enable libmudflap by default in FreeBSD.
3044 # Disable it by default everywhere else.
3045 noconfigdirs
="$noconfigdirs target-libmudflap"
3050 # Disable libgomp on non POSIX hosted systems.
3051 if test x
$enable_libgomp = x
; then
3052 # Enable libgomp by default on hosted POSIX systems.
3054 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3056 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3058 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3060 *-*-darwin* |
*-*-aix*)
3063 noconfigdirs
="$noconfigdirs target-libgomp"
3068 # Disable libitm on unsupported systems.
3069 if test -d ${srcdir}/libitm
; then
3070 if test x
$enable_libitm = x
; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3072 $as_echo_n "checking for libitm support... " >&6; }
3073 if (srcdir
=${srcdir}/libitm
; \
3074 .
${srcdir}/configure.tgt
; \
3075 test -n "$UNSUPPORTED")
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078 $as_echo "no" >&6; }
3079 noconfigdirs
="$noconfigdirs target-libitm"
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3082 $as_echo "yes" >&6; }
3087 # Disable libssp for some systems.
3090 # No hosted I/O support.
3091 noconfigdirs
="$noconfigdirs target-libssp"
3093 powerpc-
*-aix* | rs6000-
*-aix*)
3094 noconfigdirs
="$noconfigdirs target-libssp"
3097 # libssp uses a misaligned load to trigger a fault, but the RL78
3098 # doesn't fault for those - instead, it gives a build-time error
3099 # for explicit misaligned loads.
3100 noconfigdirs
="$noconfigdirs target-libssp"
3104 # Disable libstdc++-v3 for some systems.
3107 # VxWorks uses the Dinkumware C++ library.
3108 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3111 # the C++ libraries don't build on top of CE's C libraries
3112 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3115 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3119 # Disable Fortran for some systems.
3122 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3123 unsupported_languages
="$unsupported_languages fortran"
3127 # Disable Java if libffi is not supported.
3149 mips-sgi-irix6.
* | mips
*-*-rtems*)
3157 powerpc-
*-aix* | rs6000-
*-aix*)
3161 powerpc64-
*-freebsd*)
3165 s390-
*-* | s390x-
*-*)
3167 sh-
*-* | sh
[34]*-*-*)
3169 sh64-
*-* | sh5
*-*-*)
3176 unsupported_languages
="$unsupported_languages java"
3180 # Disable Java, libgcj or related libraries for some systems.
3184 i
[3456789]86-*-darwin*)
3186 x86_64-
*-darwin[912]*)
3189 noconfigdirs
="$noconfigdirs ${libgcj}"
3192 noconfigdirs
="$noconfigdirs ${libgcj}"
3195 noconfigdirs
="$noconfigdirs ${libgcj}"
3198 noconfigdirs
="$noconfigdirs ${libgcj}"
3201 noconfigdirs
="$noconfigdirs ${libgcj}"
3204 noconfigdirs
="$noconfigdirs ${libgcj}"
3207 noconfigdirs
="$noconfigdirs ${libgcj}"
3210 noconfigdirs
="$noconfigdirs ${libgcj}"
3213 noconfigdirs
="$noconfigdirs ${libgcj}"
3216 noconfigdirs
="$noconfigdirs target-boehm-gc"
3218 cris-
*-* | crisv32-
*-*)
3219 unsupported_languages
="$unsupported_languages java"
3223 *) # See PR46792 regarding target-libffi.
3224 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3228 # In this case, it's because the hppa64-linux target is for
3229 # the kernel only at this point and has no libc, and thus no
3230 # headers, crt*.o, etc., all of which are needed by these.
3231 unsupported_languages
="$unsupported_languages java"
3234 noconfigdirs
="$noconfigdirs ${libgcj}"
3239 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3240 # build on HP-UX 10.20.
3241 noconfigdirs
="$noconfigdirs ${libgcj}"
3244 noconfigdirs
="$noconfigdirs ${libgcj}"
3246 i
[3456789]86-w64-mingw*)
3247 noconfigdirs
="$noconfigdirs ${libgcj}"
3249 i
[3456789]86-*-mingw*)
3250 noconfigdirs
="$noconfigdirs ${libgcj}"
3253 noconfigdirs
="$noconfigdirs ${libgcj}"
3256 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3259 # copied from rs6000-*-* entry
3260 noconfigdirs
="$noconfigdirs ${libgcj}"
3263 noconfigdirs
="$noconfigdirs ${libgcj}"
3266 # Linking libjava exceeds command-line length limits on at least
3267 # IRIX 6.2, but not on IRIX 6.5.
3268 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3269 # <oldham@codesourcery.com>
3270 noconfigdirs
="$noconfigdirs ${libgcj}"
3273 noconfigdirs
="$noconfigdirs ${libgcj}"
3277 # Default libgloss CPU subdirectory.
3278 libgloss_dir
="$target_cpu"
3281 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3287 cris-
*-* | crisv32-
*-*)
3296 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3297 libgloss_dir
=m68hc11
3299 m68
*-*-* | fido-
*-*)
3313 # Disable newlib and libgloss for various target OSes.
3316 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3318 i
[3456789]86-*-linux*)
3319 # This section makes it possible to build newlib natively on linux.
3320 # If we are using a cross compiler then don't configure newlib.
3321 if test x
${is_cross_compiler} != xno
; then
3322 noconfigdirs
="$noconfigdirs target-newlib"
3324 noconfigdirs
="$noconfigdirs target-libgloss"
3325 # If we are not using a cross compiler, do configure newlib.
3326 # Note however, that newlib will only be configured in this situation
3327 # if the --with-newlib option has been given, because otherwise
3328 # 'target-newlib' will appear in skipdirs.
3330 i
[3456789]86-*-rdos*)
3331 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3333 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3334 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3337 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3340 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3343 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3346 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3349 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3352 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3354 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3355 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3358 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3361 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3364 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3367 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3370 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3373 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3376 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3384 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3385 noconfigdirs
="$noconfigdirs sim target-rda"
3387 i
[3456789]86-*-darwin*)
3388 noconfigdirs
="$noconfigdirs ld gprof"
3389 noconfigdirs
="$noconfigdirs sim target-rda"
3391 x86_64-
*-darwin[912]*)
3392 noconfigdirs
="$noconfigdirs ld gas gprof"
3393 noconfigdirs
="$noconfigdirs sim target-rda"
3396 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3397 noconfigdirs
="$noconfigdirs sim target-rda"
3402 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3403 && test -f /usr
/local
/include
/gmp.h
; then
3408 # Remove unsupported stuff on all kaOS configurations.
3409 noconfigdirs
="$noconfigdirs target-libgloss"
3416 noconfigdirs
="$noconfigdirs target-libgloss"
3418 # The tpf target doesn't support gdb yet.
3420 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3423 noconfigdirs
="$noconfigdirs target-rda"
3428 # ld works, but does not support shared libraries.
3429 # gas doesn't generate exception information.
3430 noconfigdirs
="$noconfigdirs gas ld"
3433 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3436 # newlib is not 64 bit ready
3437 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3439 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3440 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3443 noconfigdirs
="$noconfigdirs target-libgloss"
3446 noconfigdirs
="$noconfigdirs target-libgloss"
3449 noconfigdirs
="$noconfigdirs ld target-libgloss"
3451 c4x-
*-* | tic4x-
*-*)
3452 noconfigdirs
="$noconfigdirs target-libgloss"
3455 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3458 noconfigdirs
="$noconfigdirs target-libgloss"
3461 noconfigdirs
="$noconfigdirs gdb"
3464 noconfigdirs
="$noconfigdirs gdb"
3467 noconfigdirs
="$noconfigdirs gprof"
3470 noconfigdirs
="$noconfigdirs target-libgloss"
3473 noconfigdirs
="$noconfigdirs target-libgloss"
3475 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3483 hppa
*-*-openbsd* | \
3487 noconfigdirs
="$noconfigdirs ld"
3492 noconfigdirs
="$noconfigdirs ld"
3495 noconfigdirs
="$noconfigdirs gdb"
3498 # No gdb support yet.
3499 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3502 # No ld support yet.
3503 noconfigdirs
="$noconfigdirs libgui itcl ld"
3506 # No ld support yet.
3507 noconfigdirs
="$noconfigdirs libgui itcl ld"
3509 i
[3456789]86-w64-mingw*)
3511 i
[3456789]86-*-mingw*)
3512 target_configdirs
="$target_configdirs target-winsup"
3515 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3516 noconfigdirs
="$noconfigdirs target-libgloss"
3517 # always build newlib if winsup directory is present.
3518 if test -d "$srcdir/winsup/cygwin"; then
3519 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3520 elif test -d "$srcdir/newlib"; then
3521 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3525 noconfigdirs
="$noconfigdirs target-libgloss"
3527 i
[3456789]86-*-sco3.2v5
*)
3528 # The linker does not yet know about weak symbols in COFF,
3529 # and is not configured to handle mixed ELF and COFF.
3530 noconfigdirs
="$noconfigdirs ld target-libgloss"
3532 i
[3456789]86-*-sco*)
3533 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3535 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3536 noconfigdirs
="$noconfigdirs target-libgloss"
3538 i
[3456789]86-*-sysv4*)
3539 noconfigdirs
="$noconfigdirs target-libgloss"
3541 i
[3456789]86-*-beos*)
3542 noconfigdirs
="$noconfigdirs gdb"
3544 i
[3456789]86-*-rdos*)
3545 noconfigdirs
="$noconfigdirs gdb"
3548 noconfigdirs
="$noconfigdirs gdb"
3551 noconfigdirs
="$noconfigdirs sim"
3554 # copied from rs6000-*-* entry
3555 noconfigdirs
="$noconfigdirs gprof"
3557 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3558 target_configdirs
="$target_configdirs target-winsup"
3559 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3560 # always build newlib.
3561 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3563 # This is temporary until we can link against shared libraries
3564 powerpcle-
*-solaris*)
3565 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3568 noconfigdirs
="$noconfigdirs gdb"
3571 noconfigdirs
="$noconfigdirs gprof"
3574 noconfigdirs
="$noconfigdirs gprof"
3577 noconfigdirs
="$noconfigdirs gprof"
3580 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3583 noconfigdirs
="$noconfigdirs gprof"
3586 if test x
$with_newlib = xyes
; then
3587 noconfigdirs
="$noconfigdirs gprof"
3591 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3594 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3597 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3602 noconfigdirs
="$noconfigdirs gprof"
3609 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3613 if test x
${is_cross_compiler} = xno
; then
3618 noconfigdirs
="$noconfigdirs sim"
3620 tilepro-
*-* | tilegx-
*-*)
3621 noconfigdirs
="$noconfigdirs sim"
3624 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3631 # If we aren't building newlib, then don't build libgloss, since libgloss
3632 # depends upon some newlib header files.
3633 case "${noconfigdirs}" in
3634 *target-libgloss
*) ;;
3635 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3638 # Work in distributions that contain no compiler tools, like Autoconf.
3639 host_makefile_frag
=/dev
/null
3640 if test -d ${srcdir}/config
; then
3642 i
[3456789]86-*-msdosdjgpp*)
3643 host_makefile_frag
="config/mh-djgpp"
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3648 $as_echo_n "checking to see if cat works as expected... " >&6; }
3649 echo a
>cygwin-cat-check
3650 if test `cat cygwin-cat-check` = a
; then
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3653 $as_echo "yes" >&6; }
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3657 $as_echo "no" >&6; }
3658 as_fn_error
"The cat command does not ignore carriage return characters.
3659 Please either mount the build directory in binary mode or run the following
3660 commands before running any configure script:
3666 host_makefile_frag
="config/mh-cygwin"
3669 host_makefile_frag
="config/mh-mingw"
3672 host_makefile_frag
="config/mh-pa-hpux10"
3675 host_makefile_frag
="config/mh-pa"
3678 host_makefile_frag
="config/mh-pa"
3681 host_makefile_frag
="config/mh-darwin"
3684 host_makefile_frag
="config/mh-ppc-aix"
3687 host_makefile_frag
="config/mh-ppc-aix"
3692 if test "${build}" != "${host}" ; then
3693 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3694 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3695 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3696 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3697 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3698 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3699 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3700 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3701 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3702 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3703 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3704 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3705 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3707 AR_FOR_BUILD
="\$(AR)"
3708 AS_FOR_BUILD
="\$(AS)"
3709 CC_FOR_BUILD
="\$(CC)"
3710 CXX_FOR_BUILD
="\$(CXX)"
3711 GCJ_FOR_BUILD
="\$(GCJ)"
3712 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3713 GOC_FOR_BUILD
="\$(GOC)"
3714 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3715 LD_FOR_BUILD
="\$(LD)"
3716 NM_FOR_BUILD
="\$(NM)"
3717 RANLIB_FOR_BUILD
="\$(RANLIB)"
3718 WINDRES_FOR_BUILD
="\$(WINDRES)"
3719 WINDMC_FOR_BUILD
="\$(WINDMC)"
3723 ac_cpp
='$CPP $CPPFLAGS'
3724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3729 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC
="$CC" # Let the user override the test.
3738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3742 test -z "$as_dir" && as_dir
=.
3743 for ac_exec_ext
in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3766 if test -z "$ac_cv_prog_CC"; then
3768 # Extract the first word of "gcc", so it can be a program name with args.
3769 set dummy gcc
; ac_word
=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3775 if test -n "$ac_ct_CC"; then
3776 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 ac_cv_prog_ac_ct_CC
="gcc"
3786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3796 if test -n "$ac_ct_CC"; then
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3798 $as_echo "$ac_ct_CC" >&6; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3801 $as_echo "no" >&6; }
3804 if test "x$ac_ct_CC" = x
; then
3807 case $cross_compiling:$ac_tool_warned in
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3810 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3811 ac_tool_warned
=yes ;;
3819 if test -z "$CC"; then
3820 if test -n "$ac_tool_prefix"; then
3821 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3822 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3824 $as_echo_n "checking for $ac_word... " >&6; }
3825 if test "${ac_cv_prog_CC+set}" = set; then :
3826 $as_echo_n "(cached) " >&6
3828 if test -n "$CC"; then
3829 ac_cv_prog_CC
="$CC" # Let the user override the test.
3831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3835 test -z "$as_dir" && as_dir
=.
3836 for ac_exec_ext
in '' $ac_executable_extensions; do
3837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3838 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3849 if test -n "$CC"; then
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3851 $as_echo "$CC" >&6; }
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854 $as_echo "no" >&6; }
3860 if test -z "$CC"; then
3861 # Extract the first word of "cc", so it can be a program name with args.
3862 set dummy cc
; ac_word
=$2
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3864 $as_echo_n "checking for $ac_word... " >&6; }
3865 if test "${ac_cv_prog_CC+set}" = set; then :
3866 $as_echo_n "(cached) " >&6
3868 if test -n "$CC"; then
3869 ac_cv_prog_CC
="$CC" # Let the user override the test.
3872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3876 test -z "$as_dir" && as_dir
=.
3877 for ac_exec_ext
in '' $ac_executable_extensions; do
3878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3879 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3880 ac_prog_rejected
=yes
3884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 if test $ac_prog_rejected = yes; then
3892 # We found a bogon in the path, so make sure we never use it.
3893 set dummy
$ac_cv_prog_CC
3895 if test $# != 0; then
3896 # We chose a different compiler from the bogus one.
3897 # However, it has the same basename, so the bogon will be chosen
3898 # first if we set CC to just the basename; use the full file name.
3900 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3906 if test -n "$CC"; then
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3908 $as_echo "$CC" >&6; }
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911 $as_echo "no" >&6; }
3916 if test -z "$CC"; then
3917 if test -n "$ac_tool_prefix"; then
3918 for ac_prog
in cl.exe
3920 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3921 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if test "${ac_cv_prog_CC+set}" = set; then :
3925 $as_echo_n "(cached) " >&6
3927 if test -n "$CC"; then
3928 ac_cv_prog_CC
="$CC" # Let the user override the test.
3930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3934 test -z "$as_dir" && as_dir
=.
3935 for ac_exec_ext
in '' $ac_executable_extensions; do
3936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3937 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 if test -n "$CC"; then
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3950 $as_echo "$CC" >&6; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3953 $as_echo "no" >&6; }
3957 test -n "$CC" && break
3960 if test -z "$CC"; then
3962 for ac_prog
in cl.exe
3964 # Extract the first word of "$ac_prog", so it can be a program name with args.
3965 set dummy
$ac_prog; ac_word
=$2
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3967 $as_echo_n "checking for $ac_word... " >&6; }
3968 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3969 $as_echo_n "(cached) " >&6
3971 if test -n "$ac_ct_CC"; then
3972 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir
=.
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981 ac_cv_prog_ac_ct_CC
="$ac_prog"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3992 if test -n "$ac_ct_CC"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3994 $as_echo "$ac_ct_CC" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4001 test -n "$ac_ct_CC" && break
4004 if test "x$ac_ct_CC" = x
; then
4007 case $cross_compiling:$ac_tool_warned in
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4010 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4011 ac_tool_warned
=yes ;;
4020 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4021 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4022 as_fn_error
"no acceptable C compiler found in \$PATH
4023 See \`config.log' for more details." "$LINENO" 5; }
4025 # Provide some information about the compiler.
4026 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4029 for ac_option
in --version -v -V -qversion; do
4030 { { ac_try
="$ac_compiler $ac_option >&5"
4032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4036 $as_echo "$ac_try_echo"; } >&5
4037 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4039 if test -s conftest.err; then
4041 ... rest of stderr output deleted ...
4042 10q' conftest.err >conftest.er1
4043 cat conftest.er1 >&5
4044 rm -f conftest.er1 conftest.err
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }
4050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 ac_clean_files_save=$ac_clean_files
4062 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4063 # Try to create an executable without -o first, disregard a.out.
4064 # It will help us diagnose broken compilers, and finding out an intuition
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4067 $as_echo_n "checking for C compiler default output file name... " >&6; }
4068 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4070 # The possible output files:
4071 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4074 for ac_file in $ac_files
4077 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4078 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4083 if { { ac_try="$ac_link_default"
4085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4086 *) ac_try_echo
=$ac_try;;
4088 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_link_default") 2>&5
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; then :
4094 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4095 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4096 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4097 # so that the user can short-circuit this test for compilers unknown to
4099 for ac_file
in $ac_files ''
4101 test -f "$ac_file" ||
continue
4103 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4106 # We found the default executable, but exeext='' is most
4110 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4112 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4114 # We set ac_cv_exeext here because the later test for it is not
4115 # safe: cross compilers may not add the suffix if given an `-o'
4116 # argument, so we may need to know it at that point already.
4117 # Even if this section looks crufty: it has the advantage of
4124 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4130 $as_echo "$ac_file" >&6; }
4131 if test -z "$ac_file"; then :
4132 $as_echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.
$ac_ext >&5
4135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4137 { as_fn_set_status
77
4138 as_fn_error
"C compiler cannot create executables
4139 See \`config.log' for more details." "$LINENO" 5; }; }
4141 ac_exeext
=$ac_cv_exeext
4143 # Check that the compiler produces executables we can run. If not, either
4144 # the compiler is broken, or we cross compile.
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4146 $as_echo_n "checking whether the C compiler works... " >&6; }
4147 # If not cross compiling, check that we can run a simple program.
4148 if test "$cross_compiling" != yes; then
4149 if { ac_try
='./$ac_file'
4150 { { case "(($ac_try" in
4151 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4152 *) ac_try_echo=$ac_try;;
4154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4155 $as_echo "$ac_try_echo"; } >&5
4156 (eval "$ac_try") 2>&5
4158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4159 test $ac_status = 0; }; }; then
4162 if test "$cross_compiling" = maybe; then
4165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4167 as_fn_error "cannot run C compiled programs.
4168 If you meant to cross compile
, use \
`--host'.
4169 See \`config.log
' for more details." "$LINENO" 5; }
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4174 $as_echo "yes" >&6; }
4176 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4177 ac_clean_files=$ac_clean_files_save
4178 # Check that the compiler produces executables we can run. If not, either
4179 # the compiler is broken, or we cross compile.
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4181 $as_echo_n "checking whether we are cross compiling... " >&6; }
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4183 $as_echo "$cross_compiling" >&6; }
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4186 $as_echo_n "checking for suffix of executables... " >&6; }
4187 if { { ac_try="$ac_link"
4189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190 *) ac_try_echo=$ac_try;;
4192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193 $as_echo "$ac_try_echo"; } >&5
4194 (eval "$ac_link") 2>&5
4196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4197 test $ac_status = 0; }; then :
4198 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4199 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4200 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4202 for ac_file
in conftest.exe conftest conftest.
*; do
4203 test -f "$ac_file" ||
continue
4205 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4206 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4214 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4215 See \`config.log' for more details." "$LINENO" 5; }
4217 rm -f conftest
$ac_cv_exeext
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4219 $as_echo "$ac_cv_exeext" >&6; }
4221 rm -f conftest.
$ac_ext
4222 EXEEXT
=$ac_cv_exeext
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4225 $as_echo_n "checking for suffix of object files... " >&6; }
4226 if test "${ac_cv_objext+set}" = set; then :
4227 $as_echo_n "(cached) " >&6
4229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 rm -f conftest.o conftest.obj
4241 if { { ac_try
="$ac_compile"
4243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4244 *) ac_try_echo=$ac_try;;
4246 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4247 $as_echo "$ac_try_echo"; } >&5
4248 (eval "$ac_compile") 2>&5
4250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4251 test $ac_status = 0; }; then :
4252 for ac_file in conftest.o conftest.obj conftest.*; do
4253 test -f "$ac_file" || continue;
4255 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4256 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4261 $as_echo "$as_me: failed program was:" >&5
4262 sed 's/^/| /' conftest.$ac_ext >&5
4264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4265 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4266 as_fn_error "cannot compute suffix of object files
: cannot compile
4267 See \
`config.log' for more details." "$LINENO" 5; }
4269 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4272 $as_echo "$ac_cv_objext" >&6; }
4273 OBJEXT=$ac_cv_objext
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4276 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4277 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4278 $as_echo_n "(cached) " >&6
4280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4281 /* end confdefs.h. */
4294 if ac_fn_c_try_compile "$LINENO"; then :
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4304 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4305 if test $ac_compiler_gnu = yes; then
4310 ac_test_CFLAGS=${CFLAGS+set}
4311 ac_save_CFLAGS=$CFLAGS
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4313 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4314 if test "${ac_cv_prog_cc_g+set}" = set; then :
4315 $as_echo_n "(cached) " >&6
4317 ac_save_c_werror_flag=$ac_c_werror_flag
4318 ac_c_werror_flag=yes
4321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4322 /* end confdefs.h. */
4332 if ac_fn_c_try_compile "$LINENO"; then :
4336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4337 /* end confdefs.h. */
4347 if ac_fn_c_try_compile "$LINENO"; then :
4350 ac_c_werror_flag=$ac_save_c_werror_flag
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4363 if ac_fn_c_try_compile "$LINENO"; then :
4366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4371 ac_c_werror_flag=$ac_save_c_werror_flag
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4374 $as_echo "$ac_cv_prog_cc_g" >&6; }
4375 if test "$ac_test_CFLAGS" = set; then
4376 CFLAGS=$ac_save_CFLAGS
4377 elif test $ac_cv_prog_cc_g = yes; then
4378 if test "$GCC" = yes; then
4384 if test "$GCC" = yes; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4391 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4392 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4395 ac_cv_prog_cc_c89=no
4397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398 /* end confdefs.h. */
4401 #include <sys/types.h>
4402 #include <sys/stat.h>
4403 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4404 struct buf { int x; };
4405 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4406 static char *e (p, i)
4412 static char *f (char * (*g) (char **, int), char **p, ...)
4417 s = g (p, va_arg (v,int));
4422 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4423 function prototypes and stuff, but not '\xHH' hex character constants.
4424 These don't provoke an error unfortunately, instead are silently treated
4425 as 'x'. The following induces an error, until -std is added to get
4426 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4427 array size at least. It's necessary to write '\x00'==0 to get something
4428 that's true only with -std. */
4429 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4431 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4432 inside strings and character constants. */
4434 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4436 int test (int i, double x);
4437 struct s1 {int (*f) (int a);};
4438 struct s2 {int (*f) (double a);};
4439 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4445 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4450 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4451 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4453 CC="$ac_save_CC $ac_arg"
4454 if ac_fn_c_try_compile "$LINENO"; then :
4455 ac_cv_prog_cc_c89=$ac_arg
4457 rm -f core conftest.err conftest.$ac_objext
4458 test "x$ac_cv_prog_cc_c89" != "xno" && break
4460 rm -f conftest.$ac_ext
4465 case "x$ac_cv_prog_cc_c89" in
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4468 $as_echo "none needed" >&6; } ;;
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4471 $as_echo "unsupported" >&6; } ;;
4473 CC="$CC $ac_cv_prog_cc_c89"
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4475 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4477 if test "x$ac_cv_prog_cc_c89" != xno; then :
4482 ac_cpp='$CPP $CPPFLAGS'
4483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4488 ac_cpp='$CXXCPP $CPPFLAGS'
4489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4492 if test -z "$CXX"; then
4493 if test -n "$CCC"; then
4496 if test -n "$ac_tool_prefix"; then
4497 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4499 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4500 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4502 $as_echo_n "checking for $ac_word... " >&6; }
4503 if test "${ac_cv_prog_CXX+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4506 if test -n "$CXX"; then
4507 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4513 test -z "$as_dir" && as_dir=.
4514 for ac_exec_ext in '' $ac_executable_extensions; do
4515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4516 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4517 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 if test -n "$CXX"; then
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4529 $as_echo "$CXX" >&6; }
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532 $as_echo "no" >&6; }
4536 test -n "$CXX" && break
4539 if test -z "$CXX"; then
4541 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4543 # Extract the first word of "$ac_prog", so it can be a program name with args.
4544 set dummy $ac_prog; ac_word=$2
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4546 $as_echo_n "checking for $ac_word... " >&6; }
4547 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4548 $as_echo_n "(cached) " >&6
4550 if test -n "$ac_ct_CXX"; then
4551 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4557 test -z "$as_dir" && as_dir=.
4558 for ac_exec_ext in '' $ac_executable_extensions; do
4559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4560 ac_cv_prog_ac_ct_CXX="$ac_prog"
4561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4571 if test -n "$ac_ct_CXX"; then
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4573 $as_echo "$ac_ct_CXX" >&6; }
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4576 $as_echo "no" >&6; }
4580 test -n "$ac_ct_CXX" && break
4583 if test "x$ac_ct_CXX" = x; then
4586 case $cross_compiling:$ac_tool_warned in
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4590 ac_tool_warned=yes ;;
4598 # Provide some information about the compiler.
4599 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4602 for ac_option in --version -v -V -qversion; do
4603 { { ac_try="$ac_compiler $ac_option >&5"
4605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4606 *) ac_try_echo
=$ac_try;;
4608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4609 $as_echo "$ac_try_echo"; } >&5
4610 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4612 if test -s conftest.err
; then
4614 ... rest of stderr output deleted ...
4615 10q' conftest.err
>conftest.er1
4616 cat conftest.er1
>&5
4617 rm -f conftest.er1 conftest.err
4619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4620 test $ac_status = 0; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4624 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4625 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4626 $as_echo_n "(cached) " >&6
4628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4629 /* end confdefs.h. */
4642 if ac_fn_cxx_try_compile
"$LINENO"; then :
4647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4648 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4652 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4653 if test $ac_compiler_gnu = yes; then
4658 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4659 ac_save_CXXFLAGS
=$CXXFLAGS
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4661 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4662 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4663 $as_echo_n "(cached) " >&6
4665 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4666 ac_cxx_werror_flag
=yes
4669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4670 /* end confdefs.h. */
4680 if ac_fn_cxx_try_compile
"$LINENO"; then :
4681 ac_cv_prog_cxx_g
=yes
4684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4685 /* end confdefs.h. */
4695 if ac_fn_cxx_try_compile
"$LINENO"; then :
4698 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4711 if ac_fn_cxx_try_compile
"$LINENO"; then :
4712 ac_cv_prog_cxx_g
=yes
4714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4722 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4723 if test "$ac_test_CXXFLAGS" = set; then
4724 CXXFLAGS
=$ac_save_CXXFLAGS
4725 elif test $ac_cv_prog_cxx_g = yes; then
4726 if test "$GXX" = yes; then
4732 if test "$GXX" = yes; then
4739 ac_cpp
='$CPP $CPPFLAGS'
4740 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4745 # We must set the default linker to the linker used by gcc for the correct
4746 # operation of libtool. If LD is not defined and we are using gcc, try to
4747 # set the LD default to the ld used by gcc.
4748 if test -z "$LD"; then
4749 if test "$GCC" = yes; then
4752 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4754 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4756 case $gcc_prog_ld in
4757 # Accept absolute paths.
4758 [\\/]* |
[A-Za-z
]:[\\/]*)
4759 LD
="$gcc_prog_ld" ;;
4767 if test -n "$ac_tool_prefix"; then
4768 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4769 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4771 $as_echo_n "checking for $ac_word... " >&6; }
4772 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4775 if test -n "$GNATBIND"; then
4776 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir
=.
4783 for ac_exec_ext
in '' $ac_executable_extensions; do
4784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4785 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4795 GNATBIND
=$ac_cv_prog_GNATBIND
4796 if test -n "$GNATBIND"; then
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4798 $as_echo "$GNATBIND" >&6; }
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4801 $as_echo "no" >&6; }
4806 if test -z "$ac_cv_prog_GNATBIND"; then
4807 ac_ct_GNATBIND
=$GNATBIND
4808 # Extract the first word of "gnatbind", so it can be a program name with args.
4809 set dummy gnatbind
; ac_word
=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$ac_ct_GNATBIND"; then
4816 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4836 if test -n "$ac_ct_GNATBIND"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4838 $as_echo "$ac_ct_GNATBIND" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4844 if test "x$ac_ct_GNATBIND" = x
; then
4847 case $cross_compiling:$ac_tool_warned in
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4851 ac_tool_warned
=yes ;;
4853 GNATBIND
=$ac_ct_GNATBIND
4856 GNATBIND
="$ac_cv_prog_GNATBIND"
4859 if test -n "$ac_tool_prefix"; then
4860 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4861 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 $as_echo_n "checking for $ac_word... " >&6; }
4864 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4865 $as_echo_n "(cached) " >&6
4867 if test -n "$GNATMAKE"; then
4868 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 GNATMAKE
=$ac_cv_prog_GNATMAKE
4888 if test -n "$GNATMAKE"; then
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4890 $as_echo "$GNATMAKE" >&6; }
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4893 $as_echo "no" >&6; }
4898 if test -z "$ac_cv_prog_GNATMAKE"; then
4899 ac_ct_GNATMAKE
=$GNATMAKE
4900 # Extract the first word of "gnatmake", so it can be a program name with args.
4901 set dummy gnatmake
; ac_word
=$2
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4903 $as_echo_n "checking for $ac_word... " >&6; }
4904 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4905 $as_echo_n "(cached) " >&6
4907 if test -n "$ac_ct_GNATMAKE"; then
4908 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4917 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4928 if test -n "$ac_ct_GNATMAKE"; then
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4930 $as_echo "$ac_ct_GNATMAKE" >&6; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4933 $as_echo "no" >&6; }
4936 if test "x$ac_ct_GNATMAKE" = x
; then
4939 case $cross_compiling:$ac_tool_warned in
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4943 ac_tool_warned
=yes ;;
4945 GNATMAKE
=$ac_ct_GNATMAKE
4948 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4952 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4953 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4954 $as_echo_n "(cached) " >&6
4956 cat >conftest.adb
<<EOF
4957 procedure conftest is begin null; end conftest;
4959 acx_cv_cc_gcc_supports_ada
=no
4960 # There is a bug in old released versions of GCC which causes the
4961 # driver to exit successfully when the appropriate language module
4962 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4963 # Therefore we must check for the error message as well as an
4964 # unsuccessful exit.
4965 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4966 # given a .adb file, but produce no object file. So we must check
4967 # if an object file was really produced to guard against this.
4968 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4969 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4970 acx_cv_cc_gcc_supports_ada
=yes
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4975 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4977 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4984 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4985 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4986 $as_echo_n "(cached) " >&6
4990 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4991 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4992 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
4995 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
4998 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
4999 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5002 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5009 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5010 do_compare
="$gcc_cv_prog_cmp_skip"
5014 # Check whether --enable-bootstrap was given.
5015 if test "${enable_bootstrap+set}" = set; then :
5016 enableval
=$enable_bootstrap;
5018 enable_bootstrap
=default
5022 # Issue errors and warnings for invalid/strange bootstrap combinations.
5023 if test -r $srcdir/gcc
/configure
; then
5029 case "$have_compiler:$host:$target:$enable_bootstrap" in
5032 # Default behavior. Enable bootstrap if we have a compiler
5033 # and we are in a native configuration.
5034 yes:$build:$build:default
)
5035 enable_bootstrap
=yes ;;
5038 enable_bootstrap
=no
;;
5040 # We have a compiler and we are in a native configuration, bootstrap is ok
5041 yes:$build:$build:yes)
5044 # Other configurations, but we have a compiler. Assume the user knows
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5048 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5051 # No compiler: if they passed --enable-bootstrap explicitly, fail
5053 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5055 # Fail if wrong command line
5057 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5061 # See if we are building gcc with C++.
5062 # Check whether --enable-build-with-cxx was given.
5063 if test "${enable_build_with_cxx+set}" = set; then :
5064 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5066 ENABLE_BUILD_WITH_CXX
=no
5070 # Build stage1 with C and build stages 2 and 3 with C++.
5071 # Check whether --enable-build-poststage1-with-cxx was given.
5072 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5073 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5075 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5079 # Used for setting $lt_cv_objdir
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5081 $as_echo_n "checking for objdir... " >&6; }
5082 if test "${lt_cv_objdir+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 rm -f .libs
2>/dev
/null
5086 mkdir .libs
2>/dev
/null
5087 if test -d .libs
; then
5090 # MS-DOS does not allow filenames that begin with a dot.
5093 rmdir .libs
2>/dev
/null
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5096 $as_echo "$lt_cv_objdir" >&6; }
5097 objdir
=$lt_cv_objdir
5103 cat >>confdefs.h
<<_ACEOF
5104 #define LT_OBJDIR "$lt_cv_objdir/"
5109 # Check for GMP, MPFR and MPC
5110 gmplibs
="-lmpc -lmpfr -lgmp"
5114 # Specify a location for mpc
5115 # check for this first so it ends up on the link line before mpfr.
5117 # Check whether --with-mpc was given.
5118 if test "${with_mpc+set}" = set; then :
5123 # Check whether --with-mpc-include was given.
5124 if test "${with_mpc_include+set}" = set; then :
5125 withval
=$with_mpc_include;
5129 # Check whether --with-mpc-lib was given.
5130 if test "${with_mpc_lib+set}" = set; then :
5131 withval
=$with_mpc_lib;
5135 if test "x$with_mpc" != x
; then
5136 gmplibs
="-L$with_mpc/lib $gmplibs"
5137 gmpinc
="-I$with_mpc/include $gmpinc"
5139 if test "x$with_mpc_include" != x
; then
5140 gmpinc
="-I$with_mpc_include $gmpinc"
5142 if test "x$with_mpc_lib" != x
; then
5143 gmplibs
="-L$with_mpc_lib $gmplibs"
5145 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5146 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5147 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5148 # Do not test the mpc version. Assume that it is sufficient, since
5149 # it is in the source tree, and the library has not been built yet
5150 # but it would be included on the link line in the version check below
5151 # hence making the test fail.
5155 # Specify a location for mpfr
5156 # check for this first so it ends up on the link line before gmp.
5158 # Check whether --with-mpfr-dir was given.
5159 if test "${with_mpfr_dir+set}" = set; then :
5160 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5161 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5166 # Check whether --with-mpfr was given.
5167 if test "${with_mpfr+set}" = set; then :
5172 # Check whether --with-mpfr-include was given.
5173 if test "${with_mpfr_include+set}" = set; then :
5174 withval
=$with_mpfr_include;
5178 # Check whether --with-mpfr-lib was given.
5179 if test "${with_mpfr_lib+set}" = set; then :
5180 withval
=$with_mpfr_lib;
5184 if test "x$with_mpfr" != x
; then
5185 gmplibs
="-L$with_mpfr/lib $gmplibs"
5186 gmpinc
="-I$with_mpfr/include $gmpinc"
5188 if test "x$with_mpfr_include" != x
; then
5189 gmpinc
="-I$with_mpfr_include $gmpinc"
5191 if test "x$with_mpfr_lib" != x
; then
5192 gmplibs
="-L$with_mpfr_lib $gmplibs"
5194 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5195 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5196 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5197 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5198 # Do not test the mpfr version. Assume that it is sufficient, since
5199 # it is in the source tree, and the library has not been built yet
5200 # but it would be included on the link line in the version check below
5201 # hence making the test fail.
5205 # Specify a location for gmp
5207 # Check whether --with-gmp-dir was given.
5208 if test "${with_gmp_dir+set}" = set; then :
5209 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5210 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5215 # Check whether --with-gmp was given.
5216 if test "${with_gmp+set}" = set; then :
5221 # Check whether --with-gmp-include was given.
5222 if test "${with_gmp_include+set}" = set; then :
5223 withval
=$with_gmp_include;
5227 # Check whether --with-gmp-lib was given.
5228 if test "${with_gmp_lib+set}" = set; then :
5229 withval
=$with_gmp_lib;
5234 if test "x$with_gmp" != x
; then
5235 gmplibs
="-L$with_gmp/lib $gmplibs"
5236 gmpinc
="-I$with_gmp/include $gmpinc"
5238 if test "x$with_gmp_include" != x
; then
5239 gmpinc
="-I$with_gmp_include $gmpinc"
5241 if test "x$with_gmp_lib" != x
; then
5242 gmplibs
="-L$with_gmp_lib $gmplibs"
5244 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5245 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5246 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5247 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5248 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5249 # Do not test the gmp version. Assume that it is sufficient, since
5250 # it is in the source tree, and the library has not been built yet
5251 # but it would be included on the link line in the version check below
5252 # hence making the test fail.
5256 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5258 saved_CFLAGS
="$CFLAGS"
5259 CFLAGS
="$CFLAGS $gmpinc"
5260 # Check for the recommended and required versions of GMP.
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5262 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5271 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5272 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5273 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5281 if ac_fn_c_try_compile
"$LINENO"; then :
5282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5283 /* end confdefs.h. */
5289 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5290 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5291 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5299 if ac_fn_c_try_compile
"$LINENO"; then :
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5301 $as_echo "yes" >&6; }
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5304 $as_echo "buggy but acceptable" >&6; }
5306 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5309 $as_echo "no" >&6; }; have_gmp
=no
5311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5313 # If we have GMP, check the MPFR version.
5314 if test x
"$have_gmp" = xyes
; then
5315 # Check for the recommended and required versions of MPFR.
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5317 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5326 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5334 if ac_fn_c_try_compile
"$LINENO"; then :
5335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5336 /* end confdefs.h. */
5343 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5351 if ac_fn_c_try_compile
"$LINENO"; then :
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5353 $as_echo "yes" >&6; }
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5356 $as_echo "buggy but acceptable" >&6; }
5358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5361 $as_echo "no" >&6; }; have_gmp
=no
5363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5366 # Check for the MPC header version.
5367 if test x
"$have_gmp" = xyes
; then
5368 # Check for the recommended and required versions of MPC.
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5370 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5378 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5386 if ac_fn_c_try_compile
"$LINENO"; then :
5387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h. */
5394 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5402 if ac_fn_c_try_compile
"$LINENO"; then :
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5404 $as_echo "yes" >&6; }
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5407 $as_echo "buggy but acceptable" >&6; }
5409 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5412 $as_echo "no" >&6; }; have_gmp
=no
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5417 # Now check the MPFR library.
5418 if test x
"$have_gmp" = xyes
; then
5420 LIBS
="$LIBS $gmplibs"
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5422 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5436 mpfr_atan2 (n, n, x, GMP_RNDN);
5437 mpfr_erfc (n, x, GMP_RNDN);
5438 mpfr_subnormalize (x, t, GMP_RNDN);
5442 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5443 mpc_cosh (c, c, MPC_RNDNN);
5444 mpc_pow (c, c, c, MPC_RNDNN);
5445 mpc_acosh (c, c, MPC_RNDNN);
5452 if ac_fn_c_try_link
"$LINENO"; then :
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5454 $as_echo "yes" >&6; }
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5457 $as_echo "no" >&6; }; have_gmp
=no
5459 rm -f core conftest.err conftest.
$ac_objext \
5460 conftest
$ac_exeext conftest.
$ac_ext
5464 CFLAGS
="$saved_CFLAGS"
5466 # The library versions listed in the error message below should match
5467 # the HARD-minimums enforced above.
5468 if test x
$have_gmp != xyes
; then
5469 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5470 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5471 their locations. Source code for these libraries can be found at
5472 their respective hosting sites as well as at
5473 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5474 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5475 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5476 make sure that you have installed both the libraries and the header
5477 files. They may be located in separate packages." "$LINENO" 5
5481 # Flags needed for both GMP, MPFR and/or MPC.
5488 # Allow host libstdc++ to be specified for static linking with PPL.
5490 # Check whether --with-host-libstdcxx was given.
5491 if test "${with_host_libstdcxx+set}" = set; then :
5492 withval
=$with_host_libstdcxx;
5496 case $with_host_libstdcxx in
5498 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5502 # Linker flags to use for stage1 or when not boostrapping.
5504 # Check whether --with-stage1-ldflags was given.
5505 if test "${with_stage1_ldflags+set}" = set; then :
5506 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5509 stage1_ldflags
=$withval
5517 # Libraries to use for stage1 or when not bootstrapping.
5519 # Check whether --with-stage1-libs was given.
5520 if test "${with_stage1_libs+set}" = set; then :
5521 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5524 stage1_libs
=$withval
5527 stage1_libs
=$with_host_libstdcxx
5532 # Libraries to use for stage2 and later builds. This defaults to the
5533 # argument passed to --with-host-libstdcxx.
5535 # Check whether --with-boot-libs was given.
5536 if test "${with_boot_libs+set}" = set; then :
5537 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5540 poststage1_libs
=$withval
5543 poststage1_libs
=$with_host_libstdcxx
5548 # Linker flags to use for stage2 and later builds.
5550 # Check whether --with-boot-ldflags was given.
5551 if test "${with_boot_ldflags+set}" = set; then :
5552 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5555 poststage1_ldflags
=$withval
5559 # In stages 2 and 3, default to linking libstdc++ and libgcc
5560 # statically. But if the user explicitly specified the libraries to
5561 # use, trust that they are doing what they want.
5562 if test "$poststage1_libs" = ""; then
5563 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5575 # Check whether --with-ppl was given.
5576 if test "${with_ppl+set}" = set; then :
5581 # Check whether --with-ppl-include was given.
5582 if test "${with_ppl_include+set}" = set; then :
5583 withval
=$with_ppl_include;
5587 # Check whether --with-ppl-lib was given.
5588 if test "${with_ppl_lib+set}" = set; then :
5589 withval
=$with_ppl_lib;
5593 # Check whether --enable-ppl-version-check was given.
5594 if test "${enable_ppl_version_check+set}" = set; then :
5595 enableval
=$enable_ppl_version_check;
5603 ppllibs
="-L$with_ppl/lib"
5604 pplinc
="-I$with_ppl/include $pplinc"
5605 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5608 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5613 if test x
"$with_ppl_include" != x
; then
5614 pplinc
="-I$with_ppl_include $pplinc"
5618 if test "x$with_ppl_lib" != x
; then
5619 ppllibs
="-L$with_ppl_lib"
5623 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5624 if test x
"$enable_watchdog" = xyes
; then
5627 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5628 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5629 enable_ppl_version_check
=no
5633 if test "x$with_ppl" != xno
; then
5634 if test "x$pwllib" = x
; then
5636 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5638 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5639 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5640 $as_echo_n "(cached) " >&6
5642 ac_check_lib_save_LIBS
=$LIBS
5644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5645 /* end confdefs.h. */
5647 /* Override any GCC internal prototype to avoid an error.
5648 Use char because int might match the return type of a GCC
5649 builtin and then its argument prototype would still apply. */
5653 char PWL_handle_timeout ();
5657 return PWL_handle_timeout ();
5662 if ac_fn_c_try_link
"$LINENO"; then :
5663 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5665 ac_cv_lib_pwl_PWL_handle_timeout
=no
5667 rm -f core conftest.err conftest.
$ac_objext \
5668 conftest
$ac_exeext conftest.
$ac_ext
5669 LIBS
=$ac_check_lib_save_LIBS
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5672 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5673 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5680 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5682 if test "$enable_ppl_version_check" != no
; then
5683 saved_CFLAGS
="$CFLAGS"
5684 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5686 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5694 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5702 if ac_fn_c_try_compile
"$LINENO"; then :
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5704 $as_echo "yes" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5710 CFLAGS
="$saved_CFLAGS"
5714 # Flags needed for PPL
5723 # Check whether --with-cloog was given.
5724 if test "${with_cloog+set}" = set; then :
5725 withval
=$with_cloog;
5729 # Check whether --with-cloog-include was given.
5730 if test "${with_cloog_include+set}" = set; then :
5731 withval
=$with_cloog_include;
5735 # Check whether --with-cloog-lib was given.
5736 if test "${with_cloog_lib+set}" = set; then :
5737 withval
=$with_cloog_lib;
5741 # Check whether --enable-cloog-backend was given.
5742 if test "${enable_cloog_backend+set}" = set; then :
5743 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5745 elif test "x${enableval}" = "xppl"; then
5748 cloog_backend
=ppl-legacy
5751 cloog_backend
=ppl-legacy
5754 # Check whether --enable-cloog-version-check was given.
5755 if test "${enable_cloog_version_check+set}" = set; then :
5756 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5758 ENABLE_CLOOG_CHECK
=yes
5762 # Initialize clooglibs and clooginc.
5771 clooglibs
="-L$with_cloog/lib"
5772 clooginc
="-I$with_cloog/include"
5775 if test "x${with_cloog_include}" != x
; then
5776 clooginc
="-I$with_cloog_include"
5778 if test "x${with_cloog_lib}" != x
; then
5779 clooglibs
="-L$with_cloog_lib"
5786 if test "x$with_ppl" = "xno"; then
5790 if test "x${with_cloog}" = xno
; then
5791 graphite_requested
=no
5792 elif test "x${with_cloog}" != x \
5793 ||
test "x${with_cloog_include}" != x \
5794 ||
test "x${with_cloog_lib}" != x
; then
5795 graphite_requested
=yes
5797 graphite_requested
=no
5801 if test "${graphite_requested}" = yes; then
5802 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5806 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5807 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5808 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5809 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5811 if test "x$with_cloog" != "xno"; then
5815 _cloog_saved_CFLAGS
=$CFLAGS
5816 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5817 _cloog_saved_LDFLAGS
=$LDFLAGS
5818 _cloog_saved_LIBS
=$LIBS
5820 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5822 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5823 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5824 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5826 case $cloog_backend in
5828 CFLAGS
="${CFLAGS} ${pplinc}"
5829 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5831 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5832 if test "${gcc_cv_cloog_type+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5835 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5838 #include "cloog/cloog.h"
5842 #ifndef CLOOG_PPL_BACKEND
5849 if ac_fn_c_try_link
"$LINENO"; then :
5850 gcc_cv_cloog_type
="PPL Legacy"
5852 gcc_cv_cloog_type
=no
5854 rm -f core conftest.err conftest.
$ac_objext \
5855 conftest
$ac_exeext conftest.
$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5858 $as_echo "$gcc_cv_cloog_type" >&6; }
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5862 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5863 if test "${gcc_cv_cloog_type+set}" = set; then :
5864 $as_echo_n "(cached) " >&6
5866 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include "cloog/cloog.h"
5878 if ac_fn_c_try_link
"$LINENO"; then :
5879 gcc_cv_cloog_type
="ISL"
5881 gcc_cv_cloog_type
=no
5883 rm -f core conftest.err conftest.
$ac_objext \
5884 conftest
$ac_exeext conftest.
$ac_ext
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5887 $as_echo "$gcc_cv_cloog_type" >&6; }
5890 CFLAGS
="${CFLAGS} ${pplinc}"
5891 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5893 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5894 if test "${gcc_cv_cloog_type+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5897 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5899 /* end confdefs.h. */
5900 #include "cloog/cloog.h"
5901 #include "cloog/ppl/cloog.h"
5910 if ac_fn_c_try_link
"$LINENO"; then :
5911 gcc_cv_cloog_type
="PPL"
5913 gcc_cv_cloog_type
=no
5915 rm -f core conftest.err conftest.
$ac_objext \
5916 conftest
$ac_exeext conftest.
$ac_ext
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5919 $as_echo "$gcc_cv_cloog_type" >&6; }
5922 gcc_cv_cloog_type
=""
5925 case $gcc_cv_cloog_type in
5927 clooginc
="${clooginc}"
5928 clooglibs
="${clooglibs} -lcloog"
5932 clooginc
="${clooginc} ${_cloogorginc}"
5933 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5937 clooginc
="${clooginc} ${_cloogorginc}"
5938 clooglibs
="${clooglibs} -lcloog-ppl"
5948 LIBS
=$_cloog_saved_LIBS
5949 CFLAGS
=$_cloog_saved_CFLAGS
5950 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5951 LDFLAGS
=$_cloog_saved_LDFLAGS
5957 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5958 _cloog_saved_CFLAGS
=$CFLAGS
5959 _cloog_saved_LDFLAGS
=$LDFLAGS
5961 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5962 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5964 if test "${cloog_org}" = yes ; then
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5966 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5967 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5968 $as_echo_n "(cached) " >&6
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5972 #include "cloog/cloog.h"
5976 #if CLOOG_VERSION_MAJOR != 0 \
5977 || CLOOG_VERSION_MINOR != 16 \
5978 || CLOOG_VERSION_REVISION < 1
5985 if ac_fn_c_try_compile
"$LINENO"; then :
5986 gcc_cv_cloog_ct_0_14_0
=yes
5988 gcc_cv_cloog_ct_0_14_0
=no
5990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5993 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5994 elif test "${cloog_org}" = no
; then
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
5996 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
5997 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
5998 $as_echo_n "(cached) " >&6
6000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6001 /* end confdefs.h. */
6002 #include "cloog/cloog.h"
6006 #if CLOOG_VERSION_MAJOR != 0 \
6007 || CLOOG_VERSION_MINOR != 15 \
6008 || CLOOG_VERSION_REVISION < 5
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6018 #include "cloog/cloog.h"
6022 #if CLOOG_VERSION_MAJOR != 0 \
6023 || CLOOG_VERSION_MINOR != 15 \
6024 || CLOOG_VERSION_REVISION < 9
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6032 gcc_cv_cloog_ct_0_15_5
=yes
6034 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6038 gcc_cv_cloog_ct_0_15_5
=no
6040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6043 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6046 CFLAGS
=$_cloog_saved_CFLAGS
6047 LDFLAGS
=$_cloog_saved_LDFLAGS
6056 if test "x${with_cloog}" = xno
; then
6057 graphite_requested
=no
6058 elif test "x${with_cloog}" != x \
6059 ||
test "x${with_cloog_include}" != x \
6060 ||
test "x${with_cloog_lib}" != x
; then
6061 graphite_requested
=yes
6063 graphite_requested
=no
6068 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6069 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6070 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6075 if test "${graphite_requested}" = yes \
6076 && test "x${clooglibs}" = x \
6077 && test "x${clooginc}" = x
; then
6079 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6085 # Check for LTO support.
6086 # Check whether --enable-lto was given.
6087 if test "${enable_lto+set}" = set; then :
6088 enableval
=$enable_lto; enable_lto
=$enableval
6090 enable_lto
=yes; default_enable_lto
=yes
6099 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6100 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6101 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6109 if test $target_elf = yes; then :
6110 # ELF platforms build the lto-plugin always.
6111 build_lto_plugin
=yes
6114 if test x
"$default_enable_lto" = x
"yes" ; then
6116 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6117 # On other non-ELF platforms, LTO has yet to be validated.
6121 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6122 # It would also be nice to check the binutils support, but we don't
6123 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6124 # warn during gcc/ subconfigure; unless you're bootstrapping with
6125 # -flto it won't be needed until after installation anyway.
6127 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6128 *) if test x
"$enable_lto" = x
"yes"; then
6129 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6134 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6135 # Build it unless LTO was explicitly disabled.
6137 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6145 # By default, C is the only stage 1 language.
6146 stage1_languages
=,c
,
6148 # Target libraries that we bootstrap.
6149 bootstrap_target_libs
=,target-libgcc
,
6151 # Figure out what language subdirectories are present.
6152 # Look if the user specified --enable-languages="..."; if not, use
6153 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6155 # NB: embedded tabs in this IF block -- do not untabify
6156 if test -d ${srcdir}/gcc
; then
6157 if test x
"${enable_languages+set}" != xset
; then
6158 if test x
"${LANGUAGES+set}" = xset
; then
6159 enable_languages
="${LANGUAGES}"
6160 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6162 enable_languages
=all
6165 if test x
"${enable_languages}" = x ||
6166 test x
"${enable_languages}" = xyes
;
6168 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6172 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6174 # 'f95' is the old name for the 'fortran' language. We issue a warning
6175 # and make the substitution.
6176 case ,${enable_languages}, in
6178 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6179 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6183 # If bootstrapping, then using --enable-build-with-cxx or
6184 # --enable-build-poststage1-with-cxx requires enabling C++.
6185 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6188 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6189 enable_languages
="${enable_languages},c++"
6191 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6196 # First scan to see if an enabled language requires some other language.
6197 # We assume that a given config-lang.in will list all the language
6198 # front ends it requires, even if some are required indirectly.
6199 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6200 case ${lang_frag} in
6202 # The odd quoting in the next line works around
6203 # an apparent bug in bash 1.12 on linux.
6204 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6206 # From the config-lang.in, get $language, $lang_requires, and
6207 # $lang_requires_boot_languages.
6210 lang_requires_boot_languages
=
6212 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6213 case ,${enable_languages}, in
6217 echo " \`$other' language required by \`$language'; enabling" 1>&2
6218 enable_languages
="${enable_languages},${other}"
6222 for other
in ${lang_requires_boot_languages} ; do
6223 if test "$other" != "c"; then
6224 case ,${enable_stage1_languages}, in
6228 case ,${enable_languages}, in
6230 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6231 enable_stage1_languages
="$enable_stage1_languages,${other}"
6242 new_enable_languages
=,c
,
6244 # If LTO is enabled, add the LTO front end.
6245 extra_host_libiberty_configure_flags
=
6246 if test "$enable_lto" = "yes" ; then
6247 case ,${enable_languages}, in
6249 *) enable_languages
="${enable_languages},lto" ;;
6251 if test "${build_lto_plugin}" = "yes" ; then
6252 configdirs
="$configdirs lto-plugin"
6253 extra_host_libiberty_configure_flags
=--enable-shared
6258 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6259 potential_languages
=,c
,
6261 enabled_target_libs
=
6262 disabled_target_libs
=
6264 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6265 case ${lang_frag} in
6267 # The odd quoting in the next line works around
6268 # an apparent bug in bash 1.12 on linux.
6269 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6271 # From the config-lang.in, get $language, $target_libs,
6272 # $lang_dirs, $boot_language, and $build_by_default
6278 build_by_default
=yes
6280 if test x
${language} = x
; then
6281 echo "${lang_frag} doesn't set \$language." 1>&2
6285 if test "$language" = "c++"; then
6286 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6287 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6292 case ,${enable_languages}, in
6294 # Language was explicitly selected; include it.
6298 # 'all' was selected, select it if it is a default language
6299 add_this_lang
=${build_by_default}
6306 # Disable languages that need other directories if these aren't available.
6307 for i
in $subdir_requires; do
6308 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6309 case ,${enable_languages}, in
6311 # Specifically requested language; tell them.
6312 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6316 add_this_lang
=unsupported
6321 # Disable Ada if no preexisting GNAT is available.
6322 case ,${enable_languages},:${language}:${have_gnat} in
6323 *,${language},*:ada
:no
)
6324 # Specifically requested language; tell them.
6325 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6329 add_this_lang
=unsupported
6333 # Disable a language that is unsupported by the target.
6334 case " $unsupported_languages " in
6336 add_this_lang
=unsupported
6340 case $add_this_lang in
6342 # Remove language-dependent dirs.
6343 disabled_target_libs
="$disabled_target_libs $target_libs"
6344 noconfigdirs
="$noconfigdirs $lang_dirs"
6347 # Remove language-dependent dirs; still show language as supported.
6348 disabled_target_libs
="$disabled_target_libs $target_libs"
6349 noconfigdirs
="$noconfigdirs $lang_dirs"
6350 potential_languages
="${potential_languages}${language},"
6353 new_enable_languages
="${new_enable_languages}${language},"
6354 potential_languages
="${potential_languages}${language},"
6355 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6356 enabled_target_libs
="$enabled_target_libs $target_libs"
6357 case "${boot_language}:,$enable_stage1_languages," in
6358 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6359 # Add to (comma-separated) list of stage 1 languages.
6360 case ",$stage1_languages," in
6361 *,$language,* |
,yes, |
,all
,) ;;
6362 *) stage1_languages
="${stage1_languages}${language}," ;;
6364 # We need to bootstrap any supporting libraries.
6365 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6374 # Add target libraries which are only needed for disabled languages
6376 if test -n "$disabled_target_libs"; then
6377 for dir
in $disabled_target_libs; do
6378 case " $enabled_target_libs " in
6380 *) noconfigdirs
="$noconfigdirs $dir" ;;
6385 # Check whether --enable-stage1-languages was given.
6386 if test "${enable_stage1_languages+set}" = set; then :
6387 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6389 # Set it to something that will have no effect in the loop below
6390 enable_stage1_languages
=c
;;
6392 enable_stage1_languages
=`echo $new_enable_languages | \
6393 sed -e "s/^,//" -e "s/,$//" ` ;;
6395 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6396 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6399 # Add "good" languages from enable_stage1_languages to stage1_languages,
6400 # while "bad" languages go in missing_languages. Leave no duplicates.
6401 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6402 case $potential_languages in
6404 case $stage1_languages in
6406 *) stage1_languages
="$stage1_languages$i," ;;
6409 case $missing_languages in
6411 *) missing_languages
="$missing_languages$i," ;;
6418 # Remove leading/trailing commas that were added for simplicity
6419 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6420 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6421 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6422 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6424 if test "x$missing_languages" != x
; then
6426 The following requested languages could not be built: ${missing_languages}
6427 Supported languages are: ${potential_languages}" "$LINENO" 5
6429 if test "x$new_enable_languages" != "x$enable_languages"; then
6430 echo The following languages will be built
: ${new_enable_languages}
6431 enable_languages
="$new_enable_languages"
6435 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6438 # Handle --disable-<component> generically.
6439 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6440 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6441 varname
=`echo $dirname | sed -e s/+/_/g`
6442 if eval test x\
${enable_${varname}} "=" xno
; then
6443 noconfigdirs
="$noconfigdirs $dir"
6447 # Check for Boehm's garbage collector
6448 # Check whether --enable-objc-gc was given.
6449 if test "${enable_objc_gc+set}" = set; then :
6450 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6451 *,objc
,*:*:yes:*target-boehm-gc
*)
6452 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6458 # Make sure we only build Boehm's garbage collector if required.
6459 case ,${enable_languages},:${enable_objc_gc} in
6461 # Keep target-boehm-gc if requested for Objective-C.
6464 # Otherwise remove target-boehm-gc depending on target-libjava.
6465 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6466 noconfigdirs
="$noconfigdirs target-boehm-gc"
6471 # Disable libitm if we're not building C++
6472 case ,${enable_languages}, in
6475 noconfigdirs
="$noconfigdirs target-libitm"
6479 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6480 # $build_configdirs and $target_configdirs.
6481 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6484 for dir
in .
$skipdirs $noconfigdirs ; do
6485 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6486 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6487 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6488 if test -r $srcdir/$dirname/configure
; then
6489 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6492 notsupp
="$notsupp $dir"
6496 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6497 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6498 if test -r $srcdir/$dirname/configure
; then
6499 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6502 notsupp
="$notsupp $dir"
6506 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6507 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6508 if test -r $srcdir/$dirname/configure
; then
6509 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6512 notsupp
="$notsupp $dir"
6518 # Quietly strip out all directories which aren't configurable in this tree.
6519 # This relies on all configurable subdirectories being autoconfiscated, which
6521 build_configdirs_all
="$build_configdirs"
6523 for i
in ${build_configdirs_all} ; do
6524 j
=`echo $i | sed -e s/build-//g`
6525 if test -f ${srcdir}/$j/configure
; then
6526 build_configdirs
="${build_configdirs} $i"
6530 configdirs_all
="$configdirs"
6532 for i
in ${configdirs_all} ; do
6533 if test -f ${srcdir}/$i/configure
; then
6534 configdirs
="${configdirs} $i"
6538 target_configdirs_all
="$target_configdirs"
6540 for i
in ${target_configdirs_all} ; do
6541 j
=`echo $i | sed -e s/target-//g`
6542 if test -f ${srcdir}/$j/configure
; then
6543 target_configdirs
="${target_configdirs} $i"
6547 # Produce a warning message for the subdirs we can't configure.
6548 # This isn't especially interesting in the Cygnus tree, but in the individual
6549 # FSF releases, it's important to let people know when their machine isn't
6550 # supported by the one or two programs in a package.
6552 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6553 # If $appdirs is non-empty, at least one of those directories must still
6554 # be configured, or we error out. (E.g., if the gas release supports a
6555 # specified target in some subdirs but not the gas subdir, we shouldn't
6556 # pretend that all is well.)
6557 if test -n "$appdirs" ; then
6558 for dir
in $appdirs ; do
6559 if test -r $dir/Makefile.
in ; then
6560 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6564 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6570 if test -n "$appdirs" ; then
6571 echo "*** This configuration is not supported by this package." 1>&2
6575 # Okay, some application will build, or we don't care to check. Still
6576 # notify of subdirs not getting built.
6577 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6578 echo " ${notsupp}" 1>&2
6579 echo " (Any other directories should still work fine.)" 1>&2
6587 # To find our prefix, in gcc_cv_tool_prefix.
6589 # The user is always right.
6590 if test "${PATH_SEPARATOR+set}" != set; then
6591 echo "#! /bin/sh" >conf$$.sh
6592 echo "exit 0" >>conf$$.sh
6594 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6604 if test "x$exec_prefix" = xNONE
; then
6605 if test "x$prefix" = xNONE
; then
6606 gcc_cv_tool_prefix
=$ac_default_prefix
6608 gcc_cv_tool_prefix
=$prefix
6611 gcc_cv_tool_prefix
=$exec_prefix
6614 # If there is no compiler in the tree, use the PATH only. In any
6615 # case, if there is no compiler in the tree nobody should use
6616 # AS_FOR_TARGET and LD_FOR_TARGET.
6617 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6618 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6619 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6620 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6621 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6622 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6623 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6624 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6629 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6630 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6638 # Check whether --with-build-sysroot was given.
6639 if test "${with_build_sysroot+set}" = set; then :
6640 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6641 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6644 SYSROOT_CFLAGS_FOR_TARGET
=
6650 # Check whether --with-debug-prefix-map was given.
6651 if test "${with_debug_prefix_map+set}" = set; then :
6652 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6653 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6654 for debug_map
in $withval; do
6655 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6659 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6664 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6665 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6666 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6667 # We want to ensure that TARGET libraries (which we know are built with
6668 # gcc) are built with "-O2 -g", so include those options when setting
6669 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6670 if test "x$CFLAGS_FOR_TARGET" = x
; then
6671 CFLAGS_FOR_TARGET
=$CFLAGS
6674 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6677 *" -g "* |
*" -g3 "*) ;;
6678 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6683 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6684 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6685 case " $CXXFLAGS " in
6687 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6689 case " $CXXFLAGS " in
6690 *" -g "* |
*" -g3 "*) ;;
6691 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6698 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6699 # the named directory are copied to $(tooldir)/sys-include.
6700 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6701 if test x
${is_cross_compiler} = xno
; then
6702 echo 1>&2 '***' --with-headers is only supported when cross compiling
6705 if test x
"${with_headers}" != xyes
; then
6706 x
=${gcc_cv_tool_prefix}
6707 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6711 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6712 # the name directories are copied to $(tooldir)/lib. Multiple directories
6714 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6715 if test x
${is_cross_compiler} = xno
; then
6716 echo 1>&2 '***' --with-libs is only supported when cross compiling
6719 if test x
"${with_libs}" != xyes
; then
6720 # Copy the libraries in reverse order, so that files in the first named
6721 # library override files in subsequent libraries.
6722 x
=${gcc_cv_tool_prefix}
6723 for l
in ${with_libs}; do
6724 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6729 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6731 # This is done by determining whether or not the appropriate directory
6732 # is available, and by checking whether or not specific configurations
6733 # have requested that this magic not happen.
6735 # The command line options always override the explicit settings in
6736 # configure.in, and the settings in configure.in override this magic.
6738 # If the default for a toolchain is to use GNU as and ld, and you don't
6739 # want to do that, then you should use the --without-gnu-as and
6740 # --without-gnu-ld options for the configure script. Similarly, if
6741 # the default is to use the included zlib and you don't want to do that,
6742 # you should use the --with-system-zlib option for the configure script.
6744 if test x
${use_gnu_as} = x
&&
6745 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6747 extra_host_args
="$extra_host_args --with-gnu-as"
6750 if test x
${use_gnu_ld} = x
&&
6751 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6753 extra_host_args
="$extra_host_args --with-gnu-ld"
6756 if test x
${use_included_zlib} = x
&&
6757 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6760 with_system_zlib
=yes
6761 extra_host_args
="$extra_host_args --with-system-zlib"
6764 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6765 # can detect this case.
6767 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6769 extra_host_args
="$extra_host_args --with-newlib"
6772 # Handle ${copy_dirs}
6773 set fnord
${copy_dirs}
6775 while test $# != 0 ; do
6776 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6779 echo Copying
$1 to
$2
6781 # Use the install script to create the directory and all required
6782 # parent directories.
6783 if test -d $2 ; then
6787 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6790 # Copy the directory, assuming we have tar.
6791 # FIXME: Should we use B in the second tar? Not all systems support it.
6792 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6794 # It is the responsibility of the user to correctly adjust all
6795 # symlinks. If somebody can figure out how to handle them correctly
6796 # here, feel free to add the code.
6803 # Determine a target-dependent exec_prefix that the installed
6804 # gcc will search in. Keep this list sorted by triplet, with
6805 # the *-*-osname triplets last.
6808 i
[34567]86-pc-msdosdjgpp*)
6809 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6814 md_exec_prefix
=/usr
/ccs
/bin
6818 extra_arflags_for_target
=
6819 extra_nmflags_for_target
=
6820 extra_ranlibflags_for_target
=
6821 target_makefile_frag
=/dev
/null
6824 target_makefile_frag
="config/mt-spu"
6827 target_makefile_frag
="config/mt-sde"
6829 mipsisa
*-*-elfoabi*)
6830 target_makefile_frag
="config/mt-mips-elfoabi"
6832 mips
*-*-*linux
* | mips
*-*-gnu*)
6833 target_makefile_frag
="config/mt-mips-gnu"
6835 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6836 target_makefile_frag
="config/mt-gnu"
6838 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6839 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6840 # commands to handle both 32-bit and 64-bit objects. These flags are
6841 # harmless if we're using GNU nm or ar.
6842 extra_arflags_for_target
=" -X32_64"
6843 extra_nmflags_for_target
=" -B -X32_64"
6847 alphaieee_frag
=/dev
/null
6850 # This just makes sure to use the -mieee option to build target libs.
6851 # This should probably be set individually by each library.
6852 alphaieee_frag
="config/mt-alphaieee"
6856 # If --enable-target-optspace always use -Os instead of -O2 to build
6857 # the target libraries, similarly if it is not specified, use -Os
6858 # on selected platforms.
6859 ospace_frag
=/dev
/null
6860 case "${enable_target_optspace}:${target}" in
6862 ospace_frag
="config/mt-ospace"
6865 ospace_frag
="config/mt-d30v"
6867 :m32r-
* |
:d10v-
* |
:fr30-
*)
6868 ospace_frag
="config/mt-ospace"
6873 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6877 # Default to using --with-stabs for certain targets.
6878 if test x
${with_stabs} = x
; then
6882 mips
*-*-* | alpha
*-*-osf*)
6884 extra_host_args
="${extra_host_args} --with-stabs"
6889 # Some systems (e.g., one of the i386-aix systems the gas testers are
6890 # using) don't handle "\$" correctly, so don't use it here.
6891 tooldir
='${exec_prefix}'/${target_noncanonical}
6892 build_tooldir
=${tooldir}
6894 # Create a .gdbinit file which runs the one in srcdir
6895 # and tells GDB to look there for source files.
6897 if test -r ${srcdir}/.gdbinit
; then
6900 *) cat > .
/.gdbinit
<<EOF
6904 source ${srcdir}/.gdbinit
6910 # Make sure that the compiler is able to generate an executable. If it
6911 # can't, we are probably in trouble. We don't care whether we can run the
6912 # executable--we might be using a cross compiler--we only care whether it
6913 # can be created. At this point the main configure script has set CC.
6915 echo "int main () { return 0; }" > conftest.c
6916 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6917 if test $?
= 0 ; then
6918 if test -s conftest ||
test -s conftest.exe
; then
6924 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6925 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6932 # Decide which environment variable is used to find dynamic libraries.
6934 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6935 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6936 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6937 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6940 # On systems where the dynamic library environment variable is PATH,
6941 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6942 # built executables to PATH.
6943 if test "$RPATH_ENVVAR" = PATH
; then
6944 GCC_SHLIB_SUBDIR
=/shlib
6949 # Record target_configdirs and the configure arguments for target and
6950 # build configuration in Makefile.
6951 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6952 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6954 # If we are building libgomp, bootstrap it.
6955 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6956 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6959 # Determine whether gdb needs tk/tcl or not.
6960 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6961 # and in that case we want gdb to be built without tk. Ugh!
6962 # In fact I believe gdb is the *only* package directly dependent on tk,
6963 # so we should be able to put the 'maybe's in unconditionally and
6964 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6965 # 100% sure that that's safe though.
6967 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6968 case "$enable_gdbtk" in
6972 GDB_TK
="${gdb_tk}" ;;
6974 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6975 # distro. Eventually someone will fix this and move Insight, nee
6976 # gdbtk to a separate directory.
6977 if test -d ${srcdir}/gdb
/gdbtk
; then
6984 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6985 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6987 # Strip out unwanted targets.
6989 # While at that, we remove Makefiles if we were started for recursive
6990 # configuration, so that the top-level Makefile reconfigures them,
6991 # like we used to do when configure itself was recursive.
6993 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6994 # but now we're fixing up the Makefile ourselves with the additional
6995 # commands passed to AC_CONFIG_FILES. Use separate variables
6996 # extrasub-{build,host,target} not because there is any reason to split
6997 # the substitutions up that way, but only to remain below the limit of
6998 # 99 commands in a script, for HP-UX sed.
6999 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7001 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7002 yes:yes:*\ gold\
*:*,c
++,*) ;;
7003 yes:yes:*\ gold\
*:*)
7004 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7008 # Adjust the toplevel makefile according to whether bootstrap was selected.
7009 case $enable_bootstrap in
7011 bootstrap_suffix
=bootstrap
7012 BUILD_CONFIG
=bootstrap-debug
7015 bootstrap_suffix
=no-bootstrap
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7021 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7024 # Check whether --with-build-config was given.
7025 if test "${with_build_config+set}" = set; then :
7026 withval
=$with_build_config; case $with_build_config in
7027 yes) with_build_config
= ;;
7028 no
) with_build_config
= BUILD_CONFIG
= ;;
7033 if test "x${with_build_config}" != x
; then
7034 BUILD_CONFIG
=$with_build_config
7036 case $BUILD_CONFIG in
7038 if echo "int f (void) { return 0; }" > conftest.c
&&
7039 ${CC} -c conftest.c
&&
7040 mv conftest.o conftest.o.g0
&&
7041 ${CC} -c -g conftest.c
&&
7042 mv conftest.o conftest.o.g
&&
7043 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7048 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7053 $as_echo "$BUILD_CONFIG" >&6; }
7057 for module
in ${build_configdirs} ; do
7058 if test -z "${no_recursion}" \
7059 && test -f ${build_subdir}/${module}/Makefile
; then
7060 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7061 rm -f ${build_subdir}/${module}/Makefile
7063 extrasub_build
="$extrasub_build
7064 /^@if build-$module\$/d
7065 /^@endif build-$module\$/d
7066 /^@if build-$module-$bootstrap_suffix\$/d
7067 /^@endif build-$module-$bootstrap_suffix\$/d"
7070 for module
in ${configdirs} ; do
7071 if test -z "${no_recursion}"; then
7072 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7073 if test -f ${file}; then
7074 echo 1>&2 "*** removing ${file} to force reconfigure"
7079 extrasub_host
="$extrasub_host
7081 /^@endif $module\$/d
7082 /^@if $module-$bootstrap_suffix\$/d
7083 /^@endif $module-$bootstrap_suffix\$/d"
7086 for module
in ${target_configdirs} ; do
7087 if test -z "${no_recursion}" \
7088 && test -f ${target_subdir}/${module}/Makefile
; then
7089 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7090 rm -f ${target_subdir}/${module}/Makefile
7093 # We only bootstrap target libraries listed in bootstrap_target_libs.
7094 case $bootstrap_target_libs in
7095 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7096 *) target_bootstrap_suffix
=no-bootstrap
;;
7099 extrasub_target
="$extrasub_target
7100 /^@if target-$module\$/d
7101 /^@endif target-$module\$/d
7102 /^@if target-$module-$target_bootstrap_suffix\$/d
7103 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7106 # Do the final fixup along with target modules.
7107 extrasub_target
="$extrasub_target
7108 /^@if /,/^@endif /d"
7110 # Create the serialization dependencies. This uses a temporary file.
7112 # Check whether --enable-serial-configure was given.
7113 if test "${enable_serial_configure+set}" = set; then :
7114 enableval
=$enable_serial_configure;
7118 case ${enable_serial_configure} in
7120 enable_serial_build_configure
=yes
7121 enable_serial_host_configure
=yes
7122 enable_serial_target_configure
=yes
7126 # These force 'configure's to be done one at a time, to avoid problems
7127 # with contention over a shared config.cache.
7129 echo '# serdep.tmp' > serdep.tmp
7131 test "x${enable_serial_build_configure}" = xyes
&&
7132 for item
in ${build_configdirs} ; do
7135 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7140 test "x${enable_serial_host_configure}" = xyes
&&
7141 for item
in ${configdirs} ; do
7144 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7149 test "x${enable_serial_target_configure}" = xyes
&&
7150 for item
in ${target_configdirs} ; do
7153 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7157 serialization_dependencies
=serdep.tmp
7160 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7161 # target, nonopt, and variable assignments. These are the ones we
7162 # might not want to pass down to subconfigures. The exception being
7163 # --cache-file=/dev/null, which is used to turn off the use of cache
7164 # files altogether, and which should be passed on to subconfigures.
7165 # Also strip program-prefix, program-suffix, and program-transform-name,
7166 # so that we can pass down a consistent program-transform-name.
7171 eval "set -- $ac_configure_args"
7174 if test X
"$skip_next" = X
"yes"; then
7178 if test X
"$keep_next" = X
"yes"; then
7181 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7183 baseargs
="$baseargs '$ac_arg'"
7184 tbaseargs
="$tbaseargs '$ac_arg'"
7189 # Handle separated arguments. Based on the logic generated by
7192 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7193 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7194 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7195 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7209 --with-* |
--without-*)
7210 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7214 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7217 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7226 mpc | mpfr | gmp | ppl | cloog
)
7227 # If we're processing --with-$lib, --with-$lib-include or
7228 # --with-$lib-lib, for one of the libs above, and target is
7229 # different from host, don't pass the current argument to any
7230 # target library's configure.
7231 if test x
$is_cross_compiler = xyes
; then
7240 --cache-file=/dev
/null | \
7241 -cache-file=/dev
/null
)
7242 # Handled here to avoid the test to skip args below.
7243 baseargs
="$baseargs '$ac_arg'"
7244 tbaseargs
="$tbaseargs '$ac_arg'"
7245 # Assert: $separate_arg should always be no.
7246 keep_next
=$separate_arg
7262 -program-prefix* | \
7263 -program-suffix* | \
7264 -program-transform-name* )
7265 skip_next
=$separate_arg
7269 # An option. Add it.
7272 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7274 baseargs
="$baseargs '$ac_arg'"
7275 if test X
"$skip_targ" = Xno
; then
7276 tbaseargs
="$tbaseargs '$ac_arg'"
7278 keep_next
=$separate_arg
7281 # Either a variable assignment, or a nonopt (triplet). Don't
7282 # pass it down; let the Makefile handle this.
7287 # Remove the initial space we just introduced and, as these will be
7288 # expanded by make, quote '$'.
7289 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7291 # Add in --program-transform-name, after --program-prefix and
7292 # --program-suffix have been applied to it. Autoconf has already
7293 # doubled dollar signs and backslashes in program_transform_name; we want
7294 # the backslashes un-doubled, and then the entire thing wrapped in single
7295 # quotes, because this will be expanded first by make and then by the shell.
7296 # Also, because we want to override the logic in subdir configure scripts to
7297 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7298 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7299 ${program_transform_name}
7301 gcc_transform_name
=`cat conftestsed.out`
7302 rm -f conftestsed.out
7303 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7304 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7305 if test "$silent" = yes; then
7306 baseargs
="$baseargs --silent"
7307 tbaseargs
="$tbaseargs --silent"
7309 baseargs
="$baseargs --disable-option-checking"
7310 tbaseargs
="$tbaseargs --disable-option-checking"
7312 # Record and document user additions to sub configure arguments.
7317 # For the build-side libraries, we just need to pretend we're native,
7318 # and not use the same cache file. Multilibs are neither needed nor
7320 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7322 # For host modules, accept cache file option, or specification as blank.
7323 case "${cache_file}" in
7325 cache_file_option
="" ;;
7326 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7327 cache_file_option
="--cache-file=${cache_file}" ;;
7329 cache_file_option
="--cache-file=../${cache_file}" ;;
7332 # Host dirs don't like to share a cache file either, horribly enough.
7333 # This seems to be due to autoconf 2.5x stupidity.
7334 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7336 target_configargs
="$target_configargs ${tbaseargs}"
7338 # Passing a --with-cross-host argument lets the target libraries know
7339 # whether they are being built with a cross-compiler or being built
7340 # native. However, it would be better to use other mechanisms to make the
7341 # sorts of decisions they want to make on this basis. Please consider
7342 # this option to be deprecated. FIXME.
7343 if test x
${is_cross_compiler} = xyes
; then
7344 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7347 # Default to --enable-multilib.
7348 if test x
${enable_multilib} = x
; then
7349 target_configargs
="--enable-multilib ${target_configargs}"
7352 # Pass --with-newlib if appropriate. Note that target_configdirs has
7353 # changed from the earlier setting of with_newlib.
7354 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7355 target_configargs
="--with-newlib ${target_configargs}"
7358 # Different target subdirs use different values of certain variables
7359 # (notably CXX). Worse, multilibs use *lots* of different values.
7360 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7361 # it doesn't automatically accept command-line overrides of them.
7362 # This means it's not safe for target subdirs to share a cache file,
7363 # which is disgusting, but there you have it. Hopefully this can be
7364 # fixed in future. It's still worthwhile to use a cache file for each
7365 # directory. I think.
7367 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7368 # We need to pass --target, as newer autoconf's requires consistency
7369 # for target_alias and gcc doesn't manage it consistently.
7370 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7373 case " $target_configdirs " in
7375 case " $target_configargs " in
7376 *" --with-newlib "*)
7379 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'
7383 # If we're not building GCC, don't discard standard headers.
7384 if test -d ${srcdir}/gcc
; then
7385 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7387 if test "${build}" != "${host}"; then
7388 # On Canadian crosses, CC_FOR_TARGET will have already been set
7389 # by `configure', so we won't have an opportunity to add -Bgcc/
7390 # to it. This is right: we don't want to search that directory
7391 # for binaries, but we want the header files in there, so add
7393 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7395 # Someone might think of using the pre-installed headers on
7396 # Canadian crosses, in case the installed compiler is not fully
7397 # compatible with the compiler being built. In this case, it
7398 # would be better to flag an error than risking having
7399 # incompatible object files being constructed. We can't
7400 # guarantee that an error will be flagged, but let's hope the
7401 # compiler will do it, when presented with incompatible header
7406 case "${target}-${is_cross_compiler}" in
7407 i
[3456789]86-*-linux*-no)
7408 # Here host == target, so we don't need to build gcc,
7409 # so we don't want to discard standard headers.
7410 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7413 # If we're building newlib, use its generic headers last, but search
7414 # for any libc-related directories first (so make it the last -B
7416 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7418 # If we're building libgloss, find the startup file, simulator library
7419 # and linker script.
7420 case " $target_configdirs " in
7422 # Look for startup file, simulator library and maybe linker script.
7423 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7424 # Look for libnosys.a in case the target needs it.
7425 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7426 # Most targets have the linker script in the source directory.
7427 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7438 x86_64-
*mingw
* |
*-w64-mingw*)
7439 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7440 # however, use a symlink named 'mingw' in ${prefix} .
7441 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7444 # MinGW can't be handled as Cygwin above since it does not use newlib.
7445 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'
7449 # Allow the user to override the flags for
7450 # our build compiler if desired.
7451 if test x
"${build}" = x
"${host}" ; then
7452 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7453 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7454 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7457 # On Canadian crosses, we'll be searching the right directories for
7458 # the previously-installed cross compiler, so don't bother to add
7459 # flags for directories within the install tree of the compiler
7460 # being built; programs in there won't even run.
7461 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7462 # Search for pre-installed headers if nothing else fits.
7463 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7466 if test "x
${use_gnu_ld}" = x &&
7467 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7468 # Arrange for us to find uninstalled linker scripts.
7469 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7472 # Search for other target-specific linker scripts and such.
7475 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7479 # Makefile fragments.
7480 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7482 eval fragval=\$$frag
7483 if test $fragval != /dev/null; then
7484 eval $frag=${srcdir}/$fragval
7492 # Miscellanea: directories, flags, etc.
7501 # Build module lists & subconfigure args.
7505 # Host module lists & subconfigure args.
7510 # Target module lists & subconfigure args.
7532 # Generate default definitions for YACC, M4, LEX and other programs that run
7533 # on the build machine. These are used if the Makefile can't locate these
7534 # programs in objdir.
7535 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7537 for ac_prog in 'bison -y' byacc yacc
7539 # Extract the first word of "$ac_prog", so it can be a program name with args.
7540 set dummy $ac_prog; ac_word=$2
7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7542 $as_echo_n "checking
for $ac_word...
" >&6; }
7543 if test "${ac_cv_prog_YACC+set}" = set; then :
7544 $as_echo_n "(cached
) " >&6
7546 if test -n "$YACC"; then
7547 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7556 ac_cv_prog_YACC="$ac_prog"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7566 YACC=$ac_cv_prog_YACC
7567 if test -n "$YACC"; then
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7569 $as_echo "$YACC" >&6; }
7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7572 $as_echo "no
" >&6; }
7576 test -n "$YACC" && break
7578 test -n "$YACC" || YACC="$MISSING bison
-y"
7580 case " $build_configdirs " in
7581 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7584 for ac_prog in bison
7586 # Extract the first word of "$ac_prog", so it can be a program name with args.
7587 set dummy $ac_prog; ac_word=$2
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7589 $as_echo_n "checking
for $ac_word...
" >&6; }
7590 if test "${ac_cv_prog_BISON+set}" = set; then :
7591 $as_echo_n "(cached
) " >&6
7593 if test -n "$BISON"; then
7594 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 test -z "$as_dir" && as_dir=.
7601 for ac_exec_ext in '' $ac_executable_extensions; do
7602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7603 ac_cv_prog_BISON="$ac_prog"
7604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7613 BISON=$ac_cv_prog_BISON
7614 if test -n "$BISON"; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7616 $as_echo "$BISON" >&6; }
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7619 $as_echo "no
" >&6; }
7623 test -n "$BISON" && break
7625 test -n "$BISON" || BISON="$MISSING bison
"
7627 case " $build_configdirs " in
7628 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7631 for ac_prog in gm4 gnum4 m4
7633 # Extract the first word of "$ac_prog", so it can be a program name with args.
7634 set dummy $ac_prog; ac_word=$2
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7636 $as_echo_n "checking
for $ac_word...
" >&6; }
7637 if test "${ac_cv_prog_M4+set}" = set; then :
7638 $as_echo_n "(cached
) " >&6
7640 if test -n "$M4"; then
7641 ac_cv_prog_M4="$M4" # Let the user override the test.
7643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 test -z "$as_dir" && as_dir=.
7648 for ac_exec_ext in '' $ac_executable_extensions; do
7649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7650 ac_cv_prog_M4="$ac_prog"
7651 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7661 if test -n "$M4"; then
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7663 $as_echo "$M4" >&6; }
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7666 $as_echo "no
" >&6; }
7670 test -n "$M4" && break
7672 test -n "$M4" || M4="$MISSING m4"
7674 case " $build_configdirs " in
7675 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7678 for ac_prog in flex lex
7680 # Extract the first word of "$ac_prog", so it can be a program name with args.
7681 set dummy $ac_prog; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7683 $as_echo_n "checking
for $ac_word...
" >&6; }
7684 if test "${ac_cv_prog_LEX+set}" = set; then :
7685 $as_echo_n "(cached
) " >&6
7687 if test -n "$LEX"; then
7688 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7697 ac_cv_prog_LEX="$ac_prog"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7708 if test -n "$LEX"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7710 $as_echo "$LEX" >&6; }
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7713 $as_echo "no
" >&6; }
7717 test -n "$LEX" && break
7719 test -n "$LEX" || LEX="$MISSING flex
"
7721 case " $build_configdirs " in
7722 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7723 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7728 # Extract the first word of "$ac_prog", so it can be a program name with args.
7729 set dummy $ac_prog; ac_word=$2
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7731 $as_echo_n "checking
for $ac_word...
" >&6; }
7732 if test "${ac_cv_prog_FLEX+set}" = set; then :
7733 $as_echo_n "(cached
) " >&6
7735 if test -n "$FLEX"; then
7736 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7742 test -z "$as_dir" && as_dir=.
7743 for ac_exec_ext in '' $ac_executable_extensions; do
7744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7745 ac_cv_prog_FLEX="$ac_prog"
7746 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7755 FLEX=$ac_cv_prog_FLEX
7756 if test -n "$FLEX"; then
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7758 $as_echo "$FLEX" >&6; }
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7761 $as_echo "no
" >&6; }
7765 test -n "$FLEX" && break
7767 test -n "$FLEX" || FLEX="$MISSING flex
"
7769 case " $build_configdirs " in
7770 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7773 for ac_prog in makeinfo
7775 # Extract the first word of "$ac_prog", so it can be a program name with args.
7776 set dummy $ac_prog; ac_word=$2
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7778 $as_echo_n "checking
for $ac_word...
" >&6; }
7779 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7780 $as_echo_n "(cached
) " >&6
7782 if test -n "$MAKEINFO"; then
7783 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789 test -z "$as_dir" && as_dir=.
7790 for ac_exec_ext in '' $ac_executable_extensions; do
7791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7792 ac_cv_prog_MAKEINFO="$ac_prog"
7793 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7802 MAKEINFO=$ac_cv_prog_MAKEINFO
7803 if test -n "$MAKEINFO"; then
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7805 $as_echo "$MAKEINFO" >&6; }
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7808 $as_echo "no
" >&6; }
7812 test -n "$MAKEINFO" && break
7814 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7816 case " $build_configdirs " in
7817 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7820 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7821 # higher, else we use the "missing
" dummy.
7822 if ${MAKEINFO} --version \
7823 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7826 MAKEINFO="$MISSING makeinfo
"
7832 # FIXME: expect and dejagnu may become build tools?
7834 for ac_prog in expect
7836 # Extract the first word of "$ac_prog", so it can be a program name with args.
7837 set dummy $ac_prog; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7839 $as_echo_n "checking
for $ac_word...
" >&6; }
7840 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7841 $as_echo_n "(cached
) " >&6
7843 if test -n "$EXPECT"; then
7844 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 test -z "$as_dir" && as_dir=.
7851 for ac_exec_ext in '' $ac_executable_extensions; do
7852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853 ac_cv_prog_EXPECT="$ac_prog"
7854 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7863 EXPECT=$ac_cv_prog_EXPECT
7864 if test -n "$EXPECT"; then
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7866 $as_echo "$EXPECT" >&6; }
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7869 $as_echo "no
" >&6; }
7873 test -n "$EXPECT" && break
7875 test -n "$EXPECT" || EXPECT="expect
"
7877 case " $configdirs " in
7879 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7883 for ac_prog in runtest
7885 # Extract the first word of "$ac_prog", so it can be a program name with args.
7886 set dummy $ac_prog; ac_word=$2
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7888 $as_echo_n "checking
for $ac_word...
" >&6; }
7889 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7890 $as_echo_n "(cached
) " >&6
7892 if test -n "$RUNTEST"; then
7893 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899 test -z "$as_dir" && as_dir=.
7900 for ac_exec_ext in '' $ac_executable_extensions; do
7901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902 ac_cv_prog_RUNTEST="$ac_prog"
7903 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7912 RUNTEST=$ac_cv_prog_RUNTEST
7913 if test -n "$RUNTEST"; then
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7915 $as_echo "$RUNTEST" >&6; }
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7918 $as_echo "no
" >&6; }
7922 test -n "$RUNTEST" && break
7924 test -n "$RUNTEST" || RUNTEST="runtest
"
7926 case " $configdirs " in
7928 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7935 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7936 ncn_target_tool_prefix=
7937 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7941 if test -n "$AR"; then
7943 elif test -n "$ac_cv_prog_AR"; then
7947 if test -n "$ac_cv_prog_AR"; then
7948 for ncn_progname in ar; do
7949 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7950 set dummy ${ncn_progname}; ac_word=$2
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7952 $as_echo_n "checking
for $ac_word...
" >&6; }
7953 if test "${ac_cv_prog_AR+set}" = set; then :
7954 $as_echo_n "(cached
) " >&6
7956 if test -n "$AR"; then
7957 ac_cv_prog_AR="$AR" # Let the user override the test.
7959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 test -z "$as_dir" && as_dir=.
7964 for ac_exec_ext in '' $ac_executable_extensions; do
7965 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7966 ac_cv_prog_AR="${ncn_progname}"
7967 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7977 if test -n "$AR"; then
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7979 $as_echo "$AR" >&6; }
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7982 $as_echo "no
" >&6; }
7989 for ncn_progname in ar; do
7990 if test -n "$ncn_tool_prefix"; then
7991 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7992 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7994 $as_echo_n "checking
for $ac_word...
" >&6; }
7995 if test "${ac_cv_prog_AR+set}" = set; then :
7996 $as_echo_n "(cached
) " >&6
7998 if test -n "$AR"; then
7999 ac_cv_prog_AR="$AR" # Let the user override the test.
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8008 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8019 if test -n "$AR"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8021 $as_echo "$AR" >&6; }
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8024 $as_echo "no
" >&6; }
8029 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8030 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8031 set dummy ${ncn_progname}; ac_word=$2
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8033 $as_echo_n "checking
for $ac_word...
" >&6; }
8034 if test "${ac_cv_prog_AR+set}" = set; then :
8035 $as_echo_n "(cached
) " >&6
8037 if test -n "$AR"; then
8038 ac_cv_prog_AR="$AR" # Let the user override the test.
8040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 test -z "$as_dir" && as_dir=.
8045 for ac_exec_ext in '' $ac_executable_extensions; do
8046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8047 ac_cv_prog_AR="${ncn_progname}"
8048 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8058 if test -n "$AR"; then
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8060 $as_echo "$AR" >&6; }
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8063 $as_echo "no
" >&6; }
8068 test -n "$ac_cv_prog_AR" && break
8071 if test -z "$ac_cv_prog_AR" ; then
8073 if test $build = $host ; then
8076 AR="${ncn_tool_prefix}$2"
8082 if test -n "$AS"; then
8084 elif test -n "$ac_cv_prog_AS"; then
8088 if test -n "$ac_cv_prog_AS"; then
8089 for ncn_progname in as; do
8090 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8091 set dummy ${ncn_progname}; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8093 $as_echo_n "checking
for $ac_word...
" >&6; }
8094 if test "${ac_cv_prog_AS+set}" = set; then :
8095 $as_echo_n "(cached
) " >&6
8097 if test -n "$AS"; then
8098 ac_cv_prog_AS="$AS" # Let the user override the test.
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8107 ac_cv_prog_AS="${ncn_progname}"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8118 if test -n "$AS"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8120 $as_echo "$AS" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8123 $as_echo "no
" >&6; }
8130 for ncn_progname in as; do
8131 if test -n "$ncn_tool_prefix"; then
8132 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8133 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8135 $as_echo_n "checking
for $ac_word...
" >&6; }
8136 if test "${ac_cv_prog_AS+set}" = set; then :
8137 $as_echo_n "(cached
) " >&6
8139 if test -n "$AS"; then
8140 ac_cv_prog_AS="$AS" # Let the user override the test.
8142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8146 test -z "$as_dir" && as_dir=.
8147 for ac_exec_ext in '' $ac_executable_extensions; do
8148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8149 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8160 if test -n "$AS"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8162 $as_echo "$AS" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8165 $as_echo "no
" >&6; }
8170 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8171 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8172 set dummy ${ncn_progname}; ac_word=$2
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8174 $as_echo_n "checking
for $ac_word...
" >&6; }
8175 if test "${ac_cv_prog_AS+set}" = set; then :
8176 $as_echo_n "(cached
) " >&6
8178 if test -n "$AS"; then
8179 ac_cv_prog_AS="$AS" # Let the user override the test.
8181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8185 test -z "$as_dir" && as_dir=.
8186 for ac_exec_ext in '' $ac_executable_extensions; do
8187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8188 ac_cv_prog_AS="${ncn_progname}"
8189 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8199 if test -n "$AS"; then
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8201 $as_echo "$AS" >&6; }
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8204 $as_echo "no
" >&6; }
8209 test -n "$ac_cv_prog_AS" && break
8212 if test -z "$ac_cv_prog_AS" ; then
8214 if test $build = $host ; then
8217 AS="${ncn_tool_prefix}$2"
8223 if test -n "$DLLTOOL"; then
8224 ac_cv_prog_DLLTOOL=$DLLTOOL
8225 elif test -n "$ac_cv_prog_DLLTOOL"; then
8226 DLLTOOL=$ac_cv_prog_DLLTOOL
8229 if test -n "$ac_cv_prog_DLLTOOL"; then
8230 for ncn_progname in dlltool; do
8231 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8232 set dummy ${ncn_progname}; ac_word=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8234 $as_echo_n "checking
for $ac_word...
" >&6; }
8235 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8236 $as_echo_n "(cached
) " >&6
8238 if test -n "$DLLTOOL"; then
8239 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8245 test -z "$as_dir" && as_dir=.
8246 for ac_exec_ext in '' $ac_executable_extensions; do
8247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8248 ac_cv_prog_DLLTOOL="${ncn_progname}"
8249 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8258 DLLTOOL=$ac_cv_prog_DLLTOOL
8259 if test -n "$DLLTOOL"; then
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8261 $as_echo "$DLLTOOL" >&6; }
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8264 $as_echo "no
" >&6; }
8271 for ncn_progname in dlltool; do
8272 if test -n "$ncn_tool_prefix"; then
8273 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8274 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8276 $as_echo_n "checking
for $ac_word...
" >&6; }
8277 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8278 $as_echo_n "(cached
) " >&6
8280 if test -n "$DLLTOOL"; then
8281 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir=.
8288 for ac_exec_ext in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8300 DLLTOOL=$ac_cv_prog_DLLTOOL
8301 if test -n "$DLLTOOL"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8303 $as_echo "$DLLTOOL" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8306 $as_echo "no
" >&6; }
8311 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8312 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8313 set dummy ${ncn_progname}; ac_word=$2
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8315 $as_echo_n "checking
for $ac_word...
" >&6; }
8316 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8317 $as_echo_n "(cached
) " >&6
8319 if test -n "$DLLTOOL"; then
8320 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8326 test -z "$as_dir" && as_dir=.
8327 for ac_exec_ext in '' $ac_executable_extensions; do
8328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8329 ac_cv_prog_DLLTOOL="${ncn_progname}"
8330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8339 DLLTOOL=$ac_cv_prog_DLLTOOL
8340 if test -n "$DLLTOOL"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8342 $as_echo "$DLLTOOL" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8345 $as_echo "no
" >&6; }
8350 test -n "$ac_cv_prog_DLLTOOL" && break
8353 if test -z "$ac_cv_prog_DLLTOOL" ; then
8355 if test $build = $host ; then
8358 DLLTOOL="${ncn_tool_prefix}$2"
8364 if test -n "$LD"; then
8366 elif test -n "$ac_cv_prog_LD"; then
8370 if test -n "$ac_cv_prog_LD"; then
8371 for ncn_progname in ld; do
8372 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8373 set dummy ${ncn_progname}; ac_word=$2
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8375 $as_echo_n "checking
for $ac_word...
" >&6; }
8376 if test "${ac_cv_prog_LD+set}" = set; then :
8377 $as_echo_n "(cached
) " >&6
8379 if test -n "$LD"; then
8380 ac_cv_prog_LD="$LD" # Let the user override the test.
8382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8386 test -z "$as_dir" && as_dir=.
8387 for ac_exec_ext in '' $ac_executable_extensions; do
8388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8389 ac_cv_prog_LD="${ncn_progname}"
8390 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8400 if test -n "$LD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8402 $as_echo "$LD" >&6; }
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8405 $as_echo "no
" >&6; }
8412 for ncn_progname in ld; do
8413 if test -n "$ncn_tool_prefix"; then
8414 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8415 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8417 $as_echo_n "checking
for $ac_word...
" >&6; }
8418 if test "${ac_cv_prog_LD+set}" = set; then :
8419 $as_echo_n "(cached
) " >&6
8421 if test -n "$LD"; then
8422 ac_cv_prog_LD="$LD" # Let the user override the test.
8424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8428 test -z "$as_dir" && as_dir=.
8429 for ac_exec_ext in '' $ac_executable_extensions; do
8430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8431 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8432 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8442 if test -n "$LD"; then
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8444 $as_echo "$LD" >&6; }
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8447 $as_echo "no
" >&6; }
8452 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8453 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8454 set dummy ${ncn_progname}; ac_word=$2
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8456 $as_echo_n "checking
for $ac_word...
" >&6; }
8457 if test "${ac_cv_prog_LD+set}" = set; then :
8458 $as_echo_n "(cached
) " >&6
8460 if test -n "$LD"; then
8461 ac_cv_prog_LD="$LD" # Let the user override the test.
8463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8467 test -z "$as_dir" && as_dir=.
8468 for ac_exec_ext in '' $ac_executable_extensions; do
8469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8470 ac_cv_prog_LD="${ncn_progname}"
8471 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8481 if test -n "$LD"; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8483 $as_echo "$LD" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8486 $as_echo "no
" >&6; }
8491 test -n "$ac_cv_prog_LD" && break
8494 if test -z "$ac_cv_prog_LD" ; then
8496 if test $build = $host ; then
8499 LD="${ncn_tool_prefix}$2"
8505 if test -n "$LIPO"; then
8506 ac_cv_prog_LIPO=$LIPO
8507 elif test -n "$ac_cv_prog_LIPO"; then
8508 LIPO=$ac_cv_prog_LIPO
8511 if test -n "$ac_cv_prog_LIPO"; then
8512 for ncn_progname in lipo; do
8513 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8514 set dummy ${ncn_progname}; ac_word=$2
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8516 $as_echo_n "checking
for $ac_word...
" >&6; }
8517 if test "${ac_cv_prog_LIPO+set}" = set; then :
8518 $as_echo_n "(cached
) " >&6
8520 if test -n "$LIPO"; then
8521 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8527 test -z "$as_dir" && as_dir=.
8528 for ac_exec_ext in '' $ac_executable_extensions; do
8529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8530 ac_cv_prog_LIPO="${ncn_progname}"
8531 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8540 LIPO=$ac_cv_prog_LIPO
8541 if test -n "$LIPO"; then
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8543 $as_echo "$LIPO" >&6; }
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8546 $as_echo "no
" >&6; }
8553 for ncn_progname in lipo; do
8554 if test -n "$ncn_tool_prefix"; then
8555 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8556 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8558 $as_echo_n "checking
for $ac_word...
" >&6; }
8559 if test "${ac_cv_prog_LIPO+set}" = set; then :
8560 $as_echo_n "(cached
) " >&6
8562 if test -n "$LIPO"; then
8563 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8569 test -z "$as_dir" && as_dir=.
8570 for ac_exec_ext in '' $ac_executable_extensions; do
8571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8572 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8573 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8582 LIPO=$ac_cv_prog_LIPO
8583 if test -n "$LIPO"; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8585 $as_echo "$LIPO" >&6; }
8587 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8588 $as_echo "no
" >&6; }
8593 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8595 set dummy ${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_LIPO+set}" = set; then :
8599 $as_echo_n "(cached
) " >&6
8601 if test -n "$LIPO"; then
8602 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_progname}"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8621 LIPO=$ac_cv_prog_LIPO
8622 if test -n "$LIPO"; then
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8624 $as_echo "$LIPO" >&6; }
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8627 $as_echo "no
" >&6; }
8632 test -n "$ac_cv_prog_LIPO" && break
8635 if test -z "$ac_cv_prog_LIPO" ; then
8637 if test $build = $host ; then
8640 LIPO="${ncn_tool_prefix}$2"
8646 if test -n "$NM"; then
8648 elif test -n "$ac_cv_prog_NM"; then
8652 if test -n "$ac_cv_prog_NM"; then
8653 for ncn_progname in nm; do
8654 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8655 set dummy ${ncn_progname}; ac_word=$2
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8657 $as_echo_n "checking
for $ac_word...
" >&6; }
8658 if test "${ac_cv_prog_NM+set}" = set; then :
8659 $as_echo_n "(cached
) " >&6
8661 if test -n "$NM"; then
8662 ac_cv_prog_NM="$NM" # Let the user override the test.
8664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8668 test -z "$as_dir" && as_dir=.
8669 for ac_exec_ext in '' $ac_executable_extensions; do
8670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8671 ac_cv_prog_NM="${ncn_progname}"
8672 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8682 if test -n "$NM"; then
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8684 $as_echo "$NM" >&6; }
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8687 $as_echo "no
" >&6; }
8694 for ncn_progname in nm; do
8695 if test -n "$ncn_tool_prefix"; then
8696 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8697 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8699 $as_echo_n "checking
for $ac_word...
" >&6; }
8700 if test "${ac_cv_prog_NM+set}" = set; then :
8701 $as_echo_n "(cached
) " >&6
8703 if test -n "$NM"; then
8704 ac_cv_prog_NM="$NM" # Let the user override the test.
8706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir=.
8711 for ac_exec_ext in '' $ac_executable_extensions; do
8712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8713 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8724 if test -n "$NM"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8726 $as_echo "$NM" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8729 $as_echo "no
" >&6; }
8734 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8735 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8736 set dummy ${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_NM+set}" = set; then :
8740 $as_echo_n "(cached
) " >&6
8742 if test -n "$NM"; then
8743 ac_cv_prog_NM="$NM" # 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_NM="${ncn_progname}"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8763 if test -n "$NM"; then
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8765 $as_echo "$NM" >&6; }
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8768 $as_echo "no
" >&6; }
8773 test -n "$ac_cv_prog_NM" && break
8776 if test -z "$ac_cv_prog_NM" ; then
8778 if test $build = $host ; then
8781 NM="${ncn_tool_prefix}$2"
8787 if test -n "$RANLIB"; then
8788 ac_cv_prog_RANLIB=$RANLIB
8789 elif test -n "$ac_cv_prog_RANLIB"; then
8790 RANLIB=$ac_cv_prog_RANLIB
8793 if test -n "$ac_cv_prog_RANLIB"; then
8794 for ncn_progname in ranlib; do
8795 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8796 set dummy ${ncn_progname}; ac_word=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8798 $as_echo_n "checking
for $ac_word...
" >&6; }
8799 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8800 $as_echo_n "(cached
) " >&6
8802 if test -n "$RANLIB"; then
8803 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_RANLIB="${ncn_progname}"
8813 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8822 RANLIB=$ac_cv_prog_RANLIB
8823 if test -n "$RANLIB"; then
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8825 $as_echo "$RANLIB" >&6; }
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8828 $as_echo "no
" >&6; }
8835 for ncn_progname in ranlib; do
8836 if test -n "$ncn_tool_prefix"; then
8837 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8838 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8840 $as_echo_n "checking
for $ac_word...
" >&6; }
8841 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8842 $as_echo_n "(cached
) " >&6
8844 if test -n "$RANLIB"; then
8845 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8851 test -z "$as_dir" && as_dir=.
8852 for ac_exec_ext in '' $ac_executable_extensions; do
8853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8854 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8864 RANLIB=$ac_cv_prog_RANLIB
8865 if test -n "$RANLIB"; then
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8867 $as_echo "$RANLIB" >&6; }
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8870 $as_echo "no
" >&6; }
8875 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8876 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8877 set dummy ${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_RANLIB+set}" = set; then :
8881 $as_echo_n "(cached
) " >&6
8883 if test -n "$RANLIB"; then
8884 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_progname}"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8903 RANLIB=$ac_cv_prog_RANLIB
8904 if test -n "$RANLIB"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8906 $as_echo "$RANLIB" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8909 $as_echo "no
" >&6; }
8914 test -n "$ac_cv_prog_RANLIB" && break
8917 if test -z "$ac_cv_prog_RANLIB" ; then
8923 if test -n "$STRIP"; then
8924 ac_cv_prog_STRIP=$STRIP
8925 elif test -n "$ac_cv_prog_STRIP"; then
8926 STRIP=$ac_cv_prog_STRIP
8929 if test -n "$ac_cv_prog_STRIP"; then
8930 for ncn_progname in strip; do
8931 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8932 set dummy ${ncn_progname}; ac_word=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8934 $as_echo_n "checking
for $ac_word...
" >&6; }
8935 if test "${ac_cv_prog_STRIP+set}" = set; then :
8936 $as_echo_n "(cached
) " >&6
8938 if test -n "$STRIP"; then
8939 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8945 test -z "$as_dir" && as_dir=.
8946 for ac_exec_ext in '' $ac_executable_extensions; do
8947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8948 ac_cv_prog_STRIP="${ncn_progname}"
8949 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8958 STRIP=$ac_cv_prog_STRIP
8959 if test -n "$STRIP"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8961 $as_echo "$STRIP" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8964 $as_echo "no
" >&6; }
8971 for ncn_progname in strip; do
8972 if test -n "$ncn_tool_prefix"; then
8973 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8974 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8976 $as_echo_n "checking
for $ac_word...
" >&6; }
8977 if test "${ac_cv_prog_STRIP+set}" = set; then :
8978 $as_echo_n "(cached
) " >&6
8980 if test -n "$STRIP"; then
8981 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8987 test -z "$as_dir" && as_dir=.
8988 for ac_exec_ext in '' $ac_executable_extensions; do
8989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8990 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9000 STRIP=$ac_cv_prog_STRIP
9001 if test -n "$STRIP"; then
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9003 $as_echo "$STRIP" >&6; }
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9006 $as_echo "no
" >&6; }
9011 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9012 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9013 set dummy ${ncn_progname}; ac_word=$2
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9015 $as_echo_n "checking
for $ac_word...
" >&6; }
9016 if test "${ac_cv_prog_STRIP+set}" = set; then :
9017 $as_echo_n "(cached
) " >&6
9019 if test -n "$STRIP"; then
9020 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9026 test -z "$as_dir" && as_dir=.
9027 for ac_exec_ext in '' $ac_executable_extensions; do
9028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9029 ac_cv_prog_STRIP="${ncn_progname}"
9030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9039 STRIP=$ac_cv_prog_STRIP
9040 if test -n "$STRIP"; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9042 $as_echo "$STRIP" >&6; }
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9045 $as_echo "no
" >&6; }
9050 test -n "$ac_cv_prog_STRIP" && break
9053 if test -z "$ac_cv_prog_STRIP" ; then
9059 if test -n "$WINDRES"; then
9060 ac_cv_prog_WINDRES=$WINDRES
9061 elif test -n "$ac_cv_prog_WINDRES"; then
9062 WINDRES=$ac_cv_prog_WINDRES
9065 if test -n "$ac_cv_prog_WINDRES"; then
9066 for ncn_progname in windres; do
9067 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9068 set dummy ${ncn_progname}; ac_word=$2
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9070 $as_echo_n "checking
for $ac_word...
" >&6; }
9071 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9072 $as_echo_n "(cached
) " >&6
9074 if test -n "$WINDRES"; then
9075 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9081 test -z "$as_dir" && as_dir=.
9082 for ac_exec_ext in '' $ac_executable_extensions; do
9083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9084 ac_cv_prog_WINDRES="${ncn_progname}"
9085 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9094 WINDRES=$ac_cv_prog_WINDRES
9095 if test -n "$WINDRES"; then
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9097 $as_echo "$WINDRES" >&6; }
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9100 $as_echo "no
" >&6; }
9107 for ncn_progname in windres; do
9108 if test -n "$ncn_tool_prefix"; then
9109 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9110 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9112 $as_echo_n "checking
for $ac_word...
" >&6; }
9113 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9114 $as_echo_n "(cached
) " >&6
9116 if test -n "$WINDRES"; then
9117 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9126 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9136 WINDRES=$ac_cv_prog_WINDRES
9137 if test -n "$WINDRES"; then
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9139 $as_echo "$WINDRES" >&6; }
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9142 $as_echo "no
" >&6; }
9147 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9148 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9149 set dummy ${ncn_progname}; ac_word=$2
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9151 $as_echo_n "checking
for $ac_word...
" >&6; }
9152 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9153 $as_echo_n "(cached
) " >&6
9155 if test -n "$WINDRES"; then
9156 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9162 test -z "$as_dir" && as_dir=.
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9165 ac_cv_prog_WINDRES="${ncn_progname}"
9166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9175 WINDRES=$ac_cv_prog_WINDRES
9176 if test -n "$WINDRES"; then
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9178 $as_echo "$WINDRES" >&6; }
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9181 $as_echo "no
" >&6; }
9186 test -n "$ac_cv_prog_WINDRES" && break
9189 if test -z "$ac_cv_prog_WINDRES" ; then
9191 if test $build = $host ; then
9194 WINDRES="${ncn_tool_prefix}$2"
9200 if test -n "$WINDMC"; then
9201 ac_cv_prog_WINDMC=$WINDMC
9202 elif test -n "$ac_cv_prog_WINDMC"; then
9203 WINDMC=$ac_cv_prog_WINDMC
9206 if test -n "$ac_cv_prog_WINDMC"; then
9207 for ncn_progname in windmc; do
9208 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9209 set dummy ${ncn_progname}; ac_word=$2
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9211 $as_echo_n "checking
for $ac_word...
" >&6; }
9212 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9213 $as_echo_n "(cached
) " >&6
9215 if test -n "$WINDMC"; then
9216 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9222 test -z "$as_dir" && as_dir=.
9223 for ac_exec_ext in '' $ac_executable_extensions; do
9224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9225 ac_cv_prog_WINDMC="${ncn_progname}"
9226 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9235 WINDMC=$ac_cv_prog_WINDMC
9236 if test -n "$WINDMC"; then
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9238 $as_echo "$WINDMC" >&6; }
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9241 $as_echo "no
" >&6; }
9248 for ncn_progname in windmc; do
9249 if test -n "$ncn_tool_prefix"; then
9250 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9251 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9253 $as_echo_n "checking
for $ac_word...
" >&6; }
9254 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9255 $as_echo_n "(cached
) " >&6
9257 if test -n "$WINDMC"; then
9258 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9264 test -z "$as_dir" && as_dir=.
9265 for ac_exec_ext in '' $ac_executable_extensions; do
9266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9267 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9277 WINDMC=$ac_cv_prog_WINDMC
9278 if test -n "$WINDMC"; then
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9280 $as_echo "$WINDMC" >&6; }
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9283 $as_echo "no
" >&6; }
9288 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9290 set dummy ${ncn_progname}; ac_word=$2
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9292 $as_echo_n "checking
for $ac_word...
" >&6; }
9293 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9294 $as_echo_n "(cached
) " >&6
9296 if test -n "$WINDMC"; then
9297 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir=.
9304 for ac_exec_ext in '' $ac_executable_extensions; do
9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306 ac_cv_prog_WINDMC="${ncn_progname}"
9307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9316 WINDMC=$ac_cv_prog_WINDMC
9317 if test -n "$WINDMC"; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9319 $as_echo "$WINDMC" >&6; }
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9322 $as_echo "no
" >&6; }
9327 test -n "$ac_cv_prog_WINDMC" && break
9330 if test -z "$ac_cv_prog_WINDMC" ; then
9332 if test $build = $host ; then
9335 WINDMC="${ncn_tool_prefix}$2"
9341 if test -n "$OBJCOPY"; then
9342 ac_cv_prog_OBJCOPY=$OBJCOPY
9343 elif test -n "$ac_cv_prog_OBJCOPY"; then
9344 OBJCOPY=$ac_cv_prog_OBJCOPY
9347 if test -n "$ac_cv_prog_OBJCOPY"; then
9348 for ncn_progname in objcopy; do
9349 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9350 set dummy ${ncn_progname}; ac_word=$2
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9352 $as_echo_n "checking
for $ac_word...
" >&6; }
9353 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9354 $as_echo_n "(cached
) " >&6
9356 if test -n "$OBJCOPY"; then
9357 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363 test -z "$as_dir" && as_dir=.
9364 for ac_exec_ext in '' $ac_executable_extensions; do
9365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9366 ac_cv_prog_OBJCOPY="${ncn_progname}"
9367 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9376 OBJCOPY=$ac_cv_prog_OBJCOPY
9377 if test -n "$OBJCOPY"; then
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9379 $as_echo "$OBJCOPY" >&6; }
9381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9382 $as_echo "no
" >&6; }
9389 for ncn_progname in objcopy; do
9390 if test -n "$ncn_tool_prefix"; then
9391 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9392 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9394 $as_echo_n "checking
for $ac_word...
" >&6; }
9395 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9396 $as_echo_n "(cached
) " >&6
9398 if test -n "$OBJCOPY"; then
9399 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9405 test -z "$as_dir" && as_dir=.
9406 for ac_exec_ext in '' $ac_executable_extensions; do
9407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9408 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9409 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9418 OBJCOPY=$ac_cv_prog_OBJCOPY
9419 if test -n "$OBJCOPY"; then
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9421 $as_echo "$OBJCOPY" >&6; }
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9424 $as_echo "no
" >&6; }
9429 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9431 set dummy ${ncn_progname}; ac_word=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9433 $as_echo_n "checking
for $ac_word...
" >&6; }
9434 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9435 $as_echo_n "(cached
) " >&6
9437 if test -n "$OBJCOPY"; then
9438 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9444 test -z "$as_dir" && as_dir=.
9445 for ac_exec_ext in '' $ac_executable_extensions; do
9446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9447 ac_cv_prog_OBJCOPY="${ncn_progname}"
9448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9457 OBJCOPY=$ac_cv_prog_OBJCOPY
9458 if test -n "$OBJCOPY"; then
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9460 $as_echo "$OBJCOPY" >&6; }
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9463 $as_echo "no
" >&6; }
9468 test -n "$ac_cv_prog_OBJCOPY" && break
9471 if test -z "$ac_cv_prog_OBJCOPY" ; then
9473 if test $build = $host ; then
9476 OBJCOPY="${ncn_tool_prefix}$2"
9482 if test -n "$OBJDUMP"; then
9483 ac_cv_prog_OBJDUMP=$OBJDUMP
9484 elif test -n "$ac_cv_prog_OBJDUMP"; then
9485 OBJDUMP=$ac_cv_prog_OBJDUMP
9488 if test -n "$ac_cv_prog_OBJDUMP"; then
9489 for ncn_progname in objdump; do
9490 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9491 set dummy ${ncn_progname}; ac_word=$2
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9493 $as_echo_n "checking
for $ac_word...
" >&6; }
9494 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9495 $as_echo_n "(cached
) " >&6
9497 if test -n "$OBJDUMP"; then
9498 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir=.
9505 for ac_exec_ext in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_prog_OBJDUMP="${ncn_progname}"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9517 OBJDUMP=$ac_cv_prog_OBJDUMP
9518 if test -n "$OBJDUMP"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9520 $as_echo "$OBJDUMP" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9523 $as_echo "no
" >&6; }
9530 for ncn_progname in objdump; do
9531 if test -n "$ncn_tool_prefix"; then
9532 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9533 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9535 $as_echo_n "checking
for $ac_word...
" >&6; }
9536 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9537 $as_echo_n "(cached
) " >&6
9539 if test -n "$OBJDUMP"; then
9540 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9546 test -z "$as_dir" && as_dir=.
9547 for ac_exec_ext in '' $ac_executable_extensions; do
9548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9549 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9550 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9559 OBJDUMP=$ac_cv_prog_OBJDUMP
9560 if test -n "$OBJDUMP"; then
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9562 $as_echo "$OBJDUMP" >&6; }
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9565 $as_echo "no
" >&6; }
9570 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9571 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9572 set dummy ${ncn_progname}; ac_word=$2
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9574 $as_echo_n "checking
for $ac_word...
" >&6; }
9575 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9576 $as_echo_n "(cached
) " >&6
9578 if test -n "$OBJDUMP"; then
9579 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9585 test -z "$as_dir" && as_dir=.
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9588 ac_cv_prog_OBJDUMP="${ncn_progname}"
9589 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9598 OBJDUMP=$ac_cv_prog_OBJDUMP
9599 if test -n "$OBJDUMP"; then
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9601 $as_echo "$OBJDUMP" >&6; }
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9604 $as_echo "no
" >&6; }
9609 test -n "$ac_cv_prog_OBJDUMP" && break
9612 if test -z "$ac_cv_prog_OBJDUMP" ; then
9614 if test $build = $host ; then
9617 OBJDUMP="${ncn_tool_prefix}$2"
9623 if test -n "$READELF"; then
9624 ac_cv_prog_READELF=$READELF
9625 elif test -n "$ac_cv_prog_READELF"; then
9626 READELF=$ac_cv_prog_READELF
9629 if test -n "$ac_cv_prog_READELF"; then
9630 for ncn_progname in readelf; do
9631 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9632 set dummy ${ncn_progname}; ac_word=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9634 $as_echo_n "checking
for $ac_word...
" >&6; }
9635 if test "${ac_cv_prog_READELF+set}" = set; then :
9636 $as_echo_n "(cached
) " >&6
9638 if test -n "$READELF"; then
9639 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir=.
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9648 ac_cv_prog_READELF="${ncn_progname}"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9658 READELF=$ac_cv_prog_READELF
9659 if test -n "$READELF"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9661 $as_echo "$READELF" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9664 $as_echo "no
" >&6; }
9671 for ncn_progname in readelf; do
9672 if test -n "$ncn_tool_prefix"; then
9673 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9674 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9676 $as_echo_n "checking
for $ac_word...
" >&6; }
9677 if test "${ac_cv_prog_READELF+set}" = set; then :
9678 $as_echo_n "(cached
) " >&6
9680 if test -n "$READELF"; then
9681 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9687 test -z "$as_dir" && as_dir=.
9688 for ac_exec_ext in '' $ac_executable_extensions; do
9689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9690 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9691 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9700 READELF=$ac_cv_prog_READELF
9701 if test -n "$READELF"; then
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9703 $as_echo "$READELF" >&6; }
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9706 $as_echo "no
" >&6; }
9711 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9712 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9713 set dummy ${ncn_progname}; ac_word=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9715 $as_echo_n "checking
for $ac_word...
" >&6; }
9716 if test "${ac_cv_prog_READELF+set}" = set; then :
9717 $as_echo_n "(cached
) " >&6
9719 if test -n "$READELF"; then
9720 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9729 ac_cv_prog_READELF="${ncn_progname}"
9730 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9739 READELF=$ac_cv_prog_READELF
9740 if test -n "$READELF"; then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9742 $as_echo "$READELF" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9745 $as_echo "no
" >&6; }
9750 test -n "$ac_cv_prog_READELF" && break
9753 if test -z "$ac_cv_prog_READELF" ; then
9755 if test $build = $host ; then
9758 READELF="${ncn_tool_prefix}$2"
9769 # Check whether --with-build-time-tools was given.
9770 if test "${with_build_time_tools+set}" = set; then :
9771 withval=$with_build_time_tools; case x"$withval" in
9774 with_build_time_tools=
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9776 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9780 with_build_time_tools=
9786 if test -n "$CC_FOR_TARGET"; then
9787 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9788 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9789 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9792 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9793 for ncn_progname in cc gcc; do
9794 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9795 set dummy ${ncn_progname}; ac_word=$2
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9797 $as_echo_n "checking
for $ac_word...
" >&6; }
9798 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9799 $as_echo_n "(cached
) " >&6
9801 if test -n "$CC_FOR_TARGET"; then
9802 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir=.
9809 for ac_exec_ext in '' $ac_executable_extensions; do
9810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9811 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9812 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9821 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9822 if test -n "$CC_FOR_TARGET"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9824 $as_echo "$CC_FOR_TARGET" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9827 $as_echo "no
" >&6; }
9834 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9835 for ncn_progname in cc gcc; do
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9837 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9838 if test -x $with_build_time_tools/${ncn_progname}; then
9839 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9841 $as_echo "yes" >&6; }
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9845 $as_echo "no
" >&6; }
9850 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9851 for ncn_progname in cc gcc; do
9852 if test -n "$ncn_target_tool_prefix"; then
9853 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9854 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9856 $as_echo_n "checking
for $ac_word...
" >&6; }
9857 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9858 $as_echo_n "(cached
) " >&6
9860 if test -n "$CC_FOR_TARGET"; then
9861 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9867 test -z "$as_dir" && as_dir=.
9868 for ac_exec_ext in '' $ac_executable_extensions; do
9869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9870 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9880 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9881 if test -n "$CC_FOR_TARGET"; then
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9883 $as_echo "$CC_FOR_TARGET" >&6; }
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9886 $as_echo "no
" >&6; }
9891 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9892 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9893 set dummy ${ncn_progname}; ac_word=$2
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9895 $as_echo_n "checking
for $ac_word...
" >&6; }
9896 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9897 $as_echo_n "(cached
) " >&6
9899 if test -n "$CC_FOR_TARGET"; then
9900 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9906 test -z "$as_dir" && as_dir=.
9907 for ac_exec_ext in '' $ac_executable_extensions; do
9908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9909 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9910 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9919 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9920 if test -n "$CC_FOR_TARGET"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9922 $as_echo "$CC_FOR_TARGET" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9925 $as_echo "no
" >&6; }
9930 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9934 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9936 if test $build = $target ; then
9939 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9942 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9947 if test -n "$CXX_FOR_TARGET"; then
9948 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9949 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9950 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9953 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9954 for ncn_progname in c++ g++ cxx gxx; do
9955 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9956 set dummy ${ncn_progname}; ac_word=$2
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9958 $as_echo_n "checking
for $ac_word...
" >&6; }
9959 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9960 $as_echo_n "(cached
) " >&6
9962 if test -n "$CXX_FOR_TARGET"; then
9963 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir=.
9970 for ac_exec_ext in '' $ac_executable_extensions; do
9971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9972 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9973 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9982 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9983 if test -n "$CXX_FOR_TARGET"; then
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9985 $as_echo "$CXX_FOR_TARGET" >&6; }
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9988 $as_echo "no
" >&6; }
9995 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9996 for ncn_progname in c++ g++ cxx gxx; do
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9998 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9999 if test -x $with_build_time_tools/${ncn_progname}; then
10000 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10002 $as_echo "yes" >&6; }
10005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10006 $as_echo "no
" >&6; }
10011 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10012 for ncn_progname in c++ g++ cxx gxx; do
10013 if test -n "$ncn_target_tool_prefix"; then
10014 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10015 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10017 $as_echo_n "checking
for $ac_word...
" >&6; }
10018 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10019 $as_echo_n "(cached
) " >&6
10021 if test -n "$CXX_FOR_TARGET"; then
10022 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10025 for as_dir in $PATH
10028 test -z "$as_dir" && as_dir=.
10029 for ac_exec_ext in '' $ac_executable_extensions; do
10030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10031 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10041 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10042 if test -n "$CXX_FOR_TARGET"; then
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10044 $as_echo "$CXX_FOR_TARGET" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10047 $as_echo "no
" >&6; }
10052 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10054 set dummy ${ncn_progname}; ac_word=$2
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10056 $as_echo_n "checking
for $ac_word...
" >&6; }
10057 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10058 $as_echo_n "(cached
) " >&6
10060 if test -n "$CXX_FOR_TARGET"; then
10061 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10064 for as_dir in $PATH
10067 test -z "$as_dir" && as_dir=.
10068 for ac_exec_ext in '' $ac_executable_extensions; do
10069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10070 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10071 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10080 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10081 if test -n "$CXX_FOR_TARGET"; then
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10083 $as_echo "$CXX_FOR_TARGET" >&6; }
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10086 $as_echo "no
" >&6; }
10091 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10095 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10096 set dummy c++ g++ cxx gxx
10097 if test $build = $target ; then
10098 CXX_FOR_TARGET="$2"
10100 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10103 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10108 if test -n "$GCC_FOR_TARGET"; then
10109 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10110 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10111 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10114 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10115 for ncn_progname in gcc; do
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_GCC_FOR_TARGET+set}" = set; then :
10121 $as_echo_n "(cached
) " >&6
10123 if test -n "$GCC_FOR_TARGET"; then
10124 ac_cv_prog_GCC_FOR_TARGET="$GCC_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_GCC_FOR_TARGET="${ncn_progname}"
10134 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10143 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10144 if test -n "$GCC_FOR_TARGET"; then
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10146 $as_echo "$GCC_FOR_TARGET" >&6; }
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10149 $as_echo "no
" >&6; }
10156 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10157 for ncn_progname in gcc; do
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10159 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10160 if test -x $with_build_time_tools/${ncn_progname}; then
10161 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10163 $as_echo "yes" >&6; }
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10167 $as_echo "no
" >&6; }
10172 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10173 for ncn_progname in gcc; do
10174 if test -n "$ncn_target_tool_prefix"; then
10175 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10176 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10178 $as_echo_n "checking
for $ac_word...
" >&6; }
10179 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10180 $as_echo_n "(cached
) " >&6
10182 if test -n "$GCC_FOR_TARGET"; then
10183 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10186 for as_dir in $PATH
10189 test -z "$as_dir" && as_dir=.
10190 for ac_exec_ext in '' $ac_executable_extensions; do
10191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10192 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10193 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10202 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10203 if test -n "$GCC_FOR_TARGET"; then
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10205 $as_echo "$GCC_FOR_TARGET" >&6; }
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10208 $as_echo "no
" >&6; }
10213 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10214 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10215 set dummy ${ncn_progname}; ac_word=$2
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10217 $as_echo_n "checking
for $ac_word...
" >&6; }
10218 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10219 $as_echo_n "(cached
) " >&6
10221 if test -n "$GCC_FOR_TARGET"; then
10222 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10225 for as_dir in $PATH
10228 test -z "$as_dir" && as_dir=.
10229 for ac_exec_ext in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10232 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10241 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10242 if test -n "$GCC_FOR_TARGET"; then
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10244 $as_echo "$GCC_FOR_TARGET" >&6; }
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10247 $as_echo "no
" >&6; }
10252 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10256 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10257 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10259 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10264 if test -n "$GCJ_FOR_TARGET"; then
10265 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10266 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10267 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10270 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10271 for ncn_progname in gcj; do
10272 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10273 set dummy ${ncn_progname}; ac_word=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10275 $as_echo_n "checking
for $ac_word...
" >&6; }
10276 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10277 $as_echo_n "(cached
) " >&6
10279 if test -n "$GCJ_FOR_TARGET"; then
10280 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10290 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10299 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10300 if test -n "$GCJ_FOR_TARGET"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10302 $as_echo "$GCJ_FOR_TARGET" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10305 $as_echo "no
" >&6; }
10312 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10313 for ncn_progname in gcj; do
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10315 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10316 if test -x $with_build_time_tools/${ncn_progname}; then
10317 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10319 $as_echo "yes" >&6; }
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10323 $as_echo "no
" >&6; }
10328 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10329 for ncn_progname in gcj; do
10330 if test -n "$ncn_target_tool_prefix"; then
10331 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10332 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10334 $as_echo_n "checking
for $ac_word...
" >&6; }
10335 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10336 $as_echo_n "(cached
) " >&6
10338 if test -n "$GCJ_FOR_TARGET"; then
10339 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10342 for as_dir in $PATH
10345 test -z "$as_dir" && as_dir=.
10346 for ac_exec_ext in '' $ac_executable_extensions; do
10347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10348 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10358 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10359 if test -n "$GCJ_FOR_TARGET"; then
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10361 $as_echo "$GCJ_FOR_TARGET" >&6; }
10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10364 $as_echo "no
" >&6; }
10369 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10370 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10371 set dummy ${ncn_progname}; ac_word=$2
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10373 $as_echo_n "checking
for $ac_word...
" >&6; }
10374 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10375 $as_echo_n "(cached
) " >&6
10377 if test -n "$GCJ_FOR_TARGET"; then
10378 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10381 for as_dir in $PATH
10384 test -z "$as_dir" && as_dir=.
10385 for ac_exec_ext in '' $ac_executable_extensions; do
10386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10387 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10388 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10397 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10398 if test -n "$GCJ_FOR_TARGET"; then
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10400 $as_echo "$GCJ_FOR_TARGET" >&6; }
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10403 $as_echo "no
" >&6; }
10408 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10412 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10414 if test $build = $target ; then
10415 GCJ_FOR_TARGET="$2"
10417 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10420 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10425 if test -n "$GFORTRAN_FOR_TARGET"; then
10426 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10427 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10428 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10431 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10432 for ncn_progname in gfortran; do
10433 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10434 set dummy ${ncn_progname}; ac_word=$2
10435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10436 $as_echo_n "checking
for $ac_word...
" >&6; }
10437 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10438 $as_echo_n "(cached
) " >&6
10440 if test -n "$GFORTRAN_FOR_TARGET"; then
10441 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10444 for as_dir in $PATH
10447 test -z "$as_dir" && as_dir=.
10448 for ac_exec_ext in '' $ac_executable_extensions; do
10449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10450 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10451 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10460 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10461 if test -n "$GFORTRAN_FOR_TARGET"; then
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10463 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10466 $as_echo "no
" >&6; }
10473 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10474 for ncn_progname in gfortran; do
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10476 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10477 if test -x $with_build_time_tools/${ncn_progname}; then
10478 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10480 $as_echo "yes" >&6; }
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10484 $as_echo "no
" >&6; }
10489 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10490 for ncn_progname in gfortran; do
10491 if test -n "$ncn_target_tool_prefix"; then
10492 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10493 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10495 $as_echo_n "checking
for $ac_word...
" >&6; }
10496 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10497 $as_echo_n "(cached
) " >&6
10499 if test -n "$GFORTRAN_FOR_TARGET"; then
10500 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10503 for as_dir in $PATH
10506 test -z "$as_dir" && as_dir=.
10507 for ac_exec_ext in '' $ac_executable_extensions; do
10508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10509 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10510 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10519 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10520 if test -n "$GFORTRAN_FOR_TARGET"; then
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10522 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10525 $as_echo "no
" >&6; }
10530 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10531 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10532 set dummy ${ncn_progname}; ac_word=$2
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10534 $as_echo_n "checking
for $ac_word...
" >&6; }
10535 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10536 $as_echo_n "(cached
) " >&6
10538 if test -n "$GFORTRAN_FOR_TARGET"; then
10539 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10542 for as_dir in $PATH
10545 test -z "$as_dir" && as_dir=.
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10548 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10558 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10559 if test -n "$GFORTRAN_FOR_TARGET"; then
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10561 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10564 $as_echo "no
" >&6; }
10569 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10573 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10575 if test $build = $target ; then
10576 GFORTRAN_FOR_TARGET="$2"
10578 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10581 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10586 if test -n "$GOC_FOR_TARGET"; then
10587 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10588 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10589 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10592 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10593 for ncn_progname in gccgo; do
10594 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10595 set dummy ${ncn_progname}; ac_word=$2
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10597 $as_echo_n "checking
for $ac_word...
" >&6; }
10598 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10599 $as_echo_n "(cached
) " >&6
10601 if test -n "$GOC_FOR_TARGET"; then
10602 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10605 for as_dir in $PATH
10608 test -z "$as_dir" && as_dir=.
10609 for ac_exec_ext in '' $ac_executable_extensions; do
10610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10611 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10612 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10621 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10622 if test -n "$GOC_FOR_TARGET"; then
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10624 $as_echo "$GOC_FOR_TARGET" >&6; }
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10627 $as_echo "no
" >&6; }
10634 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10635 for ncn_progname in gccgo; do
10636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10637 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10638 if test -x $with_build_time_tools/${ncn_progname}; then
10639 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10641 $as_echo "yes" >&6; }
10644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10645 $as_echo "no
" >&6; }
10650 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10651 for ncn_progname in gccgo; do
10652 if test -n "$ncn_target_tool_prefix"; then
10653 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10654 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10656 $as_echo_n "checking
for $ac_word...
" >&6; }
10657 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10658 $as_echo_n "(cached
) " >&6
10660 if test -n "$GOC_FOR_TARGET"; then
10661 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10664 for as_dir in $PATH
10667 test -z "$as_dir" && as_dir=.
10668 for ac_exec_ext in '' $ac_executable_extensions; do
10669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10670 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10671 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10680 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10681 if test -n "$GOC_FOR_TARGET"; then
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10683 $as_echo "$GOC_FOR_TARGET" >&6; }
10685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10686 $as_echo "no
" >&6; }
10691 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10692 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10693 set dummy ${ncn_progname}; ac_word=$2
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10695 $as_echo_n "checking
for $ac_word...
" >&6; }
10696 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10697 $as_echo_n "(cached
) " >&6
10699 if test -n "$GOC_FOR_TARGET"; then
10700 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10703 for as_dir in $PATH
10706 test -z "$as_dir" && as_dir=.
10707 for ac_exec_ext in '' $ac_executable_extensions; do
10708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10709 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10710 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10719 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10720 if test -n "$GOC_FOR_TARGET"; then
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10722 $as_echo "$GOC_FOR_TARGET" >&6; }
10724 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10725 $as_echo "no
" >&6; }
10730 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10734 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10736 if test $build = $target ; then
10737 GOC_FOR_TARGET="$2"
10739 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10742 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10747 cat > conftest.c << \EOF
10752 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10753 have_gcc_for_target=yes
10755 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10756 have_gcc_for_target=no
10763 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10764 if test -n "$with_build_time_tools"; then
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10766 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10767 if test -x $with_build_time_tools/ar; then
10768 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10769 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10771 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10774 $as_echo "no
" >&6; }
10776 elif test $build != $host && test $have_gcc_for_target = yes; then
10777 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10778 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10779 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10782 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10783 # Extract the first word of "ar", so it can be a program name with args.
10784 set dummy ar; ac_word=$2
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10786 $as_echo_n "checking
for $ac_word...
" >&6; }
10787 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10788 $as_echo_n "(cached
) " >&6
10790 case $AR_FOR_TARGET in
10792 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in $gcc_cv_tool_dirs
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10802 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10803 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10813 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10814 if test -n "$AR_FOR_TARGET"; then
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10816 $as_echo "$AR_FOR_TARGET" >&6; }
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10819 $as_echo "no
" >&6; }
10824 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10827 if test -n "$AR_FOR_TARGET"; then
10828 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10829 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10830 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10833 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10834 for ncn_progname in ar; do
10835 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10836 set dummy ${ncn_progname}; ac_word=$2
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10838 $as_echo_n "checking
for $ac_word...
" >&6; }
10839 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10840 $as_echo_n "(cached
) " >&6
10842 if test -n "$AR_FOR_TARGET"; then
10843 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10846 for as_dir in $PATH
10849 test -z "$as_dir" && as_dir=.
10850 for ac_exec_ext in '' $ac_executable_extensions; do
10851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10852 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10853 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10862 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10863 if test -n "$AR_FOR_TARGET"; then
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10865 $as_echo "$AR_FOR_TARGET" >&6; }
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10868 $as_echo "no
" >&6; }
10875 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10876 for ncn_progname in ar; do
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10878 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10879 if test -x $with_build_time_tools/${ncn_progname}; then
10880 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10882 $as_echo "yes" >&6; }
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10886 $as_echo "no
" >&6; }
10891 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10892 for ncn_progname in ar; do
10893 if test -n "$ncn_target_tool_prefix"; then
10894 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10895 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10897 $as_echo_n "checking
for $ac_word...
" >&6; }
10898 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10899 $as_echo_n "(cached
) " >&6
10901 if test -n "$AR_FOR_TARGET"; then
10902 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10905 for as_dir in $PATH
10908 test -z "$as_dir" && as_dir=.
10909 for ac_exec_ext in '' $ac_executable_extensions; do
10910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10911 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10912 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10921 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10922 if test -n "$AR_FOR_TARGET"; then
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10924 $as_echo "$AR_FOR_TARGET" >&6; }
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10927 $as_echo "no
" >&6; }
10932 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10933 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10934 set dummy ${ncn_progname}; ac_word=$2
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10936 $as_echo_n "checking
for $ac_word...
" >&6; }
10937 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10938 $as_echo_n "(cached
) " >&6
10940 if test -n "$AR_FOR_TARGET"; then
10941 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10944 for as_dir in $PATH
10947 test -z "$as_dir" && as_dir=.
10948 for ac_exec_ext in '' $ac_executable_extensions; do
10949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10950 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10951 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10960 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10961 if test -n "$AR_FOR_TARGET"; then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10963 $as_echo "$AR_FOR_TARGET" >&6; }
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10966 $as_echo "no
" >&6; }
10971 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10975 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10977 if test $build = $target ; then
10980 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10983 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10987 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10993 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10994 if test -n "$with_build_time_tools"; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10996 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10997 if test -x $with_build_time_tools/as; then
10998 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10999 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11001 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11004 $as_echo "no
" >&6; }
11006 elif test $build != $host && test $have_gcc_for_target = yes; then
11007 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11008 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11009 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11012 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11013 # Extract the first word of "as
", so it can be a program name with args.
11014 set dummy as; ac_word=$2
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11016 $as_echo_n "checking
for $ac_word...
" >&6; }
11017 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11018 $as_echo_n "(cached
) " >&6
11020 case $AS_FOR_TARGET in
11022 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11026 for as_dir in $gcc_cv_tool_dirs
11029 test -z "$as_dir" && as_dir=.
11030 for ac_exec_ext in '' $ac_executable_extensions; do
11031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11032 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11033 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11043 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11044 if test -n "$AS_FOR_TARGET"; then
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11046 $as_echo "$AS_FOR_TARGET" >&6; }
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11049 $as_echo "no
" >&6; }
11054 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11057 if test -n "$AS_FOR_TARGET"; then
11058 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11059 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11060 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11063 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11064 for ncn_progname in as; do
11065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11066 set dummy ${ncn_progname}; ac_word=$2
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11068 $as_echo_n "checking
for $ac_word...
" >&6; }
11069 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11070 $as_echo_n "(cached
) " >&6
11072 if test -n "$AS_FOR_TARGET"; then
11073 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11076 for as_dir in $PATH
11079 test -z "$as_dir" && as_dir=.
11080 for ac_exec_ext in '' $ac_executable_extensions; do
11081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11082 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11092 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11093 if test -n "$AS_FOR_TARGET"; then
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11095 $as_echo "$AS_FOR_TARGET" >&6; }
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11098 $as_echo "no
" >&6; }
11105 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11106 for ncn_progname in as; do
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11108 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11109 if test -x $with_build_time_tools/${ncn_progname}; then
11110 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11112 $as_echo "yes" >&6; }
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11116 $as_echo "no
" >&6; }
11121 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11122 for ncn_progname in as; do
11123 if test -n "$ncn_target_tool_prefix"; then
11124 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11125 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11127 $as_echo_n "checking
for $ac_word...
" >&6; }
11128 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11129 $as_echo_n "(cached
) " >&6
11131 if test -n "$AS_FOR_TARGET"; then
11132 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11135 for as_dir in $PATH
11138 test -z "$as_dir" && as_dir=.
11139 for ac_exec_ext in '' $ac_executable_extensions; do
11140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11141 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11151 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11152 if test -n "$AS_FOR_TARGET"; then
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11154 $as_echo "$AS_FOR_TARGET" >&6; }
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11157 $as_echo "no
" >&6; }
11162 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11163 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11164 set dummy ${ncn_progname}; ac_word=$2
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11166 $as_echo_n "checking
for $ac_word...
" >&6; }
11167 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11168 $as_echo_n "(cached
) " >&6
11170 if test -n "$AS_FOR_TARGET"; then
11171 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11174 for as_dir in $PATH
11177 test -z "$as_dir" && as_dir=.
11178 for ac_exec_ext in '' $ac_executable_extensions; do
11179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11180 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11190 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11191 if test -n "$AS_FOR_TARGET"; then
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11193 $as_echo "$AS_FOR_TARGET" >&6; }
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11196 $as_echo "no
" >&6; }
11201 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11205 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11207 if test $build = $target ; then
11210 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11213 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11217 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11223 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11224 if test -n "$with_build_time_tools"; then
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11226 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11227 if test -x $with_build_time_tools/dlltool; then
11228 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11229 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11231 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11234 $as_echo "no
" >&6; }
11236 elif test $build != $host && test $have_gcc_for_target = yes; then
11237 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11238 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11239 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11242 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11243 # Extract the first word of "dlltool
", so it can be a program name with args.
11244 set dummy dlltool; ac_word=$2
11245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11246 $as_echo_n "checking
for $ac_word...
" >&6; }
11247 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11248 $as_echo_n "(cached
) " >&6
11250 case $DLLTOOL_FOR_TARGET in
11252 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11256 for as_dir in $gcc_cv_tool_dirs
11259 test -z "$as_dir" && as_dir=.
11260 for ac_exec_ext in '' $ac_executable_extensions; do
11261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11262 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11263 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11273 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11274 if test -n "$DLLTOOL_FOR_TARGET"; then
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11276 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11279 $as_echo "no
" >&6; }
11284 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11287 if test -n "$DLLTOOL_FOR_TARGET"; then
11288 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11289 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11290 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11293 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11294 for ncn_progname in dlltool; do
11295 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11296 set dummy ${ncn_progname}; ac_word=$2
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11298 $as_echo_n "checking
for $ac_word...
" >&6; }
11299 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11300 $as_echo_n "(cached
) " >&6
11302 if test -n "$DLLTOOL_FOR_TARGET"; then
11303 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11306 for as_dir in $PATH
11309 test -z "$as_dir" && as_dir=.
11310 for ac_exec_ext in '' $ac_executable_extensions; do
11311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11312 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11313 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11322 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11323 if test -n "$DLLTOOL_FOR_TARGET"; then
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11325 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11328 $as_echo "no
" >&6; }
11335 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11336 for ncn_progname in dlltool; do
11337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11338 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11339 if test -x $with_build_time_tools/${ncn_progname}; then
11340 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11342 $as_echo "yes" >&6; }
11345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11346 $as_echo "no
" >&6; }
11351 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11352 for ncn_progname in dlltool; do
11353 if test -n "$ncn_target_tool_prefix"; then
11354 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11355 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11357 $as_echo_n "checking
for $ac_word...
" >&6; }
11358 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11359 $as_echo_n "(cached
) " >&6
11361 if test -n "$DLLTOOL_FOR_TARGET"; then
11362 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11365 for as_dir in $PATH
11368 test -z "$as_dir" && as_dir=.
11369 for ac_exec_ext in '' $ac_executable_extensions; do
11370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11371 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11372 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11381 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11382 if test -n "$DLLTOOL_FOR_TARGET"; then
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11384 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11387 $as_echo "no
" >&6; }
11392 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11393 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11394 set dummy ${ncn_progname}; ac_word=$2
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11396 $as_echo_n "checking
for $ac_word...
" >&6; }
11397 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11398 $as_echo_n "(cached
) " >&6
11400 if test -n "$DLLTOOL_FOR_TARGET"; then
11401 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11404 for as_dir in $PATH
11407 test -z "$as_dir" && as_dir=.
11408 for ac_exec_ext in '' $ac_executable_extensions; do
11409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11410 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11411 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11420 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11421 if test -n "$DLLTOOL_FOR_TARGET"; then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11423 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11426 $as_echo "no
" >&6; }
11431 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11435 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11437 if test $build = $target ; then
11438 DLLTOOL_FOR_TARGET="$2"
11440 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11443 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11447 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11453 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11454 if test -n "$with_build_time_tools"; then
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11456 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11457 if test -x $with_build_time_tools/ld; then
11458 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11459 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11461 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11464 $as_echo "no
" >&6; }
11466 elif test $build != $host && test $have_gcc_for_target = yes; then
11467 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11468 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11469 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11472 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11473 # Extract the first word of "ld
", so it can be a program name with args.
11474 set dummy ld; ac_word=$2
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11476 $as_echo_n "checking
for $ac_word...
" >&6; }
11477 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11478 $as_echo_n "(cached
) " >&6
11480 case $LD_FOR_TARGET in
11482 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11486 for as_dir in $gcc_cv_tool_dirs
11489 test -z "$as_dir" && as_dir=.
11490 for ac_exec_ext in '' $ac_executable_extensions; do
11491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11492 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11493 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11503 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11504 if test -n "$LD_FOR_TARGET"; then
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11506 $as_echo "$LD_FOR_TARGET" >&6; }
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11509 $as_echo "no
" >&6; }
11514 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11517 if test -n "$LD_FOR_TARGET"; then
11518 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11519 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11520 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11523 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11524 for ncn_progname in ld; do
11525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11526 set dummy ${ncn_progname}; ac_word=$2
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11528 $as_echo_n "checking
for $ac_word...
" >&6; }
11529 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11530 $as_echo_n "(cached
) " >&6
11532 if test -n "$LD_FOR_TARGET"; then
11533 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11536 for as_dir in $PATH
11539 test -z "$as_dir" && as_dir=.
11540 for ac_exec_ext in '' $ac_executable_extensions; do
11541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11542 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11552 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11553 if test -n "$LD_FOR_TARGET"; then
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11555 $as_echo "$LD_FOR_TARGET" >&6; }
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11558 $as_echo "no
" >&6; }
11565 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11566 for ncn_progname in ld; do
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11568 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11569 if test -x $with_build_time_tools/${ncn_progname}; then
11570 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11572 $as_echo "yes" >&6; }
11575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11576 $as_echo "no
" >&6; }
11581 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11582 for ncn_progname in ld; do
11583 if test -n "$ncn_target_tool_prefix"; then
11584 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11585 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11587 $as_echo_n "checking
for $ac_word...
" >&6; }
11588 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11589 $as_echo_n "(cached
) " >&6
11591 if test -n "$LD_FOR_TARGET"; then
11592 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11595 for as_dir in $PATH
11598 test -z "$as_dir" && as_dir=.
11599 for ac_exec_ext in '' $ac_executable_extensions; do
11600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11601 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11602 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11611 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11612 if test -n "$LD_FOR_TARGET"; then
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11614 $as_echo "$LD_FOR_TARGET" >&6; }
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11617 $as_echo "no
" >&6; }
11622 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11623 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11624 set dummy ${ncn_progname}; ac_word=$2
11625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11626 $as_echo_n "checking
for $ac_word...
" >&6; }
11627 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11628 $as_echo_n "(cached
) " >&6
11630 if test -n "$LD_FOR_TARGET"; then
11631 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11634 for as_dir in $PATH
11637 test -z "$as_dir" && as_dir=.
11638 for ac_exec_ext in '' $ac_executable_extensions; do
11639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11640 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11650 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11651 if test -n "$LD_FOR_TARGET"; then
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11653 $as_echo "$LD_FOR_TARGET" >&6; }
11655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11656 $as_echo "no
" >&6; }
11661 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11665 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11667 if test $build = $target ; then
11670 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11673 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11677 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11683 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11684 if test -n "$with_build_time_tools"; then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11686 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11687 if test -x $with_build_time_tools/lipo; then
11688 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11689 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11691 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11694 $as_echo "no
" >&6; }
11696 elif test $build != $host && test $have_gcc_for_target = yes; then
11697 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11698 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11699 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11702 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11703 # Extract the first word of "lipo
", so it can be a program name with args.
11704 set dummy lipo; ac_word=$2
11705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11706 $as_echo_n "checking
for $ac_word...
" >&6; }
11707 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11708 $as_echo_n "(cached
) " >&6
11710 case $LIPO_FOR_TARGET in
11712 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11716 for as_dir in $gcc_cv_tool_dirs
11719 test -z "$as_dir" && as_dir=.
11720 for ac_exec_ext in '' $ac_executable_extensions; do
11721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11722 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11723 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11733 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11734 if test -n "$LIPO_FOR_TARGET"; then
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11736 $as_echo "$LIPO_FOR_TARGET" >&6; }
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11739 $as_echo "no
" >&6; }
11744 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11747 if test -n "$LIPO_FOR_TARGET"; then
11748 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11749 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11750 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11753 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11754 for ncn_progname in lipo; do
11755 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11756 set dummy ${ncn_progname}; ac_word=$2
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11758 $as_echo_n "checking
for $ac_word...
" >&6; }
11759 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11760 $as_echo_n "(cached
) " >&6
11762 if test -n "$LIPO_FOR_TARGET"; then
11763 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11769 test -z "$as_dir" && as_dir=.
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11772 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11773 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11782 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11783 if test -n "$LIPO_FOR_TARGET"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11785 $as_echo "$LIPO_FOR_TARGET" >&6; }
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11788 $as_echo "no
" >&6; }
11795 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11796 for ncn_progname in lipo; do
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11798 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11799 if test -x $with_build_time_tools/${ncn_progname}; then
11800 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11802 $as_echo "yes" >&6; }
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11806 $as_echo "no
" >&6; }
11811 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11812 for ncn_progname in lipo; do
11813 if test -n "$ncn_target_tool_prefix"; then
11814 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11815 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11817 $as_echo_n "checking
for $ac_word...
" >&6; }
11818 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11819 $as_echo_n "(cached
) " >&6
11821 if test -n "$LIPO_FOR_TARGET"; then
11822 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11825 for as_dir in $PATH
11828 test -z "$as_dir" && as_dir=.
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11831 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11832 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11841 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11842 if test -n "$LIPO_FOR_TARGET"; then
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11844 $as_echo "$LIPO_FOR_TARGET" >&6; }
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11847 $as_echo "no
" >&6; }
11852 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11853 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11854 set dummy ${ncn_progname}; ac_word=$2
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11856 $as_echo_n "checking
for $ac_word...
" >&6; }
11857 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11858 $as_echo_n "(cached
) " >&6
11860 if test -n "$LIPO_FOR_TARGET"; then
11861 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11864 for as_dir in $PATH
11867 test -z "$as_dir" && as_dir=.
11868 for ac_exec_ext in '' $ac_executable_extensions; do
11869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11870 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11871 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11880 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11881 if test -n "$LIPO_FOR_TARGET"; then
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11883 $as_echo "$LIPO_FOR_TARGET" >&6; }
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11886 $as_echo "no
" >&6; }
11891 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11895 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11897 if test $build = $target ; then
11898 LIPO_FOR_TARGET="$2"
11900 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11903 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11907 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11913 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11914 if test -n "$with_build_time_tools"; then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11916 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11917 if test -x $with_build_time_tools/nm; then
11918 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11919 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11921 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11924 $as_echo "no
" >&6; }
11926 elif test $build != $host && test $have_gcc_for_target = yes; then
11927 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11928 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11929 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11932 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11933 # Extract the first word of "nm
", so it can be a program name with args.
11934 set dummy nm; ac_word=$2
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11936 $as_echo_n "checking
for $ac_word...
" >&6; }
11937 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11938 $as_echo_n "(cached
) " >&6
11940 case $NM_FOR_TARGET in
11942 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11946 for as_dir in $gcc_cv_tool_dirs
11949 test -z "$as_dir" && as_dir=.
11950 for ac_exec_ext in '' $ac_executable_extensions; do
11951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11952 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11953 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11963 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11964 if test -n "$NM_FOR_TARGET"; then
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11966 $as_echo "$NM_FOR_TARGET" >&6; }
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11969 $as_echo "no
" >&6; }
11974 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11977 if test -n "$NM_FOR_TARGET"; then
11978 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11979 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11980 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11983 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11984 for ncn_progname in nm; do
11985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11986 set dummy ${ncn_progname}; ac_word=$2
11987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11988 $as_echo_n "checking
for $ac_word...
" >&6; }
11989 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11990 $as_echo_n "(cached
) " >&6
11992 if test -n "$NM_FOR_TARGET"; then
11993 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11996 for as_dir in $PATH
11999 test -z "$as_dir" && as_dir=.
12000 for ac_exec_ext in '' $ac_executable_extensions; do
12001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12002 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12012 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12013 if test -n "$NM_FOR_TARGET"; then
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12015 $as_echo "$NM_FOR_TARGET" >&6; }
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12018 $as_echo "no
" >&6; }
12025 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12026 for ncn_progname in nm; do
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12028 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12029 if test -x $with_build_time_tools/${ncn_progname}; then
12030 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12032 $as_echo "yes" >&6; }
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12036 $as_echo "no
" >&6; }
12041 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12042 for ncn_progname in nm; do
12043 if test -n "$ncn_target_tool_prefix"; then
12044 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12045 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12047 $as_echo_n "checking
for $ac_word...
" >&6; }
12048 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12049 $as_echo_n "(cached
) " >&6
12051 if test -n "$NM_FOR_TARGET"; then
12052 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12055 for as_dir in $PATH
12058 test -z "$as_dir" && as_dir=.
12059 for ac_exec_ext in '' $ac_executable_extensions; do
12060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12061 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12062 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12071 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12072 if test -n "$NM_FOR_TARGET"; then
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12074 $as_echo "$NM_FOR_TARGET" >&6; }
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12077 $as_echo "no
" >&6; }
12082 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12083 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12084 set dummy ${ncn_progname}; ac_word=$2
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12086 $as_echo_n "checking
for $ac_word...
" >&6; }
12087 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12088 $as_echo_n "(cached
) " >&6
12090 if test -n "$NM_FOR_TARGET"; then
12091 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12094 for as_dir in $PATH
12097 test -z "$as_dir" && as_dir=.
12098 for ac_exec_ext in '' $ac_executable_extensions; do
12099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12100 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12101 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12110 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12111 if test -n "$NM_FOR_TARGET"; then
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12113 $as_echo "$NM_FOR_TARGET" >&6; }
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12116 $as_echo "no
" >&6; }
12121 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12125 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12127 if test $build = $target ; then
12130 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12133 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12137 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12143 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12144 if test -n "$with_build_time_tools"; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12146 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12147 if test -x $with_build_time_tools/objdump; then
12148 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12149 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12151 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12154 $as_echo "no
" >&6; }
12156 elif test $build != $host && test $have_gcc_for_target = yes; then
12157 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12158 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12159 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12162 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12163 # Extract the first word of "objdump
", so it can be a program name with args.
12164 set dummy objdump; ac_word=$2
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12166 $as_echo_n "checking
for $ac_word...
" >&6; }
12167 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12168 $as_echo_n "(cached
) " >&6
12170 case $OBJDUMP_FOR_TARGET in
12172 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12176 for as_dir in $gcc_cv_tool_dirs
12179 test -z "$as_dir" && as_dir=.
12180 for ac_exec_ext in '' $ac_executable_extensions; do
12181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12182 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12183 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12193 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12194 if test -n "$OBJDUMP_FOR_TARGET"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12196 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12199 $as_echo "no
" >&6; }
12204 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12207 if test -n "$OBJDUMP_FOR_TARGET"; then
12208 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12209 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12210 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12213 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12214 for ncn_progname in objdump; do
12215 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12216 set dummy ${ncn_progname}; ac_word=$2
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12218 $as_echo_n "checking
for $ac_word...
" >&6; }
12219 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12220 $as_echo_n "(cached
) " >&6
12222 if test -n "$OBJDUMP_FOR_TARGET"; then
12223 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12226 for as_dir in $PATH
12229 test -z "$as_dir" && as_dir=.
12230 for ac_exec_ext in '' $ac_executable_extensions; do
12231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12232 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12233 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12242 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12243 if test -n "$OBJDUMP_FOR_TARGET"; then
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12245 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12248 $as_echo "no
" >&6; }
12255 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12256 for ncn_progname in objdump; do
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12258 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12259 if test -x $with_build_time_tools/${ncn_progname}; then
12260 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12262 $as_echo "yes" >&6; }
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12266 $as_echo "no
" >&6; }
12271 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12272 for ncn_progname in objdump; do
12273 if test -n "$ncn_target_tool_prefix"; then
12274 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12275 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12277 $as_echo_n "checking
for $ac_word...
" >&6; }
12278 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12279 $as_echo_n "(cached
) " >&6
12281 if test -n "$OBJDUMP_FOR_TARGET"; then
12282 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12285 for as_dir in $PATH
12288 test -z "$as_dir" && as_dir=.
12289 for ac_exec_ext in '' $ac_executable_extensions; do
12290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12291 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12301 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12302 if test -n "$OBJDUMP_FOR_TARGET"; then
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12304 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12307 $as_echo "no
" >&6; }
12312 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12313 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12314 set dummy ${ncn_progname}; ac_word=$2
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12316 $as_echo_n "checking
for $ac_word...
" >&6; }
12317 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12318 $as_echo_n "(cached
) " >&6
12320 if test -n "$OBJDUMP_FOR_TARGET"; then
12321 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12324 for as_dir in $PATH
12327 test -z "$as_dir" && as_dir=.
12328 for ac_exec_ext in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12331 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12340 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12341 if test -n "$OBJDUMP_FOR_TARGET"; then
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12343 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12346 $as_echo "no
" >&6; }
12351 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12355 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12357 if test $build = $target ; then
12358 OBJDUMP_FOR_TARGET="$2"
12360 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12363 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12367 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12373 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12374 if test -n "$with_build_time_tools"; then
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12376 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12377 if test -x $with_build_time_tools/ranlib; then
12378 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12379 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12381 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12384 $as_echo "no
" >&6; }
12386 elif test $build != $host && test $have_gcc_for_target = yes; then
12387 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12388 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12389 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12392 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12393 # Extract the first word of "ranlib
", so it can be a program name with args.
12394 set dummy ranlib; ac_word=$2
12395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12396 $as_echo_n "checking
for $ac_word...
" >&6; }
12397 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12398 $as_echo_n "(cached
) " >&6
12400 case $RANLIB_FOR_TARGET in
12402 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12406 for as_dir in $gcc_cv_tool_dirs
12409 test -z "$as_dir" && as_dir=.
12410 for ac_exec_ext in '' $ac_executable_extensions; do
12411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12412 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12413 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12423 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12424 if test -n "$RANLIB_FOR_TARGET"; then
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12426 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12429 $as_echo "no
" >&6; }
12434 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12437 if test -n "$RANLIB_FOR_TARGET"; then
12438 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12439 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12440 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12443 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12444 for ncn_progname in ranlib; do
12445 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12446 set dummy ${ncn_progname}; ac_word=$2
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12448 $as_echo_n "checking
for $ac_word...
" >&6; }
12449 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12450 $as_echo_n "(cached
) " >&6
12452 if test -n "$RANLIB_FOR_TARGET"; then
12453 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12456 for as_dir in $PATH
12459 test -z "$as_dir" && as_dir=.
12460 for ac_exec_ext in '' $ac_executable_extensions; do
12461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12462 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12472 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12473 if test -n "$RANLIB_FOR_TARGET"; then
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12475 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12478 $as_echo "no
" >&6; }
12485 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12486 for ncn_progname in ranlib; do
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12488 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12489 if test -x $with_build_time_tools/${ncn_progname}; then
12490 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12492 $as_echo "yes" >&6; }
12495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12496 $as_echo "no
" >&6; }
12501 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12502 for ncn_progname in ranlib; do
12503 if test -n "$ncn_target_tool_prefix"; then
12504 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12505 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12507 $as_echo_n "checking
for $ac_word...
" >&6; }
12508 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12509 $as_echo_n "(cached
) " >&6
12511 if test -n "$RANLIB_FOR_TARGET"; then
12512 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12515 for as_dir in $PATH
12518 test -z "$as_dir" && as_dir=.
12519 for ac_exec_ext in '' $ac_executable_extensions; do
12520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12521 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12522 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12531 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12532 if test -n "$RANLIB_FOR_TARGET"; then
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12534 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12537 $as_echo "no
" >&6; }
12542 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12543 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12544 set dummy ${ncn_progname}; ac_word=$2
12545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12546 $as_echo_n "checking
for $ac_word...
" >&6; }
12547 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12548 $as_echo_n "(cached
) " >&6
12550 if test -n "$RANLIB_FOR_TARGET"; then
12551 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12554 for as_dir in $PATH
12557 test -z "$as_dir" && as_dir=.
12558 for ac_exec_ext in '' $ac_executable_extensions; do
12559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12560 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12561 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12570 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12571 if test -n "$RANLIB_FOR_TARGET"; then
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12573 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12576 $as_echo "no
" >&6; }
12581 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12585 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12587 if test $build = $target ; then
12588 RANLIB_FOR_TARGET="$2"
12590 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12593 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12597 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12603 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12604 if test -n "$with_build_time_tools"; then
12605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12606 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12607 if test -x $with_build_time_tools/readelf; then
12608 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12609 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12611 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12614 $as_echo "no
" >&6; }
12616 elif test $build != $host && test $have_gcc_for_target = yes; then
12617 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12618 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12619 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12622 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12623 # Extract the first word of "readelf
", so it can be a program name with args.
12624 set dummy readelf; ac_word=$2
12625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12626 $as_echo_n "checking
for $ac_word...
" >&6; }
12627 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12628 $as_echo_n "(cached
) " >&6
12630 case $READELF_FOR_TARGET in
12632 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12636 for as_dir in $gcc_cv_tool_dirs
12639 test -z "$as_dir" && as_dir=.
12640 for ac_exec_ext in '' $ac_executable_extensions; do
12641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12642 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12653 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12654 if test -n "$READELF_FOR_TARGET"; then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12656 $as_echo "$READELF_FOR_TARGET" >&6; }
12658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12659 $as_echo "no
" >&6; }
12664 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12667 if test -n "$READELF_FOR_TARGET"; then
12668 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12669 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12670 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12673 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12674 for ncn_progname in readelf; do
12675 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12676 set dummy ${ncn_progname}; ac_word=$2
12677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12678 $as_echo_n "checking
for $ac_word...
" >&6; }
12679 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12680 $as_echo_n "(cached
) " >&6
12682 if test -n "$READELF_FOR_TARGET"; then
12683 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12686 for as_dir in $PATH
12689 test -z "$as_dir" && as_dir=.
12690 for ac_exec_ext in '' $ac_executable_extensions; do
12691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12692 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12693 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12702 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12703 if test -n "$READELF_FOR_TARGET"; then
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12705 $as_echo "$READELF_FOR_TARGET" >&6; }
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12708 $as_echo "no
" >&6; }
12715 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12716 for ncn_progname in readelf; do
12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12718 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12719 if test -x $with_build_time_tools/${ncn_progname}; then
12720 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12722 $as_echo "yes" >&6; }
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12726 $as_echo "no
" >&6; }
12731 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12732 for ncn_progname in readelf; do
12733 if test -n "$ncn_target_tool_prefix"; then
12734 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12735 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12737 $as_echo_n "checking
for $ac_word...
" >&6; }
12738 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12739 $as_echo_n "(cached
) " >&6
12741 if test -n "$READELF_FOR_TARGET"; then
12742 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12745 for as_dir in $PATH
12748 test -z "$as_dir" && as_dir=.
12749 for ac_exec_ext in '' $ac_executable_extensions; do
12750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12751 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12752 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12761 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12762 if test -n "$READELF_FOR_TARGET"; then
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12764 $as_echo "$READELF_FOR_TARGET" >&6; }
12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12767 $as_echo "no
" >&6; }
12772 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12773 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12774 set dummy ${ncn_progname}; ac_word=$2
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12776 $as_echo_n "checking
for $ac_word...
" >&6; }
12777 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12778 $as_echo_n "(cached
) " >&6
12780 if test -n "$READELF_FOR_TARGET"; then
12781 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12784 for as_dir in $PATH
12787 test -z "$as_dir" && as_dir=.
12788 for ac_exec_ext in '' $ac_executable_extensions; do
12789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12790 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12791 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12800 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12801 if test -n "$READELF_FOR_TARGET"; then
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12803 $as_echo "$READELF_FOR_TARGET" >&6; }
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12806 $as_echo "no
" >&6; }
12811 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12815 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12817 if test $build = $target ; then
12818 READELF_FOR_TARGET="$2"
12820 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12823 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12827 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12833 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12834 if test -n "$with_build_time_tools"; then
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12836 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12837 if test -x $with_build_time_tools/strip; then
12838 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12839 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12841 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12844 $as_echo "no
" >&6; }
12846 elif test $build != $host && test $have_gcc_for_target = yes; then
12847 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12848 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12849 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12852 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12853 # Extract the first word of "strip
", so it can be a program name with args.
12854 set dummy strip; ac_word=$2
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12856 $as_echo_n "checking
for $ac_word...
" >&6; }
12857 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12858 $as_echo_n "(cached
) " >&6
12860 case $STRIP_FOR_TARGET in
12862 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12866 for as_dir in $gcc_cv_tool_dirs
12869 test -z "$as_dir" && as_dir=.
12870 for ac_exec_ext in '' $ac_executable_extensions; do
12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12872 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12873 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12883 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12884 if test -n "$STRIP_FOR_TARGET"; then
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12886 $as_echo "$STRIP_FOR_TARGET" >&6; }
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12889 $as_echo "no
" >&6; }
12894 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12897 if test -n "$STRIP_FOR_TARGET"; then
12898 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12899 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12900 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12903 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12904 for ncn_progname in strip; do
12905 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12906 set dummy ${ncn_progname}; ac_word=$2
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12908 $as_echo_n "checking
for $ac_word...
" >&6; }
12909 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12910 $as_echo_n "(cached
) " >&6
12912 if test -n "$STRIP_FOR_TARGET"; then
12913 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12916 for as_dir in $PATH
12919 test -z "$as_dir" && as_dir=.
12920 for ac_exec_ext in '' $ac_executable_extensions; do
12921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12922 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12932 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12933 if test -n "$STRIP_FOR_TARGET"; then
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12935 $as_echo "$STRIP_FOR_TARGET" >&6; }
12937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12938 $as_echo "no
" >&6; }
12945 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12946 for ncn_progname in strip; do
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12948 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12949 if test -x $with_build_time_tools/${ncn_progname}; then
12950 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12952 $as_echo "yes" >&6; }
12955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12956 $as_echo "no
" >&6; }
12961 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12962 for ncn_progname in strip; do
12963 if test -n "$ncn_target_tool_prefix"; then
12964 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12965 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12967 $as_echo_n "checking
for $ac_word...
" >&6; }
12968 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12969 $as_echo_n "(cached
) " >&6
12971 if test -n "$STRIP_FOR_TARGET"; then
12972 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12975 for as_dir in $PATH
12978 test -z "$as_dir" && as_dir=.
12979 for ac_exec_ext in '' $ac_executable_extensions; do
12980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12981 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12982 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12991 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12992 if test -n "$STRIP_FOR_TARGET"; then
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12994 $as_echo "$STRIP_FOR_TARGET" >&6; }
12996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12997 $as_echo "no
" >&6; }
13002 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13003 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13004 set dummy ${ncn_progname}; ac_word=$2
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13006 $as_echo_n "checking
for $ac_word...
" >&6; }
13007 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13008 $as_echo_n "(cached
) " >&6
13010 if test -n "$STRIP_FOR_TARGET"; then
13011 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13014 for as_dir in $PATH
13017 test -z "$as_dir" && as_dir=.
13018 for ac_exec_ext in '' $ac_executable_extensions; do
13019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13020 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13021 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13030 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13031 if test -n "$STRIP_FOR_TARGET"; then
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13033 $as_echo "$STRIP_FOR_TARGET" >&6; }
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13036 $as_echo "no
" >&6; }
13041 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13045 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13047 if test $build = $target ; then
13048 STRIP_FOR_TARGET="$2"
13050 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13053 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13057 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13063 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13064 if test -n "$with_build_time_tools"; then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13066 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13067 if test -x $with_build_time_tools/windres; then
13068 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13069 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13071 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13074 $as_echo "no
" >&6; }
13076 elif test $build != $host && test $have_gcc_for_target = yes; then
13077 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13078 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13079 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13082 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13083 # Extract the first word of "windres
", so it can be a program name with args.
13084 set dummy windres; ac_word=$2
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13086 $as_echo_n "checking
for $ac_word...
" >&6; }
13087 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13088 $as_echo_n "(cached
) " >&6
13090 case $WINDRES_FOR_TARGET in
13092 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13096 for as_dir in $gcc_cv_tool_dirs
13099 test -z "$as_dir" && as_dir=.
13100 for ac_exec_ext in '' $ac_executable_extensions; do
13101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13102 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13103 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13113 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13114 if test -n "$WINDRES_FOR_TARGET"; then
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13116 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13119 $as_echo "no
" >&6; }
13124 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13127 if test -n "$WINDRES_FOR_TARGET"; then
13128 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13129 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13130 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13133 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13134 for ncn_progname in windres; do
13135 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13136 set dummy ${ncn_progname}; ac_word=$2
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13138 $as_echo_n "checking
for $ac_word...
" >&6; }
13139 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13140 $as_echo_n "(cached
) " >&6
13142 if test -n "$WINDRES_FOR_TARGET"; then
13143 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13146 for as_dir in $PATH
13149 test -z "$as_dir" && as_dir=.
13150 for ac_exec_ext in '' $ac_executable_extensions; do
13151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13152 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13162 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13163 if test -n "$WINDRES_FOR_TARGET"; then
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13165 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13168 $as_echo "no
" >&6; }
13175 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13176 for ncn_progname in windres; do
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13178 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13179 if test -x $with_build_time_tools/${ncn_progname}; then
13180 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13182 $as_echo "yes" >&6; }
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13186 $as_echo "no
" >&6; }
13191 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13192 for ncn_progname in windres; do
13193 if test -n "$ncn_target_tool_prefix"; then
13194 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13195 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13197 $as_echo_n "checking
for $ac_word...
" >&6; }
13198 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13199 $as_echo_n "(cached
) " >&6
13201 if test -n "$WINDRES_FOR_TARGET"; then
13202 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13205 for as_dir in $PATH
13208 test -z "$as_dir" && as_dir=.
13209 for ac_exec_ext in '' $ac_executable_extensions; do
13210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13211 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13212 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13221 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13222 if test -n "$WINDRES_FOR_TARGET"; then
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13224 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13227 $as_echo "no
" >&6; }
13232 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13233 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13234 set dummy ${ncn_progname}; ac_word=$2
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13236 $as_echo_n "checking
for $ac_word...
" >&6; }
13237 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13238 $as_echo_n "(cached
) " >&6
13240 if test -n "$WINDRES_FOR_TARGET"; then
13241 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13244 for as_dir in $PATH
13247 test -z "$as_dir" && as_dir=.
13248 for ac_exec_ext in '' $ac_executable_extensions; do
13249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13250 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13260 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13261 if test -n "$WINDRES_FOR_TARGET"; then
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13263 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13266 $as_echo "no
" >&6; }
13271 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13275 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13277 if test $build = $target ; then
13278 WINDRES_FOR_TARGET="$2"
13280 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13283 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13287 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13293 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13294 if test -n "$with_build_time_tools"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13296 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13297 if test -x $with_build_time_tools/windmc; then
13298 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13299 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13301 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13304 $as_echo "no
" >&6; }
13306 elif test $build != $host && test $have_gcc_for_target = yes; then
13307 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13308 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13309 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13312 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13313 # Extract the first word of "windmc
", so it can be a program name with args.
13314 set dummy windmc; ac_word=$2
13315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13316 $as_echo_n "checking
for $ac_word...
" >&6; }
13317 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13318 $as_echo_n "(cached
) " >&6
13320 case $WINDMC_FOR_TARGET in
13322 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13326 for as_dir in $gcc_cv_tool_dirs
13329 test -z "$as_dir" && as_dir=.
13330 for ac_exec_ext in '' $ac_executable_extensions; do
13331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13332 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13333 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13343 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13344 if test -n "$WINDMC_FOR_TARGET"; then
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13346 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13349 $as_echo "no
" >&6; }
13354 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13357 if test -n "$WINDMC_FOR_TARGET"; then
13358 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13359 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13360 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13363 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13364 for ncn_progname in windmc; do
13365 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13366 set dummy ${ncn_progname}; ac_word=$2
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13368 $as_echo_n "checking
for $ac_word...
" >&6; }
13369 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13370 $as_echo_n "(cached
) " >&6
13372 if test -n "$WINDMC_FOR_TARGET"; then
13373 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13376 for as_dir in $PATH
13379 test -z "$as_dir" && as_dir=.
13380 for ac_exec_ext in '' $ac_executable_extensions; do
13381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13382 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13392 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13393 if test -n "$WINDMC_FOR_TARGET"; then
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13395 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13398 $as_echo "no
" >&6; }
13405 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13406 for ncn_progname in windmc; do
13407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13408 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13409 if test -x $with_build_time_tools/${ncn_progname}; then
13410 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13412 $as_echo "yes" >&6; }
13415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13416 $as_echo "no
" >&6; }
13421 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13422 for ncn_progname in windmc; do
13423 if test -n "$ncn_target_tool_prefix"; then
13424 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13425 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13427 $as_echo_n "checking
for $ac_word...
" >&6; }
13428 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13429 $as_echo_n "(cached
) " >&6
13431 if test -n "$WINDMC_FOR_TARGET"; then
13432 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13435 for as_dir in $PATH
13438 test -z "$as_dir" && as_dir=.
13439 for ac_exec_ext in '' $ac_executable_extensions; do
13440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13441 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13442 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13451 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13452 if test -n "$WINDMC_FOR_TARGET"; then
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13454 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13457 $as_echo "no
" >&6; }
13462 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13463 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13464 set dummy ${ncn_progname}; ac_word=$2
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13466 $as_echo_n "checking
for $ac_word...
" >&6; }
13467 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13468 $as_echo_n "(cached
) " >&6
13470 if test -n "$WINDMC_FOR_TARGET"; then
13471 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13474 for as_dir in $PATH
13477 test -z "$as_dir" && as_dir=.
13478 for ac_exec_ext in '' $ac_executable_extensions; do
13479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13480 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13481 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13490 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13491 if test -n "$WINDMC_FOR_TARGET"; then
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13493 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13496 $as_echo "no
" >&6; }
13501 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13505 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13507 if test $build = $target ; then
13508 WINDMC_FOR_TARGET="$2"
13510 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13513 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13517 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13521 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13524 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13525 if test "x
${build}" != "x
${host}" ; then
13526 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13527 # We already found the complete path
13528 ac_dir=`dirname $AR_FOR_TARGET`
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13530 $as_echo "pre-installed
in $ac_dir" >&6; }
13532 # Canadian cross, just use what we found
13533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13534 $as_echo "pre-installed
" >&6; }
13538 case " ${configdirs} " in
13543 if test $ok = yes; then
13544 # An in-tree tool is available and we can use it
13545 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13547 $as_echo "just compiled
" >&6; }
13548 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13549 # We already found the complete path
13550 ac_dir=`dirname $AR_FOR_TARGET`
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13552 $as_echo "pre-installed
in $ac_dir" >&6; }
13553 elif test "x
$target" = "x
$host"; then
13554 # We can use an host tool
13555 AR_FOR_TARGET='$(AR)'
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13557 $as_echo "host tool
" >&6; }
13559 # We need a cross tool
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13561 $as_echo "pre-installed
" >&6; }
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13566 $as_echo_n "checking where to
find the target as...
" >&6; }
13567 if test "x
${build}" != "x
${host}" ; then
13568 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13569 # We already found the complete path
13570 ac_dir=`dirname $AS_FOR_TARGET`
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13572 $as_echo "pre-installed
in $ac_dir" >&6; }
13574 # Canadian cross, just use what we found
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13576 $as_echo "pre-installed
" >&6; }
13580 case " ${configdirs} " in
13585 if test $ok = yes; then
13586 # An in-tree tool is available and we can use it
13587 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13589 $as_echo "just compiled
" >&6; }
13590 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13591 # We already found the complete path
13592 ac_dir=`dirname $AS_FOR_TARGET`
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13594 $as_echo "pre-installed
in $ac_dir" >&6; }
13595 elif test "x
$target" = "x
$host"; then
13596 # We can use an host tool
13597 AS_FOR_TARGET='$(AS)'
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13599 $as_echo "host tool
" >&6; }
13601 # We need a cross tool
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13603 $as_echo "pre-installed
" >&6; }
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13608 $as_echo_n "checking where to
find the target cc...
" >&6; }
13609 if test "x
${build}" != "x
${host}" ; then
13610 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13611 # We already found the complete path
13612 ac_dir=`dirname $CC_FOR_TARGET`
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13614 $as_echo "pre-installed
in $ac_dir" >&6; }
13616 # Canadian cross, just use what we found
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13618 $as_echo "pre-installed
" >&6; }
13622 case " ${configdirs} " in
13627 if test $ok = yes; then
13628 # An in-tree tool is available and we can use it
13629 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13631 $as_echo "just compiled
" >&6; }
13632 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13633 # We already found the complete path
13634 ac_dir=`dirname $CC_FOR_TARGET`
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13636 $as_echo "pre-installed
in $ac_dir" >&6; }
13637 elif test "x
$target" = "x
$host"; then
13638 # We can use an host tool
13639 CC_FOR_TARGET='$(CC)'
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13641 $as_echo "host tool
" >&6; }
13643 # We need a cross tool
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13645 $as_echo "pre-installed
" >&6; }
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13650 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13651 if test "x
${build}" != "x
${host}" ; then
13652 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13653 # We already found the complete path
13654 ac_dir=`dirname $CXX_FOR_TARGET`
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13656 $as_echo "pre-installed
in $ac_dir" >&6; }
13658 # Canadian cross, just use what we found
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13660 $as_echo "pre-installed
" >&6; }
13664 case " ${configdirs} " in
13668 case ,${enable_languages}, in
13672 if test $ok = yes; then
13673 # An in-tree tool is available and we can use it
13674 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13676 $as_echo "just compiled
" >&6; }
13677 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13678 # We already found the complete path
13679 ac_dir=`dirname $CXX_FOR_TARGET`
13680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13681 $as_echo "pre-installed
in $ac_dir" >&6; }
13682 elif test "x
$target" = "x
$host"; then
13683 # We can use an host tool
13684 CXX_FOR_TARGET='$(CXX)'
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13686 $as_echo "host tool
" >&6; }
13688 # We need a cross tool
13689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13690 $as_echo "pre-installed
" >&6; }
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13695 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13696 if test "x
${build}" != "x
${host}" ; then
13697 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13698 # We already found the complete path
13699 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13701 $as_echo "pre-installed
in $ac_dir" >&6; }
13703 # Canadian cross, just use what we found
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13705 $as_echo "pre-installed
" >&6; }
13709 case " ${configdirs} " in
13713 case ,${enable_languages}, in
13717 if test $ok = yes; then
13718 # An in-tree tool is available and we can use it
13719 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'
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13721 $as_echo "just compiled
" >&6; }
13722 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13723 # We already found the complete path
13724 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13726 $as_echo "pre-installed
in $ac_dir" >&6; }
13727 elif test "x
$target" = "x
$host"; then
13728 # We can use an host tool
13729 RAW_CXX_FOR_TARGET='$(CXX)'
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13731 $as_echo "host tool
" >&6; }
13733 # We need a cross tool
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13735 $as_echo "pre-installed
" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13740 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13741 if test "x
${build}" != "x
${host}" ; then
13742 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13743 # We already found the complete path
13744 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13746 $as_echo "pre-installed
in $ac_dir" >&6; }
13748 # Canadian cross, just use what we found
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13750 $as_echo "pre-installed
" >&6; }
13754 case " ${configdirs} " in
13759 if test $ok = yes; then
13760 # An in-tree tool is available and we can use it
13761 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13763 $as_echo "just compiled
" >&6; }
13764 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13765 # We already found the complete path
13766 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13768 $as_echo "pre-installed
in $ac_dir" >&6; }
13769 elif test "x
$target" = "x
$host"; then
13770 # We can use an host tool
13771 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13773 $as_echo "host tool
" >&6; }
13775 # We need a cross tool
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13777 $as_echo "pre-installed
" >&6; }
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13782 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13783 if test "x
${build}" != "x
${host}" ; then
13784 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13785 # We already found the complete path
13786 ac_dir=`dirname $GCC_FOR_TARGET`
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13788 $as_echo "pre-installed
in $ac_dir" >&6; }
13790 # Canadian cross, just use what we found
13791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13792 $as_echo "pre-installed
" >&6; }
13796 case " ${configdirs} " in
13801 if test $ok = yes; then
13802 # An in-tree tool is available and we can use it
13803 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13805 $as_echo "just compiled
" >&6; }
13806 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13807 # We already found the complete path
13808 ac_dir=`dirname $GCC_FOR_TARGET`
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13810 $as_echo "pre-installed
in $ac_dir" >&6; }
13811 elif test "x
$target" = "x
$host"; then
13812 # We can use an host tool
13813 GCC_FOR_TARGET='$()'
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13815 $as_echo "host tool
" >&6; }
13817 # We need a cross tool
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13819 $as_echo "pre-installed
" >&6; }
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13824 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13825 if test "x
${build}" != "x
${host}" ; then
13826 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13827 # We already found the complete path
13828 ac_dir=`dirname $GCJ_FOR_TARGET`
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13830 $as_echo "pre-installed
in $ac_dir" >&6; }
13832 # Canadian cross, just use what we found
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13834 $as_echo "pre-installed
" >&6; }
13838 case " ${configdirs} " in
13842 case ,${enable_languages}, in
13846 if test $ok = yes; then
13847 # An in-tree tool is available and we can use it
13848 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13850 $as_echo "just compiled
" >&6; }
13851 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13852 # We already found the complete path
13853 ac_dir=`dirname $GCJ_FOR_TARGET`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13855 $as_echo "pre-installed
in $ac_dir" >&6; }
13856 elif test "x
$target" = "x
$host"; then
13857 # We can use an host tool
13858 GCJ_FOR_TARGET='$(GCJ)'
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13860 $as_echo "host tool
" >&6; }
13862 # We need a cross tool
13863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13864 $as_echo "pre-installed
" >&6; }
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13869 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13870 if test "x
${build}" != "x
${host}" ; then
13871 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13872 # We already found the complete path
13873 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13875 $as_echo "pre-installed
in $ac_dir" >&6; }
13877 # Canadian cross, just use what we found
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13879 $as_echo "pre-installed
" >&6; }
13883 case " ${configdirs} " in
13887 case ,${enable_languages}, in
13891 if test $ok = yes; then
13892 # An in-tree tool is available and we can use it
13893 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13895 $as_echo "just compiled
" >&6; }
13896 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13897 # We already found the complete path
13898 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13900 $as_echo "pre-installed
in $ac_dir" >&6; }
13901 elif test "x
$target" = "x
$host"; then
13902 # We can use an host tool
13903 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13905 $as_echo "host tool
" >&6; }
13907 # We need a cross tool
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13909 $as_echo "pre-installed
" >&6; }
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13914 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13915 if test "x
${build}" != "x
${host}" ; then
13916 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13917 # We already found the complete path
13918 ac_dir=`dirname $GOC_FOR_TARGET`
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13920 $as_echo "pre-installed
in $ac_dir" >&6; }
13922 # Canadian cross, just use what we found
13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13924 $as_echo "pre-installed
" >&6; }
13928 case " ${configdirs} " in
13932 case ,${enable_languages}, in
13936 if test $ok = yes; then
13937 # An in-tree tool is available and we can use it
13938 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13940 $as_echo "just compiled
" >&6; }
13941 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13942 # We already found the complete path
13943 ac_dir=`dirname $GOC_FOR_TARGET`
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13945 $as_echo "pre-installed
in $ac_dir" >&6; }
13946 elif test "x
$target" = "x
$host"; then
13947 # We can use an host tool
13948 GOC_FOR_TARGET='$(GOC)'
13949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13950 $as_echo "host tool
" >&6; }
13952 # We need a cross tool
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13954 $as_echo "pre-installed
" >&6; }
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13959 $as_echo_n "checking where to
find the target ld...
" >&6; }
13960 if test "x
${build}" != "x
${host}" ; then
13961 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13962 # We already found the complete path
13963 ac_dir=`dirname $LD_FOR_TARGET`
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13965 $as_echo "pre-installed
in $ac_dir" >&6; }
13967 # Canadian cross, just use what we found
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13969 $as_echo "pre-installed
" >&6; }
13973 case " ${configdirs} " in
13978 if test $ok = yes; then
13979 # An in-tree tool is available and we can use it
13980 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13982 $as_echo "just compiled
" >&6; }
13983 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $LD_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13988 elif test "x
$target" = "x
$host"; then
13989 # We can use an host tool
13990 LD_FOR_TARGET='$(LD)'
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13992 $as_echo "host tool
" >&6; }
13994 # We need a cross tool
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13996 $as_echo "pre-installed
" >&6; }
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14001 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14002 if test "x
${build}" != "x
${host}" ; then
14003 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14004 # We already found the complete path
14005 ac_dir=`dirname $LIPO_FOR_TARGET`
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14007 $as_echo "pre-installed
in $ac_dir" >&6; }
14009 # Canadian cross, just use what we found
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14011 $as_echo "pre-installed
" >&6; }
14014 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14015 # We already found the complete path
14016 ac_dir=`dirname $LIPO_FOR_TARGET`
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14018 $as_echo "pre-installed
in $ac_dir" >&6; }
14019 elif test "x
$target" = "x
$host"; then
14020 # We can use an host tool
14021 LIPO_FOR_TARGET='$(LIPO)'
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14023 $as_echo "host tool
" >&6; }
14025 # We need a cross tool
14026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14027 $as_echo "pre-installed
" >&6; }
14031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14032 $as_echo_n "checking where to
find the target nm...
" >&6; }
14033 if test "x
${build}" != "x
${host}" ; then
14034 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14035 # We already found the complete path
14036 ac_dir=`dirname $NM_FOR_TARGET`
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14038 $as_echo "pre-installed
in $ac_dir" >&6; }
14040 # Canadian cross, just use what we found
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14042 $as_echo "pre-installed
" >&6; }
14046 case " ${configdirs} " in
14051 if test $ok = yes; then
14052 # An in-tree tool is available and we can use it
14053 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14055 $as_echo "just compiled
" >&6; }
14056 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14057 # We already found the complete path
14058 ac_dir=`dirname $NM_FOR_TARGET`
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14060 $as_echo "pre-installed
in $ac_dir" >&6; }
14061 elif test "x
$target" = "x
$host"; then
14062 # We can use an host tool
14063 NM_FOR_TARGET='$(NM)'
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14065 $as_echo "host tool
" >&6; }
14067 # We need a cross tool
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14069 $as_echo "pre-installed
" >&6; }
14073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14074 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14075 if test "x
${build}" != "x
${host}" ; then
14076 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14077 # We already found the complete path
14078 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14080 $as_echo "pre-installed
in $ac_dir" >&6; }
14082 # Canadian cross, just use what we found
14083 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14084 $as_echo "pre-installed
" >&6; }
14088 case " ${configdirs} " in
14093 if test $ok = yes; then
14094 # An in-tree tool is available and we can use it
14095 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14097 $as_echo "just compiled
" >&6; }
14098 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14099 # We already found the complete path
14100 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14102 $as_echo "pre-installed
in $ac_dir" >&6; }
14103 elif test "x
$target" = "x
$host"; then
14104 # We can use an host tool
14105 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14107 $as_echo "host tool
" >&6; }
14109 # We need a cross tool
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14111 $as_echo "pre-installed
" >&6; }
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14116 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14117 if test "x
${build}" != "x
${host}" ; then
14118 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14119 # We already found the complete path
14120 ac_dir=`dirname $RANLIB_FOR_TARGET`
14121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14122 $as_echo "pre-installed
in $ac_dir" >&6; }
14124 # Canadian cross, just use what we found
14125 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14126 $as_echo "pre-installed
" >&6; }
14130 case " ${configdirs} " in
14135 if test $ok = yes; then
14136 # An in-tree tool is available and we can use it
14137 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14139 $as_echo "just compiled
" >&6; }
14140 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14141 # We already found the complete path
14142 ac_dir=`dirname $RANLIB_FOR_TARGET`
14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14144 $as_echo "pre-installed
in $ac_dir" >&6; }
14145 elif test "x
$target" = "x
$host"; then
14146 # We can use an host tool
14147 RANLIB_FOR_TARGET='$(RANLIB)'
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14149 $as_echo "host tool
" >&6; }
14151 # We need a cross tool
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14153 $as_echo "pre-installed
" >&6; }
14157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14158 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14159 if test "x
${build}" != "x
${host}" ; then
14160 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14161 # We already found the complete path
14162 ac_dir=`dirname $READELF_FOR_TARGET`
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14164 $as_echo "pre-installed
in $ac_dir" >&6; }
14166 # Canadian cross, just use what we found
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14168 $as_echo "pre-installed
" >&6; }
14172 case " ${configdirs} " in
14177 if test $ok = yes; then
14178 # An in-tree tool is available and we can use it
14179 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14181 $as_echo "just compiled
" >&6; }
14182 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14183 # We already found the complete path
14184 ac_dir=`dirname $READELF_FOR_TARGET`
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14186 $as_echo "pre-installed
in $ac_dir" >&6; }
14187 elif test "x
$target" = "x
$host"; then
14188 # We can use an host tool
14189 READELF_FOR_TARGET='$(READELF)'
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14191 $as_echo "host tool
" >&6; }
14193 # We need a cross tool
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14195 $as_echo "pre-installed
" >&6; }
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14200 $as_echo_n "checking where to
find the target strip...
" >&6; }
14201 if test "x
${build}" != "x
${host}" ; then
14202 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14203 # We already found the complete path
14204 ac_dir=`dirname $STRIP_FOR_TARGET`
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14206 $as_echo "pre-installed
in $ac_dir" >&6; }
14208 # Canadian cross, just use what we found
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14210 $as_echo "pre-installed
" >&6; }
14214 case " ${configdirs} " in
14219 if test $ok = yes; then
14220 # An in-tree tool is available and we can use it
14221 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14223 $as_echo "just compiled
" >&6; }
14224 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14225 # We already found the complete path
14226 ac_dir=`dirname $STRIP_FOR_TARGET`
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14228 $as_echo "pre-installed
in $ac_dir" >&6; }
14229 elif test "x
$target" = "x
$host"; then
14230 # We can use an host tool
14231 STRIP_FOR_TARGET='$(STRIP)'
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14233 $as_echo "host tool
" >&6; }
14235 # We need a cross tool
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14237 $as_echo "pre-installed
" >&6; }
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14242 $as_echo_n "checking where to
find the target windres...
" >&6; }
14243 if test "x
${build}" != "x
${host}" ; then
14244 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14245 # We already found the complete path
14246 ac_dir=`dirname $WINDRES_FOR_TARGET`
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14248 $as_echo "pre-installed
in $ac_dir" >&6; }
14250 # Canadian cross, just use what we found
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14252 $as_echo "pre-installed
" >&6; }
14256 case " ${configdirs} " in
14261 if test $ok = yes; then
14262 # An in-tree tool is available and we can use it
14263 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14265 $as_echo "just compiled
" >&6; }
14266 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14267 # We already found the complete path
14268 ac_dir=`dirname $WINDRES_FOR_TARGET`
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14270 $as_echo "pre-installed
in $ac_dir" >&6; }
14271 elif test "x
$target" = "x
$host"; then
14272 # We can use an host tool
14273 WINDRES_FOR_TARGET='$(WINDRES)'
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14275 $as_echo "host tool
" >&6; }
14277 # We need a cross tool
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14279 $as_echo "pre-installed
" >&6; }
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14284 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14285 if test "x
${build}" != "x
${host}" ; then
14286 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14287 # We already found the complete path
14288 ac_dir=`dirname $WINDMC_FOR_TARGET`
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14290 $as_echo "pre-installed
in $ac_dir" >&6; }
14292 # Canadian cross, just use what we found
14293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14294 $as_echo "pre-installed
" >&6; }
14298 case " ${configdirs} " in
14303 if test $ok = yes; then
14304 # An in-tree tool is available and we can use it
14305 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14307 $as_echo "just compiled
" >&6; }
14308 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14309 # We already found the complete path
14310 ac_dir=`dirname $WINDMC_FOR_TARGET`
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14312 $as_echo "pre-installed
in $ac_dir" >&6; }
14313 elif test "x
$target" = "x
$host"; then
14314 # We can use an host tool
14315 WINDMC_FOR_TARGET='$(WINDMC)'
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14317 $as_echo "host tool
" >&6; }
14319 # We need a cross tool
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14321 $as_echo "pre-installed
" >&6; }
14329 # Certain tools may need extra flags.
14330 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14331 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14332 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14334 # When building target libraries, except in a Canadian cross, we use
14335 # the same toolchain as the compiler we just built.
14336 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14337 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14338 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14339 if test $host = $build; then
14340 case " $configdirs " in
14342 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14343 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14344 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14354 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14355 # Check whether --enable-maintainer-mode was given.
14356 if test "${enable_maintainer_mode+set}" = set; then :
14357 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14359 USE_MAINTAINER_MODE=no
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14363 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14366 if test "$USE_MAINTAINER_MODE" = yes; then
14367 MAINTAINER_MODE_TRUE=
14368 MAINTAINER_MODE_FALSE='#'
14370 MAINTAINER_MODE_TRUE='#'
14371 MAINTAINER_MODE_FALSE=
14373 MAINT=$MAINTAINER_MODE_TRUE
14375 # ---------------------
14376 # GCC bootstrap support
14377 # ---------------------
14379 # Stage specific cflags for build.
14384 yes) stage1_cflags="-g -Wa,-J" ;;
14385 *) stage1_cflags="-g -J" ;;
14389 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14390 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14391 saved_CFLAGS="$CFLAGS"
14393 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14394 CFLAGS="$CFLAGS -fkeep-inline-functions"
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14396 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 #if (__GNUC__ < 3) \
14401 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14402 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14403 #error http://gcc.gnu.org/PR29382
14414 if ac_fn_c_try_compile "$LINENO"; then :
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14416 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14419 $as_echo "no
" >&6; }
14421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14423 CFLAGS="$saved_CFLAGS"
14428 # Enable --enable-checking in stage1 of the compiler.
14429 # Check whether --enable-stage1-checking was given.
14430 if test "${enable_stage1_checking+set}" = set; then :
14431 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14433 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14434 stage1_checking=--enable-checking=yes,types
14436 stage1_checking=--enable-checking=$enable_checking,types
14442 # Enable -Werror in bootstrap stage2 and later.
14443 # Check whether --enable-werror was given.
14444 if test "${enable_werror+set}" = set; then :
14445 enableval=$enable_werror;
14447 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14454 case ${enable_werror} in
14455 yes) stage2_werror_flag="--enable-werror-always" ;;
14456 *) stage2_werror_flag="" ;;
14460 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14461 # --enable-build-with-cxx after stage1.
14462 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14463 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14465 POSTSTAGE1_CONFIGURE_FLAGS=
14469 # Specify what files to not compare during bootstrap.
14471 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14473 hppa*64*-*-hpux*) ;;
14474 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14476 case " $configdirs " in
14477 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14481 ac_config_files="$ac_config_files Makefile
"
14483 cat >confcache <<\_ACEOF
14484 # This file is a shell script that caches the results of configure
14485 # tests run on this system so they can be shared between configure
14486 # scripts and configure runs, see configure's option --config-cache.
14487 # It is not useful on other systems. If it contains results you don't
14488 # want to keep, you may remove or edit it.
14490 # config.status only pays attention to the cache file if you give it
14491 # the --recheck option to rerun configure.
14493 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14494 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14495 # following values.
14499 # The following way of writing the cache mishandles newlines in values,
14500 # but we know of no workaround that is simple, portable, and efficient.
14501 # So, we kill variables containing newlines.
14502 # Ultrix sh set writes to stderr and can't be redirected directly,
14503 # and sets the high bit in the cache file unless we assign to the vars.
14505 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14506 eval ac_val=\$$ac_var
14510 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14511 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14514 _ | IFS | as_nl) ;; #(
14515 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14516 *) { eval $ac_var=; unset $ac_var;} ;;
14522 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14523 *${as_nl}ac_space=\ *)
14524 # `set' does not quote correctly, so add quotes: double-quote
14525 # substitution turns \\\\ into \\, and sed turns \\ into \.
14528 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14531 # `set' quotes correctly as required by POSIX, so do not add quotes.
14532 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14543 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14545 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14546 if test -w "$cache_file"; then
14547 test "x
$cache_file" != "x
/dev
/null
" &&
14548 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14549 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14550 cat confcache >$cache_file
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14553 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14558 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14559 # Let make expand exec_prefix.
14560 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14562 # Transform confdefs.h into DEFS.
14563 # Protect against shell expansion while executing Makefile rules.
14564 # Protect against Makefile macro expansion.
14566 # If the first sed substitution is executed (which looks for macros that
14567 # take arguments), then branch to the quote section. Otherwise,
14568 # look for a macro that doesn't take arguments.
14578 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14580 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14584 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14597 DEFS=`sed -n "$ac_script" confdefs.h`
14602 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14603 # 1. Remove the extension, and $U if already installed.
14604 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14605 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14606 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14607 # will be set to the directory where LIBOBJS objects are built.
14608 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14609 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14611 LIBOBJS=$ac_libobjs
14613 LTLIBOBJS=$ac_ltlibobjs
14617 : ${CONFIG_STATUS=./config.status}
14619 ac_clean_files_save=$ac_clean_files
14620 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14622 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14624 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14626 # Generated by $as_me.
14627 # Run this file to recreate the current configuration.
14628 # Compiler output produced by configure, useful for debugging
14629 # configure, is in config.log if it exists.
14632 ac_cs_recheck=false
14635 SHELL=\${CONFIG_SHELL-$SHELL}
14638 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14639 ## -------------------- ##
14640 ## M4sh Initialization. ##
14641 ## -------------------- ##
14643 # Be more Bourne compatible
14644 DUALCASE=1; export DUALCASE # for MKS sh
14645 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14649 # is contrary to our usage. Disable this feature.
14650 alias -g '${1+"$@"}'='"$@"'
14651 setopt NO_GLOB_SUBST
14653 case `(set -o) 2>/dev/null` in #(
14665 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14666 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14667 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14668 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14669 # Prefer a ksh shell builtin over an external printf program on Solaris,
14670 # but without wasting forks for bash or zsh.
14671 if test -z "$BASH_VERSION$ZSH_VERSION" \
14672 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14673 as_echo
='print -r --'
14674 as_echo_n
='print -rn --'
14675 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14676 as_echo
='printf %s\n'
14677 as_echo_n
='printf %s'
14679 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14680 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14681 as_echo_n
='/usr/ucb/echo -n'
14683 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14684 as_echo_n_body
='eval
14688 expr "X$arg" : "X\\(.*\\)$as_nl";
14689 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14691 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14693 export as_echo_n_body
14694 as_echo_n
='sh -c $as_echo_n_body as_echo'
14696 export as_echo_body
14697 as_echo
='sh -c $as_echo_body as_echo'
14700 # The user is always right.
14701 if test "${PATH_SEPARATOR+set}" != set; then
14703 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14704 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14711 # We need space, tab and new line, in precisely that order. Quoting is
14712 # there to prevent editors from complaining about space-tab.
14713 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14714 # splitting by setting IFS to empty value.)
14717 # Find who we are. Look in the path if we contain no directory separator.
14719 *[\\/]* ) as_myself
=$0 ;;
14720 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14721 for as_dir
in $PATH
14724 test -z "$as_dir" && as_dir
=.
14725 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14731 # We did not find ourselves, most probably we were run as `sh COMMAND'
14732 # in which case we are not to be found in the path.
14733 if test "x$as_myself" = x
; then
14736 if test ! -f "$as_myself"; then
14737 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14741 # Unset variables that we do not need and which cause bugs (e.g. in
14742 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14743 # suppresses any "Segmentation fault" message there. '((' could
14744 # trigger a bug in pdksh 5.2.14.
14745 for as_var
in BASH_ENV ENV MAIL MAILPATH
14746 do eval test x\
${$as_var+set} = xset \
14747 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14760 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14763 # as_fn_error ERROR [LINENO LOG_FD]
14764 # ---------------------------------
14765 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14766 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14767 # script with status $?, using 1 if that was 0.
14770 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14772 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14773 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14775 $as_echo "$as_me: error: $1" >&2
14776 as_fn_exit
$as_status
14780 # as_fn_set_status STATUS
14781 # -----------------------
14782 # Set $? to STATUS, without forking.
14783 as_fn_set_status
()
14786 } # as_fn_set_status
14788 # as_fn_exit STATUS
14789 # -----------------
14790 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14794 as_fn_set_status
$1
14800 # Portably unset VAR.
14803 { eval $1=; unset $1;}
14805 as_unset
=as_fn_unset
14806 # as_fn_append VAR VALUE
14807 # ----------------------
14808 # Append the text in VALUE to the end of the definition contained in VAR. Take
14809 # advantage of any shell optimizations that allow amortized linear growth over
14810 # repeated appends, instead of the typical quadratic growth present in naive
14812 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14813 eval 'as_fn_append ()
14824 # as_fn_arith ARG...
14825 # ------------------
14826 # Perform arithmetic evaluation on the ARGs, and store the result in the
14827 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14828 # must be portable across $(()) and expr.
14829 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14830 eval 'as_fn_arith ()
14837 as_val
=`expr "$@" || test $? -eq 1`
14842 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14843 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14849 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14850 as_basename
=basename
14855 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14861 as_me
=`$as_basename -- "$0" ||
14862 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14863 X"$0" : 'X\(//\)$' \| \
14864 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14866 sed '/^.*\/\([^/][^/]*\)\/*$/{
14880 # Avoid depending upon Character Ranges.
14881 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14882 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14883 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14884 as_cr_digits
='0123456789'
14885 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14887 ECHO_C
= ECHO_N
= ECHO_T
=
14888 case `echo -n x` in #(((((
14890 case `echo 'xy\c'` in
14891 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14893 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14900 rm -f conf$$ conf$$.exe conf$$.
file
14901 if test -d conf$$.dir
; then
14902 rm -f conf$$.dir
/conf$$.
file
14905 mkdir conf$$.dir
2>/dev
/null
14907 if (echo >conf$$.
file) 2>/dev
/null
; then
14908 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14910 # ... but there are two gotchas:
14911 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14912 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14913 # In both cases, we have to default to `cp -p'.
14914 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14916 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14924 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14925 rmdir conf$$.dir
2>/dev
/null
14930 # Create "$as_dir" as a directory, including parents if necessary.
14935 -*) as_dir
=.
/$as_dir;;
14937 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14941 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14942 *) as_qdir
=$as_dir;;
14944 as_dirs
="'$as_qdir' $as_dirs"
14945 as_dir
=`$as_dirname -- "$as_dir" ||
14946 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14947 X"$as_dir" : 'X\(//\)[^/]' \| \
14948 X"$as_dir" : 'X\(//\)$' \| \
14949 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14950 $as_echo X"$as_dir" |
14951 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14955 /^X\(\/\/\)[^/].*/{
14968 test -d "$as_dir" && break
14970 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14971 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14975 if mkdir
-p .
2>/dev
/null
; then
14976 as_mkdir_p
='mkdir -p "$as_dir"'
14978 test -d .
/-p && rmdir .
/-p
14982 if test -x / >/dev
/null
2>&1; then
14983 as_test_x
='test -x'
14985 if ls -dL / >/dev
/null
2>&1; then
14992 if test -d "$1"; then
14998 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14999 ???[sx]*):;;*)false;;esac;fi
15003 as_executable_p
=$as_test_x
15005 # Sed expression to map a string onto a valid CPP name.
15006 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15008 # Sed expression to map a string onto a valid variable name.
15009 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15013 ## ----------------------------------- ##
15014 ## Main body of $CONFIG_STATUS script. ##
15015 ## ----------------------------------- ##
15017 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15020 # Save the log message, to keep $0 and so on meaningful, and to
15021 # report actual input values of CONFIG_FILES etc. instead of their
15022 # values after options handling.
15024 This file was extended by $as_me, which was
15025 generated by GNU Autoconf 2.64. Invocation command line was
15027 CONFIG_FILES = $CONFIG_FILES
15028 CONFIG_HEADERS = $CONFIG_HEADERS
15029 CONFIG_LINKS = $CONFIG_LINKS
15030 CONFIG_COMMANDS = $CONFIG_COMMANDS
15033 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15038 case $ac_config_files in *"
15039 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15045 # Files that config.status was made for.
15046 config_files="$ac_config_files"
15050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15052 \`$as_me' instantiates files and other configuration actions
15053 from templates according to the current configuration. Unless the files
15054 and actions are specified as TAGs, all are instantiated by default.
15056 Usage: $0 [OPTION]... [TAG]...
15058 -h, --help print this help, then exit
15059 -V, --version print version number and configuration settings, then exit
15060 -q, --quiet, --silent
15061 do not print progress messages
15062 -d, --debug don't remove temporary files
15063 --recheck update $as_me by reconfiguring in the same conditions
15064 --file=FILE[:TEMPLATE]
15065 instantiate the configuration file FILE
15067 Configuration files:
15070 Report bugs to the package provider."
15073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15076 configured by $0, generated by GNU Autoconf 2.64,
15077 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15079 Copyright (C) 2009 Free Software Foundation, Inc.
15080 This config.status script is free software; the Free Software Foundation
15081 gives unlimited permission to copy, distribute and modify it."
15087 test -n "\$AWK" || AWK=awk
15090 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15091 # The default lists apply if the user does not specify any file.
15097 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15098 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15109 # Handling of the options.
15110 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15112 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15113 $as_echo "$ac_cs_version"; exit ;;
15114 --debug |
--debu |
--deb |
--de |
--d |
-d )
15116 --file |
--fil |
--fi |
--f )
15119 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15121 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15122 ac_need_defaults
=false
;;
15123 --he |
--h |
--help |
--hel |
-h )
15124 $as_echo "$ac_cs_usage"; exit ;;
15125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15126 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15129 # This is an error.
15130 -*) as_fn_error
"unrecognized option: \`$1'
15131 Try \`$0 --help' for more information." ;;
15133 *) as_fn_append ac_config_targets
" $1"
15134 ac_need_defaults
=false
;;
15140 ac_configure_extra_args
=
15142 if $ac_cs_silent; then
15144 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15149 if \$ac_cs_recheck; then
15150 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15152 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15153 CONFIG_SHELL='$SHELL'
15154 export CONFIG_SHELL
15159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15163 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15164 ## Running $as_me. ##
15170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15174 extrasub_build="$extrasub_build"
15175 extrasub_host="$extrasub_host"
15176 extrasub_target="$extrasub_target"
15180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15182 # Handling of arguments.
15183 for ac_config_target
in $ac_config_targets
15185 case $ac_config_target in
15186 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15188 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15193 # If the user did not use the arguments to specify the items to instantiate,
15194 # then the envvar interface is used. Set only those that are not.
15195 # We use the long form for the default assignment because of an extremely
15196 # bizarre bug on SunOS 4.1.3.
15197 if $ac_need_defaults; then
15198 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15201 # Have a temporary directory for convenience. Make it in the build tree
15202 # simply because there is no reason against having it here, and in addition,
15203 # creating and moving files from /tmp can sometimes cause problems.
15204 # Hook for its removal unless debugging.
15205 # Note that there is a small window in which the directory will not be cleaned:
15206 # after its creation but before its name has been assigned to `$tmp'.
15210 trap 'exit_status=$?
15211 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15213 trap 'as_fn_exit 1' 1 2 13 15
15215 # Create a (secure) tmp directory for tmp files.
15218 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15219 test -n "$tmp" && test -d "$tmp"
15222 tmp
=.
/conf$$
-$RANDOM
15223 (umask 077 && mkdir
"$tmp")
15224 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15226 # Set up the scripts for CONFIG_FILES section.
15227 # No need to generate them if there are no CONFIG_FILES.
15228 # This happens for instance with `./config.status config.h'.
15229 if test -n "$CONFIG_FILES"; then
15231 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15232 ac_cs_awk_getline
=:
15233 ac_cs_awk_pipe_init
=
15234 ac_cs_awk_read_file
='
15235 while ((getline aline < (F[key])) > 0)
15238 ac_cs_awk_pipe_fini
=
15240 ac_cs_awk_getline
=false
15241 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15242 ac_cs_awk_read_file
='
15244 print "cat " F[key] " &&"
15245 '$ac_cs_awk_pipe_init
15246 # The final `:' finishes the AND list.
15247 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15249 ac_cr
=`echo X | tr X '\015'`
15250 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15251 # But we know of no other shell where ac_cr would be empty at this
15252 # point, so we can use a bashism as a fallback.
15253 if test "x$ac_cr" = x
; then
15254 eval ac_cr
=\$
\'\\r
\'
15256 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15257 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15260 ac_cs_awk_cr
=$ac_cr
15263 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15266 # Create commands to substitute file output variables.
15268 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15269 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15270 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15273 } >conf$
$files.sh
&&
15274 . .
/conf$
$files.sh ||
15275 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15276 rm -f conf$
$files.sh
15279 echo "cat >conf$$subs.awk <<_ACEOF" &&
15280 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15282 } >conf$$subs.sh ||
15283 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15284 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15286 for ac_last_try in false false false false false :; do
15287 . ./conf$$subs.sh ||
15288 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15290 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15291 if test $ac_delim_n = $ac_delim_num; then
15293 elif $ac_last_try; then
15294 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15296 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15299 rm -f conf$$subs.sh
15301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15302 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15306 s/^/S["/; s
/!.
*/"]=/
15316 s/\(.\{148\}\).*/\1/
15318 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15323 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15330 s/\(.\{148\}\).*/\1/
15332 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15336 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15341 ' <conf$$subs.awk | sed '
15346 ' >>$CONFIG_STATUS || ac_write_fail=1
15347 rm -f conf$$subs.awk
15348 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15350 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15351 for (key in S) S_is_set[key] = 1
15353 \$ac_cs_awk_pipe_init
15357 nfields = split(line, field, "@
")
15359 len = length(field[1])
15360 for (i = 2; i < nfields; i++) {
15362 keylen = length(key)
15363 if (S_is_set[key]) {
15365 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15366 len += length(value) + length(field[++i])
15371 if (nfields == 3 && !substed) {
15373 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15374 \$ac_cs_awk_read_file
15380 \$ac_cs_awk_pipe_fini
15383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15384 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15385 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15388 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15389 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15394 # trailing colons and then remove the whole line if VPATH becomes empty
15395 # (actually we leave an empty line to preserve line numbers).
15396 if test "x
$srcdir" = x.; then
15397 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15398 s/:*\$(srcdir):*/:/
15399 s/:*\${srcdir}:*/:/
15401 s/^\([^=]*=[ ]*\):*/\1/
15407 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15408 fi # test -n "$CONFIG_FILES"
15411 eval set X " :F
$CONFIG_FILES "
15416 :[FHLC]) ac_mode=$ac_tag; continue;;
15418 case $ac_mode$ac_tag in
15420 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15421 :[FH]-) ac_tag=-:-;;
15422 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15439 -) ac_f="$tmp/stdin";;
15440 *) # Look for the file first in the build tree, then in the source tree
15441 # (if the path is not absolute). The absolute path cannot be DOS-style,
15442 # because $ac_f cannot contain `:'.
15446 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15448 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15450 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15451 as_fn_append ac_file_inputs " '$ac_f'"
15454 # Let's still pretend it is `configure' which instantiates (i.e., don't
15455 # use $as_me), people would be surprised to read:
15456 # /* config.h. Generated by config.status. */
15457 configure_input='Generated from '`
15458 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15460 if test x"$ac_file" != x-; then
15461 configure_input="$ac_file.
$configure_input"
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15463 $as_echo "$as_me: creating
$ac_file" >&6;}
15465 # Neutralize special characters interpreted by sed in replacement strings.
15466 case $configure_input in #(
15467 *\&* | *\|* | *\\* )
15468 ac_sed_conf_input=`$as_echo "$configure_input" |
15469 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15470 *) ac_sed_conf_input=$configure_input;;
15474 *:-:* | *:-) cat >"$tmp/stdin
" \
15475 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15480 ac_dir=`$as_dirname -- "$ac_file" ||
15481 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15482 X"$ac_file" : 'X\(//\)[^/]' \| \
15483 X"$ac_file" : 'X\(//\)$' \| \
15484 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15485 $as_echo X"$ac_file" |
15486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15490 /^X\(\/\/\)[^/].*/{
15503 as_dir="$ac_dir"; as_fn_mkdir_p
15507 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15509 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15510 # A "..
" for each directory in $ac_dir_suffix.
15511 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15512 case $ac_top_builddir_sub in
15513 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15514 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15517 ac_abs_top_builddir=$ac_pwd
15518 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15519 # for backward compatibility:
15520 ac_top_builddir=$ac_top_build_prefix
15523 .) # We are building in place.
15525 ac_top_srcdir=$ac_top_builddir_sub
15526 ac_abs_top_srcdir=$ac_pwd ;;
15527 [\\/]* | ?:[\\/]* ) # Absolute name.
15528 ac_srcdir=$srcdir$ac_dir_suffix;
15529 ac_top_srcdir=$srcdir
15530 ac_abs_top_srcdir=$srcdir ;;
15531 *) # Relative name.
15532 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15533 ac_top_srcdir=$ac_top_build_prefix$srcdir
15534 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15536 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15546 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15547 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15552 # If the template does not know about datarootdir, expand it.
15553 # FIXME: This hack should be removed a few years after 2.60.
15554 ac_datarootdir_hack=; ac_datarootdir_seen=
15565 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15566 *datarootdir*) ac_datarootdir_seen=yes;;
15567 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15569 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15572 ac_datarootdir_hack='
15573 s&@datadir@&$datadir&g
15574 s&@docdir@&$docdir&g
15575 s&@infodir@&$infodir&g
15576 s&@localedir@&$localedir&g
15577 s&@mandir@&$mandir&g
15578 s&\\\${datarootdir}&$datarootdir&g' ;;
15582 # Neutralize VPATH when `$srcdir' = `.'.
15583 # Shell code in configure.ac might set extrasub.
15584 # FIXME: do we really want to maintain this feature?
15585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15586 ac_sed_extra="$ac_vpsub
15589 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15591 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15592 s|@configure_input@|
$ac_sed_conf_input|
;t t
15593 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15594 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15595 s
&@srcdir@
&$ac_srcdir&;t t
15596 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15597 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15598 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15599 s
&@builddir@
&$ac_builddir&;t t
15600 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15601 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15602 s
&@INSTALL@
&$ac_INSTALL&;t t
15603 $ac_datarootdir_hack
15605 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15606 if $ac_cs_awk_getline; then
15607 $AWK -f "$tmp/subs.
awk"
15609 $AWK -f "$tmp/subs.
awk" | $SHELL
15611 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15613 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15614 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15615 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15617 which seems to be undefined. Please make sure it is defined." >&5
15618 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15619 which seems to be undefined. Please make sure it is defined." >&2;}
15623 -) cat "$tmp/out" && rm -f "$tmp/out";;
15624 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15626 || as_fn_error "could not create $ac_file" "$LINENO" 5
15634 case $ac_file$ac_mode in
15635 "Makefile":F) sed "$extrasub_build" Makefile |
15636 sed "$extrasub_host" |
15637 sed "$extrasub_target" > mf$$
15638 mv -f mf$$ Makefile ;;
15646 ac_clean_files=$ac_clean_files_save
15648 test $ac_write_fail = 0 ||
15649 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15652 # configure is writing to config.log, and then calls config.status.
15653 # config.status does its own redirection, appending to config.log.
15654 # Unfortunately, on DOS this fails, as config.log is still kept open
15655 # by configure, so config.status won't be able to
write to it
; its
15656 # output is simply discarded. So we exec the FD to /dev/null,
15657 # effectively closing config.log, so it can be properly (re)opened and
15658 # appended to by config.status. When coming back to configure, we
15659 # need to make the FD available again.
15660 if test "$no_create" != yes; then
15662 ac_config_status_args
=
15663 test "$silent" = yes &&
15664 ac_config_status_args
="$ac_config_status_args --quiet"
15666 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15668 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15669 # would make configure fail if this is the last instruction.
15670 $ac_cs_success || as_fn_exit $?
15672 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15674 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}