2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
647 extra_host_libiberty_configure_flags
656 extra_isl_gmp_configure_flags
657 extra_mpc_mpfr_configure_flags
658 extra_mpc_gmp_configure_flags
659 extra_mpfr_configure_flags
675 EXTRA_CONFIGARGS_LIBJAVA
702 TOPLEVEL_CONFIGURE_ARGUMENTS
730 program_transform_name
741 ac_subst_files
='serialization_dependencies
747 enable_option_checking
752 enable_libquadmath_support
755 enable_static_libjava
776 enable_isl_version_check
780 enable_cloog_version_check
782 enable_stage1_languages
786 with_debug_prefix_map
788 enable_serial_configure
789 enable_upc_link_script
790 with_build_time_tools
791 enable_maintainer_mode
792 enable_stage1_checking
795 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information."
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used." >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1370 as_fn_error
"path to source, $srcdir, contains spaces"
1373 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1375 for ac_var
in $ac_precious_vars; do
1376 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1378 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures this package to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1452 --build=BUILD configure
for building on BUILD
[guessed
]
1453 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1454 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1458 if test -n "$ac_init_help"; then
1463 --disable-option-checking ignore unrecognized
--enable/--with options
1464 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1465 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1466 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1467 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1468 --disable-libquadmath do not build libquadmath directory
1469 --disable-libquadmath-support
1470 disable libquadmath support
for Fortran
1471 --enable-libada build libada directory
1472 --enable-libssp build libssp directory
1473 --enable-static-libjava[=ARG
]
1474 build static libjava
[default
=no
]
1475 --enable-bootstrap enable bootstrapping
[yes if native build
]
1476 --disable-isl-version-check
1477 disable check
for ISL version
1478 --disable-cloog-version-check
1479 disable check
for CLooG version
1480 --enable-lto enable link
time optimization support
1481 --enable-stage1-languages[=all
]
1482 choose additional languages to build during stage1.
1483 Mostly useful
for compiler development
1484 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1486 --enable-serial-[{host,target,build}-]configure
1487 force sequential configuration of sub-packages for
1488 the host, target or build machine, or all
1490 --enable-upc-link-script
1491 enable UPC's use of a custom linker
script; this
1492 will define the UPC shared section as a no load
1493 section on targets where this feature is supported
1495 --enable-maintainer-mode
1496 enable make rules and dependencies not useful
(and
1497 sometimes confusing
) to the casual installer
1498 --enable-stage1-checking[=all
]
1499 choose additional checking
for stage1 of the
1501 --enable-werror enable -Werror in bootstrap stage2 and later
1504 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1505 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1506 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1507 --with-mpc=PATH specify prefix directory
for installed MPC package.
1508 Equivalent to
--with-mpc-include=PATH
/include plus
1509 --with-mpc-lib=PATH
/lib
1510 --with-mpc-include=PATH specify directory
for installed MPC include files
1511 --with-mpc-lib=PATH specify directory
for the installed MPC library
1512 --with-mpfr-dir=PATH this option has been REMOVED
1513 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1514 Equivalent to
--with-mpfr-include=PATH
/include plus
1515 --with-mpfr-lib=PATH
/lib
1516 --with-mpfr-include=PATH
1517 specify directory
for installed MPFR include files
1518 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1519 --with-gmp-dir=PATH this option has been REMOVED
1520 --with-gmp=PATH specify prefix directory
for the installed GMP
1521 package. Equivalent to
1522 --with-gmp-include=PATH
/include plus
1523 --with-gmp-lib=PATH
/lib
1524 --with-gmp-include=PATH specify directory
for installed GMP include files
1525 --with-gmp-lib=PATH specify directory
for the installed GMP library
1526 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1528 --with-stage1-ldflags=FLAGS
1529 linker flags
for stage1
1530 --with-stage1-libs=LIBS libraries
for stage1
1531 --with-boot-libs=LIBS libraries
for stage2 and later
1532 --with-boot-ldflags=FLAGS
1533 linker flags
for stage2 and later
1534 --with-isl=PATH Specify prefix directory
for the installed ISL
1535 package. Equivalent to
1536 --with-isl-include=PATH
/include plus
1537 --with-isl-lib=PATH
/lib
1538 --with-isl-include=PATH Specify directory
for installed ISL include files
1539 --with-isl-lib=PATH Specify the directory
for the installed ISL library
1540 --with-cloog=PATH Specify prefix directory
for the installed CLooG-PPL
1541 package. Equivalent to
1542 --with-cloog-include=PATH
/include plus
1543 --with-cloog-lib=PATH
/lib
1544 --with-cloog-include=PATH
1545 Specify directory
for installed CLooG include files
1546 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1548 --with-upc-pts={struct
,packed
}
1549 choose the representation of a UPC pointer-to-shared
1550 --with-build-sysroot=SYSROOT
1551 use sysroot as the system root during the build
1552 --with-debug-prefix-map='A=B C=D ...'
1553 map A to B
, C to D ...
in debug information
1554 --with-build-config='NAME NAME2...'
1555 use config
/NAME.mk build configuration
1556 --with-build-time-tools=PATH
1557 use given path to
find target tools during the build
1559 Some influential environment variables
:
1560 CC C compiler
command
1561 CFLAGS C compiler flags
1562 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1563 nonstandard directory
<lib dir
>
1564 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1565 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1566 you have headers
in a nonstandard directory
<include dir
>
1567 CXX C
++ compiler
command
1568 CXXFLAGS C
++ compiler flags
1570 additional configure arguments
for build directories
1572 additional configure arguments
for host directories
1574 additional configure arguments
for target directories
1577 DLLTOOL DLLTOOL
for the
host
1579 LIPO LIPO
for the
host
1581 RANLIB RANLIB
for the
host
1582 STRIP STRIP
for the
host
1583 WINDRES WINDRES
for the
host
1584 WINDMC WINDMC
for the
host
1585 OBJCOPY OBJCOPY
for the
host
1586 OBJDUMP OBJDUMP
for the
host
1587 READELF READELF
for the
host
1597 GFORTRAN
for the target
1607 DLLTOOL
for the target
1615 OBJDUMP
for the target
1617 RANLIB
for the target
1619 READELF
for the target
1621 STRIP
for the target
1623 WINDRES
for the target
1625 WINDMC
for the target
1627 Use these variables to override the choices made by
`configure' or to help
1628 it to find libraries and programs with nonstandard names/locations.
1630 Report bugs to the package provider.
1635 if test "$ac_init_help" = "recursive"; then
1636 # If there are subdirs, report their specific --help.
1637 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1638 test -d "$ac_dir" ||
1639 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1646 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1647 # A ".." for each directory in $ac_dir_suffix.
1648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1649 case $ac_top_builddir_sub in
1650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1654 ac_abs_top_builddir=$ac_pwd
1655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1656 # for backward compatibility:
1657 ac_top_builddir=$ac_top_build_prefix
1660 .) # We are building in place.
1662 ac_top_srcdir=$ac_top_builddir_sub
1663 ac_abs_top_srcdir=$ac_pwd ;;
1664 [\\/]* | ?:[\\/]* ) # Absolute name.
1665 ac_srcdir=$srcdir$ac_dir_suffix;
1666 ac_top_srcdir=$srcdir
1667 ac_abs_top_srcdir=$srcdir ;;
1669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1670 ac_top_srcdir=$ac_top_build_prefix$srcdir
1671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1675 cd "$ac_dir" || { ac_status=$?; continue; }
1676 # Check for guested configure.
1677 if test -f "$ac_srcdir/configure.gnu"; then
1679 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1680 elif test -f "$ac_srcdir/configure"; then
1682 $SHELL "$ac_srcdir/configure" --help=recursive
1684 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1686 cd "$ac_pwd" || { ac_status=$?; break; }
1690 test -n "$ac_init_help" && exit $ac_status
1691 if $ac_init_version; then
1694 generated by GNU Autoconf 2.64
1696 Copyright (C) 2009 Free Software Foundation, Inc.
1697 This configure script is free software; the Free Software Foundation
1698 gives unlimited permission to copy, distribute and modify it.
1703 ## ------------------------ ##
1704 ## Autoconf initialization. ##
1705 ## ------------------------ ##
1707 # ac_fn_c_try_compile LINENO
1708 # --------------------------
1709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1710 ac_fn_c_try_compile ()
1712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713 rm -f conftest.$ac_objext
1714 if { { ac_try="$ac_compile"
1716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1717 *) ac_try_echo
=$ac_try;;
1719 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720 $as_echo "$ac_try_echo"; } >&5
1721 (eval "$ac_compile") 2>conftest.err
1723 if test -s conftest.err
; then
1724 grep -v '^ *+' conftest.err
>conftest.er1
1725 cat conftest.er1
>&5
1726 mv -f conftest.er1 conftest.err
1728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729 test $ac_status = 0; } && {
1730 test -z "$ac_c_werror_flag" ||
1731 test ! -s conftest.err
1732 } && test -s conftest.
$ac_objext; then :
1735 $as_echo "$as_me: failed program was:" >&5
1736 sed 's/^/| /' conftest.
$ac_ext >&5
1740 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1743 } # ac_fn_c_try_compile
1745 # ac_fn_cxx_try_compile LINENO
1746 # ----------------------------
1747 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1748 ac_fn_cxx_try_compile
()
1750 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1751 rm -f conftest.
$ac_objext
1752 if { { ac_try
="$ac_compile"
1754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_compile") 2>conftest.err
1761 if test -s conftest.err; then
1762 grep -v '^ *+' conftest.err >conftest.er1
1763 cat conftest.er1 >&5
1764 mv -f conftest.er1 conftest.err
1766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767 test $ac_status = 0; } && {
1768 test -z "$ac_cxx_werror_flag" ||
1769 test ! -s conftest.err
1770 } && test -s conftest.$ac_objext; then :
1773 $as_echo "$as_me: failed program was:" >&5
1774 sed 's/^/| /' conftest.$ac_ext >&5
1778 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 } # ac_fn_cxx_try_compile
1783 # ac_fn_c_try_link LINENO
1784 # -----------------------
1785 # Try to link conftest.$ac_ext, and return whether this succeeded.
1788 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789 rm -f conftest.$ac_objext conftest$ac_exeext
1790 if { { ac_try="$ac_link"
1792 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1793 *) ac_try_echo
=$ac_try;;
1795 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796 $as_echo "$ac_try_echo"; } >&5
1797 (eval "$ac_link") 2>conftest.err
1799 if test -s conftest.err
; then
1800 grep -v '^ *+' conftest.err
>conftest.er1
1801 cat conftest.er1
>&5
1802 mv -f conftest.er1 conftest.err
1804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805 test $ac_status = 0; } && {
1806 test -z "$ac_c_werror_flag" ||
1807 test ! -s conftest.err
1808 } && test -s conftest
$ac_exeext && {
1809 test "$cross_compiling" = yes ||
1810 $as_test_x conftest
$ac_exeext
1814 $as_echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.
$ac_ext >&5
1819 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1820 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1821 # interfere with the next link command; also delete a directory that is
1822 # left behind by Apple's compiler. We do this before executing the actions.
1823 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1827 } # ac_fn_c_try_link
1829 # ac_fn_c_try_run LINENO
1830 # ----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1832 # that executables *can* be run.
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 if { { ac_try
="$ac_link"
1838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>&5
1845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1846 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1847 { { case "(($ac_try" in
1848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1849 *) ac_try_echo
=$ac_try;;
1851 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1852 $as_echo "$ac_try_echo"; } >&5
1853 (eval "$ac_try") 2>&5
1855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1856 test $ac_status = 0; }; }; then :
1859 $as_echo "$as_me: program exited with status $ac_status" >&5
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1863 ac_retval
=$ac_status
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1870 cat >config.log
<<_ACEOF
1871 This file contains any messages produced by compilers while
1872 running configure, to aid debugging if configure makes a mistake.
1874 It was created by $as_me, which was
1875 generated by GNU Autoconf 2.64. Invocation command line was
1887 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1888 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1889 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1890 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1891 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1893 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1894 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1896 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1897 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1898 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1899 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1900 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1901 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1902 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir
=.
1911 $as_echo "PATH: $as_dir"
1927 # Keep a trace of the command line.
1928 # Strip out --no-create and --no-recursion so they do not pile up.
1929 # Strip out --silent because we don't want to record it for future runs.
1930 # Also quote any args containing shell meta-characters.
1931 # Make two passes to allow for proper duplicate-argument suppression.
1935 ac_must_keep_next
=false
1941 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1942 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1943 |
-silent |
--silent |
--silen |
--sile |
--sil)
1946 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1949 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1951 as_fn_append ac_configure_args1
" '$ac_arg'"
1952 if test $ac_must_keep_next = true
; then
1953 ac_must_keep_next
=false
# Got value, back to normal.
1956 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1957 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1958 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1959 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1960 case "$ac_configure_args0 " in
1961 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1964 -* ) ac_must_keep_next
=true
;;
1967 as_fn_append ac_configure_args
" '$ac_arg'"
1972 { ac_configure_args0
=; unset ac_configure_args0
;}
1973 { ac_configure_args1
=; unset ac_configure_args1
;}
1975 # When interrupted or exit'd, cleanup temporary files, and complete
1976 # config.log. We remove comments because anyway the quotes in there
1977 # would cause problems or look ugly.
1978 # WARNING: Use '\'' to represent an apostrophe within the trap.
1979 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1980 trap 'exit_status=$?
1981 # Save into config.log some information that might help in debugging.
1986 ## ---------------- ##
1987 ## Cache variables. ##
1988 ## ---------------- ##
1991 # The following way of writing the cache mishandles newlines in values,
1993 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1994 eval ac_val=\$$ac_var
1998 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1999 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2002 _ | IFS | as_nl) ;; #(
2003 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2004 *) { eval $ac_var=; unset $ac_var;} ;;
2009 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2010 *${as_nl}ac_space=\ *)
2012 "s/'\''/'\''\\\\'\'''\''/g;
2013 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2016 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2024 ## ----------------- ##
2025 ## Output variables. ##
2026 ## ----------------- ##
2029 for ac_var in $ac_subst_vars
2031 eval ac_val=\$$ac_var
2033 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 $as_echo "$ac_var='\''$ac_val'\''"
2039 if test -n "$ac_subst_files"; then
2041 ## ------------------- ##
2042 ## File substitutions. ##
2043 ## ------------------- ##
2046 for ac_var
in $ac_subst_files
2048 eval ac_val
=\$
$ac_var
2050 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2052 $as_echo "$ac_var='\''$ac_val'\''"
2057 if test -s confdefs.h; then
2067 test "$ac_signal" != 0 &&
2068 $as_echo "$as_me: caught signal $ac_signal"
2069 $as_echo "$as_me: exit $exit_status"
2071 rm -f core *.core core.conftest.* &&
2072 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2075 for ac_signal
in 1 2 13 15; do
2076 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2080 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2081 rm -f -r conftest
* confdefs.h
2083 $as_echo "/* confdefs.h */" > confdefs.h
2085 # Predefined preprocessor variables.
2087 cat >>confdefs.h
<<_ACEOF
2088 #define PACKAGE_NAME "$PACKAGE_NAME"
2091 cat >>confdefs.h
<<_ACEOF
2092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2095 cat >>confdefs.h
<<_ACEOF
2096 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2099 cat >>confdefs.h
<<_ACEOF
2100 #define PACKAGE_STRING "$PACKAGE_STRING"
2103 cat >>confdefs.h
<<_ACEOF
2104 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2107 cat >>confdefs.h
<<_ACEOF
2108 #define PACKAGE_URL "$PACKAGE_URL"
2112 # Let the site file select an alternate cache file if it wants to.
2113 # Prefer an explicitly selected file to automatically selected ones.
2116 if test -n "$CONFIG_SITE"; then
2117 ac_site_file1
=$CONFIG_SITE
2118 elif test "x$prefix" != xNONE
; then
2119 ac_site_file1
=$prefix/share
/config.site
2120 ac_site_file2
=$prefix/etc
/config.site
2122 ac_site_file1
=$ac_default_prefix/share
/config.site
2123 ac_site_file2
=$ac_default_prefix/etc
/config.site
2125 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2127 test "x$ac_site_file" = xNONE
&& continue
2128 if test -r "$ac_site_file"; then
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2130 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2131 sed 's/^/| /' "$ac_site_file" >&5
2136 if test -r "$cache_file"; then
2137 # Some versions of bash will fail to source /dev/null (special
2138 # files actually), so we avoid doing that.
2139 if test -f "$cache_file"; then
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2141 $as_echo "$as_me: loading cache $cache_file" >&6;}
2143 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2144 *) .
"./$cache_file";;
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2149 $as_echo "$as_me: creating cache $cache_file" >&6;}
2153 # Check that the precious variables saved in the cache have kept the same
2155 ac_cache_corrupted
=false
2156 for ac_var
in $ac_precious_vars; do
2157 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2158 eval ac_new_set
=\
$ac_env_${ac_var}_set
2159 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2160 eval ac_new_val
=\
$ac_env_${ac_var}_value
2161 case $ac_old_set,$ac_new_set in
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2164 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2165 ac_cache_corrupted
=: ;;
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2168 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2169 ac_cache_corrupted
=: ;;
2172 if test "x$ac_old_val" != "x$ac_new_val"; then
2173 # differences in whitespace do not lead to failure.
2174 ac_old_val_w
=`echo x $ac_old_val`
2175 ac_new_val_w
=`echo x $ac_new_val`
2176 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2178 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2179 ac_cache_corrupted
=:
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2182 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2183 eval $ac_var=\
$ac_old_val
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2186 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2188 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2191 # Pass precious variables to config.status.
2192 if test "$ac_new_set" = set; then
2194 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2195 *) ac_arg
=$ac_var=$ac_new_val ;;
2197 case " $ac_configure_args " in
2198 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2199 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2203 if $ac_cache_corrupted; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2207 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2208 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2210 ## -------------------- ##
2211 ## Main body of script. ##
2212 ## -------------------- ##
2215 ac_cpp
='$CPP $CPPFLAGS'
2216 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2217 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2218 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2229 # if PWD already has a value, it is probably wrong.
2230 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2232 # Export original configure arguments for use by sub-configures.
2233 # Quote arguments with shell meta charatcers.
2234 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2235 set -- "$progname" "$@"
2239 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2240 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2241 # if the argument is of the form -foo=baz, quote the baz part only
2242 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2245 # Add the quoted argument to the list.
2246 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2248 if test "$silent" = yes; then
2249 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2251 # Remove the initial space we just introduced and, as these will be
2252 # expanded by make, quote '$'.
2253 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2256 # Find the build, host, and target systems.
2258 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2259 for ac_t
in install-sh
install.sh shtool
; do
2260 if test -f "$ac_dir/$ac_t"; then
2262 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2267 if test -z "$ac_aux_dir"; then
2268 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2271 # These three variables are undocumented and unsupported,
2272 # and are intended to be withdrawn in a future Autoconf release.
2273 # They can cause serious problems if a builder's source tree is in a directory
2274 # whose full name contains unusual characters.
2275 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2276 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2277 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2280 # Make sure we can run config.sub.
2281 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2282 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2285 $as_echo_n "checking build system type... " >&6; }
2286 if test "${ac_cv_build+set}" = set; then :
2287 $as_echo_n "(cached) " >&6
2289 ac_build_alias
=$build_alias
2290 test "x$ac_build_alias" = x
&&
2291 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2292 test "x$ac_build_alias" = x
&&
2293 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2294 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2295 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2299 $as_echo "$ac_cv_build" >&6; }
2300 case $ac_cv_build in
2302 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2305 ac_save_IFS
=$IFS; IFS
='-'
2311 # Remember, the first character of IFS is used to create $*,
2312 # except with old shells:
2315 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2318 case ${build_alias} in
2319 "") build_noncanonical
=${build} ;;
2320 *) build_noncanonical
=${build_alias} ;;
2325 case ${host_alias} in
2326 "") host_noncanonical
=${build_noncanonical} ;;
2327 *) host_noncanonical
=${host_alias} ;;
2332 case ${target_alias} in
2333 "") target_noncanonical
=${host_noncanonical} ;;
2334 *) target_noncanonical
=${target_alias} ;;
2340 test "$host_noncanonical" = "$target_noncanonical" &&
2341 test "$program_prefix$program_suffix$program_transform_name" = \
2343 program_transform_name
=s
,y
,y
,
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2346 $as_echo_n "checking host system type... " >&6; }
2347 if test "${ac_cv_host+set}" = set; then :
2348 $as_echo_n "(cached) " >&6
2350 if test "x$host_alias" = x
; then
2351 ac_cv_host
=$ac_cv_build
2353 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2354 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2359 $as_echo "$ac_cv_host" >&6; }
2362 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2365 ac_save_IFS
=$IFS; IFS
='-'
2371 # Remember, the first character of IFS is used to create $*,
2372 # except with old shells:
2375 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2379 $as_echo_n "checking target system type... " >&6; }
2380 if test "${ac_cv_target+set}" = set; then :
2381 $as_echo_n "(cached) " >&6
2383 if test "x$target_alias" = x
; then
2384 ac_cv_target
=$ac_cv_host
2386 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2387 as_fn_error
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2392 $as_echo "$ac_cv_target" >&6; }
2393 case $ac_cv_target in
2395 *) as_fn_error
"invalid value of canonical target" "$LINENO" 5;;
2397 target
=$ac_cv_target
2398 ac_save_IFS
=$IFS; IFS
='-'
2404 # Remember, the first character of IFS is used to create $*,
2405 # except with old shells:
2408 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2411 # The aliases save the names the user supplied, while $host etc.
2412 # will get canonicalized.
2413 test -n "$target_alias" &&
2414 test "$program_prefix$program_suffix$program_transform_name" = \
2416 program_prefix
=${target_alias}-
2418 test "$program_prefix" != NONE
&&
2419 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2420 # Use a double $ so make ignores it.
2421 test "$program_suffix" != NONE
&&
2422 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2423 # Double any \ or $.
2424 # By default was `s,x,x', remove it if useless.
2425 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2426 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2430 # Get 'install' or 'install-sh' and its variants.
2431 # Find a good install program. We prefer a C program (faster),
2432 # so one script is as good as another. But avoid the broken or
2433 # incompatible versions:
2434 # SysV /etc/install, /usr/sbin/install
2435 # SunOS /usr/etc/install
2436 # IRIX /sbin/install
2438 # AmigaOS /C/install, which installs bootblocks on floppy discs
2439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2442 # OS/2's system install, which has a completely different semantic
2443 # ./install, which can be erroneously created by make from ./install.sh.
2444 # Reject install programs that cannot install multiple files.
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2446 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2447 if test -z "$INSTALL"; then
2448 if test "${ac_cv_path_install+set}" = set; then :
2449 $as_echo_n "(cached) " >&6
2451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir
=.
2456 # Account for people who put trailing slashes in PATH elements.
2457 case $as_dir/ in #((
2458 .
/ | .
// |
/[cC
]/* | \
2459 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2460 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2463 # OSF1 and SCO ODT 3.0 have their own names for install.
2464 # Don't use installbsd from OSF since it installs stuff as root
2466 for ac_prog
in ginstall scoinst
install; do
2467 for ac_exec_ext
in '' $ac_executable_extensions; do
2468 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2469 if test $ac_prog = install &&
2470 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2471 # AIX install. It has an incompatible calling convention.
2473 elif test $ac_prog = install &&
2474 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2475 # program-specific install script used by HP pwplus--don't use.
2478 rm -rf conftest.one conftest.two conftest.dir
2479 echo one
> conftest.one
2480 echo two
> conftest.two
2482 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2483 test -s conftest.one
&& test -s conftest.two
&&
2484 test -s conftest.dir
/conftest.one
&&
2485 test -s conftest.dir
/conftest.two
2487 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2500 rm -rf conftest.one conftest.two conftest.dir
2503 if test "${ac_cv_path_install+set}" = set; then
2504 INSTALL
=$ac_cv_path_install
2506 # As a last resort, use the slow shell script. Don't cache a
2507 # value for INSTALL within a source directory, because that will
2508 # break other packages using the cache if that directory is
2509 # removed, or if the value is a relative name.
2510 INSTALL
=$ac_install_sh
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2514 $as_echo "$INSTALL" >&6; }
2516 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2517 # It thinks the first close brace ends the variable substitution.
2518 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2520 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2522 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2525 $as_echo_n "checking whether ln works... " >&6; }
2526 if test "${acx_cv_prog_LN+set}" = set; then :
2527 $as_echo_n "(cached) " >&6
2529 rm -f conftestdata_t
2530 echo >conftestdata_f
2531 if ln conftestdata_f conftestdata_t
2>/dev
/null
2537 rm -f conftestdata_f conftestdata_t
2540 if test $acx_cv_prog_LN = no
; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2543 $as_echo "no, using $LN" >&6; }
2545 LN
="$acx_cv_prog_LN"
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2547 $as_echo "yes" >&6; }
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2551 $as_echo_n "checking whether ln -s works... " >&6; }
2553 if test "$LN_S" = "ln -s"; then
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2555 $as_echo "yes" >&6; }
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2558 $as_echo "no, using $LN_S" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2562 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2563 if test "${ac_cv_path_SED+set}" = set; then :
2564 $as_echo_n "(cached) " >&6
2566 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2567 for ac_i
in 1 2 3 4 5 6 7; do
2568 ac_script
="$ac_script$as_nl$ac_script"
2570 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2571 { ac_script
=; unset ac_script
;}
2572 if test -z "$SED"; then
2573 ac_path_SED_found
=false
2574 # Loop through the user's path and test for each of PROGNAME-LIST
2575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2579 test -z "$as_dir" && as_dir
=.
2580 for ac_prog
in sed gsed
; do
2581 for ac_exec_ext
in '' $ac_executable_extensions; do
2582 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2583 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2584 # Check for GNU ac_path_SED and select it if it is found.
2585 # Check for GNU $ac_path_SED
2586 case `"$ac_path_SED" --version 2>&1` in
2588 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2591 $as_echo_n 0123456789 >"conftest.in"
2594 cat "conftest.in" "conftest.in" >"conftest.tmp"
2595 mv "conftest.tmp" "conftest.in"
2596 cp "conftest.in" "conftest.nl"
2597 $as_echo '' >> "conftest.nl"
2598 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2599 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2600 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2601 if test $ac_count -gt ${ac_path_SED_max-0}; then
2602 # Best one so far, save it but keep looking for a better one
2603 ac_cv_path_SED
="$ac_path_SED"
2604 ac_path_SED_max
=$ac_count
2606 # 10*(2^10) chars as input seems more than enough
2607 test $ac_count -gt 10 && break
2609 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2612 $ac_path_SED_found && break 3
2617 if test -z "$ac_cv_path_SED"; then
2618 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2626 $as_echo "$ac_cv_path_SED" >&6; }
2627 SED
="$ac_cv_path_SED"
2630 for ac_prog
in gawk mawk nawk
awk
2632 # Extract the first word of "$ac_prog", so it can be a program name with args.
2633 set dummy
$ac_prog; ac_word
=$2
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2635 $as_echo_n "checking for $ac_word... " >&6; }
2636 if test "${ac_cv_prog_AWK+set}" = set; then :
2637 $as_echo_n "(cached) " >&6
2639 if test -n "$AWK"; then
2640 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2646 test -z "$as_dir" && as_dir
=.
2647 for ac_exec_ext
in '' $ac_executable_extensions; do
2648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2649 ac_cv_prog_AWK
="$ac_prog"
2650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$AWK"; then
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2662 $as_echo "$AWK" >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2665 $as_echo "no" >&6; }
2669 test -n "$AWK" && break
2673 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2675 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2677 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2678 INSTALL
="${srcpwd}/install-sh -c"
2681 # Set srcdir to "." if that's what it is.
2682 # This is important for multilib support.
2684 if test "${pwd}" = "${srcpwd}" ; then
2692 ### To add a new directory to the tree, first choose whether it is a target
2693 ### or a host dependent tool. Then put it into the appropriate list
2694 ### (library or tools, host or target), doing a dependency sort.
2696 # Subdirs will be configured in the order listed in build_configdirs,
2697 # configdirs, or target_configdirs; see the serialization section below.
2699 # Dependency sorting is only needed when *configuration* must be done in
2700 # a particular order. In all cases a dependency should be specified in
2701 # the Makefile, whether or not it's implicitly specified here.
2703 # Double entries in build_configdirs, configdirs, or target_configdirs may
2704 # cause circular dependencies and break everything horribly.
2706 # these library is used by various programs built for the build
2709 build_libs
="build-libiberty"
2711 # these tools are built for the build environment
2712 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2714 # these libraries are used by various programs built for the host environment
2716 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2718 # these tools are built for the host environment
2719 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2720 # know that we are building the simulator.
2721 # binutils, gas and ld appear in that order because it makes sense to run
2722 # "make check" in that particular order.
2723 # If --enable-gold is used, "gold" may replace "ld".
2724 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2726 # libgcj represents the runtime libraries only used by gcj.
2727 libgcj
="target-libffi \
2731 # these libraries are built for the target environment, and are built after
2732 # the host libraries and the host tools (which may be a cross compiler)
2733 # Note that libiberty is not a target library.
2734 target_libraries
="target-libgcc \
2740 target-libstdc++-v3 \
2743 target-libquadmath \
2744 target-libgfortran \
2752 # these tools are built using the target libraries, and are intended to
2753 # run only in the target environment
2755 # note: any program that *uses* libraries that are in the "target_libraries"
2756 # list belongs in this list.
2758 target_tools
="target-rda"
2760 ################################################################################
2762 ## All tools belong in one of the four categories, and are assigned above
2763 ## We assign ${configdirs} this way to remove all embedded newlines. This
2764 ## is important because configure will choke if they ever get through.
2765 ## ${configdirs} is directories we build using the host tools.
2766 ## ${target_configdirs} is directories we build using the target tools.
2767 configdirs
=`echo ${host_libs} ${host_tools}`
2768 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2769 build_configdirs
=`echo ${build_libs} ${build_tools}`
2773 ################################################################################
2775 srcname
="gnu development package"
2777 # This gets set non-empty for some net releases of packages.
2780 # Define is_cross_compiler to save on calls to 'test'.
2782 if test x
"${host}" = x
"${target}" ; then
2783 is_cross_compiler
=no
2785 is_cross_compiler
=yes
2788 # Find the build and target subdir names.
2790 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2791 # have matching libraries, they should use host libraries: Makefile.tpl
2792 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2793 # However, they still use the build modules, because the corresponding
2794 # host modules (e.g. bison) are only built for the host when bootstrap
2796 # - build_subdir is where we find build modules, and never changes.
2797 # - build_libsubdir is where we find build libraries, and can be overridden.
2799 # Prefix 'build-' so this never conflicts with target_subdir.
2800 build_subdir
="build-${build_noncanonical}"
2802 # Check whether --with-build-libsubdir was given.
2803 if test "${with_build_libsubdir+set}" = set; then :
2804 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2806 build_libsubdir
="$build_subdir"
2809 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2810 if ( test $srcdir = .
&& test -d gcc
) \
2811 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2812 host_subdir
="host-${host_noncanonical}"
2817 target_subdir
=${target_noncanonical}
2819 # Be sure to cover against remnants of an in-tree build.
2820 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2821 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2822 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2825 # Skipdirs are removed silently.
2827 # Noconfigdirs are removed loudly.
2831 # Make sure we don't let GNU ld be added if we didn't want it.
2832 if test x
$with_gnu_ld = xno
; then
2834 noconfigdirs
="$noconfigdirs ld gold"
2838 # Make sure we don't let GNU as be added if we didn't want it.
2839 if test x
$with_gnu_as = xno
; then
2841 noconfigdirs
="$noconfigdirs gas"
2845 # Make sure we don't let ZLIB be added if we didn't want it.
2846 if test x
$with_system_zlib = xyes
; then
2847 use_included_zlib
=no
2848 noconfigdirs
="$noconfigdirs zlib"
2851 # some tools are so dependent upon X11 that if we're not building with X,
2852 # it's not even worth trying to configure, much less build, that tool.
2855 yes |
"") ;; # the default value for this tree is that X11 is available
2857 skipdirs
="${skipdirs} tk itcl libgui"
2858 # We won't be able to build gdbtk without X.
2861 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2864 # Some are only suitable for cross toolchains.
2865 # Remove these if host=target.
2866 cross_only
="target-libgloss target-newlib target-opcodes"
2868 case $is_cross_compiler in
2869 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2872 # If both --with-headers and --with-libs are specified, default to
2874 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2875 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2876 if test x
"${with_newlib}" = x
; then
2881 # Recognize --with-newlib/--without-newlib.
2882 case ${with_newlib} in
2883 no
) skipdirs
="${skipdirs} target-newlib" ;;
2884 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2887 # Handle --enable-gold, --enable-ld.
2888 # --disable-gold [--enable-ld]
2889 # Build only ld. Default option.
2890 # --enable-gold [--enable-ld]
2891 # Build both gold and ld. Install gold as "ld.gold", install ld
2892 # as "ld.bfd" and "ld".
2893 # --enable-gold=default [--enable-ld]
2894 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2895 # install ld as "ld.bfd".
2896 # --enable-gold[=default] --disable-ld
2897 # Build only gold, which is then installed as both "ld.gold" and "ld".
2898 # --enable-gold --enable-ld=default
2899 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2901 # In other words, ld is default
2902 # --enable-gold=default --enable-ld=default
2906 # Check whether --enable-gold was given.
2907 if test "${enable_gold+set}" = set; then :
2908 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2913 case "${ENABLE_GOLD}" in
2915 # Check for ELF target.
2918 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2919 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2920 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2921 |
*-*-solaris2* |
*-*-nto*)
2923 *-*-linux*aout
* |
*-*-linux*oldld
*)
2931 if test "$is_elf" = "yes"; then
2932 # Check for target supported by gold.
2934 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-*)
2935 configdirs
="$configdirs gold"
2936 if test x
${ENABLE_GOLD} = xdefault
; then
2947 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2951 # Check whether --enable-ld was given.
2952 if test "${enable_ld+set}" = set; then :
2953 enableval
=$enable_ld; ENABLE_LD
=$enableval
2959 case "${ENABLE_LD}" in
2961 if test x
${default_ld} != x
; then
2962 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
2968 if test x
${ENABLE_GOLD} != xyes
; then
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
2970 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
2972 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
2975 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
2979 # Configure extra directories which are host specific
2983 configdirs
="$configdirs libtermcap" ;;
2986 # A target can indicate whether a language isn't supported for some reason.
2987 # Only spaces may be used in this macro; not newlines or tabs.
2988 unsupported_languages
=
2990 # Remove more programs from consideration, based on the host or
2991 # target this usually means that a port of the program doesn't
2995 i
[3456789]86-*-msdosdjgpp*)
2996 noconfigdirs
="$noconfigdirs tcl tk itcl"
3001 # Check whether --enable-libquadmath was given.
3002 if test "${enable_libquadmath+set}" = set; then :
3003 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3005 ENABLE_LIBQUADMATH
=yes
3008 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3009 noconfigdirs
="$noconfigdirs target-libquadmath"
3013 # Check whether --enable-libquadmath-support was given.
3014 if test "${enable_libquadmath_support+set}" = set; then :
3015 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3017 ENABLE_LIBQUADMATH_SUPPORT
=yes
3020 enable_libquadmath_support
=
3021 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3022 enable_libquadmath_support
=no
3026 # Check whether --enable-libada was given.
3027 if test "${enable_libada+set}" = set; then :
3028 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3033 if test "${ENABLE_LIBADA}" != "yes" ; then
3034 noconfigdirs
="$noconfigdirs gnattools"
3037 # Check whether --enable-libssp was given.
3038 if test "${enable_libssp+set}" = set; then :
3039 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3045 # Save it here so that, even in case of --enable-libgcj, if the Java
3046 # front-end isn't enabled, we still get libgcj disabled.
3047 libgcj_saved
=$libgcj
3048 case $enable_libgcj in
3050 # If we reset it here, it won't get added to noconfigdirs in the
3051 # target-specific build rules, so it will be forcibly enabled
3052 # (unless the Java language itself isn't enabled).
3056 # Make sure we get it printed in the list of not supported target libs.
3057 # Don't disable libffi, though, other languages use it.
3058 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3059 # Clear libgcj_saved so that even if java is enabled libffi won't be
3065 # Check whether --enable-static-libjava was given.
3066 if test "${enable_static_libjava+set}" = set; then :
3067 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3069 ENABLE_STATIC_LIBJAVA
=no
3072 enable_static_libjava
=
3073 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3074 enable_static_libjava
=yes
3077 if test x
$enable_static_libjava != xyes
; then
3078 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3082 # Disable libmudflap on some systems.
3083 if test x
$enable_libmudflap = x
; then
3085 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3086 # Enable libmudflap by default in GNU and friends.
3089 # Enable libmudflap by default in FreeBSD.
3092 # Disable it by default everywhere else.
3093 noconfigdirs
="$noconfigdirs target-libmudflap"
3098 posix_based_os
="yes"
3100 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3102 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3104 *-*-solaris2* |
*-*-hpux11*)
3106 *-*-darwin* |
*-*-aix*)
3113 # Enable libgomp by default on POSIX hosted systems.
3114 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3115 # Disable libgomp on non POSIX hosted systems.
3116 noconfigdirs
="$noconfigdirs target-libgomp"
3119 # Enable libgupc by default on POSIX hosted systems.
3120 if test x
$enable_libgupc = x
-a $posix_based_os = "no" ; then
3121 # Disable libgupc on non POSIX hosted systems.
3122 noconfigdirs
="$noconfigdirs target-libgupc"
3125 # Disable libatomic on unsupported systems.
3126 if test -d ${srcdir}/libatomic
; then
3127 if test x
$enable_libatomic = x
; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3129 $as_echo_n "checking for libatomic support... " >&6; }
3130 if (srcdir
=${srcdir}/libatomic
; \
3131 .
${srcdir}/configure.tgt
; \
3132 test -n "$UNSUPPORTED")
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3136 noconfigdirs
="$noconfigdirs target-libatomic"
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3139 $as_echo "yes" >&6; }
3144 # Disable libitm on unsupported systems.
3145 if test -d ${srcdir}/libitm
; then
3146 if test x
$enable_libitm = x
; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3148 $as_echo_n "checking for libitm support... " >&6; }
3149 if (srcdir
=${srcdir}/libitm
; \
3150 .
${srcdir}/configure.tgt
; \
3151 test -n "$UNSUPPORTED")
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154 $as_echo "no" >&6; }
3155 noconfigdirs
="$noconfigdirs target-libitm"
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3158 $as_echo "yes" >&6; }
3163 # Disable libssp for some systems.
3166 # No hosted I/O support.
3167 noconfigdirs
="$noconfigdirs target-libssp"
3169 powerpc-
*-aix* | rs6000-
*-aix*)
3170 noconfigdirs
="$noconfigdirs target-libssp"
3173 # libssp uses a misaligned load to trigger a fault, but the RL78
3174 # doesn't fault for those - instead, it gives a build-time error
3175 # for explicit misaligned loads.
3176 noconfigdirs
="$noconfigdirs target-libssp"
3180 # Disable libstdc++-v3 for some systems.
3183 # VxWorks uses the Dinkumware C++ library.
3184 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3187 # the C++ libraries don't build on top of CE's C libraries
3188 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3191 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3195 # Disable Fortran for some systems.
3198 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3199 unsupported_languages
="$unsupported_languages fortran"
3203 # Disable Java if libffi is not supported.
3233 powerpc-
*-aix* | rs6000-
*-aix*)
3237 powerpc64-
*-freebsd*)
3241 s390-
*-* | s390x-
*-*)
3243 sh-
*-* | sh
[34]*-*-*)
3245 sh64-
*-* | sh5
*-*-*)
3252 unsupported_languages
="$unsupported_languages java"
3256 # Disable Java, libgcj or related libraries for some systems.
3260 i
[3456789]86-*-darwin*)
3262 x86_64-
*-darwin[912]*)
3265 noconfigdirs
="$noconfigdirs ${libgcj}"
3268 noconfigdirs
="$noconfigdirs ${libgcj}"
3271 noconfigdirs
="$noconfigdirs ${libgcj}"
3274 noconfigdirs
="$noconfigdirs ${libgcj}"
3277 noconfigdirs
="$noconfigdirs ${libgcj}"
3280 noconfigdirs
="$noconfigdirs ${libgcj}"
3283 noconfigdirs
="$noconfigdirs ${libgcj}"
3286 noconfigdirs
="$noconfigdirs ${libgcj}"
3289 noconfigdirs
="$noconfigdirs ${libgcj}"
3292 noconfigdirs
="$noconfigdirs target-boehm-gc"
3294 cris-
*-* | crisv32-
*-*)
3295 unsupported_languages
="$unsupported_languages java"
3299 *) # See PR46792 regarding target-libffi.
3300 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3304 # In this case, it's because the hppa64-linux target is for
3305 # the kernel only at this point and has no libc, and thus no
3306 # headers, crt*.o, etc., all of which are needed by these.
3307 unsupported_languages
="$unsupported_languages java"
3310 noconfigdirs
="$noconfigdirs ${libgcj}"
3315 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3316 # build on HP-UX 10.20.
3317 noconfigdirs
="$noconfigdirs ${libgcj}"
3320 noconfigdirs
="$noconfigdirs ${libgcj}"
3322 i
[3456789]86-w64-mingw*)
3323 noconfigdirs
="$noconfigdirs ${libgcj}"
3325 i
[3456789]86-*-mingw*)
3326 noconfigdirs
="$noconfigdirs ${libgcj}"
3329 noconfigdirs
="$noconfigdirs ${libgcj}"
3332 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3335 # copied from rs6000-*-* entry
3336 noconfigdirs
="$noconfigdirs ${libgcj}"
3339 noconfigdirs
="$noconfigdirs ${libgcj}"
3342 noconfigdirs
="$noconfigdirs ${libgcj}"
3346 # Default libgloss CPU subdirectory.
3347 libgloss_dir
="$target_cpu"
3350 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3356 cris-
*-* | crisv32-
*-*)
3365 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3366 libgloss_dir
=m68hc11
3368 m68
*-*-* | fido-
*-*)
3382 # Disable newlib and libgloss for various target OSes.
3385 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3387 i
[3456789]86-*-linux*)
3388 # This section makes it possible to build newlib natively on linux.
3389 # If we are using a cross compiler then don't configure newlib.
3390 if test x
${is_cross_compiler} != xno
; then
3391 noconfigdirs
="$noconfigdirs target-newlib"
3393 noconfigdirs
="$noconfigdirs target-libgloss"
3394 # If we are not using a cross compiler, do configure newlib.
3395 # Note however, that newlib will only be configured in this situation
3396 # if the --with-newlib option has been given, because otherwise
3397 # 'target-newlib' will appear in skipdirs.
3399 i
[3456789]86-*-rdos*)
3400 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3402 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3403 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3406 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3409 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3412 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3415 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3418 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3421 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3423 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3424 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3427 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3430 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3433 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3436 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3439 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3442 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3445 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3453 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3454 noconfigdirs
="$noconfigdirs sim target-rda"
3456 i
[3456789]86-*-darwin*)
3457 noconfigdirs
="$noconfigdirs ld gprof"
3458 noconfigdirs
="$noconfigdirs sim target-rda"
3460 x86_64-
*-darwin[912]*)
3461 noconfigdirs
="$noconfigdirs ld gas gprof"
3462 noconfigdirs
="$noconfigdirs sim target-rda"
3465 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3466 noconfigdirs
="$noconfigdirs sim target-rda"
3471 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3472 && test -f /usr
/local
/include
/gmp.h
; then
3477 # Remove unsupported stuff on all kaOS configurations.
3478 noconfigdirs
="$noconfigdirs target-libgloss"
3485 noconfigdirs
="$noconfigdirs target-libgloss"
3487 # The tpf target doesn't support gdb yet.
3489 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3492 noconfigdirs
="$noconfigdirs target-rda"
3497 # ld works, but does not support shared libraries.
3498 # gas doesn't generate exception information.
3499 noconfigdirs
="$noconfigdirs gas ld"
3502 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3505 # newlib is not 64 bit ready
3506 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3508 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3509 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3512 noconfigdirs
="$noconfigdirs target-libgloss"
3515 noconfigdirs
="$noconfigdirs target-libgloss"
3518 noconfigdirs
="$noconfigdirs ld target-libgloss"
3520 c4x-
*-* | tic4x-
*-*)
3521 noconfigdirs
="$noconfigdirs target-libgloss"
3524 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3527 noconfigdirs
="$noconfigdirs target-libgloss"
3530 noconfigdirs
="$noconfigdirs gdb"
3533 noconfigdirs
="$noconfigdirs gdb"
3536 noconfigdirs
="$noconfigdirs gprof"
3539 noconfigdirs
="$noconfigdirs target-libgloss"
3542 noconfigdirs
="$noconfigdirs target-libgloss"
3544 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3552 hppa
*-*-openbsd* | \
3556 noconfigdirs
="$noconfigdirs ld"
3561 noconfigdirs
="$noconfigdirs ld"
3564 noconfigdirs
="$noconfigdirs gdb"
3567 # No gdb support yet.
3568 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3571 # No ld support yet.
3572 noconfigdirs
="$noconfigdirs libgui itcl ld"
3575 # No ld support yet.
3576 noconfigdirs
="$noconfigdirs libgui itcl ld"
3578 i
[3456789]86-w64-mingw*)
3580 i
[3456789]86-*-mingw*)
3581 target_configdirs
="$target_configdirs target-winsup"
3584 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3585 noconfigdirs
="$noconfigdirs target-libgloss"
3586 # always build newlib if winsup directory is present.
3587 if test -d "$srcdir/winsup/cygwin"; then
3588 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3589 elif test -d "$srcdir/newlib"; then
3590 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3594 noconfigdirs
="$noconfigdirs target-libgloss"
3596 i
[3456789]86-*-sco3.2v5
*)
3597 # The linker does not yet know about weak symbols in COFF,
3598 # and is not configured to handle mixed ELF and COFF.
3599 noconfigdirs
="$noconfigdirs ld target-libgloss"
3601 i
[3456789]86-*-sco*)
3602 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3604 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3605 noconfigdirs
="$noconfigdirs target-libgloss"
3607 i
[3456789]86-*-sysv4*)
3608 noconfigdirs
="$noconfigdirs target-libgloss"
3610 i
[3456789]86-*-beos*)
3611 noconfigdirs
="$noconfigdirs gdb"
3613 i
[3456789]86-*-rdos*)
3614 noconfigdirs
="$noconfigdirs gdb"
3617 noconfigdirs
="$noconfigdirs gdb"
3620 noconfigdirs
="$noconfigdirs sim"
3623 # copied from rs6000-*-* entry
3624 noconfigdirs
="$noconfigdirs gprof"
3626 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3627 target_configdirs
="$target_configdirs target-winsup"
3628 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3629 # always build newlib.
3630 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3632 # This is temporary until we can link against shared libraries
3633 powerpcle-
*-solaris*)
3634 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3637 noconfigdirs
="$noconfigdirs gdb"
3640 noconfigdirs
="$noconfigdirs gprof"
3643 noconfigdirs
="$noconfigdirs gprof"
3646 noconfigdirs
="$noconfigdirs gprof"
3649 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3652 noconfigdirs
="$noconfigdirs gprof"
3655 if test x
$with_newlib = xyes
; then
3656 noconfigdirs
="$noconfigdirs gprof"
3660 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3663 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3666 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3671 noconfigdirs
="$noconfigdirs gprof"
3678 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3682 if test x
${is_cross_compiler} = xno
; then
3687 noconfigdirs
="$noconfigdirs sim"
3689 tilepro-
*-* | tilegx-
*-*)
3690 noconfigdirs
="$noconfigdirs sim"
3693 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3696 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3700 # If we aren't building newlib, then don't build libgloss, since libgloss
3701 # depends upon some newlib header files.
3702 case "${noconfigdirs}" in
3703 *target-libgloss
*) ;;
3704 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3707 # Work in distributions that contain no compiler tools, like Autoconf.
3708 host_makefile_frag
=/dev
/null
3709 if test -d ${srcdir}/config
; then
3711 i
[3456789]86-*-msdosdjgpp*)
3712 host_makefile_frag
="config/mh-djgpp"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3717 $as_echo_n "checking to see if cat works as expected... " >&6; }
3718 echo a
>cygwin-cat-check
3719 if test `cat cygwin-cat-check` = a
; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3722 $as_echo "yes" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 as_fn_error
"The cat command does not ignore carriage return characters.
3728 Please either mount the build directory in binary mode or run the following
3729 commands before running any configure script:
3735 host_makefile_frag
="config/mh-cygwin"
3738 host_makefile_frag
="config/mh-mingw"
3741 host_makefile_frag
="config/mh-pa-hpux10"
3744 host_makefile_frag
="config/mh-pa"
3747 host_makefile_frag
="config/mh-pa"
3750 host_makefile_frag
="config/mh-darwin"
3753 host_makefile_frag
="config/mh-ppc-aix"
3756 host_makefile_frag
="config/mh-ppc-aix"
3761 if test "${build}" != "${host}" ; then
3762 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3763 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3764 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3765 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3766 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3767 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3768 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3769 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
3770 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3771 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3772 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3773 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3774 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3775 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3777 AR_FOR_BUILD
="\$(AR)"
3778 AS_FOR_BUILD
="\$(AS)"
3779 CC_FOR_BUILD
="\$(CC)"
3780 CXX_FOR_BUILD
="\$(CXX)"
3781 GCJ_FOR_BUILD
="\$(GCJ)"
3782 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3783 GOC_FOR_BUILD
="\$(GOC)"
3784 GUPC_FOR_BUILD
="\$(GUPC)"
3785 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3786 LD_FOR_BUILD
="\$(LD)"
3787 NM_FOR_BUILD
="\$(NM)"
3788 RANLIB_FOR_BUILD
="\$(RANLIB)"
3789 WINDRES_FOR_BUILD
="\$(WINDRES)"
3790 WINDMC_FOR_BUILD
="\$(WINDMC)"
3794 ac_cpp
='$CPP $CPPFLAGS'
3795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3798 if test -n "$ac_tool_prefix"; then
3799 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3800 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3802 $as_echo_n "checking for $ac_word... " >&6; }
3803 if test "${ac_cv_prog_CC+set}" = set; then :
3804 $as_echo_n "(cached) " >&6
3806 if test -n "$CC"; then
3807 ac_cv_prog_CC
="$CC" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3816 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 if test -n "$CC"; then
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3829 $as_echo "$CC" >&6; }
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3832 $as_echo "no" >&6; }
3837 if test -z "$ac_cv_prog_CC"; then
3839 # Extract the first word of "gcc", so it can be a program name with args.
3840 set dummy gcc
; ac_word
=$2
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3842 $as_echo_n "checking for $ac_word... " >&6; }
3843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3844 $as_echo_n "(cached) " >&6
3846 if test -n "$ac_ct_CC"; then
3847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir
=.
3854 for ac_exec_ext
in '' $ac_executable_extensions; do
3855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3856 ac_cv_prog_ac_ct_CC
="gcc"
3857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3867 if test -n "$ac_ct_CC"; then
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3869 $as_echo "$ac_ct_CC" >&6; }
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3872 $as_echo "no" >&6; }
3875 if test "x$ac_ct_CC" = x
; then
3878 case $cross_compiling:$ac_tool_warned in
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3882 ac_tool_warned
=yes ;;
3890 if test -z "$CC"; then
3891 if test -n "$ac_tool_prefix"; then
3892 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3893 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if test "${ac_cv_prog_CC+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 if test -n "$CC"; then
3900 ac_cv_prog_CC
="$CC" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3909 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 if test -n "$CC"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3922 $as_echo "$CC" >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3931 if test -z "$CC"; then
3932 # Extract the first word of "cc", so it can be a program name with args.
3933 set dummy cc
; ac_word
=$2
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if test "${ac_cv_prog_CC+set}" = set; then :
3937 $as_echo_n "(cached) " >&6
3939 if test -n "$CC"; then
3940 ac_cv_prog_CC
="$CC" # Let the user override the test.
3943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3947 test -z "$as_dir" && as_dir
=.
3948 for ac_exec_ext
in '' $ac_executable_extensions; do
3949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3950 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3951 ac_prog_rejected
=yes
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 if test $ac_prog_rejected = yes; then
3963 # We found a bogon in the path, so make sure we never use it.
3964 set dummy
$ac_cv_prog_CC
3966 if test $# != 0; then
3967 # We chose a different compiler from the bogus one.
3968 # However, it has the same basename, so the bogon will be chosen
3969 # first if we set CC to just the basename; use the full file name.
3971 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3977 if test -n "$CC"; then
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3979 $as_echo "$CC" >&6; }
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982 $as_echo "no" >&6; }
3987 if test -z "$CC"; then
3988 if test -n "$ac_tool_prefix"; then
3989 for ac_prog
in cl.exe
3991 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3992 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3994 $as_echo_n "checking for $ac_word... " >&6; }
3995 if test "${ac_cv_prog_CC+set}" = set; then :
3996 $as_echo_n "(cached) " >&6
3998 if test -n "$CC"; then
3999 ac_cv_prog_CC
="$CC" # Let the user override the test.
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_exec_ext
in '' $ac_executable_extensions; do
4007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4008 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4019 if test -n "$CC"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4021 $as_echo "$CC" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4028 test -n "$CC" && break
4031 if test -z "$CC"; then
4033 for ac_prog
in cl.exe
4035 # Extract the first word of "$ac_prog", so it can be a program name with args.
4036 set dummy
$ac_prog; ac_word
=$2
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4038 $as_echo_n "checking for $ac_word... " >&6; }
4039 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4040 $as_echo_n "(cached) " >&6
4042 if test -n "$ac_ct_CC"; then
4043 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4049 test -z "$as_dir" && as_dir
=.
4050 for ac_exec_ext
in '' $ac_executable_extensions; do
4051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052 ac_cv_prog_ac_ct_CC
="$ac_prog"
4053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4063 if test -n "$ac_ct_CC"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4065 $as_echo "$ac_ct_CC" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4072 test -n "$ac_ct_CC" && break
4075 if test "x$ac_ct_CC" = x
; then
4078 case $cross_compiling:$ac_tool_warned in
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4081 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4082 ac_tool_warned
=yes ;;
4091 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4093 as_fn_error
"no acceptable C compiler found in \$PATH
4094 See \`config.log' for more details." "$LINENO" 5; }
4096 # Provide some information about the compiler.
4097 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4100 for ac_option
in --version -v -V -qversion; do
4101 { { ac_try
="$ac_compiler $ac_option >&5"
4103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4104 *) ac_try_echo=$ac_try;;
4106 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4107 $as_echo "$ac_try_echo"; } >&5
4108 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4110 if test -s conftest.err; then
4112 ... rest of stderr output deleted ...
4113 10q' conftest.err >conftest.er1
4114 cat conftest.er1 >&5
4115 rm -f conftest.er1 conftest.err
4117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4118 test $ac_status = 0; }
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4132 ac_clean_files_save=$ac_clean_files
4133 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4134 # Try to create an executable without -o first, disregard a.out.
4135 # It will help us diagnose broken compilers, and finding out an intuition
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4138 $as_echo_n "checking for C compiler default output file name... " >&6; }
4139 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4141 # The possible output files:
4142 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4145 for ac_file in $ac_files
4148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4149 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4154 if { { ac_try="$ac_link_default"
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_link_default") 2>&5
4163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4164 test $ac_status = 0; }; then :
4165 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4166 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4167 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4168 # so that the user can short-circuit this test for compilers unknown to
4170 for ac_file
in $ac_files ''
4172 test -f "$ac_file" ||
continue
4174 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4177 # We found the default executable, but exeext='' is most
4181 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4183 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4185 # We set ac_cv_exeext here because the later test for it is not
4186 # safe: cross compilers may not add the suffix if given an `-o'
4187 # argument, so we may need to know it at that point already.
4188 # Even if this section looks crufty: it has the advantage of
4195 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4201 $as_echo "$ac_file" >&6; }
4202 if test -z "$ac_file"; then :
4203 $as_echo "$as_me: failed program was:" >&5
4204 sed 's/^/| /' conftest.
$ac_ext >&5
4206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208 { as_fn_set_status
77
4209 as_fn_error
"C compiler cannot create executables
4210 See \`config.log' for more details." "$LINENO" 5; }; }
4212 ac_exeext
=$ac_cv_exeext
4214 # Check that the compiler produces executables we can run. If not, either
4215 # the compiler is broken, or we cross compile.
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4217 $as_echo_n "checking whether the C compiler works... " >&6; }
4218 # If not cross compiling, check that we can run a simple program.
4219 if test "$cross_compiling" != yes; then
4220 if { ac_try
='./$ac_file'
4221 { { case "(($ac_try" in
4222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4223 *) ac_try_echo=$ac_try;;
4225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4226 $as_echo "$ac_try_echo"; } >&5
4227 (eval "$ac_try") 2>&5
4229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4230 test $ac_status = 0; }; }; then
4233 if test "$cross_compiling" = maybe; then
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error "cannot run C compiled programs.
4239 If you meant to cross compile
, use \
`--host'.
4240 See \`config.log
' for more details." "$LINENO" 5; }
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4245 $as_echo "yes" >&6; }
4247 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4248 ac_clean_files=$ac_clean_files_save
4249 # Check that the compiler produces executables we can run. If not, either
4250 # the compiler is broken, or we cross compile.
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4252 $as_echo_n "checking whether we are cross compiling... " >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4254 $as_echo "$cross_compiling" >&6; }
4256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4257 $as_echo_n "checking for suffix of executables... " >&6; }
4258 if { { ac_try="$ac_link"
4260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4261 *) ac_try_echo=$ac_try;;
4263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4264 $as_echo "$ac_try_echo"; } >&5
4265 (eval "$ac_link") 2>&5
4267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4268 test $ac_status = 0; }; then :
4269 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4270 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4271 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4273 for ac_file
in conftest.exe conftest conftest.
*; do
4274 test -f "$ac_file" ||
continue
4276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4277 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4285 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4286 See \`config.log' for more details." "$LINENO" 5; }
4288 rm -f conftest
$ac_cv_exeext
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4290 $as_echo "$ac_cv_exeext" >&6; }
4292 rm -f conftest.
$ac_ext
4293 EXEEXT
=$ac_cv_exeext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4296 $as_echo_n "checking for suffix of object files... " >&6; }
4297 if test "${ac_cv_objext+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4301 /* end confdefs.h. */
4311 rm -f conftest.o conftest.obj
4312 if { { ac_try
="$ac_compile"
4314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4315 *) ac_try_echo=$ac_try;;
4317 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4318 $as_echo "$ac_try_echo"; } >&5
4319 (eval "$ac_compile") 2>&5
4321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4322 test $ac_status = 0; }; then :
4323 for ac_file in conftest.o conftest.obj conftest.*; do
4324 test -f "$ac_file" || continue;
4326 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4327 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4332 $as_echo "$as_me: failed program was:" >&5
4333 sed 's/^/| /' conftest.$ac_ext >&5
4335 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4337 as_fn_error "cannot compute suffix of object files
: cannot compile
4338 See \
`config.log' for more details." "$LINENO" 5; }
4340 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4343 $as_echo "$ac_cv_objext" >&6; }
4344 OBJEXT=$ac_cv_objext
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4347 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4348 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4349 $as_echo_n "(cached) " >&6
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4365 if ac_fn_c_try_compile "$LINENO"; then :
4370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4371 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4375 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4376 if test $ac_compiler_gnu = yes; then
4381 ac_test_CFLAGS=${CFLAGS+set}
4382 ac_save_CFLAGS=$CFLAGS
4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4384 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4385 if test "${ac_cv_prog_cc_g+set}" = set; then :
4386 $as_echo_n "(cached) " >&6
4388 ac_save_c_werror_flag=$ac_c_werror_flag
4389 ac_c_werror_flag=yes
4392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4393 /* end confdefs.h. */
4403 if ac_fn_c_try_compile "$LINENO"; then :
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4418 if ac_fn_c_try_compile "$LINENO"; then :
4421 ac_c_werror_flag=$ac_save_c_werror_flag
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4434 if ac_fn_c_try_compile "$LINENO"; then :
4437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4442 ac_c_werror_flag=$ac_save_c_werror_flag
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4445 $as_echo "$ac_cv_prog_cc_g" >&6; }
4446 if test "$ac_test_CFLAGS" = set; then
4447 CFLAGS=$ac_save_CFLAGS
4448 elif test $ac_cv_prog_cc_g = yes; then
4449 if test "$GCC" = yes; then
4455 if test "$GCC" = yes; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4462 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4463 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4464 $as_echo_n "(cached) " >&6
4466 ac_cv_prog_cc_c89=no
4468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4469 /* end confdefs.h. */
4472 #include <sys/types.h>
4473 #include <sys/stat.h>
4474 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4475 struct buf { int x; };
4476 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4477 static char *e (p, i)
4483 static char *f (char * (*g) (char **, int), char **p, ...)
4488 s = g (p, va_arg (v,int));
4493 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4494 function prototypes and stuff, but not '\xHH' hex character constants.
4495 These don't provoke an error unfortunately, instead are silently treated
4496 as 'x'. The following induces an error, until -std is added to get
4497 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4498 array size at least. It's necessary to write '\x00'==0 to get something
4499 that's true only with -std. */
4500 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4502 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4503 inside strings and character constants. */
4505 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4507 int test (int i, double x);
4508 struct s1 {int (*f) (int a);};
4509 struct s2 {int (*f) (double a);};
4510 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4516 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4521 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4522 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4524 CC="$ac_save_CC $ac_arg"
4525 if ac_fn_c_try_compile "$LINENO"; then :
4526 ac_cv_prog_cc_c89=$ac_arg
4528 rm -f core conftest.err conftest.$ac_objext
4529 test "x$ac_cv_prog_cc_c89" != "xno" && break
4531 rm -f conftest.$ac_ext
4536 case "x$ac_cv_prog_cc_c89" in
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4539 $as_echo "none needed" >&6; } ;;
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4542 $as_echo "unsupported" >&6; } ;;
4544 CC="$CC $ac_cv_prog_cc_c89"
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4546 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4548 if test "x$ac_cv_prog_cc_c89" != xno; then :
4553 ac_cpp='$CPP $CPPFLAGS'
4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4559 ac_cpp='$CXXCPP $CPPFLAGS'
4560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4563 if test -z "$CXX"; then
4564 if test -n "$CCC"; then
4567 if test -n "$ac_tool_prefix"; then
4568 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_CXX+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$CXX"; then
4578 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir=.
4585 for ac_exec_ext in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4598 if test -n "$CXX"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4600 $as_echo "$CXX" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 test -n "$CXX" && break
4610 if test -z "$CXX"; then
4612 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4614 # Extract the first word of "$ac_prog", so it can be a program name with args.
4615 set dummy $ac_prog; ac_word=$2
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4617 $as_echo_n "checking for $ac_word... " >&6; }
4618 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4619 $as_echo_n "(cached) " >&6
4621 if test -n "$ac_ct_CXX"; then
4622 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4628 test -z "$as_dir" && as_dir=.
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4631 ac_cv_prog_ac_ct_CXX="$ac_prog"
4632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4641 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4642 if test -n "$ac_ct_CXX"; then
4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4644 $as_echo "$ac_ct_CXX" >&6; }
4646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4647 $as_echo "no" >&6; }
4651 test -n "$ac_ct_CXX" && break
4654 if test "x$ac_ct_CXX" = x; then
4657 case $cross_compiling:$ac_tool_warned in
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4661 ac_tool_warned=yes ;;
4669 # Provide some information about the compiler.
4670 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4673 for ac_option in --version -v -V -qversion; do
4674 { { ac_try="$ac_compiler $ac_option >&5"
4676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4677 *) ac_try_echo
=$ac_try;;
4679 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4680 $as_echo "$ac_try_echo"; } >&5
4681 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4683 if test -s conftest.err
; then
4685 ... rest of stderr output deleted ...
4686 10q' conftest.err
>conftest.er1
4687 cat conftest.er1
>&5
4688 rm -f conftest.er1 conftest.err
4690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4691 test $ac_status = 0; }
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4695 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4696 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4713 if ac_fn_cxx_try_compile
"$LINENO"; then :
4718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4723 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4724 if test $ac_compiler_gnu = yes; then
4729 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4730 ac_save_CXXFLAGS
=$CXXFLAGS
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4732 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4733 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4737 ac_cxx_werror_flag
=yes
4740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4741 /* end confdefs.h. */
4751 if ac_fn_cxx_try_compile
"$LINENO"; then :
4752 ac_cv_prog_cxx_g
=yes
4755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4756 /* end confdefs.h. */
4766 if ac_fn_cxx_try_compile
"$LINENO"; then :
4769 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4782 if ac_fn_cxx_try_compile
"$LINENO"; then :
4783 ac_cv_prog_cxx_g
=yes
4785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4790 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4793 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4794 if test "$ac_test_CXXFLAGS" = set; then
4795 CXXFLAGS
=$ac_save_CXXFLAGS
4796 elif test $ac_cv_prog_cxx_g = yes; then
4797 if test "$GXX" = yes; then
4803 if test "$GXX" = yes; then
4810 ac_cpp
='$CPP $CPPFLAGS'
4811 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4812 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4813 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4816 # We must set the default linker to the linker used by gcc for the correct
4817 # operation of libtool. If LD is not defined and we are using gcc, try to
4818 # set the LD default to the ld used by gcc.
4819 if test -z "$LD"; then
4820 if test "$GCC" = yes; then
4823 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4825 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4827 case $gcc_prog_ld in
4828 # Accept absolute paths.
4829 [\\/]* |
[A-Za-z
]:[\\/]*)
4830 LD
="$gcc_prog_ld" ;;
4838 if test -n "$ac_tool_prefix"; then
4839 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4840 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4842 $as_echo_n "checking for $ac_word... " >&6; }
4843 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4844 $as_echo_n "(cached) " >&6
4846 if test -n "$GNATBIND"; then
4847 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4853 test -z "$as_dir" && as_dir
=.
4854 for ac_exec_ext
in '' $ac_executable_extensions; do
4855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4856 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4866 GNATBIND
=$ac_cv_prog_GNATBIND
4867 if test -n "$GNATBIND"; then
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4869 $as_echo "$GNATBIND" >&6; }
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4872 $as_echo "no" >&6; }
4877 if test -z "$ac_cv_prog_GNATBIND"; then
4878 ac_ct_GNATBIND
=$GNATBIND
4879 # Extract the first word of "gnatbind", so it can be a program name with args.
4880 set dummy gnatbind
; ac_word
=$2
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4882 $as_echo_n "checking for $ac_word... " >&6; }
4883 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4886 if test -n "$ac_ct_GNATBIND"; then
4887 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
4889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4893 test -z "$as_dir" && as_dir
=.
4894 for ac_exec_ext
in '' $ac_executable_extensions; do
4895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4896 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
4897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4906 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
4907 if test -n "$ac_ct_GNATBIND"; then
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
4909 $as_echo "$ac_ct_GNATBIND" >&6; }
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4912 $as_echo "no" >&6; }
4915 if test "x$ac_ct_GNATBIND" = x
; then
4918 case $cross_compiling:$ac_tool_warned in
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922 ac_tool_warned
=yes ;;
4924 GNATBIND
=$ac_ct_GNATBIND
4927 GNATBIND
="$ac_cv_prog_GNATBIND"
4930 if test -n "$ac_tool_prefix"; then
4931 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
4932 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$GNATMAKE"; then
4939 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 GNATMAKE
=$ac_cv_prog_GNATMAKE
4959 if test -n "$GNATMAKE"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
4961 $as_echo "$GNATMAKE" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4969 if test -z "$ac_cv_prog_GNATMAKE"; then
4970 ac_ct_GNATMAKE
=$GNATMAKE
4971 # Extract the first word of "gnatmake", so it can be a program name with args.
4972 set dummy gnatmake
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$ac_ct_GNATMAKE"; then
4979 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4998 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
4999 if test -n "$ac_ct_GNATMAKE"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5001 $as_echo "$ac_ct_GNATMAKE" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5007 if test "x$ac_ct_GNATMAKE" = x
; then
5010 case $cross_compiling:$ac_tool_warned in
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned
=yes ;;
5016 GNATMAKE
=$ac_ct_GNATMAKE
5019 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5023 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5024 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5025 $as_echo_n "(cached) " >&6
5027 cat >conftest.adb
<<EOF
5028 procedure conftest is begin null; end conftest;
5030 acx_cv_cc_gcc_supports_ada
=no
5031 # There is a bug in old released versions of GCC which causes the
5032 # driver to exit successfully when the appropriate language module
5033 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5034 # Therefore we must check for the error message as well as an
5035 # unsuccessful exit.
5036 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5037 # given a .adb file, but produce no object file. So we must check
5038 # if an object file was really produced to guard against this.
5039 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5040 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5041 acx_cv_cc_gcc_supports_ada
=yes
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5046 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5048 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5055 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5056 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5061 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5062 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5063 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5066 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5069 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5070 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5073 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5080 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5081 do_compare
="$gcc_cv_prog_cmp_skip"
5085 # Check whether --enable-bootstrap was given.
5086 if test "${enable_bootstrap+set}" = set; then :
5087 enableval
=$enable_bootstrap;
5089 enable_bootstrap
=default
5093 # Issue errors and warnings for invalid/strange bootstrap combinations.
5094 if test -r $srcdir/gcc
/configure
; then
5100 case "$have_compiler:$host:$target:$enable_bootstrap" in
5103 # Default behavior. Enable bootstrap if we have a compiler
5104 # and we are in a native configuration.
5105 yes:$build:$build:default
)
5106 enable_bootstrap
=yes ;;
5109 enable_bootstrap
=no
;;
5111 # We have a compiler and we are in a native configuration, bootstrap is ok
5112 yes:$build:$build:yes)
5115 # Other configurations, but we have a compiler. Assume the user knows
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5119 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5122 # No compiler: if they passed --enable-bootstrap explicitly, fail
5124 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5126 # Fail if wrong command line
5128 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5132 # Used for setting $lt_cv_objdir
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5134 $as_echo_n "checking for objdir... " >&6; }
5135 if test "${lt_cv_objdir+set}" = set; then :
5136 $as_echo_n "(cached) " >&6
5138 rm -f .libs
2>/dev
/null
5139 mkdir .libs
2>/dev
/null
5140 if test -d .libs
; then
5143 # MS-DOS does not allow filenames that begin with a dot.
5146 rmdir .libs
2>/dev
/null
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5149 $as_echo "$lt_cv_objdir" >&6; }
5150 objdir
=$lt_cv_objdir
5156 cat >>confdefs.h
<<_ACEOF
5157 #define LT_OBJDIR "$lt_cv_objdir/"
5162 # Check for GMP, MPFR and MPC
5163 gmplibs
="-lmpc -lmpfr -lgmp"
5167 # Specify a location for mpc
5168 # check for this first so it ends up on the link line before mpfr.
5170 # Check whether --with-mpc was given.
5171 if test "${with_mpc+set}" = set; then :
5176 # Check whether --with-mpc-include was given.
5177 if test "${with_mpc_include+set}" = set; then :
5178 withval
=$with_mpc_include;
5182 # Check whether --with-mpc-lib was given.
5183 if test "${with_mpc_lib+set}" = set; then :
5184 withval
=$with_mpc_lib;
5188 if test "x$with_mpc" != x
; then
5189 gmplibs
="-L$with_mpc/lib $gmplibs"
5190 gmpinc
="-I$with_mpc/include $gmpinc"
5192 if test "x$with_mpc_include" != x
; then
5193 gmpinc
="-I$with_mpc_include $gmpinc"
5195 if test "x$with_mpc_lib" != x
; then
5196 gmplibs
="-L$with_mpc_lib $gmplibs"
5198 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5199 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5200 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5201 # Do not test the mpc version. Assume that it is sufficient, since
5202 # it is in the source tree, and the library has not been built yet
5203 # but it would be included on the link line in the version check below
5204 # hence making the test fail.
5208 # Specify a location for mpfr
5209 # check for this first so it ends up on the link line before gmp.
5211 # Check whether --with-mpfr-dir was given.
5212 if test "${with_mpfr_dir+set}" = set; then :
5213 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5214 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5219 # Check whether --with-mpfr was given.
5220 if test "${with_mpfr+set}" = set; then :
5225 # Check whether --with-mpfr-include was given.
5226 if test "${with_mpfr_include+set}" = set; then :
5227 withval
=$with_mpfr_include;
5231 # Check whether --with-mpfr-lib was given.
5232 if test "${with_mpfr_lib+set}" = set; then :
5233 withval
=$with_mpfr_lib;
5237 if test "x$with_mpfr" != x
; then
5238 gmplibs
="-L$with_mpfr/lib $gmplibs"
5239 gmpinc
="-I$with_mpfr/include $gmpinc"
5241 if test "x$with_mpfr_include" != x
; then
5242 gmpinc
="-I$with_mpfr_include $gmpinc"
5244 if test "x$with_mpfr_lib" != x
; then
5245 gmplibs
="-L$with_mpfr_lib $gmplibs"
5247 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5248 # MPFR v3.1.0 moved the sources into a src sub-directory.
5249 if test -d ${srcdir}/mpfr
/src
; then
5250 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5251 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5252 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5254 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5255 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5256 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5258 # Do not test the mpfr version. Assume that it is sufficient, since
5259 # it is in the source tree, and the library has not been built yet
5260 # but it would be included on the link line in the version check below
5261 # hence making the test fail.
5265 # Specify a location for gmp
5267 # Check whether --with-gmp-dir was given.
5268 if test "${with_gmp_dir+set}" = set; then :
5269 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5270 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5275 # Check whether --with-gmp was given.
5276 if test "${with_gmp+set}" = set; then :
5281 # Check whether --with-gmp-include was given.
5282 if test "${with_gmp_include+set}" = set; then :
5283 withval
=$with_gmp_include;
5287 # Check whether --with-gmp-lib was given.
5288 if test "${with_gmp_lib+set}" = set; then :
5289 withval
=$with_gmp_lib;
5294 if test "x$with_gmp" != x
; then
5295 gmplibs
="-L$with_gmp/lib $gmplibs"
5296 gmpinc
="-I$with_gmp/include $gmpinc"
5298 if test "x$with_gmp_include" != x
; then
5299 gmpinc
="-I$with_gmp_include $gmpinc"
5301 if test "x$with_gmp_lib" != x
; then
5302 gmplibs
="-L$with_gmp_lib $gmplibs"
5304 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5305 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5306 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5307 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5308 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5309 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5310 # Do not test the gmp version. Assume that it is sufficient, since
5311 # it is in the source tree, and the library has not been built yet
5312 # but it would be included on the link line in the version check below
5313 # hence making the test fail.
5317 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5319 saved_CFLAGS
="$CFLAGS"
5320 CFLAGS
="$CFLAGS $gmpinc"
5321 # Check for the recommended and required versions of GMP.
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5323 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5332 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5333 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5334 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,0)
5342 if ac_fn_c_try_compile
"$LINENO"; then :
5343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5350 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5351 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5352 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5360 if ac_fn_c_try_compile
"$LINENO"; then :
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362 $as_echo "yes" >&6; }
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5365 $as_echo "buggy but acceptable" >&6; }
5367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5370 $as_echo "no" >&6; }; have_gmp
=no
5372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5374 # If we have GMP, check the MPFR version.
5375 if test x
"$have_gmp" = xyes
; then
5376 # Check for the recommended and required versions of MPFR.
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5378 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5387 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5395 if ac_fn_c_try_compile
"$LINENO"; then :
5396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5397 /* end confdefs.h. */
5404 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5412 if ac_fn_c_try_compile
"$LINENO"; then :
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5414 $as_echo "yes" >&6; }
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5417 $as_echo "buggy but acceptable" >&6; }
5419 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }; have_gmp
=no
5424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5427 # Check for the MPC header version.
5428 if test x
"$have_gmp" = xyes
; then
5429 # Check for the recommended and required versions of MPC.
5430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5431 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5433 /* end confdefs.h. */
5439 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5447 if ac_fn_c_try_compile
"$LINENO"; then :
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5455 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5463 if ac_fn_c_try_compile
"$LINENO"; then :
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5465 $as_echo "yes" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5468 $as_echo "buggy but acceptable" >&6; }
5470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5473 $as_echo "no" >&6; }; have_gmp
=no
5475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5478 # Now check the MPFR library.
5479 if test x
"$have_gmp" = xyes
; then
5481 LIBS
="$LIBS $gmplibs"
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5483 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5485 /* end confdefs.h. */
5497 mpfr_atan2 (n, n, x, GMP_RNDN);
5498 mpfr_erfc (n, x, GMP_RNDN);
5499 mpfr_subnormalize (x, t, GMP_RNDN);
5503 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5504 mpc_cosh (c, c, MPC_RNDNN);
5505 mpc_pow (c, c, c, MPC_RNDNN);
5506 mpc_acosh (c, c, MPC_RNDNN);
5513 if ac_fn_c_try_link
"$LINENO"; then :
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5515 $as_echo "yes" >&6; }
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5518 $as_echo "no" >&6; }; have_gmp
=no
5520 rm -f core conftest.err conftest.
$ac_objext \
5521 conftest
$ac_exeext conftest.
$ac_ext
5525 CFLAGS
="$saved_CFLAGS"
5527 # The library versions listed in the error message below should match
5528 # the HARD-minimums enforced above.
5529 if test x
$have_gmp != xyes
; then
5530 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5531 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5532 their locations. Source code for these libraries can be found at
5533 their respective hosting sites as well as at
5534 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5535 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5536 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5537 make sure that you have installed both the libraries and the header
5538 files. They may be located in separate packages." "$LINENO" 5
5542 # Flags needed for both GMP, MPFR and/or MPC.
5550 # Allow host libstdc++ to be specified for static linking with PPL.
5552 # Check whether --with-host-libstdcxx was given.
5553 if test "${with_host_libstdcxx+set}" = set; then :
5554 withval
=$with_host_libstdcxx;
5558 case $with_host_libstdcxx in
5560 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5564 # Linker flags to use for stage1 or when not boostrapping.
5566 # Check whether --with-stage1-ldflags was given.
5567 if test "${with_stage1_ldflags+set}" = set; then :
5568 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5571 stage1_ldflags
=$withval
5579 # Libraries to use for stage1 or when not bootstrapping.
5581 # Check whether --with-stage1-libs was given.
5582 if test "${with_stage1_libs+set}" = set; then :
5583 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5586 stage1_libs
=$withval
5589 stage1_libs
=$with_host_libstdcxx
5594 # Libraries to use for stage2 and later builds. This defaults to the
5595 # argument passed to --with-host-libstdcxx.
5597 # Check whether --with-boot-libs was given.
5598 if test "${with_boot_libs+set}" = set; then :
5599 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5602 poststage1_libs
=$withval
5605 poststage1_libs
=$with_host_libstdcxx
5610 # Linker flags to use for stage2 and later builds.
5612 # Check whether --with-boot-ldflags was given.
5613 if test "${with_boot_ldflags+set}" = set; then :
5614 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5617 poststage1_ldflags
=$withval
5621 # In stages 2 and 3, default to linking libstdc++ and libgcc
5622 # statically. But if the user explicitly specified the libraries to
5623 # use, trust that they are doing what they want.
5624 if test "$poststage1_libs" = ""; then
5625 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5634 # Check whether --with-isl was given.
5635 if test "${with_isl+set}" = set; then :
5640 # Check whether --with-isl-include was given.
5641 if test "${with_isl_include+set}" = set; then :
5642 withval
=$with_isl_include;
5646 # Check whether --with-isl-lib was given.
5647 if test "${with_isl_lib+set}" = set; then :
5648 withval
=$with_isl_lib;
5652 # Check whether --enable-isl-version-check was given.
5653 if test "${enable_isl_version_check+set}" = set; then :
5654 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5656 ENABLE_ISL_CHECK
=yes
5660 # Initialize isllibs and islinc.
5669 isllibs
="-L$with_isl/lib"
5670 islinc
="-I$with_isl/include"
5673 if test "x${with_isl_include}" != x
; then
5674 islinc
="-I$with_isl_include"
5676 if test "x${with_isl_lib}" != x
; then
5677 isllibs
="-L$with_isl_lib"
5679 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5680 && test -d ${srcdir}/isl
; then
5681 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5682 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5686 isllibs
="${isllibs} -lisl"
5692 if test "x$with_isl" != "xno"; then
5694 if test "${ENABLE_ISL_CHECK}" = yes ; then
5695 _isl_saved_CFLAGS
=$CFLAGS
5696 _isl_saved_LDFLAGS
=$LDFLAGS
5697 _isl_saved_LIBS
=$LIBS
5699 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5700 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5701 LIBS
="${_isl_saved_LIBS} -lisl"
5704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5705 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5706 if test "${gcc_cv_isl+set}" = set; then :
5707 $as_echo_n "(cached) " >&6
5709 if test "$cross_compiling" = yes; then :
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5714 #include <isl/version.h>
5719 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5726 if ac_fn_c_try_run
"$LINENO"; then :
5731 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5732 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5737 $as_echo "$gcc_cv_isl" >&6; }
5739 CFLAGS
=$_isl_saved_CFLAGS
5740 LDFLAGS
=$_isl_saved_LDFLAGS
5741 LIBS
=$_isl_saved_LIBS
5750 if test "x${with_isl}" = xno
; then
5751 graphite_requested
=no
5752 elif test "x${with_isl}" != x \
5753 ||
test "x${with_isl_include}" != x \
5754 ||
test "x${with_isl_lib}" != x
; then
5755 graphite_requested
=yes
5757 graphite_requested
=no
5762 if test "${gcc_cv_isl}" = no
; then
5767 if test "${graphite_requested}" = yes \
5768 && test "x${isllibs}" = x \
5769 && test "x${islinc}" = x
; then
5771 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5780 # Check whether --with-cloog was given.
5781 if test "${with_cloog+set}" = set; then :
5782 withval
=$with_cloog;
5786 # Check whether --with-cloog-include was given.
5787 if test "${with_cloog_include+set}" = set; then :
5788 withval
=$with_cloog_include;
5792 # Check whether --with-cloog-lib was given.
5793 if test "${with_cloog_lib+set}" = set; then :
5794 withval
=$with_cloog_lib;
5798 # Check whether --enable-cloog-version-check was given.
5799 if test "${enable_cloog_version_check+set}" = set; then :
5800 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5802 ENABLE_CLOOG_CHECK
=yes
5806 # Initialize clooglibs and clooginc.
5815 clooglibs
="-L$with_cloog/lib"
5816 clooginc
="-I$with_cloog/include"
5819 if test "x${with_cloog_include}" != x
; then
5820 clooginc
="-I$with_cloog_include"
5822 if test "x${with_cloog_lib}" != x
; then
5823 clooglibs
="-L$with_cloog_lib"
5825 if test "x${clooginc}" == x
&& test "x${clooglibs}" == x \
5826 && test -d ${srcdir}/cloog
; then
5827 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5828 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5831 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5832 clooglibs
="${clooglibs} -lcloog-isl ${isllibs}"
5838 if test "x$isllibs" = x
&& test "x$islinc" = x
; then
5841 elif test "x$with_cloog" != "xno"; then
5845 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5846 _cloog_saved_CFLAGS
=$CFLAGS
5847 _cloog_saved_LDFLAGS
=$LDFLAGS
5849 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5850 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5853 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5854 if test "${gcc_cv_cloog+set}" = set; then :
5855 $as_echo_n "(cached) " >&6
5857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5858 /* end confdefs.h. */
5859 #include "cloog/version.h"
5863 #if CLOOG_VERSION_MAJOR != 0 \
5864 || CLOOG_VERSION_MINOR != 17 \
5865 || CLOOG_VERSION_REVISION < 0
5872 if ac_fn_c_try_compile
"$LINENO"; then :
5877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
5880 $as_echo "$gcc_cv_cloog" >&6; }
5882 CFLAGS
=$_cloog_saved_CFLAGS
5883 LDFLAGS
=$_cloog_saved_LDFLAGS
5892 if test "x${with_cloog}" = xno
; then
5893 graphite_requested
=no
5894 elif test "x${with_cloog}" != x \
5895 ||
test "x${with_cloog_include}" != x \
5896 ||
test "x${with_cloog_lib}" != x
; then
5897 graphite_requested
=yes
5899 graphite_requested
=no
5904 if test "${gcc_cv_cloog}" = no
; then
5909 if test "${graphite_requested}" = yes \
5910 && test "x${clooglibs}" = x \
5911 && test "x${clooginc}" = x
; then
5913 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
5919 # If either the ISL or the CLooG check failed, disable builds of in-tree
5921 if test "x$clooglibs" = x
&& test "x$clooginc" = x
; then
5922 noconfigdirs
="$noconfigdirs cloog isl"
5925 # Check for LTO support.
5926 # Check whether --enable-lto was given.
5927 if test "${enable_lto+set}" = set; then :
5928 enableval
=$enable_lto; enable_lto
=$enableval
5930 enable_lto
=yes; default_enable_lto
=yes
5939 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
5940 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
5941 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
5949 if test $target_elf = yes; then :
5950 # ELF platforms build the lto-plugin always.
5951 build_lto_plugin
=yes
5954 if test x
"$default_enable_lto" = x
"yes" ; then
5956 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
5957 # On other non-ELF platforms, LTO has yet to be validated.
5961 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
5962 # It would also be nice to check the binutils support, but we don't
5963 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
5964 # warn during gcc/ subconfigure; unless you're bootstrapping with
5965 # -flto it won't be needed until after installation anyway.
5967 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
5968 *) if test x
"$enable_lto" = x
"yes"; then
5969 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
5974 # Among non-ELF, only Windows platforms support the lto-plugin so far.
5975 # Build it unless LTO was explicitly disabled.
5977 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
5985 # By default, C and C++ are the only stage 1 languages.
5986 stage1_languages
=,c
,
5988 # Target libraries that we bootstrap.
5989 bootstrap_target_libs
=,target-libgcc
,
5991 # Figure out what language subdirectories are present.
5992 # Look if the user specified --enable-languages="..."; if not, use
5993 # the environment variable $LANGUAGES if defined. $LANGUAGES might
5995 # NB: embedded tabs in this IF block -- do not untabify
5996 if test -d ${srcdir}/gcc
; then
5997 if test x
"${enable_languages+set}" != xset
; then
5998 if test x
"${LANGUAGES+set}" = xset
; then
5999 enable_languages
="${LANGUAGES}"
6000 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6002 enable_languages
=all
6005 if test x
"${enable_languages}" = x ||
6006 test x
"${enable_languages}" = xyes
;
6008 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6012 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6014 # 'f95' is the old name for the 'fortran' language. We issue a warning
6015 # and make the substitution.
6016 case ,${enable_languages}, in
6018 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6019 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6023 # If bootstrapping, C++ must be enabled.
6024 case ",$enable_languages,:$enable_bootstrap" in
6027 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6028 enable_languages
="${enable_languages},c++"
6030 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6035 # First scan to see if an enabled language requires some other language.
6036 # We assume that a given config-lang.in will list all the language
6037 # front ends it requires, even if some are required indirectly.
6038 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6039 case ${lang_frag} in
6041 # The odd quoting in the next line works around
6042 # an apparent bug in bash 1.12 on linux.
6043 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6045 # From the config-lang.in, get $language, $lang_requires, and
6046 # $lang_requires_boot_languages.
6049 lang_requires_boot_languages
=
6051 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6052 case ,${enable_languages}, in
6056 echo " \`$other' language required by \`$language'; enabling" 1>&2
6057 enable_languages
="${enable_languages},${other}"
6061 for other
in ${lang_requires_boot_languages} ; do
6062 if test "$other" != "c"; then
6063 case ,${enable_stage1_languages}, in
6067 case ,${enable_languages}, in
6069 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6070 enable_stage1_languages
="$enable_stage1_languages,${other}"
6081 new_enable_languages
=,c
,
6083 # If LTO is enabled, add the LTO front end.
6084 extra_host_libiberty_configure_flags
=
6085 if test "$enable_lto" = "yes" ; then
6086 case ,${enable_languages}, in
6088 *) enable_languages
="${enable_languages},lto" ;;
6090 if test "${build_lto_plugin}" = "yes" ; then
6091 configdirs
="$configdirs lto-plugin"
6092 extra_host_libiberty_configure_flags
=--enable-shared
6097 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6098 potential_languages
=,c
,
6100 enabled_target_libs
=
6101 disabled_target_libs
=
6103 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6104 case ${lang_frag} in
6106 # The odd quoting in the next line works around
6107 # an apparent bug in bash 1.12 on linux.
6108 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6110 # From the config-lang.in, get $language, $target_libs,
6111 # $lang_dirs, $boot_language, and $build_by_default
6117 build_by_default
=yes
6119 if test x
${language} = x
; then
6120 echo "${lang_frag} doesn't set \$language." 1>&2
6124 if test "$language" = "c++"; then
6128 case ,${enable_languages}, in
6130 # Language was explicitly selected; include it
6131 # unless it is C, which is enabled by default.
6132 if test "$language" != "c"; then
6137 # 'all' was selected, select it if it is a default language
6138 add_this_lang
=${build_by_default}
6145 # Disable languages that need other directories if these aren't available.
6146 for i
in $subdir_requires; do
6147 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6148 case ,${enable_languages}, in
6150 # Specifically requested language; tell them.
6151 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6155 add_this_lang
=unsupported
6160 # Disable Ada if no preexisting GNAT is available.
6161 case ,${enable_languages},:${language}:${have_gnat} in
6162 *,${language},*:ada
:no
)
6163 # Specifically requested language; tell them.
6164 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6168 add_this_lang
=unsupported
6172 # Disable a language that is unsupported by the target.
6173 case " $unsupported_languages " in
6175 add_this_lang
=unsupported
6179 case $add_this_lang in
6181 # Remove language-dependent dirs.
6182 disabled_target_libs
="$disabled_target_libs $target_libs"
6183 noconfigdirs
="$noconfigdirs $lang_dirs"
6186 # Remove language-dependent dirs; still show language as supported.
6187 disabled_target_libs
="$disabled_target_libs $target_libs"
6188 noconfigdirs
="$noconfigdirs $lang_dirs"
6189 potential_languages
="${potential_languages}${language},"
6192 new_enable_languages
="${new_enable_languages}${language},"
6193 potential_languages
="${potential_languages}${language},"
6194 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6195 enabled_target_libs
="$enabled_target_libs $target_libs"
6196 case "${boot_language}:,$enable_stage1_languages," in
6197 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6198 # Add to (comma-separated) list of stage 1 languages.
6199 case ",$stage1_languages," in
6200 *,$language,* |
,yes, |
,all
,) ;;
6201 *) stage1_languages
="${stage1_languages}${language}," ;;
6203 # We need to bootstrap any supporting libraries.
6204 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6213 # Add target libraries which are only needed for disabled languages
6215 if test -n "$disabled_target_libs"; then
6216 for dir
in $disabled_target_libs; do
6217 case " $enabled_target_libs " in
6219 *) noconfigdirs
="$noconfigdirs $dir" ;;
6224 # Check whether --enable-stage1-languages was given.
6225 if test "${enable_stage1_languages+set}" = set; then :
6226 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6228 # Set it to something that will have no effect in the loop below
6229 enable_stage1_languages
=c
;;
6231 enable_stage1_languages
=`echo $new_enable_languages | \
6232 sed -e "s/^,//" -e "s/,$//" ` ;;
6234 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6235 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6238 # Add "good" languages from enable_stage1_languages to stage1_languages,
6239 # while "bad" languages go in missing_languages. Leave no duplicates.
6240 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6241 case $potential_languages in
6243 case $stage1_languages in
6245 *) stage1_languages
="$stage1_languages$i," ;;
6248 case $missing_languages in
6250 *) missing_languages
="$missing_languages$i," ;;
6257 # Remove leading/trailing commas that were added for simplicity
6258 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6259 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6260 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6261 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6263 if test "x$missing_languages" != x
; then
6265 The following requested languages could not be built: ${missing_languages}
6266 Supported languages are: ${potential_languages}" "$LINENO" 5
6268 if test "x$new_enable_languages" != "x$enable_languages"; then
6269 echo The following languages will be built
: ${new_enable_languages}
6270 enable_languages
="$new_enable_languages"
6274 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6277 # Handle --disable-<component> generically.
6278 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6279 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6280 varname
=`echo $dirname | sed -e s/+/_/g`
6281 if eval test x\
${enable_${varname}} "=" xno
; then
6282 noconfigdirs
="$noconfigdirs $dir"
6286 # Check for Boehm's garbage collector
6287 # Check whether --enable-objc-gc was given.
6288 if test "${enable_objc_gc+set}" = set; then :
6289 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6290 *,objc
,*:*:yes:*target-boehm-gc
*)
6291 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6297 # Make sure we only build Boehm's garbage collector if required.
6298 case ,${enable_languages},:${enable_objc_gc} in
6300 # Keep target-boehm-gc if requested for Objective-C.
6303 # Otherwise remove target-boehm-gc depending on target-libjava.
6304 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6305 noconfigdirs
="$noconfigdirs target-boehm-gc"
6311 # Check whether --with-upc-pts was given.
6312 if test "${with_upc_pts+set}" = set; then :
6313 withval
=$with_upc_pts;
6314 case ,${enable_languages}, in
6321 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6326 as_fn_error
"--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6333 # Disable libitm if we're not building C++
6334 case ,${enable_languages}, in
6337 noconfigdirs
="$noconfigdirs target-libitm"
6341 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6342 # $build_configdirs and $target_configdirs.
6343 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6346 for dir
in .
$skipdirs $noconfigdirs ; do
6347 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6348 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6349 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6350 if test -r $srcdir/$dirname/configure
; then
6351 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6354 notsupp
="$notsupp $dir"
6358 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6359 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6360 if test -r $srcdir/$dirname/configure
; then
6361 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6364 notsupp
="$notsupp $dir"
6368 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6369 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6370 if test -r $srcdir/$dirname/configure
; then
6371 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6374 notsupp
="$notsupp $dir"
6380 # Quietly strip out all directories which aren't configurable in this tree.
6381 # This relies on all configurable subdirectories being autoconfiscated, which
6383 build_configdirs_all
="$build_configdirs"
6385 for i
in ${build_configdirs_all} ; do
6386 j
=`echo $i | sed -e s/build-//g`
6387 if test -f ${srcdir}/$j/configure
; then
6388 build_configdirs
="${build_configdirs} $i"
6392 configdirs_all
="$configdirs"
6394 for i
in ${configdirs_all} ; do
6395 if test -f ${srcdir}/$i/configure
; then
6396 configdirs
="${configdirs} $i"
6400 target_configdirs_all
="$target_configdirs"
6402 for i
in ${target_configdirs_all} ; do
6403 j
=`echo $i | sed -e s/target-//g`
6404 if test -f ${srcdir}/$j/configure
; then
6405 target_configdirs
="${target_configdirs} $i"
6409 # Produce a warning message for the subdirs we can't configure.
6410 # This isn't especially interesting in the Cygnus tree, but in the individual
6411 # FSF releases, it's important to let people know when their machine isn't
6412 # supported by the one or two programs in a package.
6414 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6415 # If $appdirs is non-empty, at least one of those directories must still
6416 # be configured, or we error out. (E.g., if the gas release supports a
6417 # specified target in some subdirs but not the gas subdir, we shouldn't
6418 # pretend that all is well.)
6419 if test -n "$appdirs" ; then
6420 for dir
in $appdirs ; do
6421 if test -r $dir/Makefile.
in ; then
6422 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6426 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6432 if test -n "$appdirs" ; then
6433 echo "*** This configuration is not supported by this package." 1>&2
6437 # Okay, some application will build, or we don't care to check. Still
6438 # notify of subdirs not getting built.
6439 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6440 echo " ${notsupp}" 1>&2
6441 echo " (Any other directories should still work fine.)" 1>&2
6449 # To find our prefix, in gcc_cv_tool_prefix.
6451 # The user is always right.
6452 if test "${PATH_SEPARATOR+set}" != set; then
6453 echo "#! /bin/sh" >conf$$.sh
6454 echo "exit 0" >>conf$$.sh
6456 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6466 if test "x$exec_prefix" = xNONE
; then
6467 if test "x$prefix" = xNONE
; then
6468 gcc_cv_tool_prefix
=$ac_default_prefix
6470 gcc_cv_tool_prefix
=$prefix
6473 gcc_cv_tool_prefix
=$exec_prefix
6476 # If there is no compiler in the tree, use the PATH only. In any
6477 # case, if there is no compiler in the tree nobody should use
6478 # AS_FOR_TARGET and LD_FOR_TARGET.
6479 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6480 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6481 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6482 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6483 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6484 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6485 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6486 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6491 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6492 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6500 # Check whether --with-build-sysroot was given.
6501 if test "${with_build_sysroot+set}" = set; then :
6502 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6503 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6506 SYSROOT_CFLAGS_FOR_TARGET
=
6512 # Check whether --with-debug-prefix-map was given.
6513 if test "${with_debug_prefix_map+set}" = set; then :
6514 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6515 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6516 for debug_map
in $withval; do
6517 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6521 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6526 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6527 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6528 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6529 # We want to ensure that TARGET libraries (which we know are built with
6530 # gcc) are built with "-O2 -g", so include those options when setting
6531 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6532 if test "x$CFLAGS_FOR_TARGET" = x
; then
6533 CFLAGS_FOR_TARGET
=$CFLAGS
6536 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6539 *" -g "* |
*" -g3 "*) ;;
6540 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6545 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6546 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6547 case " $CXXFLAGS " in
6549 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6551 case " $CXXFLAGS " in
6552 *" -g "* |
*" -g3 "*) ;;
6553 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6560 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6561 # the named directory are copied to $(tooldir)/sys-include.
6562 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6563 if test x
${is_cross_compiler} = xno
; then
6564 echo 1>&2 '***' --with-headers is only supported when cross compiling
6567 if test x
"${with_headers}" != xyes
; then
6568 x
=${gcc_cv_tool_prefix}
6569 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6573 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6574 # the name directories are copied to $(tooldir)/lib. Multiple directories
6576 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6577 if test x
${is_cross_compiler} = xno
; then
6578 echo 1>&2 '***' --with-libs is only supported when cross compiling
6581 if test x
"${with_libs}" != xyes
; then
6582 # Copy the libraries in reverse order, so that files in the first named
6583 # library override files in subsequent libraries.
6584 x
=${gcc_cv_tool_prefix}
6585 for l
in ${with_libs}; do
6586 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6591 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6593 # This is done by determining whether or not the appropriate directory
6594 # is available, and by checking whether or not specific configurations
6595 # have requested that this magic not happen.
6597 # The command line options always override the explicit settings in
6598 # configure.in, and the settings in configure.in override this magic.
6600 # If the default for a toolchain is to use GNU as and ld, and you don't
6601 # want to do that, then you should use the --without-gnu-as and
6602 # --without-gnu-ld options for the configure script. Similarly, if
6603 # the default is to use the included zlib and you don't want to do that,
6604 # you should use the --with-system-zlib option for the configure script.
6606 if test x
${use_gnu_as} = x
&&
6607 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6609 extra_host_args
="$extra_host_args --with-gnu-as"
6612 if test x
${use_gnu_ld} = x
&&
6613 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6615 extra_host_args
="$extra_host_args --with-gnu-ld"
6618 if test x
${use_included_zlib} = x
&&
6619 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6622 with_system_zlib
=yes
6623 extra_host_args
="$extra_host_args --with-system-zlib"
6626 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6627 # can detect this case.
6629 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6631 extra_host_args
="$extra_host_args --with-newlib"
6634 # Handle ${copy_dirs}
6635 set fnord
${copy_dirs}
6637 while test $# != 0 ; do
6638 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6641 echo Copying
$1 to
$2
6643 # Use the install script to create the directory and all required
6644 # parent directories.
6645 if test -d $2 ; then
6649 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6652 # Copy the directory, assuming we have tar.
6653 # FIXME: Should we use B in the second tar? Not all systems support it.
6654 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6656 # It is the responsibility of the user to correctly adjust all
6657 # symlinks. If somebody can figure out how to handle them correctly
6658 # here, feel free to add the code.
6665 # Determine a target-dependent exec_prefix that the installed
6666 # gcc will search in. Keep this list sorted by triplet, with
6667 # the *-*-osname triplets last.
6670 i
[34567]86-pc-msdosdjgpp*)
6671 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6676 md_exec_prefix
=/usr
/ccs
/bin
6680 extra_arflags_for_target
=
6681 extra_nmflags_for_target
=
6682 extra_ranlibflags_for_target
=
6683 target_makefile_frag
=/dev
/null
6686 target_makefile_frag
="config/mt-spu"
6689 target_makefile_frag
="config/mt-sde"
6691 mipsisa
*-*-elfoabi*)
6692 target_makefile_frag
="config/mt-mips-elfoabi"
6694 mips
*-*-*linux
* | mips
*-*-gnu*)
6695 target_makefile_frag
="config/mt-mips-gnu"
6697 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6698 target_makefile_frag
="config/mt-gnu"
6700 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6701 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6702 # commands to handle both 32-bit and 64-bit objects. These flags are
6703 # harmless if we're using GNU nm or ar.
6704 extra_arflags_for_target
=" -X32_64"
6705 extra_nmflags_for_target
=" -B -X32_64"
6709 alphaieee_frag
=/dev
/null
6712 # This just makes sure to use the -mieee option to build target libs.
6713 # This should probably be set individually by each library.
6714 alphaieee_frag
="config/mt-alphaieee"
6718 # If --enable-target-optspace always use -Os instead of -O2 to build
6719 # the target libraries, similarly if it is not specified, use -Os
6720 # on selected platforms.
6721 ospace_frag
=/dev
/null
6722 case "${enable_target_optspace}:${target}" in
6724 ospace_frag
="config/mt-ospace"
6727 ospace_frag
="config/mt-d30v"
6729 :m32r-
* |
:d10v-
* |
:fr30-
*)
6730 ospace_frag
="config/mt-ospace"
6735 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6739 # Some systems (e.g., one of the i386-aix systems the gas testers are
6740 # using) don't handle "\$" correctly, so don't use it here.
6741 tooldir
='${exec_prefix}'/${target_noncanonical}
6742 build_tooldir
=${tooldir}
6744 # Create a .gdbinit file which runs the one in srcdir
6745 # and tells GDB to look there for source files.
6747 if test -r ${srcdir}/.gdbinit
; then
6750 *) cat > .
/.gdbinit
<<EOF
6754 source ${srcdir}/.gdbinit
6760 # Make sure that the compiler is able to generate an executable. If it
6761 # can't, we are probably in trouble. We don't care whether we can run the
6762 # executable--we might be using a cross compiler--we only care whether it
6763 # can be created. At this point the main configure script has set CC.
6765 echo "int main () { return 0; }" > conftest.c
6766 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6767 if test $?
= 0 ; then
6768 if test -s conftest ||
test -s conftest.exe
; then
6774 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6775 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6782 # Decide which environment variable is used to find dynamic libraries.
6784 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6785 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6786 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6787 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6790 # On systems where the dynamic library environment variable is PATH,
6791 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6792 # built executables to PATH.
6793 if test "$RPATH_ENVVAR" = PATH
; then
6794 GCC_SHLIB_SUBDIR
=/shlib
6799 # Record target_configdirs and the configure arguments for target and
6800 # build configuration in Makefile.
6801 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6802 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6804 # If we are building libgomp, bootstrap it.
6805 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6806 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6809 # Determine whether gdb needs tk/tcl or not.
6810 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6811 # and in that case we want gdb to be built without tk. Ugh!
6812 # In fact I believe gdb is the *only* package directly dependent on tk,
6813 # so we should be able to put the 'maybe's in unconditionally and
6814 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6815 # 100% sure that that's safe though.
6817 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6818 case "$enable_gdbtk" in
6822 GDB_TK
="${gdb_tk}" ;;
6824 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6825 # distro. Eventually someone will fix this and move Insight, nee
6826 # gdbtk to a separate directory.
6827 if test -d ${srcdir}/gdb
/gdbtk
; then
6834 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6835 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6837 # Strip out unwanted targets.
6839 # While at that, we remove Makefiles if we were started for recursive
6840 # configuration, so that the top-level Makefile reconfigures them,
6841 # like we used to do when configure itself was recursive.
6843 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6844 # but now we're fixing up the Makefile ourselves with the additional
6845 # commands passed to AC_CONFIG_FILES. Use separate variables
6846 # extrasub-{build,host,target} not because there is any reason to split
6847 # the substitutions up that way, but only to remain below the limit of
6848 # 99 commands in a script, for HP-UX sed.
6849 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6851 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6852 yes:yes:*\ gold\
*:*,c
++,*) ;;
6853 yes:yes:*\ gold\
*:*)
6854 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6858 # Adjust the toplevel makefile according to whether bootstrap was selected.
6859 case $enable_bootstrap in
6861 bootstrap_suffix
=bootstrap
6862 BUILD_CONFIG
=bootstrap-debug
6865 bootstrap_suffix
=no-bootstrap
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
6871 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
6874 # Check whether --with-build-config was given.
6875 if test "${with_build_config+set}" = set; then :
6876 withval
=$with_build_config; case $with_build_config in
6877 yes) with_build_config
= ;;
6878 no
) with_build_config
= BUILD_CONFIG
= ;;
6883 if test "x${with_build_config}" != x
; then
6884 BUILD_CONFIG
=$with_build_config
6886 case $BUILD_CONFIG in
6888 if echo "int f (void) { return 0; }" > conftest.c
&&
6889 ${CC} -c conftest.c
&&
6890 mv conftest.o conftest.o.g0
&&
6891 ${CC} -c -g conftest.c
&&
6892 mv conftest.o conftest.o.g
&&
6893 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
6898 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
6903 $as_echo "$BUILD_CONFIG" >&6; }
6907 for module
in ${build_configdirs} ; do
6908 if test -z "${no_recursion}" \
6909 && test -f ${build_subdir}/${module}/Makefile
; then
6910 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
6911 rm -f ${build_subdir}/${module}/Makefile
6913 extrasub_build
="$extrasub_build
6914 /^@if build-$module\$/d
6915 /^@endif build-$module\$/d
6916 /^@if build-$module-$bootstrap_suffix\$/d
6917 /^@endif build-$module-$bootstrap_suffix\$/d"
6920 for module
in ${configdirs} ; do
6921 if test -z "${no_recursion}"; then
6922 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
6923 if test -f ${file}; then
6924 echo 1>&2 "*** removing ${file} to force reconfigure"
6929 extrasub_host
="$extrasub_host
6931 /^@endif $module\$/d
6932 /^@if $module-$bootstrap_suffix\$/d
6933 /^@endif $module-$bootstrap_suffix\$/d"
6936 for module
in ${target_configdirs} ; do
6937 if test -z "${no_recursion}" \
6938 && test -f ${target_subdir}/${module}/Makefile
; then
6939 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
6940 rm -f ${target_subdir}/${module}/Makefile
6943 # We only bootstrap target libraries listed in bootstrap_target_libs.
6944 case $bootstrap_target_libs in
6945 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
6946 *) target_bootstrap_suffix
=no-bootstrap
;;
6949 extrasub_target
="$extrasub_target
6950 /^@if target-$module\$/d
6951 /^@endif target-$module\$/d
6952 /^@if target-$module-$target_bootstrap_suffix\$/d
6953 /^@endif target-$module-$target_bootstrap_suffix\$/d"
6956 # Do the final fixup along with target modules.
6957 extrasub_target
="$extrasub_target
6958 /^@if /,/^@endif /d"
6960 # Create the serialization dependencies. This uses a temporary file.
6962 # Check whether --enable-serial-configure was given.
6963 if test "${enable_serial_configure+set}" = set; then :
6964 enableval
=$enable_serial_configure;
6968 case ${enable_serial_configure} in
6970 enable_serial_build_configure
=yes
6971 enable_serial_host_configure
=yes
6972 enable_serial_target_configure
=yes
6976 # These force 'configure's to be done one at a time, to avoid problems
6977 # with contention over a shared config.cache.
6979 echo '# serdep.tmp' > serdep.tmp
6981 test "x${enable_serial_build_configure}" = xyes
&&
6982 for item
in ${build_configdirs} ; do
6985 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
6990 test "x${enable_serial_host_configure}" = xyes
&&
6991 for item
in ${configdirs} ; do
6994 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
6999 test "x${enable_serial_target_configure}" = xyes
&&
7000 for item
in ${target_configdirs} ; do
7003 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7007 serialization_dependencies
=serdep.tmp
7010 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7011 # target, nonopt, and variable assignments. These are the ones we
7012 # might not want to pass down to subconfigures. The exception being
7013 # --cache-file=/dev/null, which is used to turn off the use of cache
7014 # files altogether, and which should be passed on to subconfigures.
7015 # Also strip program-prefix, program-suffix, and program-transform-name,
7016 # so that we can pass down a consistent program-transform-name.
7021 eval "set -- $ac_configure_args"
7024 if test X
"$skip_next" = X
"yes"; then
7028 if test X
"$keep_next" = X
"yes"; then
7031 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7033 baseargs
="$baseargs '$ac_arg'"
7034 tbaseargs
="$tbaseargs '$ac_arg'"
7039 # Handle separated arguments. Based on the logic generated by
7042 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7043 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7044 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7045 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7059 --with-* |
--without-*)
7060 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7064 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7067 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7076 mpc | mpfr | gmp | cloog
)
7077 # If we're processing --with-$lib, --with-$lib-include or
7078 # --with-$lib-lib, for one of the libs above, and target is
7079 # different from host, don't pass the current argument to any
7080 # target library's configure.
7081 if test x
$is_cross_compiler = xyes
; then
7090 --cache-file=/dev
/null | \
7091 -cache-file=/dev
/null
)
7092 # Handled here to avoid the test to skip args below.
7093 baseargs
="$baseargs '$ac_arg'"
7094 tbaseargs
="$tbaseargs '$ac_arg'"
7095 # Assert: $separate_arg should always be no.
7096 keep_next
=$separate_arg
7112 -program-prefix* | \
7113 -program-suffix* | \
7114 -program-transform-name* )
7115 skip_next
=$separate_arg
7119 # An option. Add it.
7122 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7124 baseargs
="$baseargs '$ac_arg'"
7125 if test X
"$skip_targ" = Xno
; then
7126 tbaseargs
="$tbaseargs '$ac_arg'"
7128 keep_next
=$separate_arg
7131 # Either a variable assignment, or a nonopt (triplet). Don't
7132 # pass it down; let the Makefile handle this.
7137 # Remove the initial space we just introduced and, as these will be
7138 # expanded by make, quote '$'.
7139 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7141 # Add in --program-transform-name, after --program-prefix and
7142 # --program-suffix have been applied to it. Autoconf has already
7143 # doubled dollar signs and backslashes in program_transform_name; we want
7144 # the backslashes un-doubled, and then the entire thing wrapped in single
7145 # quotes, because this will be expanded first by make and then by the shell.
7146 # Also, because we want to override the logic in subdir configure scripts to
7147 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7148 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7149 ${program_transform_name}
7151 gcc_transform_name
=`cat conftestsed.out`
7152 rm -f conftestsed.out
7153 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7154 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7155 if test "$silent" = yes; then
7156 baseargs
="$baseargs --silent"
7157 tbaseargs
="$tbaseargs --silent"
7159 baseargs
="$baseargs --disable-option-checking"
7160 tbaseargs
="$tbaseargs --disable-option-checking"
7162 # Record and document user additions to sub configure arguments.
7167 # For the build-side libraries, we just need to pretend we're native,
7168 # and not use the same cache file. Multilibs are neither needed nor
7170 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7172 # For host modules, accept cache file option, or specification as blank.
7173 case "${cache_file}" in
7175 cache_file_option
="" ;;
7176 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7177 cache_file_option
="--cache-file=${cache_file}" ;;
7179 cache_file_option
="--cache-file=../${cache_file}" ;;
7182 # Host dirs don't like to share a cache file either, horribly enough.
7183 # This seems to be due to autoconf 2.5x stupidity.
7184 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7186 target_configargs
="$target_configargs ${tbaseargs}"
7188 # Passing a --with-cross-host argument lets the target libraries know
7189 # whether they are being built with a cross-compiler or being built
7190 # native. However, it would be better to use other mechanisms to make the
7191 # sorts of decisions they want to make on this basis. Please consider
7192 # this option to be deprecated. FIXME.
7193 if test x
${is_cross_compiler} = xyes
; then
7194 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7197 # Default to --enable-multilib.
7198 if test x
${enable_multilib} = x
; then
7199 target_configargs
="--enable-multilib ${target_configargs}"
7202 # Pass --with-newlib if appropriate. Note that target_configdirs has
7203 # changed from the earlier setting of with_newlib.
7204 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7205 target_configargs
="--with-newlib ${target_configargs}"
7208 # Different target subdirs use different values of certain variables
7209 # (notably CXX). Worse, multilibs use *lots* of different values.
7210 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7211 # it doesn't automatically accept command-line overrides of them.
7212 # This means it's not safe for target subdirs to share a cache file,
7213 # which is disgusting, but there you have it. Hopefully this can be
7214 # fixed in future. It's still worthwhile to use a cache file for each
7215 # directory. I think.
7217 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7218 # We need to pass --target, as newer autoconf's requires consistency
7219 # for target_alias and gcc doesn't manage it consistently.
7220 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7223 case " $target_configdirs " in
7225 case " $target_configargs " in
7226 *" --with-newlib "*)
7229 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'
7233 # If we're not building GCC, don't discard standard headers.
7234 if test -d ${srcdir}/gcc
; then
7235 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7237 if test "${build}" != "${host}"; then
7238 # On Canadian crosses, CC_FOR_TARGET will have already been set
7239 # by `configure', so we won't have an opportunity to add -Bgcc/
7240 # to it. This is right: we don't want to search that directory
7241 # for binaries, but we want the header files in there, so add
7243 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7245 # Someone might think of using the pre-installed headers on
7246 # Canadian crosses, in case the installed compiler is not fully
7247 # compatible with the compiler being built. In this case, it
7248 # would be better to flag an error than risking having
7249 # incompatible object files being constructed. We can't
7250 # guarantee that an error will be flagged, but let's hope the
7251 # compiler will do it, when presented with incompatible header
7256 case "${target}-${is_cross_compiler}" in
7257 i
[3456789]86-*-linux*-no)
7258 # Here host == target, so we don't need to build gcc,
7259 # so we don't want to discard standard headers.
7260 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7263 # If we're building newlib, use its generic headers last, but search
7264 # for any libc-related directories first (so make it the last -B
7266 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7268 # If we're building libgloss, find the startup file, simulator library
7269 # and linker script.
7270 case " $target_configdirs " in
7272 # Look for startup file, simulator library and maybe linker script.
7273 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7274 # Look for libnosys.a in case the target needs it.
7275 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7276 # Most targets have the linker script in the source directory.
7277 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7288 x86_64-
*mingw
* |
*-w64-mingw*)
7289 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7290 # however, use a symlink named 'mingw' in ${prefix} .
7291 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7294 # MinGW can't be handled as Cygwin above since it does not use newlib.
7295 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'
7299 # Allow the user to override the flags for
7300 # our build compiler if desired.
7301 if test x
"${build}" = x
"${host}" ; then
7302 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7303 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7304 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7307 # On Canadian crosses, we'll be searching the right directories for
7308 # the previously-installed cross compiler, so don't bother to add
7309 # flags for directories within the install tree of the compiler
7310 # being built; programs in there won't even run.
7311 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7312 # Search for pre-installed headers if nothing else fits.
7313 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7316 if test "x
${use_gnu_ld}" = x &&
7317 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7318 # Arrange for us to find uninstalled linker scripts.
7319 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7322 # Search for other target-specific linker scripts and such.
7325 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7329 # UPC linker script check
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7331 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7332 # Check whether --enable-upc-link-script was given.
7333 if test "${enable_upc_link_script+set}" = set; then :
7334 enableval=$enable_upc_link_script;
7338 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7344 if test x${use_gnu_ld} != xno ; then
7346 # disable linker script for Apple Mac OS X
7348 enable_upc_link_script=no
7351 enable_upc_link_script=yes
7355 enable_upc_link_script=no
7357 if test "$enable_upc_link_script" = yes; then
7358 target_configargs="${target_configargs} --enable-upc-link-script"
7359 host_configargs="${host_configargs} --enable-upc-link-script"
7364 if test "$enable_upc_link_script" = yes; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7366 $as_echo "yes" >&6; };
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7369 $as_echo "no
" >&6; };
7373 # Makefile fragments.
7374 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7376 eval fragval=\$$frag
7377 if test $fragval != /dev/null; then
7378 eval $frag=${srcdir}/$fragval
7386 # Miscellanea: directories, flags, etc.
7395 # Build module lists & subconfigure args.
7399 # Host module lists & subconfigure args.
7404 # Target module lists & subconfigure args.
7427 # Generate default definitions for YACC, M4, LEX and other programs that run
7428 # on the build machine. These are used if the Makefile can't locate these
7429 # programs in objdir.
7430 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7432 for ac_prog in 'bison -y' byacc yacc
7434 # Extract the first word of "$ac_prog", so it can be a program name with args.
7435 set dummy $ac_prog; ac_word=$2
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7437 $as_echo_n "checking
for $ac_word...
" >&6; }
7438 if test "${ac_cv_prog_YACC+set}" = set; then :
7439 $as_echo_n "(cached
) " >&6
7441 if test -n "$YACC"; then
7442 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 test -z "$as_dir" && as_dir=.
7449 for ac_exec_ext in '' $ac_executable_extensions; do
7450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7451 ac_cv_prog_YACC="$ac_prog"
7452 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7461 YACC=$ac_cv_prog_YACC
7462 if test -n "$YACC"; then
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7464 $as_echo "$YACC" >&6; }
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7467 $as_echo "no
" >&6; }
7471 test -n "$YACC" && break
7473 test -n "$YACC" || YACC="$MISSING bison
-y"
7475 case " $build_configdirs " in
7476 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7479 for ac_prog in bison
7481 # Extract the first word of "$ac_prog", so it can be a program name with args.
7482 set dummy $ac_prog; ac_word=$2
7483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7484 $as_echo_n "checking
for $ac_word...
" >&6; }
7485 if test "${ac_cv_prog_BISON+set}" = set; then :
7486 $as_echo_n "(cached
) " >&6
7488 if test -n "$BISON"; then
7489 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7495 test -z "$as_dir" && as_dir=.
7496 for ac_exec_ext in '' $ac_executable_extensions; do
7497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7498 ac_cv_prog_BISON="$ac_prog"
7499 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7508 BISON=$ac_cv_prog_BISON
7509 if test -n "$BISON"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7511 $as_echo "$BISON" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7514 $as_echo "no
" >&6; }
7518 test -n "$BISON" && break
7520 test -n "$BISON" || BISON="$MISSING bison
"
7522 case " $build_configdirs " in
7523 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7526 for ac_prog in gm4 gnum4 m4
7528 # Extract the first word of "$ac_prog", so it can be a program name with args.
7529 set dummy $ac_prog; ac_word=$2
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7531 $as_echo_n "checking
for $ac_word...
" >&6; }
7532 if test "${ac_cv_prog_M4+set}" = set; then :
7533 $as_echo_n "(cached
) " >&6
7535 if test -n "$M4"; then
7536 ac_cv_prog_M4="$M4" # Let the user override the test.
7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 test -z "$as_dir" && as_dir=.
7543 for ac_exec_ext in '' $ac_executable_extensions; do
7544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7545 ac_cv_prog_M4="$ac_prog"
7546 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7556 if test -n "$M4"; then
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7558 $as_echo "$M4" >&6; }
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7561 $as_echo "no
" >&6; }
7565 test -n "$M4" && break
7567 test -n "$M4" || M4="$MISSING m4"
7569 case " $build_configdirs " in
7570 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7573 for ac_prog in flex lex
7575 # Extract the first word of "$ac_prog", so it can be a program name with args.
7576 set dummy $ac_prog; ac_word=$2
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7578 $as_echo_n "checking
for $ac_word...
" >&6; }
7579 if test "${ac_cv_prog_LEX+set}" = set; then :
7580 $as_echo_n "(cached
) " >&6
7582 if test -n "$LEX"; then
7583 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 test -z "$as_dir" && as_dir=.
7590 for ac_exec_ext in '' $ac_executable_extensions; do
7591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7592 ac_cv_prog_LEX="$ac_prog"
7593 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7603 if test -n "$LEX"; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7605 $as_echo "$LEX" >&6; }
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7608 $as_echo "no
" >&6; }
7612 test -n "$LEX" && break
7614 test -n "$LEX" || LEX="$MISSING flex
"
7616 case " $build_configdirs " in
7617 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7618 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7623 # Extract the first word of "$ac_prog", so it can be a program name with args.
7624 set dummy $ac_prog; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7626 $as_echo_n "checking
for $ac_word...
" >&6; }
7627 if test "${ac_cv_prog_FLEX+set}" = set; then :
7628 $as_echo_n "(cached
) " >&6
7630 if test -n "$FLEX"; then
7631 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_FLEX="$ac_prog"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7650 FLEX=$ac_cv_prog_FLEX
7651 if test -n "$FLEX"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7653 $as_echo "$FLEX" >&6; }
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7656 $as_echo "no
" >&6; }
7660 test -n "$FLEX" && break
7662 test -n "$FLEX" || FLEX="$MISSING flex
"
7664 case " $build_configdirs " in
7665 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7668 for ac_prog in makeinfo
7670 # Extract the first word of "$ac_prog", so it can be a program name with args.
7671 set dummy $ac_prog; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7673 $as_echo_n "checking
for $ac_word...
" >&6; }
7674 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7675 $as_echo_n "(cached
) " >&6
7677 if test -n "$MAKEINFO"; then
7678 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7687 ac_cv_prog_MAKEINFO="$ac_prog"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7697 MAKEINFO=$ac_cv_prog_MAKEINFO
7698 if test -n "$MAKEINFO"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7700 $as_echo "$MAKEINFO" >&6; }
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7703 $as_echo "no
" >&6; }
7707 test -n "$MAKEINFO" && break
7709 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7711 case " $build_configdirs " in
7712 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7715 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7716 # higher, else we use the "missing
" dummy.
7717 if ${MAKEINFO} --version \
7718 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7721 MAKEINFO="$MISSING makeinfo
"
7727 # FIXME: expect and dejagnu may become build tools?
7729 for ac_prog in expect
7731 # Extract the first word of "$ac_prog", so it can be a program name with args.
7732 set dummy $ac_prog; ac_word=$2
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7734 $as_echo_n "checking
for $ac_word...
" >&6; }
7735 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7736 $as_echo_n "(cached
) " >&6
7738 if test -n "$EXPECT"; then
7739 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7745 test -z "$as_dir" && as_dir=.
7746 for ac_exec_ext in '' $ac_executable_extensions; do
7747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7748 ac_cv_prog_EXPECT="$ac_prog"
7749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7758 EXPECT=$ac_cv_prog_EXPECT
7759 if test -n "$EXPECT"; then
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7761 $as_echo "$EXPECT" >&6; }
7763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7764 $as_echo "no
" >&6; }
7768 test -n "$EXPECT" && break
7770 test -n "$EXPECT" || EXPECT="expect
"
7772 case " $configdirs " in
7774 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7778 for ac_prog in runtest
7780 # Extract the first word of "$ac_prog", so it can be a program name with args.
7781 set dummy $ac_prog; ac_word=$2
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7783 $as_echo_n "checking
for $ac_word...
" >&6; }
7784 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7785 $as_echo_n "(cached
) " >&6
7787 if test -n "$RUNTEST"; then
7788 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7794 test -z "$as_dir" && as_dir=.
7795 for ac_exec_ext in '' $ac_executable_extensions; do
7796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7797 ac_cv_prog_RUNTEST="$ac_prog"
7798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7807 RUNTEST=$ac_cv_prog_RUNTEST
7808 if test -n "$RUNTEST"; then
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7810 $as_echo "$RUNTEST" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7813 $as_echo "no
" >&6; }
7817 test -n "$RUNTEST" && break
7819 test -n "$RUNTEST" || RUNTEST="runtest
"
7821 case " $configdirs " in
7823 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7830 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7831 ncn_target_tool_prefix=
7832 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7836 if test -n "$AR"; then
7838 elif test -n "$ac_cv_prog_AR"; then
7842 if test -n "$ac_cv_prog_AR"; then
7843 for ncn_progname in ar; do
7844 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7845 set dummy ${ncn_progname}; ac_word=$2
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7847 $as_echo_n "checking
for $ac_word...
" >&6; }
7848 if test "${ac_cv_prog_AR+set}" = set; then :
7849 $as_echo_n "(cached
) " >&6
7851 if test -n "$AR"; then
7852 ac_cv_prog_AR="$AR" # Let the user override the test.
7854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 test -z "$as_dir" && as_dir=.
7859 for ac_exec_ext in '' $ac_executable_extensions; do
7860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7861 ac_cv_prog_AR="${ncn_progname}"
7862 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7872 if test -n "$AR"; then
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7874 $as_echo "$AR" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7877 $as_echo "no
" >&6; }
7884 for ncn_progname in ar; do
7885 if test -n "$ncn_tool_prefix"; then
7886 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
7887 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7889 $as_echo_n "checking
for $ac_word...
" >&6; }
7890 if test "${ac_cv_prog_AR+set}" = set; then :
7891 $as_echo_n "(cached
) " >&6
7893 if test -n "$AR"; then
7894 ac_cv_prog_AR="$AR" # Let the user override the test.
7896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7900 test -z "$as_dir" && as_dir=.
7901 for ac_exec_ext in '' $ac_executable_extensions; do
7902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7903 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
7904 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7914 if test -n "$AR"; then
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7916 $as_echo "$AR" >&6; }
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7919 $as_echo "no
" >&6; }
7924 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
7925 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7926 set dummy ${ncn_progname}; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7928 $as_echo_n "checking
for $ac_word...
" >&6; }
7929 if test "${ac_cv_prog_AR+set}" = set; then :
7930 $as_echo_n "(cached
) " >&6
7932 if test -n "$AR"; then
7933 ac_cv_prog_AR="$AR" # Let the user override the test.
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7939 test -z "$as_dir" && as_dir=.
7940 for ac_exec_ext in '' $ac_executable_extensions; do
7941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942 ac_cv_prog_AR="${ncn_progname}"
7943 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7953 if test -n "$AR"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7955 $as_echo "$AR" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7958 $as_echo "no
" >&6; }
7963 test -n "$ac_cv_prog_AR" && break
7966 if test -z "$ac_cv_prog_AR" ; then
7968 if test $build = $host ; then
7971 AR="${ncn_tool_prefix}$2"
7977 if test -n "$AS"; then
7979 elif test -n "$ac_cv_prog_AS"; then
7983 if test -n "$ac_cv_prog_AS"; then
7984 for ncn_progname in as; do
7985 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7986 set dummy ${ncn_progname}; ac_word=$2
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7988 $as_echo_n "checking
for $ac_word...
" >&6; }
7989 if test "${ac_cv_prog_AS+set}" = set; then :
7990 $as_echo_n "(cached
) " >&6
7992 if test -n "$AS"; then
7993 ac_cv_prog_AS="$AS" # Let the user override the test.
7995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 test -z "$as_dir" && as_dir=.
8000 for ac_exec_ext in '' $ac_executable_extensions; do
8001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8002 ac_cv_prog_AS="${ncn_progname}"
8003 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8013 if test -n "$AS"; then
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8015 $as_echo "$AS" >&6; }
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8018 $as_echo "no
" >&6; }
8025 for ncn_progname in as; do
8026 if test -n "$ncn_tool_prefix"; then
8027 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8028 set dummy ${ncn_tool_prefix}${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_AS+set}" = set; then :
8032 $as_echo_n "(cached
) " >&6
8034 if test -n "$AS"; then
8035 ac_cv_prog_AS="$AS" # 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_AS="${ncn_tool_prefix}${ncn_progname}"
8045 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8055 if test -n "$AS"; then
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8057 $as_echo "$AS" >&6; }
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8060 $as_echo "no
" >&6; }
8065 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8066 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8067 set dummy ${ncn_progname}; ac_word=$2
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8069 $as_echo_n "checking
for $ac_word...
" >&6; }
8070 if test "${ac_cv_prog_AS+set}" = set; then :
8071 $as_echo_n "(cached
) " >&6
8073 if test -n "$AS"; then
8074 ac_cv_prog_AS="$AS" # Let the user override the test.
8076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8080 test -z "$as_dir" && as_dir=.
8081 for ac_exec_ext in '' $ac_executable_extensions; do
8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8083 ac_cv_prog_AS="${ncn_progname}"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8094 if test -n "$AS"; then
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8096 $as_echo "$AS" >&6; }
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8099 $as_echo "no
" >&6; }
8104 test -n "$ac_cv_prog_AS" && break
8107 if test -z "$ac_cv_prog_AS" ; then
8109 if test $build = $host ; then
8112 AS="${ncn_tool_prefix}$2"
8118 if test -n "$DLLTOOL"; then
8119 ac_cv_prog_DLLTOOL=$DLLTOOL
8120 elif test -n "$ac_cv_prog_DLLTOOL"; then
8121 DLLTOOL=$ac_cv_prog_DLLTOOL
8124 if test -n "$ac_cv_prog_DLLTOOL"; then
8125 for ncn_progname in dlltool; do
8126 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8127 set dummy ${ncn_progname}; ac_word=$2
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8129 $as_echo_n "checking
for $ac_word...
" >&6; }
8130 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8131 $as_echo_n "(cached
) " >&6
8133 if test -n "$DLLTOOL"; then
8134 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 test -z "$as_dir" && as_dir=.
8141 for ac_exec_ext in '' $ac_executable_extensions; do
8142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8143 ac_cv_prog_DLLTOOL="${ncn_progname}"
8144 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8153 DLLTOOL=$ac_cv_prog_DLLTOOL
8154 if test -n "$DLLTOOL"; then
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8156 $as_echo "$DLLTOOL" >&6; }
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8159 $as_echo "no
" >&6; }
8166 for ncn_progname in dlltool; do
8167 if test -n "$ncn_tool_prefix"; then
8168 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8169 set dummy ${ncn_tool_prefix}${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_DLLTOOL+set}" = set; then :
8173 $as_echo_n "(cached
) " >&6
8175 if test -n "$DLLTOOL"; then
8176 ac_cv_prog_DLLTOOL="$DLLTOOL" # 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_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8186 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8195 DLLTOOL=$ac_cv_prog_DLLTOOL
8196 if test -n "$DLLTOOL"; then
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8198 $as_echo "$DLLTOOL" >&6; }
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8201 $as_echo "no
" >&6; }
8206 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8207 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8208 set dummy ${ncn_progname}; ac_word=$2
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8210 $as_echo_n "checking
for $ac_word...
" >&6; }
8211 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8212 $as_echo_n "(cached
) " >&6
8214 if test -n "$DLLTOOL"; then
8215 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8221 test -z "$as_dir" && as_dir=.
8222 for ac_exec_ext in '' $ac_executable_extensions; do
8223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8224 ac_cv_prog_DLLTOOL="${ncn_progname}"
8225 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8234 DLLTOOL=$ac_cv_prog_DLLTOOL
8235 if test -n "$DLLTOOL"; then
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8237 $as_echo "$DLLTOOL" >&6; }
8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8240 $as_echo "no
" >&6; }
8245 test -n "$ac_cv_prog_DLLTOOL" && break
8248 if test -z "$ac_cv_prog_DLLTOOL" ; then
8250 if test $build = $host ; then
8253 DLLTOOL="${ncn_tool_prefix}$2"
8259 if test -n "$LD"; then
8261 elif test -n "$ac_cv_prog_LD"; then
8265 if test -n "$ac_cv_prog_LD"; then
8266 for ncn_progname in ld; do
8267 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8268 set dummy ${ncn_progname}; ac_word=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8270 $as_echo_n "checking
for $ac_word...
" >&6; }
8271 if test "${ac_cv_prog_LD+set}" = set; then :
8272 $as_echo_n "(cached
) " >&6
8274 if test -n "$LD"; then
8275 ac_cv_prog_LD="$LD" # Let the user override the test.
8277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 test -z "$as_dir" && as_dir=.
8282 for ac_exec_ext in '' $ac_executable_extensions; do
8283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8284 ac_cv_prog_LD="${ncn_progname}"
8285 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8295 if test -n "$LD"; then
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8297 $as_echo "$LD" >&6; }
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8300 $as_echo "no
" >&6; }
8307 for ncn_progname in ld; do
8308 if test -n "$ncn_tool_prefix"; then
8309 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8310 set dummy ${ncn_tool_prefix}${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_LD+set}" = set; then :
8314 $as_echo_n "(cached
) " >&6
8316 if test -n "$LD"; then
8317 ac_cv_prog_LD="$LD" # 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_LD="${ncn_tool_prefix}${ncn_progname}"
8327 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8337 if test -n "$LD"; then
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8339 $as_echo "$LD" >&6; }
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8342 $as_echo "no
" >&6; }
8347 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8348 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8349 set dummy ${ncn_progname}; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8351 $as_echo_n "checking
for $ac_word...
" >&6; }
8352 if test "${ac_cv_prog_LD+set}" = set; then :
8353 $as_echo_n "(cached
) " >&6
8355 if test -n "$LD"; then
8356 ac_cv_prog_LD="$LD" # Let the user override the test.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8365 ac_cv_prog_LD="${ncn_progname}"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8376 if test -n "$LD"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8378 $as_echo "$LD" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8381 $as_echo "no
" >&6; }
8386 test -n "$ac_cv_prog_LD" && break
8389 if test -z "$ac_cv_prog_LD" ; then
8391 if test $build = $host ; then
8394 LD="${ncn_tool_prefix}$2"
8400 if test -n "$LIPO"; then
8401 ac_cv_prog_LIPO=$LIPO
8402 elif test -n "$ac_cv_prog_LIPO"; then
8403 LIPO=$ac_cv_prog_LIPO
8406 if test -n "$ac_cv_prog_LIPO"; then
8407 for ncn_progname in lipo; do
8408 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8409 set dummy ${ncn_progname}; ac_word=$2
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8411 $as_echo_n "checking
for $ac_word...
" >&6; }
8412 if test "${ac_cv_prog_LIPO+set}" = set; then :
8413 $as_echo_n "(cached
) " >&6
8415 if test -n "$LIPO"; then
8416 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir=.
8423 for ac_exec_ext in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_prog_LIPO="${ncn_progname}"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 LIPO=$ac_cv_prog_LIPO
8436 if test -n "$LIPO"; then
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8438 $as_echo "$LIPO" >&6; }
8440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8441 $as_echo "no
" >&6; }
8448 for ncn_progname in lipo; do
8449 if test -n "$ncn_tool_prefix"; then
8450 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8451 set dummy ${ncn_tool_prefix}${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_LIPO+set}" = set; then :
8455 $as_echo_n "(cached
) " >&6
8457 if test -n "$LIPO"; then
8458 ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ncn_tool_prefix}${ncn_progname}"
8468 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8477 LIPO=$ac_cv_prog_LIPO
8478 if test -n "$LIPO"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8480 $as_echo "$LIPO" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8483 $as_echo "no
" >&6; }
8488 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8490 set dummy ${ncn_progname}; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8492 $as_echo_n "checking
for $ac_word...
" >&6; }
8493 if test "${ac_cv_prog_LIPO+set}" = set; then :
8494 $as_echo_n "(cached
) " >&6
8496 if test -n "$LIPO"; then
8497 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506 ac_cv_prog_LIPO="${ncn_progname}"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 LIPO=$ac_cv_prog_LIPO
8517 if test -n "$LIPO"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8519 $as_echo "$LIPO" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8522 $as_echo "no
" >&6; }
8527 test -n "$ac_cv_prog_LIPO" && break
8530 if test -z "$ac_cv_prog_LIPO" ; then
8532 if test $build = $host ; then
8535 LIPO="${ncn_tool_prefix}$2"
8541 if test -n "$NM"; then
8543 elif test -n "$ac_cv_prog_NM"; then
8547 if test -n "$ac_cv_prog_NM"; then
8548 for ncn_progname in nm; do
8549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8550 set dummy ${ncn_progname}; ac_word=$2
8551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8552 $as_echo_n "checking
for $ac_word...
" >&6; }
8553 if test "${ac_cv_prog_NM+set}" = set; then :
8554 $as_echo_n "(cached
) " >&6
8556 if test -n "$NM"; then
8557 ac_cv_prog_NM="$NM" # Let the user override the test.
8559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8563 test -z "$as_dir" && as_dir=.
8564 for ac_exec_ext in '' $ac_executable_extensions; do
8565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8566 ac_cv_prog_NM="${ncn_progname}"
8567 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8577 if test -n "$NM"; then
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8579 $as_echo "$NM" >&6; }
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8582 $as_echo "no
" >&6; }
8589 for ncn_progname in nm; do
8590 if test -n "$ncn_tool_prefix"; then
8591 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8592 set dummy ${ncn_tool_prefix}${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_NM+set}" = set; then :
8596 $as_echo_n "(cached
) " >&6
8598 if test -n "$NM"; then
8599 ac_cv_prog_NM="$NM" # 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_NM="${ncn_tool_prefix}${ncn_progname}"
8609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8619 if test -n "$NM"; then
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8621 $as_echo "$NM" >&6; }
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8624 $as_echo "no
" >&6; }
8629 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8630 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8631 set dummy ${ncn_progname}; ac_word=$2
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8633 $as_echo_n "checking
for $ac_word...
" >&6; }
8634 if test "${ac_cv_prog_NM+set}" = set; then :
8635 $as_echo_n "(cached
) " >&6
8637 if test -n "$NM"; then
8638 ac_cv_prog_NM="$NM" # Let the user override the test.
8640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644 test -z "$as_dir" && as_dir=.
8645 for ac_exec_ext in '' $ac_executable_extensions; do
8646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8647 ac_cv_prog_NM="${ncn_progname}"
8648 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8658 if test -n "$NM"; then
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8660 $as_echo "$NM" >&6; }
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8663 $as_echo "no
" >&6; }
8668 test -n "$ac_cv_prog_NM" && break
8671 if test -z "$ac_cv_prog_NM" ; then
8673 if test $build = $host ; then
8676 NM="${ncn_tool_prefix}$2"
8682 if test -n "$RANLIB"; then
8683 ac_cv_prog_RANLIB=$RANLIB
8684 elif test -n "$ac_cv_prog_RANLIB"; then
8685 RANLIB=$ac_cv_prog_RANLIB
8688 if test -n "$ac_cv_prog_RANLIB"; then
8689 for ncn_progname in ranlib; do
8690 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8691 set dummy ${ncn_progname}; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8693 $as_echo_n "checking
for $ac_word...
" >&6; }
8694 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8695 $as_echo_n "(cached
) " >&6
8697 if test -n "$RANLIB"; then
8698 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8704 test -z "$as_dir" && as_dir=.
8705 for ac_exec_ext in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_prog_RANLIB="${ncn_progname}"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8717 RANLIB=$ac_cv_prog_RANLIB
8718 if test -n "$RANLIB"; then
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8720 $as_echo "$RANLIB" >&6; }
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8723 $as_echo "no
" >&6; }
8730 for ncn_progname in ranlib; do
8731 if test -n "$ncn_tool_prefix"; then
8732 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8733 set dummy ${ncn_tool_prefix}${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_RANLIB+set}" = set; then :
8737 $as_echo_n "(cached
) " >&6
8739 if test -n "$RANLIB"; then
8740 ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8759 RANLIB=$ac_cv_prog_RANLIB
8760 if test -n "$RANLIB"; then
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8762 $as_echo "$RANLIB" >&6; }
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8765 $as_echo "no
" >&6; }
8770 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8771 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8772 set dummy ${ncn_progname}; ac_word=$2
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8774 $as_echo_n "checking
for $ac_word...
" >&6; }
8775 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8776 $as_echo_n "(cached
) " >&6
8778 if test -n "$RANLIB"; then
8779 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8785 test -z "$as_dir" && as_dir=.
8786 for ac_exec_ext in '' $ac_executable_extensions; do
8787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8788 ac_cv_prog_RANLIB="${ncn_progname}"
8789 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8798 RANLIB=$ac_cv_prog_RANLIB
8799 if test -n "$RANLIB"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8801 $as_echo "$RANLIB" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8804 $as_echo "no
" >&6; }
8809 test -n "$ac_cv_prog_RANLIB" && break
8812 if test -z "$ac_cv_prog_RANLIB" ; then
8818 if test -n "$STRIP"; then
8819 ac_cv_prog_STRIP=$STRIP
8820 elif test -n "$ac_cv_prog_STRIP"; then
8821 STRIP=$ac_cv_prog_STRIP
8824 if test -n "$ac_cv_prog_STRIP"; then
8825 for ncn_progname in strip; do
8826 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8827 set dummy ${ncn_progname}; ac_word=$2
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8829 $as_echo_n "checking
for $ac_word...
" >&6; }
8830 if test "${ac_cv_prog_STRIP+set}" = set; then :
8831 $as_echo_n "(cached
) " >&6
8833 if test -n "$STRIP"; then
8834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8840 test -z "$as_dir" && as_dir=.
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8843 ac_cv_prog_STRIP="${ncn_progname}"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8853 STRIP=$ac_cv_prog_STRIP
8854 if test -n "$STRIP"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8856 $as_echo "$STRIP" >&6; }
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8859 $as_echo "no
" >&6; }
8866 for ncn_progname in strip; do
8867 if test -n "$ncn_tool_prefix"; then
8868 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8869 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8871 $as_echo_n "checking
for $ac_word...
" >&6; }
8872 if test "${ac_cv_prog_STRIP+set}" = set; then :
8873 $as_echo_n "(cached
) " >&6
8875 if test -n "$STRIP"; then
8876 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8882 test -z "$as_dir" && as_dir=.
8883 for ac_exec_ext in '' $ac_executable_extensions; do
8884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8885 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
8886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8895 STRIP=$ac_cv_prog_STRIP
8896 if test -n "$STRIP"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8898 $as_echo "$STRIP" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8901 $as_echo "no
" >&6; }
8906 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
8907 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8908 set dummy ${ncn_progname}; ac_word=$2
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8910 $as_echo_n "checking
for $ac_word...
" >&6; }
8911 if test "${ac_cv_prog_STRIP+set}" = set; then :
8912 $as_echo_n "(cached
) " >&6
8914 if test -n "$STRIP"; then
8915 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8921 test -z "$as_dir" && as_dir=.
8922 for ac_exec_ext in '' $ac_executable_extensions; do
8923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8924 ac_cv_prog_STRIP="${ncn_progname}"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8934 STRIP=$ac_cv_prog_STRIP
8935 if test -n "$STRIP"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8937 $as_echo "$STRIP" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8940 $as_echo "no
" >&6; }
8945 test -n "$ac_cv_prog_STRIP" && break
8948 if test -z "$ac_cv_prog_STRIP" ; then
8954 if test -n "$WINDRES"; then
8955 ac_cv_prog_WINDRES=$WINDRES
8956 elif test -n "$ac_cv_prog_WINDRES"; then
8957 WINDRES=$ac_cv_prog_WINDRES
8960 if test -n "$ac_cv_prog_WINDRES"; then
8961 for ncn_progname in windres; do
8962 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8963 set dummy ${ncn_progname}; ac_word=$2
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8965 $as_echo_n "checking
for $ac_word...
" >&6; }
8966 if test "${ac_cv_prog_WINDRES+set}" = set; then :
8967 $as_echo_n "(cached
) " >&6
8969 if test -n "$WINDRES"; then
8970 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
8972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8976 test -z "$as_dir" && as_dir=.
8977 for ac_exec_ext in '' $ac_executable_extensions; do
8978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8979 ac_cv_prog_WINDRES="${ncn_progname}"
8980 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8989 WINDRES=$ac_cv_prog_WINDRES
8990 if test -n "$WINDRES"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
8992 $as_echo "$WINDRES" >&6; }
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8995 $as_echo "no
" >&6; }
9002 for ncn_progname in windres; do
9003 if test -n "$ncn_tool_prefix"; then
9004 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9005 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9007 $as_echo_n "checking
for $ac_word...
" >&6; }
9008 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9009 $as_echo_n "(cached
) " >&6
9011 if test -n "$WINDRES"; then
9012 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9018 test -z "$as_dir" && as_dir=.
9019 for ac_exec_ext in '' $ac_executable_extensions; do
9020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9021 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9022 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9031 WINDRES=$ac_cv_prog_WINDRES
9032 if test -n "$WINDRES"; then
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9034 $as_echo "$WINDRES" >&6; }
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9037 $as_echo "no
" >&6; }
9042 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9043 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9044 set dummy ${ncn_progname}; ac_word=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9046 $as_echo_n "checking
for $ac_word...
" >&6; }
9047 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9048 $as_echo_n "(cached
) " >&6
9050 if test -n "$WINDRES"; then
9051 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9057 test -z "$as_dir" && as_dir=.
9058 for ac_exec_ext in '' $ac_executable_extensions; do
9059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9060 ac_cv_prog_WINDRES="${ncn_progname}"
9061 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9070 WINDRES=$ac_cv_prog_WINDRES
9071 if test -n "$WINDRES"; then
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9073 $as_echo "$WINDRES" >&6; }
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9076 $as_echo "no
" >&6; }
9081 test -n "$ac_cv_prog_WINDRES" && break
9084 if test -z "$ac_cv_prog_WINDRES" ; then
9086 if test $build = $host ; then
9089 WINDRES="${ncn_tool_prefix}$2"
9095 if test -n "$WINDMC"; then
9096 ac_cv_prog_WINDMC=$WINDMC
9097 elif test -n "$ac_cv_prog_WINDMC"; then
9098 WINDMC=$ac_cv_prog_WINDMC
9101 if test -n "$ac_cv_prog_WINDMC"; then
9102 for ncn_progname in windmc; do
9103 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9104 set dummy ${ncn_progname}; ac_word=$2
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9106 $as_echo_n "checking
for $ac_word...
" >&6; }
9107 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9108 $as_echo_n "(cached
) " >&6
9110 if test -n "$WINDMC"; then
9111 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9117 test -z "$as_dir" && as_dir=.
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9120 ac_cv_prog_WINDMC="${ncn_progname}"
9121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9130 WINDMC=$ac_cv_prog_WINDMC
9131 if test -n "$WINDMC"; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9133 $as_echo "$WINDMC" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9136 $as_echo "no
" >&6; }
9143 for ncn_progname in windmc; do
9144 if test -n "$ncn_tool_prefix"; then
9145 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9146 set dummy ${ncn_tool_prefix}${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_WINDMC+set}" = set; then :
9150 $as_echo_n "(cached
) " >&6
9152 if test -n "$WINDMC"; then
9153 ac_cv_prog_WINDMC="$WINDMC" # 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_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9172 WINDMC=$ac_cv_prog_WINDMC
9173 if test -n "$WINDMC"; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9175 $as_echo "$WINDMC" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9178 $as_echo "no
" >&6; }
9183 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9184 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9185 set dummy ${ncn_progname}; ac_word=$2
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9187 $as_echo_n "checking
for $ac_word...
" >&6; }
9188 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9189 $as_echo_n "(cached
) " >&6
9191 if test -n "$WINDMC"; then
9192 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9198 test -z "$as_dir" && as_dir=.
9199 for ac_exec_ext in '' $ac_executable_extensions; do
9200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9201 ac_cv_prog_WINDMC="${ncn_progname}"
9202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9211 WINDMC=$ac_cv_prog_WINDMC
9212 if test -n "$WINDMC"; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9214 $as_echo "$WINDMC" >&6; }
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9217 $as_echo "no
" >&6; }
9222 test -n "$ac_cv_prog_WINDMC" && break
9225 if test -z "$ac_cv_prog_WINDMC" ; then
9227 if test $build = $host ; then
9230 WINDMC="${ncn_tool_prefix}$2"
9236 if test -n "$OBJCOPY"; then
9237 ac_cv_prog_OBJCOPY=$OBJCOPY
9238 elif test -n "$ac_cv_prog_OBJCOPY"; then
9239 OBJCOPY=$ac_cv_prog_OBJCOPY
9242 if test -n "$ac_cv_prog_OBJCOPY"; then
9243 for ncn_progname in objcopy; do
9244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9245 set dummy ${ncn_progname}; ac_word=$2
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9247 $as_echo_n "checking
for $ac_word...
" >&6; }
9248 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9249 $as_echo_n "(cached
) " >&6
9251 if test -n "$OBJCOPY"; then
9252 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 test -z "$as_dir" && as_dir=.
9259 for ac_exec_ext in '' $ac_executable_extensions; do
9260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9261 ac_cv_prog_OBJCOPY="${ncn_progname}"
9262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9271 OBJCOPY=$ac_cv_prog_OBJCOPY
9272 if test -n "$OBJCOPY"; then
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9274 $as_echo "$OBJCOPY" >&6; }
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9277 $as_echo "no
" >&6; }
9284 for ncn_progname in objcopy; do
9285 if test -n "$ncn_tool_prefix"; then
9286 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9287 set dummy ${ncn_tool_prefix}${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_OBJCOPY+set}" = set; then :
9291 $as_echo_n "(cached
) " >&6
9293 if test -n "$OBJCOPY"; then
9294 ac_cv_prog_OBJCOPY="$OBJCOPY" # 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_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9304 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9313 OBJCOPY=$ac_cv_prog_OBJCOPY
9314 if test -n "$OBJCOPY"; then
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9316 $as_echo "$OBJCOPY" >&6; }
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9319 $as_echo "no
" >&6; }
9324 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9325 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9326 set dummy ${ncn_progname}; ac_word=$2
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9328 $as_echo_n "checking
for $ac_word...
" >&6; }
9329 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9330 $as_echo_n "(cached
) " >&6
9332 if test -n "$OBJCOPY"; then
9333 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir=.
9340 for ac_exec_ext in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_prog_OBJCOPY="${ncn_progname}"
9343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9352 OBJCOPY=$ac_cv_prog_OBJCOPY
9353 if test -n "$OBJCOPY"; then
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9355 $as_echo "$OBJCOPY" >&6; }
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9358 $as_echo "no
" >&6; }
9363 test -n "$ac_cv_prog_OBJCOPY" && break
9366 if test -z "$ac_cv_prog_OBJCOPY" ; then
9368 if test $build = $host ; then
9371 OBJCOPY="${ncn_tool_prefix}$2"
9377 if test -n "$OBJDUMP"; then
9378 ac_cv_prog_OBJDUMP=$OBJDUMP
9379 elif test -n "$ac_cv_prog_OBJDUMP"; then
9380 OBJDUMP=$ac_cv_prog_OBJDUMP
9383 if test -n "$ac_cv_prog_OBJDUMP"; then
9384 for ncn_progname in objdump; do
9385 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9386 set dummy ${ncn_progname}; ac_word=$2
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9388 $as_echo_n "checking
for $ac_word...
" >&6; }
9389 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9390 $as_echo_n "(cached
) " >&6
9392 if test -n "$OBJDUMP"; then
9393 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9399 test -z "$as_dir" && as_dir=.
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9402 ac_cv_prog_OBJDUMP="${ncn_progname}"
9403 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9412 OBJDUMP=$ac_cv_prog_OBJDUMP
9413 if test -n "$OBJDUMP"; then
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9415 $as_echo "$OBJDUMP" >&6; }
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9418 $as_echo "no
" >&6; }
9425 for ncn_progname in objdump; do
9426 if test -n "$ncn_tool_prefix"; then
9427 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9428 set dummy ${ncn_tool_prefix}${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_OBJDUMP+set}" = set; then :
9432 $as_echo_n "(cached
) " >&6
9434 if test -n "$OBJDUMP"; then
9435 ac_cv_prog_OBJDUMP="$OBJDUMP" # 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_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9445 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9454 OBJDUMP=$ac_cv_prog_OBJDUMP
9455 if test -n "$OBJDUMP"; then
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9457 $as_echo "$OBJDUMP" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9460 $as_echo "no
" >&6; }
9465 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9466 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9467 set dummy ${ncn_progname}; ac_word=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9469 $as_echo_n "checking
for $ac_word...
" >&6; }
9470 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9471 $as_echo_n "(cached
) " >&6
9473 if test -n "$OBJDUMP"; then
9474 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9480 test -z "$as_dir" && as_dir=.
9481 for ac_exec_ext in '' $ac_executable_extensions; do
9482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9483 ac_cv_prog_OBJDUMP="${ncn_progname}"
9484 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9493 OBJDUMP=$ac_cv_prog_OBJDUMP
9494 if test -n "$OBJDUMP"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9496 $as_echo "$OBJDUMP" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9499 $as_echo "no
" >&6; }
9504 test -n "$ac_cv_prog_OBJDUMP" && break
9507 if test -z "$ac_cv_prog_OBJDUMP" ; then
9509 if test $build = $host ; then
9512 OBJDUMP="${ncn_tool_prefix}$2"
9518 if test -n "$READELF"; then
9519 ac_cv_prog_READELF=$READELF
9520 elif test -n "$ac_cv_prog_READELF"; then
9521 READELF=$ac_cv_prog_READELF
9524 if test -n "$ac_cv_prog_READELF"; then
9525 for ncn_progname in readelf; do
9526 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9527 set dummy ${ncn_progname}; ac_word=$2
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9529 $as_echo_n "checking
for $ac_word...
" >&6; }
9530 if test "${ac_cv_prog_READELF+set}" = set; then :
9531 $as_echo_n "(cached
) " >&6
9533 if test -n "$READELF"; then
9534 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9540 test -z "$as_dir" && as_dir=.
9541 for ac_exec_ext in '' $ac_executable_extensions; do
9542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9543 ac_cv_prog_READELF="${ncn_progname}"
9544 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9553 READELF=$ac_cv_prog_READELF
9554 if test -n "$READELF"; then
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9556 $as_echo "$READELF" >&6; }
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9559 $as_echo "no
" >&6; }
9566 for ncn_progname in readelf; do
9567 if test -n "$ncn_tool_prefix"; then
9568 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9569 set dummy ${ncn_tool_prefix}${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_READELF+set}" = set; then :
9573 $as_echo_n "(cached
) " >&6
9575 if test -n "$READELF"; then
9576 ac_cv_prog_READELF="$READELF" # 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_READELF="${ncn_tool_prefix}${ncn_progname}"
9586 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9595 READELF=$ac_cv_prog_READELF
9596 if test -n "$READELF"; then
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9598 $as_echo "$READELF" >&6; }
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9601 $as_echo "no
" >&6; }
9606 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9607 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9608 set dummy ${ncn_progname}; ac_word=$2
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9610 $as_echo_n "checking
for $ac_word...
" >&6; }
9611 if test "${ac_cv_prog_READELF+set}" = set; then :
9612 $as_echo_n "(cached
) " >&6
9614 if test -n "$READELF"; then
9615 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9621 test -z "$as_dir" && as_dir=.
9622 for ac_exec_ext in '' $ac_executable_extensions; do
9623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9624 ac_cv_prog_READELF="${ncn_progname}"
9625 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9634 READELF=$ac_cv_prog_READELF
9635 if test -n "$READELF"; then
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9637 $as_echo "$READELF" >&6; }
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9640 $as_echo "no
" >&6; }
9645 test -n "$ac_cv_prog_READELF" && break
9648 if test -z "$ac_cv_prog_READELF" ; then
9650 if test $build = $host ; then
9653 READELF="${ncn_tool_prefix}$2"
9664 # Check whether --with-build-time-tools was given.
9665 if test "${with_build_time_tools+set}" = set; then :
9666 withval=$with_build_time_tools; case x"$withval" in
9669 with_build_time_tools=
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9671 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9675 with_build_time_tools=
9681 if test -n "$CC_FOR_TARGET"; then
9682 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9683 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9684 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9687 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9688 for ncn_progname in cc gcc; do
9689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9690 set dummy ${ncn_progname}; ac_word=$2
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9692 $as_echo_n "checking
for $ac_word...
" >&6; }
9693 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9694 $as_echo_n "(cached
) " >&6
9696 if test -n "$CC_FOR_TARGET"; then
9697 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9703 test -z "$as_dir" && as_dir=.
9704 for ac_exec_ext in '' $ac_executable_extensions; do
9705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9706 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9716 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9717 if test -n "$CC_FOR_TARGET"; then
9718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9719 $as_echo "$CC_FOR_TARGET" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9722 $as_echo "no
" >&6; }
9729 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9730 for ncn_progname in cc gcc; do
9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9732 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9733 if test -x $with_build_time_tools/${ncn_progname}; then
9734 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9736 $as_echo "yes" >&6; }
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9740 $as_echo "no
" >&6; }
9745 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9746 for ncn_progname in cc gcc; do
9747 if test -n "$ncn_target_tool_prefix"; then
9748 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9749 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9751 $as_echo_n "checking
for $ac_word...
" >&6; }
9752 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9753 $as_echo_n "(cached
) " >&6
9755 if test -n "$CC_FOR_TARGET"; then
9756 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9762 test -z "$as_dir" && as_dir=.
9763 for ac_exec_ext in '' $ac_executable_extensions; do
9764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9765 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9775 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9776 if test -n "$CC_FOR_TARGET"; then
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9778 $as_echo "$CC_FOR_TARGET" >&6; }
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9781 $as_echo "no
" >&6; }
9786 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9787 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9788 set dummy ${ncn_progname}; ac_word=$2
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9790 $as_echo_n "checking
for $ac_word...
" >&6; }
9791 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9792 $as_echo_n "(cached
) " >&6
9794 if test -n "$CC_FOR_TARGET"; then
9795 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9801 test -z "$as_dir" && as_dir=.
9802 for ac_exec_ext in '' $ac_executable_extensions; do
9803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9804 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9805 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9814 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9815 if test -n "$CC_FOR_TARGET"; then
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9817 $as_echo "$CC_FOR_TARGET" >&6; }
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9820 $as_echo "no
" >&6; }
9825 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9829 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9831 if test $build = $target ; then
9834 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9837 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9842 if test -n "$CXX_FOR_TARGET"; then
9843 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9844 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9845 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9848 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9849 for ncn_progname in c++ g++ cxx gxx; do
9850 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9851 set dummy ${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_CXX_FOR_TARGET+set}" = set; then :
9855 $as_echo_n "(cached
) " >&6
9857 if test -n "$CXX_FOR_TARGET"; then
9858 ac_cv_prog_CXX_FOR_TARGET="$CXX_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_CXX_FOR_TARGET="${ncn_progname}"
9868 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9877 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9878 if test -n "$CXX_FOR_TARGET"; then
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9880 $as_echo "$CXX_FOR_TARGET" >&6; }
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9883 $as_echo "no
" >&6; }
9890 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
9891 for ncn_progname in c++ g++ cxx gxx; do
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9893 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9894 if test -x $with_build_time_tools/${ncn_progname}; then
9895 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9897 $as_echo "yes" >&6; }
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9901 $as_echo "no
" >&6; }
9906 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
9907 for ncn_progname in c++ g++ cxx gxx; do
9908 if test -n "$ncn_target_tool_prefix"; then
9909 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9910 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9912 $as_echo_n "checking
for $ac_word...
" >&6; }
9913 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9914 $as_echo_n "(cached
) " >&6
9916 if test -n "$CXX_FOR_TARGET"; then
9917 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9923 test -z "$as_dir" && as_dir=.
9924 for ac_exec_ext in '' $ac_executable_extensions; do
9925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9926 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9936 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9937 if test -n "$CXX_FOR_TARGET"; then
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9939 $as_echo "$CXX_FOR_TARGET" >&6; }
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9942 $as_echo "no
" >&6; }
9947 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
9948 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9949 set dummy ${ncn_progname}; ac_word=$2
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9951 $as_echo_n "checking
for $ac_word...
" >&6; }
9952 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9953 $as_echo_n "(cached
) " >&6
9955 if test -n "$CXX_FOR_TARGET"; then
9956 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
9958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9962 test -z "$as_dir" && as_dir=.
9963 for ac_exec_ext in '' $ac_executable_extensions; do
9964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9965 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
9966 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9975 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9976 if test -n "$CXX_FOR_TARGET"; then
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
9978 $as_echo "$CXX_FOR_TARGET" >&6; }
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9981 $as_echo "no
" >&6; }
9986 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
9990 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
9991 set dummy c++ g++ cxx gxx
9992 if test $build = $target ; then
9995 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
9998 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10003 if test -n "$GCC_FOR_TARGET"; then
10004 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10005 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10006 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10009 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10010 for ncn_progname in gcc; do
10011 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10012 set dummy ${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_GCC_FOR_TARGET+set}" = set; then :
10016 $as_echo_n "(cached
) " >&6
10018 if test -n "$GCC_FOR_TARGET"; then
10019 ac_cv_prog_GCC_FOR_TARGET="$GCC_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_GCC_FOR_TARGET="${ncn_progname}"
10029 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10038 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10039 if test -n "$GCC_FOR_TARGET"; then
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10041 $as_echo "$GCC_FOR_TARGET" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10044 $as_echo "no
" >&6; }
10051 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10052 for ncn_progname in gcc; do
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10054 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10055 if test -x $with_build_time_tools/${ncn_progname}; then
10056 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10058 $as_echo "yes" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10062 $as_echo "no
" >&6; }
10067 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10068 for ncn_progname in gcc; do
10069 if test -n "$ncn_target_tool_prefix"; then
10070 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10071 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10073 $as_echo_n "checking
for $ac_word...
" >&6; }
10074 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10075 $as_echo_n "(cached
) " >&6
10077 if test -n "$GCC_FOR_TARGET"; then
10078 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10081 for as_dir in $PATH
10084 test -z "$as_dir" && as_dir=.
10085 for ac_exec_ext in '' $ac_executable_extensions; do
10086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10087 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10088 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10097 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10098 if test -n "$GCC_FOR_TARGET"; then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10100 $as_echo "$GCC_FOR_TARGET" >&6; }
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10103 $as_echo "no
" >&6; }
10108 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10109 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10110 set dummy ${ncn_progname}; ac_word=$2
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10112 $as_echo_n "checking
for $ac_word...
" >&6; }
10113 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10114 $as_echo_n "(cached
) " >&6
10116 if test -n "$GCC_FOR_TARGET"; then
10117 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10120 for as_dir in $PATH
10123 test -z "$as_dir" && as_dir=.
10124 for ac_exec_ext in '' $ac_executable_extensions; do
10125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10126 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10127 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10136 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10137 if test -n "$GCC_FOR_TARGET"; then
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10139 $as_echo "$GCC_FOR_TARGET" >&6; }
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10142 $as_echo "no
" >&6; }
10147 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10151 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10152 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10154 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10159 if test -n "$GCJ_FOR_TARGET"; then
10160 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10161 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10162 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10165 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10166 for ncn_progname in gcj; do
10167 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10168 set dummy ${ncn_progname}; ac_word=$2
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10170 $as_echo_n "checking
for $ac_word...
" >&6; }
10171 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10172 $as_echo_n "(cached
) " >&6
10174 if test -n "$GCJ_FOR_TARGET"; then
10175 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10178 for as_dir in $PATH
10181 test -z "$as_dir" && as_dir=.
10182 for ac_exec_ext in '' $ac_executable_extensions; do
10183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10184 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10194 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10195 if test -n "$GCJ_FOR_TARGET"; then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10197 $as_echo "$GCJ_FOR_TARGET" >&6; }
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10200 $as_echo "no
" >&6; }
10207 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10208 for ncn_progname in gcj; do
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10210 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10211 if test -x $with_build_time_tools/${ncn_progname}; then
10212 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10214 $as_echo "yes" >&6; }
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10218 $as_echo "no
" >&6; }
10223 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10224 for ncn_progname in gcj; do
10225 if test -n "$ncn_target_tool_prefix"; then
10226 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10227 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10229 $as_echo_n "checking
for $ac_word...
" >&6; }
10230 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10231 $as_echo_n "(cached
) " >&6
10233 if test -n "$GCJ_FOR_TARGET"; then
10234 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10237 for as_dir in $PATH
10240 test -z "$as_dir" && as_dir=.
10241 for ac_exec_ext in '' $ac_executable_extensions; do
10242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10243 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10253 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10254 if test -n "$GCJ_FOR_TARGET"; then
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10256 $as_echo "$GCJ_FOR_TARGET" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10259 $as_echo "no
" >&6; }
10264 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10265 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10266 set dummy ${ncn_progname}; ac_word=$2
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10268 $as_echo_n "checking
for $ac_word...
" >&6; }
10269 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10270 $as_echo_n "(cached
) " >&6
10272 if test -n "$GCJ_FOR_TARGET"; then
10273 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10276 for as_dir in $PATH
10279 test -z "$as_dir" && as_dir=.
10280 for ac_exec_ext in '' $ac_executable_extensions; do
10281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10282 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10283 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10292 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10293 if test -n "$GCJ_FOR_TARGET"; then
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10295 $as_echo "$GCJ_FOR_TARGET" >&6; }
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10298 $as_echo "no
" >&6; }
10303 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10307 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10309 if test $build = $target ; then
10310 GCJ_FOR_TARGET="$2"
10312 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10315 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10320 if test -n "$GFORTRAN_FOR_TARGET"; then
10321 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10322 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10323 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10326 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10327 for ncn_progname in gfortran; do
10328 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10329 set dummy ${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_GFORTRAN_FOR_TARGET+set}" = set; then :
10333 $as_echo_n "(cached
) " >&6
10335 if test -n "$GFORTRAN_FOR_TARGET"; then
10336 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_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_GFORTRAN_FOR_TARGET="${ncn_progname}"
10346 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10355 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10356 if test -n "$GFORTRAN_FOR_TARGET"; then
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10358 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10361 $as_echo "no
" >&6; }
10368 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10369 for ncn_progname in gfortran; do
10370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10371 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10372 if test -x $with_build_time_tools/${ncn_progname}; then
10373 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10375 $as_echo "yes" >&6; }
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10379 $as_echo "no
" >&6; }
10384 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10385 for ncn_progname in gfortran; do
10386 if test -n "$ncn_target_tool_prefix"; then
10387 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10388 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10390 $as_echo_n "checking
for $ac_word...
" >&6; }
10391 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10392 $as_echo_n "(cached
) " >&6
10394 if test -n "$GFORTRAN_FOR_TARGET"; then
10395 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10398 for as_dir in $PATH
10401 test -z "$as_dir" && as_dir=.
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10404 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10405 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10414 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10415 if test -n "$GFORTRAN_FOR_TARGET"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10417 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10420 $as_echo "no
" >&6; }
10425 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10426 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10427 set dummy ${ncn_progname}; ac_word=$2
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10429 $as_echo_n "checking
for $ac_word...
" >&6; }
10430 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10431 $as_echo_n "(cached
) " >&6
10433 if test -n "$GFORTRAN_FOR_TARGET"; then
10434 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10440 test -z "$as_dir" && as_dir=.
10441 for ac_exec_ext in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10453 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10454 if test -n "$GFORTRAN_FOR_TARGET"; then
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10456 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10459 $as_echo "no
" >&6; }
10464 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10468 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10470 if test $build = $target ; then
10471 GFORTRAN_FOR_TARGET="$2"
10473 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10476 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10481 if test -n "$GOC_FOR_TARGET"; then
10482 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10483 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10484 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10487 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10488 for ncn_progname in gccgo; do
10489 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10490 set dummy ${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_GOC_FOR_TARGET+set}" = set; then :
10494 $as_echo_n "(cached
) " >&6
10496 if test -n "$GOC_FOR_TARGET"; then
10497 ac_cv_prog_GOC_FOR_TARGET="$GOC_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_GOC_FOR_TARGET="${ncn_progname}"
10507 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10516 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10517 if test -n "$GOC_FOR_TARGET"; then
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10519 $as_echo "$GOC_FOR_TARGET" >&6; }
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10522 $as_echo "no
" >&6; }
10529 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10530 for ncn_progname in gccgo; do
10531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10532 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10533 if test -x $with_build_time_tools/${ncn_progname}; then
10534 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10536 $as_echo "yes" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10540 $as_echo "no
" >&6; }
10545 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10546 for ncn_progname in gccgo; do
10547 if test -n "$ncn_target_tool_prefix"; then
10548 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10549 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10551 $as_echo_n "checking
for $ac_word...
" >&6; }
10552 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10553 $as_echo_n "(cached
) " >&6
10555 if test -n "$GOC_FOR_TARGET"; then
10556 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10559 for as_dir in $PATH
10562 test -z "$as_dir" && as_dir=.
10563 for ac_exec_ext in '' $ac_executable_extensions; do
10564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10565 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10575 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10576 if test -n "$GOC_FOR_TARGET"; then
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10578 $as_echo "$GOC_FOR_TARGET" >&6; }
10580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10581 $as_echo "no
" >&6; }
10586 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10587 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10588 set dummy ${ncn_progname}; ac_word=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10590 $as_echo_n "checking
for $ac_word...
" >&6; }
10591 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10592 $as_echo_n "(cached
) " >&6
10594 if test -n "$GOC_FOR_TARGET"; then
10595 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10598 for as_dir in $PATH
10601 test -z "$as_dir" && as_dir=.
10602 for ac_exec_ext in '' $ac_executable_extensions; do
10603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10604 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10605 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10614 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10615 if test -n "$GOC_FOR_TARGET"; then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10617 $as_echo "$GOC_FOR_TARGET" >&6; }
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10620 $as_echo "no
" >&6; }
10625 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10629 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10631 if test $build = $target ; then
10632 GOC_FOR_TARGET="$2"
10634 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10637 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10642 if test -n "$GUPC_FOR_TARGET"; then
10643 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10644 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10645 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10648 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10649 for ncn_progname in gupc; do
10650 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10651 set dummy ${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_GUPC_FOR_TARGET+set}" = set; then :
10655 $as_echo_n "(cached
) " >&6
10657 if test -n "$GUPC_FOR_TARGET"; then
10658 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_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_GUPC_FOR_TARGET="${ncn_progname}"
10668 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10677 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10678 if test -n "$GUPC_FOR_TARGET"; then
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10680 $as_echo "$GUPC_FOR_TARGET" >&6; }
10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10683 $as_echo "no
" >&6; }
10690 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10691 for ncn_progname in gupc; do
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10693 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10694 if test -x $with_build_time_tools/${ncn_progname}; then
10695 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10697 $as_echo "yes" >&6; }
10700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10701 $as_echo "no
" >&6; }
10706 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
10707 for ncn_progname in gupc; do
10708 if test -n "$ncn_target_tool_prefix"; then
10709 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10710 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10712 $as_echo_n "checking
for $ac_word...
" >&6; }
10713 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10714 $as_echo_n "(cached
) " >&6
10716 if test -n "$GUPC_FOR_TARGET"; then
10717 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10720 for as_dir in $PATH
10723 test -z "$as_dir" && as_dir=.
10724 for ac_exec_ext in '' $ac_executable_extensions; do
10725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10726 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10736 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10737 if test -n "$GUPC_FOR_TARGET"; then
10738 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10739 $as_echo "$GUPC_FOR_TARGET" >&6; }
10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10742 $as_echo "no
" >&6; }
10747 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
10748 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10749 set dummy ${ncn_progname}; ac_word=$2
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10751 $as_echo_n "checking
for $ac_word...
" >&6; }
10752 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10753 $as_echo_n "(cached
) " >&6
10755 if test -n "$GUPC_FOR_TARGET"; then
10756 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10759 for as_dir in $PATH
10762 test -z "$as_dir" && as_dir=.
10763 for ac_exec_ext in '' $ac_executable_extensions; do
10764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10765 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
10766 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10775 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10776 if test -n "$GUPC_FOR_TARGET"; then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10778 $as_echo "$GUPC_FOR_TARGET" >&6; }
10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10781 $as_echo "no
" >&6; }
10786 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
10790 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
10792 if test $build = $target ; then
10793 GUPC_FOR_TARGET="$2"
10795 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10798 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
10803 cat > conftest.c << \EOF
10808 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10809 have_gcc_for_target=yes
10811 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10812 have_gcc_for_target=no
10819 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10820 if test -n "$with_build_time_tools"; then
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10822 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10823 if test -x $with_build_time_tools/ar; then
10824 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10825 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10827 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10830 $as_echo "no
" >&6; }
10832 elif test $build != $host && test $have_gcc_for_target = yes; then
10833 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10834 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10835 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10838 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10839 # Extract the first word of "ar", so it can be a program name with args.
10840 set dummy ar; ac_word=$2
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10842 $as_echo_n "checking
for $ac_word...
" >&6; }
10843 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10844 $as_echo_n "(cached
) " >&6
10846 case $AR_FOR_TARGET in
10848 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10852 for as_dir in $gcc_cv_tool_dirs
10855 test -z "$as_dir" && as_dir=.
10856 for ac_exec_ext in '' $ac_executable_extensions; do
10857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10858 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10859 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10869 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10870 if test -n "$AR_FOR_TARGET"; then
10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10872 $as_echo "$AR_FOR_TARGET" >&6; }
10874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10875 $as_echo "no
" >&6; }
10880 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10883 if test -n "$AR_FOR_TARGET"; then
10884 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10885 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10886 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10889 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10890 for ncn_progname in ar; do
10891 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10892 set dummy ${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_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; }
10931 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10932 for ncn_progname in ar; do
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10934 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10935 if test -x $with_build_time_tools/${ncn_progname}; then
10936 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10938 $as_echo "yes" >&6; }
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10942 $as_echo "no
" >&6; }
10947 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10948 for ncn_progname in ar; do
10949 if test -n "$ncn_target_tool_prefix"; then
10950 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10951 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10953 $as_echo_n "checking
for $ac_word...
" >&6; }
10954 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10955 $as_echo_n "(cached
) " >&6
10957 if test -n "$AR_FOR_TARGET"; then
10958 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10961 for as_dir in $PATH
10964 test -z "$as_dir" && as_dir=.
10965 for ac_exec_ext in '' $ac_executable_extensions; do
10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10967 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10968 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10977 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10978 if test -n "$AR_FOR_TARGET"; then
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10980 $as_echo "$AR_FOR_TARGET" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10983 $as_echo "no
" >&6; }
10988 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10989 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10990 set dummy ${ncn_progname}; ac_word=$2
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10992 $as_echo_n "checking
for $ac_word...
" >&6; }
10993 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
10994 $as_echo_n "(cached
) " >&6
10996 if test -n "$AR_FOR_TARGET"; then
10997 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11000 for as_dir in $PATH
11003 test -z "$as_dir" && as_dir=.
11004 for ac_exec_ext in '' $ac_executable_extensions; do
11005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11006 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11007 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11016 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11017 if test -n "$AR_FOR_TARGET"; then
11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11019 $as_echo "$AR_FOR_TARGET" >&6; }
11021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11022 $as_echo "no
" >&6; }
11027 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11031 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11033 if test $build = $target ; then
11036 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11039 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11043 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11049 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11050 if test -n "$with_build_time_tools"; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11052 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11053 if test -x $with_build_time_tools/as; then
11054 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11055 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11057 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11062 elif test $build != $host && test $have_gcc_for_target = yes; then
11063 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11064 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11065 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11068 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11069 # Extract the first word of "as
", so it can be a program name with args.
11070 set dummy as; ac_word=$2
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11072 $as_echo_n "checking
for $ac_word...
" >&6; }
11073 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11074 $as_echo_n "(cached
) " >&6
11076 case $AS_FOR_TARGET in
11078 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $gcc_cv_tool_dirs
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11089 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11099 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11100 if test -n "$AS_FOR_TARGET"; then
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11102 $as_echo "$AS_FOR_TARGET" >&6; }
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11105 $as_echo "no
" >&6; }
11110 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11113 if test -n "$AS_FOR_TARGET"; then
11114 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11115 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11116 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11119 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11120 for ncn_progname in as; do
11121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11122 set dummy ${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_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; }
11161 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11162 for ncn_progname in as; do
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11164 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11165 if test -x $with_build_time_tools/${ncn_progname}; then
11166 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11168 $as_echo "yes" >&6; }
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11172 $as_echo "no
" >&6; }
11177 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11178 for ncn_progname in as; do
11179 if test -n "$ncn_target_tool_prefix"; then
11180 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11181 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11183 $as_echo_n "checking
for $ac_word...
" >&6; }
11184 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11185 $as_echo_n "(cached
) " >&6
11187 if test -n "$AS_FOR_TARGET"; then
11188 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11191 for as_dir in $PATH
11194 test -z "$as_dir" && as_dir=.
11195 for ac_exec_ext in '' $ac_executable_extensions; do
11196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11197 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11198 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11207 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11208 if test -n "$AS_FOR_TARGET"; then
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11210 $as_echo "$AS_FOR_TARGET" >&6; }
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11213 $as_echo "no
" >&6; }
11218 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11219 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11220 set dummy ${ncn_progname}; ac_word=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11222 $as_echo_n "checking
for $ac_word...
" >&6; }
11223 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11224 $as_echo_n "(cached
) " >&6
11226 if test -n "$AS_FOR_TARGET"; then
11227 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11230 for as_dir in $PATH
11233 test -z "$as_dir" && as_dir=.
11234 for ac_exec_ext in '' $ac_executable_extensions; do
11235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11236 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11237 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11246 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11247 if test -n "$AS_FOR_TARGET"; then
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11249 $as_echo "$AS_FOR_TARGET" >&6; }
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11252 $as_echo "no
" >&6; }
11257 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11261 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11263 if test $build = $target ; then
11266 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11269 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11273 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11279 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11280 if test -n "$with_build_time_tools"; then
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11282 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11283 if test -x $with_build_time_tools/dlltool; then
11284 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11285 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11287 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11290 $as_echo "no
" >&6; }
11292 elif test $build != $host && test $have_gcc_for_target = yes; then
11293 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11294 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11295 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11298 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11299 # Extract the first word of "dlltool
", so it can be a program name with args.
11300 set dummy dlltool; ac_word=$2
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11302 $as_echo_n "checking
for $ac_word...
" >&6; }
11303 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11304 $as_echo_n "(cached
) " >&6
11306 case $DLLTOOL_FOR_TARGET in
11308 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11312 for as_dir in $gcc_cv_tool_dirs
11315 test -z "$as_dir" && as_dir=.
11316 for ac_exec_ext in '' $ac_executable_extensions; do
11317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11318 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11319 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11329 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11330 if test -n "$DLLTOOL_FOR_TARGET"; then
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11332 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11335 $as_echo "no
" >&6; }
11340 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11343 if test -n "$DLLTOOL_FOR_TARGET"; then
11344 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11345 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11346 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11349 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11350 for ncn_progname in dlltool; do
11351 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11352 set dummy ${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_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; }
11391 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11392 for ncn_progname in dlltool; do
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11394 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11395 if test -x $with_build_time_tools/${ncn_progname}; then
11396 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11398 $as_echo "yes" >&6; }
11401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11402 $as_echo "no
" >&6; }
11407 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11408 for ncn_progname in dlltool; do
11409 if test -n "$ncn_target_tool_prefix"; then
11410 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11411 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11413 $as_echo_n "checking
for $ac_word...
" >&6; }
11414 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11415 $as_echo_n "(cached
) " >&6
11417 if test -n "$DLLTOOL_FOR_TARGET"; then
11418 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11421 for as_dir in $PATH
11424 test -z "$as_dir" && as_dir=.
11425 for ac_exec_ext in '' $ac_executable_extensions; do
11426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11427 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11428 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11437 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11438 if test -n "$DLLTOOL_FOR_TARGET"; then
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11440 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11443 $as_echo "no
" >&6; }
11448 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11449 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11450 set dummy ${ncn_progname}; ac_word=$2
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11452 $as_echo_n "checking
for $ac_word...
" >&6; }
11453 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11454 $as_echo_n "(cached
) " >&6
11456 if test -n "$DLLTOOL_FOR_TARGET"; then
11457 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11460 for as_dir in $PATH
11463 test -z "$as_dir" && as_dir=.
11464 for ac_exec_ext in '' $ac_executable_extensions; do
11465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11466 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11476 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11477 if test -n "$DLLTOOL_FOR_TARGET"; then
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11479 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11482 $as_echo "no
" >&6; }
11487 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11491 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11493 if test $build = $target ; then
11494 DLLTOOL_FOR_TARGET="$2"
11496 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11499 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11503 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11509 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11510 if test -n "$with_build_time_tools"; then
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11512 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11513 if test -x $with_build_time_tools/ld; then
11514 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11515 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11517 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11520 $as_echo "no
" >&6; }
11522 elif test $build != $host && test $have_gcc_for_target = yes; then
11523 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11524 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11525 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11528 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11529 # Extract the first word of "ld
", so it can be a program name with args.
11530 set dummy ld; ac_word=$2
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11532 $as_echo_n "checking
for $ac_word...
" >&6; }
11533 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11534 $as_echo_n "(cached
) " >&6
11536 case $LD_FOR_TARGET in
11538 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11542 for as_dir in $gcc_cv_tool_dirs
11545 test -z "$as_dir" && as_dir=.
11546 for ac_exec_ext in '' $ac_executable_extensions; do
11547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11548 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11549 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11559 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11560 if test -n "$LD_FOR_TARGET"; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11562 $as_echo "$LD_FOR_TARGET" >&6; }
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11565 $as_echo "no
" >&6; }
11570 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11573 if test -n "$LD_FOR_TARGET"; then
11574 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11575 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11576 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11579 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11580 for ncn_progname in ld; do
11581 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11582 set dummy ${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_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; }
11621 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11622 for ncn_progname in ld; do
11623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11624 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11625 if test -x $with_build_time_tools/${ncn_progname}; then
11626 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11628 $as_echo "yes" >&6; }
11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11632 $as_echo "no
" >&6; }
11637 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11638 for ncn_progname in ld; do
11639 if test -n "$ncn_target_tool_prefix"; then
11640 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11641 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11643 $as_echo_n "checking
for $ac_word...
" >&6; }
11644 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11645 $as_echo_n "(cached
) " >&6
11647 if test -n "$LD_FOR_TARGET"; then
11648 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11651 for as_dir in $PATH
11654 test -z "$as_dir" && as_dir=.
11655 for ac_exec_ext in '' $ac_executable_extensions; do
11656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11657 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11658 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11667 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11668 if test -n "$LD_FOR_TARGET"; then
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11670 $as_echo "$LD_FOR_TARGET" >&6; }
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11673 $as_echo "no
" >&6; }
11678 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11679 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11680 set dummy ${ncn_progname}; ac_word=$2
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11682 $as_echo_n "checking
for $ac_word...
" >&6; }
11683 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11684 $as_echo_n "(cached
) " >&6
11686 if test -n "$LD_FOR_TARGET"; then
11687 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11690 for as_dir in $PATH
11693 test -z "$as_dir" && as_dir=.
11694 for ac_exec_ext in '' $ac_executable_extensions; do
11695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11696 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11697 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11706 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11707 if test -n "$LD_FOR_TARGET"; then
11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11709 $as_echo "$LD_FOR_TARGET" >&6; }
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11712 $as_echo "no
" >&6; }
11717 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11721 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11723 if test $build = $target ; then
11726 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11729 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11733 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11739 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11740 if test -n "$with_build_time_tools"; then
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11742 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11743 if test -x $with_build_time_tools/lipo; then
11744 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11745 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11747 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11750 $as_echo "no
" >&6; }
11752 elif test $build != $host && test $have_gcc_for_target = yes; then
11753 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11754 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11755 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11758 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11759 # Extract the first word of "lipo
", so it can be a program name with args.
11760 set dummy lipo; ac_word=$2
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11762 $as_echo_n "checking
for $ac_word...
" >&6; }
11763 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11764 $as_echo_n "(cached
) " >&6
11766 case $LIPO_FOR_TARGET in
11768 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11772 for as_dir in $gcc_cv_tool_dirs
11775 test -z "$as_dir" && as_dir=.
11776 for ac_exec_ext in '' $ac_executable_extensions; do
11777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11778 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11779 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11789 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11790 if test -n "$LIPO_FOR_TARGET"; then
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11792 $as_echo "$LIPO_FOR_TARGET" >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11795 $as_echo "no
" >&6; }
11800 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11803 if test -n "$LIPO_FOR_TARGET"; then
11804 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11805 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11806 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11809 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11810 for ncn_progname in lipo; do
11811 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11812 set dummy ${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_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; }
11851 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11852 for ncn_progname in lipo; do
11853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11854 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11855 if test -x $with_build_time_tools/${ncn_progname}; then
11856 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11858 $as_echo "yes" >&6; }
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11862 $as_echo "no
" >&6; }
11867 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11868 for ncn_progname in lipo; do
11869 if test -n "$ncn_target_tool_prefix"; then
11870 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11871 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11873 $as_echo_n "checking
for $ac_word...
" >&6; }
11874 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11875 $as_echo_n "(cached
) " >&6
11877 if test -n "$LIPO_FOR_TARGET"; then
11878 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11881 for as_dir in $PATH
11884 test -z "$as_dir" && as_dir=.
11885 for ac_exec_ext in '' $ac_executable_extensions; do
11886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11887 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11888 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11897 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11898 if test -n "$LIPO_FOR_TARGET"; then
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11900 $as_echo "$LIPO_FOR_TARGET" >&6; }
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11903 $as_echo "no
" >&6; }
11908 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11909 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11910 set dummy ${ncn_progname}; ac_word=$2
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11912 $as_echo_n "checking
for $ac_word...
" >&6; }
11913 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11914 $as_echo_n "(cached
) " >&6
11916 if test -n "$LIPO_FOR_TARGET"; then
11917 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11920 for as_dir in $PATH
11923 test -z "$as_dir" && as_dir=.
11924 for ac_exec_ext in '' $ac_executable_extensions; do
11925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11926 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11927 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11936 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11937 if test -n "$LIPO_FOR_TARGET"; then
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11939 $as_echo "$LIPO_FOR_TARGET" >&6; }
11941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11942 $as_echo "no
" >&6; }
11947 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11951 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11953 if test $build = $target ; then
11954 LIPO_FOR_TARGET="$2"
11956 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11959 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11963 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11969 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11970 if test -n "$with_build_time_tools"; then
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11972 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11973 if test -x $with_build_time_tools/nm; then
11974 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11975 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11977 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11980 $as_echo "no
" >&6; }
11982 elif test $build != $host && test $have_gcc_for_target = yes; then
11983 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11984 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11985 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11988 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11989 # Extract the first word of "nm
", so it can be a program name with args.
11990 set dummy nm; ac_word=$2
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11992 $as_echo_n "checking
for $ac_word...
" >&6; }
11993 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
11994 $as_echo_n "(cached
) " >&6
11996 case $NM_FOR_TARGET in
11998 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12002 for as_dir in $gcc_cv_tool_dirs
12005 test -z "$as_dir" && as_dir=.
12006 for ac_exec_ext in '' $ac_executable_extensions; do
12007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12008 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12009 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12019 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12020 if test -n "$NM_FOR_TARGET"; then
12021 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12022 $as_echo "$NM_FOR_TARGET" >&6; }
12024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12025 $as_echo "no
" >&6; }
12030 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12033 if test -n "$NM_FOR_TARGET"; then
12034 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12035 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12036 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12039 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12040 for ncn_progname in nm; do
12041 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12042 set dummy ${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_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; }
12081 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12082 for ncn_progname in nm; do
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12084 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12085 if test -x $with_build_time_tools/${ncn_progname}; then
12086 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12088 $as_echo "yes" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12092 $as_echo "no
" >&6; }
12097 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12098 for ncn_progname in nm; do
12099 if test -n "$ncn_target_tool_prefix"; then
12100 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12101 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12103 $as_echo_n "checking
for $ac_word...
" >&6; }
12104 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12105 $as_echo_n "(cached
) " >&6
12107 if test -n "$NM_FOR_TARGET"; then
12108 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12111 for as_dir in $PATH
12114 test -z "$as_dir" && as_dir=.
12115 for ac_exec_ext in '' $ac_executable_extensions; do
12116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12117 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12118 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12127 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12128 if test -n "$NM_FOR_TARGET"; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12130 $as_echo "$NM_FOR_TARGET" >&6; }
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12133 $as_echo "no
" >&6; }
12138 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12139 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12140 set dummy ${ncn_progname}; ac_word=$2
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12142 $as_echo_n "checking
for $ac_word...
" >&6; }
12143 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12144 $as_echo_n "(cached
) " >&6
12146 if test -n "$NM_FOR_TARGET"; then
12147 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12150 for as_dir in $PATH
12153 test -z "$as_dir" && as_dir=.
12154 for ac_exec_ext in '' $ac_executable_extensions; do
12155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12156 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12157 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12166 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12167 if test -n "$NM_FOR_TARGET"; then
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12169 $as_echo "$NM_FOR_TARGET" >&6; }
12171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12172 $as_echo "no
" >&6; }
12177 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12181 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12183 if test $build = $target ; then
12186 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12189 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12193 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12199 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12200 if test -n "$with_build_time_tools"; then
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12202 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12203 if test -x $with_build_time_tools/objdump; then
12204 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12205 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12207 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12210 $as_echo "no
" >&6; }
12212 elif test $build != $host && test $have_gcc_for_target = yes; then
12213 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12214 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12215 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12218 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12219 # Extract the first word of "objdump
", so it can be a program name with args.
12220 set dummy objdump; ac_word=$2
12221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12222 $as_echo_n "checking
for $ac_word...
" >&6; }
12223 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12224 $as_echo_n "(cached
) " >&6
12226 case $OBJDUMP_FOR_TARGET in
12228 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12232 for as_dir in $gcc_cv_tool_dirs
12235 test -z "$as_dir" && as_dir=.
12236 for ac_exec_ext in '' $ac_executable_extensions; do
12237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12238 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12239 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12249 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12250 if test -n "$OBJDUMP_FOR_TARGET"; then
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12252 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12255 $as_echo "no
" >&6; }
12260 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12263 if test -n "$OBJDUMP_FOR_TARGET"; then
12264 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12265 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12266 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12269 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12270 for ncn_progname in objdump; do
12271 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12272 set dummy ${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_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; }
12311 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12312 for ncn_progname in objdump; do
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12314 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12315 if test -x $with_build_time_tools/${ncn_progname}; then
12316 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12318 $as_echo "yes" >&6; }
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12322 $as_echo "no
" >&6; }
12327 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12328 for ncn_progname in objdump; do
12329 if test -n "$ncn_target_tool_prefix"; then
12330 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12331 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12333 $as_echo_n "checking
for $ac_word...
" >&6; }
12334 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12335 $as_echo_n "(cached
) " >&6
12337 if test -n "$OBJDUMP_FOR_TARGET"; then
12338 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12341 for as_dir in $PATH
12344 test -z "$as_dir" && as_dir=.
12345 for ac_exec_ext in '' $ac_executable_extensions; do
12346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12347 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12348 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12357 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12358 if test -n "$OBJDUMP_FOR_TARGET"; then
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12360 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12363 $as_echo "no
" >&6; }
12368 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12369 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12370 set dummy ${ncn_progname}; ac_word=$2
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12372 $as_echo_n "checking
for $ac_word...
" >&6; }
12373 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12374 $as_echo_n "(cached
) " >&6
12376 if test -n "$OBJDUMP_FOR_TARGET"; then
12377 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12380 for as_dir in $PATH
12383 test -z "$as_dir" && as_dir=.
12384 for ac_exec_ext in '' $ac_executable_extensions; do
12385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12386 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12387 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12396 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12397 if test -n "$OBJDUMP_FOR_TARGET"; then
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12399 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12402 $as_echo "no
" >&6; }
12407 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12411 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12413 if test $build = $target ; then
12414 OBJDUMP_FOR_TARGET="$2"
12416 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12419 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12423 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12429 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12430 if test -n "$with_build_time_tools"; then
12431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12432 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12433 if test -x $with_build_time_tools/ranlib; then
12434 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12435 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12437 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12442 elif test $build != $host && test $have_gcc_for_target = yes; then
12443 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12444 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12445 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12448 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12449 # Extract the first word of "ranlib
", so it can be a program name with args.
12450 set dummy ranlib; ac_word=$2
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12452 $as_echo_n "checking
for $ac_word...
" >&6; }
12453 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12454 $as_echo_n "(cached
) " >&6
12456 case $RANLIB_FOR_TARGET in
12458 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12462 for as_dir in $gcc_cv_tool_dirs
12465 test -z "$as_dir" && as_dir=.
12466 for ac_exec_ext in '' $ac_executable_extensions; do
12467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12468 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12469 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12479 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12480 if test -n "$RANLIB_FOR_TARGET"; then
12481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12482 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12485 $as_echo "no
" >&6; }
12490 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12493 if test -n "$RANLIB_FOR_TARGET"; then
12494 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12495 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12496 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12499 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12500 for ncn_progname in ranlib; do
12501 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12502 set dummy ${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_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; }
12541 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12542 for ncn_progname in ranlib; do
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12544 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12545 if test -x $with_build_time_tools/${ncn_progname}; then
12546 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12548 $as_echo "yes" >&6; }
12551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12552 $as_echo "no
" >&6; }
12557 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12558 for ncn_progname in ranlib; do
12559 if test -n "$ncn_target_tool_prefix"; then
12560 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12561 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12563 $as_echo_n "checking
for $ac_word...
" >&6; }
12564 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12565 $as_echo_n "(cached
) " >&6
12567 if test -n "$RANLIB_FOR_TARGET"; then
12568 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12571 for as_dir in $PATH
12574 test -z "$as_dir" && as_dir=.
12575 for ac_exec_ext in '' $ac_executable_extensions; do
12576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12577 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12578 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12587 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12588 if test -n "$RANLIB_FOR_TARGET"; then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12590 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12593 $as_echo "no
" >&6; }
12598 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12599 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12600 set dummy ${ncn_progname}; ac_word=$2
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12602 $as_echo_n "checking
for $ac_word...
" >&6; }
12603 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12604 $as_echo_n "(cached
) " >&6
12606 if test -n "$RANLIB_FOR_TARGET"; then
12607 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12610 for as_dir in $PATH
12613 test -z "$as_dir" && as_dir=.
12614 for ac_exec_ext in '' $ac_executable_extensions; do
12615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12616 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12617 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12626 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12627 if test -n "$RANLIB_FOR_TARGET"; then
12628 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12629 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12632 $as_echo "no
" >&6; }
12637 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12641 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12643 if test $build = $target ; then
12644 RANLIB_FOR_TARGET="$2"
12646 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12649 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12653 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12659 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12660 if test -n "$with_build_time_tools"; then
12661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12662 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12663 if test -x $with_build_time_tools/readelf; then
12664 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12665 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12667 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12670 $as_echo "no
" >&6; }
12672 elif test $build != $host && test $have_gcc_for_target = yes; then
12673 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12674 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12675 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12678 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12679 # Extract the first word of "readelf
", so it can be a program name with args.
12680 set dummy readelf; ac_word=$2
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12682 $as_echo_n "checking
for $ac_word...
" >&6; }
12683 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12684 $as_echo_n "(cached
) " >&6
12686 case $READELF_FOR_TARGET in
12688 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12692 for as_dir in $gcc_cv_tool_dirs
12695 test -z "$as_dir" && as_dir=.
12696 for ac_exec_ext in '' $ac_executable_extensions; do
12697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12698 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12699 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12709 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12710 if test -n "$READELF_FOR_TARGET"; then
12711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12712 $as_echo "$READELF_FOR_TARGET" >&6; }
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12715 $as_echo "no
" >&6; }
12720 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12723 if test -n "$READELF_FOR_TARGET"; then
12724 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12725 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12726 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12729 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12730 for ncn_progname in readelf; do
12731 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12732 set dummy ${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_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; }
12771 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12772 for ncn_progname in readelf; do
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12774 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12775 if test -x $with_build_time_tools/${ncn_progname}; then
12776 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12778 $as_echo "yes" >&6; }
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12782 $as_echo "no
" >&6; }
12787 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12788 for ncn_progname in readelf; do
12789 if test -n "$ncn_target_tool_prefix"; then
12790 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12791 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12793 $as_echo_n "checking
for $ac_word...
" >&6; }
12794 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12795 $as_echo_n "(cached
) " >&6
12797 if test -n "$READELF_FOR_TARGET"; then
12798 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12801 for as_dir in $PATH
12804 test -z "$as_dir" && as_dir=.
12805 for ac_exec_ext in '' $ac_executable_extensions; do
12806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12807 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12817 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12818 if test -n "$READELF_FOR_TARGET"; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12820 $as_echo "$READELF_FOR_TARGET" >&6; }
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12823 $as_echo "no
" >&6; }
12828 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12830 set dummy ${ncn_progname}; ac_word=$2
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12832 $as_echo_n "checking
for $ac_word...
" >&6; }
12833 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12834 $as_echo_n "(cached
) " >&6
12836 if test -n "$READELF_FOR_TARGET"; then
12837 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12840 for as_dir in $PATH
12843 test -z "$as_dir" && as_dir=.
12844 for ac_exec_ext in '' $ac_executable_extensions; do
12845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12846 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12856 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12857 if test -n "$READELF_FOR_TARGET"; then
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12859 $as_echo "$READELF_FOR_TARGET" >&6; }
12861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12862 $as_echo "no
" >&6; }
12867 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
12871 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
12873 if test $build = $target ; then
12874 READELF_FOR_TARGET="$2"
12876 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
12879 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
12883 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12889 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12890 if test -n "$with_build_time_tools"; then
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
12892 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
12893 if test -x $with_build_time_tools/strip; then
12894 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
12895 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
12897 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12900 $as_echo "no
" >&6; }
12902 elif test $build != $host && test $have_gcc_for_target = yes; then
12903 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
12904 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
12905 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12908 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12909 # Extract the first word of "strip
", so it can be a program name with args.
12910 set dummy strip; ac_word=$2
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12912 $as_echo_n "checking
for $ac_word...
" >&6; }
12913 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
12914 $as_echo_n "(cached
) " >&6
12916 case $STRIP_FOR_TARGET in
12918 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
12921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12922 for as_dir in $gcc_cv_tool_dirs
12925 test -z "$as_dir" && as_dir=.
12926 for ac_exec_ext in '' $ac_executable_extensions; do
12927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12928 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12939 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
12940 if test -n "$STRIP_FOR_TARGET"; then
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
12942 $as_echo "$STRIP_FOR_TARGET" >&6; }
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12945 $as_echo "no
" >&6; }
12950 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
12953 if test -n "$STRIP_FOR_TARGET"; then
12954 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
12955 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12956 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
12959 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
12960 for ncn_progname in strip; do
12961 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12962 set dummy ${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_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; }
13001 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13002 for ncn_progname in strip; do
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13004 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13005 if test -x $with_build_time_tools/${ncn_progname}; then
13006 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13008 $as_echo "yes" >&6; }
13011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13012 $as_echo "no
" >&6; }
13017 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13018 for ncn_progname in strip; do
13019 if test -n "$ncn_target_tool_prefix"; then
13020 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13021 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13023 $as_echo_n "checking
for $ac_word...
" >&6; }
13024 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13025 $as_echo_n "(cached
) " >&6
13027 if test -n "$STRIP_FOR_TARGET"; then
13028 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13031 for as_dir in $PATH
13034 test -z "$as_dir" && as_dir=.
13035 for ac_exec_ext in '' $ac_executable_extensions; do
13036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13037 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13038 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13047 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13048 if test -n "$STRIP_FOR_TARGET"; then
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13050 $as_echo "$STRIP_FOR_TARGET" >&6; }
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13053 $as_echo "no
" >&6; }
13058 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13059 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13060 set dummy ${ncn_progname}; ac_word=$2
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13062 $as_echo_n "checking
for $ac_word...
" >&6; }
13063 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13064 $as_echo_n "(cached
) " >&6
13066 if test -n "$STRIP_FOR_TARGET"; then
13067 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13070 for as_dir in $PATH
13073 test -z "$as_dir" && as_dir=.
13074 for ac_exec_ext in '' $ac_executable_extensions; do
13075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13076 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13077 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13086 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13087 if test -n "$STRIP_FOR_TARGET"; then
13088 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13089 $as_echo "$STRIP_FOR_TARGET" >&6; }
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13092 $as_echo "no
" >&6; }
13097 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13101 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13103 if test $build = $target ; then
13104 STRIP_FOR_TARGET="$2"
13106 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13109 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13113 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13119 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13120 if test -n "$with_build_time_tools"; then
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13122 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13123 if test -x $with_build_time_tools/windres; then
13124 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13125 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13127 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13130 $as_echo "no
" >&6; }
13132 elif test $build != $host && test $have_gcc_for_target = yes; then
13133 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13134 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13135 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13138 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13139 # Extract the first word of "windres
", so it can be a program name with args.
13140 set dummy windres; ac_word=$2
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13142 $as_echo_n "checking
for $ac_word...
" >&6; }
13143 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13144 $as_echo_n "(cached
) " >&6
13146 case $WINDRES_FOR_TARGET in
13148 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13152 for as_dir in $gcc_cv_tool_dirs
13155 test -z "$as_dir" && as_dir=.
13156 for ac_exec_ext in '' $ac_executable_extensions; do
13157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13158 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13169 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13170 if test -n "$WINDRES_FOR_TARGET"; then
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13172 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13175 $as_echo "no
" >&6; }
13180 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13183 if test -n "$WINDRES_FOR_TARGET"; then
13184 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13185 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13186 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13189 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13190 for ncn_progname in windres; do
13191 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13192 set dummy ${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_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; }
13231 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13232 for ncn_progname in windres; do
13233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13234 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13235 if test -x $with_build_time_tools/${ncn_progname}; then
13236 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13238 $as_echo "yes" >&6; }
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13242 $as_echo "no
" >&6; }
13247 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13248 for ncn_progname in windres; do
13249 if test -n "$ncn_target_tool_prefix"; then
13250 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13251 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13253 $as_echo_n "checking
for $ac_word...
" >&6; }
13254 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13255 $as_echo_n "(cached
) " >&6
13257 if test -n "$WINDRES_FOR_TARGET"; then
13258 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13267 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13268 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13277 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13278 if test -n "$WINDRES_FOR_TARGET"; then
13279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13280 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13283 $as_echo "no
" >&6; }
13288 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13289 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13290 set dummy ${ncn_progname}; ac_word=$2
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13292 $as_echo_n "checking
for $ac_word...
" >&6; }
13293 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13294 $as_echo_n "(cached
) " >&6
13296 if test -n "$WINDRES_FOR_TARGET"; then
13297 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13306 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13307 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13316 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13317 if test -n "$WINDRES_FOR_TARGET"; then
13318 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13319 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13322 $as_echo "no
" >&6; }
13327 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13331 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13333 if test $build = $target ; then
13334 WINDRES_FOR_TARGET="$2"
13336 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13339 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13343 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13349 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13350 if test -n "$with_build_time_tools"; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13352 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13353 if test -x $with_build_time_tools/windmc; then
13354 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13355 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13357 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13360 $as_echo "no
" >&6; }
13362 elif test $build != $host && test $have_gcc_for_target = yes; then
13363 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13364 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13365 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13368 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13369 # Extract the first word of "windmc
", so it can be a program name with args.
13370 set dummy windmc; ac_word=$2
13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13372 $as_echo_n "checking
for $ac_word...
" >&6; }
13373 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13374 $as_echo_n "(cached
) " >&6
13376 case $WINDMC_FOR_TARGET in
13378 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13382 for as_dir in $gcc_cv_tool_dirs
13385 test -z "$as_dir" && as_dir=.
13386 for ac_exec_ext in '' $ac_executable_extensions; do
13387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13388 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13399 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13400 if test -n "$WINDMC_FOR_TARGET"; then
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13402 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13405 $as_echo "no
" >&6; }
13410 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13413 if test -n "$WINDMC_FOR_TARGET"; then
13414 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13415 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13416 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13419 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13420 for ncn_progname in windmc; do
13421 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13422 set dummy ${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_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; }
13461 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13462 for ncn_progname in windmc; do
13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13464 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13465 if test -x $with_build_time_tools/${ncn_progname}; then
13466 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13468 $as_echo "yes" >&6; }
13471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13472 $as_echo "no
" >&6; }
13477 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13478 for ncn_progname in windmc; do
13479 if test -n "$ncn_target_tool_prefix"; then
13480 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13481 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13483 $as_echo_n "checking
for $ac_word...
" >&6; }
13484 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13485 $as_echo_n "(cached
) " >&6
13487 if test -n "$WINDMC_FOR_TARGET"; then
13488 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13491 for as_dir in $PATH
13494 test -z "$as_dir" && as_dir=.
13495 for ac_exec_ext in '' $ac_executable_extensions; do
13496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13497 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13498 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13507 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13508 if test -n "$WINDMC_FOR_TARGET"; then
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13510 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13513 $as_echo "no
" >&6; }
13518 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13519 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13520 set dummy ${ncn_progname}; ac_word=$2
13521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13522 $as_echo_n "checking
for $ac_word...
" >&6; }
13523 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13524 $as_echo_n "(cached
) " >&6
13526 if test -n "$WINDMC_FOR_TARGET"; then
13527 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13530 for as_dir in $PATH
13533 test -z "$as_dir" && as_dir=.
13534 for ac_exec_ext in '' $ac_executable_extensions; do
13535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13536 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13537 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13546 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13547 if test -n "$WINDMC_FOR_TARGET"; then
13548 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13549 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13552 $as_echo "no
" >&6; }
13557 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13561 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13563 if test $build = $target ; then
13564 WINDMC_FOR_TARGET="$2"
13566 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13569 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13573 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13577 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13580 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13581 if test "x
${build}" != "x
${host}" ; then
13582 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13583 # We already found the complete path
13584 ac_dir=`dirname $AR_FOR_TARGET`
13585 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13586 $as_echo "pre-installed
in $ac_dir" >&6; }
13588 # Canadian cross, just use what we found
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13590 $as_echo "pre-installed
" >&6; }
13594 case " ${configdirs} " in
13599 if test $ok = yes; then
13600 # An in-tree tool is available and we can use it
13601 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13603 $as_echo "just compiled
" >&6; }
13604 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13605 # We already found the complete path
13606 ac_dir=`dirname $AR_FOR_TARGET`
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13608 $as_echo "pre-installed
in $ac_dir" >&6; }
13609 elif test "x
$target" = "x
$host"; then
13610 # We can use an host tool
13611 AR_FOR_TARGET='$(AR)'
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13613 $as_echo "host tool
" >&6; }
13615 # We need a cross tool
13616 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13617 $as_echo "pre-installed
" >&6; }
13621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13622 $as_echo_n "checking where to
find the target as...
" >&6; }
13623 if test "x
${build}" != "x
${host}" ; then
13624 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13625 # We already found the complete path
13626 ac_dir=`dirname $AS_FOR_TARGET`
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13628 $as_echo "pre-installed
in $ac_dir" >&6; }
13630 # Canadian cross, just use what we found
13631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13632 $as_echo "pre-installed
" >&6; }
13636 case " ${configdirs} " in
13641 if test $ok = yes; then
13642 # An in-tree tool is available and we can use it
13643 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13645 $as_echo "just compiled
" >&6; }
13646 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13647 # We already found the complete path
13648 ac_dir=`dirname $AS_FOR_TARGET`
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13650 $as_echo "pre-installed
in $ac_dir" >&6; }
13651 elif test "x
$target" = "x
$host"; then
13652 # We can use an host tool
13653 AS_FOR_TARGET='$(AS)'
13654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13655 $as_echo "host tool
" >&6; }
13657 # We need a cross tool
13658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13659 $as_echo "pre-installed
" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13664 $as_echo_n "checking where to
find the target cc...
" >&6; }
13665 if test "x
${build}" != "x
${host}" ; then
13666 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13667 # We already found the complete path
13668 ac_dir=`dirname $CC_FOR_TARGET`
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13670 $as_echo "pre-installed
in $ac_dir" >&6; }
13672 # Canadian cross, just use what we found
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13674 $as_echo "pre-installed
" >&6; }
13678 case " ${configdirs} " in
13683 if test $ok = yes; then
13684 # An in-tree tool is available and we can use it
13685 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13687 $as_echo "just compiled
" >&6; }
13688 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13689 # We already found the complete path
13690 ac_dir=`dirname $CC_FOR_TARGET`
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13692 $as_echo "pre-installed
in $ac_dir" >&6; }
13693 elif test "x
$target" = "x
$host"; then
13694 # We can use an host tool
13695 CC_FOR_TARGET='$(CC)'
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13697 $as_echo "host tool
" >&6; }
13699 # We need a cross tool
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13701 $as_echo "pre-installed
" >&6; }
13705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13706 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13707 if test "x
${build}" != "x
${host}" ; then
13708 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13709 # We already found the complete path
13710 ac_dir=`dirname $CXX_FOR_TARGET`
13711 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13712 $as_echo "pre-installed
in $ac_dir" >&6; }
13714 # Canadian cross, just use what we found
13715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13716 $as_echo "pre-installed
" >&6; }
13720 case " ${configdirs} " in
13724 case ,${enable_languages}, in
13728 if test $ok = yes; then
13729 # An in-tree tool is available and we can use it
13730 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'
13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13732 $as_echo "just compiled
" >&6; }
13733 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13734 # We already found the complete path
13735 ac_dir=`dirname $CXX_FOR_TARGET`
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13737 $as_echo "pre-installed
in $ac_dir" >&6; }
13738 elif test "x
$target" = "x
$host"; then
13739 # We can use an host tool
13740 CXX_FOR_TARGET='$(CXX)'
13741 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13742 $as_echo "host tool
" >&6; }
13744 # We need a cross tool
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13746 $as_echo "pre-installed
" >&6; }
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13751 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13752 if test "x
${build}" != "x
${host}" ; then
13753 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13754 # We already found the complete path
13755 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13757 $as_echo "pre-installed
in $ac_dir" >&6; }
13759 # Canadian cross, just use what we found
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13761 $as_echo "pre-installed
" >&6; }
13765 case " ${configdirs} " in
13769 case ,${enable_languages}, in
13773 if test $ok = yes; then
13774 # An in-tree tool is available and we can use it
13775 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'
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13777 $as_echo "just compiled
" >&6; }
13778 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13779 # We already found the complete path
13780 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13782 $as_echo "pre-installed
in $ac_dir" >&6; }
13783 elif test "x
$target" = "x
$host"; then
13784 # We can use an host tool
13785 RAW_CXX_FOR_TARGET='$(CXX)'
13786 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13787 $as_echo "host tool
" >&6; }
13789 # We need a cross tool
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13791 $as_echo "pre-installed
" >&6; }
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13796 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13797 if test "x
${build}" != "x
${host}" ; then
13798 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13799 # We already found the complete path
13800 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13802 $as_echo "pre-installed
in $ac_dir" >&6; }
13804 # Canadian cross, just use what we found
13805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13806 $as_echo "pre-installed
" >&6; }
13810 case " ${configdirs} " in
13815 if test $ok = yes; then
13816 # An in-tree tool is available and we can use it
13817 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13818 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13819 $as_echo "just compiled
" >&6; }
13820 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13821 # We already found the complete path
13822 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13824 $as_echo "pre-installed
in $ac_dir" >&6; }
13825 elif test "x
$target" = "x
$host"; then
13826 # We can use an host tool
13827 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13829 $as_echo "host tool
" >&6; }
13831 # We need a cross tool
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13833 $as_echo "pre-installed
" >&6; }
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13838 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13839 if test "x
${build}" != "x
${host}" ; then
13840 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13841 # We already found the complete path
13842 ac_dir=`dirname $GCC_FOR_TARGET`
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13844 $as_echo "pre-installed
in $ac_dir" >&6; }
13846 # Canadian cross, just use what we found
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13848 $as_echo "pre-installed
" >&6; }
13852 case " ${configdirs} " in
13857 if test $ok = yes; then
13858 # An in-tree tool is available and we can use it
13859 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13861 $as_echo "just compiled
" >&6; }
13862 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13863 # We already found the complete path
13864 ac_dir=`dirname $GCC_FOR_TARGET`
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13866 $as_echo "pre-installed
in $ac_dir" >&6; }
13867 elif test "x
$target" = "x
$host"; then
13868 # We can use an host tool
13869 GCC_FOR_TARGET='$()'
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13871 $as_echo "host tool
" >&6; }
13873 # We need a cross tool
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13875 $as_echo "pre-installed
" >&6; }
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
13880 $as_echo_n "checking where to
find the target gcj...
" >&6; }
13881 if test "x
${build}" != "x
${host}" ; then
13882 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13883 # We already found the complete path
13884 ac_dir=`dirname $GCJ_FOR_TARGET`
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13886 $as_echo "pre-installed
in $ac_dir" >&6; }
13888 # Canadian cross, just use what we found
13889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13890 $as_echo "pre-installed
" >&6; }
13894 case " ${configdirs} " in
13898 case ,${enable_languages}, in
13902 if test $ok = yes; then
13903 # An in-tree tool is available and we can use it
13904 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc/'
13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13906 $as_echo "just compiled
" >&6; }
13907 elif expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
13908 # We already found the complete path
13909 ac_dir=`dirname $GCJ_FOR_TARGET`
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13911 $as_echo "pre-installed
in $ac_dir" >&6; }
13912 elif test "x
$target" = "x
$host"; then
13913 # We can use an host tool
13914 GCJ_FOR_TARGET='$(GCJ)'
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13916 $as_echo "host tool
" >&6; }
13918 # We need a cross tool
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13920 $as_echo "pre-installed
" >&6; }
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
13925 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
13926 if test "x
${build}" != "x
${host}" ; then
13927 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13928 # We already found the complete path
13929 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13931 $as_echo "pre-installed
in $ac_dir" >&6; }
13933 # Canadian cross, just use what we found
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13935 $as_echo "pre-installed
" >&6; }
13939 case " ${configdirs} " in
13943 case ,${enable_languages}, in
13947 if test $ok = yes; then
13948 # An in-tree tool is available and we can use it
13949 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13951 $as_echo "just compiled
" >&6; }
13952 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
13953 # We already found the complete path
13954 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13956 $as_echo "pre-installed
in $ac_dir" >&6; }
13957 elif test "x
$target" = "x
$host"; then
13958 # We can use an host tool
13959 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13961 $as_echo "host tool
" >&6; }
13963 # We need a cross tool
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13965 $as_echo "pre-installed
" >&6; }
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
13970 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
13971 if test "x
${build}" != "x
${host}" ; then
13972 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13973 # We already found the complete path
13974 ac_dir=`dirname $GOC_FOR_TARGET`
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13976 $as_echo "pre-installed
in $ac_dir" >&6; }
13978 # Canadian cross, just use what we found
13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13980 $as_echo "pre-installed
" >&6; }
13984 case " ${configdirs} " in
13988 case ,${enable_languages}, in
13992 if test $ok = yes; then
13993 # An in-tree tool is available and we can use it
13994 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13996 $as_echo "just compiled
" >&6; }
13997 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
13998 # We already found the complete path
13999 ac_dir=`dirname $GOC_FOR_TARGET`
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14001 $as_echo "pre-installed
in $ac_dir" >&6; }
14002 elif test "x
$target" = "x
$host"; then
14003 # We can use an host tool
14004 GOC_FOR_TARGET='$(GOC)'
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14006 $as_echo "host tool
" >&6; }
14008 # We need a cross tool
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14010 $as_echo "pre-installed
" >&6; }
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gupc
" >&5
14015 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14016 if test "x
${build}" != "x
${host}" ; then
14017 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14018 # We already found the complete path
14019 ac_dir=`dirname $GUPC_FOR_TARGET`
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14021 $as_echo "pre-installed
in $ac_dir" >&6; }
14023 # Canadian cross, just use what we found
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14025 $as_echo "pre-installed
" >&6; }
14029 case " ${configdirs} " in
14033 case ,${enable_languages}, in
14037 if test $ok = yes; then
14038 # An in-tree tool is available and we can use it
14039 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14041 $as_echo "just compiled
" >&6; }
14042 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14043 # We already found the complete path
14044 ac_dir=`dirname $GUPC_FOR_TARGET`
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14046 $as_echo "pre-installed
in $ac_dir" >&6; }
14047 elif test "x
$target" = "x
$host"; then
14048 # We can use an host tool
14049 GUPC_FOR_TARGET='$(GUPC)'
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14051 $as_echo "host tool
" >&6; }
14053 # We need a cross tool
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14055 $as_echo "pre-installed
" >&6; }
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14060 $as_echo_n "checking where to
find the target ld...
" >&6; }
14061 if test "x
${build}" != "x
${host}" ; then
14062 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14063 # We already found the complete path
14064 ac_dir=`dirname $LD_FOR_TARGET`
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14066 $as_echo "pre-installed
in $ac_dir" >&6; }
14068 # Canadian cross, just use what we found
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14070 $as_echo "pre-installed
" >&6; }
14074 case " ${configdirs} " in
14079 if test $ok = yes; then
14080 # An in-tree tool is available and we can use it
14081 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14083 $as_echo "just compiled
" >&6; }
14084 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14085 # We already found the complete path
14086 ac_dir=`dirname $LD_FOR_TARGET`
14087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14088 $as_echo "pre-installed
in $ac_dir" >&6; }
14089 elif test "x
$target" = "x
$host"; then
14090 # We can use an host tool
14091 LD_FOR_TARGET='$(LD)'
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14093 $as_echo "host tool
" >&6; }
14095 # We need a cross tool
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14097 $as_echo "pre-installed
" >&6; }
14101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14102 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14103 if test "x
${build}" != "x
${host}" ; then
14104 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14105 # We already found the complete path
14106 ac_dir=`dirname $LIPO_FOR_TARGET`
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14108 $as_echo "pre-installed
in $ac_dir" >&6; }
14110 # Canadian cross, just use what we found
14111 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14112 $as_echo "pre-installed
" >&6; }
14115 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14116 # We already found the complete path
14117 ac_dir=`dirname $LIPO_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; }
14120 elif test "x
$target" = "x
$host"; then
14121 # We can use an host tool
14122 LIPO_FOR_TARGET='$(LIPO)'
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14124 $as_echo "host tool
" >&6; }
14126 # We need a cross tool
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14128 $as_echo "pre-installed
" >&6; }
14132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14133 $as_echo_n "checking where to
find the target nm...
" >&6; }
14134 if test "x
${build}" != "x
${host}" ; then
14135 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14136 # We already found the complete path
14137 ac_dir=`dirname $NM_FOR_TARGET`
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14139 $as_echo "pre-installed
in $ac_dir" >&6; }
14141 # Canadian cross, just use what we found
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14143 $as_echo "pre-installed
" >&6; }
14147 case " ${configdirs} " in
14152 if test $ok = yes; then
14153 # An in-tree tool is available and we can use it
14154 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14156 $as_echo "just compiled
" >&6; }
14157 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $NM_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; }
14162 elif test "x
$target" = "x
$host"; then
14163 # We can use an host tool
14164 NM_FOR_TARGET='$(NM)'
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14166 $as_echo "host tool
" >&6; }
14168 # We need a cross tool
14169 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14170 $as_echo "pre-installed
" >&6; }
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14175 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14176 if test "x
${build}" != "x
${host}" ; then
14177 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14178 # We already found the complete path
14179 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14181 $as_echo "pre-installed
in $ac_dir" >&6; }
14183 # Canadian cross, just use what we found
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14185 $as_echo "pre-installed
" >&6; }
14189 case " ${configdirs} " in
14194 if test $ok = yes; then
14195 # An in-tree tool is available and we can use it
14196 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14198 $as_echo "just compiled
" >&6; }
14199 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $OBJDUMP_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; }
14204 elif test "x
$target" = "x
$host"; then
14205 # We can use an host tool
14206 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14208 $as_echo "host tool
" >&6; }
14210 # We need a cross tool
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14212 $as_echo "pre-installed
" >&6; }
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14217 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14218 if test "x
${build}" != "x
${host}" ; then
14219 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14220 # We already found the complete path
14221 ac_dir=`dirname $RANLIB_FOR_TARGET`
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14223 $as_echo "pre-installed
in $ac_dir" >&6; }
14225 # Canadian cross, just use what we found
14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14227 $as_echo "pre-installed
" >&6; }
14231 case " ${configdirs} " in
14236 if test $ok = yes; then
14237 # An in-tree tool is available and we can use it
14238 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14240 $as_echo "just compiled
" >&6; }
14241 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14242 # We already found the complete path
14243 ac_dir=`dirname $RANLIB_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; }
14246 elif test "x
$target" = "x
$host"; then
14247 # We can use an host tool
14248 RANLIB_FOR_TARGET='$(RANLIB)'
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14250 $as_echo "host tool
" >&6; }
14252 # We need a cross tool
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14254 $as_echo "pre-installed
" >&6; }
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14259 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14260 if test "x
${build}" != "x
${host}" ; then
14261 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14262 # We already found the complete path
14263 ac_dir=`dirname $READELF_FOR_TARGET`
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14265 $as_echo "pre-installed
in $ac_dir" >&6; }
14267 # Canadian cross, just use what we found
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14269 $as_echo "pre-installed
" >&6; }
14273 case " ${configdirs} " in
14278 if test $ok = yes; then
14279 # An in-tree tool is available and we can use it
14280 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14282 $as_echo "just compiled
" >&6; }
14283 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14284 # We already found the complete path
14285 ac_dir=`dirname $READELF_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; }
14288 elif test "x
$target" = "x
$host"; then
14289 # We can use an host tool
14290 READELF_FOR_TARGET='$(READELF)'
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14292 $as_echo "host tool
" >&6; }
14294 # We need a cross tool
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14296 $as_echo "pre-installed
" >&6; }
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14301 $as_echo_n "checking where to
find the target strip...
" >&6; }
14302 if test "x
${build}" != "x
${host}" ; then
14303 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14304 # We already found the complete path
14305 ac_dir=`dirname $STRIP_FOR_TARGET`
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14307 $as_echo "pre-installed
in $ac_dir" >&6; }
14309 # Canadian cross, just use what we found
14310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14311 $as_echo "pre-installed
" >&6; }
14315 case " ${configdirs} " in
14320 if test $ok = yes; then
14321 # An in-tree tool is available and we can use it
14322 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14324 $as_echo "just compiled
" >&6; }
14325 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14326 # We already found the complete path
14327 ac_dir=`dirname $STRIP_FOR_TARGET`
14328 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14329 $as_echo "pre-installed
in $ac_dir" >&6; }
14330 elif test "x
$target" = "x
$host"; then
14331 # We can use an host tool
14332 STRIP_FOR_TARGET='$(STRIP)'
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14334 $as_echo "host tool
" >&6; }
14336 # We need a cross tool
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14338 $as_echo "pre-installed
" >&6; }
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14343 $as_echo_n "checking where to
find the target windres...
" >&6; }
14344 if test "x
${build}" != "x
${host}" ; then
14345 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14346 # We already found the complete path
14347 ac_dir=`dirname $WINDRES_FOR_TARGET`
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14349 $as_echo "pre-installed
in $ac_dir" >&6; }
14351 # Canadian cross, just use what we found
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14353 $as_echo "pre-installed
" >&6; }
14357 case " ${configdirs} " in
14362 if test $ok = yes; then
14363 # An in-tree tool is available and we can use it
14364 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14366 $as_echo "just compiled
" >&6; }
14367 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14368 # We already found the complete path
14369 ac_dir=`dirname $WINDRES_FOR_TARGET`
14370 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14371 $as_echo "pre-installed
in $ac_dir" >&6; }
14372 elif test "x
$target" = "x
$host"; then
14373 # We can use an host tool
14374 WINDRES_FOR_TARGET='$(WINDRES)'
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14376 $as_echo "host tool
" >&6; }
14378 # We need a cross tool
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14380 $as_echo "pre-installed
" >&6; }
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14385 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14386 if test "x
${build}" != "x
${host}" ; then
14387 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14388 # We already found the complete path
14389 ac_dir=`dirname $WINDMC_FOR_TARGET`
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14391 $as_echo "pre-installed
in $ac_dir" >&6; }
14393 # Canadian cross, just use what we found
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14395 $as_echo "pre-installed
" >&6; }
14399 case " ${configdirs} " in
14404 if test $ok = yes; then
14405 # An in-tree tool is available and we can use it
14406 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14408 $as_echo "just compiled
" >&6; }
14409 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14410 # We already found the complete path
14411 ac_dir=`dirname $WINDMC_FOR_TARGET`
14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14413 $as_echo "pre-installed
in $ac_dir" >&6; }
14414 elif test "x
$target" = "x
$host"; then
14415 # We can use an host tool
14416 WINDMC_FOR_TARGET='$(WINDMC)'
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14418 $as_echo "host tool
" >&6; }
14420 # We need a cross tool
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14422 $as_echo "pre-installed
" >&6; }
14430 # Certain tools may need extra flags.
14431 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14432 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14433 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14435 # When building target libraries, except in a Canadian cross, we use
14436 # the same toolchain as the compiler we just built.
14437 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14438 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14439 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14440 if test $host = $build; then
14441 case " $configdirs " in
14443 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14444 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14445 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14455 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14456 # Check whether --enable-maintainer-mode was given.
14457 if test "${enable_maintainer_mode+set}" = set; then :
14458 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14460 USE_MAINTAINER_MODE=no
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14464 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14467 if test "$USE_MAINTAINER_MODE" = yes; then
14468 MAINTAINER_MODE_TRUE=
14469 MAINTAINER_MODE_FALSE='#'
14471 MAINTAINER_MODE_TRUE='#'
14472 MAINTAINER_MODE_FALSE=
14474 MAINT=$MAINTAINER_MODE_TRUE
14476 # ---------------------
14477 # GCC bootstrap support
14478 # ---------------------
14480 # Stage specific cflags for build.
14485 yes) stage1_cflags="-g -Wa,-J" ;;
14486 *) stage1_cflags="-g -J" ;;
14492 # Enable --enable-checking in stage1 of the compiler.
14493 # Check whether --enable-stage1-checking was given.
14494 if test "${enable_stage1_checking+set}" = set; then :
14495 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14497 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14498 stage1_checking=--enable-checking=yes,types
14500 stage1_checking=--enable-checking=$enable_checking,types
14506 # Enable -Werror in bootstrap stage2 and later.
14507 # Check whether --enable-werror was given.
14508 if test "${enable_werror+set}" = set; then :
14509 enableval=$enable_werror;
14511 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14518 case ${enable_werror} in
14519 yes) stage2_werror_flag="--enable-werror-always" ;;
14520 *) stage2_werror_flag="" ;;
14524 # Specify what files to not compare during bootstrap.
14526 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14528 hppa*64*-*-hpux*) ;;
14529 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14533 ac_config_files="$ac_config_files Makefile
"
14535 cat >confcache <<\_ACEOF
14536 # This file is a shell script that caches the results of configure
14537 # tests run on this system so they can be shared between configure
14538 # scripts and configure runs, see configure's option --config-cache.
14539 # It is not useful on other systems. If it contains results you don't
14540 # want to keep, you may remove or edit it.
14542 # config.status only pays attention to the cache file if you give it
14543 # the --recheck option to rerun configure.
14545 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14546 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14547 # following values.
14551 # The following way of writing the cache mishandles newlines in values,
14552 # but we know of no workaround that is simple, portable, and efficient.
14553 # So, we kill variables containing newlines.
14554 # Ultrix sh set writes to stderr and can't be redirected directly,
14555 # and sets the high bit in the cache file unless we assign to the vars.
14557 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14558 eval ac_val=\$$ac_var
14562 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14563 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14566 _ | IFS | as_nl) ;; #(
14567 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14568 *) { eval $ac_var=; unset $ac_var;} ;;
14574 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14575 *${as_nl}ac_space=\ *)
14576 # `set' does not quote correctly, so add quotes: double-quote
14577 # substitution turns \\\\ into \\, and sed turns \\ into \.
14580 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14583 # `set' quotes correctly as required by POSIX, so do not add quotes.
14584 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14593 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14595 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14597 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14598 if test -w "$cache_file"; then
14599 test "x
$cache_file" != "x
/dev
/null
" &&
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14601 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14602 cat confcache >$cache_file
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14605 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14610 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14611 # Let make expand exec_prefix.
14612 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14614 # Transform confdefs.h into DEFS.
14615 # Protect against shell expansion while executing Makefile rules.
14616 # Protect against Makefile macro expansion.
14618 # If the first sed substitution is executed (which looks for macros that
14619 # take arguments), then branch to the quote section. Otherwise,
14620 # look for a macro that doesn't take arguments.
14630 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14632 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14636 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14649 DEFS=`sed -n "$ac_script" confdefs.h`
14654 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14655 # 1. Remove the extension, and $U if already installed.
14656 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14657 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14658 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14659 # will be set to the directory where LIBOBJS objects are built.
14660 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14661 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14663 LIBOBJS=$ac_libobjs
14665 LTLIBOBJS=$ac_ltlibobjs
14669 : ${CONFIG_STATUS=./config.status}
14671 ac_clean_files_save=$ac_clean_files
14672 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14674 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14676 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14678 # Generated by $as_me.
14679 # Run this file to recreate the current configuration.
14680 # Compiler output produced by configure, useful for debugging
14681 # configure, is in config.log if it exists.
14684 ac_cs_recheck=false
14687 SHELL=\${CONFIG_SHELL-$SHELL}
14690 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14691 ## -------------------- ##
14692 ## M4sh Initialization. ##
14693 ## -------------------- ##
14695 # Be more Bourne compatible
14696 DUALCASE=1; export DUALCASE # for MKS sh
14697 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14700 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14701 # is contrary to our usage. Disable this feature.
14702 alias -g '${1+"$@"}'='"$@"'
14703 setopt NO_GLOB_SUBST
14705 case `(set -o) 2>/dev/null` in #(
14717 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14718 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14719 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14720 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14721 # Prefer a ksh shell builtin over an external printf program on Solaris,
14722 # but without wasting forks for bash or zsh.
14723 if test -z "$BASH_VERSION$ZSH_VERSION" \
14724 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14725 as_echo
='print -r --'
14726 as_echo_n
='print -rn --'
14727 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14728 as_echo
='printf %s\n'
14729 as_echo_n
='printf %s'
14731 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14732 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14733 as_echo_n
='/usr/ucb/echo -n'
14735 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14736 as_echo_n_body
='eval
14740 expr "X$arg" : "X\\(.*\\)$as_nl";
14741 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14743 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14745 export as_echo_n_body
14746 as_echo_n
='sh -c $as_echo_n_body as_echo'
14748 export as_echo_body
14749 as_echo
='sh -c $as_echo_body as_echo'
14752 # The user is always right.
14753 if test "${PATH_SEPARATOR+set}" != set; then
14755 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14756 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14763 # We need space, tab and new line, in precisely that order. Quoting is
14764 # there to prevent editors from complaining about space-tab.
14765 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14766 # splitting by setting IFS to empty value.)
14769 # Find who we are. Look in the path if we contain no directory separator.
14771 *[\\/]* ) as_myself
=$0 ;;
14772 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14773 for as_dir
in $PATH
14776 test -z "$as_dir" && as_dir
=.
14777 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14783 # We did not find ourselves, most probably we were run as `sh COMMAND'
14784 # in which case we are not to be found in the path.
14785 if test "x$as_myself" = x
; then
14788 if test ! -f "$as_myself"; then
14789 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14793 # Unset variables that we do not need and which cause bugs (e.g. in
14794 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14795 # suppresses any "Segmentation fault" message there. '((' could
14796 # trigger a bug in pdksh 5.2.14.
14797 for as_var
in BASH_ENV ENV MAIL MAILPATH
14798 do eval test x\
${$as_var+set} = xset \
14799 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14812 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14815 # as_fn_error ERROR [LINENO LOG_FD]
14816 # ---------------------------------
14817 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14818 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14819 # script with status $?, using 1 if that was 0.
14822 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14824 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14825 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14827 $as_echo "$as_me: error: $1" >&2
14828 as_fn_exit
$as_status
14832 # as_fn_set_status STATUS
14833 # -----------------------
14834 # Set $? to STATUS, without forking.
14835 as_fn_set_status
()
14838 } # as_fn_set_status
14840 # as_fn_exit STATUS
14841 # -----------------
14842 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14846 as_fn_set_status
$1
14852 # Portably unset VAR.
14855 { eval $1=; unset $1;}
14857 as_unset
=as_fn_unset
14858 # as_fn_append VAR VALUE
14859 # ----------------------
14860 # Append the text in VALUE to the end of the definition contained in VAR. Take
14861 # advantage of any shell optimizations that allow amortized linear growth over
14862 # repeated appends, instead of the typical quadratic growth present in naive
14864 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14865 eval 'as_fn_append ()
14876 # as_fn_arith ARG...
14877 # ------------------
14878 # Perform arithmetic evaluation on the ARGs, and store the result in the
14879 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14880 # must be portable across $(()) and expr.
14881 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14882 eval 'as_fn_arith ()
14889 as_val
=`expr "$@" || test $? -eq 1`
14894 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14895 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14901 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14902 as_basename
=basename
14907 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
14913 as_me
=`$as_basename -- "$0" ||
14914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14915 X"$0" : 'X\(//\)$' \| \
14916 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14918 sed '/^.*\/\([^/][^/]*\)\/*$/{
14932 # Avoid depending upon Character Ranges.
14933 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
14934 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14935 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
14936 as_cr_digits
='0123456789'
14937 as_cr_alnum
=$as_cr_Letters$as_cr_digits
14939 ECHO_C
= ECHO_N
= ECHO_T
=
14940 case `echo -n x` in #(((((
14942 case `echo 'xy\c'` in
14943 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
14945 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
14952 rm -f conf$$ conf$$.exe conf$$.
file
14953 if test -d conf$$.dir
; then
14954 rm -f conf$$.dir
/conf$$.
file
14957 mkdir conf$$.dir
2>/dev
/null
14959 if (echo >conf$$.
file) 2>/dev
/null
; then
14960 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
14962 # ... but there are two gotchas:
14963 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14964 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14965 # In both cases, we have to default to `cp -p'.
14966 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
14968 elif ln conf$$.
file conf$$
2>/dev
/null
; then
14976 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
14977 rmdir conf$$.dir
2>/dev
/null
14982 # Create "$as_dir" as a directory, including parents if necessary.
14987 -*) as_dir
=.
/$as_dir;;
14989 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
14993 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14994 *) as_qdir
=$as_dir;;
14996 as_dirs
="'$as_qdir' $as_dirs"
14997 as_dir
=`$as_dirname -- "$as_dir" ||
14998 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14999 X"$as_dir" : 'X\(//\)[^/]' \| \
15000 X"$as_dir" : 'X\(//\)$' \| \
15001 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15002 $as_echo X"$as_dir" |
15003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15007 /^X\(\/\/\)[^/].*/{
15020 test -d "$as_dir" && break
15022 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15023 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15027 if mkdir
-p .
2>/dev
/null
; then
15028 as_mkdir_p
='mkdir -p "$as_dir"'
15030 test -d .
/-p && rmdir .
/-p
15034 if test -x / >/dev
/null
2>&1; then
15035 as_test_x
='test -x'
15037 if ls -dL / >/dev
/null
2>&1; then
15044 if test -d "$1"; then
15050 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15051 ???[sx]*):;;*)false;;esac;fi
15055 as_executable_p
=$as_test_x
15057 # Sed expression to map a string onto a valid CPP name.
15058 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15060 # Sed expression to map a string onto a valid variable name.
15061 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15065 ## ----------------------------------- ##
15066 ## Main body of $CONFIG_STATUS script. ##
15067 ## ----------------------------------- ##
15069 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15071 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15072 # Save the log message, to keep $0 and so on meaningful, and to
15073 # report actual input values of CONFIG_FILES etc. instead of their
15074 # values after options handling.
15076 This file was extended by $as_me, which was
15077 generated by GNU Autoconf 2.64. Invocation command line was
15079 CONFIG_FILES = $CONFIG_FILES
15080 CONFIG_HEADERS = $CONFIG_HEADERS
15081 CONFIG_LINKS = $CONFIG_LINKS
15082 CONFIG_COMMANDS = $CONFIG_COMMANDS
15085 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15090 case $ac_config_files in *"
15091 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15097 # Files that config.status was made for.
15098 config_files="$ac_config_files"
15102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15104 \`$as_me' instantiates files and other configuration actions
15105 from templates according to the current configuration. Unless the files
15106 and actions are specified as TAGs, all are instantiated by default.
15108 Usage: $0 [OPTION]... [TAG]...
15110 -h, --help print this help, then exit
15111 -V, --version print version number and configuration settings, then exit
15112 -q, --quiet, --silent
15113 do not print progress messages
15114 -d, --debug don't remove temporary files
15115 --recheck update $as_me by reconfiguring in the same conditions
15116 --file=FILE[:TEMPLATE]
15117 instantiate the configuration file FILE
15119 Configuration files:
15122 Report bugs to the package provider."
15125 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15128 configured by $0, generated by GNU Autoconf 2.64,
15129 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15131 Copyright (C) 2009 Free Software Foundation, Inc.
15132 This config.status script is free software; the Free Software Foundation
15133 gives unlimited permission to copy, distribute and modify it."
15139 test -n "\$AWK" || AWK=awk
15142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15143 # The default lists apply if the user does not specify any file.
15149 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15150 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15161 # Handling of the options.
15162 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15164 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15165 $as_echo "$ac_cs_version"; exit ;;
15166 --debug |
--debu |
--deb |
--de |
--d |
-d )
15168 --file |
--fil |
--fi |
--f )
15171 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15173 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15174 ac_need_defaults
=false
;;
15175 --he |
--h |
--help |
--hel |
-h )
15176 $as_echo "$ac_cs_usage"; exit ;;
15177 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15178 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15181 # This is an error.
15182 -*) as_fn_error
"unrecognized option: \`$1'
15183 Try \`$0 --help' for more information." ;;
15185 *) as_fn_append ac_config_targets
" $1"
15186 ac_need_defaults
=false
;;
15192 ac_configure_extra_args
=
15194 if $ac_cs_silent; then
15196 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15201 if \$ac_cs_recheck; then
15202 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15204 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15205 CONFIG_SHELL='$SHELL'
15206 export CONFIG_SHELL
15211 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15216 ## Running $as_me. ##
15222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15226 extrasub_build="$extrasub_build"
15227 extrasub_host="$extrasub_host"
15228 extrasub_target="$extrasub_target"
15232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15234 # Handling of arguments.
15235 for ac_config_target
in $ac_config_targets
15237 case $ac_config_target in
15238 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15240 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15245 # If the user did not use the arguments to specify the items to instantiate,
15246 # then the envvar interface is used. Set only those that are not.
15247 # We use the long form for the default assignment because of an extremely
15248 # bizarre bug on SunOS 4.1.3.
15249 if $ac_need_defaults; then
15250 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15253 # Have a temporary directory for convenience. Make it in the build tree
15254 # simply because there is no reason against having it here, and in addition,
15255 # creating and moving files from /tmp can sometimes cause problems.
15256 # Hook for its removal unless debugging.
15257 # Note that there is a small window in which the directory will not be cleaned:
15258 # after its creation but before its name has been assigned to `$tmp'.
15262 trap 'exit_status=$?
15263 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15265 trap 'as_fn_exit 1' 1 2 13 15
15267 # Create a (secure) tmp directory for tmp files.
15270 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15271 test -n "$tmp" && test -d "$tmp"
15274 tmp
=.
/conf$$
-$RANDOM
15275 (umask 077 && mkdir
"$tmp")
15276 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15278 # Set up the scripts for CONFIG_FILES section.
15279 # No need to generate them if there are no CONFIG_FILES.
15280 # This happens for instance with `./config.status config.h'.
15281 if test -n "$CONFIG_FILES"; then
15283 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15284 ac_cs_awk_getline
=:
15285 ac_cs_awk_pipe_init
=
15286 ac_cs_awk_read_file
='
15287 while ((getline aline < (F[key])) > 0)
15290 ac_cs_awk_pipe_fini
=
15292 ac_cs_awk_getline
=false
15293 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15294 ac_cs_awk_read_file
='
15296 print "cat " F[key] " &&"
15297 '$ac_cs_awk_pipe_init
15298 # The final `:' finishes the AND list.
15299 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15301 ac_cr
=`echo X | tr X '\015'`
15302 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15303 # But we know of no other shell where ac_cr would be empty at this
15304 # point, so we can use a bashism as a fallback.
15305 if test "x$ac_cr" = x
; then
15306 eval ac_cr
=\$
\'\\r
\'
15308 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15309 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15312 ac_cs_awk_cr
=$ac_cr
15315 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15318 # Create commands to substitute file output variables.
15320 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15321 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15322 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15325 } >conf$
$files.sh
&&
15326 . .
/conf$
$files.sh ||
15327 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15328 rm -f conf$
$files.sh
15331 echo "cat >conf$$subs.awk <<_ACEOF" &&
15332 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15334 } >conf$$subs.sh ||
15335 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15336 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15338 for ac_last_try in false false false false false :; do
15339 . ./conf$$subs.sh ||
15340 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15342 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15343 if test $ac_delim_n = $ac_delim_num; then
15345 elif $ac_last_try; then
15346 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15348 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15351 rm -f conf$$subs.sh
15353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15354 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15358 s/^/S["/; s
/!.
*/"]=/
15368 s/\(.\{148\}\).*/\1/
15370 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15375 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15382 s/\(.\{148\}\).*/\1/
15384 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15388 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15393 ' <conf$$subs.awk | sed '
15398 ' >>$CONFIG_STATUS || ac_write_fail=1
15399 rm -f conf$$subs.awk
15400 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15402 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15403 for (key in S) S_is_set[key] = 1
15405 \$ac_cs_awk_pipe_init
15409 nfields = split(line, field, "@
")
15411 len = length(field[1])
15412 for (i = 2; i < nfields; i++) {
15414 keylen = length(key)
15415 if (S_is_set[key]) {
15417 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15418 len += length(value) + length(field[++i])
15423 if (nfields == 3 && !substed) {
15425 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15426 \$ac_cs_awk_read_file
15432 \$ac_cs_awk_pipe_fini
15435 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15436 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15437 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15440 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15441 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15444 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15445 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15446 # trailing colons and then remove the whole line if VPATH becomes empty
15447 # (actually we leave an empty line to preserve line numbers).
15448 if test "x
$srcdir" = x.; then
15449 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15450 s/:*\$(srcdir):*/:/
15451 s/:*\${srcdir}:*/:/
15453 s/^\([^=]*=[ ]*\):*/\1/
15459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15460 fi # test -n "$CONFIG_FILES"
15463 eval set X " :F
$CONFIG_FILES "
15468 :[FHLC]) ac_mode=$ac_tag; continue;;
15470 case $ac_mode$ac_tag in
15472 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15473 :[FH]-) ac_tag=-:-;;
15474 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15491 -) ac_f="$tmp/stdin";;
15492 *) # Look for the file first in the build tree, then in the source tree
15493 # (if the path is not absolute). The absolute path cannot be DOS-style,
15494 # because $ac_f cannot contain `:'.
15498 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15500 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15502 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15503 as_fn_append ac_file_inputs " '$ac_f'"
15506 # Let's still pretend it is `configure' which instantiates (i.e., don't
15507 # use $as_me), people would be surprised to read:
15508 # /* config.h. Generated by config.status. */
15509 configure_input='Generated from '`
15510 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15512 if test x"$ac_file" != x-; then
15513 configure_input="$ac_file.
$configure_input"
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15515 $as_echo "$as_me: creating
$ac_file" >&6;}
15517 # Neutralize special characters interpreted by sed in replacement strings.
15518 case $configure_input in #(
15519 *\&* | *\|* | *\\* )
15520 ac_sed_conf_input=`$as_echo "$configure_input" |
15521 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15522 *) ac_sed_conf_input=$configure_input;;
15526 *:-:* | *:-) cat >"$tmp/stdin
" \
15527 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15532 ac_dir=`$as_dirname -- "$ac_file" ||
15533 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15534 X"$ac_file" : 'X\(//\)[^/]' \| \
15535 X"$ac_file" : 'X\(//\)$' \| \
15536 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15537 $as_echo X"$ac_file" |
15538 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15542 /^X\(\/\/\)[^/].*/{
15555 as_dir="$ac_dir"; as_fn_mkdir_p
15559 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15561 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15562 # A "..
" for each directory in $ac_dir_suffix.
15563 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15564 case $ac_top_builddir_sub in
15565 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15566 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15569 ac_abs_top_builddir=$ac_pwd
15570 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15571 # for backward compatibility:
15572 ac_top_builddir=$ac_top_build_prefix
15575 .) # We are building in place.
15577 ac_top_srcdir=$ac_top_builddir_sub
15578 ac_abs_top_srcdir=$ac_pwd ;;
15579 [\\/]* | ?:[\\/]* ) # Absolute name.
15580 ac_srcdir=$srcdir$ac_dir_suffix;
15581 ac_top_srcdir=$srcdir
15582 ac_abs_top_srcdir=$srcdir ;;
15583 *) # Relative name.
15584 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15585 ac_top_srcdir=$ac_top_build_prefix$srcdir
15586 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15588 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15598 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15599 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15604 # If the template does not know about datarootdir, expand it.
15605 # FIXME: This hack should be removed a few years after 2.60.
15606 ac_datarootdir_hack=; ac_datarootdir_seen=
15617 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15618 *datarootdir*) ac_datarootdir_seen=yes;;
15619 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15621 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15624 ac_datarootdir_hack='
15625 s&@datadir@&$datadir&g
15626 s&@docdir@&$docdir&g
15627 s&@infodir@&$infodir&g
15628 s&@localedir@&$localedir&g
15629 s&@mandir@&$mandir&g
15630 s&\\\${datarootdir}&$datarootdir&g' ;;
15634 # Neutralize VPATH when `$srcdir' = `.'.
15635 # Shell code in configure.ac might set extrasub.
15636 # FIXME: do we really want to maintain this feature?
15637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15638 ac_sed_extra="$ac_vpsub
15641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15643 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15644 s|@configure_input@|
$ac_sed_conf_input|
;t t
15645 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15646 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15647 s
&@srcdir@
&$ac_srcdir&;t t
15648 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15649 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15650 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15651 s
&@builddir@
&$ac_builddir&;t t
15652 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15653 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15654 s
&@INSTALL@
&$ac_INSTALL&;t t
15655 $ac_datarootdir_hack
15657 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15658 if $ac_cs_awk_getline; then
15659 $AWK -f "$tmp/subs.
awk"
15661 $AWK -f "$tmp/subs.
awk" | $SHELL
15663 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15665 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15666 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15667 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15669 which seems to be undefined. Please make sure it is defined." >&5
15670 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15671 which seems to be undefined. Please make sure it is defined." >&2;}
15675 -) cat "$tmp/out" && rm -f "$tmp/out";;
15676 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15678 || as_fn_error "could not create $ac_file" "$LINENO" 5
15686 case $ac_file$ac_mode in
15687 "Makefile":F) sed "$extrasub_build" Makefile |
15688 sed "$extrasub_host" |
15689 sed "$extrasub_target" > mf$$
15690 mv -f mf$$ Makefile ;;
15698 ac_clean_files=$ac_clean_files_save
15700 test $ac_write_fail = 0 ||
15701 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15704 # configure is writing to config.log, and then calls config.status.
15705 # config.status does its own redirection, appending to config.log.
15706 # Unfortunately, on DOS this fails, as config.log is still kept open
15707 # by configure, so config.status won't be able to
write to it
; its
15708 # output is simply discarded. So we exec the FD to /dev/null,
15709 # effectively closing config.log, so it can be properly (re)opened and
15710 # appended to by config.status. When coming back to configure, we
15711 # need to make the FD available again.
15712 if test "$no_create" != yes; then
15714 ac_config_status_args
=
15715 test "$silent" = yes &&
15716 ac_config_status_args
="$ac_config_status_args --quiet"
15718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15721 # would make configure fail if this is the last instruction.
15722 $ac_cs_success || as_fn_exit $?
15724 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15726 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}