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 \
2703 # these tools are built using the target libraries, and are intended to
2704 # run only in the target environment
2706 # note: any program that *uses* libraries that are in the "target_libraries"
2707 # list belongs in this list.
2709 target_tools
="target-rda"
2711 ################################################################################
2713 ## All tools belong in one of the four categories, and are assigned above
2714 ## We assign ${configdirs} this way to remove all embedded newlines. This
2715 ## is important because configure will choke if they ever get through.
2716 ## ${configdirs} is directories we build using the host tools.
2717 ## ${target_configdirs} is directories we build using the target tools.
2718 configdirs
=`echo ${host_libs} ${host_tools}`
2719 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2720 build_configdirs
=`echo ${build_libs} ${build_tools}`
2724 ################################################################################
2726 srcname
="gnu development package"
2728 # This gets set non-empty for some net releases of packages.
2731 # Define is_cross_compiler to save on calls to 'test'.
2733 if test x
"${host}" = x
"${target}" ; then
2734 is_cross_compiler
=no
2736 is_cross_compiler
=yes
2739 # Find the build and target subdir names.
2741 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2742 # have matching libraries, they should use host libraries: Makefile.tpl
2743 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2744 # However, they still use the build modules, because the corresponding
2745 # host modules (e.g. bison) are only built for the host when bootstrap
2747 # - build_subdir is where we find build modules, and never changes.
2748 # - build_libsubdir is where we find build libraries, and can be overridden.
2750 # Prefix 'build-' so this never conflicts with target_subdir.
2751 build_subdir
="build-${build_noncanonical}"
2753 # Check whether --with-build-libsubdir was given.
2754 if test "${with_build_libsubdir+set}" = set; then :
2755 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2757 build_libsubdir
="$build_subdir"
2760 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2761 if ( test $srcdir = .
&& test -d gcc
) \
2762 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2763 host_subdir
="host-${host_noncanonical}"
2768 target_subdir
=${target_noncanonical}
2770 # Be sure to cover against remnants of an in-tree build.
2771 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2772 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2773 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2776 # Skipdirs are removed silently.
2778 # Noconfigdirs are removed loudly.
2782 # Make sure we don't let GNU ld be added if we didn't want it.
2783 if test x
$with_gnu_ld = xno
; then
2785 noconfigdirs
="$noconfigdirs ld gold"
2789 # Make sure we don't let GNU as be added if we didn't want it.
2790 if test x
$with_gnu_as = xno
; then
2792 noconfigdirs
="$noconfigdirs gas"
2796 # Make sure we don't let ZLIB be added if we didn't want it.
2797 if test x
$with_system_zlib = xyes
; then
2798 use_included_zlib
=no
2799 noconfigdirs
="$noconfigdirs zlib"
2802 # some tools are so dependent upon X11 that if we're not building with X,
2803 # it's not even worth trying to configure, much less build, that tool.
2806 yes |
"") ;; # the default value for this tree is that X11 is available
2808 skipdirs
="${skipdirs} tk itcl libgui"
2809 # We won't be able to build gdbtk without X.
2812 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2815 # Some are only suitable for cross toolchains.
2816 # Remove these if host=target.
2817 cross_only
="target-libgloss target-newlib target-opcodes"
2819 case $is_cross_compiler in
2820 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2823 # If both --with-headers and --with-libs are specified, default to
2825 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2826 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2827 if test x
"${with_newlib}" = x
; then
2832 # Recognize --with-newlib/--without-newlib.
2833 case ${with_newlib} in
2834 no
) skipdirs
="${skipdirs} target-newlib" ;;
2835 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2838 # Handle --enable-gold, --enable-ld.
2839 # --disable-gold [--enable-ld]
2840 # Build only ld. Default option.
2841 # --enable-gold [--enable-ld]
2842 # Build both gold and ld. Install gold as "ld.gold", install ld
2843 # as "ld.bfd" and "ld".
2844 # --enable-gold=default [--enable-ld]
2845 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2846 # install ld as "ld.bfd".
2847 # --enable-gold[=default] --disable-ld
2848 # Build only gold, which is then installed as both "ld.gold" and "ld".
2849 # --enable-gold --enable-ld=default
2850 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2852 # In other words, ld is default
2853 # --enable-gold=default --enable-ld=default
2857 # Check whether --enable-gold was given.
2858 if test "${enable_gold+set}" = set; then :
2859 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2864 case "${ENABLE_GOLD}" in
2866 # Check for ELF target.
2869 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2870 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2871 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2872 |
*-*-solaris2* |
*-*-nto*)
2874 *-*-linux*aout
* |
*-*-linux*oldld
*)
2882 if test "$is_elf" = "yes"; then
2883 # Check for target supported by gold.
2885 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2886 configdirs
="$configdirs gold"
2887 if test x
${ENABLE_GOLD} = xdefault
; then
2898 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2902 # Check whether --enable-ld was given.
2903 if test "${enable_ld+set}" = set; then :
2904 enableval
=$enable_ld; ENABLE_LD
=$enableval
2910 case "${ENABLE_LD}" in
2912 if test x
${default_ld} != x
; then
2913 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2919 if test x
${ENABLE_GOLD} != xyes
; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2921 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2923 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2926 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2930 # Configure extra directories which are host specific
2934 configdirs
="$configdirs libtermcap" ;;
2937 # A target can indicate whether a language isn't supported for some reason.
2938 # Only spaces may be used in this macro; not newlines or tabs.
2939 unsupported_languages
=
2941 # Remove more programs from consideration, based on the host or
2942 # target this usually means that a port of the program doesn't
2946 i
[3456789]86-*-msdosdjgpp*)
2947 noconfigdirs
="$noconfigdirs tcl tk itcl"
2952 # Check whether --enable-libquadmath was given.
2953 if test "${enable_libquadmath+set}" = set; then :
2954 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
2956 ENABLE_LIBQUADMATH
=yes
2959 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
2960 noconfigdirs
="$noconfigdirs target-libquadmath"
2964 # Check whether --enable-libquadmath-support was given.
2965 if test "${enable_libquadmath_support+set}" = set; then :
2966 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
2968 ENABLE_LIBQUADMATH_SUPPORT
=yes
2971 enable_libquadmath_support
=
2972 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
2973 enable_libquadmath_support
=no
2977 # Check whether --enable-libada was given.
2978 if test "${enable_libada+set}" = set; then :
2979 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
2984 if test "${ENABLE_LIBADA}" != "yes" ; then
2985 noconfigdirs
="$noconfigdirs gnattools"
2988 # Check whether --enable-libssp was given.
2989 if test "${enable_libssp+set}" = set; then :
2990 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
2996 # Save it here so that, even in case of --enable-libgcj, if the Java
2997 # front-end isn't enabled, we still get libgcj disabled.
2998 libgcj_saved
=$libgcj
2999 case $enable_libgcj in
3001 # If we reset it here, it won't get added to noconfigdirs in the
3002 # target-specific build rules, so it will be forcibly enabled
3003 # (unless the Java language itself isn't enabled).
3007 # Make sure we get it printed in the list of not supported target libs.
3008 # Don't disable libffi, though, other languages use it.
3009 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3010 # Clear libgcj_saved so that even if java is enabled libffi won't be
3016 # Check whether --enable-static-libjava was given.
3017 if test "${enable_static_libjava+set}" = set; then :
3018 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3020 ENABLE_STATIC_LIBJAVA
=no
3023 enable_static_libjava
=
3024 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3025 enable_static_libjava
=yes
3028 if test x
$enable_static_libjava != xyes
; then
3029 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3033 # Disable libmudflap on some systems.
3034 if test x
$enable_libmudflap = x
; then
3036 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3037 # Enable libmudflap by default in GNU and friends.
3040 # Enable libmudflap by default in FreeBSD.
3043 # Disable it by default everywhere else.
3044 noconfigdirs
="$noconfigdirs target-libmudflap"
3049 # Disable libgomp on non POSIX hosted systems.
3050 if test x
$enable_libgomp = x
; then
3051 # Enable libgomp by default on hosted POSIX systems.
3053 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3055 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3057 *-*-solaris2* |
*-*-irix6* |
*-*-osf* |
*-*-hpux11*)
3059 *-*-darwin* |
*-*-aix*)
3062 noconfigdirs
="$noconfigdirs target-libgomp"
3067 # Disable libitm on unsupported systems.
3068 if test -d ${srcdir}/libitm
; then
3069 if test x
$enable_libitm = x
; then
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3071 $as_echo_n "checking for libitm support... " >&6; }
3072 if (srcdir
=${srcdir}/libitm
; \
3073 .
${srcdir}/configure.tgt
; \
3074 test -n "$UNSUPPORTED")
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077 $as_echo "no" >&6; }
3078 noconfigdirs
="$noconfigdirs target-libitm"
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3086 # Disable libssp for some systems.
3089 # No hosted I/O support.
3090 noconfigdirs
="$noconfigdirs target-libssp"
3092 powerpc-
*-aix* | rs6000-
*-aix*)
3093 noconfigdirs
="$noconfigdirs target-libssp"
3096 # libssp uses a misaligned load to trigger a fault, but the RL78
3097 # doesn't fault for those - instead, it gives a build-time error
3098 # for explicit misaligned loads.
3099 noconfigdirs
="$noconfigdirs target-libssp"
3103 # Disable libstdc++-v3 for some systems.
3106 # VxWorks uses the Dinkumware C++ library.
3107 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3110 # the C++ libraries don't build on top of CE's C libraries
3111 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3114 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3118 # Disable Fortran for some systems.
3121 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3122 unsupported_languages
="$unsupported_languages fortran"
3126 # Disable Java if libffi is not supported.
3148 mips-sgi-irix6.
* | mips
*-*-rtems*)
3156 powerpc-
*-aix* | rs6000-
*-aix*)
3160 powerpc64-
*-freebsd*)
3164 s390-
*-* | s390x-
*-*)
3166 sh-
*-* | sh
[34]*-*-*)
3168 sh64-
*-* | sh5
*-*-*)
3175 unsupported_languages
="$unsupported_languages java"
3179 # Disable Java, libgcj or related libraries for some systems.
3183 i
[3456789]86-*-darwin*)
3185 x86_64-
*-darwin[912]*)
3188 noconfigdirs
="$noconfigdirs ${libgcj}"
3191 noconfigdirs
="$noconfigdirs ${libgcj}"
3194 noconfigdirs
="$noconfigdirs ${libgcj}"
3197 noconfigdirs
="$noconfigdirs ${libgcj}"
3200 noconfigdirs
="$noconfigdirs ${libgcj}"
3203 noconfigdirs
="$noconfigdirs ${libgcj}"
3206 noconfigdirs
="$noconfigdirs ${libgcj}"
3209 noconfigdirs
="$noconfigdirs ${libgcj}"
3212 noconfigdirs
="$noconfigdirs ${libgcj}"
3215 noconfigdirs
="$noconfigdirs target-boehm-gc"
3217 cris-
*-* | crisv32-
*-*)
3218 unsupported_languages
="$unsupported_languages java"
3222 *) # See PR46792 regarding target-libffi.
3223 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3227 # In this case, it's because the hppa64-linux target is for
3228 # the kernel only at this point and has no libc, and thus no
3229 # headers, crt*.o, etc., all of which are needed by these.
3230 unsupported_languages
="$unsupported_languages java"
3233 noconfigdirs
="$noconfigdirs ${libgcj}"
3238 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3239 # build on HP-UX 10.20.
3240 noconfigdirs
="$noconfigdirs ${libgcj}"
3243 noconfigdirs
="$noconfigdirs ${libgcj}"
3245 i
[3456789]86-w64-mingw*)
3246 noconfigdirs
="$noconfigdirs ${libgcj}"
3248 i
[3456789]86-*-mingw*)
3249 noconfigdirs
="$noconfigdirs ${libgcj}"
3252 noconfigdirs
="$noconfigdirs ${libgcj}"
3255 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3258 # copied from rs6000-*-* entry
3259 noconfigdirs
="$noconfigdirs ${libgcj}"
3262 noconfigdirs
="$noconfigdirs ${libgcj}"
3265 # Linking libjava exceeds command-line length limits on at least
3266 # IRIX 6.2, but not on IRIX 6.5.
3267 # Also, boehm-gc won't build on IRIX 6.5, according to Jeffrey Oldham
3268 # <oldham@codesourcery.com>
3269 noconfigdirs
="$noconfigdirs ${libgcj}"
3272 noconfigdirs
="$noconfigdirs ${libgcj}"
3276 # Default libgloss CPU subdirectory.
3277 libgloss_dir
="$target_cpu"
3280 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3286 cris-
*-* | crisv32-
*-*)
3295 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3296 libgloss_dir
=m68hc11
3298 m68
*-*-* | fido-
*-*)
3312 # Disable newlib and libgloss for various target OSes.
3315 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3317 i
[3456789]86-*-linux*)
3318 # This section makes it possible to build newlib natively on linux.
3319 # If we are using a cross compiler then don't configure newlib.
3320 if test x
${is_cross_compiler} != xno
; then
3321 noconfigdirs
="$noconfigdirs target-newlib"
3323 noconfigdirs
="$noconfigdirs target-libgloss"
3324 # If we are not using a cross compiler, do configure newlib.
3325 # Note however, that newlib will only be configured in this situation
3326 # if the --with-newlib option has been given, because otherwise
3327 # 'target-newlib' will appear in skipdirs.
3329 i
[3456789]86-*-rdos*)
3330 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3332 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3333 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3336 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3339 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3342 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3345 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3348 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3351 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3353 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3354 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3357 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3360 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3363 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3366 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3369 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3372 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3375 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3383 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3384 noconfigdirs
="$noconfigdirs sim target-rda"
3386 i
[3456789]86-*-darwin*)
3387 noconfigdirs
="$noconfigdirs ld gprof"
3388 noconfigdirs
="$noconfigdirs sim target-rda"
3390 x86_64-
*-darwin[912]*)
3391 noconfigdirs
="$noconfigdirs ld gas gprof"
3392 noconfigdirs
="$noconfigdirs sim target-rda"
3395 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3396 noconfigdirs
="$noconfigdirs sim target-rda"
3401 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3402 && test -f /usr
/local
/include
/gmp.h
; then
3407 # Remove unsupported stuff on all kaOS configurations.
3408 noconfigdirs
="$noconfigdirs target-libgloss"
3415 noconfigdirs
="$noconfigdirs target-libgloss"
3417 # The tpf target doesn't support gdb yet.
3419 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3422 noconfigdirs
="$noconfigdirs target-rda"
3427 # ld works, but does not support shared libraries.
3428 # gas doesn't generate exception information.
3429 noconfigdirs
="$noconfigdirs gas ld"
3432 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3435 # newlib is not 64 bit ready
3436 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3438 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3439 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3442 noconfigdirs
="$noconfigdirs target-libgloss"
3445 noconfigdirs
="$noconfigdirs target-libgloss"
3448 noconfigdirs
="$noconfigdirs ld target-libgloss"
3450 c4x-
*-* | tic4x-
*-*)
3451 noconfigdirs
="$noconfigdirs target-libgloss"
3454 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3457 noconfigdirs
="$noconfigdirs gdb"
3460 noconfigdirs
="$noconfigdirs target-libgloss"
3463 noconfigdirs
="$noconfigdirs gdb"
3466 noconfigdirs
="$noconfigdirs gdb"
3469 noconfigdirs
="$noconfigdirs gprof"
3472 noconfigdirs
="$noconfigdirs target-libgloss"
3475 noconfigdirs
="$noconfigdirs target-libgloss"
3477 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3485 hppa
*-*-openbsd* | \
3489 noconfigdirs
="$noconfigdirs ld"
3494 noconfigdirs
="$noconfigdirs ld"
3497 noconfigdirs
="$noconfigdirs gdb"
3500 # No gdb support yet.
3501 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3504 # No ld support yet.
3505 noconfigdirs
="$noconfigdirs libgui itcl ld"
3508 # No gdb or ld support yet.
3509 noconfigdirs
="$noconfigdirs readline libgui itcl gdb ld"
3511 i
[3456789]86-w64-mingw*)
3513 i
[3456789]86-*-mingw*)
3514 target_configdirs
="$target_configdirs target-winsup"
3517 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3518 noconfigdirs
="$noconfigdirs target-libgloss"
3519 # always build newlib if winsup directory is present.
3520 if test -d "$srcdir/winsup/cygwin"; then
3521 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3522 elif test -d "$srcdir/newlib"; then
3523 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3527 noconfigdirs
="$noconfigdirs target-libgloss"
3529 i
[3456789]86-*-sco3.2v5
*)
3530 # The linker does not yet know about weak symbols in COFF,
3531 # and is not configured to handle mixed ELF and COFF.
3532 noconfigdirs
="$noconfigdirs ld target-libgloss"
3534 i
[3456789]86-*-sco*)
3535 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3537 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3538 noconfigdirs
="$noconfigdirs target-libgloss"
3540 i
[3456789]86-*-sysv4*)
3541 noconfigdirs
="$noconfigdirs target-libgloss"
3543 i
[3456789]86-*-beos*)
3544 noconfigdirs
="$noconfigdirs gdb"
3546 i
[3456789]86-*-rdos*)
3547 noconfigdirs
="$noconfigdirs gdb"
3550 noconfigdirs
="$noconfigdirs gdb"
3553 noconfigdirs
="$noconfigdirs sim"
3556 # copied from rs6000-*-* entry
3557 noconfigdirs
="$noconfigdirs gprof"
3559 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3560 target_configdirs
="$target_configdirs target-winsup"
3561 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3562 # always build newlib.
3563 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3565 # This is temporary until we can link against shared libraries
3566 powerpcle-
*-solaris*)
3567 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3570 noconfigdirs
="$noconfigdirs gdb"
3573 noconfigdirs
="$noconfigdirs gprof"
3576 noconfigdirs
="$noconfigdirs gprof"
3579 noconfigdirs
="$noconfigdirs gprof"
3582 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3585 noconfigdirs
="$noconfigdirs gprof"
3588 if test x
$with_newlib = xyes
; then
3589 noconfigdirs
="$noconfigdirs gprof"
3593 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3596 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3599 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3604 noconfigdirs
="$noconfigdirs gprof"
3611 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3615 if test x
${is_cross_compiler} = xno
; then
3620 noconfigdirs
="$noconfigdirs sim"
3622 tilepro-
*-* | tilegx-
*-*)
3623 noconfigdirs
="$noconfigdirs sim"
3626 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3629 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3633 # If we aren't building newlib, then don't build libgloss, since libgloss
3634 # depends upon some newlib header files.
3635 case "${noconfigdirs}" in
3636 *target-libgloss
*) ;;
3637 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3640 # Work in distributions that contain no compiler tools, like Autoconf.
3641 host_makefile_frag
=/dev
/null
3642 if test -d ${srcdir}/config
; then
3644 i
[3456789]86-*-msdosdjgpp*)
3645 host_makefile_frag
="config/mh-djgpp"
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3650 $as_echo_n "checking to see if cat works as expected... " >&6; }
3651 echo a
>cygwin-cat-check
3652 if test `cat cygwin-cat-check` = a
; then
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3655 $as_echo "yes" >&6; }
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3659 $as_echo "no" >&6; }
3660 as_fn_error
"The cat command does not ignore carriage return characters.
3661 Please either mount the build directory in binary mode or run the following
3662 commands before running any configure script:
3668 host_makefile_frag
="config/mh-cygwin"
3671 host_makefile_frag
="config/mh-mingw"
3674 host_makefile_frag
="config/mh-interix"
3677 host_makefile_frag
="config/mh-pa-hpux10"
3680 host_makefile_frag
="config/mh-pa"
3683 host_makefile_frag
="config/mh-pa"
3686 host_makefile_frag
="config/mh-darwin"
3689 host_makefile_frag
="config/mh-ppc-aix"
3692 host_makefile_frag
="config/mh-ppc-aix"
3697 if test "${build}" != "${host}" ; then
3698 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3699 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3700 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3701 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3702 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3703 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3704 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3705 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3706 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3707 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3708 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3709 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3710 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3712 AR_FOR_BUILD
="\$(AR)"
3713 AS_FOR_BUILD
="\$(AS)"
3714 CC_FOR_BUILD
="\$(CC)"
3715 CXX_FOR_BUILD
="\$(CXX)"
3716 GCJ_FOR_BUILD
="\$(GCJ)"
3717 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3718 GOC_FOR_BUILD
="\$(GOC)"
3719 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3720 LD_FOR_BUILD
="\$(LD)"
3721 NM_FOR_BUILD
="\$(NM)"
3722 RANLIB_FOR_BUILD
="\$(RANLIB)"
3723 WINDRES_FOR_BUILD
="\$(WINDRES)"
3724 WINDMC_FOR_BUILD
="\$(WINDMC)"
3728 ac_cpp
='$CPP $CPPFLAGS'
3729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3732 if test -n "$ac_tool_prefix"; then
3733 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3734 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC
="$CC" # Let the user override the test.
3743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir
=.
3748 for ac_exec_ext
in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3771 if test -z "$ac_cv_prog_CC"; then
3773 # Extract the first word of "gcc", so it can be a program name with args.
3774 set dummy gcc
; ac_word
=$2
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3778 $as_echo_n "(cached) " >&6
3780 if test -n "$ac_ct_CC"; then
3781 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_ac_ct_CC
="gcc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3801 if test -n "$ac_ct_CC"; then
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3803 $as_echo "$ac_ct_CC" >&6; }
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3806 $as_echo "no" >&6; }
3809 if test "x$ac_ct_CC" = x
; then
3812 case $cross_compiling:$ac_tool_warned in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned
=yes ;;
3824 if test -z "$CC"; then
3825 if test -n "$ac_tool_prefix"; then
3826 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3827 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC
="$CC" # Let the user override the test.
3836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3840 test -z "$as_dir" && as_dir
=.
3841 for ac_exec_ext
in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3865 if test -z "$CC"; then
3866 # Extract the first word of "cc", so it can be a program name with args.
3867 set dummy cc
; ac_word
=$2
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3869 $as_echo_n "checking for $ac_word... " >&6; }
3870 if test "${ac_cv_prog_CC+set}" = set; then :
3871 $as_echo_n "(cached) " >&6
3873 if test -n "$CC"; then
3874 ac_cv_prog_CC
="$CC" # Let the user override the test.
3877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3881 test -z "$as_dir" && as_dir
=.
3882 for ac_exec_ext
in '' $ac_executable_extensions; do
3883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3884 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3885 ac_prog_rejected
=yes
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 if test $ac_prog_rejected = yes; then
3897 # We found a bogon in the path, so make sure we never use it.
3898 set dummy
$ac_cv_prog_CC
3900 if test $# != 0; then
3901 # We chose a different compiler from the bogus one.
3902 # However, it has the same basename, so the bogon will be chosen
3903 # first if we set CC to just the basename; use the full file name.
3905 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3911 if test -n "$CC"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3913 $as_echo "$CC" >&6; }
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3916 $as_echo "no" >&6; }
3921 if test -z "$CC"; then
3922 if test -n "$ac_tool_prefix"; then
3923 for ac_prog
in cl.exe
3925 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3926 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if test "${ac_cv_prog_CC+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$CC"; then
3933 ac_cv_prog_CC
="$CC" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3942 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 if test -n "$CC"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3955 $as_echo "$CC" >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3962 test -n "$CC" && break
3965 if test -z "$CC"; then
3967 for ac_prog
in cl.exe
3969 # Extract the first word of "$ac_prog", so it can be a program name with args.
3970 set dummy
$ac_prog; ac_word
=$2
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3972 $as_echo_n "checking for $ac_word... " >&6; }
3973 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3974 $as_echo_n "(cached) " >&6
3976 if test -n "$ac_ct_CC"; then
3977 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3983 test -z "$as_dir" && as_dir
=.
3984 for ac_exec_ext
in '' $ac_executable_extensions; do
3985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3986 ac_cv_prog_ac_ct_CC
="$ac_prog"
3987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3996 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3997 if test -n "$ac_ct_CC"; then
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3999 $as_echo "$ac_ct_CC" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4002 $as_echo "no" >&6; }
4006 test -n "$ac_ct_CC" && break
4009 if test "x$ac_ct_CC" = x
; then
4012 case $cross_compiling:$ac_tool_warned in
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4015 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4016 ac_tool_warned
=yes ;;
4025 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4026 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4027 as_fn_error
"no acceptable C compiler found in \$PATH
4028 See \`config.log' for more details." "$LINENO" 5; }
4030 # Provide some information about the compiler.
4031 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4034 for ac_option
in --version -v -V -qversion; do
4035 { { ac_try
="$ac_compiler $ac_option >&5"
4037 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4038 *) ac_try_echo=$ac_try;;
4040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4041 $as_echo "$ac_try_echo"; } >&5
4042 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4044 if test -s conftest.err; then
4046 ... rest of stderr output deleted ...
4047 10q' conftest.err >conftest.er1
4048 cat conftest.er1 >&5
4049 rm -f conftest.er1 conftest.err
4051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4052 test $ac_status = 0; }
4055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4056 /* end confdefs.h. */
4066 ac_clean_files_save=$ac_clean_files
4067 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4068 # Try to create an executable without -o first, disregard a.out.
4069 # It will help us diagnose broken compilers, and finding out an intuition
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4072 $as_echo_n "checking for C compiler default output file name... " >&6; }
4073 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4075 # The possible output files:
4076 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4079 for ac_file in $ac_files
4082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4083 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4088 if { { ac_try="$ac_link_default"
4090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4091 *) ac_try_echo
=$ac_try;;
4093 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4094 $as_echo "$ac_try_echo"; } >&5
4095 (eval "$ac_link_default") 2>&5
4097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4098 test $ac_status = 0; }; then :
4099 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4100 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4101 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4102 # so that the user can short-circuit this test for compilers unknown to
4104 for ac_file
in $ac_files ''
4106 test -f "$ac_file" ||
continue
4108 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4111 # We found the default executable, but exeext='' is most
4115 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4117 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4119 # We set ac_cv_exeext here because the later test for it is not
4120 # safe: cross compilers may not add the suffix if given an `-o'
4121 # argument, so we may need to know it at that point already.
4122 # Even if this section looks crufty: it has the advantage of
4129 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4135 $as_echo "$ac_file" >&6; }
4136 if test -z "$ac_file"; then :
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.
$ac_ext >&5
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 { as_fn_set_status
77
4143 as_fn_error
"C compiler cannot create executables
4144 See \`config.log' for more details." "$LINENO" 5; }; }
4146 ac_exeext
=$ac_cv_exeext
4148 # Check that the compiler produces executables we can run. If not, either
4149 # the compiler is broken, or we cross compile.
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4151 $as_echo_n "checking whether the C compiler works... " >&6; }
4152 # If not cross compiling, check that we can run a simple program.
4153 if test "$cross_compiling" != yes; then
4154 if { ac_try
='./$ac_file'
4155 { { case "(($ac_try" in
4156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4157 *) ac_try_echo=$ac_try;;
4159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4160 $as_echo "$ac_try_echo"; } >&5
4161 (eval "$ac_try") 2>&5
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; }; then
4167 if test "$cross_compiling" = maybe; then
4170 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4172 as_fn_error "cannot run C compiled programs.
4173 If you meant to cross compile
, use \
`--host'.
4174 See \`config.log
' for more details." "$LINENO" 5; }
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4179 $as_echo "yes" >&6; }
4181 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4182 ac_clean_files=$ac_clean_files_save
4183 # Check that the compiler produces executables we can run. If not, either
4184 # the compiler is broken, or we cross compile.
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4186 $as_echo_n "checking whether we are cross compiling... " >&6; }
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4188 $as_echo "$cross_compiling" >&6; }
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4191 $as_echo_n "checking for suffix of executables... " >&6; }
4192 if { { ac_try="$ac_link"
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4197 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4198 $as_echo "$ac_try_echo"; } >&5
4199 (eval "$ac_link") 2>&5
4201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4202 test $ac_status = 0; }; then :
4203 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4204 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4205 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4207 for ac_file
in conftest.exe conftest conftest.
*; do
4208 test -f "$ac_file" ||
continue
4210 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4211 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4220 See \`config.log' for more details." "$LINENO" 5; }
4222 rm -f conftest
$ac_cv_exeext
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4224 $as_echo "$ac_cv_exeext" >&6; }
4226 rm -f conftest.
$ac_ext
4227 EXEEXT
=$ac_cv_exeext
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4230 $as_echo_n "checking for suffix of object files... " >&6; }
4231 if test "${ac_cv_objext+set}" = set; then :
4232 $as_echo_n "(cached) " >&6
4234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4245 rm -f conftest.o conftest.obj
4246 if { { ac_try
="$ac_compile"
4248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4249 *) ac_try_echo=$ac_try;;
4251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4252 $as_echo "$ac_try_echo"; } >&5
4253 (eval "$ac_compile") 2>&5
4255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4256 test $ac_status = 0; }; then :
4257 for ac_file in conftest.o conftest.obj conftest.*; do
4258 test -f "$ac_file" || continue;
4260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4261 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4266 $as_echo "$as_me: failed program was:" >&5
4267 sed 's/^/| /' conftest.$ac_ext >&5
4269 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4270 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4271 as_fn_error "cannot compute suffix of object files
: cannot compile
4272 See \
`config.log' for more details." "$LINENO" 5; }
4274 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4277 $as_echo "$ac_cv_objext" >&6; }
4278 OBJEXT=$ac_cv_objext
4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4281 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4282 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4283 $as_echo_n "(cached) " >&6
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4299 if ac_fn_c_try_compile "$LINENO"; then :
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4309 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4310 if test $ac_compiler_gnu = yes; then
4315 ac_test_CFLAGS=${CFLAGS+set}
4316 ac_save_CFLAGS=$CFLAGS
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4318 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4319 if test "${ac_cv_prog_cc_g+set}" = set; then :
4320 $as_echo_n "(cached) " >&6
4322 ac_save_c_werror_flag=$ac_c_werror_flag
4323 ac_c_werror_flag=yes
4326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4327 /* end confdefs.h. */
4337 if ac_fn_c_try_compile "$LINENO"; then :
4341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4342 /* end confdefs.h. */
4352 if ac_fn_c_try_compile "$LINENO"; then :
4355 ac_c_werror_flag=$ac_save_c_werror_flag
4357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4358 /* end confdefs.h. */
4368 if ac_fn_c_try_compile "$LINENO"; then :
4371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4376 ac_c_werror_flag=$ac_save_c_werror_flag
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4379 $as_echo "$ac_cv_prog_cc_g" >&6; }
4380 if test "$ac_test_CFLAGS" = set; then
4381 CFLAGS=$ac_save_CFLAGS
4382 elif test $ac_cv_prog_cc_g = yes; then
4383 if test "$GCC" = yes; then
4389 if test "$GCC" = yes; then
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4396 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4397 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4398 $as_echo_n "(cached) " >&6
4400 ac_cv_prog_cc_c89=no
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4406 #include <sys/types.h>
4407 #include <sys/stat.h>
4408 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4409 struct buf { int x; };
4410 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4411 static char *e (p, i)
4417 static char *f (char * (*g) (char **, int), char **p, ...)
4422 s = g (p, va_arg (v,int));
4427 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4428 function prototypes and stuff, but not '\xHH' hex character constants.
4429 These don't provoke an error unfortunately, instead are silently treated
4430 as 'x'. The following induces an error, until -std is added to get
4431 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4432 array size at least. It's necessary to write '\x00'==0 to get something
4433 that's true only with -std. */
4434 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4436 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4437 inside strings and character constants. */
4439 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4441 int test (int i, double x);
4442 struct s1 {int (*f) (int a);};
4443 struct s2 {int (*f) (double a);};
4444 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4450 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4455 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4456 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4458 CC="$ac_save_CC $ac_arg"
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_c89=$ac_arg
4462 rm -f core conftest.err conftest.$ac_objext
4463 test "x$ac_cv_prog_cc_c89" != "xno" && break
4465 rm -f conftest.$ac_ext
4470 case "x$ac_cv_prog_cc_c89" in
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4473 $as_echo "none needed" >&6; } ;;
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4476 $as_echo "unsupported" >&6; } ;;
4478 CC="$CC $ac_cv_prog_cc_c89"
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4480 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4482 if test "x$ac_cv_prog_cc_c89" != xno; then :
4487 ac_cpp='$CPP $CPPFLAGS'
4488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 ac_cpp='$CXXCPP $CPPFLAGS'
4494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4497 if test -z "$CXX"; then
4498 if test -n "$CCC"; then
4501 if test -n "$ac_tool_prefix"; then
4502 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4504 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4505 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if test "${ac_cv_prog_CXX+set}" = set; then :
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$CXX"; then
4512 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir=.
4519 for ac_exec_ext in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4521 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$CXX"; then
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4534 $as_echo "$CXX" >&6; }
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4537 $as_echo "no" >&6; }
4541 test -n "$CXX" && break
4544 if test -z "$CXX"; then
4546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4548 # Extract the first word of "$ac_prog", so it can be a program name with args.
4549 set dummy $ac_prog; ac_word=$2
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4551 $as_echo_n "checking for $ac_word... " >&6; }
4552 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4553 $as_echo_n "(cached) " >&6
4555 if test -n "$ac_ct_CXX"; then
4556 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4565 ac_cv_prog_ac_ct_CXX="$ac_prog"
4566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4575 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4576 if test -n "$ac_ct_CXX"; then
4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4578 $as_echo "$ac_ct_CXX" >&6; }
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 $as_echo "no" >&6; }
4585 test -n "$ac_ct_CXX" && break
4588 if test "x$ac_ct_CXX" = x; then
4591 case $cross_compiling:$ac_tool_warned in
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4594 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4595 ac_tool_warned=yes ;;
4603 # Provide some information about the compiler.
4604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4607 for ac_option in --version -v -V -qversion; do
4608 { { ac_try="$ac_compiler $ac_option >&5"
4610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4611 *) ac_try_echo
=$ac_try;;
4613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4614 $as_echo "$ac_try_echo"; } >&5
4615 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4617 if test -s conftest.err
; then
4619 ... rest of stderr output deleted ...
4620 10q' conftest.err
>conftest.er1
4621 cat conftest.er1
>&5
4622 rm -f conftest.er1 conftest.err
4624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4625 test $ac_status = 0; }
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4629 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4630 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4631 $as_echo_n "(cached) " >&6
4633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4647 if ac_fn_cxx_try_compile
"$LINENO"; then :
4652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4653 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4657 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4658 if test $ac_compiler_gnu = yes; then
4663 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4664 ac_save_CXXFLAGS
=$CXXFLAGS
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4666 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4667 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4670 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4671 ac_cxx_werror_flag
=yes
4674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4685 if ac_fn_cxx_try_compile
"$LINENO"; then :
4686 ac_cv_prog_cxx_g
=yes
4689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4700 if ac_fn_cxx_try_compile
"$LINENO"; then :
4703 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4716 if ac_fn_cxx_try_compile
"$LINENO"; then :
4717 ac_cv_prog_cxx_g
=yes
4719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4724 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4727 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4728 if test "$ac_test_CXXFLAGS" = set; then
4729 CXXFLAGS
=$ac_save_CXXFLAGS
4730 elif test $ac_cv_prog_cxx_g = yes; then
4731 if test "$GXX" = yes; then
4737 if test "$GXX" = yes; then
4744 ac_cpp
='$CPP $CPPFLAGS'
4745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4750 # We must set the default linker to the linker used by gcc for the correct
4751 # operation of libtool. If LD is not defined and we are using gcc, try to
4752 # set the LD default to the ld used by gcc.
4753 if test -z "$LD"; then
4754 if test "$GCC" = yes; then
4757 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4759 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4761 case $gcc_prog_ld in
4762 # Accept absolute paths.
4763 [\\/]* |
[A-Za-z
]:[\\/]*)
4764 LD
="$gcc_prog_ld" ;;
4772 if test -n "$ac_tool_prefix"; then
4773 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4774 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4776 $as_echo_n "checking for $ac_word... " >&6; }
4777 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4778 $as_echo_n "(cached) " >&6
4780 if test -n "$GNATBIND"; then
4781 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir
=.
4788 for ac_exec_ext
in '' $ac_executable_extensions; do
4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 GNATBIND
=$ac_cv_prog_GNATBIND
4801 if test -n "$GNATBIND"; then
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4803 $as_echo "$GNATBIND" >&6; }
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4806 $as_echo "no" >&6; }
4811 if test -z "$ac_cv_prog_GNATBIND"; then
4812 ac_ct_GNATBIND
=$GNATBIND
4813 # Extract the first word of "gnatbind", so it can be a program name with args.
4814 set dummy gnatbind
; ac_word
=$2
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4816 $as_echo_n "checking for $ac_word... " >&6; }
4817 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4820 if test -n "$ac_ct_GNATBIND"; then
4821 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4827 test -z "$as_dir" && as_dir
=.
4828 for ac_exec_ext
in '' $ac_executable_extensions; do
4829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4830 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4840 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4841 if test -n "$ac_ct_GNATBIND"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4843 $as_echo "$ac_ct_GNATBIND" >&6; }
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4846 $as_echo "no" >&6; }
4849 if test "x$ac_ct_GNATBIND" = x
; then
4852 case $cross_compiling:$ac_tool_warned in
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4855 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4856 ac_tool_warned
=yes ;;
4858 GNATBIND
=$ac_ct_GNATBIND
4861 GNATBIND
="$ac_cv_prog_GNATBIND"
4864 if test -n "$ac_tool_prefix"; then
4865 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4866 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$GNATMAKE"; then
4873 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 GNATMAKE
=$ac_cv_prog_GNATMAKE
4893 if test -n "$GNATMAKE"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4895 $as_echo "$GNATMAKE" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4903 if test -z "$ac_cv_prog_GNATMAKE"; then
4904 ac_ct_GNATMAKE
=$GNATMAKE
4905 # Extract the first word of "gnatmake", so it can be a program name with args.
4906 set dummy gnatmake
; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$ac_ct_GNATMAKE"; then
4913 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4933 if test -n "$ac_ct_GNATMAKE"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
4935 $as_echo "$ac_ct_GNATMAKE" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4941 if test "x$ac_ct_GNATMAKE" = x
; then
4944 case $cross_compiling:$ac_tool_warned in
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4947 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4948 ac_tool_warned
=yes ;;
4950 GNATMAKE
=$ac_ct_GNATMAKE
4953 GNATMAKE
="$ac_cv_prog_GNATMAKE"
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
4957 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
4958 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4961 cat >conftest.adb
<<EOF
4962 procedure conftest is begin null; end conftest;
4964 acx_cv_cc_gcc_supports_ada
=no
4965 # There is a bug in old released versions of GCC which causes the
4966 # driver to exit successfully when the appropriate language module
4967 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
4968 # Therefore we must check for the error message as well as an
4969 # unsuccessful exit.
4970 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
4971 # given a .adb file, but produce no object file. So we must check
4972 # if an object file was really produced to guard against this.
4973 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
4974 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
4975 acx_cv_cc_gcc_supports_ada
=yes
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
4980 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
4982 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
4989 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
4990 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
4991 $as_echo_n "(cached) " >&6
4995 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
4996 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
4997 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5000 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5003 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5004 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5007 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5014 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5015 do_compare
="$gcc_cv_prog_cmp_skip"
5019 # Check whether --enable-bootstrap was given.
5020 if test "${enable_bootstrap+set}" = set; then :
5021 enableval
=$enable_bootstrap;
5023 enable_bootstrap
=default
5027 # Issue errors and warnings for invalid/strange bootstrap combinations.
5028 if test -r $srcdir/gcc
/configure
; then
5034 case "$have_compiler:$host:$target:$enable_bootstrap" in
5037 # Default behavior. Enable bootstrap if we have a compiler
5038 # and we are in a native configuration.
5039 yes:$build:$build:default
)
5040 enable_bootstrap
=yes ;;
5043 enable_bootstrap
=no
;;
5045 # We have a compiler and we are in a native configuration, bootstrap is ok
5046 yes:$build:$build:yes)
5049 # Other configurations, but we have a compiler. Assume the user knows
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5053 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5056 # No compiler: if they passed --enable-bootstrap explicitly, fail
5058 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5060 # Fail if wrong command line
5062 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5066 # See if we are building gcc with C++.
5067 # Check whether --enable-build-with-cxx was given.
5068 if test "${enable_build_with_cxx+set}" = set; then :
5069 enableval
=$enable_build_with_cxx; ENABLE_BUILD_WITH_CXX
=$enableval
5071 ENABLE_BUILD_WITH_CXX
=no
5075 # Build stage1 with C and build stages 2 and 3 with C++.
5076 # Check whether --enable-build-poststage1-with-cxx was given.
5077 if test "${enable_build_poststage1_with_cxx+set}" = set; then :
5078 enableval
=$enable_build_poststage1_with_cxx; ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=$enableval
5080 ENABLE_BUILD_POSTSTAGE1_WITH_CXX
=yes
5084 # Used for setting $lt_cv_objdir
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5086 $as_echo_n "checking for objdir... " >&6; }
5087 if test "${lt_cv_objdir+set}" = set; then :
5088 $as_echo_n "(cached) " >&6
5090 rm -f .libs
2>/dev
/null
5091 mkdir .libs
2>/dev
/null
5092 if test -d .libs
; then
5095 # MS-DOS does not allow filenames that begin with a dot.
5098 rmdir .libs
2>/dev
/null
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5101 $as_echo "$lt_cv_objdir" >&6; }
5102 objdir
=$lt_cv_objdir
5108 cat >>confdefs.h
<<_ACEOF
5109 #define LT_OBJDIR "$lt_cv_objdir/"
5114 # Check for GMP, MPFR and MPC
5115 gmplibs
="-lmpc -lmpfr -lgmp"
5119 # Specify a location for mpc
5120 # check for this first so it ends up on the link line before mpfr.
5122 # Check whether --with-mpc was given.
5123 if test "${with_mpc+set}" = set; then :
5128 # Check whether --with-mpc-include was given.
5129 if test "${with_mpc_include+set}" = set; then :
5130 withval
=$with_mpc_include;
5134 # Check whether --with-mpc-lib was given.
5135 if test "${with_mpc_lib+set}" = set; then :
5136 withval
=$with_mpc_lib;
5140 if test "x$with_mpc" != x
; then
5141 gmplibs
="-L$with_mpc/lib $gmplibs"
5142 gmpinc
="-I$with_mpc/include $gmpinc"
5144 if test "x$with_mpc_include" != x
; then
5145 gmpinc
="-I$with_mpc_include $gmpinc"
5147 if test "x$with_mpc_lib" != x
; then
5148 gmplibs
="-L$with_mpc_lib $gmplibs"
5150 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5151 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5152 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5153 # Do not test the mpc version. Assume that it is sufficient, since
5154 # it is in the source tree, and the library has not been built yet
5155 # but it would be included on the link line in the version check below
5156 # hence making the test fail.
5160 # Specify a location for mpfr
5161 # check for this first so it ends up on the link line before gmp.
5163 # Check whether --with-mpfr-dir was given.
5164 if test "${with_mpfr_dir+set}" = set; then :
5165 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5166 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5171 # Check whether --with-mpfr was given.
5172 if test "${with_mpfr+set}" = set; then :
5177 # Check whether --with-mpfr-include was given.
5178 if test "${with_mpfr_include+set}" = set; then :
5179 withval
=$with_mpfr_include;
5183 # Check whether --with-mpfr-lib was given.
5184 if test "${with_mpfr_lib+set}" = set; then :
5185 withval
=$with_mpfr_lib;
5189 if test "x$with_mpfr" != x
; then
5190 gmplibs
="-L$with_mpfr/lib $gmplibs"
5191 gmpinc
="-I$with_mpfr/include $gmpinc"
5193 if test "x$with_mpfr_include" != x
; then
5194 gmpinc
="-I$with_mpfr_include $gmpinc"
5196 if test "x$with_mpfr_lib" != x
; then
5197 gmplibs
="-L$with_mpfr_lib $gmplibs"
5199 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5200 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5201 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5202 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5203 # Do not test the mpfr version. Assume that it is sufficient, since
5204 # it is in the source tree, and the library has not been built yet
5205 # but it would be included on the link line in the version check below
5206 # hence making the test fail.
5210 # Specify a location for gmp
5212 # Check whether --with-gmp-dir was given.
5213 if test "${with_gmp_dir+set}" = set; then :
5214 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5215 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5220 # Check whether --with-gmp was given.
5221 if test "${with_gmp+set}" = set; then :
5226 # Check whether --with-gmp-include was given.
5227 if test "${with_gmp_include+set}" = set; then :
5228 withval
=$with_gmp_include;
5232 # Check whether --with-gmp-lib was given.
5233 if test "${with_gmp_lib+set}" = set; then :
5234 withval
=$with_gmp_lib;
5239 if test "x$with_gmp" != x
; then
5240 gmplibs
="-L$with_gmp/lib $gmplibs"
5241 gmpinc
="-I$with_gmp/include $gmpinc"
5243 if test "x$with_gmp_include" != x
; then
5244 gmpinc
="-I$with_gmp_include $gmpinc"
5246 if test "x$with_gmp_lib" != x
; then
5247 gmplibs
="-L$with_gmp_lib $gmplibs"
5249 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5250 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5251 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5252 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5253 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5254 # Do not test the gmp version. Assume that it is sufficient, since
5255 # it is in the source tree, and the library has not been built yet
5256 # but it would be included on the link line in the version check below
5257 # hence making the test fail.
5261 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5263 saved_CFLAGS
="$CFLAGS"
5264 CFLAGS
="$CFLAGS $gmpinc"
5265 # Check for the recommended and required versions of GMP.
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5267 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5270 /* end confdefs.h. */
5276 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5277 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5278 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5286 if ac_fn_c_try_compile
"$LINENO"; then :
5287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5294 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5295 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5296 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5304 if ac_fn_c_try_compile
"$LINENO"; then :
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5306 $as_echo "yes" >&6; }
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5309 $as_echo "buggy but acceptable" >&6; }
5311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5314 $as_echo "no" >&6; }; have_gmp
=no
5316 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5318 # If we have GMP, check the MPFR version.
5319 if test x
"$have_gmp" = xyes
; then
5320 # Check for the recommended and required versions of MPFR.
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5322 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5331 #if MPFR_VERSION < MPFR_VERSION_NUM(2,3,1)
5339 if ac_fn_c_try_compile
"$LINENO"; then :
5340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5341 /* end confdefs.h. */
5348 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5356 if ac_fn_c_try_compile
"$LINENO"; then :
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5358 $as_echo "yes" >&6; }
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5361 $as_echo "buggy but acceptable" >&6; }
5363 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5366 $as_echo "no" >&6; }; have_gmp
=no
5368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 # Check for the MPC header version.
5372 if test x
"$have_gmp" = xyes
; then
5373 # Check for the recommended and required versions of MPC.
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5375 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5377 /* end confdefs.h. */
5383 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5391 if ac_fn_c_try_compile
"$LINENO"; then :
5392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5399 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5407 if ac_fn_c_try_compile
"$LINENO"; then :
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5409 $as_echo "yes" >&6; }
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5412 $as_echo "buggy but acceptable" >&6; }
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5417 $as_echo "no" >&6; }; have_gmp
=no
5419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 # Now check the MPFR library.
5423 if test x
"$have_gmp" = xyes
; then
5425 LIBS
="$LIBS $gmplibs"
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5427 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5429 /* end confdefs.h. */
5441 mpfr_atan2 (n, n, x, GMP_RNDN);
5442 mpfr_erfc (n, x, GMP_RNDN);
5443 mpfr_subnormalize (x, t, GMP_RNDN);
5447 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5448 mpc_cosh (c, c, MPC_RNDNN);
5449 mpc_pow (c, c, c, MPC_RNDNN);
5450 mpc_acosh (c, c, MPC_RNDNN);
5457 if ac_fn_c_try_link
"$LINENO"; then :
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5459 $as_echo "yes" >&6; }
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5462 $as_echo "no" >&6; }; have_gmp
=no
5464 rm -f core conftest.err conftest.
$ac_objext \
5465 conftest
$ac_exeext conftest.
$ac_ext
5469 CFLAGS
="$saved_CFLAGS"
5471 # The library versions listed in the error message below should match
5472 # the HARD-minimums enforced above.
5473 if test x
$have_gmp != xyes
; then
5474 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
5475 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5476 their locations. Source code for these libraries can be found at
5477 their respective hosting sites as well as at
5478 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5479 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5480 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5481 make sure that you have installed both the libraries and the header
5482 files. They may be located in separate packages." "$LINENO" 5
5486 # Flags needed for both GMP, MPFR and/or MPC.
5493 # Allow host libstdc++ to be specified for static linking with PPL.
5495 # Check whether --with-host-libstdcxx was given.
5496 if test "${with_host_libstdcxx+set}" = set; then :
5497 withval
=$with_host_libstdcxx;
5501 case $with_host_libstdcxx in
5503 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5507 # Linker flags to use for stage1 or when not boostrapping.
5509 # Check whether --with-stage1-ldflags was given.
5510 if test "${with_stage1_ldflags+set}" = set; then :
5511 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5514 stage1_ldflags
=$withval
5522 # Libraries to use for stage1 or when not bootstrapping.
5524 # Check whether --with-stage1-libs was given.
5525 if test "${with_stage1_libs+set}" = set; then :
5526 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5529 stage1_libs
=$withval
5532 stage1_libs
=$with_host_libstdcxx
5537 # Libraries to use for stage2 and later builds. This defaults to the
5538 # argument passed to --with-host-libstdcxx.
5540 # Check whether --with-boot-libs was given.
5541 if test "${with_boot_libs+set}" = set; then :
5542 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5545 poststage1_libs
=$withval
5548 poststage1_libs
=$with_host_libstdcxx
5553 # Linker flags to use for stage2 and later builds.
5555 # Check whether --with-boot-ldflags was given.
5556 if test "${with_boot_ldflags+set}" = set; then :
5557 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5560 poststage1_ldflags
=$withval
5564 # In stages 2 and 3, default to linking libstdc++ and libgcc
5565 # statically. But if the user explicitly specified the libraries to
5566 # use, trust that they are doing what they want.
5567 if test "$poststage1_libs" = ""; then
5568 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5580 # Check whether --with-ppl was given.
5581 if test "${with_ppl+set}" = set; then :
5586 # Check whether --with-ppl-include was given.
5587 if test "${with_ppl_include+set}" = set; then :
5588 withval
=$with_ppl_include;
5592 # Check whether --with-ppl-lib was given.
5593 if test "${with_ppl_lib+set}" = set; then :
5594 withval
=$with_ppl_lib;
5598 # Check whether --enable-ppl-version-check was given.
5599 if test "${enable_ppl_version_check+set}" = set; then :
5600 enableval
=$enable_ppl_version_check;
5608 ppllibs
="-L$with_ppl/lib"
5609 pplinc
="-I$with_ppl/include $pplinc"
5610 if test -d "$with_ppl/lib" && test -d "$with_ppl/include"; then
5613 as_fn_error
"cannot find directories \"$with_ppl/lib\" or \"$with_ppl/include\"" "$LINENO" 5
5618 if test x
"$with_ppl_include" != x
; then
5619 pplinc
="-I$with_ppl_include $pplinc"
5623 if test "x$with_ppl_lib" != x
; then
5624 ppllibs
="-L$with_ppl_lib"
5628 if test x
"$with_ppl$with_ppl_include$with_ppl_lib" = x
&& test -d ${srcdir}/ppl
; then
5629 if test x
"$enable_watchdog" = xyes
; then
5632 ppllibs
='-L$$r/$(HOST_SUBDIR)/ppl/interfaces/C/'"$lt_cv_objdir"' -L$$r/$(HOST_SUBDIR)/ppl/src/'"$lt_cv_objdir"
5633 pplinc
='-I$$r/$(HOST_SUBDIR)/ppl/src -I$$r/$(HOST_SUBDIR)/ppl/interfaces/C '
5634 enable_ppl_version_check
=no
5638 if test "x$with_ppl" != xno
; then
5639 if test "x$pwllib" = x
; then
5641 LIBS
="$LIBS $ppllibs -lstdc++ -lm"
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PWL_handle_timeout in -lpwl" >&5
5643 $as_echo_n "checking for PWL_handle_timeout in -lpwl... " >&6; }
5644 if test "${ac_cv_lib_pwl_PWL_handle_timeout+set}" = set; then :
5645 $as_echo_n "(cached) " >&6
5647 ac_check_lib_save_LIBS
=$LIBS
5649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5650 /* end confdefs.h. */
5652 /* Override any GCC internal prototype to avoid an error.
5653 Use char because int might match the return type of a GCC
5654 builtin and then its argument prototype would still apply. */
5658 char PWL_handle_timeout ();
5662 return PWL_handle_timeout ();
5667 if ac_fn_c_try_link
"$LINENO"; then :
5668 ac_cv_lib_pwl_PWL_handle_timeout
=yes
5670 ac_cv_lib_pwl_PWL_handle_timeout
=no
5672 rm -f core conftest.err conftest.
$ac_objext \
5673 conftest
$ac_exeext conftest.
$ac_ext
5674 LIBS
=$ac_check_lib_save_LIBS
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pwl_PWL_handle_timeout" >&5
5677 $as_echo "$ac_cv_lib_pwl_PWL_handle_timeout" >&6; }
5678 if test "x$ac_cv_lib_pwl_PWL_handle_timeout" = x
""yes; then :
5685 ppllibs
="$ppllibs -lppl_c -lppl $pwllib -lgmpxx"
5687 if test "$enable_ppl_version_check" != no
; then
5688 saved_CFLAGS
="$CFLAGS"
5689 CFLAGS
="$CFLAGS $pplinc $gmpinc"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.11 (revision 0 or later) of PPL" >&5
5691 $as_echo_n "checking for version 0.11 (revision 0 or later) of PPL... " >&6; }
5692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5693 /* end confdefs.h. */
5699 #if PPL_VERSION_MAJOR != 0 || PPL_VERSION_MINOR < 11
5707 if ac_fn_c_try_compile
"$LINENO"; then :
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5709 $as_echo "yes" >&6; }
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5712 $as_echo "no" >&6; }; ppllibs
= ; pplinc
= ; with_ppl
=no
5714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5715 CFLAGS
="$saved_CFLAGS"
5719 # Flags needed for PPL
5728 # Check whether --with-cloog was given.
5729 if test "${with_cloog+set}" = set; then :
5730 withval
=$with_cloog;
5734 # Check whether --with-cloog-include was given.
5735 if test "${with_cloog_include+set}" = set; then :
5736 withval
=$with_cloog_include;
5740 # Check whether --with-cloog-lib was given.
5741 if test "${with_cloog_lib+set}" = set; then :
5742 withval
=$with_cloog_lib;
5746 # Check whether --enable-cloog-backend was given.
5747 if test "${enable_cloog_backend+set}" = set; then :
5748 enableval
=$enable_cloog_backend; if test "x${enableval}" = "xisl"; then
5750 elif test "x${enableval}" = "xppl"; then
5753 cloog_backend
=ppl-legacy
5756 cloog_backend
=ppl-legacy
5759 # Check whether --enable-cloog-version-check was given.
5760 if test "${enable_cloog_version_check+set}" = set; then :
5761 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5763 ENABLE_CLOOG_CHECK
=yes
5767 # Initialize clooglibs and clooginc.
5776 clooglibs
="-L$with_cloog/lib"
5777 clooginc
="-I$with_cloog/include"
5780 if test "x${with_cloog_include}" != x
; then
5781 clooginc
="-I$with_cloog_include"
5783 if test "x${with_cloog_lib}" != x
; then
5784 clooglibs
="-L$with_cloog_lib"
5791 if test "x$with_ppl" = "xno"; then
5795 if test "x${with_cloog}" = xno
; then
5796 graphite_requested
=no
5797 elif test "x${with_cloog}" != x \
5798 ||
test "x${with_cloog_include}" != x \
5799 ||
test "x${with_cloog_lib}" != x
; then
5800 graphite_requested
=yes
5802 graphite_requested
=no
5806 if test "${graphite_requested}" = yes; then
5807 as_fn_error
"Unable to find a usable PPL. See config.log for details." "$LINENO" 5
5811 if test "x${with_cloog}" = x
&& test "x${with_cloog_include}" = x \
5812 && test "x${with_cloog_lib}" = x
&& test -d ${srcdir}/cloog
; then
5813 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5814 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include '
5816 if test "x$with_cloog" != "xno"; then
5820 _cloog_saved_CFLAGS
=$CFLAGS
5821 _cloog_saved_CPPFLAGS
=$CPPFLAGS
5822 _cloog_saved_LDFLAGS
=$LDFLAGS
5823 _cloog_saved_LIBS
=$LIBS
5825 _cloogorginc
="-DCLOOG_INT_GMP -DCLOOG_ORG"
5827 CFLAGS
="${CFLAGS} ${clooginc} ${gmpinc}"
5828 CPPFLAGS
="${CPPFLAGS} ${_cloogorginc}"
5829 LDFLAGS
="${LDFLAGS} ${clooglibs}"
5831 case $cloog_backend in
5833 CFLAGS
="${CFLAGS} ${pplinc}"
5834 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL Legacy" >&5
5836 $as_echo_n "checking for installed CLooG PPL Legacy... " >&6; }
5837 if test "${gcc_cv_cloog_type+set}" = set; then :
5838 $as_echo_n "(cached) " >&6
5840 LIBS
="-lcloog ${_cloog_saved_LIBS}"
5841 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5842 /* end confdefs.h. */
5843 #include "cloog/cloog.h"
5847 #ifndef CLOOG_PPL_BACKEND
5854 if ac_fn_c_try_link
"$LINENO"; then :
5855 gcc_cv_cloog_type
="PPL Legacy"
5857 gcc_cv_cloog_type
=no
5859 rm -f core conftest.err conftest.
$ac_objext \
5860 conftest
$ac_exeext conftest.
$ac_ext
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5863 $as_echo "$gcc_cv_cloog_type" >&6; }
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG ISL" >&5
5867 $as_echo_n "checking for installed CLooG ISL... " >&6; }
5868 if test "${gcc_cv_cloog_type+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5871 LIBS
="-lcloog-isl ${_cloog_saved_LIBS}"
5872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5873 /* end confdefs.h. */
5874 #include "cloog/cloog.h"
5883 if ac_fn_c_try_link
"$LINENO"; then :
5884 gcc_cv_cloog_type
="ISL"
5886 gcc_cv_cloog_type
=no
5888 rm -f core conftest.err conftest.
$ac_objext \
5889 conftest
$ac_exeext conftest.
$ac_ext
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5892 $as_echo "$gcc_cv_cloog_type" >&6; }
5895 CFLAGS
="${CFLAGS} ${pplinc}"
5896 LDFLAGS
="${LDFLAGS} ${ppllibs}"
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for installed CLooG PPL" >&5
5898 $as_echo_n "checking for installed CLooG PPL... " >&6; }
5899 if test "${gcc_cv_cloog_type+set}" = set; then :
5900 $as_echo_n "(cached) " >&6
5902 LIBS
="-lcloog-ppl ${_cloog_saved_LIBS}"
5903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5904 /* end confdefs.h. */
5905 #include "cloog/cloog.h"
5906 #include "cloog/ppl/cloog.h"
5915 if ac_fn_c_try_link
"$LINENO"; then :
5916 gcc_cv_cloog_type
="PPL"
5918 gcc_cv_cloog_type
=no
5920 rm -f core conftest.err conftest.
$ac_objext \
5921 conftest
$ac_exeext conftest.
$ac_ext
5923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_type" >&5
5924 $as_echo "$gcc_cv_cloog_type" >&6; }
5927 gcc_cv_cloog_type
=""
5930 case $gcc_cv_cloog_type in
5932 clooginc
="${clooginc}"
5933 clooglibs
="${clooglibs} -lcloog"
5937 clooginc
="${clooginc} ${_cloogorginc}"
5938 clooglibs
="${clooglibs} -lcloog-isl -lisl"
5942 clooginc
="${clooginc} ${_cloogorginc}"
5943 clooglibs
="${clooglibs} -lcloog-ppl"
5953 LIBS
=$_cloog_saved_LIBS
5954 CFLAGS
=$_cloog_saved_CFLAGS
5955 CPPFLAGS
=$_cloog_saved_CPPFLAGS
5956 LDFLAGS
=$_cloog_saved_LDFLAGS
5962 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5963 _cloog_saved_CFLAGS
=$CFLAGS
5964 _cloog_saved_LDFLAGS
=$LDFLAGS
5966 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${pplinc} ${gmpinc}"
5967 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${ppllibs}"
5969 if test "${cloog_org}" = yes ; then
5970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.16.1 of CLooG" >&5
5971 $as_echo_n "checking for version 0.16.1 of CLooG... " >&6; }
5972 if test "${gcc_cv_cloog_ct_0_14_0+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5977 #include "cloog/cloog.h"
5981 #if CLOOG_VERSION_MAJOR != 0 \
5982 || CLOOG_VERSION_MINOR != 16 \
5983 || CLOOG_VERSION_REVISION < 1
5990 if ac_fn_c_try_compile
"$LINENO"; then :
5991 gcc_cv_cloog_ct_0_14_0
=yes
5993 gcc_cv_cloog_ct_0_14_0
=no
5995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_14_0" >&5
5998 $as_echo "$gcc_cv_cloog_ct_0_14_0" >&6; }
5999 elif test "${cloog_org}" = no
; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.15.5 (or later revision) of CLooG" >&5
6001 $as_echo_n "checking for version 0.15.5 (or later revision) of CLooG... " >&6; }
6002 if test "${gcc_cv_cloog_ct_0_15_5+set}" = set; then :
6003 $as_echo_n "(cached) " >&6
6005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6006 /* end confdefs.h. */
6007 #include "cloog/cloog.h"
6011 #if CLOOG_VERSION_MAJOR != 0 \
6012 || CLOOG_VERSION_MINOR != 15 \
6013 || CLOOG_VERSION_REVISION < 5
6020 if ac_fn_c_try_compile
"$LINENO"; then :
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include "cloog/cloog.h"
6027 #if CLOOG_VERSION_MAJOR != 0 \
6028 || CLOOG_VERSION_MINOR != 15 \
6029 || CLOOG_VERSION_REVISION < 9
6036 if ac_fn_c_try_compile
"$LINENO"; then :
6037 gcc_cv_cloog_ct_0_15_5
=yes
6039 gcc_cv_cloog_ct_0_15_5
="buggy but acceptable"
6041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6043 gcc_cv_cloog_ct_0_15_5
=no
6045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog_ct_0_15_5" >&5
6048 $as_echo "$gcc_cv_cloog_ct_0_15_5" >&6; }
6051 CFLAGS
=$_cloog_saved_CFLAGS
6052 LDFLAGS
=$_cloog_saved_LDFLAGS
6061 if test "x${with_cloog}" = xno
; then
6062 graphite_requested
=no
6063 elif test "x${with_cloog}" != x \
6064 ||
test "x${with_cloog_include}" != x \
6065 ||
test "x${with_cloog_lib}" != x
; then
6066 graphite_requested
=yes
6068 graphite_requested
=no
6073 if test "${gcc_cv_cloog_ct_0_14_0}" = no \
6074 ||
test "${gcc_cv_cloog_rt_0_14_0}" = no \
6075 ||
test "${gcc_cv_cloog_ct_0_15_5}" = no
; then
6080 if test "${graphite_requested}" = yes \
6081 && test "x${clooglibs}" = x \
6082 && test "x${clooginc}" = x
; then
6084 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6090 # Check for LTO support.
6091 # Check whether --enable-lto was given.
6092 if test "${enable_lto+set}" = set; then :
6093 enableval
=$enable_lto; enable_lto
=$enableval
6095 enable_lto
=yes; default_enable_lto
=yes
6104 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6105 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6106 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6114 if test $target_elf = yes; then :
6115 # ELF platforms build the lto-plugin always.
6116 build_lto_plugin
=yes
6119 if test x
"$default_enable_lto" = x
"yes" ; then
6121 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6122 # On other non-ELF platforms, LTO has yet to be validated.
6126 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6127 # It would also be nice to check the binutils support, but we don't
6128 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6129 # warn during gcc/ subconfigure; unless you're bootstrapping with
6130 # -flto it won't be needed until after installation anyway.
6132 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6133 *) if test x
"$enable_lto" = x
"yes"; then
6134 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6139 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6140 # Build it unless LTO was explicitly disabled.
6142 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6150 # By default, C is the only stage 1 language.
6151 stage1_languages
=,c
,
6153 # Target libraries that we bootstrap.
6154 bootstrap_target_libs
=,target-libgcc
,
6156 # Figure out what language subdirectories are present.
6157 # Look if the user specified --enable-languages="..."; if not, use
6158 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6160 # NB: embedded tabs in this IF block -- do not untabify
6161 if test -d ${srcdir}/gcc
; then
6162 if test x
"${enable_languages+set}" != xset
; then
6163 if test x
"${LANGUAGES+set}" = xset
; then
6164 enable_languages
="${LANGUAGES}"
6165 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6167 enable_languages
=all
6170 if test x
"${enable_languages}" = x ||
6171 test x
"${enable_languages}" = xyes
;
6173 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6177 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6179 # 'f95' is the old name for the 'fortran' language. We issue a warning
6180 # and make the substitution.
6181 case ,${enable_languages}, in
6183 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6184 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6188 # If bootstrapping, then using --enable-build-with-cxx or
6189 # --enable-build-poststage1-with-cxx requires enabling C++.
6190 case ",$enable_languages,:,$ENABLE_BUILD_WITH_CXX,$ENABLE_BUILD_POSTSTAGE1_WITH_CXX,:$enable_bootstrap" in
6193 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6194 enable_languages
="${enable_languages},c++"
6196 as_fn_error
"bootstrapping with --enable-build-with-cxx or --enable-build-poststage1-with-cxx requires c++ sources" "$LINENO" 5
6201 # First scan to see if an enabled language requires some other language.
6202 # We assume that a given config-lang.in will list all the language
6203 # front ends it requires, even if some are required indirectly.
6204 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6205 case ${lang_frag} in
6207 # The odd quoting in the next line works around
6208 # an apparent bug in bash 1.12 on linux.
6209 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6211 # From the config-lang.in, get $language, $lang_requires, and
6212 # $lang_requires_boot_languages.
6215 lang_requires_boot_languages
=
6217 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6218 case ,${enable_languages}, in
6222 echo " \`$other' language required by \`$language'; enabling" 1>&2
6223 enable_languages
="${enable_languages},${other}"
6227 for other
in ${lang_requires_boot_languages} ; do
6228 if test "$other" != "c"; then
6229 case ,${enable_stage1_languages}, in
6233 case ,${enable_languages}, in
6235 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6236 enable_stage1_languages
="$enable_stage1_languages,${other}"
6247 new_enable_languages
=,c
,
6249 # If LTO is enabled, add the LTO front end.
6250 extra_host_libiberty_configure_flags
=
6251 if test "$enable_lto" = "yes" ; then
6252 case ,${enable_languages}, in
6254 *) enable_languages
="${enable_languages},lto" ;;
6256 if test "${build_lto_plugin}" = "yes" ; then
6257 configdirs
="$configdirs lto-plugin"
6258 extra_host_libiberty_configure_flags
=--enable-shared
6263 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6264 potential_languages
=,c
,
6266 enabled_target_libs
=
6267 disabled_target_libs
=
6269 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6270 case ${lang_frag} in
6272 # The odd quoting in the next line works around
6273 # an apparent bug in bash 1.12 on linux.
6274 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6276 # From the config-lang.in, get $language, $target_libs,
6277 # $lang_dirs, $boot_language, and $build_by_default
6283 build_by_default
=yes
6285 if test x
${language} = x
; then
6286 echo "${lang_frag} doesn't set \$language." 1>&2
6290 if test "$language" = "c++"; then
6291 if test "$ENABLE_BUILD_WITH_CXX" = "yes" \
6292 ||
test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
6297 case ,${enable_languages}, in
6299 # Language was explicitly selected; include it.
6303 # 'all' was selected, select it if it is a default language
6304 add_this_lang
=${build_by_default}
6311 # Disable languages that need other directories if these aren't available.
6312 for i
in $subdir_requires; do
6313 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6314 case ,${enable_languages}, in
6316 # Specifically requested language; tell them.
6317 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6321 add_this_lang
=unsupported
6326 # Disable Ada if no preexisting GNAT is available.
6327 case ,${enable_languages},:${language}:${have_gnat} in
6328 *,${language},*:ada
:no
)
6329 # Specifically requested language; tell them.
6330 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6334 add_this_lang
=unsupported
6338 # Disable a language that is unsupported by the target.
6339 case " $unsupported_languages " in
6341 add_this_lang
=unsupported
6345 case $add_this_lang in
6347 # Remove language-dependent dirs.
6348 disabled_target_libs
="$disabled_target_libs $target_libs"
6349 noconfigdirs
="$noconfigdirs $lang_dirs"
6352 # Remove language-dependent dirs; still show language as supported.
6353 disabled_target_libs
="$disabled_target_libs $target_libs"
6354 noconfigdirs
="$noconfigdirs $lang_dirs"
6355 potential_languages
="${potential_languages}${language},"
6358 new_enable_languages
="${new_enable_languages}${language},"
6359 potential_languages
="${potential_languages}${language},"
6360 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6361 enabled_target_libs
="$enabled_target_libs $target_libs"
6362 case "${boot_language}:,$enable_stage1_languages," in
6363 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6364 # Add to (comma-separated) list of stage 1 languages.
6365 case ",$stage1_languages," in
6366 *,$language,* |
,yes, |
,all
,) ;;
6367 *) stage1_languages
="${stage1_languages}${language}," ;;
6369 # We need to bootstrap any supporting libraries.
6370 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6379 # Add target libraries which are only needed for disabled languages
6381 if test -n "$disabled_target_libs"; then
6382 for dir
in $disabled_target_libs; do
6383 case " $enabled_target_libs " in
6385 *) noconfigdirs
="$noconfigdirs $dir" ;;
6390 # Check whether --enable-stage1-languages was given.
6391 if test "${enable_stage1_languages+set}" = set; then :
6392 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6394 # Set it to something that will have no effect in the loop below
6395 enable_stage1_languages
=c
;;
6397 enable_stage1_languages
=`echo $new_enable_languages | \
6398 sed -e "s/^,//" -e "s/,$//" ` ;;
6400 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6401 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6404 # Add "good" languages from enable_stage1_languages to stage1_languages,
6405 # while "bad" languages go in missing_languages. Leave no duplicates.
6406 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6407 case $potential_languages in
6409 case $stage1_languages in
6411 *) stage1_languages
="$stage1_languages$i," ;;
6414 case $missing_languages in
6416 *) missing_languages
="$missing_languages$i," ;;
6423 # Remove leading/trailing commas that were added for simplicity
6424 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6425 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6426 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6427 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6429 if test "x$missing_languages" != x
; then
6431 The following requested languages could not be built: ${missing_languages}
6432 Supported languages are: ${potential_languages}" "$LINENO" 5
6434 if test "x$new_enable_languages" != "x$enable_languages"; then
6435 echo The following languages will be built
: ${new_enable_languages}
6436 enable_languages
="$new_enable_languages"
6440 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6443 # Handle --disable-<component> generically.
6444 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6445 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6446 varname
=`echo $dirname | sed -e s/+/_/g`
6447 if eval test x\
${enable_${varname}} "=" xno
; then
6448 noconfigdirs
="$noconfigdirs $dir"
6452 # Check for Boehm's garbage collector
6453 # Check whether --enable-objc-gc was given.
6454 if test "${enable_objc_gc+set}" = set; then :
6455 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6456 *,objc
,*:*:yes:*target-boehm-gc
*)
6457 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6463 # Make sure we only build Boehm's garbage collector if required.
6464 case ,${enable_languages},:${enable_objc_gc} in
6466 # Keep target-boehm-gc if requested for Objective-C.
6469 # Otherwise remove target-boehm-gc depending on target-libjava.
6470 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6471 noconfigdirs
="$noconfigdirs target-boehm-gc"
6476 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6477 # $build_configdirs and $target_configdirs.
6478 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6481 for dir
in .
$skipdirs $noconfigdirs ; do
6482 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6483 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6484 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6485 if test -r $srcdir/$dirname/configure
; then
6486 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6489 notsupp
="$notsupp $dir"
6493 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6494 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6495 if test -r $srcdir/$dirname/configure
; then
6496 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6499 notsupp
="$notsupp $dir"
6503 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6504 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6505 if test -r $srcdir/$dirname/configure
; then
6506 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6509 notsupp
="$notsupp $dir"
6515 # Quietly strip out all directories which aren't configurable in this tree.
6516 # This relies on all configurable subdirectories being autoconfiscated, which
6518 build_configdirs_all
="$build_configdirs"
6520 for i
in ${build_configdirs_all} ; do
6521 j
=`echo $i | sed -e s/build-//g`
6522 if test -f ${srcdir}/$j/configure
; then
6523 build_configdirs
="${build_configdirs} $i"
6527 configdirs_all
="$configdirs"
6529 for i
in ${configdirs_all} ; do
6530 if test -f ${srcdir}/$i/configure
; then
6531 configdirs
="${configdirs} $i"
6535 target_configdirs_all
="$target_configdirs"
6537 for i
in ${target_configdirs_all} ; do
6538 j
=`echo $i | sed -e s/target-//g`
6539 if test -f ${srcdir}/$j/configure
; then
6540 target_configdirs
="${target_configdirs} $i"
6544 # Produce a warning message for the subdirs we can't configure.
6545 # This isn't especially interesting in the Cygnus tree, but in the individual
6546 # FSF releases, it's important to let people know when their machine isn't
6547 # supported by the one or two programs in a package.
6549 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6550 # If $appdirs is non-empty, at least one of those directories must still
6551 # be configured, or we error out. (E.g., if the gas release supports a
6552 # specified target in some subdirs but not the gas subdir, we shouldn't
6553 # pretend that all is well.)
6554 if test -n "$appdirs" ; then
6555 for dir
in $appdirs ; do
6556 if test -r $dir/Makefile.
in ; then
6557 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6561 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6567 if test -n "$appdirs" ; then
6568 echo "*** This configuration is not supported by this package." 1>&2
6572 # Okay, some application will build, or we don't care to check. Still
6573 # notify of subdirs not getting built.
6574 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6575 echo " ${notsupp}" 1>&2
6576 echo " (Any other directories should still work fine.)" 1>&2
6584 # To find our prefix, in gcc_cv_tool_prefix.
6586 # The user is always right.
6587 if test "${PATH_SEPARATOR+set}" != set; then
6588 echo "#! /bin/sh" >conf$$.sh
6589 echo "exit 0" >>conf$$.sh
6591 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6601 if test "x$exec_prefix" = xNONE
; then
6602 if test "x$prefix" = xNONE
; then
6603 gcc_cv_tool_prefix
=$ac_default_prefix
6605 gcc_cv_tool_prefix
=$prefix
6608 gcc_cv_tool_prefix
=$exec_prefix
6611 # If there is no compiler in the tree, use the PATH only. In any
6612 # case, if there is no compiler in the tree nobody should use
6613 # AS_FOR_TARGET and LD_FOR_TARGET.
6614 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6615 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6616 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6617 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6618 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6619 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6620 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6621 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6626 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6627 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6635 # Check whether --with-build-sysroot was given.
6636 if test "${with_build_sysroot+set}" = set; then :
6637 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6638 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6641 SYSROOT_CFLAGS_FOR_TARGET
=
6647 # Check whether --with-debug-prefix-map was given.
6648 if test "${with_debug_prefix_map+set}" = set; then :
6649 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6650 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6651 for debug_map
in $withval; do
6652 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6656 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6661 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6662 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6663 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6664 # We want to ensure that TARGET libraries (which we know are built with
6665 # gcc) are built with "-O2 -g", so include those options when setting
6666 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6667 if test "x$CFLAGS_FOR_TARGET" = x
; then
6668 CFLAGS_FOR_TARGET
=$CFLAGS
6671 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS" ;;
6674 *" -g "* |
*" -g3 "*) ;;
6675 *) CFLAGS_FOR_TARGET
="-g $CFLAGS" ;;
6680 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6681 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6682 case " $CXXFLAGS " in
6684 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS" ;;
6686 case " $CXXFLAGS " in
6687 *" -g "* |
*" -g3 "*) ;;
6688 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS" ;;
6695 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6696 # the named directory are copied to $(tooldir)/sys-include.
6697 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6698 if test x
${is_cross_compiler} = xno
; then
6699 echo 1>&2 '***' --with-headers is only supported when cross compiling
6702 if test x
"${with_headers}" != xyes
; then
6703 x
=${gcc_cv_tool_prefix}
6704 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6708 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6709 # the name directories are copied to $(tooldir)/lib. Multiple directories
6711 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6712 if test x
${is_cross_compiler} = xno
; then
6713 echo 1>&2 '***' --with-libs is only supported when cross compiling
6716 if test x
"${with_libs}" != xyes
; then
6717 # Copy the libraries in reverse order, so that files in the first named
6718 # library override files in subsequent libraries.
6719 x
=${gcc_cv_tool_prefix}
6720 for l
in ${with_libs}; do
6721 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6726 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6728 # This is done by determining whether or not the appropriate directory
6729 # is available, and by checking whether or not specific configurations
6730 # have requested that this magic not happen.
6732 # The command line options always override the explicit settings in
6733 # configure.in, and the settings in configure.in override this magic.
6735 # If the default for a toolchain is to use GNU as and ld, and you don't
6736 # want to do that, then you should use the --without-gnu-as and
6737 # --without-gnu-ld options for the configure script. Similarly, if
6738 # the default is to use the included zlib and you don't want to do that,
6739 # you should use the --with-system-zlib option for the configure script.
6741 if test x
${use_gnu_as} = x
&&
6742 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6744 extra_host_args
="$extra_host_args --with-gnu-as"
6747 if test x
${use_gnu_ld} = x
&&
6748 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6750 extra_host_args
="$extra_host_args --with-gnu-ld"
6753 if test x
${use_included_zlib} = x
&&
6754 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6757 with_system_zlib
=yes
6758 extra_host_args
="$extra_host_args --with-system-zlib"
6761 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6762 # can detect this case.
6764 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6766 extra_host_args
="$extra_host_args --with-newlib"
6769 # Handle ${copy_dirs}
6770 set fnord
${copy_dirs}
6772 while test $# != 0 ; do
6773 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6776 echo Copying
$1 to
$2
6778 # Use the install script to create the directory and all required
6779 # parent directories.
6780 if test -d $2 ; then
6784 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6787 # Copy the directory, assuming we have tar.
6788 # FIXME: Should we use B in the second tar? Not all systems support it.
6789 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6791 # It is the responsibility of the user to correctly adjust all
6792 # symlinks. If somebody can figure out how to handle them correctly
6793 # here, feel free to add the code.
6800 # Determine a target-dependent exec_prefix that the installed
6801 # gcc will search in. Keep this list sorted by triplet, with
6802 # the *-*-osname triplets last.
6805 i
[34567]86-pc-msdosdjgpp*)
6806 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6811 md_exec_prefix
=/usr
/ccs
/bin
6815 extra_arflags_for_target
=
6816 extra_nmflags_for_target
=
6817 extra_ranlibflags_for_target
=
6818 target_makefile_frag
=/dev
/null
6821 target_makefile_frag
="config/mt-spu"
6824 target_makefile_frag
="config/mt-sde"
6826 mipsisa
*-*-elfoabi*)
6827 target_makefile_frag
="config/mt-mips-elfoabi"
6829 mips
*-*-*linux
* | mips
*-*-gnu*)
6830 target_makefile_frag
="config/mt-mips-gnu"
6832 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6833 target_makefile_frag
="config/mt-gnu"
6835 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6836 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6837 # commands to handle both 32-bit and 64-bit objects. These flags are
6838 # harmless if we're using GNU nm or ar.
6839 extra_arflags_for_target
=" -X32_64"
6840 extra_nmflags_for_target
=" -B -X32_64"
6844 alphaieee_frag
=/dev
/null
6847 # This just makes sure to use the -mieee option to build target libs.
6848 # This should probably be set individually by each library.
6849 alphaieee_frag
="config/mt-alphaieee"
6853 # If --enable-target-optspace always use -Os instead of -O2 to build
6854 # the target libraries, similarly if it is not specified, use -Os
6855 # on selected platforms.
6856 ospace_frag
=/dev
/null
6857 case "${enable_target_optspace}:${target}" in
6859 ospace_frag
="config/mt-ospace"
6862 ospace_frag
="config/mt-d30v"
6864 :m32r-
* |
:d10v-
* |
:fr30-
*)
6865 ospace_frag
="config/mt-ospace"
6870 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6874 # Default to using --with-stabs for certain targets.
6875 if test x
${with_stabs} = x
; then
6879 mips
*-*-* | alpha
*-*-osf*)
6881 extra_host_args
="${extra_host_args} --with-stabs"
6886 # Some systems (e.g., one of the i386-aix systems the gas testers are
6887 # using) don't handle "\$" correctly, so don't use it here.
6888 tooldir
='${exec_prefix}'/${target_noncanonical}
6889 build_tooldir
=${tooldir}
6891 # Create a .gdbinit file which runs the one in srcdir
6892 # and tells GDB to look there for source files.
6894 if test -r ${srcdir}/.gdbinit
; then
6897 *) cat > .
/.gdbinit
<<EOF
6901 source ${srcdir}/.gdbinit
6907 # Make sure that the compiler is able to generate an executable. If it
6908 # can't, we are probably in trouble. We don't care whether we can run the
6909 # executable--we might be using a cross compiler--we only care whether it
6910 # can be created. At this point the main configure script has set CC.
6912 echo "int main () { return 0; }" > conftest.c
6913 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6914 if test $?
= 0 ; then
6915 if test -s conftest ||
test -s conftest.exe
; then
6921 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6922 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6929 # Decide which environment variable is used to find dynamic libraries.
6931 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6932 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6933 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6934 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6937 # On systems where the dynamic library environment variable is PATH,
6938 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6939 # built executables to PATH.
6940 if test "$RPATH_ENVVAR" = PATH
; then
6941 GCC_SHLIB_SUBDIR
=/shlib
6946 # Record target_configdirs and the configure arguments for target and
6947 # build configuration in Makefile.
6948 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6949 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6951 # If we are building libgomp, bootstrap it.
6952 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6953 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6956 # Determine whether gdb needs tk/tcl or not.
6957 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6958 # and in that case we want gdb to be built without tk. Ugh!
6959 # In fact I believe gdb is the *only* package directly dependent on tk,
6960 # so we should be able to put the 'maybe's in unconditionally and
6961 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6962 # 100% sure that that's safe though.
6964 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6965 case "$enable_gdbtk" in
6969 GDB_TK
="${gdb_tk}" ;;
6971 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6972 # distro. Eventually someone will fix this and move Insight, nee
6973 # gdbtk to a separate directory.
6974 if test -d ${srcdir}/gdb
/gdbtk
; then
6981 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6982 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6984 # Strip out unwanted targets.
6986 # While at that, we remove Makefiles if we were started for recursive
6987 # configuration, so that the top-level Makefile reconfigures them,
6988 # like we used to do when configure itself was recursive.
6990 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6991 # but now we're fixing up the Makefile ourselves with the additional
6992 # commands passed to AC_CONFIG_FILES. Use separate variables
6993 # extrasub-{build,host,target} not because there is any reason to split
6994 # the substitutions up that way, but only to remain below the limit of
6995 # 99 commands in a script, for HP-UX sed.
6996 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6998 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6999 yes:yes:*\ gold\
*:*,c
++,*) ;;
7000 yes:yes:*\ gold\
*:*)
7001 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7005 # Adjust the toplevel makefile according to whether bootstrap was selected.
7006 case $enable_bootstrap in
7008 bootstrap_suffix
=bootstrap
7009 BUILD_CONFIG
=bootstrap-debug
7012 bootstrap_suffix
=no-bootstrap
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7018 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7021 # Check whether --with-build-config was given.
7022 if test "${with_build_config+set}" = set; then :
7023 withval
=$with_build_config; case $with_build_config in
7024 yes) with_build_config
= ;;
7025 no
) with_build_config
= BUILD_CONFIG
= ;;
7030 if test "x${with_build_config}" != x
; then
7031 BUILD_CONFIG
=$with_build_config
7033 case $BUILD_CONFIG in
7035 if echo "int f (void) { return 0; }" > conftest.c
&&
7036 ${CC} -c conftest.c
&&
7037 mv conftest.o conftest.o.g0
&&
7038 ${CC} -c -g conftest.c
&&
7039 mv conftest.o conftest.o.g
&&
7040 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7045 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7050 $as_echo "$BUILD_CONFIG" >&6; }
7054 for module
in ${build_configdirs} ; do
7055 if test -z "${no_recursion}" \
7056 && test -f ${build_subdir}/${module}/Makefile
; then
7057 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7058 rm -f ${build_subdir}/${module}/Makefile
7060 extrasub_build
="$extrasub_build
7061 /^@if build-$module\$/d
7062 /^@endif build-$module\$/d
7063 /^@if build-$module-$bootstrap_suffix\$/d
7064 /^@endif build-$module-$bootstrap_suffix\$/d"
7067 for module
in ${configdirs} ; do
7068 if test -z "${no_recursion}"; then
7069 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7070 if test -f ${file}; then
7071 echo 1>&2 "*** removing ${file} to force reconfigure"
7076 extrasub_host
="$extrasub_host
7078 /^@endif $module\$/d
7079 /^@if $module-$bootstrap_suffix\$/d
7080 /^@endif $module-$bootstrap_suffix\$/d"
7083 for module
in ${target_configdirs} ; do
7084 if test -z "${no_recursion}" \
7085 && test -f ${target_subdir}/${module}/Makefile
; then
7086 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7087 rm -f ${target_subdir}/${module}/Makefile
7090 # We only bootstrap target libraries listed in bootstrap_target_libs.
7091 case $bootstrap_target_libs in
7092 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7093 *) target_bootstrap_suffix
=no-bootstrap
;;
7096 extrasub_target
="$extrasub_target
7097 /^@if target-$module\$/d
7098 /^@endif target-$module\$/d
7099 /^@if target-$module-$target_bootstrap_suffix\$/d
7100 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7103 # Do the final fixup along with target modules.
7104 extrasub_target
="$extrasub_target
7105 /^@if /,/^@endif /d"
7107 # Create the serialization dependencies. This uses a temporary file.
7109 # Check whether --enable-serial-configure was given.
7110 if test "${enable_serial_configure+set}" = set; then :
7111 enableval
=$enable_serial_configure;
7115 case ${enable_serial_configure} in
7117 enable_serial_build_configure
=yes
7118 enable_serial_host_configure
=yes
7119 enable_serial_target_configure
=yes
7123 # These force 'configure's to be done one at a time, to avoid problems
7124 # with contention over a shared config.cache.
7126 echo '# serdep.tmp' > serdep.tmp
7128 test "x${enable_serial_build_configure}" = xyes
&&
7129 for item
in ${build_configdirs} ; do
7132 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7137 test "x${enable_serial_host_configure}" = xyes
&&
7138 for item
in ${configdirs} ; do
7141 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7146 test "x${enable_serial_target_configure}" = xyes
&&
7147 for item
in ${target_configdirs} ; do
7150 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7154 serialization_dependencies
=serdep.tmp
7157 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7158 # target, nonopt, and variable assignments. These are the ones we
7159 # might not want to pass down to subconfigures. The exception being
7160 # --cache-file=/dev/null, which is used to turn off the use of cache
7161 # files altogether, and which should be passed on to subconfigures.
7162 # Also strip program-prefix, program-suffix, and program-transform-name,
7163 # so that we can pass down a consistent program-transform-name.
7168 eval "set -- $ac_configure_args"
7171 if test X
"$skip_next" = X
"yes"; then
7175 if test X
"$keep_next" = X
"yes"; then
7178 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7180 baseargs
="$baseargs '$ac_arg'"
7181 tbaseargs
="$tbaseargs '$ac_arg'"
7186 # Handle separated arguments. Based on the logic generated by
7189 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7190 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7191 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7192 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7206 --with-* |
--without-*)
7207 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7211 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7214 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7223 mpc | mpfr | gmp | ppl | cloog
)
7224 # If we're processing --with-$lib, --with-$lib-include or
7225 # --with-$lib-lib, for one of the libs above, and target is
7226 # different from host, don't pass the current argument to any
7227 # target library's configure.
7228 if test x
$is_cross_compiler = xyes
; then
7237 --cache-file=/dev
/null | \
7238 -cache-file=/dev
/null
)
7239 # Handled here to avoid the test to skip args below.
7240 baseargs
="$baseargs '$ac_arg'"
7241 tbaseargs
="$tbaseargs '$ac_arg'"
7242 # Assert: $separate_arg should always be no.
7243 keep_next
=$separate_arg
7259 -program-prefix* | \
7260 -program-suffix* | \
7261 -program-transform-name* )
7262 skip_next
=$separate_arg
7266 # An option. Add it.
7269 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7271 baseargs
="$baseargs '$ac_arg'"
7272 if test X
"$skip_targ" = Xno
; then
7273 tbaseargs
="$tbaseargs '$ac_arg'"
7275 keep_next
=$separate_arg
7278 # Either a variable assignment, or a nonopt (triplet). Don't
7279 # pass it down; let the Makefile handle this.
7284 # Remove the initial space we just introduced and, as these will be
7285 # expanded by make, quote '$'.
7286 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7288 # Add in --program-transform-name, after --program-prefix and
7289 # --program-suffix have been applied to it. Autoconf has already
7290 # doubled dollar signs and backslashes in program_transform_name; we want
7291 # the backslashes un-doubled, and then the entire thing wrapped in single
7292 # quotes, because this will be expanded first by make and then by the shell.
7293 # Also, because we want to override the logic in subdir configure scripts to
7294 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7295 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7296 ${program_transform_name}
7298 gcc_transform_name
=`cat conftestsed.out`
7299 rm -f conftestsed.out
7300 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7301 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7302 if test "$silent" = yes; then
7303 baseargs
="$baseargs --silent"
7304 tbaseargs
="$tbaseargs --silent"
7306 baseargs
="$baseargs --disable-option-checking"
7307 tbaseargs
="$tbaseargs --disable-option-checking"
7309 # Record and document user additions to sub configure arguments.
7314 # For the build-side libraries, we just need to pretend we're native,
7315 # and not use the same cache file. Multilibs are neither needed nor
7317 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7319 # For host modules, accept cache file option, or specification as blank.
7320 case "${cache_file}" in
7322 cache_file_option
="" ;;
7323 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7324 cache_file_option
="--cache-file=${cache_file}" ;;
7326 cache_file_option
="--cache-file=../${cache_file}" ;;
7329 # Host dirs don't like to share a cache file either, horribly enough.
7330 # This seems to be due to autoconf 2.5x stupidity.
7331 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7333 target_configargs
="$target_configargs ${tbaseargs}"
7335 # Passing a --with-cross-host argument lets the target libraries know
7336 # whether they are being built with a cross-compiler or being built
7337 # native. However, it would be better to use other mechanisms to make the
7338 # sorts of decisions they want to make on this basis. Please consider
7339 # this option to be deprecated. FIXME.
7340 if test x
${is_cross_compiler} = xyes
; then
7341 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7344 # Default to --enable-multilib.
7345 if test x
${enable_multilib} = x
; then
7346 target_configargs
="--enable-multilib ${target_configargs}"
7349 # Pass --with-newlib if appropriate. Note that target_configdirs has
7350 # changed from the earlier setting of with_newlib.
7351 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7352 target_configargs
="--with-newlib ${target_configargs}"
7355 # Different target subdirs use different values of certain variables
7356 # (notably CXX). Worse, multilibs use *lots* of different values.
7357 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7358 # it doesn't automatically accept command-line overrides of them.
7359 # This means it's not safe for target subdirs to share a cache file,
7360 # which is disgusting, but there you have it. Hopefully this can be
7361 # fixed in future. It's still worthwhile to use a cache file for each
7362 # directory. I think.
7364 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7365 # We need to pass --target, as newer autoconf's requires consistency
7366 # for target_alias and gcc doesn't manage it consistently.
7367 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7370 case " $target_configdirs " in
7372 case " $target_configargs " in
7373 *" --with-newlib "*)
7376 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'
7380 # If we're not building GCC, don't discard standard headers.
7381 if test -d ${srcdir}/gcc
; then
7382 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7384 if test "${build}" != "${host}"; then
7385 # On Canadian crosses, CC_FOR_TARGET will have already been set
7386 # by `configure', so we won't have an opportunity to add -Bgcc/
7387 # to it. This is right: we don't want to search that directory
7388 # for binaries, but we want the header files in there, so add
7390 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7392 # Someone might think of using the pre-installed headers on
7393 # Canadian crosses, in case the installed compiler is not fully
7394 # compatible with the compiler being built. In this case, it
7395 # would be better to flag an error than risking having
7396 # incompatible object files being constructed. We can't
7397 # guarantee that an error will be flagged, but let's hope the
7398 # compiler will do it, when presented with incompatible header
7403 case "${target}-${is_cross_compiler}" in
7404 i
[3456789]86-*-linux*-no)
7405 # Here host == target, so we don't need to build gcc,
7406 # so we don't want to discard standard headers.
7407 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7410 # If we're building newlib, use its generic headers last, but search
7411 # for any libc-related directories first (so make it the last -B
7413 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7415 # If we're building libgloss, find the startup file, simulator library
7416 # and linker script.
7417 case " $target_configdirs " in
7419 # Look for startup file, simulator library and maybe linker script.
7420 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7421 # Look for libnosys.a in case the target needs it.
7422 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7423 # Most targets have the linker script in the source directory.
7424 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7435 x86_64-
*mingw
* |
*-w64-mingw*)
7436 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7437 # however, use a symlink named 'mingw' in ${prefix} .
7438 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7441 # MinGW can't be handled as Cygwin above since it does not use newlib.
7442 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'
7446 # Allow the user to override the flags for
7447 # our build compiler if desired.
7448 if test x
"${build}" = x
"${host}" ; then
7449 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7450 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7451 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7454 # On Canadian crosses, we'll be searching the right directories for
7455 # the previously-installed cross compiler, so don't bother to add
7456 # flags for directories within the install tree of the compiler
7457 # being built; programs in there won't even run.
7458 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7459 # Search for pre-installed headers if nothing else fits.
7460 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7463 if test "x
${use_gnu_ld}" = x &&
7464 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7465 # Arrange for us to find uninstalled linker scripts.
7466 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7469 # Search for other target-specific linker scripts and such.
7472 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7476 # Makefile fragments.
7477 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7479 eval fragval=\$$frag
7480 if test $fragval != /dev/null; then
7481 eval $frag=${srcdir}/$fragval
7489 # Miscellanea: directories, flags, etc.
7498 # Build module lists & subconfigure args.
7502 # Host module lists & subconfigure args.
7507 # Target module lists & subconfigure args.
7529 # Generate default definitions for YACC, M4, LEX and other programs that run
7530 # on the build machine. These are used if the Makefile can't locate these
7531 # programs in objdir.
7532 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7534 for ac_prog in 'bison -y' byacc yacc
7536 # Extract the first word of "$ac_prog", so it can be a program name with args.
7537 set dummy $ac_prog; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7539 $as_echo_n "checking
for $ac_word...
" >&6; }
7540 if test "${ac_cv_prog_YACC+set}" = set; then :
7541 $as_echo_n "(cached
) " >&6
7543 if test -n "$YACC"; then
7544 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7553 ac_cv_prog_YACC="$ac_prog"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7563 YACC=$ac_cv_prog_YACC
7564 if test -n "$YACC"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7566 $as_echo "$YACC" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7569 $as_echo "no
" >&6; }
7573 test -n "$YACC" && break
7575 test -n "$YACC" || YACC="$MISSING bison
-y"
7577 case " $build_configdirs " in
7578 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7581 for ac_prog in bison
7583 # Extract the first word of "$ac_prog", so it can be a program name with args.
7584 set dummy $ac_prog; ac_word=$2
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7586 $as_echo_n "checking
for $ac_word...
" >&6; }
7587 if test "${ac_cv_prog_BISON+set}" = set; then :
7588 $as_echo_n "(cached
) " >&6
7590 if test -n "$BISON"; then
7591 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597 test -z "$as_dir" && as_dir=.
7598 for ac_exec_ext in '' $ac_executable_extensions; do
7599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7600 ac_cv_prog_BISON="$ac_prog"
7601 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7610 BISON=$ac_cv_prog_BISON
7611 if test -n "$BISON"; then
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7613 $as_echo "$BISON" >&6; }
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7616 $as_echo "no
" >&6; }
7620 test -n "$BISON" && break
7622 test -n "$BISON" || BISON="$MISSING bison
"
7624 case " $build_configdirs " in
7625 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7628 for ac_prog in gm4 gnum4 m4
7630 # Extract the first word of "$ac_prog", so it can be a program name with args.
7631 set dummy $ac_prog; ac_word=$2
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7633 $as_echo_n "checking
for $ac_word...
" >&6; }
7634 if test "${ac_cv_prog_M4+set}" = set; then :
7635 $as_echo_n "(cached
) " >&6
7637 if test -n "$M4"; then
7638 ac_cv_prog_M4="$M4" # Let the user override the test.
7640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7644 test -z "$as_dir" && as_dir=.
7645 for ac_exec_ext in '' $ac_executable_extensions; do
7646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7647 ac_cv_prog_M4="$ac_prog"
7648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7658 if test -n "$M4"; then
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7660 $as_echo "$M4" >&6; }
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7663 $as_echo "no
" >&6; }
7667 test -n "$M4" && break
7669 test -n "$M4" || M4="$MISSING m4"
7671 case " $build_configdirs " in
7672 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7675 for ac_prog in flex lex
7677 # Extract the first word of "$ac_prog", so it can be a program name with args.
7678 set dummy $ac_prog; ac_word=$2
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7680 $as_echo_n "checking
for $ac_word...
" >&6; }
7681 if test "${ac_cv_prog_LEX+set}" = set; then :
7682 $as_echo_n "(cached
) " >&6
7684 if test -n "$LEX"; then
7685 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_prog_LEX="$ac_prog"
7695 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7705 if test -n "$LEX"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7707 $as_echo "$LEX" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7710 $as_echo "no
" >&6; }
7714 test -n "$LEX" && break
7716 test -n "$LEX" || LEX="$MISSING flex
"
7718 case " $build_configdirs " in
7719 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7720 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7725 # Extract the first word of "$ac_prog", so it can be a program name with args.
7726 set dummy $ac_prog; ac_word=$2
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7728 $as_echo_n "checking
for $ac_word...
" >&6; }
7729 if test "${ac_cv_prog_FLEX+set}" = set; then :
7730 $as_echo_n "(cached
) " >&6
7732 if test -n "$FLEX"; then
7733 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7739 test -z "$as_dir" && as_dir=.
7740 for ac_exec_ext in '' $ac_executable_extensions; do
7741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7742 ac_cv_prog_FLEX="$ac_prog"
7743 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7752 FLEX=$ac_cv_prog_FLEX
7753 if test -n "$FLEX"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7755 $as_echo "$FLEX" >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7758 $as_echo "no
" >&6; }
7762 test -n "$FLEX" && break
7764 test -n "$FLEX" || FLEX="$MISSING flex
"
7766 case " $build_configdirs " in
7767 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7770 for ac_prog in makeinfo
7772 # Extract the first word of "$ac_prog", so it can be a program name with args.
7773 set dummy $ac_prog; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7775 $as_echo_n "checking
for $ac_word...
" >&6; }
7776 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7777 $as_echo_n "(cached
) " >&6
7779 if test -n "$MAKEINFO"; then
7780 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7789 ac_cv_prog_MAKEINFO="$ac_prog"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7799 MAKEINFO=$ac_cv_prog_MAKEINFO
7800 if test -n "$MAKEINFO"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7802 $as_echo "$MAKEINFO" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7805 $as_echo "no
" >&6; }
7809 test -n "$MAKEINFO" && break
7811 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7813 case " $build_configdirs " in
7814 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7817 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7818 # higher, else we use the "missing
" dummy.
7819 if ${MAKEINFO} --version \
7820 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7823 MAKEINFO="$MISSING makeinfo
"
7829 # FIXME: expect and dejagnu may become build tools?
7831 for ac_prog in expect
7833 # Extract the first word of "$ac_prog", so it can be a program name with args.
7834 set dummy $ac_prog; ac_word=$2
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7836 $as_echo_n "checking
for $ac_word...
" >&6; }
7837 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7838 $as_echo_n "(cached
) " >&6
7840 if test -n "$EXPECT"; then
7841 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir=.
7848 for ac_exec_ext in '' $ac_executable_extensions; do
7849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7850 ac_cv_prog_EXPECT="$ac_prog"
7851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7860 EXPECT=$ac_cv_prog_EXPECT
7861 if test -n "$EXPECT"; then
7862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7863 $as_echo "$EXPECT" >&6; }
7865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7866 $as_echo "no
" >&6; }
7870 test -n "$EXPECT" && break
7872 test -n "$EXPECT" || EXPECT="expect
"
7874 case " $configdirs " in
7876 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7880 for ac_prog in runtest
7882 # Extract the first word of "$ac_prog", so it can be a program name with args.
7883 set dummy $ac_prog; ac_word=$2
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7885 $as_echo_n "checking
for $ac_word...
" >&6; }
7886 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7887 $as_echo_n "(cached
) " >&6
7889 if test -n "$RUNTEST"; then
7890 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 test -z "$as_dir" && as_dir=.
7897 for ac_exec_ext in '' $ac_executable_extensions; do
7898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7899 ac_cv_prog_RUNTEST="$ac_prog"
7900 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7909 RUNTEST=$ac_cv_prog_RUNTEST
7910 if test -n "$RUNTEST"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7912 $as_echo "$RUNTEST" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7915 $as_echo "no
" >&6; }
7919 test -n "$RUNTEST" && break
7921 test -n "$RUNTEST" || RUNTEST="runtest
"
7923 case " $configdirs " in
7925 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7932 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7933 ncn_target_tool_prefix=
7934 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7938 if test -n "$AR"; then
7940 elif test -n "$ac_cv_prog_AR"; then
7944 if test -n "$ac_cv_prog_AR"; then
7945 for ncn_progname in ar; do
7946 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7947 set dummy ${ncn_progname}; ac_word=$2
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7949 $as_echo_n "checking
for $ac_word...
" >&6; }
7950 if test "${ac_cv_prog_AR+set}" = set; then :
7951 $as_echo_n "(cached
) " >&6
7953 if test -n "$AR"; then
7954 ac_cv_prog_AR="$AR" # Let the user override the test.
7956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7960 test -z "$as_dir" && as_dir=.
7961 for ac_exec_ext in '' $ac_executable_extensions; do
7962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7963 ac_cv_prog_AR="${ncn_progname}"
7964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 if test -n "$AR"; then
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7976 $as_echo "$AR" >&6; }
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7979 $as_echo "no
" >&6; }
7986 for ncn_progname in ar; do
7987 if test -n "$ncn_tool_prefix"; then
7988 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7989 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7991 $as_echo_n "checking
for $ac_word...
" >&6; }
7992 if test "${ac_cv_prog_AR+set}" = set; then :
7993 $as_echo_n "(cached
) " >&6
7995 if test -n "$AR"; then
7996 ac_cv_prog_AR="$AR" # Let the user override the test.
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8005 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8016 if test -n "$AR"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8018 $as_echo "$AR" >&6; }
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8021 $as_echo "no
" >&6; }
8026 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8027 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8028 set dummy ${ncn_progname}; ac_word=$2
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8030 $as_echo_n "checking
for $ac_word...
" >&6; }
8031 if test "${ac_cv_prog_AR+set}" = set; then :
8032 $as_echo_n "(cached
) " >&6
8034 if test -n "$AR"; then
8035 ac_cv_prog_AR="$AR" # Let the user override the test.
8037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8041 test -z "$as_dir" && as_dir=.
8042 for ac_exec_ext in '' $ac_executable_extensions; do
8043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8044 ac_cv_prog_AR="${ncn_progname}"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8055 if test -n "$AR"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8057 $as_echo "$AR" >&6; }
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8060 $as_echo "no
" >&6; }
8065 test -n "$ac_cv_prog_AR" && break
8068 if test -z "$ac_cv_prog_AR" ; then
8070 if test $build = $host ; then
8073 AR="${ncn_tool_prefix}$2"
8079 if test -n "$AS"; then
8081 elif test -n "$ac_cv_prog_AS"; then
8085 if test -n "$ac_cv_prog_AS"; then
8086 for ncn_progname in as; do
8087 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8088 set dummy ${ncn_progname}; ac_word=$2
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8090 $as_echo_n "checking
for $ac_word...
" >&6; }
8091 if test "${ac_cv_prog_AS+set}" = set; then :
8092 $as_echo_n "(cached
) " >&6
8094 if test -n "$AS"; then
8095 ac_cv_prog_AS="$AS" # Let the user override the test.
8097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8101 test -z "$as_dir" && as_dir=.
8102 for ac_exec_ext in '' $ac_executable_extensions; do
8103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8104 ac_cv_prog_AS="${ncn_progname}"
8105 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8115 if test -n "$AS"; then
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8117 $as_echo "$AS" >&6; }
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8120 $as_echo "no
" >&6; }
8127 for ncn_progname in as; do
8128 if test -n "$ncn_tool_prefix"; then
8129 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8130 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8132 $as_echo_n "checking
for $ac_word...
" >&6; }
8133 if test "${ac_cv_prog_AS+set}" = set; then :
8134 $as_echo_n "(cached
) " >&6
8136 if test -n "$AS"; then
8137 ac_cv_prog_AS="$AS" # Let the user override the test.
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8146 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8157 if test -n "$AS"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8159 $as_echo "$AS" >&6; }
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8162 $as_echo "no
" >&6; }
8167 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8168 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8169 set dummy ${ncn_progname}; ac_word=$2
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8171 $as_echo_n "checking
for $ac_word...
" >&6; }
8172 if test "${ac_cv_prog_AS+set}" = set; then :
8173 $as_echo_n "(cached
) " >&6
8175 if test -n "$AS"; then
8176 ac_cv_prog_AS="$AS" # Let the user override the test.
8178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8182 test -z "$as_dir" && as_dir=.
8183 for ac_exec_ext in '' $ac_executable_extensions; do
8184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8185 ac_cv_prog_AS="${ncn_progname}"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8196 if test -n "$AS"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8198 $as_echo "$AS" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8201 $as_echo "no
" >&6; }
8206 test -n "$ac_cv_prog_AS" && break
8209 if test -z "$ac_cv_prog_AS" ; then
8211 if test $build = $host ; then
8214 AS="${ncn_tool_prefix}$2"
8220 if test -n "$DLLTOOL"; then
8221 ac_cv_prog_DLLTOOL=$DLLTOOL
8222 elif test -n "$ac_cv_prog_DLLTOOL"; then
8223 DLLTOOL=$ac_cv_prog_DLLTOOL
8226 if test -n "$ac_cv_prog_DLLTOOL"; then
8227 for ncn_progname in dlltool; do
8228 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8229 set dummy ${ncn_progname}; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8231 $as_echo_n "checking
for $ac_word...
" >&6; }
8232 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8233 $as_echo_n "(cached
) " >&6
8235 if test -n "$DLLTOOL"; then
8236 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_prog_DLLTOOL="${ncn_progname}"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8255 DLLTOOL=$ac_cv_prog_DLLTOOL
8256 if test -n "$DLLTOOL"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8258 $as_echo "$DLLTOOL" >&6; }
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8261 $as_echo "no
" >&6; }
8268 for ncn_progname in dlltool; do
8269 if test -n "$ncn_tool_prefix"; then
8270 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8271 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8273 $as_echo_n "checking
for $ac_word...
" >&6; }
8274 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8275 $as_echo_n "(cached
) " >&6
8277 if test -n "$DLLTOOL"; then
8278 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8287 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8297 DLLTOOL=$ac_cv_prog_DLLTOOL
8298 if test -n "$DLLTOOL"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8300 $as_echo "$DLLTOOL" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8303 $as_echo "no
" >&6; }
8308 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8309 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8310 set dummy ${ncn_progname}; ac_word=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8312 $as_echo_n "checking
for $ac_word...
" >&6; }
8313 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 if test -n "$DLLTOOL"; then
8317 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8323 test -z "$as_dir" && as_dir=.
8324 for ac_exec_ext in '' $ac_executable_extensions; do
8325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8326 ac_cv_prog_DLLTOOL="${ncn_progname}"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8336 DLLTOOL=$ac_cv_prog_DLLTOOL
8337 if test -n "$DLLTOOL"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8339 $as_echo "$DLLTOOL" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8342 $as_echo "no
" >&6; }
8347 test -n "$ac_cv_prog_DLLTOOL" && break
8350 if test -z "$ac_cv_prog_DLLTOOL" ; then
8352 if test $build = $host ; then
8355 DLLTOOL="${ncn_tool_prefix}$2"
8361 if test -n "$LD"; then
8363 elif test -n "$ac_cv_prog_LD"; then
8367 if test -n "$ac_cv_prog_LD"; then
8368 for ncn_progname in ld; do
8369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8370 set dummy ${ncn_progname}; ac_word=$2
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8372 $as_echo_n "checking
for $ac_word...
" >&6; }
8373 if test "${ac_cv_prog_LD+set}" = set; then :
8374 $as_echo_n "(cached
) " >&6
8376 if test -n "$LD"; then
8377 ac_cv_prog_LD="$LD" # Let the user override the test.
8379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8383 test -z "$as_dir" && as_dir=.
8384 for ac_exec_ext in '' $ac_executable_extensions; do
8385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8386 ac_cv_prog_LD="${ncn_progname}"
8387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8397 if test -n "$LD"; then
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8399 $as_echo "$LD" >&6; }
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8402 $as_echo "no
" >&6; }
8409 for ncn_progname in ld; do
8410 if test -n "$ncn_tool_prefix"; then
8411 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8412 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8414 $as_echo_n "checking
for $ac_word...
" >&6; }
8415 if test "${ac_cv_prog_LD+set}" = set; then :
8416 $as_echo_n "(cached
) " >&6
8418 if test -n "$LD"; then
8419 ac_cv_prog_LD="$LD" # Let the user override the test.
8421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8425 test -z "$as_dir" && as_dir=.
8426 for ac_exec_ext in '' $ac_executable_extensions; do
8427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8428 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8439 if test -n "$LD"; then
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8441 $as_echo "$LD" >&6; }
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8444 $as_echo "no
" >&6; }
8449 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8451 set dummy ${ncn_progname}; ac_word=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8453 $as_echo_n "checking
for $ac_word...
" >&6; }
8454 if test "${ac_cv_prog_LD+set}" = set; then :
8455 $as_echo_n "(cached
) " >&6
8457 if test -n "$LD"; then
8458 ac_cv_prog_LD="$LD" # Let the user override the test.
8460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8464 test -z "$as_dir" && as_dir=.
8465 for ac_exec_ext in '' $ac_executable_extensions; do
8466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8467 ac_cv_prog_LD="${ncn_progname}"
8468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8478 if test -n "$LD"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8480 $as_echo "$LD" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8483 $as_echo "no
" >&6; }
8488 test -n "$ac_cv_prog_LD" && break
8491 if test -z "$ac_cv_prog_LD" ; then
8493 if test $build = $host ; then
8496 LD="${ncn_tool_prefix}$2"
8502 if test -n "$LIPO"; then
8503 ac_cv_prog_LIPO=$LIPO
8504 elif test -n "$ac_cv_prog_LIPO"; then
8505 LIPO=$ac_cv_prog_LIPO
8508 if test -n "$ac_cv_prog_LIPO"; then
8509 for ncn_progname in lipo; do
8510 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8511 set dummy ${ncn_progname}; ac_word=$2
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8513 $as_echo_n "checking
for $ac_word...
" >&6; }
8514 if test "${ac_cv_prog_LIPO+set}" = set; then :
8515 $as_echo_n "(cached
) " >&6
8517 if test -n "$LIPO"; then
8518 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8524 test -z "$as_dir" && as_dir=.
8525 for ac_exec_ext in '' $ac_executable_extensions; do
8526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8527 ac_cv_prog_LIPO="${ncn_progname}"
8528 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8537 LIPO=$ac_cv_prog_LIPO
8538 if test -n "$LIPO"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8540 $as_echo "$LIPO" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8543 $as_echo "no
" >&6; }
8550 for ncn_progname in lipo; do
8551 if test -n "$ncn_tool_prefix"; then
8552 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8553 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8555 $as_echo_n "checking
for $ac_word...
" >&6; }
8556 if test "${ac_cv_prog_LIPO+set}" = set; then :
8557 $as_echo_n "(cached
) " >&6
8559 if test -n "$LIPO"; then
8560 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8566 test -z "$as_dir" && as_dir=.
8567 for ac_exec_ext in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8579 LIPO=$ac_cv_prog_LIPO
8580 if test -n "$LIPO"; then
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8582 $as_echo "$LIPO" >&6; }
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8585 $as_echo "no
" >&6; }
8590 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8592 set dummy ${ncn_progname}; ac_word=$2
8593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8594 $as_echo_n "checking
for $ac_word...
" >&6; }
8595 if test "${ac_cv_prog_LIPO+set}" = set; then :
8596 $as_echo_n "(cached
) " >&6
8598 if test -n "$LIPO"; then
8599 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8605 test -z "$as_dir" && as_dir=.
8606 for ac_exec_ext in '' $ac_executable_extensions; do
8607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8608 ac_cv_prog_LIPO="${ncn_progname}"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8618 LIPO=$ac_cv_prog_LIPO
8619 if test -n "$LIPO"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8621 $as_echo "$LIPO" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8624 $as_echo "no
" >&6; }
8629 test -n "$ac_cv_prog_LIPO" && break
8632 if test -z "$ac_cv_prog_LIPO" ; then
8634 if test $build = $host ; then
8637 LIPO="${ncn_tool_prefix}$2"
8643 if test -n "$NM"; then
8645 elif test -n "$ac_cv_prog_NM"; then
8649 if test -n "$ac_cv_prog_NM"; then
8650 for ncn_progname in nm; do
8651 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8652 set dummy ${ncn_progname}; ac_word=$2
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8654 $as_echo_n "checking
for $ac_word...
" >&6; }
8655 if test "${ac_cv_prog_NM+set}" = set; then :
8656 $as_echo_n "(cached
) " >&6
8658 if test -n "$NM"; then
8659 ac_cv_prog_NM="$NM" # Let the user override the test.
8661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8665 test -z "$as_dir" && as_dir=.
8666 for ac_exec_ext in '' $ac_executable_extensions; do
8667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8668 ac_cv_prog_NM="${ncn_progname}"
8669 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8679 if test -n "$NM"; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8681 $as_echo "$NM" >&6; }
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8684 $as_echo "no
" >&6; }
8691 for ncn_progname in nm; do
8692 if test -n "$ncn_tool_prefix"; then
8693 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8694 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8696 $as_echo_n "checking
for $ac_word...
" >&6; }
8697 if test "${ac_cv_prog_NM+set}" = set; then :
8698 $as_echo_n "(cached
) " >&6
8700 if test -n "$NM"; then
8701 ac_cv_prog_NM="$NM" # Let the user override the test.
8703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8707 test -z "$as_dir" && as_dir=.
8708 for ac_exec_ext in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8721 if test -n "$NM"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8723 $as_echo "$NM" >&6; }
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8726 $as_echo "no
" >&6; }
8731 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8732 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8733 set dummy ${ncn_progname}; ac_word=$2
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8735 $as_echo_n "checking
for $ac_word...
" >&6; }
8736 if test "${ac_cv_prog_NM+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 if test -n "$NM"; then
8740 ac_cv_prog_NM="$NM" # Let the user override the test.
8742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir=.
8747 for ac_exec_ext in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_prog_NM="${ncn_progname}"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8760 if test -n "$NM"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8762 $as_echo "$NM" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8765 $as_echo "no
" >&6; }
8770 test -n "$ac_cv_prog_NM" && break
8773 if test -z "$ac_cv_prog_NM" ; then
8775 if test $build = $host ; then
8778 NM="${ncn_tool_prefix}$2"
8784 if test -n "$RANLIB"; then
8785 ac_cv_prog_RANLIB=$RANLIB
8786 elif test -n "$ac_cv_prog_RANLIB"; then
8787 RANLIB=$ac_cv_prog_RANLIB
8790 if test -n "$ac_cv_prog_RANLIB"; then
8791 for ncn_progname in ranlib; do
8792 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8793 set dummy ${ncn_progname}; ac_word=$2
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8795 $as_echo_n "checking
for $ac_word...
" >&6; }
8796 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8797 $as_echo_n "(cached
) " >&6
8799 if test -n "$RANLIB"; then
8800 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8806 test -z "$as_dir" && as_dir=.
8807 for ac_exec_ext in '' $ac_executable_extensions; do
8808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8809 ac_cv_prog_RANLIB="${ncn_progname}"
8810 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8819 RANLIB=$ac_cv_prog_RANLIB
8820 if test -n "$RANLIB"; then
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8822 $as_echo "$RANLIB" >&6; }
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8825 $as_echo "no
" >&6; }
8832 for ncn_progname in ranlib; do
8833 if test -n "$ncn_tool_prefix"; then
8834 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8835 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8837 $as_echo_n "checking
for $ac_word...
" >&6; }
8838 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8839 $as_echo_n "(cached
) " >&6
8841 if test -n "$RANLIB"; then
8842 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir=.
8849 for ac_exec_ext in '' $ac_executable_extensions; do
8850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8851 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8861 RANLIB=$ac_cv_prog_RANLIB
8862 if test -n "$RANLIB"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8864 $as_echo "$RANLIB" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8867 $as_echo "no
" >&6; }
8872 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8873 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8874 set dummy ${ncn_progname}; ac_word=$2
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8876 $as_echo_n "checking
for $ac_word...
" >&6; }
8877 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8878 $as_echo_n "(cached
) " >&6
8880 if test -n "$RANLIB"; then
8881 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8887 test -z "$as_dir" && as_dir=.
8888 for ac_exec_ext in '' $ac_executable_extensions; do
8889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8890 ac_cv_prog_RANLIB="${ncn_progname}"
8891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8900 RANLIB=$ac_cv_prog_RANLIB
8901 if test -n "$RANLIB"; then
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8903 $as_echo "$RANLIB" >&6; }
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8906 $as_echo "no
" >&6; }
8911 test -n "$ac_cv_prog_RANLIB" && break
8914 if test -z "$ac_cv_prog_RANLIB" ; then
8920 if test -n "$STRIP"; then
8921 ac_cv_prog_STRIP=$STRIP
8922 elif test -n "$ac_cv_prog_STRIP"; then
8923 STRIP=$ac_cv_prog_STRIP
8926 if test -n "$ac_cv_prog_STRIP"; then
8927 for ncn_progname in strip; do
8928 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8929 set dummy ${ncn_progname}; ac_word=$2
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8931 $as_echo_n "checking
for $ac_word...
" >&6; }
8932 if test "${ac_cv_prog_STRIP+set}" = set; then :
8933 $as_echo_n "(cached
) " >&6
8935 if test -n "$STRIP"; then
8936 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8942 test -z "$as_dir" && as_dir=.
8943 for ac_exec_ext in '' $ac_executable_extensions; do
8944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8945 ac_cv_prog_STRIP="${ncn_progname}"
8946 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8955 STRIP=$ac_cv_prog_STRIP
8956 if test -n "$STRIP"; then
8957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8958 $as_echo "$STRIP" >&6; }
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8961 $as_echo "no
" >&6; }
8968 for ncn_progname in strip; do
8969 if test -n "$ncn_tool_prefix"; then
8970 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8971 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8973 $as_echo_n "checking
for $ac_word...
" >&6; }
8974 if test "${ac_cv_prog_STRIP+set}" = set; then :
8975 $as_echo_n "(cached
) " >&6
8977 if test -n "$STRIP"; then
8978 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8984 test -z "$as_dir" && as_dir=.
8985 for ac_exec_ext in '' $ac_executable_extensions; do
8986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8987 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8988 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8997 STRIP=$ac_cv_prog_STRIP
8998 if test -n "$STRIP"; then
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9000 $as_echo "$STRIP" >&6; }
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9003 $as_echo "no
" >&6; }
9008 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9009 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9010 set dummy ${ncn_progname}; ac_word=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9012 $as_echo_n "checking
for $ac_word...
" >&6; }
9013 if test "${ac_cv_prog_STRIP+set}" = set; then :
9014 $as_echo_n "(cached
) " >&6
9016 if test -n "$STRIP"; then
9017 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir=.
9024 for ac_exec_ext in '' $ac_executable_extensions; do
9025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9026 ac_cv_prog_STRIP="${ncn_progname}"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9036 STRIP=$ac_cv_prog_STRIP
9037 if test -n "$STRIP"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9039 $as_echo "$STRIP" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9042 $as_echo "no
" >&6; }
9047 test -n "$ac_cv_prog_STRIP" && break
9050 if test -z "$ac_cv_prog_STRIP" ; then
9056 if test -n "$WINDRES"; then
9057 ac_cv_prog_WINDRES=$WINDRES
9058 elif test -n "$ac_cv_prog_WINDRES"; then
9059 WINDRES=$ac_cv_prog_WINDRES
9062 if test -n "$ac_cv_prog_WINDRES"; then
9063 for ncn_progname in windres; do
9064 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9065 set dummy ${ncn_progname}; ac_word=$2
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9067 $as_echo_n "checking
for $ac_word...
" >&6; }
9068 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9069 $as_echo_n "(cached
) " >&6
9071 if test -n "$WINDRES"; then
9072 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9078 test -z "$as_dir" && as_dir=.
9079 for ac_exec_ext in '' $ac_executable_extensions; do
9080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9081 ac_cv_prog_WINDRES="${ncn_progname}"
9082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9091 WINDRES=$ac_cv_prog_WINDRES
9092 if test -n "$WINDRES"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9094 $as_echo "$WINDRES" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9097 $as_echo "no
" >&6; }
9104 for ncn_progname in windres; do
9105 if test -n "$ncn_tool_prefix"; then
9106 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9107 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9109 $as_echo_n "checking
for $ac_word...
" >&6; }
9110 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9111 $as_echo_n "(cached
) " >&6
9113 if test -n "$WINDRES"; then
9114 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir=.
9121 for ac_exec_ext in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9133 WINDRES=$ac_cv_prog_WINDRES
9134 if test -n "$WINDRES"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9136 $as_echo "$WINDRES" >&6; }
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9139 $as_echo "no
" >&6; }
9144 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9145 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9146 set dummy ${ncn_progname}; ac_word=$2
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9148 $as_echo_n "checking
for $ac_word...
" >&6; }
9149 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9150 $as_echo_n "(cached
) " >&6
9152 if test -n "$WINDRES"; then
9153 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9159 test -z "$as_dir" && as_dir=.
9160 for ac_exec_ext in '' $ac_executable_extensions; do
9161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9162 ac_cv_prog_WINDRES="${ncn_progname}"
9163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9172 WINDRES=$ac_cv_prog_WINDRES
9173 if test -n "$WINDRES"; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9175 $as_echo "$WINDRES" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9178 $as_echo "no
" >&6; }
9183 test -n "$ac_cv_prog_WINDRES" && break
9186 if test -z "$ac_cv_prog_WINDRES" ; then
9188 if test $build = $host ; then
9191 WINDRES="${ncn_tool_prefix}$2"
9197 if test -n "$WINDMC"; then
9198 ac_cv_prog_WINDMC=$WINDMC
9199 elif test -n "$ac_cv_prog_WINDMC"; then
9200 WINDMC=$ac_cv_prog_WINDMC
9203 if test -n "$ac_cv_prog_WINDMC"; then
9204 for ncn_progname in windmc; do
9205 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9206 set dummy ${ncn_progname}; ac_word=$2
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9208 $as_echo_n "checking
for $ac_word...
" >&6; }
9209 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9210 $as_echo_n "(cached
) " >&6
9212 if test -n "$WINDMC"; then
9213 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9219 test -z "$as_dir" && as_dir=.
9220 for ac_exec_ext in '' $ac_executable_extensions; do
9221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222 ac_cv_prog_WINDMC="${ncn_progname}"
9223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9232 WINDMC=$ac_cv_prog_WINDMC
9233 if test -n "$WINDMC"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9235 $as_echo "$WINDMC" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9238 $as_echo "no
" >&6; }
9245 for ncn_progname in windmc; do
9246 if test -n "$ncn_tool_prefix"; then
9247 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9248 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9250 $as_echo_n "checking
for $ac_word...
" >&6; }
9251 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9252 $as_echo_n "(cached
) " >&6
9254 if test -n "$WINDMC"; then
9255 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9261 test -z "$as_dir" && as_dir=.
9262 for ac_exec_ext in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9274 WINDMC=$ac_cv_prog_WINDMC
9275 if test -n "$WINDMC"; then
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9277 $as_echo "$WINDMC" >&6; }
9279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9280 $as_echo "no
" >&6; }
9285 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9286 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9287 set dummy ${ncn_progname}; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9289 $as_echo_n "checking
for $ac_word...
" >&6; }
9290 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9291 $as_echo_n "(cached
) " >&6
9293 if test -n "$WINDMC"; then
9294 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9300 test -z "$as_dir" && as_dir=.
9301 for ac_exec_ext in '' $ac_executable_extensions; do
9302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9303 ac_cv_prog_WINDMC="${ncn_progname}"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9313 WINDMC=$ac_cv_prog_WINDMC
9314 if test -n "$WINDMC"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9316 $as_echo "$WINDMC" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9319 $as_echo "no
" >&6; }
9324 test -n "$ac_cv_prog_WINDMC" && break
9327 if test -z "$ac_cv_prog_WINDMC" ; then
9329 if test $build = $host ; then
9332 WINDMC="${ncn_tool_prefix}$2"
9338 if test -n "$OBJCOPY"; then
9339 ac_cv_prog_OBJCOPY=$OBJCOPY
9340 elif test -n "$ac_cv_prog_OBJCOPY"; then
9341 OBJCOPY=$ac_cv_prog_OBJCOPY
9344 if test -n "$ac_cv_prog_OBJCOPY"; then
9345 for ncn_progname in objcopy; do
9346 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9347 set dummy ${ncn_progname}; ac_word=$2
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9349 $as_echo_n "checking
for $ac_word...
" >&6; }
9350 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9351 $as_echo_n "(cached
) " >&6
9353 if test -n "$OBJCOPY"; then
9354 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9360 test -z "$as_dir" && as_dir=.
9361 for ac_exec_ext in '' $ac_executable_extensions; do
9362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9363 ac_cv_prog_OBJCOPY="${ncn_progname}"
9364 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9373 OBJCOPY=$ac_cv_prog_OBJCOPY
9374 if test -n "$OBJCOPY"; then
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9376 $as_echo "$OBJCOPY" >&6; }
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9379 $as_echo "no
" >&6; }
9386 for ncn_progname in objcopy; do
9387 if test -n "$ncn_tool_prefix"; then
9388 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9389 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9391 $as_echo_n "checking
for $ac_word...
" >&6; }
9392 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9393 $as_echo_n "(cached
) " >&6
9395 if test -n "$OBJCOPY"; then
9396 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9402 test -z "$as_dir" && as_dir=.
9403 for ac_exec_ext in '' $ac_executable_extensions; do
9404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9405 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9406 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9415 OBJCOPY=$ac_cv_prog_OBJCOPY
9416 if test -n "$OBJCOPY"; then
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9418 $as_echo "$OBJCOPY" >&6; }
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9421 $as_echo "no
" >&6; }
9426 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9427 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9428 set dummy ${ncn_progname}; ac_word=$2
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9430 $as_echo_n "checking
for $ac_word...
" >&6; }
9431 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9432 $as_echo_n "(cached
) " >&6
9434 if test -n "$OBJCOPY"; then
9435 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9441 test -z "$as_dir" && as_dir=.
9442 for ac_exec_ext in '' $ac_executable_extensions; do
9443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9444 ac_cv_prog_OBJCOPY="${ncn_progname}"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9454 OBJCOPY=$ac_cv_prog_OBJCOPY
9455 if test -n "$OBJCOPY"; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9457 $as_echo "$OBJCOPY" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9460 $as_echo "no
" >&6; }
9465 test -n "$ac_cv_prog_OBJCOPY" && break
9468 if test -z "$ac_cv_prog_OBJCOPY" ; then
9470 if test $build = $host ; then
9473 OBJCOPY="${ncn_tool_prefix}$2"
9479 if test -n "$OBJDUMP"; then
9480 ac_cv_prog_OBJDUMP=$OBJDUMP
9481 elif test -n "$ac_cv_prog_OBJDUMP"; then
9482 OBJDUMP=$ac_cv_prog_OBJDUMP
9485 if test -n "$ac_cv_prog_OBJDUMP"; then
9486 for ncn_progname in objdump; do
9487 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9488 set dummy ${ncn_progname}; ac_word=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9490 $as_echo_n "checking
for $ac_word...
" >&6; }
9491 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9492 $as_echo_n "(cached
) " >&6
9494 if test -n "$OBJDUMP"; then
9495 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9501 test -z "$as_dir" && as_dir=.
9502 for ac_exec_ext in '' $ac_executable_extensions; do
9503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9504 ac_cv_prog_OBJDUMP="${ncn_progname}"
9505 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9514 OBJDUMP=$ac_cv_prog_OBJDUMP
9515 if test -n "$OBJDUMP"; then
9516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9517 $as_echo "$OBJDUMP" >&6; }
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9520 $as_echo "no
" >&6; }
9527 for ncn_progname in objdump; do
9528 if test -n "$ncn_tool_prefix"; then
9529 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9530 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9532 $as_echo_n "checking
for $ac_word...
" >&6; }
9533 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9534 $as_echo_n "(cached
) " >&6
9536 if test -n "$OBJDUMP"; then
9537 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9543 test -z "$as_dir" && as_dir=.
9544 for ac_exec_ext in '' $ac_executable_extensions; do
9545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9546 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9547 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9556 OBJDUMP=$ac_cv_prog_OBJDUMP
9557 if test -n "$OBJDUMP"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9559 $as_echo "$OBJDUMP" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9562 $as_echo "no
" >&6; }
9567 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9568 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9569 set dummy ${ncn_progname}; ac_word=$2
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9571 $as_echo_n "checking
for $ac_word...
" >&6; }
9572 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9573 $as_echo_n "(cached
) " >&6
9575 if test -n "$OBJDUMP"; then
9576 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9582 test -z "$as_dir" && as_dir=.
9583 for ac_exec_ext in '' $ac_executable_extensions; do
9584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9585 ac_cv_prog_OBJDUMP="${ncn_progname}"
9586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9595 OBJDUMP=$ac_cv_prog_OBJDUMP
9596 if test -n "$OBJDUMP"; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9598 $as_echo "$OBJDUMP" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9601 $as_echo "no
" >&6; }
9606 test -n "$ac_cv_prog_OBJDUMP" && break
9609 if test -z "$ac_cv_prog_OBJDUMP" ; then
9611 if test $build = $host ; then
9614 OBJDUMP="${ncn_tool_prefix}$2"
9620 if test -n "$READELF"; then
9621 ac_cv_prog_READELF=$READELF
9622 elif test -n "$ac_cv_prog_READELF"; then
9623 READELF=$ac_cv_prog_READELF
9626 if test -n "$ac_cv_prog_READELF"; then
9627 for ncn_progname in readelf; do
9628 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9629 set dummy ${ncn_progname}; ac_word=$2
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9631 $as_echo_n "checking
for $ac_word...
" >&6; }
9632 if test "${ac_cv_prog_READELF+set}" = set; then :
9633 $as_echo_n "(cached
) " >&6
9635 if test -n "$READELF"; then
9636 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9642 test -z "$as_dir" && as_dir=.
9643 for ac_exec_ext in '' $ac_executable_extensions; do
9644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9645 ac_cv_prog_READELF="${ncn_progname}"
9646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9655 READELF=$ac_cv_prog_READELF
9656 if test -n "$READELF"; then
9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9658 $as_echo "$READELF" >&6; }
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9661 $as_echo "no
" >&6; }
9668 for ncn_progname in readelf; do
9669 if test -n "$ncn_tool_prefix"; then
9670 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9671 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9673 $as_echo_n "checking
for $ac_word...
" >&6; }
9674 if test "${ac_cv_prog_READELF+set}" = set; then :
9675 $as_echo_n "(cached
) " >&6
9677 if test -n "$READELF"; then
9678 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9684 test -z "$as_dir" && as_dir=.
9685 for ac_exec_ext in '' $ac_executable_extensions; do
9686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9687 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9697 READELF=$ac_cv_prog_READELF
9698 if test -n "$READELF"; then
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9700 $as_echo "$READELF" >&6; }
9702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9703 $as_echo "no
" >&6; }
9708 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9709 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9710 set dummy ${ncn_progname}; ac_word=$2
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9712 $as_echo_n "checking
for $ac_word...
" >&6; }
9713 if test "${ac_cv_prog_READELF+set}" = set; then :
9714 $as_echo_n "(cached
) " >&6
9716 if test -n "$READELF"; then
9717 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir=.
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726 ac_cv_prog_READELF="${ncn_progname}"
9727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9736 READELF=$ac_cv_prog_READELF
9737 if test -n "$READELF"; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9739 $as_echo "$READELF" >&6; }
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9742 $as_echo "no
" >&6; }
9747 test -n "$ac_cv_prog_READELF" && break
9750 if test -z "$ac_cv_prog_READELF" ; then
9752 if test $build = $host ; then
9755 READELF="${ncn_tool_prefix}$2"
9766 # Check whether --with-build-time-tools was given.
9767 if test "${with_build_time_tools+set}" = set; then :
9768 withval=$with_build_time_tools; case x"$withval" in
9771 with_build_time_tools=
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9773 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9777 with_build_time_tools=
9783 if test -n "$CC_FOR_TARGET"; then
9784 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9785 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9786 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9789 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9790 for ncn_progname in cc gcc; do
9791 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9792 set dummy ${ncn_progname}; ac_word=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9794 $as_echo_n "checking
for $ac_word...
" >&6; }
9795 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9796 $as_echo_n "(cached
) " >&6
9798 if test -n "$CC_FOR_TARGET"; then
9799 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir=.
9806 for ac_exec_ext in '' $ac_executable_extensions; do
9807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9808 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9818 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9819 if test -n "$CC_FOR_TARGET"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9821 $as_echo "$CC_FOR_TARGET" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9824 $as_echo "no
" >&6; }
9831 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9832 for ncn_progname in cc gcc; do
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9834 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9835 if test -x $with_build_time_tools/${ncn_progname}; then
9836 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9838 $as_echo "yes" >&6; }
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9842 $as_echo "no
" >&6; }
9847 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9848 for ncn_progname in cc gcc; do
9849 if test -n "$ncn_target_tool_prefix"; then
9850 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9851 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9853 $as_echo_n "checking
for $ac_word...
" >&6; }
9854 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9855 $as_echo_n "(cached
) " >&6
9857 if test -n "$CC_FOR_TARGET"; then
9858 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9864 test -z "$as_dir" && as_dir=.
9865 for ac_exec_ext in '' $ac_executable_extensions; do
9866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9867 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9877 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9878 if test -n "$CC_FOR_TARGET"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9880 $as_echo "$CC_FOR_TARGET" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9883 $as_echo "no
" >&6; }
9888 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9889 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9890 set dummy ${ncn_progname}; ac_word=$2
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9892 $as_echo_n "checking
for $ac_word...
" >&6; }
9893 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9894 $as_echo_n "(cached
) " >&6
9896 if test -n "$CC_FOR_TARGET"; then
9897 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9916 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9917 if test -n "$CC_FOR_TARGET"; then
9918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9919 $as_echo "$CC_FOR_TARGET" >&6; }
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9922 $as_echo "no
" >&6; }
9927 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9931 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9933 if test $build = $target ; then
9936 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9939 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9944 if test -n "$CXX_FOR_TARGET"; then
9945 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9946 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9947 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9950 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9951 for ncn_progname in c++ g++ cxx gxx; do
9952 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9953 set dummy ${ncn_progname}; ac_word=$2
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9955 $as_echo_n "checking
for $ac_word...
" >&6; }
9956 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9957 $as_echo_n "(cached
) " >&6
9959 if test -n "$CXX_FOR_TARGET"; then
9960 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir=.
9967 for ac_exec_ext in '' $ac_executable_extensions; do
9968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9970 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9979 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9980 if test -n "$CXX_FOR_TARGET"; then
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9982 $as_echo "$CXX_FOR_TARGET" >&6; }
9984 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9985 $as_echo "no
" >&6; }
9992 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9993 for ncn_progname in c++ g++ cxx gxx; do
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9995 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9996 if test -x $with_build_time_tools/${ncn_progname}; then
9997 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9999 $as_echo "yes" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10003 $as_echo "no
" >&6; }
10008 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10009 for ncn_progname in c++ g++ cxx gxx; do
10010 if test -n "$ncn_target_tool_prefix"; then
10011 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10012 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10014 $as_echo_n "checking
for $ac_word...
" >&6; }
10015 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10016 $as_echo_n "(cached
) " >&6
10018 if test -n "$CXX_FOR_TARGET"; then
10019 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10022 for as_dir in $PATH
10025 test -z "$as_dir" && as_dir=.
10026 for ac_exec_ext in '' $ac_executable_extensions; do
10027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10028 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10038 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10039 if test -n "$CXX_FOR_TARGET"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10041 $as_echo "$CXX_FOR_TARGET" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10044 $as_echo "no
" >&6; }
10049 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10050 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10051 set dummy ${ncn_progname}; ac_word=$2
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10053 $as_echo_n "checking
for $ac_word...
" >&6; }
10054 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10055 $as_echo_n "(cached
) " >&6
10057 if test -n "$CXX_FOR_TARGET"; then
10058 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10061 for as_dir in $PATH
10064 test -z "$as_dir" && as_dir=.
10065 for ac_exec_ext in '' $ac_executable_extensions; do
10066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10067 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10077 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10078 if test -n "$CXX_FOR_TARGET"; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10080 $as_echo "$CXX_FOR_TARGET" >&6; }
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10083 $as_echo "no
" >&6; }
10088 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10092 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10093 set dummy c++ g++ cxx gxx
10094 if test $build = $target ; then
10095 CXX_FOR_TARGET="$2"
10097 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10100 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10105 if test -n "$GCC_FOR_TARGET"; then
10106 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10107 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10108 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10111 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10112 for ncn_progname in gcc; do
10113 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10114 set dummy ${ncn_progname}; ac_word=$2
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10116 $as_echo_n "checking
for $ac_word...
" >&6; }
10117 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10118 $as_echo_n "(cached
) " >&6
10120 if test -n "$GCC_FOR_TARGET"; then
10121 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10124 for as_dir in $PATH
10127 test -z "$as_dir" && as_dir=.
10128 for ac_exec_ext in '' $ac_executable_extensions; do
10129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10130 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10131 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10140 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10141 if test -n "$GCC_FOR_TARGET"; then
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10143 $as_echo "$GCC_FOR_TARGET" >&6; }
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10146 $as_echo "no
" >&6; }
10153 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10154 for ncn_progname in gcc; do
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10156 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10157 if test -x $with_build_time_tools/${ncn_progname}; then
10158 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10160 $as_echo "yes" >&6; }
10163 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10164 $as_echo "no
" >&6; }
10169 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10170 for ncn_progname in gcc; do
10171 if test -n "$ncn_target_tool_prefix"; then
10172 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10173 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10175 $as_echo_n "checking
for $ac_word...
" >&6; }
10176 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10177 $as_echo_n "(cached
) " >&6
10179 if test -n "$GCC_FOR_TARGET"; then
10180 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10183 for as_dir in $PATH
10186 test -z "$as_dir" && as_dir=.
10187 for ac_exec_ext in '' $ac_executable_extensions; do
10188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10189 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10190 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10199 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10200 if test -n "$GCC_FOR_TARGET"; then
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10202 $as_echo "$GCC_FOR_TARGET" >&6; }
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10205 $as_echo "no
" >&6; }
10210 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10211 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10212 set dummy ${ncn_progname}; ac_word=$2
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10214 $as_echo_n "checking
for $ac_word...
" >&6; }
10215 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10216 $as_echo_n "(cached
) " >&6
10218 if test -n "$GCC_FOR_TARGET"; then
10219 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222 for as_dir in $PATH
10225 test -z "$as_dir" && as_dir=.
10226 for ac_exec_ext in '' $ac_executable_extensions; do
10227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10228 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10238 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10239 if test -n "$GCC_FOR_TARGET"; then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10241 $as_echo "$GCC_FOR_TARGET" >&6; }
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10244 $as_echo "no
" >&6; }
10249 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10253 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10254 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10256 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10261 if test -n "$GCJ_FOR_TARGET"; then
10262 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10263 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10264 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10267 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10268 for ncn_progname in gcj; do
10269 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10270 set dummy ${ncn_progname}; ac_word=$2
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10272 $as_echo_n "checking
for $ac_word...
" >&6; }
10273 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10274 $as_echo_n "(cached
) " >&6
10276 if test -n "$GCJ_FOR_TARGET"; then
10277 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10280 for as_dir in $PATH
10283 test -z "$as_dir" && as_dir=.
10284 for ac_exec_ext in '' $ac_executable_extensions; do
10285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10286 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10287 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10296 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10297 if test -n "$GCJ_FOR_TARGET"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10299 $as_echo "$GCJ_FOR_TARGET" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10302 $as_echo "no
" >&6; }
10309 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10310 for ncn_progname in gcj; do
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10312 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10313 if test -x $with_build_time_tools/${ncn_progname}; then
10314 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10316 $as_echo "yes" >&6; }
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10320 $as_echo "no
" >&6; }
10325 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10326 for ncn_progname in gcj; do
10327 if test -n "$ncn_target_tool_prefix"; then
10328 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10329 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10331 $as_echo_n "checking
for $ac_word...
" >&6; }
10332 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10333 $as_echo_n "(cached
) " >&6
10335 if test -n "$GCJ_FOR_TARGET"; then
10336 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10339 for as_dir in $PATH
10342 test -z "$as_dir" && as_dir=.
10343 for ac_exec_ext in '' $ac_executable_extensions; do
10344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10345 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10355 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10356 if test -n "$GCJ_FOR_TARGET"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10358 $as_echo "$GCJ_FOR_TARGET" >&6; }
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10361 $as_echo "no
" >&6; }
10366 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10367 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10368 set dummy ${ncn_progname}; ac_word=$2
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10370 $as_echo_n "checking
for $ac_word...
" >&6; }
10371 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10372 $as_echo_n "(cached
) " >&6
10374 if test -n "$GCJ_FOR_TARGET"; then
10375 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10378 for as_dir in $PATH
10381 test -z "$as_dir" && as_dir=.
10382 for ac_exec_ext in '' $ac_executable_extensions; do
10383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10384 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10385 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10394 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10395 if test -n "$GCJ_FOR_TARGET"; then
10396 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10397 $as_echo "$GCJ_FOR_TARGET" >&6; }
10399 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10400 $as_echo "no
" >&6; }
10405 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10409 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10411 if test $build = $target ; then
10412 GCJ_FOR_TARGET="$2"
10414 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10417 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10422 if test -n "$GFORTRAN_FOR_TARGET"; then
10423 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10424 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10425 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10428 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10429 for ncn_progname in gfortran; do
10430 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10431 set dummy ${ncn_progname}; ac_word=$2
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10433 $as_echo_n "checking
for $ac_word...
" >&6; }
10434 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10435 $as_echo_n "(cached
) " >&6
10437 if test -n "$GFORTRAN_FOR_TARGET"; then
10438 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10441 for as_dir in $PATH
10444 test -z "$as_dir" && as_dir=.
10445 for ac_exec_ext in '' $ac_executable_extensions; do
10446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10447 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10448 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10457 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10458 if test -n "$GFORTRAN_FOR_TARGET"; then
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10460 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10462 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10463 $as_echo "no
" >&6; }
10470 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10471 for ncn_progname in gfortran; do
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10473 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10474 if test -x $with_build_time_tools/${ncn_progname}; then
10475 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10477 $as_echo "yes" >&6; }
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10481 $as_echo "no
" >&6; }
10486 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10487 for ncn_progname in gfortran; do
10488 if test -n "$ncn_target_tool_prefix"; then
10489 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10490 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10492 $as_echo_n "checking
for $ac_word...
" >&6; }
10493 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10494 $as_echo_n "(cached
) " >&6
10496 if test -n "$GFORTRAN_FOR_TARGET"; then
10497 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10506 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10516 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10517 if test -n "$GFORTRAN_FOR_TARGET"; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10519 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10522 $as_echo "no
" >&6; }
10527 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10528 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10529 set dummy ${ncn_progname}; ac_word=$2
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10531 $as_echo_n "checking
for $ac_word...
" >&6; }
10532 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10533 $as_echo_n "(cached
) " >&6
10535 if test -n "$GFORTRAN_FOR_TARGET"; then
10536 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10539 for as_dir in $PATH
10542 test -z "$as_dir" && as_dir=.
10543 for ac_exec_ext in '' $ac_executable_extensions; do
10544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10545 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10555 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10556 if test -n "$GFORTRAN_FOR_TARGET"; then
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10558 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10561 $as_echo "no
" >&6; }
10566 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10570 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10572 if test $build = $target ; then
10573 GFORTRAN_FOR_TARGET="$2"
10575 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10578 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10583 if test -n "$GOC_FOR_TARGET"; then
10584 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10585 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10586 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10589 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10590 for ncn_progname in gccgo; do
10591 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10592 set dummy ${ncn_progname}; ac_word=$2
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10594 $as_echo_n "checking
for $ac_word...
" >&6; }
10595 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10596 $as_echo_n "(cached
) " >&6
10598 if test -n "$GOC_FOR_TARGET"; then
10599 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10602 for as_dir in $PATH
10605 test -z "$as_dir" && as_dir=.
10606 for ac_exec_ext in '' $ac_executable_extensions; do
10607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10608 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10618 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10619 if test -n "$GOC_FOR_TARGET"; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10621 $as_echo "$GOC_FOR_TARGET" >&6; }
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10624 $as_echo "no
" >&6; }
10631 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10632 for ncn_progname in gccgo; do
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10634 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10635 if test -x $with_build_time_tools/${ncn_progname}; then
10636 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10638 $as_echo "yes" >&6; }
10641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10642 $as_echo "no
" >&6; }
10647 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10648 for ncn_progname in gccgo; do
10649 if test -n "$ncn_target_tool_prefix"; then
10650 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10651 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10653 $as_echo_n "checking
for $ac_word...
" >&6; }
10654 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10655 $as_echo_n "(cached
) " >&6
10657 if test -n "$GOC_FOR_TARGET"; then
10658 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10661 for as_dir in $PATH
10664 test -z "$as_dir" && as_dir=.
10665 for ac_exec_ext in '' $ac_executable_extensions; do
10666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10667 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10677 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10678 if test -n "$GOC_FOR_TARGET"; then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10680 $as_echo "$GOC_FOR_TARGET" >&6; }
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10683 $as_echo "no
" >&6; }
10688 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10690 set dummy ${ncn_progname}; ac_word=$2
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10692 $as_echo_n "checking
for $ac_word...
" >&6; }
10693 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10694 $as_echo_n "(cached
) " >&6
10696 if test -n "$GOC_FOR_TARGET"; then
10697 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10700 for as_dir in $PATH
10703 test -z "$as_dir" && as_dir=.
10704 for ac_exec_ext in '' $ac_executable_extensions; do
10705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10706 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10716 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10717 if test -n "$GOC_FOR_TARGET"; then
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10719 $as_echo "$GOC_FOR_TARGET" >&6; }
10721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10722 $as_echo "no
" >&6; }
10727 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10731 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10733 if test $build = $target ; then
10734 GOC_FOR_TARGET="$2"
10736 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10739 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10744 cat > conftest.c << \EOF
10749 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10750 have_gcc_for_target=yes
10752 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10753 have_gcc_for_target=no
10760 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10761 if test -n "$with_build_time_tools"; then
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10763 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10764 if test -x $with_build_time_tools/ar; then
10765 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10766 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10768 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10771 $as_echo "no
" >&6; }
10773 elif test $build != $host && test $have_gcc_for_target = yes; then
10774 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10775 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10776 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10779 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10780 # Extract the first word of "ar", so it can be a program name with args.
10781 set dummy ar; ac_word=$2
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10783 $as_echo_n "checking
for $ac_word...
" >&6; }
10784 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10785 $as_echo_n "(cached
) " >&6
10787 case $AR_FOR_TARGET in
10789 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10793 for as_dir in $gcc_cv_tool_dirs
10796 test -z "$as_dir" && as_dir=.
10797 for ac_exec_ext in '' $ac_executable_extensions; do
10798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10799 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10800 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10810 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10811 if test -n "$AR_FOR_TARGET"; then
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10813 $as_echo "$AR_FOR_TARGET" >&6; }
10815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10816 $as_echo "no
" >&6; }
10821 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10824 if test -n "$AR_FOR_TARGET"; then
10825 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10826 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10827 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10830 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10831 for ncn_progname in ar; do
10832 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10833 set dummy ${ncn_progname}; ac_word=$2
10834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10835 $as_echo_n "checking
for $ac_word...
" >&6; }
10836 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10837 $as_echo_n "(cached
) " >&6
10839 if test -n "$AR_FOR_TARGET"; then
10840 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10843 for as_dir in $PATH
10846 test -z "$as_dir" && as_dir=.
10847 for ac_exec_ext in '' $ac_executable_extensions; do
10848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10849 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10850 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10859 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10860 if test -n "$AR_FOR_TARGET"; then
10861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10862 $as_echo "$AR_FOR_TARGET" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10865 $as_echo "no
" >&6; }
10872 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10873 for ncn_progname in ar; do
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10875 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10876 if test -x $with_build_time_tools/${ncn_progname}; then
10877 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10879 $as_echo "yes" >&6; }
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10883 $as_echo "no
" >&6; }
10888 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10889 for ncn_progname in ar; do
10890 if test -n "$ncn_target_tool_prefix"; then
10891 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10892 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10894 $as_echo_n "checking
for $ac_word...
" >&6; }
10895 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10896 $as_echo_n "(cached
) " >&6
10898 if test -n "$AR_FOR_TARGET"; then
10899 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10902 for as_dir in $PATH
10905 test -z "$as_dir" && as_dir=.
10906 for ac_exec_ext in '' $ac_executable_extensions; do
10907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10908 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10909 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10918 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10919 if test -n "$AR_FOR_TARGET"; then
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10921 $as_echo "$AR_FOR_TARGET" >&6; }
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10924 $as_echo "no
" >&6; }
10929 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10930 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10931 set dummy ${ncn_progname}; ac_word=$2
10932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10933 $as_echo_n "checking
for $ac_word...
" >&6; }
10934 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10935 $as_echo_n "(cached
) " >&6
10937 if test -n "$AR_FOR_TARGET"; then
10938 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10941 for as_dir in $PATH
10944 test -z "$as_dir" && as_dir=.
10945 for ac_exec_ext in '' $ac_executable_extensions; do
10946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10947 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10957 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10958 if test -n "$AR_FOR_TARGET"; then
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10960 $as_echo "$AR_FOR_TARGET" >&6; }
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10963 $as_echo "no
" >&6; }
10968 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10972 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10974 if test $build = $target ; then
10977 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10980 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10984 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10990 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
10991 if test -n "$with_build_time_tools"; then
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
10993 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
10994 if test -x $with_build_time_tools/as; then
10995 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
10996 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
10998 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11001 $as_echo "no
" >&6; }
11003 elif test $build != $host && test $have_gcc_for_target = yes; then
11004 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11005 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11006 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11009 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11010 # Extract the first word of "as
", so it can be a program name with args.
11011 set dummy as; ac_word=$2
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11013 $as_echo_n "checking
for $ac_word...
" >&6; }
11014 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11015 $as_echo_n "(cached
) " >&6
11017 case $AS_FOR_TARGET in
11019 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11023 for as_dir in $gcc_cv_tool_dirs
11026 test -z "$as_dir" && as_dir=.
11027 for ac_exec_ext in '' $ac_executable_extensions; do
11028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11029 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11030 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11040 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11041 if test -n "$AS_FOR_TARGET"; then
11042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11043 $as_echo "$AS_FOR_TARGET" >&6; }
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11046 $as_echo "no
" >&6; }
11051 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11054 if test -n "$AS_FOR_TARGET"; then
11055 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11056 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11057 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11060 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11061 for ncn_progname in as; do
11062 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11063 set dummy ${ncn_progname}; ac_word=$2
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11065 $as_echo_n "checking
for $ac_word...
" >&6; }
11066 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11067 $as_echo_n "(cached
) " >&6
11069 if test -n "$AS_FOR_TARGET"; then
11070 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11073 for as_dir in $PATH
11076 test -z "$as_dir" && as_dir=.
11077 for ac_exec_ext in '' $ac_executable_extensions; do
11078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11079 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11080 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11089 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11090 if test -n "$AS_FOR_TARGET"; then
11091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11092 $as_echo "$AS_FOR_TARGET" >&6; }
11094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11095 $as_echo "no
" >&6; }
11102 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11103 for ncn_progname in as; do
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11105 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11106 if test -x $with_build_time_tools/${ncn_progname}; then
11107 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11109 $as_echo "yes" >&6; }
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11113 $as_echo "no
" >&6; }
11118 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11119 for ncn_progname in as; do
11120 if test -n "$ncn_target_tool_prefix"; then
11121 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11122 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11124 $as_echo_n "checking
for $ac_word...
" >&6; }
11125 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11126 $as_echo_n "(cached
) " >&6
11128 if test -n "$AS_FOR_TARGET"; then
11129 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11132 for as_dir in $PATH
11135 test -z "$as_dir" && as_dir=.
11136 for ac_exec_ext in '' $ac_executable_extensions; do
11137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11138 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11148 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11149 if test -n "$AS_FOR_TARGET"; then
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11151 $as_echo "$AS_FOR_TARGET" >&6; }
11153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11154 $as_echo "no
" >&6; }
11159 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11160 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11161 set dummy ${ncn_progname}; ac_word=$2
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11163 $as_echo_n "checking
for $ac_word...
" >&6; }
11164 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11165 $as_echo_n "(cached
) " >&6
11167 if test -n "$AS_FOR_TARGET"; then
11168 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11171 for as_dir in $PATH
11174 test -z "$as_dir" && as_dir=.
11175 for ac_exec_ext in '' $ac_executable_extensions; do
11176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11177 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11187 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11188 if test -n "$AS_FOR_TARGET"; then
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11190 $as_echo "$AS_FOR_TARGET" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11193 $as_echo "no
" >&6; }
11198 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11202 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11204 if test $build = $target ; then
11207 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11210 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11214 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11220 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11221 if test -n "$with_build_time_tools"; then
11222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11223 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11224 if test -x $with_build_time_tools/dlltool; then
11225 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11226 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11228 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11231 $as_echo "no
" >&6; }
11233 elif test $build != $host && test $have_gcc_for_target = yes; then
11234 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11235 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11236 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11239 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11240 # Extract the first word of "dlltool
", so it can be a program name with args.
11241 set dummy dlltool; ac_word=$2
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11243 $as_echo_n "checking
for $ac_word...
" >&6; }
11244 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11245 $as_echo_n "(cached
) " >&6
11247 case $DLLTOOL_FOR_TARGET in
11249 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11253 for as_dir in $gcc_cv_tool_dirs
11256 test -z "$as_dir" && as_dir=.
11257 for ac_exec_ext in '' $ac_executable_extensions; do
11258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11259 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11260 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11270 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11271 if test -n "$DLLTOOL_FOR_TARGET"; then
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11273 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11276 $as_echo "no
" >&6; }
11281 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11284 if test -n "$DLLTOOL_FOR_TARGET"; then
11285 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11286 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11287 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11290 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11291 for ncn_progname in dlltool; do
11292 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11293 set dummy ${ncn_progname}; ac_word=$2
11294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11295 $as_echo_n "checking
for $ac_word...
" >&6; }
11296 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11297 $as_echo_n "(cached
) " >&6
11299 if test -n "$DLLTOOL_FOR_TARGET"; then
11300 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11303 for as_dir in $PATH
11306 test -z "$as_dir" && as_dir=.
11307 for ac_exec_ext in '' $ac_executable_extensions; do
11308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11309 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11310 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11319 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11320 if test -n "$DLLTOOL_FOR_TARGET"; then
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11322 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11325 $as_echo "no
" >&6; }
11332 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11333 for ncn_progname in dlltool; do
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11335 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11336 if test -x $with_build_time_tools/${ncn_progname}; then
11337 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11339 $as_echo "yes" >&6; }
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11343 $as_echo "no
" >&6; }
11348 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11349 for ncn_progname in dlltool; do
11350 if test -n "$ncn_target_tool_prefix"; then
11351 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11352 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11354 $as_echo_n "checking
for $ac_word...
" >&6; }
11355 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11356 $as_echo_n "(cached
) " >&6
11358 if test -n "$DLLTOOL_FOR_TARGET"; then
11359 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11362 for as_dir in $PATH
11365 test -z "$as_dir" && as_dir=.
11366 for ac_exec_ext in '' $ac_executable_extensions; do
11367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11368 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11369 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11378 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11379 if test -n "$DLLTOOL_FOR_TARGET"; then
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11381 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11384 $as_echo "no
" >&6; }
11389 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11390 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11391 set dummy ${ncn_progname}; ac_word=$2
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11393 $as_echo_n "checking
for $ac_word...
" >&6; }
11394 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11395 $as_echo_n "(cached
) " >&6
11397 if test -n "$DLLTOOL_FOR_TARGET"; then
11398 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11401 for as_dir in $PATH
11404 test -z "$as_dir" && as_dir=.
11405 for ac_exec_ext in '' $ac_executable_extensions; do
11406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11407 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11417 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11418 if test -n "$DLLTOOL_FOR_TARGET"; then
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11420 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11423 $as_echo "no
" >&6; }
11428 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11432 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11434 if test $build = $target ; then
11435 DLLTOOL_FOR_TARGET="$2"
11437 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11440 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11444 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11450 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11451 if test -n "$with_build_time_tools"; then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11453 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11454 if test -x $with_build_time_tools/ld; then
11455 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11456 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11458 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11461 $as_echo "no
" >&6; }
11463 elif test $build != $host && test $have_gcc_for_target = yes; then
11464 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11465 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11466 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11469 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11470 # Extract the first word of "ld
", so it can be a program name with args.
11471 set dummy ld; ac_word=$2
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11473 $as_echo_n "checking
for $ac_word...
" >&6; }
11474 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11475 $as_echo_n "(cached
) " >&6
11477 case $LD_FOR_TARGET in
11479 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11483 for as_dir in $gcc_cv_tool_dirs
11486 test -z "$as_dir" && as_dir=.
11487 for ac_exec_ext in '' $ac_executable_extensions; do
11488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11489 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11490 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11500 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11501 if test -n "$LD_FOR_TARGET"; then
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11503 $as_echo "$LD_FOR_TARGET" >&6; }
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11506 $as_echo "no
" >&6; }
11511 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11514 if test -n "$LD_FOR_TARGET"; then
11515 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11516 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11517 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11520 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11521 for ncn_progname in ld; do
11522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11523 set dummy ${ncn_progname}; ac_word=$2
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11525 $as_echo_n "checking
for $ac_word...
" >&6; }
11526 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11527 $as_echo_n "(cached
) " >&6
11529 if test -n "$LD_FOR_TARGET"; then
11530 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11533 for as_dir in $PATH
11536 test -z "$as_dir" && as_dir=.
11537 for ac_exec_ext in '' $ac_executable_extensions; do
11538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11539 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11540 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11549 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11550 if test -n "$LD_FOR_TARGET"; then
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11552 $as_echo "$LD_FOR_TARGET" >&6; }
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11555 $as_echo "no
" >&6; }
11562 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11563 for ncn_progname in ld; do
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11565 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11566 if test -x $with_build_time_tools/${ncn_progname}; then
11567 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11569 $as_echo "yes" >&6; }
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11573 $as_echo "no
" >&6; }
11578 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11579 for ncn_progname in ld; do
11580 if test -n "$ncn_target_tool_prefix"; then
11581 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11582 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11584 $as_echo_n "checking
for $ac_word...
" >&6; }
11585 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11586 $as_echo_n "(cached
) " >&6
11588 if test -n "$LD_FOR_TARGET"; then
11589 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11592 for as_dir in $PATH
11595 test -z "$as_dir" && as_dir=.
11596 for ac_exec_ext in '' $ac_executable_extensions; do
11597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11598 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11599 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11608 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11609 if test -n "$LD_FOR_TARGET"; then
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11611 $as_echo "$LD_FOR_TARGET" >&6; }
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11614 $as_echo "no
" >&6; }
11619 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11620 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11621 set dummy ${ncn_progname}; ac_word=$2
11622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11623 $as_echo_n "checking
for $ac_word...
" >&6; }
11624 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11625 $as_echo_n "(cached
) " >&6
11627 if test -n "$LD_FOR_TARGET"; then
11628 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11631 for as_dir in $PATH
11634 test -z "$as_dir" && as_dir=.
11635 for ac_exec_ext in '' $ac_executable_extensions; do
11636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11637 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11647 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11648 if test -n "$LD_FOR_TARGET"; then
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11650 $as_echo "$LD_FOR_TARGET" >&6; }
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11653 $as_echo "no
" >&6; }
11658 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11662 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11664 if test $build = $target ; then
11667 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11670 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11674 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11680 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11681 if test -n "$with_build_time_tools"; then
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11683 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11684 if test -x $with_build_time_tools/lipo; then
11685 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11686 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11688 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11691 $as_echo "no
" >&6; }
11693 elif test $build != $host && test $have_gcc_for_target = yes; then
11694 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11695 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11696 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11699 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11700 # Extract the first word of "lipo
", so it can be a program name with args.
11701 set dummy lipo; ac_word=$2
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11703 $as_echo_n "checking
for $ac_word...
" >&6; }
11704 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11705 $as_echo_n "(cached
) " >&6
11707 case $LIPO_FOR_TARGET in
11709 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11713 for as_dir in $gcc_cv_tool_dirs
11716 test -z "$as_dir" && as_dir=.
11717 for ac_exec_ext in '' $ac_executable_extensions; do
11718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11719 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11720 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11730 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11731 if test -n "$LIPO_FOR_TARGET"; then
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11733 $as_echo "$LIPO_FOR_TARGET" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11736 $as_echo "no
" >&6; }
11741 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11744 if test -n "$LIPO_FOR_TARGET"; then
11745 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11746 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11747 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11750 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11751 for ncn_progname in lipo; do
11752 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11753 set dummy ${ncn_progname}; ac_word=$2
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11755 $as_echo_n "checking
for $ac_word...
" >&6; }
11756 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11757 $as_echo_n "(cached
) " >&6
11759 if test -n "$LIPO_FOR_TARGET"; then
11760 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11766 test -z "$as_dir" && as_dir=.
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11770 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11779 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11780 if test -n "$LIPO_FOR_TARGET"; then
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11782 $as_echo "$LIPO_FOR_TARGET" >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11785 $as_echo "no
" >&6; }
11792 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11793 for ncn_progname in lipo; do
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11795 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11796 if test -x $with_build_time_tools/${ncn_progname}; then
11797 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11799 $as_echo "yes" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11803 $as_echo "no
" >&6; }
11808 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11809 for ncn_progname in lipo; do
11810 if test -n "$ncn_target_tool_prefix"; then
11811 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11812 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11814 $as_echo_n "checking
for $ac_word...
" >&6; }
11815 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11816 $as_echo_n "(cached
) " >&6
11818 if test -n "$LIPO_FOR_TARGET"; then
11819 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11822 for as_dir in $PATH
11825 test -z "$as_dir" && as_dir=.
11826 for ac_exec_ext in '' $ac_executable_extensions; do
11827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11828 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11829 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11838 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11839 if test -n "$LIPO_FOR_TARGET"; then
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11841 $as_echo "$LIPO_FOR_TARGET" >&6; }
11843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11844 $as_echo "no
" >&6; }
11849 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11851 set dummy ${ncn_progname}; ac_word=$2
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11853 $as_echo_n "checking
for $ac_word...
" >&6; }
11854 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11855 $as_echo_n "(cached
) " >&6
11857 if test -n "$LIPO_FOR_TARGET"; then
11858 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11861 for as_dir in $PATH
11864 test -z "$as_dir" && as_dir=.
11865 for ac_exec_ext in '' $ac_executable_extensions; do
11866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11867 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11877 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11878 if test -n "$LIPO_FOR_TARGET"; then
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11880 $as_echo "$LIPO_FOR_TARGET" >&6; }
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11883 $as_echo "no
" >&6; }
11888 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11892 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11894 if test $build = $target ; then
11895 LIPO_FOR_TARGET="$2"
11897 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11900 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11904 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11910 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11911 if test -n "$with_build_time_tools"; then
11912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11913 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11914 if test -x $with_build_time_tools/nm; then
11915 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11916 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11918 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11921 $as_echo "no
" >&6; }
11923 elif test $build != $host && test $have_gcc_for_target = yes; then
11924 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11925 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11926 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11929 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11930 # Extract the first word of "nm
", so it can be a program name with args.
11931 set dummy nm; ac_word=$2
11932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11933 $as_echo_n "checking
for $ac_word...
" >&6; }
11934 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11935 $as_echo_n "(cached
) " >&6
11937 case $NM_FOR_TARGET in
11939 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11943 for as_dir in $gcc_cv_tool_dirs
11946 test -z "$as_dir" && as_dir=.
11947 for ac_exec_ext in '' $ac_executable_extensions; do
11948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11949 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11950 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11960 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11961 if test -n "$NM_FOR_TARGET"; then
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11963 $as_echo "$NM_FOR_TARGET" >&6; }
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11966 $as_echo "no
" >&6; }
11971 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11974 if test -n "$NM_FOR_TARGET"; then
11975 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11976 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11977 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11980 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11981 for ncn_progname in nm; do
11982 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11983 set dummy ${ncn_progname}; ac_word=$2
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11985 $as_echo_n "checking
for $ac_word...
" >&6; }
11986 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
11987 $as_echo_n "(cached
) " >&6
11989 if test -n "$NM_FOR_TARGET"; then
11990 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
11992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11993 for as_dir in $PATH
11996 test -z "$as_dir" && as_dir=.
11997 for ac_exec_ext in '' $ac_executable_extensions; do
11998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11999 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12000 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12009 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12010 if test -n "$NM_FOR_TARGET"; then
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12012 $as_echo "$NM_FOR_TARGET" >&6; }
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12015 $as_echo "no
" >&6; }
12022 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12023 for ncn_progname in nm; do
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12025 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12026 if test -x $with_build_time_tools/${ncn_progname}; then
12027 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12029 $as_echo "yes" >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12033 $as_echo "no
" >&6; }
12038 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12039 for ncn_progname in nm; do
12040 if test -n "$ncn_target_tool_prefix"; then
12041 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12042 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12044 $as_echo_n "checking
for $ac_word...
" >&6; }
12045 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12046 $as_echo_n "(cached
) " >&6
12048 if test -n "$NM_FOR_TARGET"; then
12049 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12052 for as_dir in $PATH
12055 test -z "$as_dir" && as_dir=.
12056 for ac_exec_ext in '' $ac_executable_extensions; do
12057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12058 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12059 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12068 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12069 if test -n "$NM_FOR_TARGET"; then
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12071 $as_echo "$NM_FOR_TARGET" >&6; }
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12074 $as_echo "no
" >&6; }
12079 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12080 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12081 set dummy ${ncn_progname}; ac_word=$2
12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12083 $as_echo_n "checking
for $ac_word...
" >&6; }
12084 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12085 $as_echo_n "(cached
) " >&6
12087 if test -n "$NM_FOR_TARGET"; then
12088 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12091 for as_dir in $PATH
12094 test -z "$as_dir" && as_dir=.
12095 for ac_exec_ext in '' $ac_executable_extensions; do
12096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12097 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12107 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12108 if test -n "$NM_FOR_TARGET"; then
12109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12110 $as_echo "$NM_FOR_TARGET" >&6; }
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12113 $as_echo "no
" >&6; }
12118 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12122 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12124 if test $build = $target ; then
12127 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12130 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12134 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12140 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12141 if test -n "$with_build_time_tools"; then
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12143 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12144 if test -x $with_build_time_tools/objdump; then
12145 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12146 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12148 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12151 $as_echo "no
" >&6; }
12153 elif test $build != $host && test $have_gcc_for_target = yes; then
12154 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12155 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12156 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12159 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12160 # Extract the first word of "objdump
", so it can be a program name with args.
12161 set dummy objdump; ac_word=$2
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12163 $as_echo_n "checking
for $ac_word...
" >&6; }
12164 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12165 $as_echo_n "(cached
) " >&6
12167 case $OBJDUMP_FOR_TARGET in
12169 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12173 for as_dir in $gcc_cv_tool_dirs
12176 test -z "$as_dir" && as_dir=.
12177 for ac_exec_ext in '' $ac_executable_extensions; do
12178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12179 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12180 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12190 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12191 if test -n "$OBJDUMP_FOR_TARGET"; then
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12193 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12196 $as_echo "no
" >&6; }
12201 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12204 if test -n "$OBJDUMP_FOR_TARGET"; then
12205 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12206 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12207 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12210 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12211 for ncn_progname in objdump; do
12212 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12213 set dummy ${ncn_progname}; ac_word=$2
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12215 $as_echo_n "checking
for $ac_word...
" >&6; }
12216 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12217 $as_echo_n "(cached
) " >&6
12219 if test -n "$OBJDUMP_FOR_TARGET"; then
12220 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223 for as_dir in $PATH
12226 test -z "$as_dir" && as_dir=.
12227 for ac_exec_ext in '' $ac_executable_extensions; do
12228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12229 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12230 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12239 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12240 if test -n "$OBJDUMP_FOR_TARGET"; then
12241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12242 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12245 $as_echo "no
" >&6; }
12252 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12253 for ncn_progname in objdump; do
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12255 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12256 if test -x $with_build_time_tools/${ncn_progname}; then
12257 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12259 $as_echo "yes" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12263 $as_echo "no
" >&6; }
12268 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12269 for ncn_progname in objdump; do
12270 if test -n "$ncn_target_tool_prefix"; then
12271 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12272 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12274 $as_echo_n "checking
for $ac_word...
" >&6; }
12275 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12276 $as_echo_n "(cached
) " >&6
12278 if test -n "$OBJDUMP_FOR_TARGET"; then
12279 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12282 for as_dir in $PATH
12285 test -z "$as_dir" && as_dir=.
12286 for ac_exec_ext in '' $ac_executable_extensions; do
12287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12288 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12289 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12298 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12299 if test -n "$OBJDUMP_FOR_TARGET"; then
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12301 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12304 $as_echo "no
" >&6; }
12309 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12310 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12311 set dummy ${ncn_progname}; ac_word=$2
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12313 $as_echo_n "checking
for $ac_word...
" >&6; }
12314 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12315 $as_echo_n "(cached
) " >&6
12317 if test -n "$OBJDUMP_FOR_TARGET"; then
12318 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12321 for as_dir in $PATH
12324 test -z "$as_dir" && as_dir=.
12325 for ac_exec_ext in '' $ac_executable_extensions; do
12326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12327 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12328 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12337 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12338 if test -n "$OBJDUMP_FOR_TARGET"; then
12339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12340 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12343 $as_echo "no
" >&6; }
12348 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12352 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12354 if test $build = $target ; then
12355 OBJDUMP_FOR_TARGET="$2"
12357 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12360 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12364 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12370 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12371 if test -n "$with_build_time_tools"; then
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12373 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12374 if test -x $with_build_time_tools/ranlib; then
12375 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12376 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12378 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12381 $as_echo "no
" >&6; }
12383 elif test $build != $host && test $have_gcc_for_target = yes; then
12384 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12385 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12386 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12389 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12390 # Extract the first word of "ranlib
", so it can be a program name with args.
12391 set dummy ranlib; ac_word=$2
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12393 $as_echo_n "checking
for $ac_word...
" >&6; }
12394 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12395 $as_echo_n "(cached
) " >&6
12397 case $RANLIB_FOR_TARGET in
12399 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12403 for as_dir in $gcc_cv_tool_dirs
12406 test -z "$as_dir" && as_dir=.
12407 for ac_exec_ext in '' $ac_executable_extensions; do
12408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12409 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12420 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12421 if test -n "$RANLIB_FOR_TARGET"; then
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12423 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12426 $as_echo "no
" >&6; }
12431 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12434 if test -n "$RANLIB_FOR_TARGET"; then
12435 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12436 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12437 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12440 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12441 for ncn_progname in ranlib; do
12442 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12443 set dummy ${ncn_progname}; ac_word=$2
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12445 $as_echo_n "checking
for $ac_word...
" >&6; }
12446 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12447 $as_echo_n "(cached
) " >&6
12449 if test -n "$RANLIB_FOR_TARGET"; then
12450 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12453 for as_dir in $PATH
12456 test -z "$as_dir" && as_dir=.
12457 for ac_exec_ext in '' $ac_executable_extensions; do
12458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12459 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12460 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12469 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12470 if test -n "$RANLIB_FOR_TARGET"; then
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12472 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12475 $as_echo "no
" >&6; }
12482 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12483 for ncn_progname in ranlib; do
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12485 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12486 if test -x $with_build_time_tools/${ncn_progname}; then
12487 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12489 $as_echo "yes" >&6; }
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12493 $as_echo "no
" >&6; }
12498 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12499 for ncn_progname in ranlib; do
12500 if test -n "$ncn_target_tool_prefix"; then
12501 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12502 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12504 $as_echo_n "checking
for $ac_word...
" >&6; }
12505 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12506 $as_echo_n "(cached
) " >&6
12508 if test -n "$RANLIB_FOR_TARGET"; then
12509 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12512 for as_dir in $PATH
12515 test -z "$as_dir" && as_dir=.
12516 for ac_exec_ext in '' $ac_executable_extensions; do
12517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12518 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12519 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12528 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12529 if test -n "$RANLIB_FOR_TARGET"; then
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12531 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12534 $as_echo "no
" >&6; }
12539 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12540 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12541 set dummy ${ncn_progname}; ac_word=$2
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12543 $as_echo_n "checking
for $ac_word...
" >&6; }
12544 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12545 $as_echo_n "(cached
) " >&6
12547 if test -n "$RANLIB_FOR_TARGET"; then
12548 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12551 for as_dir in $PATH
12554 test -z "$as_dir" && as_dir=.
12555 for ac_exec_ext in '' $ac_executable_extensions; do
12556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12557 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12558 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12567 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12568 if test -n "$RANLIB_FOR_TARGET"; then
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12570 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12573 $as_echo "no
" >&6; }
12578 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12582 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12584 if test $build = $target ; then
12585 RANLIB_FOR_TARGET="$2"
12587 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12590 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12594 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12600 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12601 if test -n "$with_build_time_tools"; then
12602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12603 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12604 if test -x $with_build_time_tools/readelf; then
12605 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12606 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12608 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12611 $as_echo "no
" >&6; }
12613 elif test $build != $host && test $have_gcc_for_target = yes; then
12614 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12615 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12616 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12619 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12620 # Extract the first word of "readelf
", so it can be a program name with args.
12621 set dummy readelf; ac_word=$2
12622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12623 $as_echo_n "checking
for $ac_word...
" >&6; }
12624 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12625 $as_echo_n "(cached
) " >&6
12627 case $READELF_FOR_TARGET in
12629 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12633 for as_dir in $gcc_cv_tool_dirs
12636 test -z "$as_dir" && as_dir=.
12637 for ac_exec_ext in '' $ac_executable_extensions; do
12638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12639 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12640 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12650 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12651 if test -n "$READELF_FOR_TARGET"; then
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12653 $as_echo "$READELF_FOR_TARGET" >&6; }
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12656 $as_echo "no
" >&6; }
12661 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12664 if test -n "$READELF_FOR_TARGET"; then
12665 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12666 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12667 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12670 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12671 for ncn_progname in readelf; do
12672 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12673 set dummy ${ncn_progname}; ac_word=$2
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12675 $as_echo_n "checking
for $ac_word...
" >&6; }
12676 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12677 $as_echo_n "(cached
) " >&6
12679 if test -n "$READELF_FOR_TARGET"; then
12680 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12683 for as_dir in $PATH
12686 test -z "$as_dir" && as_dir=.
12687 for ac_exec_ext in '' $ac_executable_extensions; do
12688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12689 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12690 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12699 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12700 if test -n "$READELF_FOR_TARGET"; then
12701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12702 $as_echo "$READELF_FOR_TARGET" >&6; }
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12705 $as_echo "no
" >&6; }
12712 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12713 for ncn_progname in readelf; do
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12715 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12716 if test -x $with_build_time_tools/${ncn_progname}; then
12717 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12719 $as_echo "yes" >&6; }
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12723 $as_echo "no
" >&6; }
12728 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12729 for ncn_progname in readelf; do
12730 if test -n "$ncn_target_tool_prefix"; then
12731 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12732 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12734 $as_echo_n "checking
for $ac_word...
" >&6; }
12735 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12736 $as_echo_n "(cached
) " >&6
12738 if test -n "$READELF_FOR_TARGET"; then
12739 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12742 for as_dir in $PATH
12745 test -z "$as_dir" && as_dir=.
12746 for ac_exec_ext in '' $ac_executable_extensions; do
12747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12748 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12758 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12759 if test -n "$READELF_FOR_TARGET"; then
12760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12761 $as_echo "$READELF_FOR_TARGET" >&6; }
12763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12764 $as_echo "no
" >&6; }
12769 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12771 set dummy ${ncn_progname}; ac_word=$2
12772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12773 $as_echo_n "checking
for $ac_word...
" >&6; }
12774 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12775 $as_echo_n "(cached
) " >&6
12777 if test -n "$READELF_FOR_TARGET"; then
12778 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12781 for as_dir in $PATH
12784 test -z "$as_dir" && as_dir=.
12785 for ac_exec_ext in '' $ac_executable_extensions; do
12786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12787 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12797 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12798 if test -n "$READELF_FOR_TARGET"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12800 $as_echo "$READELF_FOR_TARGET" >&6; }
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12803 $as_echo "no
" >&6; }
12808 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12812 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12814 if test $build = $target ; then
12815 READELF_FOR_TARGET="$2"
12817 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12820 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12824 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12830 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12831 if test -n "$with_build_time_tools"; then
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12833 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12834 if test -x $with_build_time_tools/strip; then
12835 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12836 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12838 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12841 $as_echo "no
" >&6; }
12843 elif test $build != $host && test $have_gcc_for_target = yes; then
12844 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12845 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12846 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12849 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12850 # Extract the first word of "strip
", so it can be a program name with args.
12851 set dummy strip; ac_word=$2
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12853 $as_echo_n "checking
for $ac_word...
" >&6; }
12854 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12855 $as_echo_n "(cached
) " >&6
12857 case $STRIP_FOR_TARGET in
12859 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12863 for as_dir in $gcc_cv_tool_dirs
12866 test -z "$as_dir" && as_dir=.
12867 for ac_exec_ext in '' $ac_executable_extensions; do
12868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12869 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12880 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12881 if test -n "$STRIP_FOR_TARGET"; then
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12883 $as_echo "$STRIP_FOR_TARGET" >&6; }
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12886 $as_echo "no
" >&6; }
12891 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12894 if test -n "$STRIP_FOR_TARGET"; then
12895 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12896 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12897 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12900 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12901 for ncn_progname in strip; do
12902 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12903 set dummy ${ncn_progname}; ac_word=$2
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12905 $as_echo_n "checking
for $ac_word...
" >&6; }
12906 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12907 $as_echo_n "(cached
) " >&6
12909 if test -n "$STRIP_FOR_TARGET"; then
12910 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12913 for as_dir in $PATH
12916 test -z "$as_dir" && as_dir=.
12917 for ac_exec_ext in '' $ac_executable_extensions; do
12918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12919 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
12920 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12929 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12930 if test -n "$STRIP_FOR_TARGET"; then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12932 $as_echo "$STRIP_FOR_TARGET" >&6; }
12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12935 $as_echo "no
" >&6; }
12942 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12943 for ncn_progname in strip; do
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12945 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12946 if test -x $with_build_time_tools/${ncn_progname}; then
12947 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12949 $as_echo "yes" >&6; }
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12953 $as_echo "no
" >&6; }
12958 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
12959 for ncn_progname in strip; do
12960 if test -n "$ncn_target_tool_prefix"; then
12961 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12962 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12964 $as_echo_n "checking
for $ac_word...
" >&6; }
12965 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
12966 $as_echo_n "(cached
) " >&6
12968 if test -n "$STRIP_FOR_TARGET"; then
12969 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
12971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12972 for as_dir in $PATH
12975 test -z "$as_dir" && as_dir=.
12976 for ac_exec_ext in '' $ac_executable_extensions; do
12977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12978 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12979 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12988 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12989 if test -n "$STRIP_FOR_TARGET"; then
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12991 $as_echo "$STRIP_FOR_TARGET" >&6; }
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12994 $as_echo "no
" >&6; }
12999 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13000 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13001 set dummy ${ncn_progname}; ac_word=$2
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13003 $as_echo_n "checking
for $ac_word...
" >&6; }
13004 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13005 $as_echo_n "(cached
) " >&6
13007 if test -n "$STRIP_FOR_TARGET"; then
13008 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13011 for as_dir in $PATH
13014 test -z "$as_dir" && as_dir=.
13015 for ac_exec_ext in '' $ac_executable_extensions; do
13016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13017 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13018 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13027 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13028 if test -n "$STRIP_FOR_TARGET"; then
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13030 $as_echo "$STRIP_FOR_TARGET" >&6; }
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13033 $as_echo "no
" >&6; }
13038 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13042 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13044 if test $build = $target ; then
13045 STRIP_FOR_TARGET="$2"
13047 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13050 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13054 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13060 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13061 if test -n "$with_build_time_tools"; then
13062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13063 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13064 if test -x $with_build_time_tools/windres; then
13065 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13066 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13068 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13071 $as_echo "no
" >&6; }
13073 elif test $build != $host && test $have_gcc_for_target = yes; then
13074 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13075 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13076 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13079 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13080 # Extract the first word of "windres
", so it can be a program name with args.
13081 set dummy windres; ac_word=$2
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13083 $as_echo_n "checking
for $ac_word...
" >&6; }
13084 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13085 $as_echo_n "(cached
) " >&6
13087 case $WINDRES_FOR_TARGET in
13089 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13093 for as_dir in $gcc_cv_tool_dirs
13096 test -z "$as_dir" && as_dir=.
13097 for ac_exec_ext in '' $ac_executable_extensions; do
13098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13099 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13100 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13110 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13111 if test -n "$WINDRES_FOR_TARGET"; then
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13113 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13116 $as_echo "no
" >&6; }
13121 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13124 if test -n "$WINDRES_FOR_TARGET"; then
13125 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13126 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13127 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13130 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13131 for ncn_progname in windres; do
13132 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13133 set dummy ${ncn_progname}; ac_word=$2
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13135 $as_echo_n "checking
for $ac_word...
" >&6; }
13136 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13137 $as_echo_n "(cached
) " >&6
13139 if test -n "$WINDRES_FOR_TARGET"; then
13140 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13143 for as_dir in $PATH
13146 test -z "$as_dir" && as_dir=.
13147 for ac_exec_ext in '' $ac_executable_extensions; do
13148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13149 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13150 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13159 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13160 if test -n "$WINDRES_FOR_TARGET"; then
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13162 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13165 $as_echo "no
" >&6; }
13172 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13173 for ncn_progname in windres; do
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13175 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13176 if test -x $with_build_time_tools/${ncn_progname}; then
13177 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13179 $as_echo "yes" >&6; }
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13183 $as_echo "no
" >&6; }
13188 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13189 for ncn_progname in windres; do
13190 if test -n "$ncn_target_tool_prefix"; then
13191 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13192 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13194 $as_echo_n "checking
for $ac_word...
" >&6; }
13195 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13196 $as_echo_n "(cached
) " >&6
13198 if test -n "$WINDRES_FOR_TARGET"; then
13199 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13202 for as_dir in $PATH
13205 test -z "$as_dir" && as_dir=.
13206 for ac_exec_ext in '' $ac_executable_extensions; do
13207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13208 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13209 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13218 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13219 if test -n "$WINDRES_FOR_TARGET"; then
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13221 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13224 $as_echo "no
" >&6; }
13229 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13230 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13231 set dummy ${ncn_progname}; ac_word=$2
13232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13233 $as_echo_n "checking
for $ac_word...
" >&6; }
13234 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13235 $as_echo_n "(cached
) " >&6
13237 if test -n "$WINDRES_FOR_TARGET"; then
13238 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13241 for as_dir in $PATH
13244 test -z "$as_dir" && as_dir=.
13245 for ac_exec_ext in '' $ac_executable_extensions; do
13246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13247 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13248 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13257 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13258 if test -n "$WINDRES_FOR_TARGET"; then
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13260 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13263 $as_echo "no
" >&6; }
13268 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13272 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13274 if test $build = $target ; then
13275 WINDRES_FOR_TARGET="$2"
13277 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13280 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13284 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13290 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13291 if test -n "$with_build_time_tools"; then
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13293 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13294 if test -x $with_build_time_tools/windmc; then
13295 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13296 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13298 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13301 $as_echo "no
" >&6; }
13303 elif test $build != $host && test $have_gcc_for_target = yes; then
13304 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13305 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13306 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13309 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13310 # Extract the first word of "windmc
", so it can be a program name with args.
13311 set dummy windmc; ac_word=$2
13312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13313 $as_echo_n "checking
for $ac_word...
" >&6; }
13314 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13315 $as_echo_n "(cached
) " >&6
13317 case $WINDMC_FOR_TARGET in
13319 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13323 for as_dir in $gcc_cv_tool_dirs
13326 test -z "$as_dir" && as_dir=.
13327 for ac_exec_ext in '' $ac_executable_extensions; do
13328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13329 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13330 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13340 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13341 if test -n "$WINDMC_FOR_TARGET"; then
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13343 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13346 $as_echo "no
" >&6; }
13351 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13354 if test -n "$WINDMC_FOR_TARGET"; then
13355 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13356 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13357 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13360 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13361 for ncn_progname in windmc; do
13362 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13363 set dummy ${ncn_progname}; ac_word=$2
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13365 $as_echo_n "checking
for $ac_word...
" >&6; }
13366 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13367 $as_echo_n "(cached
) " >&6
13369 if test -n "$WINDMC_FOR_TARGET"; then
13370 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13373 for as_dir in $PATH
13376 test -z "$as_dir" && as_dir=.
13377 for ac_exec_ext in '' $ac_executable_extensions; do
13378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13379 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13380 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13389 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13390 if test -n "$WINDMC_FOR_TARGET"; then
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13392 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13395 $as_echo "no
" >&6; }
13402 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13403 for ncn_progname in windmc; do
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13405 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13406 if test -x $with_build_time_tools/${ncn_progname}; then
13407 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13409 $as_echo "yes" >&6; }
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13413 $as_echo "no
" >&6; }
13418 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13419 for ncn_progname in windmc; do
13420 if test -n "$ncn_target_tool_prefix"; then
13421 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13422 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13424 $as_echo_n "checking
for $ac_word...
" >&6; }
13425 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13426 $as_echo_n "(cached
) " >&6
13428 if test -n "$WINDMC_FOR_TARGET"; then
13429 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13432 for as_dir in $PATH
13435 test -z "$as_dir" && as_dir=.
13436 for ac_exec_ext in '' $ac_executable_extensions; do
13437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13438 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13439 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13448 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13449 if test -n "$WINDMC_FOR_TARGET"; then
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13451 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13454 $as_echo "no
" >&6; }
13459 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13460 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13461 set dummy ${ncn_progname}; ac_word=$2
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13463 $as_echo_n "checking
for $ac_word...
" >&6; }
13464 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13465 $as_echo_n "(cached
) " >&6
13467 if test -n "$WINDMC_FOR_TARGET"; then
13468 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13471 for as_dir in $PATH
13474 test -z "$as_dir" && as_dir=.
13475 for ac_exec_ext in '' $ac_executable_extensions; do
13476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13477 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13478 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13487 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13488 if test -n "$WINDMC_FOR_TARGET"; then
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13490 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13493 $as_echo "no
" >&6; }
13498 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13502 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13504 if test $build = $target ; then
13505 WINDMC_FOR_TARGET="$2"
13507 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13510 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13514 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13518 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13521 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13522 if test "x
${build}" != "x
${host}" ; then
13523 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13524 # We already found the complete path
13525 ac_dir=`dirname $AR_FOR_TARGET`
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13527 $as_echo "pre-installed
in $ac_dir" >&6; }
13529 # Canadian cross, just use what we found
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13531 $as_echo "pre-installed
" >&6; }
13535 case " ${configdirs} " in
13540 if test $ok = yes; then
13541 # An in-tree tool is available and we can use it
13542 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13544 $as_echo "just compiled
" >&6; }
13545 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13546 # We already found the complete path
13547 ac_dir=`dirname $AR_FOR_TARGET`
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13549 $as_echo "pre-installed
in $ac_dir" >&6; }
13550 elif test "x
$target" = "x
$host"; then
13551 # We can use an host tool
13552 AR_FOR_TARGET='$(AR)'
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13554 $as_echo "host tool
" >&6; }
13556 # We need a cross tool
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13558 $as_echo "pre-installed
" >&6; }
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13563 $as_echo_n "checking where to
find the target as...
" >&6; }
13564 if test "x
${build}" != "x
${host}" ; then
13565 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13566 # We already found the complete path
13567 ac_dir=`dirname $AS_FOR_TARGET`
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13569 $as_echo "pre-installed
in $ac_dir" >&6; }
13571 # Canadian cross, just use what we found
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13573 $as_echo "pre-installed
" >&6; }
13577 case " ${configdirs} " in
13582 if test $ok = yes; then
13583 # An in-tree tool is available and we can use it
13584 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13586 $as_echo "just compiled
" >&6; }
13587 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13588 # We already found the complete path
13589 ac_dir=`dirname $AS_FOR_TARGET`
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13591 $as_echo "pre-installed
in $ac_dir" >&6; }
13592 elif test "x
$target" = "x
$host"; then
13593 # We can use an host tool
13594 AS_FOR_TARGET='$(AS)'
13595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13596 $as_echo "host tool
" >&6; }
13598 # We need a cross tool
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13600 $as_echo "pre-installed
" >&6; }
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13605 $as_echo_n "checking where to
find the target cc...
" >&6; }
13606 if test "x
${build}" != "x
${host}" ; then
13607 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13608 # We already found the complete path
13609 ac_dir=`dirname $CC_FOR_TARGET`
13610 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13611 $as_echo "pre-installed
in $ac_dir" >&6; }
13613 # Canadian cross, just use what we found
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13615 $as_echo "pre-installed
" >&6; }
13619 case " ${configdirs} " in
13624 if test $ok = yes; then
13625 # An in-tree tool is available and we can use it
13626 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13628 $as_echo "just compiled
" >&6; }
13629 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13630 # We already found the complete path
13631 ac_dir=`dirname $CC_FOR_TARGET`
13632 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13633 $as_echo "pre-installed
in $ac_dir" >&6; }
13634 elif test "x
$target" = "x
$host"; then
13635 # We can use an host tool
13636 CC_FOR_TARGET='$(CC)'
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13638 $as_echo "host tool
" >&6; }
13640 # We need a cross tool
13641 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13642 $as_echo "pre-installed
" >&6; }
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13647 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13648 if test "x
${build}" != "x
${host}" ; then
13649 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13650 # We already found the complete path
13651 ac_dir=`dirname $CXX_FOR_TARGET`
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13653 $as_echo "pre-installed
in $ac_dir" >&6; }
13655 # Canadian cross, just use what we found
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13657 $as_echo "pre-installed
" >&6; }
13661 case " ${configdirs} " in
13665 case ,${enable_languages}, in
13669 if test $ok = yes; then
13670 # An in-tree tool is available and we can use it
13671 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'
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13673 $as_echo "just compiled
" >&6; }
13674 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13675 # We already found the complete path
13676 ac_dir=`dirname $CXX_FOR_TARGET`
13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13678 $as_echo "pre-installed
in $ac_dir" >&6; }
13679 elif test "x
$target" = "x
$host"; then
13680 # We can use an host tool
13681 CXX_FOR_TARGET='$(CXX)'
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13683 $as_echo "host tool
" >&6; }
13685 # We need a cross tool
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13687 $as_echo "pre-installed
" >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13692 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13693 if test "x
${build}" != "x
${host}" ; then
13694 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13695 # We already found the complete path
13696 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13698 $as_echo "pre-installed
in $ac_dir" >&6; }
13700 # Canadian cross, just use what we found
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13702 $as_echo "pre-installed
" >&6; }
13706 case " ${configdirs} " in
13710 case ,${enable_languages}, in
13714 if test $ok = yes; then
13715 # An in-tree tool is available and we can use it
13716 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'
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13718 $as_echo "just compiled
" >&6; }
13719 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13720 # We already found the complete path
13721 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13723 $as_echo "pre-installed
in $ac_dir" >&6; }
13724 elif test "x
$target" = "x
$host"; then
13725 # We can use an host tool
13726 RAW_CXX_FOR_TARGET='$(CXX)'
13727 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13728 $as_echo "host tool
" >&6; }
13730 # We need a cross tool
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13732 $as_echo "pre-installed
" >&6; }
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13737 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13738 if test "x
${build}" != "x
${host}" ; then
13739 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13740 # We already found the complete path
13741 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13743 $as_echo "pre-installed
in $ac_dir" >&6; }
13745 # Canadian cross, just use what we found
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13747 $as_echo "pre-installed
" >&6; }
13751 case " ${configdirs} " in
13756 if test $ok = yes; then
13757 # An in-tree tool is available and we can use it
13758 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13760 $as_echo "just compiled
" >&6; }
13761 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13762 # We already found the complete path
13763 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13765 $as_echo "pre-installed
in $ac_dir" >&6; }
13766 elif test "x
$target" = "x
$host"; then
13767 # We can use an host tool
13768 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13770 $as_echo "host tool
" >&6; }
13772 # We need a cross tool
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13774 $as_echo "pre-installed
" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13779 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13780 if test "x
${build}" != "x
${host}" ; then
13781 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13782 # We already found the complete path
13783 ac_dir=`dirname $GCC_FOR_TARGET`
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13785 $as_echo "pre-installed
in $ac_dir" >&6; }
13787 # Canadian cross, just use what we found
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13789 $as_echo "pre-installed
" >&6; }
13793 case " ${configdirs} " in
13798 if test $ok = yes; then
13799 # An in-tree tool is available and we can use it
13800 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13802 $as_echo "just compiled
" >&6; }
13803 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13804 # We already found the complete path
13805 ac_dir=`dirname $GCC_FOR_TARGET`
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13807 $as_echo "pre-installed
in $ac_dir" >&6; }
13808 elif test "x
$target" = "x
$host"; then
13809 # We can use an host tool
13810 GCC_FOR_TARGET='$()'
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13812 $as_echo "host tool
" >&6; }
13814 # We need a cross tool
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13816 $as_echo "pre-installed
" >&6; }
13820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13821 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13822 if test "x
${build}" != "x
${host}" ; then
13823 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13824 # We already found the complete path
13825 ac_dir=`dirname $GCJ_FOR_TARGET`
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13827 $as_echo "pre-installed
in $ac_dir" >&6; }
13829 # Canadian cross, just use what we found
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13831 $as_echo "pre-installed
" >&6; }
13835 case " ${configdirs} " in
13839 case ,${enable_languages}, in
13843 if test $ok = yes; then
13844 # An in-tree tool is available and we can use it
13845 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13847 $as_echo "just compiled
" >&6; }
13848 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13849 # We already found the complete path
13850 ac_dir=`dirname $GCJ_FOR_TARGET`
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13852 $as_echo "pre-installed
in $ac_dir" >&6; }
13853 elif test "x
$target" = "x
$host"; then
13854 # We can use an host tool
13855 GCJ_FOR_TARGET='$(GCJ)'
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13857 $as_echo "host tool
" >&6; }
13859 # We need a cross tool
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13861 $as_echo "pre-installed
" >&6; }
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13866 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13867 if test "x
${build}" != "x
${host}" ; then
13868 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13869 # We already found the complete path
13870 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13872 $as_echo "pre-installed
in $ac_dir" >&6; }
13874 # Canadian cross, just use what we found
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13876 $as_echo "pre-installed
" >&6; }
13880 case " ${configdirs} " in
13884 case ,${enable_languages}, in
13888 if test $ok = yes; then
13889 # An in-tree tool is available and we can use it
13890 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13892 $as_echo "just compiled
" >&6; }
13893 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13894 # We already found the complete path
13895 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13897 $as_echo "pre-installed
in $ac_dir" >&6; }
13898 elif test "x
$target" = "x
$host"; then
13899 # We can use an host tool
13900 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13902 $as_echo "host tool
" >&6; }
13904 # We need a cross tool
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13906 $as_echo "pre-installed
" >&6; }
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13911 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13912 if test "x
${build}" != "x
${host}" ; then
13913 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13914 # We already found the complete path
13915 ac_dir=`dirname $GOC_FOR_TARGET`
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13917 $as_echo "pre-installed
in $ac_dir" >&6; }
13919 # Canadian cross, just use what we found
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13921 $as_echo "pre-installed
" >&6; }
13925 case " ${configdirs} " in
13929 case ,${enable_languages}, in
13933 if test $ok = yes; then
13934 # An in-tree tool is available and we can use it
13935 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13937 $as_echo "just compiled
" >&6; }
13938 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13939 # We already found the complete path
13940 ac_dir=`dirname $GOC_FOR_TARGET`
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13942 $as_echo "pre-installed
in $ac_dir" >&6; }
13943 elif test "x
$target" = "x
$host"; then
13944 # We can use an host tool
13945 GOC_FOR_TARGET='$(GOC)'
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13947 $as_echo "host tool
" >&6; }
13949 # We need a cross tool
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13951 $as_echo "pre-installed
" >&6; }
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
13956 $as_echo_n "checking where to
find the target ld...
" >&6; }
13957 if test "x
${build}" != "x
${host}" ; then
13958 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13959 # We already found the complete path
13960 ac_dir=`dirname $LD_FOR_TARGET`
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13962 $as_echo "pre-installed
in $ac_dir" >&6; }
13964 # Canadian cross, just use what we found
13965 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13966 $as_echo "pre-installed
" >&6; }
13970 case " ${configdirs} " in
13975 if test $ok = yes; then
13976 # An in-tree tool is available and we can use it
13977 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13979 $as_echo "just compiled
" >&6; }
13980 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
13981 # We already found the complete path
13982 ac_dir=`dirname $LD_FOR_TARGET`
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13984 $as_echo "pre-installed
in $ac_dir" >&6; }
13985 elif test "x
$target" = "x
$host"; then
13986 # We can use an host tool
13987 LD_FOR_TARGET='$(LD)'
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13989 $as_echo "host tool
" >&6; }
13991 # We need a cross tool
13992 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13993 $as_echo "pre-installed
" >&6; }
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
13998 $as_echo_n "checking where to
find the target lipo...
" >&6; }
13999 if test "x
${build}" != "x
${host}" ; then
14000 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14001 # We already found the complete path
14002 ac_dir=`dirname $LIPO_FOR_TARGET`
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14004 $as_echo "pre-installed
in $ac_dir" >&6; }
14006 # Canadian cross, just use what we found
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14008 $as_echo "pre-installed
" >&6; }
14011 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14012 # We already found the complete path
14013 ac_dir=`dirname $LIPO_FOR_TARGET`
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14015 $as_echo "pre-installed
in $ac_dir" >&6; }
14016 elif test "x
$target" = "x
$host"; then
14017 # We can use an host tool
14018 LIPO_FOR_TARGET='$(LIPO)'
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14020 $as_echo "host tool
" >&6; }
14022 # We need a cross tool
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14024 $as_echo "pre-installed
" >&6; }
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14029 $as_echo_n "checking where to
find the target nm...
" >&6; }
14030 if test "x
${build}" != "x
${host}" ; then
14031 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14032 # We already found the complete path
14033 ac_dir=`dirname $NM_FOR_TARGET`
14034 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14035 $as_echo "pre-installed
in $ac_dir" >&6; }
14037 # Canadian cross, just use what we found
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14039 $as_echo "pre-installed
" >&6; }
14043 case " ${configdirs} " in
14048 if test $ok = yes; then
14049 # An in-tree tool is available and we can use it
14050 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14052 $as_echo "just compiled
" >&6; }
14053 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14054 # We already found the complete path
14055 ac_dir=`dirname $NM_FOR_TARGET`
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14057 $as_echo "pre-installed
in $ac_dir" >&6; }
14058 elif test "x
$target" = "x
$host"; then
14059 # We can use an host tool
14060 NM_FOR_TARGET='$(NM)'
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14062 $as_echo "host tool
" >&6; }
14064 # We need a cross tool
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14066 $as_echo "pre-installed
" >&6; }
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14071 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14072 if test "x
${build}" != "x
${host}" ; then
14073 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14074 # We already found the complete path
14075 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14077 $as_echo "pre-installed
in $ac_dir" >&6; }
14079 # Canadian cross, just use what we found
14080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14081 $as_echo "pre-installed
" >&6; }
14085 case " ${configdirs} " in
14090 if test $ok = yes; then
14091 # An in-tree tool is available and we can use it
14092 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14094 $as_echo "just compiled
" >&6; }
14095 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14096 # We already found the complete path
14097 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14099 $as_echo "pre-installed
in $ac_dir" >&6; }
14100 elif test "x
$target" = "x
$host"; then
14101 # We can use an host tool
14102 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14103 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14104 $as_echo "host tool
" >&6; }
14106 # We need a cross tool
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14108 $as_echo "pre-installed
" >&6; }
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14113 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14114 if test "x
${build}" != "x
${host}" ; then
14115 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $RANLIB_FOR_TARGET`
14118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14119 $as_echo "pre-installed
in $ac_dir" >&6; }
14121 # Canadian cross, just use what we found
14122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14123 $as_echo "pre-installed
" >&6; }
14127 case " ${configdirs} " in
14132 if test $ok = yes; then
14133 # An in-tree tool is available and we can use it
14134 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14136 $as_echo "just compiled
" >&6; }
14137 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14138 # We already found the complete path
14139 ac_dir=`dirname $RANLIB_FOR_TARGET`
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14141 $as_echo "pre-installed
in $ac_dir" >&6; }
14142 elif test "x
$target" = "x
$host"; then
14143 # We can use an host tool
14144 RANLIB_FOR_TARGET='$(RANLIB)'
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14146 $as_echo "host tool
" >&6; }
14148 # We need a cross tool
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14150 $as_echo "pre-installed
" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14155 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14156 if test "x
${build}" != "x
${host}" ; then
14157 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $READELF_FOR_TARGET`
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14161 $as_echo "pre-installed
in $ac_dir" >&6; }
14163 # Canadian cross, just use what we found
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14165 $as_echo "pre-installed
" >&6; }
14169 case " ${configdirs} " in
14174 if test $ok = yes; then
14175 # An in-tree tool is available and we can use it
14176 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14178 $as_echo "just compiled
" >&6; }
14179 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14180 # We already found the complete path
14181 ac_dir=`dirname $READELF_FOR_TARGET`
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14183 $as_echo "pre-installed
in $ac_dir" >&6; }
14184 elif test "x
$target" = "x
$host"; then
14185 # We can use an host tool
14186 READELF_FOR_TARGET='$(READELF)'
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14188 $as_echo "host tool
" >&6; }
14190 # We need a cross tool
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14192 $as_echo "pre-installed
" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14197 $as_echo_n "checking where to
find the target strip...
" >&6; }
14198 if test "x
${build}" != "x
${host}" ; then
14199 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $STRIP_FOR_TARGET`
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14203 $as_echo "pre-installed
in $ac_dir" >&6; }
14205 # Canadian cross, just use what we found
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14207 $as_echo "pre-installed
" >&6; }
14211 case " ${configdirs} " in
14216 if test $ok = yes; then
14217 # An in-tree tool is available and we can use it
14218 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14220 $as_echo "just compiled
" >&6; }
14221 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14222 # We already found the complete path
14223 ac_dir=`dirname $STRIP_FOR_TARGET`
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14225 $as_echo "pre-installed
in $ac_dir" >&6; }
14226 elif test "x
$target" = "x
$host"; then
14227 # We can use an host tool
14228 STRIP_FOR_TARGET='$(STRIP)'
14229 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14230 $as_echo "host tool
" >&6; }
14232 # We need a cross tool
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14234 $as_echo "pre-installed
" >&6; }
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14239 $as_echo_n "checking where to
find the target windres...
" >&6; }
14240 if test "x
${build}" != "x
${host}" ; then
14241 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14242 # We already found the complete path
14243 ac_dir=`dirname $WINDRES_FOR_TARGET`
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14245 $as_echo "pre-installed
in $ac_dir" >&6; }
14247 # Canadian cross, just use what we found
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14249 $as_echo "pre-installed
" >&6; }
14253 case " ${configdirs} " in
14258 if test $ok = yes; then
14259 # An in-tree tool is available and we can use it
14260 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14262 $as_echo "just compiled
" >&6; }
14263 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14264 # We already found the complete path
14265 ac_dir=`dirname $WINDRES_FOR_TARGET`
14266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14267 $as_echo "pre-installed
in $ac_dir" >&6; }
14268 elif test "x
$target" = "x
$host"; then
14269 # We can use an host tool
14270 WINDRES_FOR_TARGET='$(WINDRES)'
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14272 $as_echo "host tool
" >&6; }
14274 # We need a cross tool
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14276 $as_echo "pre-installed
" >&6; }
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14281 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14282 if test "x
${build}" != "x
${host}" ; then
14283 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14284 # We already found the complete path
14285 ac_dir=`dirname $WINDMC_FOR_TARGET`
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14287 $as_echo "pre-installed
in $ac_dir" >&6; }
14289 # Canadian cross, just use what we found
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14291 $as_echo "pre-installed
" >&6; }
14295 case " ${configdirs} " in
14300 if test $ok = yes; then
14301 # An in-tree tool is available and we can use it
14302 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14304 $as_echo "just compiled
" >&6; }
14305 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14306 # We already found the complete path
14307 ac_dir=`dirname $WINDMC_FOR_TARGET`
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14309 $as_echo "pre-installed
in $ac_dir" >&6; }
14310 elif test "x
$target" = "x
$host"; then
14311 # We can use an host tool
14312 WINDMC_FOR_TARGET='$(WINDMC)'
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14314 $as_echo "host tool
" >&6; }
14316 # We need a cross tool
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14318 $as_echo "pre-installed
" >&6; }
14326 # Certain tools may need extra flags.
14327 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14328 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14329 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14331 # When building target libraries, except in a Canadian cross, we use
14332 # the same toolchain as the compiler we just built.
14333 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14334 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14335 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14336 if test $host = $build; then
14337 case " $configdirs " in
14339 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14340 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14341 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14351 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14352 # Check whether --enable-maintainer-mode was given.
14353 if test "${enable_maintainer_mode+set}" = set; then :
14354 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14356 USE_MAINTAINER_MODE=no
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14360 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14363 if test "$USE_MAINTAINER_MODE" = yes; then
14364 MAINTAINER_MODE_TRUE=
14365 MAINTAINER_MODE_FALSE='#'
14367 MAINTAINER_MODE_TRUE='#'
14368 MAINTAINER_MODE_FALSE=
14370 MAINT=$MAINTAINER_MODE_TRUE
14372 # ---------------------
14373 # GCC bootstrap support
14374 # ---------------------
14376 # Stage specific cflags for build.
14381 yes) stage1_cflags="-g -Wa,-J" ;;
14382 *) stage1_cflags="-g -J" ;;
14386 # This is aimed to mimic bootstrap with a non-GCC compiler to catch problems.
14387 if test "$GCC" = yes -a "$ENABLE_BUILD_WITH_CXX" != yes; then
14388 saved_CFLAGS="$CFLAGS"
14390 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
14391 CFLAGS="$CFLAGS -fkeep-inline-functions"
14392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
-fkeep-inline-functions is supported
" >&5
14393 $as_echo_n "checking whether
-fkeep-inline-functions is supported...
" >&6; }
14394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395 /* end confdefs.h. */
14397 #if (__GNUC__ < 3) \
14398 || (__GNUC__ == 3 && (__GNUC_MINOR__ < 3 \
14399 || (__GNUC_MINOR__ == 3 && __GNUC_PATCHLEVEL__ < 1)))
14400 #error http://gcc.gnu.org/PR29382
14411 if ac_fn_c_try_compile "$LINENO"; then :
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
14413 $as_echo "yes" >&6; }; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
14416 $as_echo "no
" >&6; }
14418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14420 CFLAGS="$saved_CFLAGS"
14425 # Enable --enable-checking in stage1 of the compiler.
14426 # Check whether --enable-stage1-checking was given.
14427 if test "${enable_stage1_checking+set}" = set; then :
14428 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14430 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14431 stage1_checking=--enable-checking=yes,types
14433 stage1_checking=--enable-checking=$enable_checking,types
14439 # Enable -Werror in bootstrap stage2 and later.
14440 # Check whether --enable-werror was given.
14441 if test "${enable_werror+set}" = set; then :
14442 enableval=$enable_werror;
14444 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14451 case ${enable_werror} in
14452 yes) stage2_werror_flag="--enable-werror-always" ;;
14453 *) stage2_werror_flag="" ;;
14457 # If using ENABLE_BUILD_POSTSTAGE1_WITH_CXX, pass
14458 # --enable-build-with-cxx after stage1.
14459 if test "$ENABLE_BUILD_POSTSTAGE1_WITH_CXX" = "yes"; then
14460 POSTSTAGE1_CONFIGURE_FLAGS=--enable-build-with-cxx
14462 POSTSTAGE1_CONFIGURE_FLAGS=
14466 # Specify what files to not compare during bootstrap.
14468 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14470 hppa*64*-*-hpux*) ;;
14471 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14473 case " $configdirs " in
14474 *" ppl
"*) compare_exclusions="$compare_exclusions | ppl
/src
/ppl-config.o
" ;;
14478 ac_config_files="$ac_config_files Makefile
"
14480 cat >confcache <<\_ACEOF
14481 # This file is a shell script that caches the results of configure
14482 # tests run on this system so they can be shared between configure
14483 # scripts and configure runs, see configure's option --config-cache.
14484 # It is not useful on other systems. If it contains results you don't
14485 # want to keep, you may remove or edit it.
14487 # config.status only pays attention to the cache file if you give it
14488 # the --recheck option to rerun configure.
14490 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14491 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14492 # following values.
14496 # The following way of writing the cache mishandles newlines in values,
14497 # but we know of no workaround that is simple, portable, and efficient.
14498 # So, we kill variables containing newlines.
14499 # Ultrix sh set writes to stderr and can't be redirected directly,
14500 # and sets the high bit in the cache file unless we assign to the vars.
14502 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14503 eval ac_val=\$$ac_var
14507 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14508 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14511 _ | IFS | as_nl) ;; #(
14512 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14513 *) { eval $ac_var=; unset $ac_var;} ;;
14519 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14520 *${as_nl}ac_space=\ *)
14521 # `set' does not quote correctly, so add quotes: double-quote
14522 # substitution turns \\\\ into \\, and sed turns \\ into \.
14525 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14528 # `set' quotes correctly as required by POSIX, so do not add quotes.
14529 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14538 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14540 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14542 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14543 if test -w "$cache_file"; then
14544 test "x
$cache_file" != "x
/dev
/null
" &&
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14546 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14547 cat confcache >$cache_file
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14550 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14555 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14556 # Let make expand exec_prefix.
14557 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14559 # Transform confdefs.h into DEFS.
14560 # Protect against shell expansion while executing Makefile rules.
14561 # Protect against Makefile macro expansion.
14563 # If the first sed substitution is executed (which looks for macros that
14564 # take arguments), then branch to the quote section. Otherwise,
14565 # look for a macro that doesn't take arguments.
14575 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14577 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14581 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14594 DEFS=`sed -n "$ac_script" confdefs.h`
14599 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14600 # 1. Remove the extension, and $U if already installed.
14601 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14602 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14603 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14604 # will be set to the directory where LIBOBJS objects are built.
14605 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14606 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14608 LIBOBJS=$ac_libobjs
14610 LTLIBOBJS=$ac_ltlibobjs
14614 : ${CONFIG_STATUS=./config.status}
14616 ac_clean_files_save=$ac_clean_files
14617 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14619 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14621 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14623 # Generated by $as_me.
14624 # Run this file to recreate the current configuration.
14625 # Compiler output produced by configure, useful for debugging
14626 # configure, is in config.log if it exists.
14629 ac_cs_recheck=false
14632 SHELL=\${CONFIG_SHELL-$SHELL}
14635 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14636 ## -------------------- ##
14637 ## M4sh Initialization. ##
14638 ## -------------------- ##
14640 # Be more Bourne compatible
14641 DUALCASE=1; export DUALCASE # for MKS sh
14642 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14645 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14646 # is contrary to our usage. Disable this feature.
14647 alias -g '${1+"$@"}'='"$@"'
14648 setopt NO_GLOB_SUBST
14650 case `(set -o) 2>/dev/null` in #(
14662 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14663 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14664 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14665 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14666 # Prefer a ksh shell builtin over an external printf program on Solaris,
14667 # but without wasting forks for bash or zsh.
14668 if test -z "$BASH_VERSION$ZSH_VERSION" \
14669 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14670 as_echo
='print -r --'
14671 as_echo_n
='print -rn --'
14672 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14673 as_echo
='printf %s\n'
14674 as_echo_n
='printf %s'
14676 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14677 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14678 as_echo_n
='/usr/ucb/echo -n'
14680 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14681 as_echo_n_body
='eval
14685 expr "X$arg" : "X\\(.*\\)$as_nl";
14686 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14688 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14690 export as_echo_n_body
14691 as_echo_n
='sh -c $as_echo_n_body as_echo'
14693 export as_echo_body
14694 as_echo
='sh -c $as_echo_body as_echo'
14697 # The user is always right.
14698 if test "${PATH_SEPARATOR+set}" != set; then
14700 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14701 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14708 # We need space, tab and new line, in precisely that order. Quoting is
14709 # there to prevent editors from complaining about space-tab.
14710 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14711 # splitting by setting IFS to empty value.)
14714 # Find who we are. Look in the path if we contain no directory separator.
14716 *[\\/]* ) as_myself
=$0 ;;
14717 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14718 for as_dir
in $PATH
14721 test -z "$as_dir" && as_dir
=.
14722 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14728 # We did not find ourselves, most probably we were run as `sh COMMAND'
14729 # in which case we are not to be found in the path.
14730 if test "x$as_myself" = x
; then
14733 if test ! -f "$as_myself"; then
14734 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14738 # Unset variables that we do not need and which cause bugs (e.g. in
14739 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14740 # suppresses any "Segmentation fault" message there. '((' could
14741 # trigger a bug in pdksh 5.2.14.
14742 for as_var
in BASH_ENV ENV MAIL MAILPATH
14743 do eval test x\
${$as_var+set} = xset \
14744 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14757 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14760 # as_fn_error ERROR [LINENO LOG_FD]
14761 # ---------------------------------
14762 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14763 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14764 # script with status $?, using 1 if that was 0.
14767 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14769 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14770 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14772 $as_echo "$as_me: error: $1" >&2
14773 as_fn_exit
$as_status
14777 # as_fn_set_status STATUS
14778 # -----------------------
14779 # Set $? to STATUS, without forking.
14780 as_fn_set_status
()
14783 } # as_fn_set_status
14785 # as_fn_exit STATUS
14786 # -----------------
14787 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14791 as_fn_set_status
$1
14797 # Portably unset VAR.
14800 { eval $1=; unset $1;}
14802 as_unset
=as_fn_unset
14803 # as_fn_append VAR VALUE
14804 # ----------------------
14805 # Append the text in VALUE to the end of the definition contained in VAR. Take
14806 # advantage of any shell optimizations that allow amortized linear growth over
14807 # repeated appends, instead of the typical quadratic growth present in naive
14809 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14810 eval 'as_fn_append ()
14821 # as_fn_arith ARG...
14822 # ------------------
14823 # Perform arithmetic evaluation on the ARGs, and store the result in the
14824 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14825 # must be portable across $(()) and expr.
14826 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14827 eval 'as_fn_arith ()
14834 as_val
=`expr "$@" || test $? -eq 1`
14839 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14840 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14846 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14847 as_basename
=basename
14852 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14858 as_me
=`$as_basename -- "$0" ||
14859 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14860 X"$0" : 'X\(//\)$' \| \
14861 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14863 sed '/^.*\/\([^/][^/]*\)\/*$/{
14877 # Avoid depending upon Character Ranges.
14878 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14879 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14880 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14881 as_cr_digits
='0123456789'
14882 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14884 ECHO_C
= ECHO_N
= ECHO_T
=
14885 case `echo -n x` in #(((((
14887 case `echo 'xy\c'` in
14888 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14890 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14897 rm -f conf$$ conf$$.exe conf$$.
file
14898 if test -d conf$$.dir
; then
14899 rm -f conf$$.dir
/conf$$.
file
14902 mkdir conf$$.dir
2>/dev
/null
14904 if (echo >conf$$.
file) 2>/dev
/null
; then
14905 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14907 # ... but there are two gotchas:
14908 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14909 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14910 # In both cases, we have to default to `cp -p'.
14911 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14921 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14922 rmdir conf$$.dir
2>/dev
/null
14927 # Create "$as_dir" as a directory, including parents if necessary.
14932 -*) as_dir
=.
/$as_dir;;
14934 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14938 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14939 *) as_qdir
=$as_dir;;
14941 as_dirs
="'$as_qdir' $as_dirs"
14942 as_dir
=`$as_dirname -- "$as_dir" ||
14943 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14944 X"$as_dir" : 'X\(//\)[^/]' \| \
14945 X"$as_dir" : 'X\(//\)$' \| \
14946 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14947 $as_echo X"$as_dir" |
14948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14952 /^X\(\/\/\)[^/].*/{
14965 test -d "$as_dir" && break
14967 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14968 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
14972 if mkdir
-p .
2>/dev
/null
; then
14973 as_mkdir_p
='mkdir -p "$as_dir"'
14975 test -d .
/-p && rmdir .
/-p
14979 if test -x / >/dev
/null
2>&1; then
14980 as_test_x
='test -x'
14982 if ls -dL / >/dev
/null
2>&1; then
14989 if test -d "$1"; then
14995 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14996 ???[sx]*):;;*)false;;esac;fi
15000 as_executable_p
=$as_test_x
15002 # Sed expression to map a string onto a valid CPP name.
15003 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15005 # Sed expression to map a string onto a valid variable name.
15006 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15010 ## ----------------------------------- ##
15011 ## Main body of $CONFIG_STATUS script. ##
15012 ## ----------------------------------- ##
15014 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15017 # Save the log message, to keep $0 and so on meaningful, and to
15018 # report actual input values of CONFIG_FILES etc. instead of their
15019 # values after options handling.
15021 This file was extended by $as_me, which was
15022 generated by GNU Autoconf 2.64. Invocation command line was
15024 CONFIG_FILES = $CONFIG_FILES
15025 CONFIG_HEADERS = $CONFIG_HEADERS
15026 CONFIG_LINKS = $CONFIG_LINKS
15027 CONFIG_COMMANDS = $CONFIG_COMMANDS
15030 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15035 case $ac_config_files in *"
15036 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15042 # Files that config.status was made for.
15043 config_files="$ac_config_files"
15047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15049 \`$as_me' instantiates files and other configuration actions
15050 from templates according to the current configuration. Unless the files
15051 and actions are specified as TAGs, all are instantiated by default.
15053 Usage: $0 [OPTION]... [TAG]...
15055 -h, --help print this help, then exit
15056 -V, --version print version number and configuration settings, then exit
15057 -q, --quiet, --silent
15058 do not print progress messages
15059 -d, --debug don't remove temporary files
15060 --recheck update $as_me by reconfiguring in the same conditions
15061 --file=FILE[:TEMPLATE]
15062 instantiate the configuration file FILE
15064 Configuration files:
15067 Report bugs to the package provider."
15070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15073 configured by $0, generated by GNU Autoconf 2.64,
15074 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15076 Copyright (C) 2009 Free Software Foundation, Inc.
15077 This config.status script is free software; the Free Software Foundation
15078 gives unlimited permission to copy, distribute and modify it."
15084 test -n "\$AWK" || AWK=awk
15087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15088 # The default lists apply if the user does not specify any file.
15094 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15095 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15106 # Handling of the options.
15107 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15109 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15110 $as_echo "$ac_cs_version"; exit ;;
15111 --debug |
--debu |
--deb |
--de |
--d |
-d )
15113 --file |
--fil |
--fi |
--f )
15116 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15118 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15119 ac_need_defaults
=false
;;
15120 --he |
--h |
--help |
--hel |
-h )
15121 $as_echo "$ac_cs_usage"; exit ;;
15122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15123 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15126 # This is an error.
15127 -*) as_fn_error
"unrecognized option: \`$1'
15128 Try \`$0 --help' for more information." ;;
15130 *) as_fn_append ac_config_targets
" $1"
15131 ac_need_defaults
=false
;;
15137 ac_configure_extra_args
=
15139 if $ac_cs_silent; then
15141 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15145 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15146 if \$ac_cs_recheck; then
15147 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15149 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15150 CONFIG_SHELL='$SHELL'
15151 export CONFIG_SHELL
15156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15160 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15161 ## Running $as_me. ##
15167 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15171 extrasub_build="$extrasub_build"
15172 extrasub_host="$extrasub_host"
15173 extrasub_target="$extrasub_target"
15177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15179 # Handling of arguments.
15180 for ac_config_target
in $ac_config_targets
15182 case $ac_config_target in
15183 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15185 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15190 # If the user did not use the arguments to specify the items to instantiate,
15191 # then the envvar interface is used. Set only those that are not.
15192 # We use the long form for the default assignment because of an extremely
15193 # bizarre bug on SunOS 4.1.3.
15194 if $ac_need_defaults; then
15195 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15198 # Have a temporary directory for convenience. Make it in the build tree
15199 # simply because there is no reason against having it here, and in addition,
15200 # creating and moving files from /tmp can sometimes cause problems.
15201 # Hook for its removal unless debugging.
15202 # Note that there is a small window in which the directory will not be cleaned:
15203 # after its creation but before its name has been assigned to `$tmp'.
15207 trap 'exit_status=$?
15208 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15210 trap 'as_fn_exit 1' 1 2 13 15
15212 # Create a (secure) tmp directory for tmp files.
15215 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15216 test -n "$tmp" && test -d "$tmp"
15219 tmp
=.
/conf$$
-$RANDOM
15220 (umask 077 && mkdir
"$tmp")
15221 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15223 # Set up the scripts for CONFIG_FILES section.
15224 # No need to generate them if there are no CONFIG_FILES.
15225 # This happens for instance with `./config.status config.h'.
15226 if test -n "$CONFIG_FILES"; then
15228 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15229 ac_cs_awk_getline
=:
15230 ac_cs_awk_pipe_init
=
15231 ac_cs_awk_read_file
='
15232 while ((getline aline < (F[key])) > 0)
15235 ac_cs_awk_pipe_fini
=
15237 ac_cs_awk_getline
=false
15238 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15239 ac_cs_awk_read_file
='
15241 print "cat " F[key] " &&"
15242 '$ac_cs_awk_pipe_init
15243 # The final `:' finishes the AND list.
15244 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15246 ac_cr
=`echo X | tr X '\015'`
15247 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15248 # But we know of no other shell where ac_cr would be empty at this
15249 # point, so we can use a bashism as a fallback.
15250 if test "x$ac_cr" = x
; then
15251 eval ac_cr
=\$
\'\\r
\'
15253 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15254 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15257 ac_cs_awk_cr
=$ac_cr
15260 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15263 # Create commands to substitute file output variables.
15265 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15266 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15267 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15270 } >conf$
$files.sh
&&
15271 . .
/conf$
$files.sh ||
15272 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15273 rm -f conf$
$files.sh
15276 echo "cat >conf$$subs.awk <<_ACEOF" &&
15277 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15279 } >conf$$subs.sh ||
15280 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15281 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15283 for ac_last_try in false false false false false :; do
15284 . ./conf$$subs.sh ||
15285 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15287 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15288 if test $ac_delim_n = $ac_delim_num; then
15290 elif $ac_last_try; then
15291 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15293 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15296 rm -f conf$$subs.sh
15298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15299 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15303 s/^/S["/; s
/!.
*/"]=/
15313 s/\(.\{148\}\).*/\1/
15315 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15320 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15327 s/\(.\{148\}\).*/\1/
15329 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15333 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15338 ' <conf$$subs.awk | sed '
15343 ' >>$CONFIG_STATUS || ac_write_fail=1
15344 rm -f conf$$subs.awk
15345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15347 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15348 for (key in S) S_is_set[key] = 1
15350 \$ac_cs_awk_pipe_init
15354 nfields = split(line, field, "@
")
15356 len = length(field[1])
15357 for (i = 2; i < nfields; i++) {
15359 keylen = length(key)
15360 if (S_is_set[key]) {
15362 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15363 len += length(value) + length(field[++i])
15368 if (nfields == 3 && !substed) {
15370 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15371 \$ac_cs_awk_read_file
15377 \$ac_cs_awk_pipe_fini
15380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15381 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15382 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15385 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15386 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15389 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15390 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15391 # trailing colons and then remove the whole line if VPATH becomes empty
15392 # (actually we leave an empty line to preserve line numbers).
15393 if test "x
$srcdir" = x.; then
15394 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15395 s/:*\$(srcdir):*/:/
15396 s/:*\${srcdir}:*/:/
15398 s/^\([^=]*=[ ]*\):*/\1/
15404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15405 fi # test -n "$CONFIG_FILES"
15408 eval set X " :F
$CONFIG_FILES "
15413 :[FHLC]) ac_mode=$ac_tag; continue;;
15415 case $ac_mode$ac_tag in
15417 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15418 :[FH]-) ac_tag=-:-;;
15419 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15436 -) ac_f="$tmp/stdin";;
15437 *) # Look for the file first in the build tree, then in the source tree
15438 # (if the path is not absolute). The absolute path cannot be DOS-style,
15439 # because $ac_f cannot contain `:'.
15443 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15445 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15447 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15448 as_fn_append ac_file_inputs " '$ac_f'"
15451 # Let's still pretend it is `configure' which instantiates (i.e., don't
15452 # use $as_me), people would be surprised to read:
15453 # /* config.h. Generated by config.status. */
15454 configure_input='Generated from '`
15455 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15457 if test x"$ac_file" != x-; then
15458 configure_input="$ac_file.
$configure_input"
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15460 $as_echo "$as_me: creating
$ac_file" >&6;}
15462 # Neutralize special characters interpreted by sed in replacement strings.
15463 case $configure_input in #(
15464 *\&* | *\|* | *\\* )
15465 ac_sed_conf_input=`$as_echo "$configure_input" |
15466 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15467 *) ac_sed_conf_input=$configure_input;;
15471 *:-:* | *:-) cat >"$tmp/stdin
" \
15472 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15477 ac_dir=`$as_dirname -- "$ac_file" ||
15478 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15479 X"$ac_file" : 'X\(//\)[^/]' \| \
15480 X"$ac_file" : 'X\(//\)$' \| \
15481 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15482 $as_echo X"$ac_file" |
15483 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15487 /^X\(\/\/\)[^/].*/{
15500 as_dir="$ac_dir"; as_fn_mkdir_p
15504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15506 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15507 # A "..
" for each directory in $ac_dir_suffix.
15508 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15509 case $ac_top_builddir_sub in
15510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15514 ac_abs_top_builddir=$ac_pwd
15515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15516 # for backward compatibility:
15517 ac_top_builddir=$ac_top_build_prefix
15520 .) # We are building in place.
15522 ac_top_srcdir=$ac_top_builddir_sub
15523 ac_abs_top_srcdir=$ac_pwd ;;
15524 [\\/]* | ?:[\\/]* ) # Absolute name.
15525 ac_srcdir=$srcdir$ac_dir_suffix;
15526 ac_top_srcdir=$srcdir
15527 ac_abs_top_srcdir=$srcdir ;;
15528 *) # Relative name.
15529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15530 ac_top_srcdir=$ac_top_build_prefix$srcdir
15531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15543 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15544 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15549 # If the template does not know about datarootdir, expand it.
15550 # FIXME: This hack should be removed a few years after 2.60.
15551 ac_datarootdir_hack=; ac_datarootdir_seen=
15562 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15563 *datarootdir*) ac_datarootdir_seen=yes;;
15564 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15566 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15569 ac_datarootdir_hack='
15570 s&@datadir@&$datadir&g
15571 s&@docdir@&$docdir&g
15572 s&@infodir@&$infodir&g
15573 s&@localedir@&$localedir&g
15574 s&@mandir@&$mandir&g
15575 s&\\\${datarootdir}&$datarootdir&g' ;;
15579 # Neutralize VPATH when `$srcdir' = `.'.
15580 # Shell code in configure.ac might set extrasub.
15581 # FIXME: do we really want to maintain this feature?
15582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15583 ac_sed_extra="$ac_vpsub
15586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15589 s|@configure_input@|
$ac_sed_conf_input|
;t t
15590 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15591 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15592 s
&@srcdir@
&$ac_srcdir&;t t
15593 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15594 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15595 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15596 s
&@builddir@
&$ac_builddir&;t t
15597 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15598 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15599 s
&@INSTALL@
&$ac_INSTALL&;t t
15600 $ac_datarootdir_hack
15602 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15603 if $ac_cs_awk_getline; then
15604 $AWK -f "$tmp/subs.
awk"
15606 $AWK -f "$tmp/subs.
awk" | $SHELL
15608 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15614 which seems to be undefined. Please make sure it is defined." >&5
15615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15616 which seems to be undefined. Please make sure it is defined." >&2;}
15620 -) cat "$tmp/out" && rm -f "$tmp/out";;
15621 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15623 || as_fn_error "could not create $ac_file" "$LINENO" 5
15631 case $ac_file$ac_mode in
15632 "Makefile":F) sed "$extrasub_build" Makefile |
15633 sed "$extrasub_host" |
15634 sed "$extrasub_target" > mf$$
15635 mv -f mf$$ Makefile ;;
15643 ac_clean_files=$ac_clean_files_save
15645 test $ac_write_fail = 0 ||
15646 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15649 # configure is writing to config.log, and then calls config.status.
15650 # config.status does its own redirection, appending to config.log.
15651 # Unfortunately, on DOS this fails, as config.log is still kept open
15652 # by configure, so config.status won't be able to
write to it
; its
15653 # output is simply discarded. So we exec the FD to /dev/null,
15654 # effectively closing config.log, so it can be properly (re)opened and
15655 # appended to by config.status. When coming back to configure, we
15656 # need to make the FD available again.
15657 if test "$no_create" != yes; then
15659 ac_config_status_args
=
15660 test "$silent" = yes &&
15661 ac_config_status_args
="$ac_config_status_args --quiet"
15663 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15665 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15666 # would make configure fail if this is the last instruction.
15667 $ac_cs_success || as_fn_exit $?
15669 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15671 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}