2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev
/null
; then :
205 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
210 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir
=.
217 for as_base
in sh bash ksh sh5
; do
218 # Try only shells that exist, to save several forks.
219 as_shell
=$as_dir/$as_base
220 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
222 CONFIG_SHELL
=$as_shell as_have_required
=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
231 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$SHELL as_have_required
=yes
238 if test "x$CONFIG_SHELL" != x
; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
248 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x
$as_have_required = xno
; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x
${ZSH_VERSION+set} = xset
; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL
=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE
= GREP_OPTIONS
=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir
=.
/$as_dir;;
321 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
325 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs
="'$as_qdir' $as_dirs"
329 as_dir
=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
355 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p
()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
398 as_val
=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status
=$1; test $as_status -eq 0 && as_status
=1
412 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit
$as_status
419 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
426 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
438 as_me
=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits
='0123456789'
462 as_cr_alnum
=$as_cr_Letters$as_cr_digits
465 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
466 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x
"$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec
=no
; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C
= ECHO_N
= ECHO_T
=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
513 rm -f conf$$ conf$$.exe conf$$.
file
514 if test -d conf$$.dir
; then
515 rm -f conf$$.dir
/conf$$.
file
518 mkdir conf$$.dir
2>/dev
/null
520 if (echo >conf$$.
file) 2>/dev
/null
; then
521 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
529 elif ln conf$$.
file conf$$
2>/dev
/null
; then
537 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
538 rmdir conf$$.dir
2>/dev
/null
540 if mkdir
-p .
2>/dev
/null
; then
541 as_mkdir_p
='mkdir -p "$as_dir"'
543 test -d .
/-p && rmdir .
/-p
548 as_executable_p
=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix
=/usr
/local
570 ac_config_libobj_dir
=.
577 # Identity of this package.
585 ac_unique_file
="move-if-change"
586 enable_option_checking
=no
587 ac_subst_vars
='LTLIBOBJS
594 MAINTAINER_MODE_FALSE
596 COMPILER_NM_FOR_TARGET
597 COMPILER_LD_FOR_TARGET
598 COMPILER_AS_FOR_TARGET
672 DEBUG_PREFIX_CFLAGS_FOR_TARGET
673 SYSROOT_CFLAGS_FOR_TARGET
675 extra_host_zlib_configure_flags
676 extra_host_libiberty_configure_flags
679 extra_linker_plugin_flags
680 extra_linker_plugin_configure_flags
687 extra_isl_gmp_configure_flags
688 extra_mpc_mpfr_configure_flags
689 extra_mpc_gmp_configure_flags
690 extra_mpfr_configure_flags
706 extra_liboffloadmic_configure_flags
733 TOPLEVEL_CONFIGURE_ARGUMENTS
761 program_transform_name
772 ac_subst_files
='serialization_dependencies
778 enable_option_checking
781 enable_as_accelerator_for
782 enable_offload_targets
785 enable_compressed_debug_sections
787 enable_libquadmath_support
811 enable_isl_version_check
813 enable_linker_plugin_configure_flags
814 enable_linker_plugin_flags
816 enable_stage1_languages
819 with_target_bdw_gc_include
820 with_target_bdw_gc_lib
821 with_gcc_major_version_only
823 with_debug_prefix_map
826 enable_serial_configure
827 with_build_time_tools
828 enable_maintainer_mode
829 enable_stage1_checking
832 ac_precious_vars
='build_alias
879 # Initialize some variables set by options.
881 ac_init_version
=false
882 ac_unrecognized_opts
=
884 # The variables have the same names as the options, with
885 # dashes changed to underlines.
893 program_transform_name
=s
,x
,x
,
901 # Installation directory options.
902 # These are left unexpanded so users can "make install exec_prefix=/foo"
903 # and all the variables that are supposed to be based on exec_prefix
904 # by default will actually change.
905 # Use braces instead of parens because sh, perl, etc. also accept them.
906 # (The list follows the same order as the GNU Coding Standards.)
907 bindir
='${exec_prefix}/bin'
908 sbindir
='${exec_prefix}/sbin'
909 libexecdir
='${exec_prefix}/libexec'
910 datarootdir
='${prefix}/share'
911 datadir
='${datarootdir}'
912 sysconfdir
='${prefix}/etc'
913 sharedstatedir
='${prefix}/com'
914 localstatedir
='${prefix}/var'
915 includedir
='${prefix}/include'
916 oldincludedir
='/usr/include'
917 docdir
='${datarootdir}/doc/${PACKAGE}'
918 infodir
='${datarootdir}/info'
923 libdir
='${exec_prefix}/lib'
924 localedir
='${datarootdir}/locale'
925 mandir
='${datarootdir}/man'
931 # If the previous option needs an argument, assign it.
932 if test -n "$ac_prev"; then
933 eval $ac_prev=\
$ac_option
939 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
944 # Accept the important Cygnus configure options, so we can diagnose typos.
946 case $ac_dashdash$ac_option in
950 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
952 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
955 -build |
--build |
--buil |
--bui |
--bu)
956 ac_prev
=build_alias
;;
957 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
958 build_alias
=$ac_optarg ;;
960 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
961 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
962 ac_prev
=cache_file
;;
963 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
964 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
965 cache_file
=$ac_optarg ;;
968 cache_file
=config.cache
;;
970 -datadir |
--datadir |
--datadi |
--datad)
972 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
973 datadir
=$ac_optarg ;;
975 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
976 |
--dataroo |
--dataro |
--datar)
977 ac_prev
=datarootdir
;;
978 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
979 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
980 datarootdir
=$ac_optarg ;;
982 -disable-* |
--disable-*)
983 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
984 # Reject names that are not valid shell variable names.
985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
986 as_fn_error $?
"invalid feature name: $ac_useropt"
987 ac_useropt_orig
=$ac_useropt
988 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
989 case $ac_user_opts in
993 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
994 ac_unrecognized_sep
=', ';;
996 eval enable_
$ac_useropt=no
;;
998 -docdir |
--docdir |
--docdi |
--doc |
--do)
1000 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1001 docdir
=$ac_optarg ;;
1003 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1005 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1006 dvidir
=$ac_optarg ;;
1008 -enable-* |
--enable-*)
1009 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1012 as_fn_error $?
"invalid feature name: $ac_useropt"
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_
$ac_useropt"
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval enable_
$ac_useropt=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 as_fn_error $?
"invalid package name: $ac_useropt"
1217 ac_useropt_orig
=$ac_useropt
1218 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1219 case $ac_user_opts in
1223 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1224 ac_unrecognized_sep
=', ';;
1226 eval with_
$ac_useropt=\
$ac_optarg ;;
1228 -without-* |
--without-*)
1229 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1230 # Reject names that are not valid shell variable names.
1231 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1232 as_fn_error $?
"invalid package name: $ac_useropt"
1233 ac_useropt_orig
=$ac_useropt
1234 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1235 case $ac_user_opts in
1239 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1240 ac_unrecognized_sep
=', ';;
1242 eval with_
$ac_useropt=no
;;
1245 # Obsolete; use --with-x.
1248 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1249 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1250 ac_prev
=x_includes
;;
1251 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1252 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1253 x_includes
=$ac_optarg ;;
1255 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1256 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1257 ac_prev
=x_libraries
;;
1258 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1259 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1260 x_libraries
=$ac_optarg ;;
1262 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1263 Try \`$0 --help' for more information"
1267 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1268 # Reject names that are not valid shell variable names.
1269 case $ac_envvar in #(
1270 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1271 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1273 eval $ac_envvar=\
$ac_optarg
1274 export $ac_envvar ;;
1277 # FIXME: should be removed in autoconf 3.0.
1278 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1279 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1280 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1281 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1287 if test -n "$ac_prev"; then
1288 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1289 as_fn_error $?
"missing argument to $ac_option"
1292 if test -n "$ac_unrecognized_opts"; then
1293 case $enable_option_checking in
1295 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1296 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1300 # Check all directory arguments for consistency.
1301 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1302 datadir sysconfdir sharedstatedir localstatedir includedir \
1303 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1304 libdir localedir mandir
1306 eval ac_val
=\$
$ac_var
1307 # Remove trailing slashes.
1310 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1311 eval $ac_var=\
$ac_val;;
1313 # Be sure to have absolute directory names.
1315 [\\/$
]* | ?
:[\\/]* ) continue;;
1316 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1318 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1321 # There might be people who depend on the old broken behavior: `$host'
1322 # used to hold the argument of --host etc.
1323 # FIXME: To remove some day.
1326 target
=$target_alias
1328 # FIXME: To remove some day.
1329 if test "x$host_alias" != x
; then
1330 if test "x$build_alias" = x
; then
1331 cross_compiling
=maybe
1332 elif test "x$build_alias" != "x$host_alias"; then
1338 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1340 test "$silent" = yes && exec 6>/dev
/null
1343 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1344 ac_ls_di
=`ls -di .` &&
1345 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1346 as_fn_error $?
"working directory cannot be determined"
1347 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1348 as_fn_error $?
"pwd does not report name of working directory"
1351 # Find the source files, if location was not specified.
1352 if test -z "$srcdir"; then
1353 ac_srcdir_defaulted
=yes
1354 # Try the directory containing this script, then the parent directory.
1355 ac_confdir
=`$as_dirname -- "$as_myself" ||
1356 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1357 X"$as_myself" : 'X\(//\)[^/]' \| \
1358 X"$as_myself" : 'X\(//\)$' \| \
1359 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1360 $as_echo X"$as_myself" |
1361 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1379 if test ! -r "$srcdir/$ac_unique_file"; then
1383 ac_srcdir_defaulted
=no
1385 if test ! -r "$srcdir/$ac_unique_file"; then
1386 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1387 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1389 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1391 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1393 # When building in place, set srcdir=.
1394 if test "$ac_abs_confdir" = "$ac_pwd"; then
1397 # Remove unnecessary trailing slashes from srcdir.
1398 # Double slashes in file names in object file debugging info
1399 # mess up M-x gdb in Emacs.
1401 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1405 as_fn_error $?
"path to source, $srcdir, contains spaces"
1408 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1410 for ac_var
in $ac_precious_vars; do
1411 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1412 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1413 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1414 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1418 # Report the --help message.
1420 if test "$ac_init_help" = "long"; then
1421 # Omit some internal or obsolete options to make the list less imposing.
1422 # This message is too long to be a string in the A/UX 3.1 sh.
1424 \`configure' configures this package to adapt to many kinds of systems.
1426 Usage: $0 [OPTION]... [VAR=VALUE]...
1428 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429 VAR=VALUE. See below for descriptions of some of the useful variables.
1431 Defaults for the options are specified in brackets.
1434 -h, --help display this help and exit
1435 --help=short display options specific to this package
1436 --help=recursive display the short help of all the included packages
1437 -V, --version display version information and exit
1438 -q, --quiet, --silent do not print \`checking ...' messages
1439 --cache-file=FILE cache test results in FILE [disabled]
1440 -C, --config-cache alias for \`--cache-file=config.cache'
1441 -n, --no-create do not create output files
1442 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1444 Installation directories:
1445 --prefix=PREFIX install architecture-independent files in PREFIX
1446 [$ac_default_prefix]
1447 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1450 By default, \`make install' will install all the files in
1451 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1452 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453 for instance \`--prefix=\$HOME'.
1455 For better control, use the options below.
1457 Fine tuning of the installation directories:
1458 --bindir=DIR user executables [EPREFIX/bin]
1459 --sbindir=DIR system admin executables [EPREFIX/sbin]
1460 --libexecdir=DIR program executables [EPREFIX/libexec]
1461 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1462 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1463 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1464 --libdir=DIR object code libraries [EPREFIX/lib]
1465 --includedir=DIR C header files [PREFIX/include]
1466 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1467 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1468 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1469 --infodir=DIR info documentation [DATAROOTDIR/info]
1470 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1471 --mandir=DIR man documentation [DATAROOTDIR/man]
1472 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1473 --htmldir=DIR html documentation [DOCDIR]
1474 --dvidir=DIR dvi documentation [DOCDIR]
1475 --pdfdir=DIR pdf documentation [DOCDIR]
1476 --psdir=DIR ps documentation [DOCDIR]
1482 --program-prefix=PREFIX prepend PREFIX to installed program names
1483 --program-suffix=SUFFIX append SUFFIX to installed program names
1484 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1487 --build=BUILD configure
for building on BUILD
[guessed
]
1488 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1489 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1493 if test -n "$ac_init_help"; then
1498 --disable-option-checking ignore unrecognized
--enable/--with options
1499 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1500 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1501 --enable-as-accelerator-for=ARG
1502 build as offload target compiler. Specify offload
1504 --enable-offload-targets=LIST
1505 enable offloading to devices from comma-separated
1506 LIST of TARGET
[=DIR
]. Use optional path to
find
1507 offload target compiler during the build
1508 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1509 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1510 --enable-compressed-debug-sections={all
,gas
,gold
,ld
,none
}
1511 Enable compressed debug sections
for gas
, gold or ld
1513 --disable-libquadmath do not build libquadmath directory
1514 --disable-libquadmath-support
1515 disable libquadmath support
for Fortran
1516 --enable-libada build libada directory
1517 --enable-libssp build libssp directory
1518 --disable-libstdcxx do not build libstdc
++-v3 directory
1519 --enable-liboffloadmic=ARG
1520 build liboffloadmic
[ARG
={no
,host,target
}]
1521 --enable-bootstrap enable bootstrapping
[yes if native build
]
1522 --disable-isl-version-check
1523 disable check
for isl version
1524 --enable-lto enable link
time optimization support
1525 --enable-linker-plugin-configure-flags=FLAGS
1526 additional flags
for configuring linker plugins
1528 --enable-linker-plugin-flags=FLAGS
1529 additional flags
for configuring and building linker
1531 --enable-host-shared build
host code as shared libraries
1532 --enable-stage1-languages[=all
]
1533 choose additional languages to build during stage1.
1534 Mostly useful
for compiler development
1535 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1537 --enable-vtable-verify Enable vtable verification feature
1538 --enable-serial-[{host,target,build}-]configure
1539 force sequential configuration of sub-packages for
1540 the host, target or build machine, or all
1542 --enable-maintainer-mode
1543 enable make rules and dependencies not useful (and
1544 sometimes confusing) to the casual installer
1545 --enable-stage1-checking[=all]
1546 choose additional checking for stage1 of the
1548 --enable-werror enable -Werror in bootstrap stage2 and later
1551 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553 --with-build-libsubdir=DIR Directory where to find libraries for build system
1554 --with-system-zlib use installed libz
1555 --with-mpc=PATH specify prefix directory for installed MPC package.
1556 Equivalent to --with-mpc-include=PATH/include plus
1557 --with-mpc-lib=PATH/lib
1558 --with-mpc-include=PATH specify directory for installed MPC include files
1559 --with-mpc-lib=PATH specify directory for the installed MPC library
1560 --with-mpfr-dir=PATH this option has been REMOVED
1561 --with-mpfr=PATH specify prefix directory for installed MPFR package.
1562 Equivalent to --with-mpfr-include=PATH/include plus
1563 --with-mpfr-lib=PATH/lib
1564 --with-mpfr-include=PATH
1565 specify directory for installed MPFR include files
1566 --with-mpfr-lib=PATH specify directory for the installed MPFR library
1567 --with-gmp-dir=PATH this option has been REMOVED
1568 --with-gmp=PATH specify prefix directory for the installed GMP
1569 package. Equivalent to
1570 --with-gmp-include=PATH/include plus
1571 --with-gmp-lib=PATH/lib
1572 --with-gmp-include=PATH specify directory for installed GMP include files
1573 --with-gmp-lib=PATH specify directory for the installed GMP library
1574 --with-stage1-libs=LIBS libraries for stage1
1575 --with-stage1-ldflags=FLAGS
1576 linker flags for stage1
1577 --with-boot-libs=LIBS libraries for stage2 and later
1578 --with-boot-ldflags=FLAGS
1579 linker flags for stage2 and later
1580 --with-isl=PATH Specify prefix directory for the installed isl
1581 package. Equivalent to
1582 --with-isl-include=PATH/include plus
1583 --with-isl-lib=PATH/lib
1584 --with-isl-include=PATH Specify directory for installed isl include files
1585 --with-isl-lib=PATH Specify the directory for the installed isl library
1586 --with-target-bdw-gc=PATHLIST
1587 specify prefix directory for installed bdw-gc
1588 package. Equivalent to
1589 --with-target-bdw-gc-include=PATH/include plus
1590 --with-target-bdw-gc-lib=PATH/lib
1591 --with-target-bdw-gc-include=PATHLIST
1592 specify directories for installed bdw-gc include
1594 --with-target-bdw-gc-lib=PATHLIST
1595 specify directories for installed bdw-gc library
1596 --with-gcc-major-version-only
1597 use only GCC major number in filesystem paths
1598 --with-build-sysroot=SYSROOT
1599 use sysroot as the system root during the build
1600 --with-debug-prefix-map='A
=B C
=D ...
'
1601 map A to B, C to D ... in debug information
1602 --with-build-config='NAME NAME2...
'
1603 use config/NAME.mk build configuration
1604 --with-build-time-tools=PATH
1605 use given path to find target tools during the build
1607 Some influential environment variables:
1608 CC C compiler command
1609 CFLAGS C compiler flags
1610 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1611 nonstandard directory <lib dir>
1612 LIBS libraries to pass to the linker, e.g. -l<library>
1613 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1614 you have headers in a nonstandard directory <include dir>
1615 CXX C++ compiler command
1616 CXXFLAGS C++ compiler flags
1618 additional configure arguments for build directories
1620 additional configure arguments for host directories
1622 additional configure arguments for target directories
1625 DLLTOOL DLLTOOL for the host
1627 LIPO LIPO for the host
1629 RANLIB RANLIB for the host
1630 STRIP STRIP for the host
1631 WINDRES WINDRES for the host
1632 WINDMC WINDMC for the host
1633 OBJCOPY OBJCOPY for the host
1634 OBJDUMP OBJDUMP for the host
1635 READELF READELF for the host
1643 GFORTRAN for the target
1651 DLLTOOL for the target
1659 OBJCOPY for the target
1661 OBJDUMP for the target
1663 RANLIB for the target
1665 READELF for the target
1667 STRIP for the target
1669 WINDRES for the target
1671 WINDMC for the target
1673 Use these variables to override the choices made by `configure' or to
help
1674 it to
find libraries and programs with nonstandard names
/locations.
1676 Report bugs to the package provider.
1681 if test "$ac_init_help" = "recursive"; then
1682 # If there are subdirs, report their specific --help.
1683 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1684 test -d "$ac_dir" ||
1685 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1690 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1692 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1693 # A ".." for each directory in $ac_dir_suffix.
1694 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1695 case $ac_top_builddir_sub in
1696 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1697 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1700 ac_abs_top_builddir
=$ac_pwd
1701 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1702 # for backward compatibility:
1703 ac_top_builddir
=$ac_top_build_prefix
1706 .
) # We are building in place.
1708 ac_top_srcdir
=$ac_top_builddir_sub
1709 ac_abs_top_srcdir
=$ac_pwd ;;
1710 [\\/]* | ?
:[\\/]* ) # Absolute name.
1711 ac_srcdir
=$srcdir$ac_dir_suffix;
1712 ac_top_srcdir
=$srcdir
1713 ac_abs_top_srcdir
=$srcdir ;;
1715 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1716 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1717 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1719 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1721 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1722 # Check for guested configure.
1723 if test -f "$ac_srcdir/configure.gnu"; then
1725 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1726 elif test -f "$ac_srcdir/configure"; then
1728 $SHELL "$ac_srcdir/configure" --help=recursive
1730 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1732 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1736 test -n "$ac_init_help" && exit $ac_status
1737 if $ac_init_version; then
1740 generated by GNU Autoconf
2.69
1742 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1743 This configure
script is free software
; the Free Software Foundation
1744 gives unlimited permission to copy
, distribute and modify it.
1749 ## ------------------------ ##
1750 ## Autoconf initialization. ##
1751 ## ------------------------ ##
1753 # ac_fn_c_try_compile LINENO
1754 # --------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_c_try_compile
()
1758 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1759 rm -f conftest.
$ac_objext
1760 if { { ac_try
="$ac_compile"
1762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1789 } # ac_fn_c_try_compile
1791 # ac_fn_cxx_try_compile LINENO
1792 # ----------------------------
1793 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_cxx_try_compile ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 rm -f conftest.$ac_objext
1798 if { { ac_try="$ac_compile"
1800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1801 *) ac_try_echo
=$ac_try;;
1803 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_compile") 2>conftest.err
1807 if test -s conftest.err
; then
1808 grep -v '^ *+' conftest.err
>conftest.er1
1809 cat conftest.er1
>&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_cxx_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest.
$ac_objext; then :
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.
$ac_ext >&5
1824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 as_fn_set_status
$ac_retval
1827 } # ac_fn_cxx_try_compile
1829 # ac_fn_cxx_try_link LINENO
1830 # -------------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_cxx_try_link
()
1834 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1835 rm -f conftest.
$ac_objext conftest
$ac_exeext
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>conftest.err
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_cxx_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 test -x conftest$ac_exeext
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1871 as_fn_set_status $ac_retval
1873 } # ac_fn_cxx_try_link
1875 # ac_fn_c_try_link LINENO
1876 # -----------------------
1877 # Try to link conftest.$ac_ext, and return whether this succeeded.
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 rm -f conftest.$ac_objext conftest$ac_exeext
1882 if { { ac_try="$ac_link"
1884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1885 *) ac_try_echo
=$ac_try;;
1887 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_link") 2>conftest.err
1891 if test -s conftest.err
; then
1892 grep -v '^ *+' conftest.err
>conftest.er1
1893 cat conftest.er1
>&5
1894 mv -f conftest.er1 conftest.err
1896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1897 test $ac_status = 0; } && {
1898 test -z "$ac_c_werror_flag" ||
1899 test ! -s conftest.err
1900 } && test -s conftest
$ac_exeext && {
1901 test "$cross_compiling" = yes ||
1902 test -x conftest
$ac_exeext
1906 $as_echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.
$ac_ext >&5
1911 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1912 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1913 # interfere with the next link command; also delete a directory that is
1914 # left behind by Apple's compiler. We do this before executing the actions.
1915 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 as_fn_set_status
$ac_retval
1919 } # ac_fn_c_try_link
1920 cat >config.log
<<_ACEOF
1921 This file contains any messages produced by compilers while
1922 running configure, to aid debugging if configure makes a mistake.
1924 It was created by $as_me, which was
1925 generated by GNU Autoconf 2.69. Invocation command line was
1937 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1938 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1939 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1940 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1941 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1943 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1944 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1946 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1947 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1948 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1949 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1950 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1951 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1952 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1960 test -z "$as_dir" && as_dir
=.
1961 $as_echo "PATH: $as_dir"
1977 # Keep a trace of the command line.
1978 # Strip out --no-create and --no-recursion so they do not pile up.
1979 # Strip out --silent because we don't want to record it for future runs.
1980 # Also quote any args containing shell meta-characters.
1981 # Make two passes to allow for proper duplicate-argument suppression.
1985 ac_must_keep_next
=false
1991 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1993 |
-silent |
--silent |
--silen |
--sile |
--sil)
1996 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1999 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2001 as_fn_append ac_configure_args1
" '$ac_arg'"
2002 if test $ac_must_keep_next = true
; then
2003 ac_must_keep_next
=false
# Got value, back to normal.
2006 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2007 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2008 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2009 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2010 case "$ac_configure_args0 " in
2011 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2014 -* ) ac_must_keep_next
=true
;;
2017 as_fn_append ac_configure_args
" '$ac_arg'"
2022 { ac_configure_args0
=; unset ac_configure_args0
;}
2023 { ac_configure_args1
=; unset ac_configure_args1
;}
2025 # When interrupted or exit'd, cleanup temporary files, and complete
2026 # config.log. We remove comments because anyway the quotes in there
2027 # would cause problems or look ugly.
2028 # WARNING: Use '\'' to represent an apostrophe within the trap.
2029 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2030 trap 'exit_status=$?
2031 # Save into config.log some information that might help in debugging.
2035 $as_echo "## ---------------- ##
2036 ## Cache variables. ##
2037 ## ---------------- ##"
2039 # The following way of writing the cache mishandles newlines in values,
2041 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2042 eval ac_val=\$$ac_var
2046 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2047 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2050 _ | IFS | as_nl) ;; #(
2051 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2052 *) { eval $ac_var=; unset $ac_var;} ;;
2057 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2058 *${as_nl}ac_space=\ *)
2060 "s/'\''/'\''\\\\'\'''\''/g;
2061 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2071 $as_echo "## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##"
2075 for ac_var in $ac_subst_vars
2077 eval ac_val=\$$ac_var
2079 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2081 $as_echo "$ac_var='\''$ac_val'\''"
2085 if test -n "$ac_subst_files"; then
2086 $as_echo "## ------------------- ##
2087 ## File substitutions. ##
2088 ## ------------------- ##"
2090 for ac_var
in $ac_subst_files
2092 eval ac_val
=\$
$ac_var
2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2096 $as_echo "$ac_var='\''$ac_val'\''"
2101 if test -s confdefs.h; then
2102 $as_echo "## ----------- ##
2109 test "$ac_signal" != 0 &&
2110 $as_echo "$as_me: caught signal $ac_signal"
2111 $as_echo "$as_me: exit $exit_status"
2113 rm -f core *.core core.conftest.* &&
2114 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2117 for ac_signal
in 1 2 13 15; do
2118 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2122 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2123 rm -f -r conftest
* confdefs.h
2125 $as_echo "/* confdefs.h */" > confdefs.h
2127 # Predefined preprocessor variables.
2129 cat >>confdefs.h
<<_ACEOF
2130 #define PACKAGE_NAME "$PACKAGE_NAME"
2133 cat >>confdefs.h
<<_ACEOF
2134 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2137 cat >>confdefs.h
<<_ACEOF
2138 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2141 cat >>confdefs.h
<<_ACEOF
2142 #define PACKAGE_STRING "$PACKAGE_STRING"
2145 cat >>confdefs.h
<<_ACEOF
2146 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2149 cat >>confdefs.h
<<_ACEOF
2150 #define PACKAGE_URL "$PACKAGE_URL"
2154 # Let the site file select an alternate cache file if it wants to.
2155 # Prefer an explicitly selected file to automatically selected ones.
2158 if test -n "$CONFIG_SITE"; then
2159 # We do not want a PATH search for config.site.
2160 case $CONFIG_SITE in #((
2161 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2162 */*) ac_site_file1
=$CONFIG_SITE;;
2163 *) ac_site_file1
=.
/$CONFIG_SITE;;
2165 elif test "x$prefix" != xNONE
; then
2166 ac_site_file1
=$prefix/share
/config.site
2167 ac_site_file2
=$prefix/etc
/config.site
2169 ac_site_file1
=$ac_default_prefix/share
/config.site
2170 ac_site_file2
=$ac_default_prefix/etc
/config.site
2172 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2174 test "x$ac_site_file" = xNONE
&& continue
2175 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2176 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2177 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2178 sed 's/^/| /' "$ac_site_file" >&5
2180 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2182 as_fn_error $?
"failed to load site script $ac_site_file
2183 See \`config.log' for more details" "$LINENO" 5; }
2187 if test -r "$cache_file"; then
2188 # Some versions of bash will fail to source /dev/null (special files
2189 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2190 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2192 $as_echo "$as_me: loading cache $cache_file" >&6;}
2194 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2195 *) .
"./$cache_file";;
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2200 $as_echo "$as_me: creating cache $cache_file" >&6;}
2204 # Check that the precious variables saved in the cache have kept the same
2206 ac_cache_corrupted
=false
2207 for ac_var
in $ac_precious_vars; do
2208 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2209 eval ac_new_set
=\
$ac_env_${ac_var}_set
2210 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2211 eval ac_new_val
=\
$ac_env_${ac_var}_value
2212 case $ac_old_set,$ac_new_set in
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2215 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2216 ac_cache_corrupted
=: ;;
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2219 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2220 ac_cache_corrupted
=: ;;
2223 if test "x$ac_old_val" != "x$ac_new_val"; then
2224 # differences in whitespace do not lead to failure.
2225 ac_old_val_w
=`echo x $ac_old_val`
2226 ac_new_val_w
=`echo x $ac_new_val`
2227 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2229 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2230 ac_cache_corrupted
=:
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2233 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2234 eval $ac_var=\
$ac_old_val
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2237 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2239 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2242 # Pass precious variables to config.status.
2243 if test "$ac_new_set" = set; then
2245 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2246 *) ac_arg
=$ac_var=$ac_new_val ;;
2248 case " $ac_configure_args " in
2249 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2250 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2254 if $ac_cache_corrupted; then
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2256 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2258 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2259 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2261 ## -------------------- ##
2262 ## Main body of script. ##
2263 ## -------------------- ##
2266 ac_cpp
='$CPP $CPPFLAGS'
2267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2280 # if PWD already has a value, it is probably wrong.
2281 if test -n "$PWD" ; then PWD
=`${PWDCMD-pwd}`; fi
2283 # Export original configure arguments for use by sub-configures.
2284 # Quote arguments with shell meta charatcers.
2285 TOPLEVEL_CONFIGURE_ARGUMENTS
=
2286 set -- "$progname" "$@"
2290 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2291 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
2292 # if the argument is of the form -foo=baz, quote the baz part only
2293 ac_arg
=`echo "'$ac_arg'" | sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2296 # Add the quoted argument to the list.
2297 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2299 if test "$silent" = yes; then
2300 TOPLEVEL_CONFIGURE_ARGUMENTS
="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2302 # Remove the initial space we just introduced and, as these will be
2303 # expanded by make, quote '$'.
2304 TOPLEVEL_CONFIGURE_ARGUMENTS
=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
2307 # Find the build, host, and target systems.
2309 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2310 if test -f "$ac_dir/install-sh"; then
2312 ac_install_sh
="$ac_aux_dir/install-sh -c"
2314 elif test -f "$ac_dir/install.sh"; then
2316 ac_install_sh
="$ac_aux_dir/install.sh -c"
2318 elif test -f "$ac_dir/shtool"; then
2320 ac_install_sh
="$ac_aux_dir/shtool install -c"
2324 if test -z "$ac_aux_dir"; then
2325 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2328 # These three variables are undocumented and unsupported,
2329 # and are intended to be withdrawn in a future Autoconf release.
2330 # They can cause serious problems if a builder's source tree is in a directory
2331 # whose full name contains unusual characters.
2332 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2333 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2334 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2337 # Make sure we can run config.sub.
2338 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2339 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2342 $as_echo_n "checking build system type... " >&6; }
2343 if ${ac_cv_build+:} false
; then :
2344 $as_echo_n "(cached) " >&6
2346 ac_build_alias
=$build_alias
2347 test "x$ac_build_alias" = x
&&
2348 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2349 test "x$ac_build_alias" = x
&&
2350 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2351 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2352 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2356 $as_echo "$ac_cv_build" >&6; }
2357 case $ac_cv_build in
2359 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2362 ac_save_IFS
=$IFS; IFS
='-'
2368 # Remember, the first character of IFS is used to create $*,
2369 # except with old shells:
2372 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2375 case ${build_alias} in
2376 "") build_noncanonical
=${build} ;;
2377 *) build_noncanonical
=${build_alias} ;;
2382 case ${host_alias} in
2383 "") host_noncanonical
=${build_noncanonical} ;;
2384 *) host_noncanonical
=${host_alias} ;;
2389 case ${target_alias} in
2390 "") target_noncanonical
=${host_noncanonical} ;;
2391 *) target_noncanonical
=${target_alias} ;;
2397 test "$host_noncanonical" = "$target_noncanonical" &&
2398 test "$program_prefix$program_suffix$program_transform_name" = \
2400 program_transform_name
=s
,y
,y
,
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2403 $as_echo_n "checking host system type... " >&6; }
2404 if ${ac_cv_host+:} false
; then :
2405 $as_echo_n "(cached) " >&6
2407 if test "x$host_alias" = x
; then
2408 ac_cv_host
=$ac_cv_build
2410 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2411 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2416 $as_echo "$ac_cv_host" >&6; }
2419 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2422 ac_save_IFS
=$IFS; IFS
='-'
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2432 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2436 $as_echo_n "checking target system type... " >&6; }
2437 if ${ac_cv_target+:} false
; then :
2438 $as_echo_n "(cached) " >&6
2440 if test "x$target_alias" = x
; then
2441 ac_cv_target
=$ac_cv_host
2443 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2444 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2449 $as_echo "$ac_cv_target" >&6; }
2450 case $ac_cv_target in
2452 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2454 target
=$ac_cv_target
2455 ac_save_IFS
=$IFS; IFS
='-'
2461 # Remember, the first character of IFS is used to create $*,
2462 # except with old shells:
2465 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2468 # The aliases save the names the user supplied, while $host etc.
2469 # will get canonicalized.
2470 test -n "$target_alias" &&
2471 test "$program_prefix$program_suffix$program_transform_name" = \
2473 program_prefix
=${target_alias}-
2475 test "$program_prefix" != NONE
&&
2476 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2477 # Use a double $ so make ignores it.
2478 test "$program_suffix" != NONE
&&
2479 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2480 # Double any \ or $.
2481 # By default was `s,x,x', remove it if useless.
2482 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2483 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2487 # Get 'install' or 'install-sh' and its variants.
2488 # Find a good install program. We prefer a C program (faster),
2489 # so one script is as good as another. But avoid the broken or
2490 # incompatible versions:
2491 # SysV /etc/install, /usr/sbin/install
2492 # SunOS /usr/etc/install
2493 # IRIX /sbin/install
2495 # AmigaOS /C/install, which installs bootblocks on floppy discs
2496 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499 # OS/2's system install, which has a completely different semantic
2500 # ./install, which can be erroneously created by make from ./install.sh.
2501 # Reject install programs that cannot install multiple files.
2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2504 if test -z "$INSTALL"; then
2505 if ${ac_cv_path_install+:} false
; then :
2506 $as_echo_n "(cached) " >&6
2508 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir
=.
2513 # Account for people who put trailing slashes in PATH elements.
2514 case $as_dir/ in #((
2515 .
/ | .
// |
/[cC
]/* | \
2516 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2517 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2520 # OSF1 and SCO ODT 3.0 have their own names for install.
2521 # Don't use installbsd from OSF since it installs stuff as root
2523 for ac_prog
in ginstall scoinst
install; do
2524 for ac_exec_ext
in '' $ac_executable_extensions; do
2525 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2526 if test $ac_prog = install &&
2527 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2528 # AIX install. It has an incompatible calling convention.
2530 elif test $ac_prog = install &&
2531 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2532 # program-specific install script used by HP pwplus--don't use.
2535 rm -rf conftest.one conftest.two conftest.dir
2536 echo one
> conftest.one
2537 echo two
> conftest.two
2539 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2540 test -s conftest.one
&& test -s conftest.two
&&
2541 test -s conftest.dir
/conftest.one
&&
2542 test -s conftest.dir
/conftest.two
2544 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2557 rm -rf conftest.one conftest.two conftest.dir
2560 if test "${ac_cv_path_install+set}" = set; then
2561 INSTALL
=$ac_cv_path_install
2563 # As a last resort, use the slow shell script. Don't cache a
2564 # value for INSTALL within a source directory, because that will
2565 # break other packages using the cache if that directory is
2566 # removed, or if the value is a relative name.
2567 INSTALL
=$ac_install_sh
2570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571 $as_echo "$INSTALL" >&6; }
2573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574 # It thinks the first close brace ends the variable substitution.
2575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2579 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2582 $as_echo_n "checking whether ln works... " >&6; }
2583 if ${acx_cv_prog_LN+:} false
; then :
2584 $as_echo_n "(cached) " >&6
2586 rm -f conftestdata_t
2587 echo >conftestdata_f
2588 if ln conftestdata_f conftestdata_t
2>/dev
/null
2594 rm -f conftestdata_f conftestdata_t
2597 if test $acx_cv_prog_LN = no
; then
2599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2600 $as_echo "no, using $LN" >&6; }
2602 LN
="$acx_cv_prog_LN"
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2604 $as_echo "yes" >&6; }
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2608 $as_echo_n "checking whether ln -s works... " >&6; }
2610 if test "$LN_S" = "ln -s"; then
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2612 $as_echo "yes" >&6; }
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2615 $as_echo "no, using $LN_S" >&6; }
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2619 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2620 if ${ac_cv_path_SED+:} false
; then :
2621 $as_echo_n "(cached) " >&6
2623 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2624 for ac_i
in 1 2 3 4 5 6 7; do
2625 ac_script
="$ac_script$as_nl$ac_script"
2627 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2628 { ac_script
=; unset ac_script
;}
2629 if test -z "$SED"; then
2630 ac_path_SED_found
=false
2631 # Loop through the user's path and test for each of PROGNAME-LIST
2632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir
=.
2637 for ac_prog
in sed gsed
; do
2638 for ac_exec_ext
in '' $ac_executable_extensions; do
2639 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2640 as_fn_executable_p
"$ac_path_SED" ||
continue
2641 # Check for GNU ac_path_SED and select it if it is found.
2642 # Check for GNU $ac_path_SED
2643 case `"$ac_path_SED" --version 2>&1` in
2645 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2648 $as_echo_n 0123456789 >"conftest.in"
2651 cat "conftest.in" "conftest.in" >"conftest.tmp"
2652 mv "conftest.tmp" "conftest.in"
2653 cp "conftest.in" "conftest.nl"
2654 $as_echo '' >> "conftest.nl"
2655 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2656 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2657 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2658 if test $ac_count -gt ${ac_path_SED_max-0}; then
2659 # Best one so far, save it but keep looking for a better one
2660 ac_cv_path_SED
="$ac_path_SED"
2661 ac_path_SED_max
=$ac_count
2663 # 10*(2^10) chars as input seems more than enough
2664 test $ac_count -gt 10 && break
2666 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2669 $ac_path_SED_found && break 3
2674 if test -z "$ac_cv_path_SED"; then
2675 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2683 $as_echo "$ac_cv_path_SED" >&6; }
2684 SED
="$ac_cv_path_SED"
2687 for ac_prog
in gawk mawk nawk
awk
2689 # Extract the first word of "$ac_prog", so it can be a program name with args.
2690 set dummy
$ac_prog; ac_word
=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if ${ac_cv_prog_AWK+:} false
; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$AWK"; then
2697 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2706 ac_cv_prog_AWK
="$ac_prog"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2717 if test -n "$AWK"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2719 $as_echo "$AWK" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2726 test -n "$AWK" && break
2730 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2732 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2734 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2735 INSTALL
="${srcpwd}/install-sh -c"
2738 # Set srcdir to "." if that's what it is.
2739 # This is important for multilib support.
2741 if test "${pwd}" = "${srcpwd}" ; then
2749 ### To add a new directory to the tree, first choose whether it is a target
2750 ### or a host dependent tool. Then put it into the appropriate list
2751 ### (library or tools, host or target), doing a dependency sort.
2753 # Subdirs will be configured in the order listed in build_configdirs,
2754 # configdirs, or target_configdirs; see the serialization section below.
2756 # Dependency sorting is only needed when *configuration* must be done in
2757 # a particular order. In all cases a dependency should be specified in
2758 # the Makefile, whether or not it's implicitly specified here.
2760 # Double entries in build_configdirs, configdirs, or target_configdirs may
2761 # cause circular dependencies and break everything horribly.
2763 # these library is used by various programs built for the build
2766 build_libs
="build-libiberty build-libcpp"
2768 # these tools are built for the build environment
2769 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2771 # these libraries are used by various programs built for the host environment
2773 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl libelf libiconv"
2775 # these tools are built for the host environment
2776 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2777 # know that we are building the simulator.
2778 # binutils, gas and ld appear in that order because it makes sense to run
2779 # "make check" in that particular order.
2780 # If --enable-gold is used, "gold" may replace "ld".
2781 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools libcc1 gotools"
2783 # these libraries are built for the target environment, and are built after
2784 # the host libraries and the host tools (which may be a cross compiler)
2785 # Note that libiberty is not a target library.
2786 target_libraries
="target-libgcc \
2787 target-libbacktrace \
2791 target-liboffloadmic \
2792 target-libhsail-rt \
2795 target-libstdc++-v3 \
2796 target-libsanitizer \
2799 target-libquadmath \
2800 target-libgfortran \
2806 # these tools are built using the target libraries, and are intended to
2807 # run only in the target environment
2809 # note: any program that *uses* libraries that are in the "target_libraries"
2810 # list belongs in this list.
2812 target_tools
="target-rda"
2814 ################################################################################
2816 ## All tools belong in one of the four categories, and are assigned above
2817 ## We assign ${configdirs} this way to remove all embedded newlines. This
2818 ## is important because configure will choke if they ever get through.
2819 ## ${configdirs} is directories we build using the host tools.
2820 ## ${target_configdirs} is directories we build using the target tools.
2821 configdirs
=`echo ${host_libs} ${host_tools}`
2822 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2823 build_configdirs
=`echo ${build_libs} ${build_tools}`
2827 ################################################################################
2829 srcname
="gnu development package"
2831 # This gets set non-empty for some net releases of packages.
2834 # Define is_cross_compiler to save on calls to 'test'.
2836 if test x
"${host}" = x
"${target}" ; then
2837 is_cross_compiler
=no
2839 is_cross_compiler
=yes
2842 # Find the build and target subdir names.
2844 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2845 # have matching libraries, they should use host libraries: Makefile.tpl
2846 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2847 # However, they still use the build modules, because the corresponding
2848 # host modules (e.g. bison) are only built for the host when bootstrap
2850 # - build_subdir is where we find build modules, and never changes.
2851 # - build_libsubdir is where we find build libraries, and can be overridden.
2853 # Prefix 'build-' so this never conflicts with target_subdir.
2854 build_subdir
="build-${build_noncanonical}"
2856 # Check whether --with-build-libsubdir was given.
2857 if test "${with_build_libsubdir+set}" = set; then :
2858 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2860 build_libsubdir
="$build_subdir"
2863 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2864 if ( test $srcdir = .
&& test -d gcc
) \
2865 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2866 host_subdir
="host-${host_noncanonical}"
2871 target_subdir
=${target_noncanonical}
2873 # Be sure to cover against remnants of an in-tree build.
2874 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2875 as_fn_error $?
"building out of tree but $srcdir contains host-${host_noncanonical}.
2876 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2879 # Skipdirs are removed silently.
2881 # Noconfigdirs are removed loudly.
2885 # Make sure we don't let GNU ld be added if we didn't want it.
2886 if test x
$with_gnu_ld = xno
; then
2888 noconfigdirs
="$noconfigdirs ld gold"
2892 # Make sure we don't let GNU as be added if we didn't want it.
2893 if test x
$with_gnu_as = xno
; then
2895 noconfigdirs
="$noconfigdirs gas"
2900 # Check whether --with-system-zlib was given.
2901 if test "${with_system_zlib+set}" = set; then :
2902 withval
=$with_system_zlib;
2905 # Make sure we don't let ZLIB be added if we didn't want it.
2906 if test x
$with_system_zlib = xyes
; then
2907 use_included_zlib
=no
2908 noconfigdirs
="$noconfigdirs zlib"
2911 # some tools are so dependent upon X11 that if we're not building with X,
2912 # it's not even worth trying to configure, much less build, that tool.
2915 yes |
"") ;; # the default value for this tree is that X11 is available
2917 skipdirs
="${skipdirs} tk itcl libgui"
2918 # We won't be able to build gdbtk without X.
2921 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2924 # Some are only suitable for cross toolchains.
2925 # Remove these if host=target.
2926 cross_only
="target-libgloss target-newlib target-opcodes"
2928 case $is_cross_compiler in
2929 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2932 # If both --with-headers and --with-libs are specified, default to
2934 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2935 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2936 if test x
"${with_newlib}" = x
; then
2941 # Recognize --with-newlib/--without-newlib.
2942 case ${with_newlib} in
2943 no
) skipdirs
="${skipdirs} target-newlib" ;;
2944 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2947 # Check whether --enable-as-accelerator-for was given.
2948 if test "${enable_as_accelerator_for+set}" = set; then :
2949 enableval
=$enable_as_accelerator_for;
2953 # Check whether --enable-offload-targets was given.
2954 if test "${enable_offload_targets+set}" = set; then :
2955 enableval
=$enable_offload_targets;
2956 if test x
"$enable_offload_targets" = x
; then
2957 as_fn_error $?
"no offload targets specified" "$LINENO" 5
2961 enable_offload_targets
=
2965 # Handle --enable-gold, --enable-ld.
2966 # --disable-gold [--enable-ld]
2967 # Build only ld. Default option.
2968 # --enable-gold [--enable-ld]
2969 # Build both gold and ld. Install gold as "ld.gold", install ld
2970 # as "ld.bfd" and "ld".
2971 # --enable-gold=default [--enable-ld]
2972 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2973 # install ld as "ld.bfd".
2974 # --enable-gold[=default] --disable-ld
2975 # Build only gold, which is then installed as both "ld.gold" and "ld".
2976 # --enable-gold --enable-ld=default
2977 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2979 # In other words, ld is default
2980 # --enable-gold=default --enable-ld=default
2984 # Check whether --enable-gold was given.
2985 if test "${enable_gold+set}" = set; then :
2986 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2991 case "${ENABLE_GOLD}" in
2993 # Check for ELF target.
2996 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2997 |
*-*-linux* |
*-*-gnu* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2998 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2999 |
*-*-solaris2* |
*-*-nto* |
*-*-nacl*)
3001 *-*-linux*aout
* |
*-*-linux*oldld
*)
3009 if test "$is_elf" = "yes"; then
3010 # Check for target supported by gold.
3012 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* \
3013 | aarch64
*-*-* | tilegx
*-*-* | mips
*-*-* | s390
*-*-*)
3014 configdirs
="$configdirs gold"
3015 if test x
${ENABLE_GOLD} = xdefault
; then
3026 as_fn_error $?
"invalid --enable-gold argument" "$LINENO" 5
3030 # Check whether --enable-ld was given.
3031 if test "${enable_ld+set}" = set; then :
3032 enableval
=$enable_ld; ENABLE_LD
=$enableval
3038 case "${ENABLE_LD}" in
3040 if test x
${default_ld} != x
; then
3041 as_fn_error $?
"either gold or ld can be the default ld" "$LINENO" 5
3047 if test x
${ENABLE_GOLD} != xyes
; then
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3049 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3051 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3054 as_fn_error $?
"invalid --enable-ld argument" "$LINENO" 5
3059 # Decide the default method for compressing debug sections.
3060 # Provide a configure time option to override our default.
3061 # Check whether --enable-compressed_debug_sections was given.
3062 if test "${enable_compressed_debug_sections+set}" = set; then :
3063 enableval
=$enable_compressed_debug_sections;
3064 if test x
"$enable_compressed_debug_sections" = xyes
; then
3065 as_fn_error $?
"no program with compressed debug sections specified" "$LINENO" 5
3069 enable_compressed_debug_sections
=
3073 # Configure extra directories which are host specific
3077 configdirs
="$configdirs libtermcap" ;;
3080 # A target can indicate whether a language isn't supported for some reason.
3081 # Only spaces may be used in this macro; not newlines or tabs.
3082 unsupported_languages
=
3084 # Remove more programs from consideration, based on the host or
3085 # target this usually means that a port of the program doesn't
3089 i
[3456789]86-*-msdosdjgpp*)
3090 noconfigdirs
="$noconfigdirs tcl tk itcl"
3095 # Check whether --enable-libquadmath was given.
3096 if test "${enable_libquadmath+set}" = set; then :
3097 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3099 ENABLE_LIBQUADMATH
=yes
3102 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3103 noconfigdirs
="$noconfigdirs target-libquadmath"
3107 # Check whether --enable-libquadmath-support was given.
3108 if test "${enable_libquadmath_support+set}" = set; then :
3109 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3111 ENABLE_LIBQUADMATH_SUPPORT
=yes
3114 enable_libquadmath_support
=
3115 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3116 enable_libquadmath_support
=no
3120 # Check whether --enable-libada was given.
3121 if test "${enable_libada+set}" = set; then :
3122 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3127 if test "${ENABLE_LIBADA}" != "yes" ; then
3128 noconfigdirs
="$noconfigdirs gnattools"
3131 # Check whether --enable-libssp was given.
3132 if test "${enable_libssp+set}" = set; then :
3133 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3139 # Check whether --enable-libstdcxx was given.
3140 if test "${enable_libstdcxx+set}" = set; then :
3141 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3143 ENABLE_LIBSTDCXX
=default
3146 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3147 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3150 # If this is accelerator compiler and its target is intelmic we enable
3151 # target liboffloadmic by default. If this is compiler with offloading
3152 # for intelmic we enable host liboffloadmic by default. Otherwise
3153 # liboffloadmic is disabled by default.
3154 # Check whether --enable-liboffloadmic was given.
3155 if test "${enable_liboffloadmic+set}" = set; then :
3156 enableval
=$enable_liboffloadmic; case "$enableval" in
3158 enable_liboffloadmic
=$enableval ;;
3160 as_fn_error $?
"--enable-liboffloadmic=no/host/target" "$LINENO" 5 ;;
3163 if test x
"$enable_as_accelerator_for" != x
; then
3165 *-intelmic-* |
*-intelmicemul-*)
3166 enable_liboffloadmic
=target
3167 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=target"
3170 enable_liboffloadmic
=no
3174 case "${enable_offload_targets}" in
3175 *-intelmic-* |
*-intelmicemul-*)
3176 enable_liboffloadmic
=host
3177 extra_liboffloadmic_configure_flags
="--enable-liboffloadmic=host"
3180 enable_liboffloadmic
=no
3188 # Enable libgomp by default on hosted POSIX systems, and a few others.
3189 if test x
$enable_libgomp = x
; then
3191 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3193 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3195 *-*-solaris2* |
*-*-hpux11*)
3197 *-*-darwin* |
*-*-aix*)
3202 noconfigdirs
="$noconfigdirs target-libgomp"
3207 # Disable libatomic on unsupported systems.
3208 if test -d ${srcdir}/libatomic
; then
3209 if test x
$enable_libatomic = x
; then
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3211 $as_echo_n "checking for libatomic support... " >&6; }
3212 if (srcdir
=${srcdir}/libatomic
; \
3213 .
${srcdir}/configure.tgt
; \
3214 test -n "$UNSUPPORTED")
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3217 $as_echo "no" >&6; }
3218 noconfigdirs
="$noconfigdirs target-libatomic"
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3221 $as_echo "yes" >&6; }
3226 # Disable liboffloadmic on unsupported systems.
3227 if test -d ${srcdir}/liboffloadmic
; then
3228 if test x
$enable_liboffloadmic != xno
; then
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for liboffloadmic support" >&5
3230 $as_echo_n "checking for liboffloadmic support... " >&6; }
3231 if (srcdir
=${srcdir}/liboffloadmic
; \
3232 .
${srcdir}/configure.tgt
; \
3233 test -n "$UNSUPPORTED")
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236 $as_echo "no" >&6; }
3237 noconfigdirs
="$noconfigdirs target-liboffloadmic"
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3240 $as_echo "yes" >&6; }
3245 # Disable libitm on unsupported systems.
3246 if test -d ${srcdir}/libitm
; then
3247 if test x
$enable_libitm = x
; then
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3249 $as_echo_n "checking for libitm support... " >&6; }
3250 if (srcdir
=${srcdir}/libitm
; \
3251 .
${srcdir}/configure.tgt
; \
3252 test -n "$UNSUPPORTED")
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3255 $as_echo "no" >&6; }
3256 noconfigdirs
="$noconfigdirs target-libitm"
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3259 $as_echo "yes" >&6; }
3264 # Disable libsanitizer on unsupported systems.
3265 if test -d ${srcdir}/libsanitizer
; then
3266 if test x
$enable_libsanitizer = x
; then
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsanitizer support" >&5
3268 $as_echo_n "checking for libsanitizer support... " >&6; }
3269 if (srcdir
=${srcdir}/libsanitizer
; \
3270 .
${srcdir}/configure.tgt
; \
3271 test -n "$UNSUPPORTED")
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3274 $as_echo "no" >&6; }
3275 noconfigdirs
="$noconfigdirs target-libsanitizer"
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3278 $as_echo "yes" >&6; }
3283 # Disable libvtv on unsupported systems.
3284 if test -d ${srcdir}/libvtv
; then
3285 if test x
$enable_libvtv = x
; then
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libvtv support" >&5
3287 $as_echo_n "checking for libvtv support... " >&6; }
3288 if (srcdir
=${srcdir}/libvtv
; \
3289 .
${srcdir}/configure.tgt
; \
3290 test "$VTV_SUPPORTED" != "yes")
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3293 $as_echo "no" >&6; }
3294 noconfigdirs
="$noconfigdirs target-libvtv"
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3303 # Disable libhsail-rt on unsupported systems.
3304 if test -d ${srcdir}/libhsail-rt
; then
3305 if test x
$enable_libhsail_rt = x
; then
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libhsail-rt support" >&5
3307 $as_echo_n "checking for libhsail-rt support... " >&6; }
3308 if (srcdir
=${srcdir}/libhsail-rt
; \
3309 .
${srcdir}/configure.tgt
; \
3310 test -n "$UNSUPPORTED")
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3313 $as_echo "no" >&6; }
3314 unsupported_languages
="$unsupported_languages brig"
3315 # This implicitly disables also target-libhsail-rt as it won't
3316 # get added to the build without BRIG FE.
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3319 $as_echo "yes" >&6; }
3325 # Disable libquadmath for some systems.
3328 noconfigdirs
="$noconfigdirs target-libquadmath"
3330 # libquadmath is unused on AIX and libquadmath build process use of
3331 # LD_LIBRARY_PATH can break AIX bootstrap.
3332 powerpc-
*-aix* | rs6000-
*-aix*)
3333 noconfigdirs
="$noconfigdirs target-libquadmath"
3337 # Disable libssp for some systems.
3340 # No hosted I/O support.
3341 noconfigdirs
="$noconfigdirs target-libssp"
3343 powerpc-
*-aix* | rs6000-
*-aix*)
3344 noconfigdirs
="$noconfigdirs target-libssp"
3347 # libssp uses a misaligned load to trigger a fault, but the RL78
3348 # doesn't fault for those - instead, it gives a build-time error
3349 # for explicit misaligned loads.
3350 noconfigdirs
="$noconfigdirs target-libssp"
3353 # No hosted I/O support.
3354 noconfigdirs
="$noconfigdirs target-libssp"
3358 # Disable libstdc++-v3 for some systems.
3359 # Allow user to override this if they pass --enable-libstdc++-v3
3360 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3363 # VxWorks uses the Dinkumware C++ library.
3364 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3367 # the C++ libraries don't build on top of CE's C libraries
3368 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3371 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3374 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3379 # Disable Fortran for some systems.
3382 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3383 unsupported_languages
="$unsupported_languages fortran"
3387 # Disable libffi for some systems.
3391 i
[3456789]86-*-darwin*)
3393 x86_64-
*-darwin[912]*)
3396 noconfigdirs
="$noconfigdirs target-libffi"
3399 noconfigdirs
="$noconfigdirs target-libffi"
3402 noconfigdirs
="$noconfigdirs target-libffi"
3405 noconfigdirs
="$noconfigdirs target-libffi"
3408 noconfigdirs
="$noconfigdirs target-libffi"
3411 noconfigdirs
="$noconfigdirs target-libffi"
3414 noconfigdirs
="$noconfigdirs target-libffi"
3416 aarch64
*-*-freebsd*)
3417 noconfigdirs
="$noconfigdirs target-libffi"
3420 noconfigdirs
="$noconfigdirs target-libffi"
3423 noconfigdirs
="$noconfigdirs target-libffi"
3426 noconfigdirs
="$noconfigdirs target-libffi"
3429 noconfigdirs
="$noconfigdirs target-libffi"
3431 cris-
*-* | crisv32-
*-*)
3435 *) # See PR46792 regarding target-libffi.
3436 noconfigdirs
="$noconfigdirs target-libffi";;
3440 noconfigdirs
="$noconfigdirs target-libffi"
3445 noconfigdirs
="$noconfigdirs target-libffi"
3448 noconfigdirs
="$noconfigdirs target-libffi"
3450 i
[3456789]86-w64-mingw*)
3451 noconfigdirs
="$noconfigdirs target-libffi"
3453 i
[3456789]86-*-mingw*)
3454 noconfigdirs
="$noconfigdirs target-libffi"
3457 noconfigdirs
="$noconfigdirs target-libffi"
3460 noconfigdirs
="$noconfigdirs target-libffi"
3467 noconfigdirs
="$noconfigdirs target-libffi"
3470 noconfigdirs
="$noconfigdirs target-libffi"
3474 # Disable the go frontend on systems where it is known to not work. Please keep
3475 # this in sync with contrib/config-list.mk.
3477 *-*-darwin* |
*-*-cygwin* |
*-*-mingw*)
3478 unsupported_languages
="$unsupported_languages go"
3482 # Disable libgo for some systems where it is known to not work.
3483 # For testing, you can easily override this with --enable-libgo.
3484 if test x
$enable_libgo = x
; then
3488 noconfigdirs
="$noconfigdirs target-libgo"
3490 *-*-cygwin* |
*-*-mingw*)
3491 noconfigdirs
="$noconfigdirs target-libgo"
3496 # Default libgloss CPU subdirectory.
3497 libgloss_dir
="$target_cpu"
3500 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3504 libgloss_dir
=aarch64
3509 cris-
*-* | crisv32-
*-*)
3518 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3519 libgloss_dir
=m68hc11
3521 m68
*-*-* | fido-
*-*)
3535 # Disable newlib and libgloss for various target OSes.
3538 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3540 i
[3456789]86-*-linux*)
3541 # This section makes it possible to build newlib natively on linux.
3542 # If we are using a cross compiler then don't configure newlib.
3543 if test x
${is_cross_compiler} != xno
; then
3544 noconfigdirs
="$noconfigdirs target-newlib"
3546 noconfigdirs
="$noconfigdirs target-libgloss"
3547 # If we are not using a cross compiler, do configure newlib.
3548 # Note however, that newlib will only be configured in this situation
3549 # if the --with-newlib option has been given, because otherwise
3550 # 'target-newlib' will appear in skipdirs.
3552 i
[3456789]86-*-rdos*)
3553 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3555 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3556 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3559 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3562 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3565 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3568 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3571 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3574 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3576 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3577 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3580 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3583 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3589 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3592 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3595 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3598 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3606 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3607 noconfigdirs
="$noconfigdirs sim target-rda"
3610 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3611 noconfigdirs
="$noconfigdirs sim target-rda"
3614 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3615 noconfigdirs
="$noconfigdirs sim target-rda"
3617 i
[3456789]86-*-darwin*)
3618 noconfigdirs
="$noconfigdirs ld gprof"
3619 noconfigdirs
="$noconfigdirs sim target-rda"
3621 x86_64-
*-darwin[912]*)
3622 noconfigdirs
="$noconfigdirs ld gas gprof"
3623 noconfigdirs
="$noconfigdirs sim target-rda"
3626 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3627 noconfigdirs
="$noconfigdirs sim target-rda"
3632 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3633 && test -f /usr
/local
/include
/gmp.h
; then
3638 # Remove unsupported stuff on all kaOS configurations.
3639 noconfigdirs
="$noconfigdirs target-libgloss"
3646 noconfigdirs
="$noconfigdirs target-libgloss"
3649 noconfigdirs
="$noconfigdirs target-libgloss"
3651 # The tpf target doesn't support gdb yet.
3653 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3656 noconfigdirs
="$noconfigdirs target-rda"
3661 # ld works, but does not support shared libraries.
3662 # gas doesn't generate exception information.
3663 noconfigdirs
="$noconfigdirs gas ld"
3666 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3669 # newlib is not 64 bit ready
3670 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3672 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3673 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3676 noconfigdirs
="$noconfigdirs sim"
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3682 noconfigdirs
="$noconfigdirs ld target-libgloss"
3685 if test x
${with_avrlibc} != xno
; then
3686 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3689 c4x-
*-* | tic4x-
*-*)
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3693 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3696 noconfigdirs
="$noconfigdirs target-libgloss"
3699 noconfigdirs
="$noconfigdirs gdb"
3702 noconfigdirs
="$noconfigdirs gdb"
3705 noconfigdirs
="$noconfigdirs target-rda gprof"
3708 noconfigdirs
="$noconfigdirs"
3711 noconfigdirs
="$noconfigdirs target-libgloss"
3714 noconfigdirs
="$noconfigdirs target-libgloss"
3716 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3719 noconfigdirs
="$noconfigdirs gdb"
3722 noconfigdirs
="$noconfigdirs gdb ld"
3730 hppa
*-*-openbsd* | \
3736 noconfigdirs
="$noconfigdirs ld"
3739 noconfigdirs
="$noconfigdirs gdb"
3742 # No gdb support yet.
3743 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3746 # No ld support yet.
3747 noconfigdirs
="$noconfigdirs gdb libgui itcl ld"
3750 # No ld support yet.
3751 noconfigdirs
="$noconfigdirs libgui itcl ld"
3753 i
[3456789]86-w64-mingw*)
3755 i
[3456789]86-*-mingw*)
3756 target_configdirs
="$target_configdirs target-winsup"
3759 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3760 noconfigdirs
="$noconfigdirs target-libgloss"
3761 # always build newlib if winsup directory is present.
3762 if test -d "$srcdir/winsup/cygwin"; then
3763 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3764 elif test -d "$srcdir/newlib"; then
3765 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3769 noconfigdirs
="$noconfigdirs target-libgloss"
3771 i
[3456789]86-*-sco3.2v5
*)
3772 # The linker does not yet know about weak symbols in COFF,
3773 # and is not configured to handle mixed ELF and COFF.
3774 noconfigdirs
="$noconfigdirs ld target-libgloss"
3776 i
[3456789]86-*-sco*)
3777 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3779 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3780 noconfigdirs
="$noconfigdirs target-libgloss"
3782 i
[3456789]86-*-sysv4*)
3783 noconfigdirs
="$noconfigdirs target-libgloss"
3785 i
[3456789]86-*-beos*)
3786 noconfigdirs
="$noconfigdirs gdb"
3788 i
[3456789]86-*-rdos*)
3789 noconfigdirs
="$noconfigdirs gdb"
3792 noconfigdirs
="$noconfigdirs gdb"
3795 noconfigdirs
="$noconfigdirs sim"
3798 noconfigdirs
="$noconfigdirs ld gas gdb gprof sim"
3799 noconfigdirs
="$noconfigdirs $target_libraries"
3802 # copied from rs6000-*-* entry
3803 noconfigdirs
="$noconfigdirs gprof"
3805 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3806 target_configdirs
="$target_configdirs target-winsup"
3807 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3808 # always build newlib.
3809 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3811 # This is temporary until we can link against shared libraries
3812 powerpcle-
*-solaris*)
3813 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3816 noconfigdirs
="$noconfigdirs gdb"
3819 noconfigdirs
="$noconfigdirs gprof"
3822 noconfigdirs
="$noconfigdirs gprof"
3825 noconfigdirs
="$noconfigdirs gprof"
3828 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3831 noconfigdirs
="$noconfigdirs gprof"
3833 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
3834 if test x
$with_newlib = xyes
; then
3835 noconfigdirs
="$noconfigdirs gprof"
3839 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3842 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3845 noconfigdirs
="$noconfigdirs ld gas gprof target-libgloss"
3849 mips
*-*-ultrix* | mips
*-*-osf* | mips
*-*-ecoff* | mips
*-*-pe* \
3850 | mips
*-*-irix* | mips
*-*-lnews* | mips
*-*-riscos*)
3851 noconfigdirs
="$noconfigdirs ld gas gprof"
3854 noconfigdirs
="$noconfigdirs gprof"
3857 noconfigdirs
="$noconfigdirs target-libssp target-libstdc++-v3 target-libobjc"
3864 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3868 if test x
${is_cross_compiler} = xno
; then
3873 noconfigdirs
="$noconfigdirs sim"
3875 tilepro
*-*-* | tilegx
*-*-*)
3876 noconfigdirs
="$noconfigdirs sim"
3879 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3882 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3885 noconfigdirs
="$noconfigdirs ld"
3889 # If we aren't building newlib, then don't build libgloss, since libgloss
3890 # depends upon some newlib header files.
3891 case "${noconfigdirs}" in
3892 *target-libgloss
*) ;;
3893 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3896 # Work in distributions that contain no compiler tools, like Autoconf.
3897 host_makefile_frag
=/dev
/null
3898 if test -d ${srcdir}/config
; then
3900 i
[3456789]86-*-msdosdjgpp*)
3901 host_makefile_frag
="config/mh-djgpp"
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3906 $as_echo_n "checking to see if cat works as expected... " >&6; }
3907 echo a
>cygwin-cat-check
3908 if test `cat cygwin-cat-check` = a
; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3911 $as_echo "yes" >&6; }
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3915 $as_echo "no" >&6; }
3916 as_fn_error $?
"The cat command does not ignore carriage return characters.
3917 Please either mount the build directory in binary mode or run the following
3918 commands before running any configure script:
3924 host_makefile_frag
="config/mh-cygwin"
3927 host_makefile_frag
="config/mh-mingw"
3930 host_makefile_frag
="config/mh-alpha-linux"
3933 host_makefile_frag
="config/mh-pa-hpux10"
3936 host_makefile_frag
="config/mh-pa"
3939 host_makefile_frag
="config/mh-pa"
3942 host_makefile_frag
="config/mh-darwin"
3945 host_makefile_frag
="config/mh-ppc-aix"
3948 host_makefile_frag
="config/mh-ppc-aix"
3953 if test "${build}" != "${host}" ; then
3954 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3955 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3956 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3957 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3958 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3959 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3960 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3961 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3962 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3963 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3964 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3965 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3967 AR_FOR_BUILD
="\$(AR)"
3968 AS_FOR_BUILD
="\$(AS)"
3969 CC_FOR_BUILD
="\$(CC)"
3970 CXX_FOR_BUILD
="\$(CXX)"
3971 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3972 GOC_FOR_BUILD
="\$(GOC)"
3973 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3974 LD_FOR_BUILD
="\$(LD)"
3975 NM_FOR_BUILD
="\$(NM)"
3976 RANLIB_FOR_BUILD
="\$(RANLIB)"
3977 WINDRES_FOR_BUILD
="\$(WINDRES)"
3978 WINDMC_FOR_BUILD
="\$(WINDMC)"
3982 ac_cpp
='$CPP $CPPFLAGS'
3983 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3984 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3985 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3986 if test -n "$ac_tool_prefix"; then
3987 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3988 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_prog_CC+:} false
; then :
3992 $as_echo_n "(cached) " >&6
3994 if test -n "$CC"; then
3995 ac_cv_prog_CC
="$CC" # Let the user override the test.
3997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4001 test -z "$as_dir" && as_dir
=.
4002 for ac_exec_ext
in '' $ac_executable_extensions; do
4003 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4004 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
4005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4015 if test -n "$CC"; then
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4017 $as_echo "$CC" >&6; }
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4025 if test -z "$ac_cv_prog_CC"; then
4027 # Extract the first word of "gcc", so it can be a program name with args.
4028 set dummy gcc
; ac_word
=$2
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030 $as_echo_n "checking for $ac_word... " >&6; }
4031 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4032 $as_echo_n "(cached) " >&6
4034 if test -n "$ac_ct_CC"; then
4035 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4041 test -z "$as_dir" && as_dir
=.
4042 for ac_exec_ext
in '' $ac_executable_extensions; do
4043 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4044 ac_cv_prog_ac_ct_CC
="gcc"
4045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4055 if test -n "$ac_ct_CC"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4057 $as_echo "$ac_ct_CC" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4063 if test "x$ac_ct_CC" = x
; then
4066 case $cross_compiling:$ac_tool_warned in
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4069 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4070 ac_tool_warned
=yes ;;
4078 if test -z "$CC"; then
4079 if test -n "$ac_tool_prefix"; then
4080 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4081 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC
="$CC" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4119 if test -z "$CC"; then
4120 # Extract the first word of "cc", so it can be a program name with args.
4121 set dummy cc
; ac_word
=$2
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4123 $as_echo_n "checking for $ac_word... " >&6; }
4124 if ${ac_cv_prog_CC+:} false
; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -n "$CC"; then
4128 ac_cv_prog_CC
="$CC" # Let the user override the test.
4131 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4135 test -z "$as_dir" && as_dir
=.
4136 for ac_exec_ext
in '' $ac_executable_extensions; do
4137 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4138 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4139 ac_prog_rejected
=yes
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 if test $ac_prog_rejected = yes; then
4151 # We found a bogon in the path, so make sure we never use it.
4152 set dummy
$ac_cv_prog_CC
4154 if test $# != 0; then
4155 # We chose a different compiler from the bogus one.
4156 # However, it has the same basename, so the bogon will be chosen
4157 # first if we set CC to just the basename; use the full file name.
4159 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4165 if test -n "$CC"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4167 $as_echo "$CC" >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4175 if test -z "$CC"; then
4176 if test -n "$ac_tool_prefix"; then
4177 for ac_prog
in cl.exe
4179 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4180 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182 $as_echo_n "checking for $ac_word... " >&6; }
4183 if ${ac_cv_prog_CC+:} false
; then :
4184 $as_echo_n "(cached) " >&6
4186 if test -n "$CC"; then
4187 ac_cv_prog_CC
="$CC" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4196 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4207 if test -n "$CC"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4209 $as_echo "$CC" >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4216 test -n "$CC" && break
4219 if test -z "$CC"; then
4221 for ac_prog
in cl.exe
4223 # Extract the first word of "$ac_prog", so it can be a program name with args.
4224 set dummy
$ac_prog; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$ac_ct_CC"; then
4231 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4240 ac_cv_prog_ac_ct_CC
="$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4251 if test -n "$ac_ct_CC"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4253 $as_echo "$ac_ct_CC" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$ac_ct_CC" && break
4263 if test "x$ac_ct_CC" = x
; then
4266 case $cross_compiling:$ac_tool_warned in
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4269 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4270 ac_tool_warned
=yes ;;
4279 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $?
"no acceptable C compiler found in \$PATH
4282 See \`config.log' for more details" "$LINENO" 5; }
4284 # Provide some information about the compiler.
4285 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4288 for ac_option
in --version -v -V -qversion; do
4289 { { ac_try
="$ac_compiler $ac_option >&5"
4291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4294 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4295 $as_echo "$ac_try_echo"; } >&5
4296 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4298 if test -s conftest.err; then
4300 ... rest of stderr output deleted ...
4301 10q' conftest.err >conftest.er1
4302 cat conftest.er1 >&5
4304 rm -f conftest.er1 conftest.err
4305 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4306 test $ac_status = 0; }
4309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4310 /* end confdefs.h. */
4320 ac_clean_files_save=$ac_clean_files
4321 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4322 # Try to create an executable without -o first, disregard a.out.
4323 # It will help us diagnose broken compilers, and finding out an intuition
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4326 $as_echo_n "checking whether the C compiler works... " >&6; }
4327 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4329 # The possible output files:
4330 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4333 for ac_file in $ac_files
4336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4337 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4342 if { { ac_try="$ac_link_default"
4344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4345 *) ac_try_echo
=$ac_try;;
4347 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4348 $as_echo "$ac_try_echo"; } >&5
4349 (eval "$ac_link_default") 2>&5
4351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4352 test $ac_status = 0; }; then :
4353 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4354 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4355 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4356 # so that the user can short-circuit this test for compilers unknown to
4358 for ac_file
in $ac_files ''
4360 test -f "$ac_file" ||
continue
4362 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4365 # We found the default executable, but exeext='' is most
4369 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4371 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4373 # We set ac_cv_exeext here because the later test for it is not
4374 # safe: cross compilers may not add the suffix if given an `-o'
4375 # argument, so we may need to know it at that point already.
4376 # Even if this section looks crufty: it has the advantage of
4383 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4388 if test -z "$ac_file"; then :
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 $as_echo "$as_me: failed program was:" >&5
4392 sed 's/^/| /' conftest.
$ac_ext >&5
4394 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4395 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4396 as_fn_error
77 "C compiler cannot create executables
4397 See \`config.log' for more details" "$LINENO" 5; }
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4400 $as_echo "yes" >&6; }
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4403 $as_echo_n "checking for C compiler default output file name... " >&6; }
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4405 $as_echo "$ac_file" >&6; }
4406 ac_exeext
=$ac_cv_exeext
4408 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4409 ac_clean_files
=$ac_clean_files_save
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4411 $as_echo_n "checking for suffix of executables... " >&6; }
4412 if { { ac_try
="$ac_link"
4414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4415 *) ac_try_echo=$ac_try;;
4417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4418 $as_echo "$ac_try_echo"; } >&5
4419 (eval "$ac_link") 2>&5
4421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4422 test $ac_status = 0; }; then :
4423 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4424 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4425 # work properly (i.e., refer to `conftest.exe'), while it won't with
4427 for ac_file
in conftest.exe conftest conftest.
*; do
4428 test -f "$ac_file" ||
continue
4430 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4431 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4440 See \`config.log' for more details" "$LINENO" 5; }
4442 rm -f conftest conftest
$ac_cv_exeext
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4444 $as_echo "$ac_cv_exeext" >&6; }
4446 rm -f conftest.
$ac_ext
4447 EXEEXT
=$ac_cv_exeext
4449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4450 /* end confdefs.h. */
4455 FILE *f = fopen ("conftest.out", "w");
4456 return ferror (f) || fclose (f) != 0;
4462 ac_clean_files
="$ac_clean_files conftest.out"
4463 # Check that the compiler produces executables we can run. If not, either
4464 # the compiler is broken, or we cross compile.
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4466 $as_echo_n "checking whether we are cross compiling... " >&6; }
4467 if test "$cross_compiling" != yes; then
4468 { { ac_try
="$ac_link"
4470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_link") 2>&5
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 if { ac_try='./conftest$ac_cv_exeext'
4480 { { case "(($ac_try" in
4481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4482 *) ac_try_echo
=$ac_try;;
4484 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_try") 2>&5
4488 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4489 test $ac_status = 0; }; }; then
4492 if test "$cross_compiling" = maybe
; then
4495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4497 as_fn_error $?
"cannot run C compiled programs.
4498 If you meant to cross compile, use \`--host'.
4499 See \`config.log' for more details" "$LINENO" 5; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4504 $as_echo "$cross_compiling" >&6; }
4506 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4507 ac_clean_files
=$ac_clean_files_save
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4509 $as_echo_n "checking for suffix of object files... " >&6; }
4510 if ${ac_cv_objext+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4524 rm -f conftest.o conftest.obj
4525 if { { ac_try
="$ac_compile"
4527 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4528 *) ac_try_echo=$ac_try;;
4530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4531 $as_echo "$ac_try_echo"; } >&5
4532 (eval "$ac_compile") 2>&5
4534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4535 test $ac_status = 0; }; then :
4536 for ac_file in conftest.o conftest.obj conftest.*; do
4537 test -f "$ac_file" || continue;
4539 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4540 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4545 $as_echo "$as_me: failed program was:" >&5
4546 sed 's/^/| /' conftest.$ac_ext >&5
4548 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4550 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4551 See \
`config.log' for more details" "$LINENO" 5; }
4553 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4556 $as_echo "$ac_cv_objext" >&6; }
4557 OBJEXT=$ac_cv_objext
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4560 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4561 if ${ac_cv_c_compiler_gnu+:} false; then :
4562 $as_echo_n "(cached) " >&6
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4578 if ac_fn_c_try_compile "$LINENO"; then :
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4588 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4589 if test $ac_compiler_gnu = yes; then
4594 ac_test_CFLAGS=${CFLAGS+set}
4595 ac_save_CFLAGS=$CFLAGS
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4597 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4598 if ${ac_cv_prog_cc_g+:} false; then :
4599 $as_echo_n "(cached) " >&6
4601 ac_save_c_werror_flag=$ac_c_werror_flag
4602 ac_c_werror_flag=yes
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4616 if ac_fn_c_try_compile "$LINENO"; then :
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4631 if ac_fn_c_try_compile "$LINENO"; then :
4634 ac_c_werror_flag=$ac_save_c_werror_flag
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4647 if ac_fn_c_try_compile "$LINENO"; then :
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_c_werror_flag=$ac_save_c_werror_flag
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4658 $as_echo "$ac_cv_prog_cc_g" >&6; }
4659 if test "$ac_test_CFLAGS" = set; then
4660 CFLAGS=$ac_save_CFLAGS
4661 elif test $ac_cv_prog_cc_g = yes; then
4662 if test "$GCC" = yes; then
4668 if test "$GCC" = yes; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4675 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4676 if ${ac_cv_prog_cc_c89+:} false; then :
4677 $as_echo_n "(cached) " >&6
4679 ac_cv_prog_cc_c89=no
4681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4682 /* end confdefs.h. */
4686 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4687 struct buf { int x; };
4688 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4689 static char *e (p, i)
4695 static char *f (char * (*g) (char **, int), char **p, ...)
4700 s = g (p, va_arg (v,int));
4705 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4706 function prototypes and stuff, but not '\xHH' hex character constants.
4707 These don't provoke an error unfortunately, instead are silently treated
4708 as 'x'. The following induces an error, until -std is added to get
4709 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4710 array size at least. It's necessary to write '\x00'==0 to get something
4711 that's true only with -std. */
4712 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4714 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4715 inside strings and character constants. */
4717 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4719 int test (int i, double x);
4720 struct s1 {int (*f) (int a);};
4721 struct s2 {int (*f) (double a);};
4722 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4728 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4733 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4734 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4736 CC="$ac_save_CC $ac_arg"
4737 if ac_fn_c_try_compile "$LINENO"; then :
4738 ac_cv_prog_cc_c89=$ac_arg
4740 rm -f core conftest.err conftest.$ac_objext
4741 test "x$ac_cv_prog_cc_c89" != "xno" && break
4743 rm -f conftest.$ac_ext
4748 case "x$ac_cv_prog_cc_c89" in
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4751 $as_echo "none needed" >&6; } ;;
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4754 $as_echo "unsupported" >&6; } ;;
4756 CC="$CC $ac_cv_prog_cc_c89"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4758 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4760 if test "x$ac_cv_prog_cc_c89" != xno; then :
4765 ac_cpp='$CPP $CPPFLAGS'
4766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4771 ac_cpp='$CXXCPP $CPPFLAGS'
4772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4775 if test -z "$CXX"; then
4776 if test -n "$CCC"; then
4779 if test -n "$ac_tool_prefix"; then
4780 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4782 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4783 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4785 $as_echo_n "checking for $ac_word... " >&6; }
4786 if ${ac_cv_prog_CXX+:} false; then :
4787 $as_echo_n "(cached) " >&6
4789 if test -n "$CXX"; then
4790 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 test -z "$as_dir" && as_dir=.
4797 for ac_exec_ext in '' $ac_executable_extensions; do
4798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4799 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 if test -n "$CXX"; then
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4812 $as_echo "$CXX" >&6; }
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4815 $as_echo "no" >&6; }
4819 test -n "$CXX" && break
4822 if test -z "$CXX"; then
4824 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy $ac_prog; ac_word=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$ac_ct_CXX"; then
4834 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir=.
4841 for ac_exec_ext in '' $ac_executable_extensions; do
4842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4843 ac_cv_prog_ac_ct_CXX="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4854 if test -n "$ac_ct_CXX"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4856 $as_echo "$ac_ct_CXX" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$ac_ct_CXX" && break
4866 if test "x$ac_ct_CXX" = x; then
4869 case $cross_compiling:$ac_tool_warned in
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4873 ac_tool_warned=yes ;;
4881 # Provide some information about the compiler.
4882 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4885 for ac_option in --version -v -V -qversion; do
4886 { { ac_try="$ac_compiler $ac_option >&5"
4888 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4889 *) ac_try_echo
=$ac_try;;
4891 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4892 $as_echo "$ac_try_echo"; } >&5
4893 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4895 if test -s conftest.err
; then
4897 ... rest of stderr output deleted ...
4898 10q' conftest.err
>conftest.er1
4899 cat conftest.er1
>&5
4901 rm -f conftest.er1 conftest.err
4902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4903 test $ac_status = 0; }
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4907 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4908 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4909 $as_echo_n "(cached) " >&6
4911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4912 /* end confdefs.h. */
4925 if ac_fn_cxx_try_compile
"$LINENO"; then :
4930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4931 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4935 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4936 if test $ac_compiler_gnu = yes; then
4941 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4942 ac_save_CXXFLAGS
=$CXXFLAGS
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4944 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4945 if ${ac_cv_prog_cxx_g+:} false
; then :
4946 $as_echo_n "(cached) " >&6
4948 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4949 ac_cxx_werror_flag
=yes
4952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4953 /* end confdefs.h. */
4963 if ac_fn_cxx_try_compile
"$LINENO"; then :
4964 ac_cv_prog_cxx_g
=yes
4967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4968 /* end confdefs.h. */
4978 if ac_fn_cxx_try_compile
"$LINENO"; then :
4981 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4994 if ac_fn_cxx_try_compile
"$LINENO"; then :
4995 ac_cv_prog_cxx_g
=yes
4997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5002 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5005 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5006 if test "$ac_test_CXXFLAGS" = set; then
5007 CXXFLAGS
=$ac_save_CXXFLAGS
5008 elif test $ac_cv_prog_cxx_g = yes; then
5009 if test "$GXX" = yes; then
5015 if test "$GXX" = yes; then
5022 ac_cpp
='$CPP $CPPFLAGS'
5023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5028 # We must set the default linker to the linker used by gcc for the correct
5029 # operation of libtool. If LD is not defined and we are using gcc, try to
5030 # set the LD default to the ld used by gcc.
5031 if test -z "$LD"; then
5032 if test "$GCC" = yes; then
5035 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
5037 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
5039 case $gcc_prog_ld in
5040 # Accept absolute paths.
5041 [\\/]* |
[A-Za-z
]:[\\/]*)
5042 LD
="$gcc_prog_ld" ;;
5047 # Check whether -static-libstdc++ -static-libgcc is supported.
5049 if test "$GCC" = yes; then
5050 saved_LDFLAGS
="$LDFLAGS"
5052 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
5054 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
5056 ac_cpp
='$CXXCPP $CPPFLAGS'
5057 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5058 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5059 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5063 /* end confdefs.h. */
5065 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
5066 #error -static-libstdc++ not implemented
5070 if ac_fn_cxx_try_link
"$LINENO"; then :
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5072 $as_echo "yes" >&6; }; have_static_libs
=yes
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5077 rm -f core conftest.err conftest.
$ac_objext \
5078 conftest
$ac_exeext conftest.
$ac_ext
5080 ac_cpp
='$CPP $CPPFLAGS'
5081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5086 LDFLAGS
="$saved_LDFLAGS"
5092 if test -n "$ac_tool_prefix"; then
5093 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
5094 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5096 $as_echo_n "checking for $ac_word... " >&6; }
5097 if ${ac_cv_prog_GNATBIND+:} false
; then :
5098 $as_echo_n "(cached) " >&6
5100 if test -n "$GNATBIND"; then
5101 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5110 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
5111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 GNATBIND
=$ac_cv_prog_GNATBIND
5121 if test -n "$GNATBIND"; then
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
5123 $as_echo "$GNATBIND" >&6; }
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5131 if test -z "$ac_cv_prog_GNATBIND"; then
5132 ac_ct_GNATBIND
=$GNATBIND
5133 # Extract the first word of "gnatbind", so it can be a program name with args.
5134 set dummy gnatbind
; ac_word
=$2
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5136 $as_echo_n "checking for $ac_word... " >&6; }
5137 if ${ac_cv_prog_ac_ct_GNATBIND+:} false
; then :
5138 $as_echo_n "(cached) " >&6
5140 if test -n "$ac_ct_GNATBIND"; then
5141 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5143 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5147 test -z "$as_dir" && as_dir
=.
5148 for ac_exec_ext
in '' $ac_executable_extensions; do
5149 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5150 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5151 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5161 if test -n "$ac_ct_GNATBIND"; then
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5163 $as_echo "$ac_ct_GNATBIND" >&6; }
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5166 $as_echo "no" >&6; }
5169 if test "x$ac_ct_GNATBIND" = x
; then
5172 case $cross_compiling:$ac_tool_warned in
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5176 ac_tool_warned
=yes ;;
5178 GNATBIND
=$ac_ct_GNATBIND
5181 GNATBIND
="$ac_cv_prog_GNATBIND"
5184 if test -n "$ac_tool_prefix"; then
5185 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5186 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if ${ac_cv_prog_GNATMAKE+:} false
; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$GNATMAKE"; then
5193 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5202 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 GNATMAKE
=$ac_cv_prog_GNATMAKE
5213 if test -n "$GNATMAKE"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5215 $as_echo "$GNATMAKE" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5223 if test -z "$ac_cv_prog_GNATMAKE"; then
5224 ac_ct_GNATMAKE
=$GNATMAKE
5225 # Extract the first word of "gnatmake", so it can be a program name with args.
5226 set dummy gnatmake
; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if ${ac_cv_prog_ac_ct_GNATMAKE+:} false
; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$ac_ct_GNATMAKE"; then
5233 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5253 if test -n "$ac_ct_GNATMAKE"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5255 $as_echo "$ac_ct_GNATMAKE" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5261 if test "x$ac_ct_GNATMAKE" = x
; then
5264 case $cross_compiling:$ac_tool_warned in
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5267 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5268 ac_tool_warned
=yes ;;
5270 GNATMAKE
=$ac_ct_GNATMAKE
5273 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5277 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5278 if ${acx_cv_cc_gcc_supports_ada+:} false
; then :
5279 $as_echo_n "(cached) " >&6
5281 cat >conftest.adb
<<EOF
5282 procedure conftest is begin null; end conftest;
5284 acx_cv_cc_gcc_supports_ada
=no
5285 # There is a bug in old released versions of GCC which causes the
5286 # driver to exit successfully when the appropriate language module
5287 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5288 # Therefore we must check for the error message as well as an
5289 # unsuccessful exit.
5290 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5291 # given a .adb file, but produce no object file. So we must check
5292 # if an object file was really produced to guard against this.
5293 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5294 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5295 acx_cv_cc_gcc_supports_ada
=yes
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5300 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5302 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5309 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5310 if ${gcc_cv_prog_cmp_skip+:} false
; then :
5311 $as_echo_n "(cached) " >&6
5315 gcc_cv_prog_cmp_skip
='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5316 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5317 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5320 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5323 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5324 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5327 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5334 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5335 do_compare
="$gcc_cv_prog_cmp_skip"
5339 # Check whether --enable-bootstrap was given.
5340 if test "${enable_bootstrap+set}" = set; then :
5341 enableval
=$enable_bootstrap;
5343 enable_bootstrap
=default
5347 # Issue errors and warnings for invalid/strange bootstrap combinations.
5348 if test -r $srcdir/gcc
/configure
; then
5354 case "$have_compiler:$host:$target:$enable_bootstrap" in
5357 # Default behavior. Enable bootstrap if we have a compiler
5358 # and we are in a native configuration.
5359 yes:$build:$build:default
)
5360 enable_bootstrap
=yes ;;
5363 enable_bootstrap
=no
;;
5365 # We have a compiler and we are in a native configuration, bootstrap is ok
5366 yes:$build:$build:yes)
5369 # Other configurations, but we have a compiler. Assume the user knows
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5373 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5376 # No compiler: if they passed --enable-bootstrap explicitly, fail
5378 as_fn_error $?
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5380 # Fail if wrong command line
5382 as_fn_error $?
"invalid option for --enable-bootstrap" "$LINENO" 5
5386 # When bootstrapping with GCC, build stage 1 in C++98 mode to ensure that a
5387 # C++98 compiler can still start the bootstrap.
5388 if test "$enable_bootstrap:$GXX" = "yes:yes"; then
5389 CXX
="$CXX -std=gnu++98"
5392 # Used for setting $lt_cv_objdir
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5394 $as_echo_n "checking for objdir... " >&6; }
5395 if ${lt_cv_objdir+:} false
; then :
5396 $as_echo_n "(cached) " >&6
5398 rm -f .libs
2>/dev
/null
5399 mkdir .libs
2>/dev
/null
5400 if test -d .libs
; then
5403 # MS-DOS does not allow filenames that begin with a dot.
5406 rmdir .libs
2>/dev
/null
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5409 $as_echo "$lt_cv_objdir" >&6; }
5410 objdir
=$lt_cv_objdir
5416 cat >>confdefs.h
<<_ACEOF
5417 #define LT_OBJDIR "$lt_cv_objdir/"
5422 # Check for GMP, MPFR and MPC
5423 gmplibs
="-lmpc -lmpfr -lgmp"
5427 # Specify a location for mpc
5428 # check for this first so it ends up on the link line before mpfr.
5430 # Check whether --with-mpc was given.
5431 if test "${with_mpc+set}" = set; then :
5436 # Check whether --with-mpc-include was given.
5437 if test "${with_mpc_include+set}" = set; then :
5438 withval
=$with_mpc_include;
5442 # Check whether --with-mpc-lib was given.
5443 if test "${with_mpc_lib+set}" = set; then :
5444 withval
=$with_mpc_lib;
5448 if test "x$with_mpc" != x
; then
5449 gmplibs
="-L$with_mpc/lib $gmplibs"
5450 gmpinc
="-I$with_mpc/include $gmpinc"
5452 if test "x$with_mpc_include" != x
; then
5453 gmpinc
="-I$with_mpc_include $gmpinc"
5455 if test "x$with_mpc_lib" != x
; then
5456 gmplibs
="-L$with_mpc_lib $gmplibs"
5458 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5459 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5460 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5461 # Do not test the mpc version. Assume that it is sufficient, since
5462 # it is in the source tree, and the library has not been built yet
5463 # but it would be included on the link line in the version check below
5464 # hence making the test fail.
5468 # Specify a location for mpfr
5469 # check for this first so it ends up on the link line before gmp.
5471 # Check whether --with-mpfr-dir was given.
5472 if test "${with_mpfr_dir+set}" = set; then :
5473 withval
=$with_mpfr_dir; as_fn_error $?
"The --with-mpfr-dir=PATH option has been removed.
5474 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5479 # Check whether --with-mpfr was given.
5480 if test "${with_mpfr+set}" = set; then :
5485 # Check whether --with-mpfr-include was given.
5486 if test "${with_mpfr_include+set}" = set; then :
5487 withval
=$with_mpfr_include;
5491 # Check whether --with-mpfr-lib was given.
5492 if test "${with_mpfr_lib+set}" = set; then :
5493 withval
=$with_mpfr_lib;
5497 if test "x$with_mpfr" != x
; then
5498 gmplibs
="-L$with_mpfr/lib $gmplibs"
5499 gmpinc
="-I$with_mpfr/include $gmpinc"
5501 if test "x$with_mpfr_include" != x
; then
5502 gmpinc
="-I$with_mpfr_include $gmpinc"
5504 if test "x$with_mpfr_lib" != x
; then
5505 gmplibs
="-L$with_mpfr_lib $gmplibs"
5507 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5508 # MPFR v3.1.0 moved the sources into a src sub-directory.
5509 if ! test -d ${srcdir}/mpfr
/src
; then
5510 as_fn_error $?
"Building GCC with MPFR in the source tree is only handled for MPFR 3.1.0+." "$LINENO" 5
5512 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5513 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5514 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5515 # Do not test the mpfr version. Assume that it is sufficient, since
5516 # it is in the source tree, and the library has not been built yet
5517 # but it would be included on the link line in the version check below
5518 # hence making the test fail.
5522 # Specify a location for gmp
5524 # Check whether --with-gmp-dir was given.
5525 if test "${with_gmp_dir+set}" = set; then :
5526 withval
=$with_gmp_dir; as_fn_error $?
"The --with-gmp-dir=PATH option has been removed.
5527 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5532 # Check whether --with-gmp was given.
5533 if test "${with_gmp+set}" = set; then :
5538 # Check whether --with-gmp-include was given.
5539 if test "${with_gmp_include+set}" = set; then :
5540 withval
=$with_gmp_include;
5544 # Check whether --with-gmp-lib was given.
5545 if test "${with_gmp_lib+set}" = set; then :
5546 withval
=$with_gmp_lib;
5551 if test "x$with_gmp" != x
; then
5552 gmplibs
="-L$with_gmp/lib $gmplibs"
5553 gmpinc
="-I$with_gmp/include $gmpinc"
5555 if test "x$with_gmp_include" != x
; then
5556 gmpinc
="-I$with_gmp_include $gmpinc"
5558 if test "x$with_gmp_lib" != x
; then
5559 gmplibs
="-L$with_gmp_lib $gmplibs"
5561 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5562 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5563 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5564 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5565 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5566 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5567 # Do not test the gmp version. Assume that it is sufficient, since
5568 # it is in the source tree, and the library has not been built yet
5569 # but it would be included on the link line in the version check below
5570 # hence making the test fail.
5574 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5576 saved_CFLAGS
="$CFLAGS"
5577 CFLAGS
="$CFLAGS $gmpinc"
5578 # Check for the recommended and required versions of GMP.
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5580 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5589 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5590 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5591 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5599 if ac_fn_c_try_compile
"$LINENO"; then :
5600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5607 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5608 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5609 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5617 if ac_fn_c_try_compile
"$LINENO"; then :
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5619 $as_echo "yes" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5622 $as_echo "buggy but acceptable" >&6; }
5624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5627 $as_echo "no" >&6; }; have_gmp
=no
5629 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5631 # If we have GMP, check the MPFR version.
5632 if test x
"$have_gmp" = xyes
; then
5633 # Check for the recommended and required versions of MPFR.
5634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5635 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5644 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5652 if ac_fn_c_try_compile
"$LINENO"; then :
5653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5654 /* end confdefs.h. */
5661 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5669 if ac_fn_c_try_compile
"$LINENO"; then :
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5671 $as_echo "yes" >&6; }
5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5674 $as_echo "buggy but acceptable" >&6; }
5676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679 $as_echo "no" >&6; }; have_gmp
=no
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5684 # Check for the MPC header version.
5685 if test x
"$have_gmp" = xyes
; then
5686 # Check for the recommended and required versions of MPC.
5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5688 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5696 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5704 if ac_fn_c_try_compile
"$LINENO"; then :
5705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5706 /* end confdefs.h. */
5712 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5720 if ac_fn_c_try_compile
"$LINENO"; then :
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5722 $as_echo "yes" >&6; }
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5725 $as_echo "buggy but acceptable" >&6; }
5727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5730 $as_echo "no" >&6; }; have_gmp
=no
5732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5735 # Now check the MPFR library.
5736 if test x
"$have_gmp" = xyes
; then
5738 LIBS
="$LIBS $gmplibs"
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5740 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5754 mpfr_atan2 (n, n, x, GMP_RNDN);
5755 mpfr_erfc (n, x, GMP_RNDN);
5756 mpfr_subnormalize (x, t, GMP_RNDN);
5760 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5761 mpc_cosh (c, c, MPC_RNDNN);
5762 mpc_pow (c, c, c, MPC_RNDNN);
5763 mpc_acosh (c, c, MPC_RNDNN);
5770 if ac_fn_c_try_link
"$LINENO"; then :
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5772 $as_echo "yes" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5775 $as_echo "no" >&6; }; have_gmp
=no
5777 rm -f core conftest.err conftest.
$ac_objext \
5778 conftest
$ac_exeext conftest.
$ac_ext
5782 CFLAGS
="$saved_CFLAGS"
5784 # The library versions listed in the error message below should match
5785 # the HARD-minimums enforced above.
5786 if test x
$have_gmp != xyes
; then
5787 as_fn_error $?
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5788 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5789 their locations. Source code for these libraries can be found at
5790 their respective hosting sites as well as at
5791 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5792 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5793 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5794 make sure that you have installed both the libraries and the header
5795 files. They may be located in separate packages." "$LINENO" 5
5799 # Flags needed for both GMP, MPFR and/or MPC.
5807 # Libraries to use for stage1 or when not bootstrapping.
5809 # Check whether --with-stage1-libs was given.
5810 if test "${with_stage1_libs+set}" = set; then :
5811 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5814 stage1_libs
=$withval
5822 # Linker flags to use for stage1 or when not bootstrapping.
5824 # Check whether --with-stage1-ldflags was given.
5825 if test "${with_stage1_ldflags+set}" = set; then :
5826 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5829 stage1_ldflags
=$withval
5833 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5834 # if supported. But if the user explicitly specified the libraries to use,
5835 # trust that they are doing what they want.
5836 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5837 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5843 # Libraries to use for stage2 and later builds.
5845 # Check whether --with-boot-libs was given.
5846 if test "${with_boot_libs+set}" = set; then :
5847 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5850 poststage1_libs
=$withval
5858 # Linker flags to use for stage2 and later builds.
5860 # Check whether --with-boot-ldflags was given.
5861 if test "${with_boot_ldflags+set}" = set; then :
5862 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5865 poststage1_ldflags
=$withval
5869 # In stages 2 and 3, default to linking libstdc++ and libgcc
5870 # statically. But if the user explicitly specified the libraries to
5871 # use, trust that they are doing what they want.
5872 if test "$poststage1_libs" = ""; then
5873 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5879 # GCC GRAPHITE dependency isl.
5880 # Basic setup is inlined here, actual checks are in config/isl.m4
5883 # Check whether --with-isl was given.
5884 if test "${with_isl+set}" = set; then :
5889 # Treat --without-isl as a request to disable
5890 # GRAPHITE support and skip all following checks.
5891 if test "x$with_isl" != "xno"; then
5895 # Check whether --with-isl-include was given.
5896 if test "${with_isl_include+set}" = set; then :
5897 withval
=$with_isl_include;
5901 # Check whether --with-isl-lib was given.
5902 if test "${with_isl_lib+set}" = set; then :
5903 withval
=$with_isl_lib;
5907 # Check whether --enable-isl-version-check was given.
5908 if test "${enable_isl_version_check+set}" = set; then :
5909 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5911 ENABLE_ISL_CHECK
=yes
5915 # Initialize isllibs and islinc.
5924 isllibs
="-L$with_isl/lib"
5925 islinc
="-I$with_isl/include"
5928 if test "x${with_isl_include}" != x
; then
5929 islinc
="-I$with_isl_include"
5931 if test "x${with_isl_lib}" != x
; then
5932 isllibs
="-L$with_isl_lib"
5934 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5935 && test -d ${srcdir}/isl
; then
5936 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5937 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using in-tree isl, disabling version check" >&5
5940 $as_echo "$as_me: WARNING: using in-tree isl, disabling version check" >&2;}
5943 isllibs
="${isllibs} -lisl"
5947 if test "${ENABLE_ISL_CHECK}" = yes ; then
5948 _isl_saved_CFLAGS
=$CFLAGS
5949 _isl_saved_LDFLAGS
=$LDFLAGS
5950 _isl_saved_LIBS
=$LIBS
5952 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5953 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs} ${gmplibs}"
5954 LIBS
="${_isl_saved_LIBS} -lisl -lgmp"
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isl 0.15 or later" >&5
5957 $as_echo_n "checking for isl 0.15 or later... " >&6; }
5958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5959 /* end confdefs.h. */
5960 #include <isl/schedule.h>
5964 isl_options_set_schedule_serialize_sccs (NULL, 0);
5969 if ac_fn_c_try_link
"$LINENO"; then :
5974 rm -f core conftest.err conftest.
$ac_objext \
5975 conftest
$ac_exeext conftest.
$ac_ext
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5977 $as_echo "$gcc_cv_isl" >&6; }
5979 if test "${gcc_cv_isl}" = no
; then
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: required isl version is 0.15 or later" >&5
5981 $as_echo "required isl version is 0.15 or later" >&6; }
5984 CFLAGS
=$_isl_saved_CFLAGS
5985 LDFLAGS
=$_isl_saved_LDFLAGS
5986 LIBS
=$_isl_saved_LIBS
5994 if test "x${with_isl}" = xno
; then
5995 graphite_requested
=no
5996 elif test "x${with_isl}" != x \
5997 ||
test "x${with_isl_include}" != x \
5998 ||
test "x${with_isl_lib}" != x
; then
5999 graphite_requested
=yes
6001 graphite_requested
=no
6006 if test "${gcc_cv_isl}" = no
; then
6011 if test "${graphite_requested}" = yes \
6012 && test "x${isllibs}" = x \
6013 && test "x${islinc}" = x
; then
6015 as_fn_error $?
"Unable to find a usable isl. See config.log for details." "$LINENO" 5
6021 # If the isl check failed, disable builds of in-tree variant of isl
6022 if test "x$with_isl" = xno ||
6023 test "x$gcc_cv_isl" = xno
; then
6024 noconfigdirs
="$noconfigdirs isl"
6031 # Check for LTO support.
6032 # Check whether --enable-lto was given.
6033 if test "${enable_lto+set}" = set; then :
6034 enableval
=$enable_lto; enable_lto
=$enableval
6036 enable_lto
=yes; default_enable_lto
=yes
6045 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6046 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6047 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux* | \
6056 if test $target_elf = yes; then :
6057 # ELF platforms build the lto-plugin always.
6058 build_lto_plugin
=yes
6061 if test x
"$default_enable_lto" = x
"yes" ; then
6063 *-apple-darwin[912]* |
*-cygwin* |
*-mingw* |
*djgpp
*) ;;
6064 # On other non-ELF platforms, LTO has yet to be validated.
6068 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6069 # It would also be nice to check the binutils support, but we don't
6070 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6071 # warn during gcc/ subconfigure; unless you're bootstrapping with
6072 # -flto it won't be needed until after installation anyway.
6074 *-cygwin* |
*-mingw* |
*-apple-darwin* |
*djgpp
*) ;;
6075 *) if test x
"$enable_lto" = x
"yes"; then
6076 as_fn_error $?
"LTO support is not enabled for this target." "$LINENO" 5
6081 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6082 # Build it unless LTO was explicitly disabled.
6084 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6091 # Check whether --enable-linker-plugin-configure-flags was given.
6092 if test "${enable_linker_plugin_configure_flags+set}" = set; then :
6093 enableval
=$enable_linker_plugin_configure_flags; extra_linker_plugin_configure_flags
=$enableval
6095 extra_linker_plugin_configure_flags
=
6099 # Check whether --enable-linker-plugin-flags was given.
6100 if test "${enable_linker_plugin_flags+set}" = set; then :
6101 enableval
=$enable_linker_plugin_flags; extra_linker_plugin_flags
=$enableval
6103 extra_linker_plugin_flags
=
6108 # Enable --enable-host-shared.
6109 # Checked early to determine whether jit is an 'all' language
6110 # Check whether --enable-host-shared was given.
6111 if test "${enable_host_shared+set}" = set; then :
6112 enableval
=$enable_host_shared; host_shared
=$enableval
6119 # By default, C and C++ are the only stage 1 languages.
6120 stage1_languages
=,c
,
6122 # Target libraries that we bootstrap.
6123 bootstrap_target_libs
=,target-libgcc
,
6125 # Figure out what language subdirectories are present.
6126 # Look if the user specified --enable-languages="..."; if not, use
6127 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6129 # NB: embedded tabs in this IF block -- do not untabify
6130 if test -d ${srcdir}/gcc
; then
6131 if test x
"${enable_languages+set}" != xset
; then
6132 if test x
"${LANGUAGES+set}" = xset
; then
6133 enable_languages
="${LANGUAGES}"
6134 echo configure.ac
: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6136 enable_languages
=default
6139 if test x
"${enable_languages}" = x ||
6140 test x
"${enable_languages}" = xyes
;
6142 echo configure.ac
: --enable-languages needs
at least one language argument
1>&2
6146 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6148 # 'f95' is the old name for the 'fortran' language. We issue a warning
6149 # and make the substitution.
6150 case ,${enable_languages}, in
6152 echo configure.ac
: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6153 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6157 # If bootstrapping, C++ must be enabled.
6158 case ",$enable_languages,:$enable_bootstrap" in
6161 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6162 enable_languages
="${enable_languages},c++"
6164 as_fn_error $?
"bootstrapping requires c++ sources" "$LINENO" 5
6169 # First scan to see if an enabled language requires some other language.
6170 # We assume that a given config-lang.in will list all the language
6171 # front ends it requires, even if some are required indirectly.
6172 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6173 case ${lang_frag} in
6175 # The odd quoting in the next line works around
6176 # an apparent bug in bash 1.12 on linux.
6177 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6179 # From the config-lang.in, get $language, $lang_requires, and
6180 # $lang_requires_boot_languages.
6183 lang_requires_boot_languages
=
6184 # set srcdir during sourcing lang_frag to the gcc dir.
6185 # Sadly overriding srcdir on the . line doesn't work in plain sh as it
6186 # polutes this shell
6187 saved_srcdir
=${srcdir}
6188 srcdir
=${srcdir}/gcc .
${lang_frag}
6189 srcdir
=${saved_srcdir}
6190 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6191 case ,${enable_languages}, in
6196 echo " \`$other' language required by \`$language'; enabling" 1>&2
6197 enable_languages
="${enable_languages},${other}"
6201 for other
in ${lang_requires_boot_languages} ; do
6202 if test "$other" != "c"; then
6203 case ,${enable_stage1_languages}, in
6208 case ,${enable_languages}, in
6210 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6211 enable_stage1_languages
="$enable_stage1_languages,${other}"
6222 new_enable_languages
=,c
,
6224 # If LTO is enabled, add the LTO front end.
6225 if test "$enable_lto" = "yes" ; then
6226 case ,${enable_languages}, in
6228 *) enable_languages
="${enable_languages},lto" ;;
6230 if test "${build_lto_plugin}" = "yes" ; then
6231 configdirs
="$configdirs lto-plugin"
6235 # If we're building an offloading compiler, add the LTO front end.
6236 if test x
"$enable_as_accelerator_for" != x
; then
6237 case ,${enable_languages}, in
6239 *) enable_languages
="${enable_languages},lto" ;;
6243 missing_languages
=`echo ",$enable_languages," | sed -e s/,default,/,/ -e s/,all,/,/ -e s/,c,/,/ `
6244 potential_languages
=,c
,
6246 enabled_target_libs
=
6247 disabled_target_libs
=
6249 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6250 case ${lang_frag} in
6252 # The odd quoting in the next line works around
6253 # an apparent bug in bash 1.12 on linux.
6254 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6256 # From the config-lang.in, get $language, $target_libs,
6257 # $lang_dirs, $boot_language, and $build_by_default
6263 build_by_default
=yes
6264 # set srcdir during sourcing. See above about save & restore
6265 saved_srcdir
=${srcdir}
6266 srcdir
=${srcdir}/gcc .
${lang_frag}
6267 srcdir
=${saved_srcdir}
6268 if test x
${language} = x
; then
6269 echo "${lang_frag} doesn't set \$language." 1>&2
6273 if test "$language" = "c++"; then
6278 # C is always enabled, so no need to add it again
6279 if test "$language" != "c"; then
6280 case ,${enable_languages}, in
6282 # Language was explicitly selected; include it
6286 # All languages are enabled
6290 # 'default' was selected, select it if it is a default language
6291 add_this_lang
=${build_by_default}
6296 # Disable languages that need other directories if these aren't available.
6297 for i
in $subdir_requires; do
6298 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6299 case ${add_this_lang} in
6301 # Specifically requested language; tell them.
6302 as_fn_error $?
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The gcc/$i directory contains parts of $language but is missing" >&5
6306 $as_echo "$as_me: WARNING: The gcc/$i directory contains parts of $language but is missing" >&2;}
6307 add_this_lang
=unsupported
6311 add_this_lang
=unsupported
6316 # Disable Ada if no preexisting GNAT is available.
6317 case ${add_this_lang}:${language}:${have_gnat} in
6319 # Specifically requested language; tell them.
6320 as_fn_error $?
"GNAT is required to build $language" "$LINENO" 5
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GNAT is required to build $language" >&5
6324 $as_echo "$as_me: WARNING: GNAT is required to build $language" >&2;}
6325 add_this_lang
=unsupported
6329 add_this_lang
=unsupported
6333 # Disable jit if -enable-host-shared not specified
6334 case ${add_this_lang}:${language}:${host_shared} in
6336 # PR jit/64780: explicitly specify --enable-host-shared
6338 Enabling language \"jit\" requires --enable-host-shared.
6340 --enable-host-shared typically slows the rest of the compiler down by
6341 a few %, so you must explicitly enable it.
6343 If you want to build both the jit and the regular compiler, it is often
6344 best to do this via two separate configure/builds, in separate
6345 directories, to avoid imposing the performance cost of
6346 --enable-host-shared on the regular compiler." "$LINENO" 5
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-host-shared required to build $language" >&5
6350 $as_echo "$as_me: WARNING: --enable-host-shared required to build $language" >&2;}
6351 add_this_lang
=unsupported
6355 add_this_lang
=unsupported
6359 # Disable a language that is unsupported by the target.
6360 case "${add_this_lang}: $unsupported_languages " in
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ${language} not supported for this target" >&5
6365 $as_echo "$as_me: WARNING: ${language} not supported for this target" >&2;}
6366 add_this_lang
=unsupported
6370 case $add_this_lang in
6372 # Remove language-dependent dirs.
6373 disabled_target_libs
="$disabled_target_libs $target_libs"
6374 noconfigdirs
="$noconfigdirs $lang_dirs"
6377 # Remove language-dependent dirs; still show language as supported.
6378 disabled_target_libs
="$disabled_target_libs $target_libs"
6379 noconfigdirs
="$noconfigdirs $lang_dirs"
6380 potential_languages
="${potential_languages}${language},"
6383 new_enable_languages
="${new_enable_languages}${language},"
6384 potential_languages
="${potential_languages}${language},"
6385 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6386 enabled_target_libs
="$enabled_target_libs $target_libs"
6387 case "${boot_language}:,$enable_stage1_languages," in
6388 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6389 # Add to (comma-separated) list of stage 1 languages.
6390 case ",$stage1_languages," in
6391 *,$language,* |
,yes, |
,all
,) ;;
6392 *) stage1_languages
="${stage1_languages}${language}," ;;
6394 # We need to bootstrap any supporting libraries.
6395 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6404 # Add target libraries which are only needed for disabled languages
6406 if test -n "$disabled_target_libs"; then
6407 for dir
in $disabled_target_libs; do
6408 case " $enabled_target_libs " in
6410 *) noconfigdirs
="$noconfigdirs $dir" ;;
6415 # Check whether --enable-stage1-languages was given.
6416 if test "${enable_stage1_languages+set}" = set; then :
6417 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6419 # Set it to something that will have no effect in the loop below
6420 enable_stage1_languages
=c
;;
6422 enable_stage1_languages
=`echo $new_enable_languages | \
6423 sed -e "s/^,//" -e "s/,$//" ` ;;
6425 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6426 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6429 # Add "good" languages from enable_stage1_languages to stage1_languages,
6430 # while "bad" languages go in missing_languages. Leave no duplicates.
6431 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6432 case $potential_languages in
6434 case $stage1_languages in
6436 *) stage1_languages
="$stage1_languages$i," ;;
6439 case $missing_languages in
6441 *) missing_languages
="$missing_languages$i," ;;
6448 # Remove leading/trailing commas that were added for simplicity
6449 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6450 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6451 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6452 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6454 if test "x$missing_languages" != x
; then
6456 The following requested languages could not be built: ${missing_languages}
6457 Supported languages are: ${potential_languages}" "$LINENO" 5
6459 if test "x$new_enable_languages" != "x$enable_languages"; then
6460 echo The following languages will be built
: ${new_enable_languages}
6461 enable_languages
="$new_enable_languages"
6465 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6468 # Handle --disable-<component> generically.
6469 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6470 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6471 varname
=`echo $dirname | sed -e s/+/_/g`
6472 if eval test x\
${enable_${varname}} "=" xno
; then
6473 noconfigdirs
="$noconfigdirs $dir"
6477 # Check for Boehm's garbage collector
6478 # Check whether --enable-objc-gc was given.
6479 if test "${enable_objc_gc+set}" = set; then :
6480 enableval
=$enable_objc_gc;
6484 # Check whether --with-target-bdw-gc was given.
6485 if test "${with_target_bdw_gc+set}" = set; then :
6486 withval
=$with_target_bdw_gc;
6490 # Check whether --with-target-bdw-gc-include was given.
6491 if test "${with_target_bdw_gc_include+set}" = set; then :
6492 withval
=$with_target_bdw_gc_include;
6496 # Check whether --with-target-bdw-gc-lib was given.
6497 if test "${with_target_bdw_gc_lib+set}" = set; then :
6498 withval
=$with_target_bdw_gc_lib;
6502 case ,${enable_languages},:${enable_objc_gc} in *,objc
,*:yes|
*,objc
,*:auto
)
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bdw garbage collector" >&5
6504 $as_echo_n "checking for bdw garbage collector... " >&6; }
6505 if test "x$with_target_bdw_gc$with_target_bdw_gc_include$with_target_bdw_gc_lib" = x
; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using bdw-gc in default locations" >&5
6507 $as_echo "using bdw-gc in default locations" >&6; }
6509 if test "x$with_target_bdw_gc_include" = x
&& test "x$with_target_bdw_gc_lib" != x
; then
6510 as_fn_error $?
"found --with-target-bdw-gc-lib but --with-target-bdw-gc-include missing" "$LINENO" 5
6511 elif test "x$with_target_bdw_gc_include" != x
&& test "x$with_target_bdw_gc_lib" = x
; then
6512 as_fn_error $?
"found --with-target-bdw-gc-include but --with-target-bdw-gc-lib missing" "$LINENO" 5
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: using paths configured with --with-target-bdw-gc options" >&5
6515 $as_echo "using paths configured with --with-target-bdw-gc options" >&6; }
6520 # Disable libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
6521 case ,${enable_languages}, in
6523 # Disable libitm, libsanitizer if we're not building libstdc++
6524 case "${noconfigdirs}" in
6525 *target-libstdc
++-v3*)
6526 noconfigdirs
="$noconfigdirs target-libitm target-libsanitizer"
6532 noconfigdirs
="$noconfigdirs target-liboffloadmic target-libitm target-libsanitizer target-libvtv"
6536 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6537 # $build_configdirs and $target_configdirs.
6538 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6541 for dir
in .
$skipdirs $noconfigdirs ; do
6542 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6543 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6544 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6545 if test -r $srcdir/$dirname/configure
; then
6546 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6549 notsupp
="$notsupp $dir"
6553 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6554 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6555 if test -r $srcdir/$dirname/configure
; then
6556 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6559 notsupp
="$notsupp $dir"
6563 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6564 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6565 if test -r $srcdir/$dirname/configure
; then
6566 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6569 notsupp
="$notsupp $dir"
6575 # Quietly strip out all directories which aren't configurable in this tree.
6576 # This relies on all configurable subdirectories being autoconfiscated, which
6578 build_configdirs_all
="$build_configdirs"
6580 for i
in ${build_configdirs_all} ; do
6581 j
=`echo $i | sed -e s/build-//g`
6582 if test -f ${srcdir}/$j/configure
; then
6583 build_configdirs
="${build_configdirs} $i"
6587 configdirs_all
="$configdirs"
6589 for i
in ${configdirs_all} ; do
6590 if test -f ${srcdir}/$i/configure
; then
6591 configdirs
="${configdirs} $i"
6595 target_configdirs_all
="$target_configdirs"
6597 for i
in ${target_configdirs_all} ; do
6598 j
=`echo $i | sed -e s/target-//g`
6599 if test -f ${srcdir}/$j/configure
; then
6600 target_configdirs
="${target_configdirs} $i"
6604 # libiberty-linker-plugin is special: it doesn't have its own source directory,
6605 # so we have to add it after the preceding checks.
6606 if test x
"$extra_linker_plugin_flags$extra_linker_plugin_configure_flags" != x
6608 case " $configdirs " in
6610 # If we can build libiberty, we can also build libiberty-linker-plugin.
6611 configdirs
="$configdirs libiberty-linker-plugin"
6612 extra_linker_plugin_configure_flags
="$extra_linker_plugin_configure_flags \
6613 --with-libiberty=../libiberty-linker-plugin";;
6615 as_fn_error $?
"libiberty missing" "$LINENO" 5;;
6619 # Sometimes we have special requirements for the host libiberty.
6620 extra_host_libiberty_configure_flags
=
6621 extra_host_zlib_configure_flags
=
6622 case " $configdirs " in
6623 *" lto-plugin "* |
*" libcc1 "*)
6624 # When these are to be built as shared libraries, the same applies to
6626 extra_host_libiberty_configure_flags
=--enable-shared
6629 # When bfd is to be built as a shared library, the same applies to
6631 if test "$enable_shared" = "yes"; then
6632 extra_host_zlib_configure_flags
=--enable-host-shared
6639 # Produce a warning message for the subdirs we can't configure.
6640 # This isn't especially interesting in the Cygnus tree, but in the individual
6641 # FSF releases, it's important to let people know when their machine isn't
6642 # supported by the one or two programs in a package.
6644 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6645 # If $appdirs is non-empty, at least one of those directories must still
6646 # be configured, or we error out. (E.g., if the gas release supports a
6647 # specified target in some subdirs but not the gas subdir, we shouldn't
6648 # pretend that all is well.)
6649 if test -n "$appdirs" ; then
6650 for dir
in $appdirs ; do
6651 if test -r $dir/Makefile.
in ; then
6652 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6656 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6662 if test -n "$appdirs" ; then
6663 echo "*** This configuration is not supported by this package." 1>&2
6667 # Okay, some application will build, or we don't care to check. Still
6668 # notify of subdirs not getting built.
6669 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6670 echo " ${notsupp}" 1>&2
6671 echo " (Any other directories should still work fine.)" 1>&2
6679 # To find our prefix, in gcc_cv_tool_prefix.
6681 # The user is always right.
6682 if test "${PATH_SEPARATOR+set}" != set; then
6683 echo "#! /bin/sh" >conf$$.sh
6684 echo "exit 0" >>conf$$.sh
6686 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6695 get_gcc_base_ver
="cat"
6697 # Check whether --with-gcc-major-version-only was given.
6698 if test "${with_gcc_major_version_only+set}" = set; then :
6699 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
6700 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
6710 if test "x$exec_prefix" = xNONE
; then
6711 if test "x$prefix" = xNONE
; then
6712 gcc_cv_tool_prefix
=$ac_default_prefix
6714 gcc_cv_tool_prefix
=$prefix
6717 gcc_cv_tool_prefix
=$exec_prefix
6720 # If there is no compiler in the tree, use the PATH only. In any
6721 # case, if there is no compiler in the tree nobody should use
6722 # AS_FOR_TARGET and LD_FOR_TARGET.
6723 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6724 if test x
$with_gcc_major_version_only = xyes
; then
6725 gcc_version
=`sed -e 's/^\([0-9]*\).*$/\1/' $srcdir/gcc/BASE-VER`
6727 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6729 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6730 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6731 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6732 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6733 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6734 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6739 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6740 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6748 # Check whether --with-build-sysroot was given.
6749 if test "${with_build_sysroot+set}" = set; then :
6750 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6751 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6754 SYSROOT_CFLAGS_FOR_TARGET
=
6760 # Check whether --with-debug-prefix-map was given.
6761 if test "${with_debug_prefix_map+set}" = set; then :
6762 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6763 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6764 for debug_map
in $withval; do
6765 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6769 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6774 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6775 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6776 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6777 # We want to ensure that TARGET libraries (which we know are built with
6778 # gcc) are built with "-O2 -g", so include those options when setting
6779 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6780 if test "x$CFLAGS_FOR_TARGET" = x
; then
6781 if test "x${is_cross_compiler}" = xyes
; then
6782 CFLAGS_FOR_TARGET
="-g -O2"
6784 CFLAGS_FOR_TARGET
=$CFLAGS
6787 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6790 *" -g "* |
*" -g3 "*) ;;
6791 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6797 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6798 if test "x${is_cross_compiler}" = xyes
; then
6799 CXXFLAGS_FOR_TARGET
="-g -O2"
6801 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6802 case " $CXXFLAGS " in
6804 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6806 case " $CXXFLAGS " in
6807 *" -g "* |
*" -g3 "*) ;;
6808 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6816 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6817 # the named directory are copied to $(tooldir)/sys-include.
6818 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6819 if test x
${is_cross_compiler} = xno
; then
6820 echo 1>&2 '***' --with-headers is only supported when cross compiling
6823 if test x
"${with_headers}" != xyes
; then
6824 x
=${gcc_cv_tool_prefix}
6825 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6829 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6830 # the name directories are copied to $(tooldir)/lib. Multiple directories
6832 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6833 if test x
${is_cross_compiler} = xno
; then
6834 echo 1>&2 '***' --with-libs is only supported when cross compiling
6837 if test x
"${with_libs}" != xyes
; then
6838 # Copy the libraries in reverse order, so that files in the first named
6839 # library override files in subsequent libraries.
6840 x
=${gcc_cv_tool_prefix}
6841 for l
in ${with_libs}; do
6842 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6847 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6849 # This is done by determining whether or not the appropriate directory
6850 # is available, and by checking whether or not specific configurations
6851 # have requested that this magic not happen.
6853 # The command line options always override the explicit settings in
6854 # configure.ac, and the settings in configure.ac override this magic.
6856 # If the default for a toolchain is to use GNU as and ld, and you don't
6857 # want to do that, then you should use the --without-gnu-as and
6858 # --without-gnu-ld options for the configure script. Similarly, if
6859 # the default is to use the included zlib and you don't want to do that,
6860 # you should use the --with-system-zlib option for the configure script.
6862 if test x
${use_gnu_as} = x
&&
6863 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6865 extra_host_args
="$extra_host_args --with-gnu-as"
6868 if test x
${use_gnu_ld} = x
&&
6869 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6871 extra_host_args
="$extra_host_args --with-gnu-ld"
6874 if test x
${use_included_zlib} = x
&&
6875 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6878 with_system_zlib
=yes
6879 extra_host_args
="$extra_host_args --with-system-zlib"
6882 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6883 # can detect this case.
6885 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6887 extra_host_args
="$extra_host_args --with-newlib"
6890 # Handle ${copy_dirs}
6891 set fnord
${copy_dirs}
6893 while test $# != 0 ; do
6894 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6897 echo Copying
$1 to
$2
6899 # Use the install script to create the directory and all required
6900 # parent directories.
6901 if test -d $2 ; then
6905 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6908 # Copy the directory, assuming we have tar.
6909 # FIXME: Should we use B in the second tar? Not all systems support it.
6910 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6912 # It is the responsibility of the user to correctly adjust all
6913 # symlinks. If somebody can figure out how to handle them correctly
6914 # here, feel free to add the code.
6921 # Determine a target-dependent exec_prefix that the installed
6922 # gcc will search in. Keep this list sorted by triplet, with
6923 # the *-*-osname triplets last.
6926 i
[34567]86-pc-msdosdjgpp*)
6927 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6932 md_exec_prefix
=/usr
/ccs
/bin
6936 extra_arflags_for_target
=
6937 extra_nmflags_for_target
=
6938 extra_ranlibflags_for_target
=
6939 target_makefile_frag
=/dev
/null
6942 target_makefile_frag
="config/mt-spu"
6944 mips
*-sde-elf* | mips
*-mti-elf* | mips
*-img-elf*)
6945 target_makefile_frag
="config/mt-sde"
6947 mipsisa
*-*-elfoabi*)
6948 target_makefile_frag
="config/mt-mips-elfoabi"
6950 mips
*-*-*linux
* | mips
*-*-gnu*)
6951 target_makefile_frag
="config/mt-mips-gnu"
6954 target_makefile_frag
="config/mt-nios2-elf"
6957 target_makefile_frag
="config/mt-android"
6959 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6960 target_makefile_frag
="config/mt-gnu"
6962 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6963 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6964 # commands to handle both 32-bit and 64-bit objects. These flags are
6965 # harmless if we're using GNU nm or ar.
6966 extra_arflags_for_target
=" -X32_64"
6967 extra_nmflags_for_target
=" -B -X32_64"
6971 alphaieee_frag
=/dev
/null
6974 # This just makes sure to use the -mieee option to build target libs.
6975 # This should probably be set individually by each library.
6976 alphaieee_frag
="config/mt-alphaieee"
6980 # If --enable-target-optspace always use -Os instead of -O2 to build
6981 # the target libraries, similarly if it is not specified, use -Os
6982 # on selected platforms.
6983 ospace_frag
=/dev
/null
6984 case "${enable_target_optspace}:${target}" in
6986 ospace_frag
="config/mt-ospace"
6989 ospace_frag
="config/mt-d30v"
6991 :m32r-
* |
:d10v-
* |
:fr30-
* |
:i?
86*-*-elfiamcu)
6992 ospace_frag
="config/mt-ospace"
6997 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
7001 # Some systems (e.g., one of the i386-aix systems the gas testers are
7002 # using) don't handle "\$" correctly, so don't use it here.
7003 tooldir
='${exec_prefix}'/${target_noncanonical}
7004 build_tooldir
=${tooldir}
7006 # Create a .gdbinit file which runs the one in srcdir
7007 # and tells GDB to look there for source files.
7009 if test -r ${srcdir}/.gdbinit
; then
7012 *) cat > .
/.gdbinit
<<EOF
7016 source ${srcdir}/.gdbinit
7022 # Make sure that the compiler is able to generate an executable. If it
7023 # can't, we are probably in trouble. We don't care whether we can run the
7024 # executable--we might be using a cross compiler--we only care whether it
7025 # can be created. At this point the main configure script has set CC.
7027 echo "int main () { return 0; }" > conftest.c
7028 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7029 if test $?
= 0 ; then
7030 if test -s conftest ||
test -s conftest.exe
; then
7036 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
7037 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
7044 # Decide which environment variable is used to find dynamic libraries.
7046 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
7047 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
7048 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
7049 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
7052 # On systems where the dynamic library environment variable is PATH,
7053 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
7054 # built executables to PATH.
7055 if test "$RPATH_ENVVAR" = PATH
; then
7056 GCC_SHLIB_SUBDIR
=/shlib
7061 # Adjust the toplevel makefile according to whether bootstrap was selected.
7062 case $enable_bootstrap in
7064 bootstrap_suffix
=bootstrap
7065 BUILD_CONFIG
=bootstrap-debug
7068 bootstrap_suffix
=no-bootstrap
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7074 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7077 # Check whether --with-build-config was given.
7078 if test "${with_build_config+set}" = set; then :
7079 withval
=$with_build_config; case $with_build_config in
7080 yes) with_build_config
= ;;
7081 no
) with_build_config
= BUILD_CONFIG
= ;;
7086 if test "x${with_build_config}" != x
; then
7087 BUILD_CONFIG
=$with_build_config
7089 case $BUILD_CONFIG in
7091 if echo "int f (void) { return 0; }" > conftest.c
&&
7092 ${CC} -c conftest.c
&&
7093 mv conftest.o conftest.o.g0
&&
7094 ${CC} -c -g conftest.c
&&
7095 mv conftest.o conftest.o.g
&&
7096 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7101 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7106 $as_echo "$BUILD_CONFIG" >&6; }
7109 # Use same top-level configure hooks in libgcc/libstdc++/libvtv.
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-vtable-verify" >&5
7111 $as_echo_n "checking for --enable-vtable-verify... " >&6; }
7112 # Check whether --enable-vtable-verify was given.
7113 if test "${enable_vtable_verify+set}" = set; then :
7114 enableval
=$enable_vtable_verify; case "$enableval" in
7115 yes) enable_vtable_verify
=yes ;;
7116 no
) enable_vtable_verify
=no
;;
7117 *) enable_vtable_verify
=no
;;
7120 enable_vtable_verify
=no
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
7124 $as_echo "$enable_vtable_verify" >&6; }
7126 # Record target_configdirs and the configure arguments for target and
7127 # build configuration in Makefile.
7128 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
7129 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
7130 bootstrap_fixincludes
=no
7132 # If we are building libgomp, bootstrap it.
7133 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
7134 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
7137 # If we are building libsanitizer and $BUILD_CONFIG contains bootstrap-asan
7138 # or bootstrap-ubsan, bootstrap it.
7139 if echo " ${target_configdirs} " |
grep " libsanitizer " > /dev
/null
2>&1; then
7140 case "$BUILD_CONFIG" in
7141 *bootstrap-asan
* |
*bootstrap-ubsan
* )
7142 bootstrap_target_libs
=${bootstrap_target_libs}target-libsanitizer
,
7143 bootstrap_fixincludes
=yes
7148 # If we are building libvtv and --enable-vtable-verify, bootstrap it.
7149 if echo " ${target_configdirs} " |
grep " libvtv " > /dev
/null
2>&1 &&
7150 test "$enable_vtable_verify" != no
; then
7151 bootstrap_target_libs
=${bootstrap_target_libs}target-libvtv
,
7154 # Determine whether gdb needs tk/tcl or not.
7155 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
7156 # and in that case we want gdb to be built without tk. Ugh!
7157 # In fact I believe gdb is the *only* package directly dependent on tk,
7158 # so we should be able to put the 'maybe's in unconditionally and
7159 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
7160 # 100% sure that that's safe though.
7162 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
7163 case "$enable_gdbtk" in
7167 GDB_TK
="${gdb_tk}" ;;
7169 # Only add the dependency on gdbtk when GDBtk is part of the gdb
7170 # distro. Eventually someone will fix this and move Insight, nee
7171 # gdbtk to a separate directory.
7172 if test -d ${srcdir}/gdb
/gdbtk
; then
7179 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
7180 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
7182 # Strip out unwanted targets.
7184 # While at that, we remove Makefiles if we were started for recursive
7185 # configuration, so that the top-level Makefile reconfigures them,
7186 # like we used to do when configure itself was recursive.
7188 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
7189 # but now we're fixing up the Makefile ourselves with the additional
7190 # commands passed to AC_CONFIG_FILES. Use separate variables
7191 # extrasub-{build,host,target} not because there is any reason to split
7192 # the substitutions up that way, but only to remain below the limit of
7193 # 99 commands in a script, for HP-UX sed.
7194 # Do not nest @if/@endif pairs, because configure will not warn you at all.
7196 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
7197 yes:yes:*\ gold\
*:*,c
++,*) ;;
7198 yes:yes:*\ gold\
*:*)
7199 as_fn_error $?
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
7204 for module
in ${build_configdirs} ; do
7205 if test -z "${no_recursion}" \
7206 && test -f ${build_subdir}/${module}/Makefile
; then
7207 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7208 rm -f ${build_subdir}/${module}/Makefile
7210 extrasub_build
="$extrasub_build
7211 /^@if build-$module\$/d
7212 /^@endif build-$module\$/d
7213 /^@if build-$module-$bootstrap_suffix\$/d
7214 /^@endif build-$module-$bootstrap_suffix\$/d"
7217 for module
in ${configdirs} ; do
7218 if test -z "${no_recursion}"; then
7219 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7220 if test -f ${file}; then
7221 echo 1>&2 "*** removing ${file} to force reconfigure"
7226 case ${module},${bootstrap_fixincludes} in
7227 fixincludes
,no
) host_bootstrap_suffix
=no-bootstrap
;;
7228 *) host_bootstrap_suffix
=$bootstrap_suffix ;;
7230 extrasub_host
="$extrasub_host
7232 /^@endif $module\$/d
7233 /^@if $module-$host_bootstrap_suffix\$/d
7234 /^@endif $module-$host_bootstrap_suffix\$/d"
7237 for module
in ${target_configdirs} ; do
7238 if test -z "${no_recursion}" \
7239 && test -f ${target_subdir}/${module}/Makefile
; then
7240 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7241 rm -f ${target_subdir}/${module}/Makefile
7244 # We only bootstrap target libraries listed in bootstrap_target_libs.
7245 case $bootstrap_target_libs in
7246 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7247 *) target_bootstrap_suffix
=no-bootstrap
;;
7250 extrasub_target
="$extrasub_target
7251 /^@if target-$module\$/d
7252 /^@endif target-$module\$/d
7253 /^@if target-$module-$target_bootstrap_suffix\$/d
7254 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7257 # Do the final fixup along with target modules.
7258 extrasub_target
="$extrasub_target
7259 /^@if /,/^@endif /d"
7261 # Create the serialization dependencies. This uses a temporary file.
7263 # Check whether --enable-serial-configure was given.
7264 if test "${enable_serial_configure+set}" = set; then :
7265 enableval
=$enable_serial_configure;
7269 case ${enable_serial_configure} in
7271 enable_serial_build_configure
=yes
7272 enable_serial_host_configure
=yes
7273 enable_serial_target_configure
=yes
7277 # These force 'configure's to be done one at a time, to avoid problems
7278 # with contention over a shared config.cache.
7280 echo '# serdep.tmp' > serdep.tmp
7282 test "x${enable_serial_build_configure}" = xyes
&&
7283 for item
in ${build_configdirs} ; do
7286 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7291 test "x${enable_serial_host_configure}" = xyes
&&
7292 for item
in ${configdirs} ; do
7295 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7300 test "x${enable_serial_target_configure}" = xyes
&&
7301 for item
in ${target_configdirs} ; do
7304 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7308 serialization_dependencies
=serdep.tmp
7311 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7312 # target, nonopt, and variable assignments. These are the ones we
7313 # might not want to pass down to subconfigures. The exception being
7314 # --cache-file=/dev/null, which is used to turn off the use of cache
7315 # files altogether, and which should be passed on to subconfigures.
7316 # Also strip program-prefix, program-suffix, and program-transform-name,
7317 # so that we can pass down a consistent program-transform-name.
7322 eval "set -- $ac_configure_args"
7325 if test X
"$skip_next" = X
"yes"; then
7329 if test X
"$keep_next" = X
"yes"; then
7332 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7334 baseargs
="$baseargs '$ac_arg'"
7335 tbaseargs
="$tbaseargs '$ac_arg'"
7340 # Handle separated arguments. Based on the logic generated by
7343 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7344 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7345 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7346 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7360 --with-* |
--without-*)
7361 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7365 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7368 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7377 mpc | mpfr | gmp | isl
)
7378 # If we're processing --with-$lib, --with-$lib-include or
7379 # --with-$lib-lib, for one of the libs above, and target is
7380 # different from host, don't pass the current argument to any
7381 # target library's configure.
7382 if test x
$is_cross_compiler = xyes
; then
7391 --cache-file=/dev
/null | \
7392 -cache-file=/dev
/null
)
7393 # Handled here to avoid the test to skip args below.
7394 baseargs
="$baseargs '$ac_arg'"
7395 tbaseargs
="$tbaseargs '$ac_arg'"
7396 # Assert: $separate_arg should always be no.
7397 keep_next
=$separate_arg
7413 -program-prefix* | \
7414 -program-suffix* | \
7415 -program-transform-name* )
7416 skip_next
=$separate_arg
7420 # An option. Add it.
7423 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7425 baseargs
="$baseargs '$ac_arg'"
7426 if test X
"$skip_targ" = Xno
; then
7427 tbaseargs
="$tbaseargs '$ac_arg'"
7429 keep_next
=$separate_arg
7432 # Either a variable assignment, or a nonopt (triplet). Don't
7433 # pass it down; let the Makefile handle this.
7438 # Remove the initial space we just introduced and, as these will be
7439 # expanded by make, quote '$'.
7440 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7442 # Add in --program-transform-name, after --program-prefix and
7443 # --program-suffix have been applied to it. Autoconf has already
7444 # doubled dollar signs and backslashes in program_transform_name; we want
7445 # the backslashes un-doubled, and then the entire thing wrapped in single
7446 # quotes, because this will be expanded first by make and then by the shell.
7447 # Also, because we want to override the logic in subdir configure scripts to
7448 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7449 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7450 ${program_transform_name}
7452 gcc_transform_name
=`cat conftestsed.out`
7453 rm -f conftestsed.out
7454 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7455 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7456 if test "$silent" = yes; then
7457 baseargs
="$baseargs --silent"
7458 tbaseargs
="$tbaseargs --silent"
7460 baseargs
="$baseargs --disable-option-checking"
7461 tbaseargs
="$tbaseargs --disable-option-checking"
7463 # Record and document user additions to sub configure arguments.
7468 # For the build-side libraries, we just need to pretend we're native,
7469 # and not use the same cache file. Multilibs are neither needed nor
7470 # desired. We can't even use the same cache file for all build-side
7471 # libraries, as they're compiled differently; some with C, some with
7472 # C++ or with different feature-enabling options.
7473 build_configargs
="$build_configargs --cache-file=./config.cache ${baseargs}"
7475 # For host modules, accept cache file option, or specification as blank.
7476 case "${cache_file}" in
7478 cache_file_option
="" ;;
7479 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7480 cache_file_option
="--cache-file=${cache_file}" ;;
7482 cache_file_option
="--cache-file=../${cache_file}" ;;
7485 # Host dirs don't like to share a cache file either, horribly enough.
7486 # This seems to be due to autoconf 2.5x stupidity.
7487 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7489 target_configargs
="$target_configargs ${tbaseargs}"
7491 # Passing a --with-cross-host argument lets the target libraries know
7492 # whether they are being built with a cross-compiler or being built
7493 # native. However, it would be better to use other mechanisms to make the
7494 # sorts of decisions they want to make on this basis. Please consider
7495 # this option to be deprecated. FIXME.
7496 if test x
${is_cross_compiler} = xyes
; then
7497 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7500 # Special user-friendly check for native x86_64-linux build, if
7501 # multilib is not explicitly enabled.
7502 case "$target:$have_compiler:$host:$target:$enable_multilib" in
7503 x86_64-
*linux
*:yes:$build:$build:)
7504 # Make sure we have a development environment that handles 32-bit
7506 echo "int main () { return 0; }" > conftest.c
7507 ${CC} -m32 -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
7508 if test $?
= 0 ; then
7509 if test -s conftest ||
test -s conftest.exe
; then
7514 if test x
${dev64} != xyes
; then
7515 as_fn_error $?
"I suspect your system does not have 32-bit development libraries (libc and headers). If you have them, rerun configure with --enable-multilib. If you do not have them, and want to build a 64-bit-only compiler, rerun configure with --disable-multilib." "$LINENO" 5
7520 # Default to --enable-multilib.
7521 if test x
${enable_multilib} = x
; then
7522 target_configargs
="--enable-multilib ${target_configargs}"
7525 # Pass --with-newlib if appropriate. Note that target_configdirs has
7526 # changed from the earlier setting of with_newlib.
7527 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7528 target_configargs
="--with-newlib ${target_configargs}"
7531 # Different target subdirs use different values of certain variables
7532 # (notably CXX). Worse, multilibs use *lots* of different values.
7533 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7534 # it doesn't automatically accept command-line overrides of them.
7535 # This means it's not safe for target subdirs to share a cache file,
7536 # which is disgusting, but there you have it. Hopefully this can be
7537 # fixed in future. It's still worthwhile to use a cache file for each
7538 # directory. I think.
7540 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7541 # We need to pass --target, as newer autoconf's requires consistency
7542 # for target_alias and gcc doesn't manage it consistently.
7543 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7546 case " $target_configdirs " in
7548 case " $target_configargs " in
7549 *" --with-newlib "*)
7552 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7556 # If we're not building GCC, don't discard standard headers.
7557 if test -d ${srcdir}/gcc
; then
7558 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7560 if test "${build}" != "${host}"; then
7561 # On Canadian crosses, CC_FOR_TARGET will have already been set
7562 # by `configure', so we won't have an opportunity to add -Bgcc/
7563 # to it. This is right: we don't want to search that directory
7564 # for binaries, but we want the header files in there, so add
7566 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7568 # Someone might think of using the pre-installed headers on
7569 # Canadian crosses, in case the installed compiler is not fully
7570 # compatible with the compiler being built. In this case, it
7571 # would be better to flag an error than risking having
7572 # incompatible object files being constructed. We can't
7573 # guarantee that an error will be flagged, but let's hope the
7574 # compiler will do it, when presented with incompatible header
7579 case "${target}-${is_cross_compiler}" in
7580 i
[3456789]86-*-linux*-no)
7581 # Here host == target, so we don't need to build gcc,
7582 # so we don't want to discard standard headers.
7583 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7586 # If we're building newlib, use its generic headers last, but search
7587 # for any libc-related directories first (so make it the last -B
7589 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7591 # If we're building libgloss, find the startup file, simulator library
7592 # and linker script.
7593 case " $target_configdirs " in
7595 # Look for startup file, simulator library and maybe linker script.
7596 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7597 # Look for libnosys.a in case the target needs it.
7598 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7599 # Most targets have the linker script in the source directory.
7600 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7611 x86_64-
*mingw
* |
*-w64-mingw*)
7612 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7613 # however, use a symlink named 'mingw' in ${prefix} .
7614 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7617 # MinGW can't be handled as Cygwin above since it does not use newlib.
7618 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'
7622 # Allow the user to override the flags for
7623 # our build compiler if desired.
7624 if test x
"${build}" = x
"${host}" ; then
7625 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7626 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7627 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7630 # On Canadian crosses, we'll be searching the right directories for
7631 # the previously-installed cross compiler, so don't bother to add
7632 # flags for directories within the install tree of the compiler
7633 # being built; programs in there won't even run.
7634 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7635 # Search for pre-installed headers if nothing else fits.
7636 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7639 if test "x
${use_gnu_ld}" = x &&
7640 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7641 # Arrange for us to find uninstalled linker scripts.
7642 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7645 # Search for other target-specific linker scripts and such.
7648 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7652 # Makefile fragments.
7653 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7655 eval fragval=\$$frag
7656 if test $fragval != /dev/null; then
7657 eval $frag=${srcdir}/$fragval
7665 # Miscellanea: directories, flags, etc.
7674 # Build module lists & subconfigure args.
7678 # Host module lists & subconfigure args.
7683 # Target module lists & subconfigure args.
7704 # Generate default definitions for YACC, M4, LEX and other programs that run
7705 # on the build machine. These are used if the Makefile can't locate these
7706 # programs in objdir.
7707 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7709 for ac_prog in 'bison -y' byacc yacc
7711 # Extract the first word of "$ac_prog", so it can be a program name with args.
7712 set dummy $ac_prog; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7714 $as_echo_n "checking
for $ac_word...
" >&6; }
7715 if ${ac_cv_prog_YACC+:} false; then :
7716 $as_echo_n "(cached
) " >&6
7718 if test -n "$YACC"; then
7719 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_YACC="$ac_prog"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7738 YACC=$ac_cv_prog_YACC
7739 if test -n "$YACC"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7741 $as_echo "$YACC" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7744 $as_echo "no
" >&6; }
7748 test -n "$YACC" && break
7750 test -n "$YACC" || YACC="$MISSING bison
-y"
7752 case " $build_configdirs " in
7753 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7756 for ac_prog in bison
7758 # Extract the first word of "$ac_prog", so it can be a program name with args.
7759 set dummy $ac_prog; ac_word=$2
7760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7761 $as_echo_n "checking
for $ac_word...
" >&6; }
7762 if ${ac_cv_prog_BISON+:} false; then :
7763 $as_echo_n "(cached
) " >&6
7765 if test -n "$BISON"; then
7766 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 test -z "$as_dir" && as_dir=.
7773 for ac_exec_ext in '' $ac_executable_extensions; do
7774 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7775 ac_cv_prog_BISON="$ac_prog"
7776 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7785 BISON=$ac_cv_prog_BISON
7786 if test -n "$BISON"; then
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7788 $as_echo "$BISON" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7791 $as_echo "no
" >&6; }
7795 test -n "$BISON" && break
7797 test -n "$BISON" || BISON="$MISSING bison
"
7799 case " $build_configdirs " in
7800 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7803 for ac_prog in gm4 gnum4 m4
7805 # Extract the first word of "$ac_prog", so it can be a program name with args.
7806 set dummy $ac_prog; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7808 $as_echo_n "checking
for $ac_word...
" >&6; }
7809 if ${ac_cv_prog_M4+:} false; then :
7810 $as_echo_n "(cached
) " >&6
7812 if test -n "$M4"; then
7813 ac_cv_prog_M4="$M4" # Let the user override the test.
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7822 ac_cv_prog_M4="$ac_prog"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7833 if test -n "$M4"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7835 $as_echo "$M4" >&6; }
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7838 $as_echo "no
" >&6; }
7842 test -n "$M4" && break
7844 test -n "$M4" || M4="$MISSING m4"
7846 case " $build_configdirs " in
7847 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7850 for ac_prog in flex lex
7852 # Extract the first word of "$ac_prog", so it can be a program name with args.
7853 set dummy $ac_prog; ac_word=$2
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7855 $as_echo_n "checking
for $ac_word...
" >&6; }
7856 if ${ac_cv_prog_LEX+:} false; then :
7857 $as_echo_n "(cached
) " >&6
7859 if test -n "$LEX"; then
7860 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir=.
7867 for ac_exec_ext in '' $ac_executable_extensions; do
7868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7869 ac_cv_prog_LEX="$ac_prog"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7880 if test -n "$LEX"; then
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7882 $as_echo "$LEX" >&6; }
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7885 $as_echo "no
" >&6; }
7889 test -n "$LEX" && break
7891 test -n "$LEX" || LEX="$MISSING flex
"
7893 case " $build_configdirs " in
7894 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7895 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7900 # Extract the first word of "$ac_prog", so it can be a program name with args.
7901 set dummy $ac_prog; ac_word=$2
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7903 $as_echo_n "checking
for $ac_word...
" >&6; }
7904 if ${ac_cv_prog_FLEX+:} false; then :
7905 $as_echo_n "(cached
) " >&6
7907 if test -n "$FLEX"; then
7908 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7917 ac_cv_prog_FLEX="$ac_prog"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7927 FLEX=$ac_cv_prog_FLEX
7928 if test -n "$FLEX"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7930 $as_echo "$FLEX" >&6; }
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7933 $as_echo "no
" >&6; }
7937 test -n "$FLEX" && break
7939 test -n "$FLEX" || FLEX="$MISSING flex
"
7941 case " $build_configdirs " in
7942 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7945 for ac_prog in makeinfo
7947 # Extract the first word of "$ac_prog", so it can be a program name with args.
7948 set dummy $ac_prog; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7950 $as_echo_n "checking
for $ac_word...
" >&6; }
7951 if ${ac_cv_prog_MAKEINFO+:} false; then :
7952 $as_echo_n "(cached
) " >&6
7954 if test -n "$MAKEINFO"; then
7955 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_MAKEINFO="$ac_prog"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7974 MAKEINFO=$ac_cv_prog_MAKEINFO
7975 if test -n "$MAKEINFO"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7977 $as_echo "$MAKEINFO" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7980 $as_echo "no
" >&6; }
7984 test -n "$MAKEINFO" && break
7986 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7988 case " $build_configdirs " in
7989 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7992 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7993 # higher, else we use the "missing
" dummy.
7994 if ${MAKEINFO} --version \
7995 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7998 MAKEINFO="$MISSING makeinfo
"
8004 # FIXME: expect and dejagnu may become build tools?
8006 for ac_prog in expect
8008 # Extract the first word of "$ac_prog", so it can be a program name with args.
8009 set dummy $ac_prog; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8011 $as_echo_n "checking
for $ac_word...
" >&6; }
8012 if ${ac_cv_prog_EXPECT+:} false; then :
8013 $as_echo_n "(cached
) " >&6
8015 if test -n "$EXPECT"; then
8016 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_EXPECT="$ac_prog"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8035 EXPECT=$ac_cv_prog_EXPECT
8036 if test -n "$EXPECT"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
8038 $as_echo "$EXPECT" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8041 $as_echo "no
" >&6; }
8045 test -n "$EXPECT" && break
8047 test -n "$EXPECT" || EXPECT="expect
"
8049 case " $configdirs " in
8051 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
8055 for ac_prog in runtest
8057 # Extract the first word of "$ac_prog", so it can be a program name with args.
8058 set dummy $ac_prog; ac_word=$2
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8060 $as_echo_n "checking
for $ac_word...
" >&6; }
8061 if ${ac_cv_prog_RUNTEST+:} false; then :
8062 $as_echo_n "(cached
) " >&6
8064 if test -n "$RUNTEST"; then
8065 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
8067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 test -z "$as_dir" && as_dir=.
8072 for ac_exec_ext in '' $ac_executable_extensions; do
8073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8074 ac_cv_prog_RUNTEST="$ac_prog"
8075 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8084 RUNTEST=$ac_cv_prog_RUNTEST
8085 if test -n "$RUNTEST"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
8087 $as_echo "$RUNTEST" >&6; }
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8090 $as_echo "no
" >&6; }
8094 test -n "$RUNTEST" && break
8096 test -n "$RUNTEST" || RUNTEST="runtest
"
8098 case " $configdirs " in
8100 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
8107 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
8108 ncn_target_tool_prefix=
8109 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
8113 if test -n "$AR"; then
8115 elif test -n "$ac_cv_prog_AR"; then
8119 if test -n "$ac_cv_prog_AR"; then
8120 for ncn_progname in ar; do
8121 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8122 set dummy ${ncn_progname}; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8124 $as_echo_n "checking
for $ac_word...
" >&6; }
8125 if ${ac_cv_prog_AR+:} false; then :
8126 $as_echo_n "(cached
) " >&6
8128 if test -n "$AR"; then
8129 ac_cv_prog_AR="$AR" # Let the user override the test.
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 test -z "$as_dir" && as_dir=.
8136 for ac_exec_ext in '' $ac_executable_extensions; do
8137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138 ac_cv_prog_AR="${ncn_progname}"
8139 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8149 if test -n "$AR"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8151 $as_echo "$AR" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8154 $as_echo "no
" >&6; }
8161 for ncn_progname in ar; do
8162 if test -n "$ncn_tool_prefix"; then
8163 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8164 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8166 $as_echo_n "checking
for $ac_word...
" >&6; }
8167 if ${ac_cv_prog_AR+:} false; then :
8168 $as_echo_n "(cached
) " >&6
8170 if test -n "$AR"; then
8171 ac_cv_prog_AR="$AR" # Let the user override the test.
8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177 test -z "$as_dir" && as_dir=.
8178 for ac_exec_ext in '' $ac_executable_extensions; do
8179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8180 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8191 if test -n "$AR"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8193 $as_echo "$AR" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8196 $as_echo "no
" >&6; }
8201 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8202 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8203 set dummy ${ncn_progname}; ac_word=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8205 $as_echo_n "checking
for $ac_word...
" >&6; }
8206 if ${ac_cv_prog_AR+:} false; then :
8207 $as_echo_n "(cached
) " >&6
8209 if test -n "$AR"; then
8210 ac_cv_prog_AR="$AR" # Let the user override the test.
8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8216 test -z "$as_dir" && as_dir=.
8217 for ac_exec_ext in '' $ac_executable_extensions; do
8218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8219 ac_cv_prog_AR="${ncn_progname}"
8220 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8230 if test -n "$AR"; then
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8232 $as_echo "$AR" >&6; }
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8235 $as_echo "no
" >&6; }
8240 test -n "$ac_cv_prog_AR" && break
8243 if test -z "$ac_cv_prog_AR" ; then
8245 if test $build = $host ; then
8248 AR="${ncn_tool_prefix}$2"
8254 if test -n "$AS"; then
8256 elif test -n "$ac_cv_prog_AS"; then
8260 if test -n "$ac_cv_prog_AS"; then
8261 for ncn_progname in as; do
8262 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8263 set dummy ${ncn_progname}; ac_word=$2
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8265 $as_echo_n "checking
for $ac_word...
" >&6; }
8266 if ${ac_cv_prog_AS+:} false; then :
8267 $as_echo_n "(cached
) " >&6
8269 if test -n "$AS"; then
8270 ac_cv_prog_AS="$AS" # Let the user override the test.
8272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8276 test -z "$as_dir" && as_dir=.
8277 for ac_exec_ext in '' $ac_executable_extensions; do
8278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8279 ac_cv_prog_AS="${ncn_progname}"
8280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8290 if test -n "$AS"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8292 $as_echo "$AS" >&6; }
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8295 $as_echo "no
" >&6; }
8302 for ncn_progname in as; do
8303 if test -n "$ncn_tool_prefix"; then
8304 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8305 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8307 $as_echo_n "checking
for $ac_word...
" >&6; }
8308 if ${ac_cv_prog_AS+:} false; then :
8309 $as_echo_n "(cached
) " >&6
8311 if test -n "$AS"; then
8312 ac_cv_prog_AS="$AS" # Let the user override the test.
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8318 test -z "$as_dir" && as_dir=.
8319 for ac_exec_ext in '' $ac_executable_extensions; do
8320 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8321 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8322 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8332 if test -n "$AS"; then
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8334 $as_echo "$AS" >&6; }
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8337 $as_echo "no
" >&6; }
8342 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8343 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8344 set dummy ${ncn_progname}; ac_word=$2
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8346 $as_echo_n "checking
for $ac_word...
" >&6; }
8347 if ${ac_cv_prog_AS+:} false; then :
8348 $as_echo_n "(cached
) " >&6
8350 if test -n "$AS"; then
8351 ac_cv_prog_AS="$AS" # Let the user override the test.
8353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir=.
8358 for ac_exec_ext in '' $ac_executable_extensions; do
8359 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_prog_AS="${ncn_progname}"
8361 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8371 if test -n "$AS"; then
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8373 $as_echo "$AS" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8376 $as_echo "no
" >&6; }
8381 test -n "$ac_cv_prog_AS" && break
8384 if test -z "$ac_cv_prog_AS" ; then
8386 if test $build = $host ; then
8389 AS="${ncn_tool_prefix}$2"
8395 if test -n "$DLLTOOL"; then
8396 ac_cv_prog_DLLTOOL=$DLLTOOL
8397 elif test -n "$ac_cv_prog_DLLTOOL"; then
8398 DLLTOOL=$ac_cv_prog_DLLTOOL
8401 if test -n "$ac_cv_prog_DLLTOOL"; then
8402 for ncn_progname in dlltool; do
8403 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8404 set dummy ${ncn_progname}; ac_word=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8406 $as_echo_n "checking
for $ac_word...
" >&6; }
8407 if ${ac_cv_prog_DLLTOOL+:} false; then :
8408 $as_echo_n "(cached
) " >&6
8410 if test -n "$DLLTOOL"; then
8411 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8417 test -z "$as_dir" && as_dir=.
8418 for ac_exec_ext in '' $ac_executable_extensions; do
8419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8420 ac_cv_prog_DLLTOOL="${ncn_progname}"
8421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8430 DLLTOOL=$ac_cv_prog_DLLTOOL
8431 if test -n "$DLLTOOL"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8433 $as_echo "$DLLTOOL" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8436 $as_echo "no
" >&6; }
8443 for ncn_progname in dlltool; do
8444 if test -n "$ncn_tool_prefix"; then
8445 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8446 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8448 $as_echo_n "checking
for $ac_word...
" >&6; }
8449 if ${ac_cv_prog_DLLTOOL+:} false; then :
8450 $as_echo_n "(cached
) " >&6
8452 if test -n "$DLLTOOL"; then
8453 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8459 test -z "$as_dir" && as_dir=.
8460 for ac_exec_ext in '' $ac_executable_extensions; do
8461 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8462 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8472 DLLTOOL=$ac_cv_prog_DLLTOOL
8473 if test -n "$DLLTOOL"; then
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8475 $as_echo "$DLLTOOL" >&6; }
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8478 $as_echo "no
" >&6; }
8483 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8484 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8485 set dummy ${ncn_progname}; ac_word=$2
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8487 $as_echo_n "checking
for $ac_word...
" >&6; }
8488 if ${ac_cv_prog_DLLTOOL+:} false; then :
8489 $as_echo_n "(cached
) " >&6
8491 if test -n "$DLLTOOL"; then
8492 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8498 test -z "$as_dir" && as_dir=.
8499 for ac_exec_ext in '' $ac_executable_extensions; do
8500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8501 ac_cv_prog_DLLTOOL="${ncn_progname}"
8502 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8511 DLLTOOL=$ac_cv_prog_DLLTOOL
8512 if test -n "$DLLTOOL"; then
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8514 $as_echo "$DLLTOOL" >&6; }
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8517 $as_echo "no
" >&6; }
8522 test -n "$ac_cv_prog_DLLTOOL" && break
8525 if test -z "$ac_cv_prog_DLLTOOL" ; then
8527 if test $build = $host ; then
8530 DLLTOOL="${ncn_tool_prefix}$2"
8536 if test -n "$LD"; then
8538 elif test -n "$ac_cv_prog_LD"; then
8542 if test -n "$ac_cv_prog_LD"; then
8543 for ncn_progname in ld; do
8544 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8545 set dummy ${ncn_progname}; ac_word=$2
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8547 $as_echo_n "checking
for $ac_word...
" >&6; }
8548 if ${ac_cv_prog_LD+:} false; then :
8549 $as_echo_n "(cached
) " >&6
8551 if test -n "$LD"; then
8552 ac_cv_prog_LD="$LD" # Let the user override the test.
8554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8558 test -z "$as_dir" && as_dir=.
8559 for ac_exec_ext in '' $ac_executable_extensions; do
8560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8561 ac_cv_prog_LD="${ncn_progname}"
8562 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8572 if test -n "$LD"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8574 $as_echo "$LD" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8577 $as_echo "no
" >&6; }
8584 for ncn_progname in ld; do
8585 if test -n "$ncn_tool_prefix"; then
8586 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8587 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8589 $as_echo_n "checking
for $ac_word...
" >&6; }
8590 if ${ac_cv_prog_LD+:} false; then :
8591 $as_echo_n "(cached
) " >&6
8593 if test -n "$LD"; then
8594 ac_cv_prog_LD="$LD" # Let the user override the test.
8596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8600 test -z "$as_dir" && as_dir=.
8601 for ac_exec_ext in '' $ac_executable_extensions; do
8602 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8603 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8604 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8614 if test -n "$LD"; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8616 $as_echo "$LD" >&6; }
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8619 $as_echo "no
" >&6; }
8624 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8625 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8626 set dummy ${ncn_progname}; ac_word=$2
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8628 $as_echo_n "checking
for $ac_word...
" >&6; }
8629 if ${ac_cv_prog_LD+:} false; then :
8630 $as_echo_n "(cached
) " >&6
8632 if test -n "$LD"; then
8633 ac_cv_prog_LD="$LD" # Let the user override the test.
8635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8639 test -z "$as_dir" && as_dir=.
8640 for ac_exec_ext in '' $ac_executable_extensions; do
8641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8642 ac_cv_prog_LD="${ncn_progname}"
8643 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8653 if test -n "$LD"; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8655 $as_echo "$LD" >&6; }
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8658 $as_echo "no
" >&6; }
8663 test -n "$ac_cv_prog_LD" && break
8666 if test -z "$ac_cv_prog_LD" ; then
8668 if test $build = $host ; then
8671 LD="${ncn_tool_prefix}$2"
8677 if test -n "$LIPO"; then
8678 ac_cv_prog_LIPO=$LIPO
8679 elif test -n "$ac_cv_prog_LIPO"; then
8680 LIPO=$ac_cv_prog_LIPO
8683 if test -n "$ac_cv_prog_LIPO"; then
8684 for ncn_progname in lipo; do
8685 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8686 set dummy ${ncn_progname}; ac_word=$2
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8688 $as_echo_n "checking
for $ac_word...
" >&6; }
8689 if ${ac_cv_prog_LIPO+:} false; then :
8690 $as_echo_n "(cached
) " >&6
8692 if test -n "$LIPO"; then
8693 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8699 test -z "$as_dir" && as_dir=.
8700 for ac_exec_ext in '' $ac_executable_extensions; do
8701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8702 ac_cv_prog_LIPO="${ncn_progname}"
8703 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8712 LIPO=$ac_cv_prog_LIPO
8713 if test -n "$LIPO"; then
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8715 $as_echo "$LIPO" >&6; }
8717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8718 $as_echo "no
" >&6; }
8725 for ncn_progname in lipo; do
8726 if test -n "$ncn_tool_prefix"; then
8727 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8728 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8730 $as_echo_n "checking
for $ac_word...
" >&6; }
8731 if ${ac_cv_prog_LIPO+:} false; then :
8732 $as_echo_n "(cached
) " >&6
8734 if test -n "$LIPO"; then
8735 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8741 test -z "$as_dir" && as_dir=.
8742 for ac_exec_ext in '' $ac_executable_extensions; do
8743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8744 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8754 LIPO=$ac_cv_prog_LIPO
8755 if test -n "$LIPO"; then
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8757 $as_echo "$LIPO" >&6; }
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8760 $as_echo "no
" >&6; }
8765 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8766 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8767 set dummy ${ncn_progname}; ac_word=$2
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8769 $as_echo_n "checking
for $ac_word...
" >&6; }
8770 if ${ac_cv_prog_LIPO+:} false; then :
8771 $as_echo_n "(cached
) " >&6
8773 if test -n "$LIPO"; then
8774 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8780 test -z "$as_dir" && as_dir=.
8781 for ac_exec_ext in '' $ac_executable_extensions; do
8782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8783 ac_cv_prog_LIPO="${ncn_progname}"
8784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8793 LIPO=$ac_cv_prog_LIPO
8794 if test -n "$LIPO"; then
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8796 $as_echo "$LIPO" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8799 $as_echo "no
" >&6; }
8804 test -n "$ac_cv_prog_LIPO" && break
8807 if test -z "$ac_cv_prog_LIPO" ; then
8809 if test $build = $host ; then
8812 LIPO="${ncn_tool_prefix}$2"
8818 if test -n "$NM"; then
8820 elif test -n "$ac_cv_prog_NM"; then
8824 if test -n "$ac_cv_prog_NM"; then
8825 for ncn_progname in nm; 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 ${ac_cv_prog_NM+:} false; then :
8831 $as_echo_n "(cached
) " >&6
8833 if test -n "$NM"; then
8834 ac_cv_prog_NM="$NM" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8843 ac_cv_prog_NM="${ncn_progname}"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8854 if test -n "$NM"; then
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8856 $as_echo "$NM" >&6; }
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8859 $as_echo "no
" >&6; }
8866 for ncn_progname in nm; 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 ${ac_cv_prog_NM+:} false; then :
8873 $as_echo_n "(cached
) " >&6
8875 if test -n "$NM"; then
8876 ac_cv_prog_NM="$NM" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8885 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8886 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8896 if test -n "$NM"; then
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8898 $as_echo "$NM" >&6; }
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8901 $as_echo "no
" >&6; }
8906 if test -z "$ac_cv_prog_NM" && 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 ${ac_cv_prog_NM+:} false; then :
8912 $as_echo_n "(cached
) " >&6
8914 if test -n "$NM"; then
8915 ac_cv_prog_NM="$NM" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8924 ac_cv_prog_NM="${ncn_progname}"
8925 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8935 if test -n "$NM"; then
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8937 $as_echo "$NM" >&6; }
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8940 $as_echo "no
" >&6; }
8945 test -n "$ac_cv_prog_NM" && break
8948 if test -z "$ac_cv_prog_NM" ; then
8950 if test $build = $host ; then
8953 NM="${ncn_tool_prefix}$2"
8959 if test -n "$RANLIB"; then
8960 ac_cv_prog_RANLIB=$RANLIB
8961 elif test -n "$ac_cv_prog_RANLIB"; then
8962 RANLIB=$ac_cv_prog_RANLIB
8965 if test -n "$ac_cv_prog_RANLIB"; then
8966 for ncn_progname in ranlib; do
8967 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8968 set dummy ${ncn_progname}; ac_word=$2
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8970 $as_echo_n "checking
for $ac_word...
" >&6; }
8971 if ${ac_cv_prog_RANLIB+:} false; then :
8972 $as_echo_n "(cached
) " >&6
8974 if test -n "$RANLIB"; then
8975 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8981 test -z "$as_dir" && as_dir=.
8982 for ac_exec_ext in '' $ac_executable_extensions; do
8983 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8984 ac_cv_prog_RANLIB="${ncn_progname}"
8985 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8994 RANLIB=$ac_cv_prog_RANLIB
8995 if test -n "$RANLIB"; then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8997 $as_echo "$RANLIB" >&6; }
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9000 $as_echo "no
" >&6; }
9007 for ncn_progname in ranlib; do
9008 if test -n "$ncn_tool_prefix"; then
9009 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9010 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9012 $as_echo_n "checking
for $ac_word...
" >&6; }
9013 if ${ac_cv_prog_RANLIB+:} false; then :
9014 $as_echo_n "(cached
) " >&6
9016 if test -n "$RANLIB"; then
9017 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir=.
9024 for ac_exec_ext in '' $ac_executable_extensions; do
9025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9026 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9036 RANLIB=$ac_cv_prog_RANLIB
9037 if test -n "$RANLIB"; then
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9039 $as_echo "$RANLIB" >&6; }
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9042 $as_echo "no
" >&6; }
9047 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
9048 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9049 set dummy ${ncn_progname}; ac_word=$2
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9051 $as_echo_n "checking
for $ac_word...
" >&6; }
9052 if ${ac_cv_prog_RANLIB+:} false; then :
9053 $as_echo_n "(cached
) " >&6
9055 if test -n "$RANLIB"; then
9056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9062 test -z "$as_dir" && as_dir=.
9063 for ac_exec_ext in '' $ac_executable_extensions; do
9064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9065 ac_cv_prog_RANLIB="${ncn_progname}"
9066 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9075 RANLIB=$ac_cv_prog_RANLIB
9076 if test -n "$RANLIB"; then
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
9078 $as_echo "$RANLIB" >&6; }
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9081 $as_echo "no
" >&6; }
9086 test -n "$ac_cv_prog_RANLIB" && break
9089 if test -z "$ac_cv_prog_RANLIB" ; then
9095 if test -n "$STRIP"; then
9096 ac_cv_prog_STRIP=$STRIP
9097 elif test -n "$ac_cv_prog_STRIP"; then
9098 STRIP=$ac_cv_prog_STRIP
9101 if test -n "$ac_cv_prog_STRIP"; then
9102 for ncn_progname in strip; 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 ${ac_cv_prog_STRIP+:} false; then :
9108 $as_echo_n "(cached
) " >&6
9110 if test -n "$STRIP"; then
9111 ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9120 ac_cv_prog_STRIP="${ncn_progname}"
9121 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9130 STRIP=$ac_cv_prog_STRIP
9131 if test -n "$STRIP"; then
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9133 $as_echo "$STRIP" >&6; }
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9136 $as_echo "no
" >&6; }
9143 for ncn_progname in strip; 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 ${ac_cv_prog_STRIP+:} false; then :
9150 $as_echo_n "(cached
) " >&6
9152 if test -n "$STRIP"; then
9153 ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9162 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9163 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9172 STRIP=$ac_cv_prog_STRIP
9173 if test -n "$STRIP"; then
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9175 $as_echo "$STRIP" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9178 $as_echo "no
" >&6; }
9183 if test -z "$ac_cv_prog_STRIP" && 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 ${ac_cv_prog_STRIP+:} false; then :
9189 $as_echo_n "(cached
) " >&6
9191 if test -n "$STRIP"; then
9192 ac_cv_prog_STRIP="$STRIP" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9201 ac_cv_prog_STRIP="${ncn_progname}"
9202 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9211 STRIP=$ac_cv_prog_STRIP
9212 if test -n "$STRIP"; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9214 $as_echo "$STRIP" >&6; }
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9217 $as_echo "no
" >&6; }
9222 test -n "$ac_cv_prog_STRIP" && break
9225 if test -z "$ac_cv_prog_STRIP" ; then
9231 if test -n "$WINDRES"; then
9232 ac_cv_prog_WINDRES=$WINDRES
9233 elif test -n "$ac_cv_prog_WINDRES"; then
9234 WINDRES=$ac_cv_prog_WINDRES
9237 if test -n "$ac_cv_prog_WINDRES"; then
9238 for ncn_progname in windres; do
9239 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9240 set dummy ${ncn_progname}; ac_word=$2
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9242 $as_echo_n "checking
for $ac_word...
" >&6; }
9243 if ${ac_cv_prog_WINDRES+:} false; then :
9244 $as_echo_n "(cached
) " >&6
9246 if test -n "$WINDRES"; then
9247 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9253 test -z "$as_dir" && as_dir=.
9254 for ac_exec_ext in '' $ac_executable_extensions; do
9255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9256 ac_cv_prog_WINDRES="${ncn_progname}"
9257 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9266 WINDRES=$ac_cv_prog_WINDRES
9267 if test -n "$WINDRES"; then
9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9269 $as_echo "$WINDRES" >&6; }
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9272 $as_echo "no
" >&6; }
9279 for ncn_progname in windres; do
9280 if test -n "$ncn_tool_prefix"; then
9281 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9282 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9284 $as_echo_n "checking
for $ac_word...
" >&6; }
9285 if ${ac_cv_prog_WINDRES+:} false; then :
9286 $as_echo_n "(cached
) " >&6
9288 if test -n "$WINDRES"; then
9289 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9295 test -z "$as_dir" && as_dir=.
9296 for ac_exec_ext in '' $ac_executable_extensions; do
9297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9298 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9308 WINDRES=$ac_cv_prog_WINDRES
9309 if test -n "$WINDRES"; then
9310 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9311 $as_echo "$WINDRES" >&6; }
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9314 $as_echo "no
" >&6; }
9319 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9320 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9321 set dummy ${ncn_progname}; ac_word=$2
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9323 $as_echo_n "checking
for $ac_word...
" >&6; }
9324 if ${ac_cv_prog_WINDRES+:} false; then :
9325 $as_echo_n "(cached
) " >&6
9327 if test -n "$WINDRES"; then
9328 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 test -z "$as_dir" && as_dir=.
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9337 ac_cv_prog_WINDRES="${ncn_progname}"
9338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9347 WINDRES=$ac_cv_prog_WINDRES
9348 if test -n "$WINDRES"; then
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9350 $as_echo "$WINDRES" >&6; }
9352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9353 $as_echo "no
" >&6; }
9358 test -n "$ac_cv_prog_WINDRES" && break
9361 if test -z "$ac_cv_prog_WINDRES" ; then
9363 if test $build = $host ; then
9366 WINDRES="${ncn_tool_prefix}$2"
9372 if test -n "$WINDMC"; then
9373 ac_cv_prog_WINDMC=$WINDMC
9374 elif test -n "$ac_cv_prog_WINDMC"; then
9375 WINDMC=$ac_cv_prog_WINDMC
9378 if test -n "$ac_cv_prog_WINDMC"; then
9379 for ncn_progname in windmc; do
9380 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9381 set dummy ${ncn_progname}; ac_word=$2
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9383 $as_echo_n "checking
for $ac_word...
" >&6; }
9384 if ${ac_cv_prog_WINDMC+:} false; then :
9385 $as_echo_n "(cached
) " >&6
9387 if test -n "$WINDMC"; then
9388 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9394 test -z "$as_dir" && as_dir=.
9395 for ac_exec_ext in '' $ac_executable_extensions; do
9396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9397 ac_cv_prog_WINDMC="${ncn_progname}"
9398 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9407 WINDMC=$ac_cv_prog_WINDMC
9408 if test -n "$WINDMC"; then
9409 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9410 $as_echo "$WINDMC" >&6; }
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9413 $as_echo "no
" >&6; }
9420 for ncn_progname in windmc; do
9421 if test -n "$ncn_tool_prefix"; then
9422 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9423 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9425 $as_echo_n "checking
for $ac_word...
" >&6; }
9426 if ${ac_cv_prog_WINDMC+:} false; then :
9427 $as_echo_n "(cached
) " >&6
9429 if test -n "$WINDMC"; then
9430 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir=.
9437 for ac_exec_ext in '' $ac_executable_extensions; do
9438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9439 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9440 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9449 WINDMC=$ac_cv_prog_WINDMC
9450 if test -n "$WINDMC"; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9452 $as_echo "$WINDMC" >&6; }
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9455 $as_echo "no
" >&6; }
9460 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9461 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9462 set dummy ${ncn_progname}; ac_word=$2
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9464 $as_echo_n "checking
for $ac_word...
" >&6; }
9465 if ${ac_cv_prog_WINDMC+:} false; then :
9466 $as_echo_n "(cached
) " >&6
9468 if test -n "$WINDMC"; then
9469 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9475 test -z "$as_dir" && as_dir=.
9476 for ac_exec_ext in '' $ac_executable_extensions; do
9477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9478 ac_cv_prog_WINDMC="${ncn_progname}"
9479 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9488 WINDMC=$ac_cv_prog_WINDMC
9489 if test -n "$WINDMC"; then
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9491 $as_echo "$WINDMC" >&6; }
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9494 $as_echo "no
" >&6; }
9499 test -n "$ac_cv_prog_WINDMC" && break
9502 if test -z "$ac_cv_prog_WINDMC" ; then
9504 if test $build = $host ; then
9507 WINDMC="${ncn_tool_prefix}$2"
9513 if test -n "$OBJCOPY"; then
9514 ac_cv_prog_OBJCOPY=$OBJCOPY
9515 elif test -n "$ac_cv_prog_OBJCOPY"; then
9516 OBJCOPY=$ac_cv_prog_OBJCOPY
9519 if test -n "$ac_cv_prog_OBJCOPY"; then
9520 for ncn_progname in objcopy; do
9521 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9522 set dummy ${ncn_progname}; ac_word=$2
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9524 $as_echo_n "checking
for $ac_word...
" >&6; }
9525 if ${ac_cv_prog_OBJCOPY+:} false; then :
9526 $as_echo_n "(cached
) " >&6
9528 if test -n "$OBJCOPY"; then
9529 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9535 test -z "$as_dir" && as_dir=.
9536 for ac_exec_ext in '' $ac_executable_extensions; do
9537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9538 ac_cv_prog_OBJCOPY="${ncn_progname}"
9539 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9548 OBJCOPY=$ac_cv_prog_OBJCOPY
9549 if test -n "$OBJCOPY"; then
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9551 $as_echo "$OBJCOPY" >&6; }
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9554 $as_echo "no
" >&6; }
9561 for ncn_progname in objcopy; do
9562 if test -n "$ncn_tool_prefix"; then
9563 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9564 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9566 $as_echo_n "checking
for $ac_word...
" >&6; }
9567 if ${ac_cv_prog_OBJCOPY+:} false; then :
9568 $as_echo_n "(cached
) " >&6
9570 if test -n "$OBJCOPY"; then
9571 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9577 test -z "$as_dir" && as_dir=.
9578 for ac_exec_ext in '' $ac_executable_extensions; do
9579 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9580 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9581 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9590 OBJCOPY=$ac_cv_prog_OBJCOPY
9591 if test -n "$OBJCOPY"; then
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9593 $as_echo "$OBJCOPY" >&6; }
9595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9596 $as_echo "no
" >&6; }
9601 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9602 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9603 set dummy ${ncn_progname}; ac_word=$2
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9605 $as_echo_n "checking
for $ac_word...
" >&6; }
9606 if ${ac_cv_prog_OBJCOPY+:} false; then :
9607 $as_echo_n "(cached
) " >&6
9609 if test -n "$OBJCOPY"; then
9610 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616 test -z "$as_dir" && as_dir=.
9617 for ac_exec_ext in '' $ac_executable_extensions; do
9618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9619 ac_cv_prog_OBJCOPY="${ncn_progname}"
9620 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9629 OBJCOPY=$ac_cv_prog_OBJCOPY
9630 if test -n "$OBJCOPY"; then
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9632 $as_echo "$OBJCOPY" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9635 $as_echo "no
" >&6; }
9640 test -n "$ac_cv_prog_OBJCOPY" && break
9643 if test -z "$ac_cv_prog_OBJCOPY" ; then
9645 if test $build = $host ; then
9648 OBJCOPY="${ncn_tool_prefix}$2"
9654 if test -n "$OBJDUMP"; then
9655 ac_cv_prog_OBJDUMP=$OBJDUMP
9656 elif test -n "$ac_cv_prog_OBJDUMP"; then
9657 OBJDUMP=$ac_cv_prog_OBJDUMP
9660 if test -n "$ac_cv_prog_OBJDUMP"; then
9661 for ncn_progname in objdump; do
9662 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9663 set dummy ${ncn_progname}; ac_word=$2
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9665 $as_echo_n "checking
for $ac_word...
" >&6; }
9666 if ${ac_cv_prog_OBJDUMP+:} false; then :
9667 $as_echo_n "(cached
) " >&6
9669 if test -n "$OBJDUMP"; then
9670 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 test -z "$as_dir" && as_dir=.
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_OBJDUMP="${ncn_progname}"
9680 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9689 OBJDUMP=$ac_cv_prog_OBJDUMP
9690 if test -n "$OBJDUMP"; then
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9692 $as_echo "$OBJDUMP" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9695 $as_echo "no
" >&6; }
9702 for ncn_progname in objdump; do
9703 if test -n "$ncn_tool_prefix"; then
9704 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9705 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9707 $as_echo_n "checking
for $ac_word...
" >&6; }
9708 if ${ac_cv_prog_OBJDUMP+:} false; then :
9709 $as_echo_n "(cached
) " >&6
9711 if test -n "$OBJDUMP"; then
9712 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9718 test -z "$as_dir" && as_dir=.
9719 for ac_exec_ext in '' $ac_executable_extensions; do
9720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9721 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9731 OBJDUMP=$ac_cv_prog_OBJDUMP
9732 if test -n "$OBJDUMP"; then
9733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9734 $as_echo "$OBJDUMP" >&6; }
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9737 $as_echo "no
" >&6; }
9742 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9743 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9744 set dummy ${ncn_progname}; ac_word=$2
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9746 $as_echo_n "checking
for $ac_word...
" >&6; }
9747 if ${ac_cv_prog_OBJDUMP+:} false; then :
9748 $as_echo_n "(cached
) " >&6
9750 if test -n "$OBJDUMP"; then
9751 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9757 test -z "$as_dir" && as_dir=.
9758 for ac_exec_ext in '' $ac_executable_extensions; do
9759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9760 ac_cv_prog_OBJDUMP="${ncn_progname}"
9761 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9770 OBJDUMP=$ac_cv_prog_OBJDUMP
9771 if test -n "$OBJDUMP"; then
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9773 $as_echo "$OBJDUMP" >&6; }
9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9776 $as_echo "no
" >&6; }
9781 test -n "$ac_cv_prog_OBJDUMP" && break
9784 if test -z "$ac_cv_prog_OBJDUMP" ; then
9786 if test $build = $host ; then
9789 OBJDUMP="${ncn_tool_prefix}$2"
9795 if test -n "$READELF"; then
9796 ac_cv_prog_READELF=$READELF
9797 elif test -n "$ac_cv_prog_READELF"; then
9798 READELF=$ac_cv_prog_READELF
9801 if test -n "$ac_cv_prog_READELF"; then
9802 for ncn_progname in readelf; do
9803 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9804 set dummy ${ncn_progname}; ac_word=$2
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9806 $as_echo_n "checking
for $ac_word...
" >&6; }
9807 if ${ac_cv_prog_READELF+:} false; then :
9808 $as_echo_n "(cached
) " >&6
9810 if test -n "$READELF"; then
9811 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9817 test -z "$as_dir" && as_dir=.
9818 for ac_exec_ext in '' $ac_executable_extensions; do
9819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9820 ac_cv_prog_READELF="${ncn_progname}"
9821 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9830 READELF=$ac_cv_prog_READELF
9831 if test -n "$READELF"; then
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9833 $as_echo "$READELF" >&6; }
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9836 $as_echo "no
" >&6; }
9843 for ncn_progname in readelf; do
9844 if test -n "$ncn_tool_prefix"; then
9845 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9846 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9848 $as_echo_n "checking
for $ac_word...
" >&6; }
9849 if ${ac_cv_prog_READELF+:} false; then :
9850 $as_echo_n "(cached
) " >&6
9852 if test -n "$READELF"; then
9853 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9859 test -z "$as_dir" && as_dir=.
9860 for ac_exec_ext in '' $ac_executable_extensions; do
9861 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9862 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9863 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9872 READELF=$ac_cv_prog_READELF
9873 if test -n "$READELF"; then
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9875 $as_echo "$READELF" >&6; }
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9878 $as_echo "no
" >&6; }
9883 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9884 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9885 set dummy ${ncn_progname}; ac_word=$2
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9887 $as_echo_n "checking
for $ac_word...
" >&6; }
9888 if ${ac_cv_prog_READELF+:} false; then :
9889 $as_echo_n "(cached
) " >&6
9891 if test -n "$READELF"; then
9892 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9901 ac_cv_prog_READELF="${ncn_progname}"
9902 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9911 READELF=$ac_cv_prog_READELF
9912 if test -n "$READELF"; then
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9914 $as_echo "$READELF" >&6; }
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9917 $as_echo "no
" >&6; }
9922 test -n "$ac_cv_prog_READELF" && break
9925 if test -z "$ac_cv_prog_READELF" ; then
9927 if test $build = $host ; then
9930 READELF="${ncn_tool_prefix}$2"
9941 # Check whether --with-build-time-tools was given.
9942 if test "${with_build_time_tools+set}" = set; then :
9943 withval=$with_build_time_tools; case x"$withval" in
9946 with_build_time_tools=
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9948 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9952 with_build_time_tools=
9958 if test -n "$CC_FOR_TARGET"; then
9959 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9960 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9961 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9964 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9965 for ncn_progname in cc gcc; do
9966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9967 set dummy ${ncn_progname}; ac_word=$2
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9969 $as_echo_n "checking
for $ac_word...
" >&6; }
9970 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
9971 $as_echo_n "(cached
) " >&6
9973 if test -n "$CC_FOR_TARGET"; then
9974 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9980 test -z "$as_dir" && as_dir=.
9981 for ac_exec_ext in '' $ac_executable_extensions; do
9982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9983 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9993 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9994 if test -n "$CC_FOR_TARGET"; then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9996 $as_echo "$CC_FOR_TARGET" >&6; }
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9999 $as_echo "no
" >&6; }
10006 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10007 for ncn_progname in cc gcc; do
10008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10009 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10010 if test -x $with_build_time_tools/${ncn_progname}; then
10011 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10013 $as_echo "yes" >&6; }
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10017 $as_echo "no
" >&6; }
10022 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
10023 for ncn_progname in cc gcc; do
10024 if test -n "$ncn_target_tool_prefix"; then
10025 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10026 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10028 $as_echo_n "checking
for $ac_word...
" >&6; }
10029 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10030 $as_echo_n "(cached
) " >&6
10032 if test -n "$CC_FOR_TARGET"; then
10033 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10036 for as_dir in $PATH
10039 test -z "$as_dir" && as_dir=.
10040 for ac_exec_ext in '' $ac_executable_extensions; do
10041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10042 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10043 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10052 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10053 if test -n "$CC_FOR_TARGET"; then
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10055 $as_echo "$CC_FOR_TARGET" >&6; }
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10058 $as_echo "no
" >&6; }
10063 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
10064 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10065 set dummy ${ncn_progname}; ac_word=$2
10066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10067 $as_echo_n "checking
for $ac_word...
" >&6; }
10068 if ${ac_cv_prog_CC_FOR_TARGET+:} false; then :
10069 $as_echo_n "(cached
) " >&6
10071 if test -n "$CC_FOR_TARGET"; then
10072 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $PATH
10078 test -z "$as_dir" && as_dir=.
10079 for ac_exec_ext in '' $ac_executable_extensions; do
10080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10081 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
10082 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10091 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
10092 if test -n "$CC_FOR_TARGET"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
10094 $as_echo "$CC_FOR_TARGET" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10097 $as_echo "no
" >&6; }
10102 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
10106 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
10108 if test $build = $target ; then
10111 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10114 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
10119 if test -n "$CXX_FOR_TARGET"; then
10120 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
10121 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10122 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10125 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
10126 for ncn_progname in c++ g++ cxx gxx; do
10127 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10128 set dummy ${ncn_progname}; ac_word=$2
10129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10130 $as_echo_n "checking
for $ac_word...
" >&6; }
10131 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10132 $as_echo_n "(cached
) " >&6
10134 if test -n "$CXX_FOR_TARGET"; then
10135 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10138 for as_dir in $PATH
10141 test -z "$as_dir" && as_dir=.
10142 for ac_exec_ext in '' $ac_executable_extensions; do
10143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10144 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10145 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10154 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10155 if test -n "$CXX_FOR_TARGET"; then
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10157 $as_echo "$CXX_FOR_TARGET" >&6; }
10159 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10160 $as_echo "no
" >&6; }
10167 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10168 for ncn_progname in c++ g++ cxx gxx; do
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10170 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10171 if test -x $with_build_time_tools/${ncn_progname}; then
10172 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10174 $as_echo "yes" >&6; }
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10178 $as_echo "no
" >&6; }
10183 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10184 for ncn_progname in c++ g++ cxx gxx; do
10185 if test -n "$ncn_target_tool_prefix"; then
10186 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10187 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10189 $as_echo_n "checking
for $ac_word...
" >&6; }
10190 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10191 $as_echo_n "(cached
) " >&6
10193 if test -n "$CXX_FOR_TARGET"; then
10194 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10197 for as_dir in $PATH
10200 test -z "$as_dir" && as_dir=.
10201 for ac_exec_ext in '' $ac_executable_extensions; do
10202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10203 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10204 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10213 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10214 if test -n "$CXX_FOR_TARGET"; then
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10216 $as_echo "$CXX_FOR_TARGET" >&6; }
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10219 $as_echo "no
" >&6; }
10224 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10225 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10226 set dummy ${ncn_progname}; ac_word=$2
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10228 $as_echo_n "checking
for $ac_word...
" >&6; }
10229 if ${ac_cv_prog_CXX_FOR_TARGET+:} false; then :
10230 $as_echo_n "(cached
) " >&6
10232 if test -n "$CXX_FOR_TARGET"; then
10233 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10236 for as_dir in $PATH
10239 test -z "$as_dir" && as_dir=.
10240 for ac_exec_ext in '' $ac_executable_extensions; do
10241 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10242 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10243 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10252 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10253 if test -n "$CXX_FOR_TARGET"; then
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10255 $as_echo "$CXX_FOR_TARGET" >&6; }
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10258 $as_echo "no
" >&6; }
10263 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10267 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10268 set dummy c++ g++ cxx gxx
10269 if test $build = $target ; then
10270 CXX_FOR_TARGET="$2"
10272 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10275 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10280 if test -n "$GCC_FOR_TARGET"; then
10281 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10282 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10283 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10286 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10287 for ncn_progname in gcc; do
10288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10289 set dummy ${ncn_progname}; ac_word=$2
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10291 $as_echo_n "checking
for $ac_word...
" >&6; }
10292 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10293 $as_echo_n "(cached
) " >&6
10295 if test -n "$GCC_FOR_TARGET"; then
10296 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10299 for as_dir in $PATH
10302 test -z "$as_dir" && as_dir=.
10303 for ac_exec_ext in '' $ac_executable_extensions; do
10304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10305 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10306 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10315 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10316 if test -n "$GCC_FOR_TARGET"; then
10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10318 $as_echo "$GCC_FOR_TARGET" >&6; }
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10321 $as_echo "no
" >&6; }
10328 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10329 for ncn_progname in gcc; do
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10331 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10332 if test -x $with_build_time_tools/${ncn_progname}; then
10333 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10335 $as_echo "yes" >&6; }
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10339 $as_echo "no
" >&6; }
10344 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10345 for ncn_progname in gcc; do
10346 if test -n "$ncn_target_tool_prefix"; then
10347 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10348 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10350 $as_echo_n "checking
for $ac_word...
" >&6; }
10351 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10352 $as_echo_n "(cached
) " >&6
10354 if test -n "$GCC_FOR_TARGET"; then
10355 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10358 for as_dir in $PATH
10361 test -z "$as_dir" && as_dir=.
10362 for ac_exec_ext in '' $ac_executable_extensions; do
10363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10364 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10374 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10375 if test -n "$GCC_FOR_TARGET"; then
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10377 $as_echo "$GCC_FOR_TARGET" >&6; }
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10380 $as_echo "no
" >&6; }
10385 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10386 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10387 set dummy ${ncn_progname}; ac_word=$2
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10389 $as_echo_n "checking
for $ac_word...
" >&6; }
10390 if ${ac_cv_prog_GCC_FOR_TARGET+:} false; then :
10391 $as_echo_n "(cached
) " >&6
10393 if test -n "$GCC_FOR_TARGET"; then
10394 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 test -z "$as_dir" && as_dir=.
10401 for ac_exec_ext in '' $ac_executable_extensions; do
10402 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10403 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10404 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10413 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10414 if test -n "$GCC_FOR_TARGET"; then
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10416 $as_echo "$GCC_FOR_TARGET" >&6; }
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10419 $as_echo "no
" >&6; }
10424 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10428 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10429 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10431 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10436 if test -n "$GFORTRAN_FOR_TARGET"; then
10437 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10438 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10439 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10442 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10443 for ncn_progname in gfortran; do
10444 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10445 set dummy ${ncn_progname}; ac_word=$2
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10447 $as_echo_n "checking
for $ac_word...
" >&6; }
10448 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10449 $as_echo_n "(cached
) " >&6
10451 if test -n "$GFORTRAN_FOR_TARGET"; then
10452 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10455 for as_dir in $PATH
10458 test -z "$as_dir" && as_dir=.
10459 for ac_exec_ext in '' $ac_executable_extensions; do
10460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10461 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10471 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10472 if test -n "$GFORTRAN_FOR_TARGET"; then
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10474 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10477 $as_echo "no
" >&6; }
10484 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10485 for ncn_progname in gfortran; do
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10487 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10488 if test -x $with_build_time_tools/${ncn_progname}; then
10489 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10491 $as_echo "yes" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10495 $as_echo "no
" >&6; }
10500 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10501 for ncn_progname in gfortran; do
10502 if test -n "$ncn_target_tool_prefix"; then
10503 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10504 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10506 $as_echo_n "checking
for $ac_word...
" >&6; }
10507 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10508 $as_echo_n "(cached
) " >&6
10510 if test -n "$GFORTRAN_FOR_TARGET"; then
10511 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10514 for as_dir in $PATH
10517 test -z "$as_dir" && as_dir=.
10518 for ac_exec_ext in '' $ac_executable_extensions; do
10519 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10520 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10521 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10530 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10531 if test -n "$GFORTRAN_FOR_TARGET"; then
10532 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10533 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10536 $as_echo "no
" >&6; }
10541 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10542 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10543 set dummy ${ncn_progname}; ac_word=$2
10544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10545 $as_echo_n "checking
for $ac_word...
" >&6; }
10546 if ${ac_cv_prog_GFORTRAN_FOR_TARGET+:} false; then :
10547 $as_echo_n "(cached
) " >&6
10549 if test -n "$GFORTRAN_FOR_TARGET"; then
10550 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10553 for as_dir in $PATH
10556 test -z "$as_dir" && as_dir=.
10557 for ac_exec_ext in '' $ac_executable_extensions; do
10558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10559 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10560 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10569 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10570 if test -n "$GFORTRAN_FOR_TARGET"; then
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10572 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10574 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10575 $as_echo "no
" >&6; }
10580 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10584 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10586 if test $build = $target ; then
10587 GFORTRAN_FOR_TARGET="$2"
10589 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10592 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10597 if test -n "$GOC_FOR_TARGET"; then
10598 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10599 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10600 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10603 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10604 for ncn_progname in gccgo; do
10605 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10606 set dummy ${ncn_progname}; ac_word=$2
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10608 $as_echo_n "checking
for $ac_word...
" >&6; }
10609 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10610 $as_echo_n "(cached
) " >&6
10612 if test -n "$GOC_FOR_TARGET"; then
10613 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10616 for as_dir in $PATH
10619 test -z "$as_dir" && as_dir=.
10620 for ac_exec_ext in '' $ac_executable_extensions; do
10621 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10622 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10623 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10632 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10633 if test -n "$GOC_FOR_TARGET"; then
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10635 $as_echo "$GOC_FOR_TARGET" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10638 $as_echo "no
" >&6; }
10645 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10646 for ncn_progname in gccgo; do
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10648 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10649 if test -x $with_build_time_tools/${ncn_progname}; then
10650 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10651 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10652 $as_echo "yes" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10656 $as_echo "no
" >&6; }
10661 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10662 for ncn_progname in gccgo; do
10663 if test -n "$ncn_target_tool_prefix"; then
10664 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10665 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10667 $as_echo_n "checking
for $ac_word...
" >&6; }
10668 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10669 $as_echo_n "(cached
) " >&6
10671 if test -n "$GOC_FOR_TARGET"; then
10672 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10675 for as_dir in $PATH
10678 test -z "$as_dir" && as_dir=.
10679 for ac_exec_ext in '' $ac_executable_extensions; do
10680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10681 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10682 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10691 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10692 if test -n "$GOC_FOR_TARGET"; then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10694 $as_echo "$GOC_FOR_TARGET" >&6; }
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10697 $as_echo "no
" >&6; }
10702 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10703 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10704 set dummy ${ncn_progname}; ac_word=$2
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10706 $as_echo_n "checking
for $ac_word...
" >&6; }
10707 if ${ac_cv_prog_GOC_FOR_TARGET+:} false; then :
10708 $as_echo_n "(cached
) " >&6
10710 if test -n "$GOC_FOR_TARGET"; then
10711 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714 for as_dir in $PATH
10717 test -z "$as_dir" && as_dir=.
10718 for ac_exec_ext in '' $ac_executable_extensions; do
10719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10720 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10721 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10730 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10731 if test -n "$GOC_FOR_TARGET"; then
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10733 $as_echo "$GOC_FOR_TARGET" >&6; }
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10736 $as_echo "no
" >&6; }
10741 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10745 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10747 if test $build = $target ; then
10748 GOC_FOR_TARGET="$2"
10750 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10753 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10758 cat > conftest.c << \EOF
10763 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10764 have_gcc_for_target=yes
10766 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10767 have_gcc_for_target=no
10774 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10775 if test -n "$with_build_time_tools"; then
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10777 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10778 if test -x $with_build_time_tools/ar; then
10779 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10780 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10781 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10782 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10785 $as_echo "no
" >&6; }
10787 elif test $build != $host && test $have_gcc_for_target = yes; then
10788 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10789 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10790 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10793 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10794 # Extract the first word of "ar", so it can be a program name with args.
10795 set dummy ar; ac_word=$2
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10797 $as_echo_n "checking
for $ac_word...
" >&6; }
10798 if ${ac_cv_path_AR_FOR_TARGET+:} false; then :
10799 $as_echo_n "(cached
) " >&6
10801 case $AR_FOR_TARGET in
10803 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10807 for as_dir in $gcc_cv_tool_dirs
10810 test -z "$as_dir" && as_dir=.
10811 for ac_exec_ext in '' $ac_executable_extensions; do
10812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10813 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10814 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10824 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
10825 if test -n "$AR_FOR_TARGET"; then
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10827 $as_echo "$AR_FOR_TARGET" >&6; }
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10830 $as_echo "no
" >&6; }
10835 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10838 if test -n "$AR_FOR_TARGET"; then
10839 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
10840 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10841 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10844 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
10845 for ncn_progname in ar; do
10846 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10847 set dummy ${ncn_progname}; ac_word=$2
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10849 $as_echo_n "checking
for $ac_word...
" >&6; }
10850 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10851 $as_echo_n "(cached
) " >&6
10853 if test -n "$AR_FOR_TARGET"; then
10854 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10857 for as_dir in $PATH
10860 test -z "$as_dir" && as_dir=.
10861 for ac_exec_ext in '' $ac_executable_extensions; do
10862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10863 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10864 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10873 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10874 if test -n "$AR_FOR_TARGET"; then
10875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10876 $as_echo "$AR_FOR_TARGET" >&6; }
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10879 $as_echo "no
" >&6; }
10886 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
10887 for ncn_progname in ar; do
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10889 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10890 if test -x $with_build_time_tools/${ncn_progname}; then
10891 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10893 $as_echo "yes" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10897 $as_echo "no
" >&6; }
10902 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
10903 for ncn_progname in ar; do
10904 if test -n "$ncn_target_tool_prefix"; then
10905 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10906 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10908 $as_echo_n "checking
for $ac_word...
" >&6; }
10909 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10910 $as_echo_n "(cached
) " >&6
10912 if test -n "$AR_FOR_TARGET"; then
10913 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10916 for as_dir in $PATH
10919 test -z "$as_dir" && as_dir=.
10920 for ac_exec_ext in '' $ac_executable_extensions; do
10921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10922 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10923 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10932 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10933 if test -n "$AR_FOR_TARGET"; then
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10935 $as_echo "$AR_FOR_TARGET" >&6; }
10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10938 $as_echo "no
" >&6; }
10943 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
10944 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10945 set dummy ${ncn_progname}; ac_word=$2
10946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10947 $as_echo_n "checking
for $ac_word...
" >&6; }
10948 if ${ac_cv_prog_AR_FOR_TARGET+:} false; then :
10949 $as_echo_n "(cached
) " >&6
10951 if test -n "$AR_FOR_TARGET"; then
10952 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
10954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10955 for as_dir in $PATH
10958 test -z "$as_dir" && as_dir=.
10959 for ac_exec_ext in '' $ac_executable_extensions; do
10960 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10961 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
10962 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10971 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
10972 if test -n "$AR_FOR_TARGET"; then
10973 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
10974 $as_echo "$AR_FOR_TARGET" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10977 $as_echo "no
" >&6; }
10982 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
10986 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
10988 if test $build = $target ; then
10991 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
10994 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
10998 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11004 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11005 if test -n "$with_build_time_tools"; then
11006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11007 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11008 if test -x $with_build_time_tools/as; then
11009 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11010 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11012 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11015 $as_echo "no
" >&6; }
11017 elif test $build != $host && test $have_gcc_for_target = yes; then
11018 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11019 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11020 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11023 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11024 # Extract the first word of "as
", so it can be a program name with args.
11025 set dummy as; ac_word=$2
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11027 $as_echo_n "checking
for $ac_word...
" >&6; }
11028 if ${ac_cv_path_AS_FOR_TARGET+:} false; then :
11029 $as_echo_n "(cached
) " >&6
11031 case $AS_FOR_TARGET in
11033 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11037 for as_dir in $gcc_cv_tool_dirs
11040 test -z "$as_dir" && as_dir=.
11041 for ac_exec_ext in '' $ac_executable_extensions; do
11042 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11043 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11054 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11055 if test -n "$AS_FOR_TARGET"; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11057 $as_echo "$AS_FOR_TARGET" >&6; }
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11060 $as_echo "no
" >&6; }
11065 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11068 if test -n "$AS_FOR_TARGET"; then
11069 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11070 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11071 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11074 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11075 for ncn_progname in as; do
11076 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11077 set dummy ${ncn_progname}; ac_word=$2
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11079 $as_echo_n "checking
for $ac_word...
" >&6; }
11080 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11081 $as_echo_n "(cached
) " >&6
11083 if test -n "$AS_FOR_TARGET"; then
11084 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11087 for as_dir in $PATH
11090 test -z "$as_dir" && as_dir=.
11091 for ac_exec_ext in '' $ac_executable_extensions; do
11092 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11093 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11094 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11103 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11104 if test -n "$AS_FOR_TARGET"; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11106 $as_echo "$AS_FOR_TARGET" >&6; }
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11109 $as_echo "no
" >&6; }
11116 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11117 for ncn_progname in as; do
11118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11119 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11120 if test -x $with_build_time_tools/${ncn_progname}; then
11121 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11123 $as_echo "yes" >&6; }
11126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11127 $as_echo "no
" >&6; }
11132 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11133 for ncn_progname in as; do
11134 if test -n "$ncn_target_tool_prefix"; then
11135 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11136 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11138 $as_echo_n "checking
for $ac_word...
" >&6; }
11139 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11140 $as_echo_n "(cached
) " >&6
11142 if test -n "$AS_FOR_TARGET"; then
11143 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11146 for as_dir in $PATH
11149 test -z "$as_dir" && as_dir=.
11150 for ac_exec_ext in '' $ac_executable_extensions; do
11151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11152 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11153 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11162 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11163 if test -n "$AS_FOR_TARGET"; then
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11165 $as_echo "$AS_FOR_TARGET" >&6; }
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11168 $as_echo "no
" >&6; }
11173 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11174 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11175 set dummy ${ncn_progname}; ac_word=$2
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11177 $as_echo_n "checking
for $ac_word...
" >&6; }
11178 if ${ac_cv_prog_AS_FOR_TARGET+:} false; then :
11179 $as_echo_n "(cached
) " >&6
11181 if test -n "$AS_FOR_TARGET"; then
11182 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11185 for as_dir in $PATH
11188 test -z "$as_dir" && as_dir=.
11189 for ac_exec_ext in '' $ac_executable_extensions; do
11190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11191 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11192 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11201 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11202 if test -n "$AS_FOR_TARGET"; then
11203 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11204 $as_echo "$AS_FOR_TARGET" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11207 $as_echo "no
" >&6; }
11212 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11216 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11218 if test $build = $target ; then
11221 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11224 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11228 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11234 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11235 if test -n "$with_build_time_tools"; then
11236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11237 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11238 if test -x $with_build_time_tools/dlltool; then
11239 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11240 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11242 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11245 $as_echo "no
" >&6; }
11247 elif test $build != $host && test $have_gcc_for_target = yes; then
11248 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11249 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11250 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11253 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11254 # Extract the first word of "dlltool
", so it can be a program name with args.
11255 set dummy dlltool; ac_word=$2
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11257 $as_echo_n "checking
for $ac_word...
" >&6; }
11258 if ${ac_cv_path_DLLTOOL_FOR_TARGET+:} false; then :
11259 $as_echo_n "(cached
) " >&6
11261 case $DLLTOOL_FOR_TARGET in
11263 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11267 for as_dir in $gcc_cv_tool_dirs
11270 test -z "$as_dir" && as_dir=.
11271 for ac_exec_ext in '' $ac_executable_extensions; do
11272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11273 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11274 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11284 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11285 if test -n "$DLLTOOL_FOR_TARGET"; then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11287 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11290 $as_echo "no
" >&6; }
11295 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11298 if test -n "$DLLTOOL_FOR_TARGET"; then
11299 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11300 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11301 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11304 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11305 for ncn_progname in dlltool; do
11306 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11307 set dummy ${ncn_progname}; ac_word=$2
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11309 $as_echo_n "checking
for $ac_word...
" >&6; }
11310 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11311 $as_echo_n "(cached
) " >&6
11313 if test -n "$DLLTOOL_FOR_TARGET"; then
11314 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11317 for as_dir in $PATH
11320 test -z "$as_dir" && as_dir=.
11321 for ac_exec_ext in '' $ac_executable_extensions; do
11322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11323 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11324 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11333 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11334 if test -n "$DLLTOOL_FOR_TARGET"; then
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11336 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11339 $as_echo "no
" >&6; }
11346 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11347 for ncn_progname in dlltool; do
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11349 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11350 if test -x $with_build_time_tools/${ncn_progname}; then
11351 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11353 $as_echo "yes" >&6; }
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11357 $as_echo "no
" >&6; }
11362 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11363 for ncn_progname in dlltool; do
11364 if test -n "$ncn_target_tool_prefix"; then
11365 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11366 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11368 $as_echo_n "checking
for $ac_word...
" >&6; }
11369 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11370 $as_echo_n "(cached
) " >&6
11372 if test -n "$DLLTOOL_FOR_TARGET"; then
11373 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11376 for as_dir in $PATH
11379 test -z "$as_dir" && as_dir=.
11380 for ac_exec_ext in '' $ac_executable_extensions; do
11381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11382 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11392 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11393 if test -n "$DLLTOOL_FOR_TARGET"; then
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11395 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11398 $as_echo "no
" >&6; }
11403 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11404 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11405 set dummy ${ncn_progname}; ac_word=$2
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11407 $as_echo_n "checking
for $ac_word...
" >&6; }
11408 if ${ac_cv_prog_DLLTOOL_FOR_TARGET+:} false; then :
11409 $as_echo_n "(cached
) " >&6
11411 if test -n "$DLLTOOL_FOR_TARGET"; then
11412 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11415 for as_dir in $PATH
11418 test -z "$as_dir" && as_dir=.
11419 for ac_exec_ext in '' $ac_executable_extensions; do
11420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11421 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11431 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11432 if test -n "$DLLTOOL_FOR_TARGET"; then
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11434 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11437 $as_echo "no
" >&6; }
11442 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11446 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11448 if test $build = $target ; then
11449 DLLTOOL_FOR_TARGET="$2"
11451 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11454 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11458 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11464 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11465 if test -n "$with_build_time_tools"; then
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11467 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11468 if test -x $with_build_time_tools/ld; then
11469 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11470 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11472 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11475 $as_echo "no
" >&6; }
11477 elif test $build != $host && test $have_gcc_for_target = yes; then
11478 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11479 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11480 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11483 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11484 # Extract the first word of "ld
", so it can be a program name with args.
11485 set dummy ld; ac_word=$2
11486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11487 $as_echo_n "checking
for $ac_word...
" >&6; }
11488 if ${ac_cv_path_LD_FOR_TARGET+:} false; then :
11489 $as_echo_n "(cached
) " >&6
11491 case $LD_FOR_TARGET in
11493 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11497 for as_dir in $gcc_cv_tool_dirs
11500 test -z "$as_dir" && as_dir=.
11501 for ac_exec_ext in '' $ac_executable_extensions; do
11502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11503 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11504 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11514 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11515 if test -n "$LD_FOR_TARGET"; then
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11517 $as_echo "$LD_FOR_TARGET" >&6; }
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11520 $as_echo "no
" >&6; }
11525 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11528 if test -n "$LD_FOR_TARGET"; then
11529 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11530 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11531 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11534 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11535 for ncn_progname in ld; do
11536 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11537 set dummy ${ncn_progname}; ac_word=$2
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11539 $as_echo_n "checking
for $ac_word...
" >&6; }
11540 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11541 $as_echo_n "(cached
) " >&6
11543 if test -n "$LD_FOR_TARGET"; then
11544 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11547 for as_dir in $PATH
11550 test -z "$as_dir" && as_dir=.
11551 for ac_exec_ext in '' $ac_executable_extensions; do
11552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11553 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11563 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11564 if test -n "$LD_FOR_TARGET"; then
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11566 $as_echo "$LD_FOR_TARGET" >&6; }
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11569 $as_echo "no
" >&6; }
11576 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11577 for ncn_progname in ld; do
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11579 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11580 if test -x $with_build_time_tools/${ncn_progname}; then
11581 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11583 $as_echo "yes" >&6; }
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11587 $as_echo "no
" >&6; }
11592 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11593 for ncn_progname in ld; do
11594 if test -n "$ncn_target_tool_prefix"; then
11595 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11596 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11598 $as_echo_n "checking
for $ac_word...
" >&6; }
11599 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11600 $as_echo_n "(cached
) " >&6
11602 if test -n "$LD_FOR_TARGET"; then
11603 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11612 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11622 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11623 if test -n "$LD_FOR_TARGET"; then
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11625 $as_echo "$LD_FOR_TARGET" >&6; }
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11628 $as_echo "no
" >&6; }
11633 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11634 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11635 set dummy ${ncn_progname}; ac_word=$2
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11637 $as_echo_n "checking
for $ac_word...
" >&6; }
11638 if ${ac_cv_prog_LD_FOR_TARGET+:} false; then :
11639 $as_echo_n "(cached
) " >&6
11641 if test -n "$LD_FOR_TARGET"; then
11642 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11645 for as_dir in $PATH
11648 test -z "$as_dir" && as_dir=.
11649 for ac_exec_ext in '' $ac_executable_extensions; do
11650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11651 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11652 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11661 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11662 if test -n "$LD_FOR_TARGET"; then
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11664 $as_echo "$LD_FOR_TARGET" >&6; }
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11667 $as_echo "no
" >&6; }
11672 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11676 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11678 if test $build = $target ; then
11681 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11684 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11688 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11694 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11695 if test -n "$with_build_time_tools"; then
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11697 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11698 if test -x $with_build_time_tools/lipo; then
11699 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11700 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11702 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11705 $as_echo "no
" >&6; }
11707 elif test $build != $host && test $have_gcc_for_target = yes; then
11708 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11709 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11710 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11713 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11714 # Extract the first word of "lipo
", so it can be a program name with args.
11715 set dummy lipo; ac_word=$2
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11717 $as_echo_n "checking
for $ac_word...
" >&6; }
11718 if ${ac_cv_path_LIPO_FOR_TARGET+:} false; then :
11719 $as_echo_n "(cached
) " >&6
11721 case $LIPO_FOR_TARGET in
11723 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11727 for as_dir in $gcc_cv_tool_dirs
11730 test -z "$as_dir" && as_dir=.
11731 for ac_exec_ext in '' $ac_executable_extensions; do
11732 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11733 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11734 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11744 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11745 if test -n "$LIPO_FOR_TARGET"; then
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11747 $as_echo "$LIPO_FOR_TARGET" >&6; }
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11750 $as_echo "no
" >&6; }
11755 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11758 if test -n "$LIPO_FOR_TARGET"; then
11759 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11760 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11761 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11764 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11765 for ncn_progname in lipo; do
11766 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11767 set dummy ${ncn_progname}; ac_word=$2
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11769 $as_echo_n "checking
for $ac_word...
" >&6; }
11770 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11771 $as_echo_n "(cached
) " >&6
11773 if test -n "$LIPO_FOR_TARGET"; then
11774 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11777 for as_dir in $PATH
11780 test -z "$as_dir" && as_dir=.
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11783 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11793 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11794 if test -n "$LIPO_FOR_TARGET"; then
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11796 $as_echo "$LIPO_FOR_TARGET" >&6; }
11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11799 $as_echo "no
" >&6; }
11806 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11807 for ncn_progname in lipo; do
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11809 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11810 if test -x $with_build_time_tools/${ncn_progname}; then
11811 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11813 $as_echo "yes" >&6; }
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11817 $as_echo "no
" >&6; }
11822 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
11823 for ncn_progname in lipo; do
11824 if test -n "$ncn_target_tool_prefix"; then
11825 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11826 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11828 $as_echo_n "checking
for $ac_word...
" >&6; }
11829 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11830 $as_echo_n "(cached
) " >&6
11832 if test -n "$LIPO_FOR_TARGET"; then
11833 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11836 for as_dir in $PATH
11839 test -z "$as_dir" && as_dir=.
11840 for ac_exec_ext in '' $ac_executable_extensions; do
11841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11842 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11843 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11852 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11853 if test -n "$LIPO_FOR_TARGET"; then
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11855 $as_echo "$LIPO_FOR_TARGET" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11858 $as_echo "no
" >&6; }
11863 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
11864 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11865 set dummy ${ncn_progname}; ac_word=$2
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11867 $as_echo_n "checking
for $ac_word...
" >&6; }
11868 if ${ac_cv_prog_LIPO_FOR_TARGET+:} false; then :
11869 $as_echo_n "(cached
) " >&6
11871 if test -n "$LIPO_FOR_TARGET"; then
11872 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875 for as_dir in $PATH
11878 test -z "$as_dir" && as_dir=.
11879 for ac_exec_ext in '' $ac_executable_extensions; do
11880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11881 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11882 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11891 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11892 if test -n "$LIPO_FOR_TARGET"; then
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11894 $as_echo "$LIPO_FOR_TARGET" >&6; }
11896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11897 $as_echo "no
" >&6; }
11902 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
11906 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
11908 if test $build = $target ; then
11909 LIPO_FOR_TARGET="$2"
11911 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
11914 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
11918 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11924 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11925 if test -n "$with_build_time_tools"; then
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
11927 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
11928 if test -x $with_build_time_tools/nm; then
11929 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
11930 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
11932 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11935 $as_echo "no
" >&6; }
11937 elif test $build != $host && test $have_gcc_for_target = yes; then
11938 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
11939 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
11940 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
11943 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11944 # Extract the first word of "nm
", so it can be a program name with args.
11945 set dummy nm; ac_word=$2
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11947 $as_echo_n "checking
for $ac_word...
" >&6; }
11948 if ${ac_cv_path_NM_FOR_TARGET+:} false; then :
11949 $as_echo_n "(cached
) " >&6
11951 case $NM_FOR_TARGET in
11953 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
11956 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11957 for as_dir in $gcc_cv_tool_dirs
11960 test -z "$as_dir" && as_dir=.
11961 for ac_exec_ext in '' $ac_executable_extensions; do
11962 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11963 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11964 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11974 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
11975 if test -n "$NM_FOR_TARGET"; then
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
11977 $as_echo "$NM_FOR_TARGET" >&6; }
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11980 $as_echo "no
" >&6; }
11985 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
11988 if test -n "$NM_FOR_TARGET"; then
11989 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
11990 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11991 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
11994 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
11995 for ncn_progname in nm; do
11996 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11997 set dummy ${ncn_progname}; ac_word=$2
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11999 $as_echo_n "checking
for $ac_word...
" >&6; }
12000 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12001 $as_echo_n "(cached
) " >&6
12003 if test -n "$NM_FOR_TARGET"; then
12004 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12007 for as_dir in $PATH
12010 test -z "$as_dir" && as_dir=.
12011 for ac_exec_ext in '' $ac_executable_extensions; do
12012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12013 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12014 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12023 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12024 if test -n "$NM_FOR_TARGET"; then
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12026 $as_echo "$NM_FOR_TARGET" >&6; }
12028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12029 $as_echo "no
" >&6; }
12036 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12037 for ncn_progname in nm; do
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12039 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12040 if test -x $with_build_time_tools/${ncn_progname}; then
12041 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12043 $as_echo "yes" >&6; }
12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12047 $as_echo "no
" >&6; }
12052 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12053 for ncn_progname in nm; do
12054 if test -n "$ncn_target_tool_prefix"; then
12055 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12056 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12058 $as_echo_n "checking
for $ac_word...
" >&6; }
12059 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12060 $as_echo_n "(cached
) " >&6
12062 if test -n "$NM_FOR_TARGET"; then
12063 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12066 for as_dir in $PATH
12069 test -z "$as_dir" && as_dir=.
12070 for ac_exec_ext in '' $ac_executable_extensions; do
12071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12072 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12073 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12082 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12083 if test -n "$NM_FOR_TARGET"; then
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12085 $as_echo "$NM_FOR_TARGET" >&6; }
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12088 $as_echo "no
" >&6; }
12093 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12094 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12095 set dummy ${ncn_progname}; ac_word=$2
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12097 $as_echo_n "checking
for $ac_word...
" >&6; }
12098 if ${ac_cv_prog_NM_FOR_TARGET+:} false; then :
12099 $as_echo_n "(cached
) " >&6
12101 if test -n "$NM_FOR_TARGET"; then
12102 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12105 for as_dir in $PATH
12108 test -z "$as_dir" && as_dir=.
12109 for ac_exec_ext in '' $ac_executable_extensions; do
12110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12111 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12112 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12121 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12122 if test -n "$NM_FOR_TARGET"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12124 $as_echo "$NM_FOR_TARGET" >&6; }
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12127 $as_echo "no
" >&6; }
12132 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12136 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12138 if test $build = $target ; then
12141 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12144 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12148 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12154 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12155 if test -n "$with_build_time_tools"; then
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objcopy
in $with_build_time_tools" >&5
12157 $as_echo_n "checking
for objcopy
in $with_build_time_tools...
" >&6; }
12158 if test -x $with_build_time_tools/objcopy; then
12159 OBJCOPY_FOR_TARGET=`cd $with_build_time_tools && pwd`/objcopy
12160 ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJCOPY_FOR_TARGET" >&5
12162 $as_echo "$ac_cv_path_OBJCOPY_FOR_TARGET" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12165 $as_echo "no
" >&6; }
12167 elif test $build != $host && test $have_gcc_for_target = yes; then
12168 OBJCOPY_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objcopy`
12169 test $OBJCOPY_FOR_TARGET = objcopy && OBJCOPY_FOR_TARGET=
12170 test -n "$OBJCOPY_FOR_TARGET" && ac_cv_path_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12173 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12174 # Extract the first word of "objcopy
", so it can be a program name with args.
12175 set dummy objcopy; ac_word=$2
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12177 $as_echo_n "checking
for $ac_word...
" >&6; }
12178 if ${ac_cv_path_OBJCOPY_FOR_TARGET+:} false; then :
12179 $as_echo_n "(cached
) " >&6
12181 case $OBJCOPY_FOR_TARGET in
12183 ac_cv_path_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test with a path.
12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12187 for as_dir in $gcc_cv_tool_dirs
12190 test -z "$as_dir" && as_dir=.
12191 for ac_exec_ext in '' $ac_executable_extensions; do
12192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12193 ac_cv_path_OBJCOPY_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12194 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12204 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12205 if test -n "$OBJCOPY_FOR_TARGET"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12207 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12210 $as_echo "no
" >&6; }
12215 if test -z "$ac_cv_path_OBJCOPY_FOR_TARGET" ; then
12218 if test -n "$OBJCOPY_FOR_TARGET"; then
12219 ac_cv_prog_OBJCOPY_FOR_TARGET=$OBJCOPY_FOR_TARGET
12220 elif test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12221 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12224 if test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12225 for ncn_progname in objcopy; do
12226 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12227 set dummy ${ncn_progname}; ac_word=$2
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12229 $as_echo_n "checking
for $ac_word...
" >&6; }
12230 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12231 $as_echo_n "(cached
) " >&6
12233 if test -n "$OBJCOPY_FOR_TARGET"; then
12234 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12237 for as_dir in $PATH
12240 test -z "$as_dir" && as_dir=.
12241 for ac_exec_ext in '' $ac_executable_extensions; do
12242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12243 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12244 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12253 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12254 if test -n "$OBJCOPY_FOR_TARGET"; then
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12256 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12259 $as_echo "no
" >&6; }
12266 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test -n "$with_build_time_tools"; then
12267 for ncn_progname in objcopy; do
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12269 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12270 if test -x $with_build_time_tools/${ncn_progname}; then
12271 ac_cv_prog_OBJCOPY_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12273 $as_echo "yes" >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12277 $as_echo "no
" >&6; }
12282 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET"; then
12283 for ncn_progname in objcopy; do
12284 if test -n "$ncn_target_tool_prefix"; then
12285 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12286 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12288 $as_echo_n "checking
for $ac_word...
" >&6; }
12289 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12290 $as_echo_n "(cached
) " >&6
12292 if test -n "$OBJCOPY_FOR_TARGET"; then
12293 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12296 for as_dir in $PATH
12299 test -z "$as_dir" && as_dir=.
12300 for ac_exec_ext in '' $ac_executable_extensions; do
12301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12302 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12312 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12313 if test -n "$OBJCOPY_FOR_TARGET"; then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12315 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12318 $as_echo "no
" >&6; }
12323 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" && test $build = $target ; then
12324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12325 set dummy ${ncn_progname}; ac_word=$2
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12327 $as_echo_n "checking
for $ac_word...
" >&6; }
12328 if ${ac_cv_prog_OBJCOPY_FOR_TARGET+:} false; then :
12329 $as_echo_n "(cached
) " >&6
12331 if test -n "$OBJCOPY_FOR_TARGET"; then
12332 ac_cv_prog_OBJCOPY_FOR_TARGET="$OBJCOPY_FOR_TARGET" # Let the user override the test.
12334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12335 for as_dir in $PATH
12338 test -z "$as_dir" && as_dir=.
12339 for ac_exec_ext in '' $ac_executable_extensions; do
12340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12341 ac_cv_prog_OBJCOPY_FOR_TARGET="${ncn_progname}"
12342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12351 OBJCOPY_FOR_TARGET=$ac_cv_prog_OBJCOPY_FOR_TARGET
12352 if test -n "$OBJCOPY_FOR_TARGET"; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY_FOR_TARGET" >&5
12354 $as_echo "$OBJCOPY_FOR_TARGET" >&6; }
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12357 $as_echo "no
" >&6; }
12362 test -n "$ac_cv_prog_OBJCOPY_FOR_TARGET" && break
12366 if test -z "$ac_cv_prog_OBJCOPY_FOR_TARGET" ; then
12368 if test $build = $target ; then
12369 OBJCOPY_FOR_TARGET="$2"
12371 OBJCOPY_FOR_TARGET="${ncn_target_tool_prefix}$2"
12374 OBJCOPY_FOR_TARGET="$ac_cv_prog_OBJCOPY_FOR_TARGET"
12378 OBJCOPY_FOR_TARGET=$ac_cv_path_OBJCOPY_FOR_TARGET
12384 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12385 if test -n "$with_build_time_tools"; then
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12387 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12388 if test -x $with_build_time_tools/objdump; then
12389 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12390 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12392 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12395 $as_echo "no
" >&6; }
12397 elif test $build != $host && test $have_gcc_for_target = yes; then
12398 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12399 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12400 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12403 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12404 # Extract the first word of "objdump
", so it can be a program name with args.
12405 set dummy objdump; ac_word=$2
12406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12407 $as_echo_n "checking
for $ac_word...
" >&6; }
12408 if ${ac_cv_path_OBJDUMP_FOR_TARGET+:} false; then :
12409 $as_echo_n "(cached
) " >&6
12411 case $OBJDUMP_FOR_TARGET in
12413 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12417 for as_dir in $gcc_cv_tool_dirs
12420 test -z "$as_dir" && as_dir=.
12421 for ac_exec_ext in '' $ac_executable_extensions; do
12422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12423 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12424 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12434 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12435 if test -n "$OBJDUMP_FOR_TARGET"; then
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12437 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12440 $as_echo "no
" >&6; }
12445 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12448 if test -n "$OBJDUMP_FOR_TARGET"; then
12449 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12450 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12451 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12454 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12455 for ncn_progname in objdump; do
12456 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12457 set dummy ${ncn_progname}; ac_word=$2
12458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12459 $as_echo_n "checking
for $ac_word...
" >&6; }
12460 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12461 $as_echo_n "(cached
) " >&6
12463 if test -n "$OBJDUMP_FOR_TARGET"; then
12464 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12467 for as_dir in $PATH
12470 test -z "$as_dir" && as_dir=.
12471 for ac_exec_ext in '' $ac_executable_extensions; do
12472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12473 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12474 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12483 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12484 if test -n "$OBJDUMP_FOR_TARGET"; then
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12486 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12489 $as_echo "no
" >&6; }
12496 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12497 for ncn_progname in objdump; do
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12499 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12500 if test -x $with_build_time_tools/${ncn_progname}; then
12501 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12503 $as_echo "yes" >&6; }
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12507 $as_echo "no
" >&6; }
12512 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12513 for ncn_progname in objdump; do
12514 if test -n "$ncn_target_tool_prefix"; then
12515 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12516 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12518 $as_echo_n "checking
for $ac_word...
" >&6; }
12519 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12520 $as_echo_n "(cached
) " >&6
12522 if test -n "$OBJDUMP_FOR_TARGET"; then
12523 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12526 for as_dir in $PATH
12529 test -z "$as_dir" && as_dir=.
12530 for ac_exec_ext in '' $ac_executable_extensions; do
12531 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12532 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12533 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12542 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12543 if test -n "$OBJDUMP_FOR_TARGET"; then
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12545 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12548 $as_echo "no
" >&6; }
12553 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12554 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12555 set dummy ${ncn_progname}; ac_word=$2
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12557 $as_echo_n "checking
for $ac_word...
" >&6; }
12558 if ${ac_cv_prog_OBJDUMP_FOR_TARGET+:} false; then :
12559 $as_echo_n "(cached
) " >&6
12561 if test -n "$OBJDUMP_FOR_TARGET"; then
12562 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12565 for as_dir in $PATH
12568 test -z "$as_dir" && as_dir=.
12569 for ac_exec_ext in '' $ac_executable_extensions; do
12570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12571 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12572 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12581 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12582 if test -n "$OBJDUMP_FOR_TARGET"; then
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12584 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12587 $as_echo "no
" >&6; }
12592 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12596 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12598 if test $build = $target ; then
12599 OBJDUMP_FOR_TARGET="$2"
12601 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12604 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12608 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12614 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12615 if test -n "$with_build_time_tools"; then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12617 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12618 if test -x $with_build_time_tools/ranlib; then
12619 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12620 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12622 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12625 $as_echo "no
" >&6; }
12627 elif test $build != $host && test $have_gcc_for_target = yes; then
12628 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12629 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12630 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12633 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12634 # Extract the first word of "ranlib
", so it can be a program name with args.
12635 set dummy ranlib; ac_word=$2
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12637 $as_echo_n "checking
for $ac_word...
" >&6; }
12638 if ${ac_cv_path_RANLIB_FOR_TARGET+:} false; then :
12639 $as_echo_n "(cached
) " >&6
12641 case $RANLIB_FOR_TARGET in
12643 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12647 for as_dir in $gcc_cv_tool_dirs
12650 test -z "$as_dir" && as_dir=.
12651 for ac_exec_ext in '' $ac_executable_extensions; do
12652 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12653 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12654 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12664 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12665 if test -n "$RANLIB_FOR_TARGET"; then
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12667 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12670 $as_echo "no
" >&6; }
12675 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12678 if test -n "$RANLIB_FOR_TARGET"; then
12679 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12680 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12681 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12684 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12685 for ncn_progname in ranlib; do
12686 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12687 set dummy ${ncn_progname}; ac_word=$2
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12689 $as_echo_n "checking
for $ac_word...
" >&6; }
12690 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12691 $as_echo_n "(cached
) " >&6
12693 if test -n "$RANLIB_FOR_TARGET"; then
12694 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12697 for as_dir in $PATH
12700 test -z "$as_dir" && as_dir=.
12701 for ac_exec_ext in '' $ac_executable_extensions; do
12702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12703 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12704 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12713 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12714 if test -n "$RANLIB_FOR_TARGET"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12716 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12719 $as_echo "no
" >&6; }
12726 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12727 for ncn_progname in ranlib; do
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12729 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12730 if test -x $with_build_time_tools/${ncn_progname}; then
12731 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12733 $as_echo "yes" >&6; }
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12737 $as_echo "no
" >&6; }
12742 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12743 for ncn_progname in ranlib; do
12744 if test -n "$ncn_target_tool_prefix"; then
12745 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12746 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12748 $as_echo_n "checking
for $ac_word...
" >&6; }
12749 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12750 $as_echo_n "(cached
) " >&6
12752 if test -n "$RANLIB_FOR_TARGET"; then
12753 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12756 for as_dir in $PATH
12759 test -z "$as_dir" && as_dir=.
12760 for ac_exec_ext in '' $ac_executable_extensions; do
12761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12762 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12763 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12772 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12773 if test -n "$RANLIB_FOR_TARGET"; then
12774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12775 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12777 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12778 $as_echo "no
" >&6; }
12783 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12784 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12785 set dummy ${ncn_progname}; ac_word=$2
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12787 $as_echo_n "checking
for $ac_word...
" >&6; }
12788 if ${ac_cv_prog_RANLIB_FOR_TARGET+:} false; then :
12789 $as_echo_n "(cached
) " >&6
12791 if test -n "$RANLIB_FOR_TARGET"; then
12792 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12795 for as_dir in $PATH
12798 test -z "$as_dir" && as_dir=.
12799 for ac_exec_ext in '' $ac_executable_extensions; do
12800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12801 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12802 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12811 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12812 if test -n "$RANLIB_FOR_TARGET"; then
12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12814 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12817 $as_echo "no
" >&6; }
12822 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12826 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12828 if test $build = $target ; then
12829 RANLIB_FOR_TARGET="$2"
12831 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12834 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12838 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12844 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12845 if test -n "$with_build_time_tools"; then
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12847 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12848 if test -x $with_build_time_tools/readelf; then
12849 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12850 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12852 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12855 $as_echo "no
" >&6; }
12857 elif test $build != $host && test $have_gcc_for_target = yes; then
12858 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12859 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12860 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12863 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12864 # Extract the first word of "readelf
", so it can be a program name with args.
12865 set dummy readelf; ac_word=$2
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12867 $as_echo_n "checking
for $ac_word...
" >&6; }
12868 if ${ac_cv_path_READELF_FOR_TARGET+:} false; then :
12869 $as_echo_n "(cached
) " >&6
12871 case $READELF_FOR_TARGET in
12873 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877 for as_dir in $gcc_cv_tool_dirs
12880 test -z "$as_dir" && as_dir=.
12881 for ac_exec_ext in '' $ac_executable_extensions; do
12882 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12883 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12884 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12894 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12895 if test -n "$READELF_FOR_TARGET"; then
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12897 $as_echo "$READELF_FOR_TARGET" >&6; }
12899 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12900 $as_echo "no
" >&6; }
12905 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12908 if test -n "$READELF_FOR_TARGET"; then
12909 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12910 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12911 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12914 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12915 for ncn_progname in readelf; do
12916 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12917 set dummy ${ncn_progname}; ac_word=$2
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12919 $as_echo_n "checking
for $ac_word...
" >&6; }
12920 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
12921 $as_echo_n "(cached
) " >&6
12923 if test -n "$READELF_FOR_TARGET"; then
12924 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12927 for as_dir in $PATH
12930 test -z "$as_dir" && as_dir=.
12931 for ac_exec_ext in '' $ac_executable_extensions; do
12932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12933 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12934 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12943 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12944 if test -n "$READELF_FOR_TARGET"; then
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12946 $as_echo "$READELF_FOR_TARGET" >&6; }
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12949 $as_echo "no
" >&6; }
12956 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12957 for ncn_progname in readelf; do
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12959 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12960 if test -x $with_build_time_tools/${ncn_progname}; then
12961 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12963 $as_echo "yes" >&6; }
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12967 $as_echo "no
" >&6; }
12972 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12973 for ncn_progname in readelf; do
12974 if test -n "$ncn_target_tool_prefix"; then
12975 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12976 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12978 $as_echo_n "checking
for $ac_word...
" >&6; }
12979 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
12980 $as_echo_n "(cached
) " >&6
12982 if test -n "$READELF_FOR_TARGET"; then
12983 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12986 for as_dir in $PATH
12989 test -z "$as_dir" && as_dir=.
12990 for ac_exec_ext in '' $ac_executable_extensions; do
12991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12992 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12993 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13002 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13003 if test -n "$READELF_FOR_TARGET"; then
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13005 $as_echo "$READELF_FOR_TARGET" >&6; }
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13008 $as_echo "no
" >&6; }
13013 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
13014 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13015 set dummy ${ncn_progname}; ac_word=$2
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13017 $as_echo_n "checking
for $ac_word...
" >&6; }
13018 if ${ac_cv_prog_READELF_FOR_TARGET+:} false; then :
13019 $as_echo_n "(cached
) " >&6
13021 if test -n "$READELF_FOR_TARGET"; then
13022 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
13024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13025 for as_dir in $PATH
13028 test -z "$as_dir" && as_dir=.
13029 for ac_exec_ext in '' $ac_executable_extensions; do
13030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13031 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
13032 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13041 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
13042 if test -n "$READELF_FOR_TARGET"; then
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
13044 $as_echo "$READELF_FOR_TARGET" >&6; }
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13047 $as_echo "no
" >&6; }
13052 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13056 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13058 if test $build = $target ; then
13059 READELF_FOR_TARGET="$2"
13061 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13064 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13068 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13074 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13075 if test -n "$with_build_time_tools"; then
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13077 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13078 if test -x $with_build_time_tools/strip; then
13079 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13080 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13082 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13085 $as_echo "no
" >&6; }
13087 elif test $build != $host && test $have_gcc_for_target = yes; then
13088 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13089 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13090 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13093 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13094 # Extract the first word of "strip
", so it can be a program name with args.
13095 set dummy strip; ac_word=$2
13096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13097 $as_echo_n "checking
for $ac_word...
" >&6; }
13098 if ${ac_cv_path_STRIP_FOR_TARGET+:} false; then :
13099 $as_echo_n "(cached
) " >&6
13101 case $STRIP_FOR_TARGET in
13103 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13107 for as_dir in $gcc_cv_tool_dirs
13110 test -z "$as_dir" && as_dir=.
13111 for ac_exec_ext in '' $ac_executable_extensions; do
13112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13113 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13114 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13124 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13125 if test -n "$STRIP_FOR_TARGET"; then
13126 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13127 $as_echo "$STRIP_FOR_TARGET" >&6; }
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13130 $as_echo "no
" >&6; }
13135 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13138 if test -n "$STRIP_FOR_TARGET"; then
13139 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13140 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13141 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13144 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13145 for ncn_progname in strip; do
13146 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13147 set dummy ${ncn_progname}; ac_word=$2
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13149 $as_echo_n "checking
for $ac_word...
" >&6; }
13150 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13151 $as_echo_n "(cached
) " >&6
13153 if test -n "$STRIP_FOR_TARGET"; then
13154 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13157 for as_dir in $PATH
13160 test -z "$as_dir" && as_dir=.
13161 for ac_exec_ext in '' $ac_executable_extensions; do
13162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13163 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13164 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13173 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13174 if test -n "$STRIP_FOR_TARGET"; then
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13176 $as_echo "$STRIP_FOR_TARGET" >&6; }
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13179 $as_echo "no
" >&6; }
13186 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13187 for ncn_progname in strip; do
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13189 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13190 if test -x $with_build_time_tools/${ncn_progname}; then
13191 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13193 $as_echo "yes" >&6; }
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13197 $as_echo "no
" >&6; }
13202 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13203 for ncn_progname in strip; do
13204 if test -n "$ncn_target_tool_prefix"; then
13205 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13206 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13208 $as_echo_n "checking
for $ac_word...
" >&6; }
13209 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13210 $as_echo_n "(cached
) " >&6
13212 if test -n "$STRIP_FOR_TARGET"; then
13213 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13216 for as_dir in $PATH
13219 test -z "$as_dir" && as_dir=.
13220 for ac_exec_ext in '' $ac_executable_extensions; do
13221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13222 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13223 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13232 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13233 if test -n "$STRIP_FOR_TARGET"; then
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13235 $as_echo "$STRIP_FOR_TARGET" >&6; }
13237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13238 $as_echo "no
" >&6; }
13243 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13244 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13245 set dummy ${ncn_progname}; ac_word=$2
13246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13247 $as_echo_n "checking
for $ac_word...
" >&6; }
13248 if ${ac_cv_prog_STRIP_FOR_TARGET+:} false; then :
13249 $as_echo_n "(cached
) " >&6
13251 if test -n "$STRIP_FOR_TARGET"; then
13252 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13255 for as_dir in $PATH
13258 test -z "$as_dir" && as_dir=.
13259 for ac_exec_ext in '' $ac_executable_extensions; do
13260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13261 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13262 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13271 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13272 if test -n "$STRIP_FOR_TARGET"; then
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13274 $as_echo "$STRIP_FOR_TARGET" >&6; }
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13277 $as_echo "no
" >&6; }
13282 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13286 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13288 if test $build = $target ; then
13289 STRIP_FOR_TARGET="$2"
13291 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13294 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13298 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13304 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13305 if test -n "$with_build_time_tools"; then
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13307 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13308 if test -x $with_build_time_tools/windres; then
13309 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13310 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13312 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13315 $as_echo "no
" >&6; }
13317 elif test $build != $host && test $have_gcc_for_target = yes; then
13318 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13319 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13320 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13323 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13324 # Extract the first word of "windres
", so it can be a program name with args.
13325 set dummy windres; ac_word=$2
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13327 $as_echo_n "checking
for $ac_word...
" >&6; }
13328 if ${ac_cv_path_WINDRES_FOR_TARGET+:} false; then :
13329 $as_echo_n "(cached
) " >&6
13331 case $WINDRES_FOR_TARGET in
13333 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13337 for as_dir in $gcc_cv_tool_dirs
13340 test -z "$as_dir" && as_dir=.
13341 for ac_exec_ext in '' $ac_executable_extensions; do
13342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13343 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13354 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13355 if test -n "$WINDRES_FOR_TARGET"; then
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13357 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13360 $as_echo "no
" >&6; }
13365 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13368 if test -n "$WINDRES_FOR_TARGET"; then
13369 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13370 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13371 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13374 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13375 for ncn_progname in windres; do
13376 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13377 set dummy ${ncn_progname}; ac_word=$2
13378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13379 $as_echo_n "checking
for $ac_word...
" >&6; }
13380 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13381 $as_echo_n "(cached
) " >&6
13383 if test -n "$WINDRES_FOR_TARGET"; then
13384 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13387 for as_dir in $PATH
13390 test -z "$as_dir" && as_dir=.
13391 for ac_exec_ext in '' $ac_executable_extensions; do
13392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13394 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13403 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13404 if test -n "$WINDRES_FOR_TARGET"; then
13405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13406 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13409 $as_echo "no
" >&6; }
13416 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13417 for ncn_progname in windres; do
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13419 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13420 if test -x $with_build_time_tools/${ncn_progname}; then
13421 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13423 $as_echo "yes" >&6; }
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13427 $as_echo "no
" >&6; }
13432 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13433 for ncn_progname in windres; do
13434 if test -n "$ncn_target_tool_prefix"; then
13435 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13436 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13438 $as_echo_n "checking
for $ac_word...
" >&6; }
13439 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13440 $as_echo_n "(cached
) " >&6
13442 if test -n "$WINDRES_FOR_TARGET"; then
13443 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13446 for as_dir in $PATH
13449 test -z "$as_dir" && as_dir=.
13450 for ac_exec_ext in '' $ac_executable_extensions; do
13451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13452 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13453 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13462 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13463 if test -n "$WINDRES_FOR_TARGET"; then
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13465 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13468 $as_echo "no
" >&6; }
13473 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13474 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13475 set dummy ${ncn_progname}; ac_word=$2
13476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13477 $as_echo_n "checking
for $ac_word...
" >&6; }
13478 if ${ac_cv_prog_WINDRES_FOR_TARGET+:} false; then :
13479 $as_echo_n "(cached
) " >&6
13481 if test -n "$WINDRES_FOR_TARGET"; then
13482 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13485 for as_dir in $PATH
13488 test -z "$as_dir" && as_dir=.
13489 for ac_exec_ext in '' $ac_executable_extensions; do
13490 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13491 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13492 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13501 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13502 if test -n "$WINDRES_FOR_TARGET"; then
13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13504 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13507 $as_echo "no
" >&6; }
13512 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13516 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13518 if test $build = $target ; then
13519 WINDRES_FOR_TARGET="$2"
13521 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13524 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13528 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13534 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13535 if test -n "$with_build_time_tools"; then
13536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13537 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13538 if test -x $with_build_time_tools/windmc; then
13539 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13540 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13542 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13545 $as_echo "no
" >&6; }
13547 elif test $build != $host && test $have_gcc_for_target = yes; then
13548 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13549 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13550 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13553 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13554 # Extract the first word of "windmc
", so it can be a program name with args.
13555 set dummy windmc; ac_word=$2
13556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13557 $as_echo_n "checking
for $ac_word...
" >&6; }
13558 if ${ac_cv_path_WINDMC_FOR_TARGET+:} false; then :
13559 $as_echo_n "(cached
) " >&6
13561 case $WINDMC_FOR_TARGET in
13563 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13567 for as_dir in $gcc_cv_tool_dirs
13570 test -z "$as_dir" && as_dir=.
13571 for ac_exec_ext in '' $ac_executable_extensions; do
13572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13573 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13574 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13584 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13585 if test -n "$WINDMC_FOR_TARGET"; then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13587 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13590 $as_echo "no
" >&6; }
13595 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13598 if test -n "$WINDMC_FOR_TARGET"; then
13599 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13600 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13601 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13604 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13605 for ncn_progname in windmc; do
13606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13607 set dummy ${ncn_progname}; ac_word=$2
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13609 $as_echo_n "checking
for $ac_word...
" >&6; }
13610 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13611 $as_echo_n "(cached
) " >&6
13613 if test -n "$WINDMC_FOR_TARGET"; then
13614 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13617 for as_dir in $PATH
13620 test -z "$as_dir" && as_dir=.
13621 for ac_exec_ext in '' $ac_executable_extensions; do
13622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13623 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13633 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13634 if test -n "$WINDMC_FOR_TARGET"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13636 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13639 $as_echo "no
" >&6; }
13646 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13647 for ncn_progname in windmc; do
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13649 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13650 if test -x $with_build_time_tools/${ncn_progname}; then
13651 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13653 $as_echo "yes" >&6; }
13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13657 $as_echo "no
" >&6; }
13662 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13663 for ncn_progname in windmc; do
13664 if test -n "$ncn_target_tool_prefix"; then
13665 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13666 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13668 $as_echo_n "checking
for $ac_word...
" >&6; }
13669 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13670 $as_echo_n "(cached
) " >&6
13672 if test -n "$WINDMC_FOR_TARGET"; then
13673 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13676 for as_dir in $PATH
13679 test -z "$as_dir" && as_dir=.
13680 for ac_exec_ext in '' $ac_executable_extensions; do
13681 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13682 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13683 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13692 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13693 if test -n "$WINDMC_FOR_TARGET"; then
13694 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13695 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13698 $as_echo "no
" >&6; }
13703 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13704 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13705 set dummy ${ncn_progname}; ac_word=$2
13706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13707 $as_echo_n "checking
for $ac_word...
" >&6; }
13708 if ${ac_cv_prog_WINDMC_FOR_TARGET+:} false; then :
13709 $as_echo_n "(cached
) " >&6
13711 if test -n "$WINDMC_FOR_TARGET"; then
13712 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13715 for as_dir in $PATH
13718 test -z "$as_dir" && as_dir=.
13719 for ac_exec_ext in '' $ac_executable_extensions; do
13720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13721 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13722 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13731 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13732 if test -n "$WINDMC_FOR_TARGET"; then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13734 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13737 $as_echo "no
" >&6; }
13742 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13746 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13748 if test $build = $target ; then
13749 WINDMC_FOR_TARGET="$2"
13751 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13754 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13758 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13762 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13765 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13766 if test "x
${build}" != "x
${host}" ; then
13767 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13768 # We already found the complete path
13769 ac_dir=`dirname $AR_FOR_TARGET`
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13771 $as_echo "pre-installed
in $ac_dir" >&6; }
13773 # Canadian cross, just use what we found
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13775 $as_echo "pre-installed
" >&6; }
13779 case " ${configdirs} " in
13784 if test $ok = yes; then
13785 # An in-tree tool is available and we can use it
13786 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13788 $as_echo "just compiled
" >&6; }
13789 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13790 # We already found the complete path
13791 ac_dir=`dirname $AR_FOR_TARGET`
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13793 $as_echo "pre-installed
in $ac_dir" >&6; }
13794 elif test "x
$target" = "x
$host"; then
13795 # We can use an host tool
13796 AR_FOR_TARGET='$(AR)'
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13798 $as_echo "host tool
" >&6; }
13800 # We need a cross tool
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13802 $as_echo "pre-installed
" >&6; }
13806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13807 $as_echo_n "checking where to
find the target as...
" >&6; }
13808 if test "x
${build}" != "x
${host}" ; then
13809 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13810 # We already found the complete path
13811 ac_dir=`dirname $AS_FOR_TARGET`
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13813 $as_echo "pre-installed
in $ac_dir" >&6; }
13815 # Canadian cross, just use what we found
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13817 $as_echo "pre-installed
" >&6; }
13821 case " ${configdirs} " in
13826 if test $ok = yes; then
13827 # An in-tree tool is available and we can use it
13828 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13830 $as_echo "just compiled
" >&6; }
13831 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13832 # We already found the complete path
13833 ac_dir=`dirname $AS_FOR_TARGET`
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13835 $as_echo "pre-installed
in $ac_dir" >&6; }
13836 elif test "x
$target" = "x
$host"; then
13837 # We can use an host tool
13838 AS_FOR_TARGET='$(AS)'
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13840 $as_echo "host tool
" >&6; }
13842 # We need a cross tool
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13844 $as_echo "pre-installed
" >&6; }
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13849 $as_echo_n "checking where to
find the target cc...
" >&6; }
13850 if test "x
${build}" != "x
${host}" ; then
13851 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13852 # We already found the complete path
13853 ac_dir=`dirname $CC_FOR_TARGET`
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13855 $as_echo "pre-installed
in $ac_dir" >&6; }
13857 # Canadian cross, just use what we found
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13859 $as_echo "pre-installed
" >&6; }
13863 case " ${configdirs} " in
13868 if test $ok = yes; then
13869 # An in-tree tool is available and we can use it
13870 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13872 $as_echo "just compiled
" >&6; }
13873 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13874 # We already found the complete path
13875 ac_dir=`dirname $CC_FOR_TARGET`
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13877 $as_echo "pre-installed
in $ac_dir" >&6; }
13878 elif test "x
$target" = "x
$host"; then
13879 # We can use an host tool
13880 CC_FOR_TARGET='$(CC)'
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13882 $as_echo "host tool
" >&6; }
13884 # We need a cross tool
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13886 $as_echo "pre-installed
" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13891 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13892 if test "x
${build}" != "x
${host}" ; then
13893 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13894 # We already found the complete path
13895 ac_dir=`dirname $CXX_FOR_TARGET`
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13897 $as_echo "pre-installed
in $ac_dir" >&6; }
13899 # Canadian cross, just use what we found
13900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13901 $as_echo "pre-installed
" >&6; }
13905 case " ${configdirs} " in
13909 case ,${enable_languages}, in
13913 if test $ok = yes; then
13914 # An in-tree tool is available and we can use it
13915 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xg++ -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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13917 $as_echo "just compiled
" >&6; }
13918 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13919 # We already found the complete path
13920 ac_dir=`dirname $CXX_FOR_TARGET`
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13922 $as_echo "pre-installed
in $ac_dir" >&6; }
13923 elif test "x
$target" = "x
$host"; then
13924 # We can use an host tool
13925 CXX_FOR_TARGET='$(CXX)'
13926 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13927 $as_echo "host tool
" >&6; }
13929 # We need a cross tool
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13931 $as_echo "pre-installed
" >&6; }
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++ for libstdc
++" >&5
13936 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13937 if test "x
${build}" != "x
${host}" ; then
13938 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13939 # We already found the complete path
13940 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13942 $as_echo "pre-installed
in $ac_dir" >&6; }
13944 # Canadian cross, just use what we found
13945 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13946 $as_echo "pre-installed
" >&6; }
13950 case " ${configdirs} " in
13954 case ,${enable_languages}, in
13958 if test $ok = yes; then
13959 # An in-tree tool is available and we can use it
13960 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 -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs'
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13962 $as_echo "just compiled
" >&6; }
13963 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13964 # We already found the complete path
13965 ac_dir=`dirname $RAW_CXX_FOR_TARGET`
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13967 $as_echo "pre-installed
in $ac_dir" >&6; }
13968 elif test "x
$target" = "x
$host"; then
13969 # We can use an host tool
13970 RAW_CXX_FOR_TARGET='$(CXX)'
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13972 $as_echo "host tool
" >&6; }
13974 # We need a cross tool
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13976 $as_echo "pre-installed
" >&6; }
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target dlltool
" >&5
13981 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13982 if test "x
${build}" != "x
${host}" ; then
13983 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13984 # We already found the complete path
13985 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13987 $as_echo "pre-installed
in $ac_dir" >&6; }
13989 # Canadian cross, just use what we found
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13991 $as_echo "pre-installed
" >&6; }
13995 case " ${configdirs} " in
14000 if test $ok = yes; then
14001 # An in-tree tool is available and we can use it
14002 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
14003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14004 $as_echo "just compiled
" >&6; }
14005 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
14006 # We already found the complete path
14007 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14009 $as_echo "pre-installed
in $ac_dir" >&6; }
14010 elif test "x
$target" = "x
$host"; then
14011 # We can use an host tool
14012 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14014 $as_echo "host tool
" >&6; }
14016 # We need a cross tool
14017 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14018 $as_echo "pre-installed
" >&6; }
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
14023 $as_echo_n "checking where to
find the target gcc...
" >&6; }
14024 if test "x
${build}" != "x
${host}" ; then
14025 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14026 # We already found the complete path
14027 ac_dir=`dirname $GCC_FOR_TARGET`
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14029 $as_echo "pre-installed
in $ac_dir" >&6; }
14031 # Canadian cross, just use what we found
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14033 $as_echo "pre-installed
" >&6; }
14037 case " ${configdirs} " in
14042 if test $ok = yes; then
14043 # An in-tree tool is available and we can use it
14044 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14046 $as_echo "just compiled
" >&6; }
14047 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14048 # We already found the complete path
14049 ac_dir=`dirname $GCC_FOR_TARGET`
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14051 $as_echo "pre-installed
in $ac_dir" >&6; }
14052 elif test "x
$target" = "x
$host"; then
14053 # We can use an host tool
14054 GCC_FOR_TARGET='$()'
14055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14056 $as_echo "host tool
" >&6; }
14058 # We need a cross tool
14059 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14060 $as_echo "pre-installed
" >&6; }
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gfortran
" >&5
14065 $as_echo_n "checking where to
find the target gfortran...
" >&6; }
14066 if test "x
${build}" != "x
${host}" ; then
14067 if expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14068 # We already found the complete path
14069 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14071 $as_echo "pre-installed
in $ac_dir" >&6; }
14073 # Canadian cross, just use what we found
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14075 $as_echo "pre-installed
" >&6; }
14079 case " ${configdirs} " in
14083 case ,${enable_languages}, in
14087 if test $ok = yes; then
14088 # An in-tree tool is available and we can use it
14089 GFORTRAN_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc/'
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14091 $as_echo "just compiled
" >&6; }
14092 elif expr "x
$GFORTRAN_FOR_TARGET" : "x
/" > /dev/null; then
14093 # We already found the complete path
14094 ac_dir=`dirname $GFORTRAN_FOR_TARGET`
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14096 $as_echo "pre-installed
in $ac_dir" >&6; }
14097 elif test "x
$target" = "x
$host"; then
14098 # We can use an host tool
14099 GFORTRAN_FOR_TARGET='$(GFORTRAN)'
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14101 $as_echo "host tool
" >&6; }
14103 # We need a cross tool
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14105 $as_echo "pre-installed
" >&6; }
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gccgo
" >&5
14110 $as_echo_n "checking where to
find the target gccgo...
" >&6; }
14111 if test "x
${build}" != "x
${host}" ; then
14112 if expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14113 # We already found the complete path
14114 ac_dir=`dirname $GOC_FOR_TARGET`
14115 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14116 $as_echo "pre-installed
in $ac_dir" >&6; }
14118 # Canadian cross, just use what we found
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14120 $as_echo "pre-installed
" >&6; }
14124 case " ${configdirs} " in
14128 case ,${enable_languages}, in
14132 if test $ok = yes; then
14133 # An in-tree tool is available and we can use it
14134 GOC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gccgo -B$$r/$(HOST_SUBDIR)/gcc/'
14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14136 $as_echo "just compiled
" >&6; }
14137 elif expr "x
$GOC_FOR_TARGET" : "x
/" > /dev/null; then
14138 # We already found the complete path
14139 ac_dir=`dirname $GOC_FOR_TARGET`
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14141 $as_echo "pre-installed
in $ac_dir" >&6; }
14142 elif test "x
$target" = "x
$host"; then
14143 # We can use an host tool
14144 GOC_FOR_TARGET='$(GOC)'
14145 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14146 $as_echo "host tool
" >&6; }
14148 # We need a cross tool
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14150 $as_echo "pre-installed
" >&6; }
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14155 $as_echo_n "checking where to
find the target ld...
" >&6; }
14156 if test "x
${build}" != "x
${host}" ; then
14157 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $LD_FOR_TARGET`
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14161 $as_echo "pre-installed
in $ac_dir" >&6; }
14163 # Canadian cross, just use what we found
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14165 $as_echo "pre-installed
" >&6; }
14169 case " ${configdirs} " in
14174 if test $ok = yes; then
14175 # An in-tree tool is available and we can use it
14176 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14178 $as_echo "just compiled
" >&6; }
14179 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14180 # We already found the complete path
14181 ac_dir=`dirname $LD_FOR_TARGET`
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14183 $as_echo "pre-installed
in $ac_dir" >&6; }
14184 elif test "x
$target" = "x
$host"; then
14185 # We can use an host tool
14186 LD_FOR_TARGET='$(LD)'
14187 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14188 $as_echo "host tool
" >&6; }
14190 # We need a cross tool
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14192 $as_echo "pre-installed
" >&6; }
14196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14197 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14198 if test "x
${build}" != "x
${host}" ; then
14199 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14200 # We already found the complete path
14201 ac_dir=`dirname $LIPO_FOR_TARGET`
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14203 $as_echo "pre-installed
in $ac_dir" >&6; }
14205 # Canadian cross, just use what we found
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14207 $as_echo "pre-installed
" >&6; }
14210 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14211 # We already found the complete path
14212 ac_dir=`dirname $LIPO_FOR_TARGET`
14213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14214 $as_echo "pre-installed
in $ac_dir" >&6; }
14215 elif test "x
$target" = "x
$host"; then
14216 # We can use an host tool
14217 LIPO_FOR_TARGET='$(LIPO)'
14218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14219 $as_echo "host tool
" >&6; }
14221 # We need a cross tool
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14223 $as_echo "pre-installed
" >&6; }
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14228 $as_echo_n "checking where to
find the target nm...
" >&6; }
14229 if test "x
${build}" != "x
${host}" ; then
14230 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14231 # We already found the complete path
14232 ac_dir=`dirname $NM_FOR_TARGET`
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14234 $as_echo "pre-installed
in $ac_dir" >&6; }
14236 # Canadian cross, just use what we found
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14238 $as_echo "pre-installed
" >&6; }
14242 case " ${configdirs} " in
14247 if test $ok = yes; then
14248 # An in-tree tool is available and we can use it
14249 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14251 $as_echo "just compiled
" >&6; }
14252 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14253 # We already found the complete path
14254 ac_dir=`dirname $NM_FOR_TARGET`
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14256 $as_echo "pre-installed
in $ac_dir" >&6; }
14257 elif test "x
$target" = "x
$host"; then
14258 # We can use an host tool
14259 NM_FOR_TARGET='$(NM)'
14260 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14261 $as_echo "host tool
" >&6; }
14263 # We need a cross tool
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14265 $as_echo "pre-installed
" >&6; }
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objcopy
" >&5
14270 $as_echo_n "checking where to
find the target objcopy...
" >&6; }
14271 if test "x
${build}" != "x
${host}" ; then
14272 if expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14273 # We already found the complete path
14274 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14276 $as_echo "pre-installed
in $ac_dir" >&6; }
14278 # Canadian cross, just use what we found
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14280 $as_echo "pre-installed
" >&6; }
14284 case " ${configdirs} " in
14289 if test $ok = yes; then
14290 # An in-tree tool is available and we can use it
14291 OBJCOPY_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objcopy'
14292 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14293 $as_echo "just compiled
" >&6; }
14294 elif expr "x
$OBJCOPY_FOR_TARGET" : "x
/" > /dev/null; then
14295 # We already found the complete path
14296 ac_dir=`dirname $OBJCOPY_FOR_TARGET`
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14298 $as_echo "pre-installed
in $ac_dir" >&6; }
14299 elif test "x
$target" = "x
$host"; then
14300 # We can use an host tool
14301 OBJCOPY_FOR_TARGET='$(OBJCOPY)'
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14303 $as_echo "host tool
" >&6; }
14305 # We need a cross tool
14306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14307 $as_echo "pre-installed
" >&6; }
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14312 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14313 if test "x
${build}" != "x
${host}" ; then
14314 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14315 # We already found the complete path
14316 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14318 $as_echo "pre-installed
in $ac_dir" >&6; }
14320 # Canadian cross, just use what we found
14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14322 $as_echo "pre-installed
" >&6; }
14326 case " ${configdirs} " in
14331 if test $ok = yes; then
14332 # An in-tree tool is available and we can use it
14333 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14335 $as_echo "just compiled
" >&6; }
14336 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14337 # We already found the complete path
14338 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14340 $as_echo "pre-installed
in $ac_dir" >&6; }
14341 elif test "x
$target" = "x
$host"; then
14342 # We can use an host tool
14343 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14345 $as_echo "host tool
" >&6; }
14347 # We need a cross tool
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14349 $as_echo "pre-installed
" >&6; }
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14354 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14355 if test "x
${build}" != "x
${host}" ; then
14356 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14357 # We already found the complete path
14358 ac_dir=`dirname $RANLIB_FOR_TARGET`
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14360 $as_echo "pre-installed
in $ac_dir" >&6; }
14362 # Canadian cross, just use what we found
14363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14364 $as_echo "pre-installed
" >&6; }
14368 case " ${configdirs} " in
14373 if test $ok = yes; then
14374 # An in-tree tool is available and we can use it
14375 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14377 $as_echo "just compiled
" >&6; }
14378 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14379 # We already found the complete path
14380 ac_dir=`dirname $RANLIB_FOR_TARGET`
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14382 $as_echo "pre-installed
in $ac_dir" >&6; }
14383 elif test "x
$target" = "x
$host"; then
14384 # We can use an host tool
14385 RANLIB_FOR_TARGET='$(RANLIB)'
14386 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14387 $as_echo "host tool
" >&6; }
14389 # We need a cross tool
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14391 $as_echo "pre-installed
" >&6; }
14395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14396 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14397 if test "x
${build}" != "x
${host}" ; then
14398 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14399 # We already found the complete path
14400 ac_dir=`dirname $READELF_FOR_TARGET`
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14402 $as_echo "pre-installed
in $ac_dir" >&6; }
14404 # Canadian cross, just use what we found
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14406 $as_echo "pre-installed
" >&6; }
14410 case " ${configdirs} " in
14415 if test $ok = yes; then
14416 # An in-tree tool is available and we can use it
14417 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14419 $as_echo "just compiled
" >&6; }
14420 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14421 # We already found the complete path
14422 ac_dir=`dirname $READELF_FOR_TARGET`
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14424 $as_echo "pre-installed
in $ac_dir" >&6; }
14425 elif test "x
$target" = "x
$host"; then
14426 # We can use an host tool
14427 READELF_FOR_TARGET='$(READELF)'
14428 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14429 $as_echo "host tool
" >&6; }
14431 # We need a cross tool
14432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14433 $as_echo "pre-installed
" >&6; }
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14438 $as_echo_n "checking where to
find the target strip...
" >&6; }
14439 if test "x
${build}" != "x
${host}" ; then
14440 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14441 # We already found the complete path
14442 ac_dir=`dirname $STRIP_FOR_TARGET`
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14444 $as_echo "pre-installed
in $ac_dir" >&6; }
14446 # Canadian cross, just use what we found
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14448 $as_echo "pre-installed
" >&6; }
14452 case " ${configdirs} " in
14457 if test $ok = yes; then
14458 # An in-tree tool is available and we can use it
14459 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14460 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14461 $as_echo "just compiled
" >&6; }
14462 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14463 # We already found the complete path
14464 ac_dir=`dirname $STRIP_FOR_TARGET`
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14466 $as_echo "pre-installed
in $ac_dir" >&6; }
14467 elif test "x
$target" = "x
$host"; then
14468 # We can use an host tool
14469 STRIP_FOR_TARGET='$(STRIP)'
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14471 $as_echo "host tool
" >&6; }
14473 # We need a cross tool
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14475 $as_echo "pre-installed
" >&6; }
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14480 $as_echo_n "checking where to
find the target windres...
" >&6; }
14481 if test "x
${build}" != "x
${host}" ; then
14482 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14483 # We already found the complete path
14484 ac_dir=`dirname $WINDRES_FOR_TARGET`
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14486 $as_echo "pre-installed
in $ac_dir" >&6; }
14488 # Canadian cross, just use what we found
14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14490 $as_echo "pre-installed
" >&6; }
14494 case " ${configdirs} " in
14499 if test $ok = yes; then
14500 # An in-tree tool is available and we can use it
14501 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14503 $as_echo "just compiled
" >&6; }
14504 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14505 # We already found the complete path
14506 ac_dir=`dirname $WINDRES_FOR_TARGET`
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14508 $as_echo "pre-installed
in $ac_dir" >&6; }
14509 elif test "x
$target" = "x
$host"; then
14510 # We can use an host tool
14511 WINDRES_FOR_TARGET='$(WINDRES)'
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14513 $as_echo "host tool
" >&6; }
14515 # We need a cross tool
14516 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14517 $as_echo "pre-installed
" >&6; }
14521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14522 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14523 if test "x
${build}" != "x
${host}" ; then
14524 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14525 # We already found the complete path
14526 ac_dir=`dirname $WINDMC_FOR_TARGET`
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14528 $as_echo "pre-installed
in $ac_dir" >&6; }
14530 # Canadian cross, just use what we found
14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14532 $as_echo "pre-installed
" >&6; }
14536 case " ${configdirs} " in
14541 if test $ok = yes; then
14542 # An in-tree tool is available and we can use it
14543 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14545 $as_echo "just compiled
" >&6; }
14546 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14547 # We already found the complete path
14548 ac_dir=`dirname $WINDMC_FOR_TARGET`
14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14550 $as_echo "pre-installed
in $ac_dir" >&6; }
14551 elif test "x
$target" = "x
$host"; then
14552 # We can use an host tool
14553 WINDMC_FOR_TARGET='$(WINDMC)'
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14555 $as_echo "host tool
" >&6; }
14557 # We need a cross tool
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14559 $as_echo "pre-installed
" >&6; }
14567 # Certain tools may need extra flags.
14568 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14569 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14570 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14572 # When building target libraries, except in a Canadian cross, we use
14573 # the same toolchain as the compiler we just built.
14574 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14575 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14576 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14577 if test $host = $build; then
14578 case " $configdirs " in
14580 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14581 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14582 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14592 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14593 # Check whether --enable-maintainer-mode was given.
14594 if test "${enable_maintainer_mode+set}" = set; then :
14595 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14597 USE_MAINTAINER_MODE=no
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14601 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14604 if test "$USE_MAINTAINER_MODE" = yes; then
14605 MAINTAINER_MODE_TRUE=
14606 MAINTAINER_MODE_FALSE='#'
14608 MAINTAINER_MODE_TRUE='#'
14609 MAINTAINER_MODE_FALSE=
14611 MAINT=$MAINTAINER_MODE_TRUE
14613 # ---------------------
14614 # GCC bootstrap support
14615 # ---------------------
14617 # Stage specific cflags for build.
14622 yes) stage1_cflags="-g -Wa,-J" ;;
14623 *) stage1_cflags="-g -J" ;;
14629 # Enable --enable-checking in stage1 of the compiler.
14630 # Check whether --enable-stage1-checking was given.
14631 if test "${enable_stage1_checking+set}" = set; then :
14632 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14634 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14635 # For --disable-checking or implicit --enable-checking=release, avoid
14636 # setting --enable-checking=gc in the default stage1 checking for LTO
14637 # bootstraps. See PR62077.
14638 case $BUILD_CONFIG in
14640 stage1_checking=--enable-checking=release,misc,gimple,rtlflag,tree,types;;
14642 stage1_checking=--enable-checking=yes,types;;
14644 if test "x
$enable_checking" = x && \
14645 test -d ${srcdir}/gcc && \
14646 test x"`cat ${srcdir}/gcc/DEV-PHASE`" = xexperimental; then
14647 stage1_checking=--enable-checking=yes,types,extra
14650 stage1_checking=--enable-checking=$enable_checking,types
14656 # Enable -Werror in bootstrap stage2 and later.
14657 # Check whether --enable-werror was given.
14658 if test "${enable_werror+set}" = set; then :
14659 enableval=$enable_werror;
14660 case ${enable_werror} in
14661 yes) stage2_werror_flag="--enable-werror-always" ;;
14662 *) stage2_werror_flag="" ;;
14667 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14668 case $BUILD_CONFIG in
14670 stage2_werror_flag="--enable-werror-always" ;;
14672 stage2_werror_flag="--enable-werror-always" ;;
14681 # Specify what files to not compare during bootstrap.
14683 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14685 hppa*64*-*-hpux*) ;;
14686 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/* | gcc
/function-tests.o
" ;;
14687 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14691 ac_config_files="$ac_config_files Makefile
"
14693 cat >confcache <<\_ACEOF
14694 # This file is a shell script that caches the results of configure
14695 # tests run on this system so they can be shared between configure
14696 # scripts and configure runs, see configure's option --config-cache.
14697 # It is not useful on other systems. If it contains results you don't
14698 # want to keep, you may remove or edit it.
14700 # config.status only pays attention to the cache file if you give it
14701 # the --recheck option to rerun configure.
14703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14705 # following values.
14709 # The following way of writing the cache mishandles newlines in values,
14710 # but we know of no workaround that is simple, portable, and efficient.
14711 # So, we kill variables containing newlines.
14712 # Ultrix sh set writes to stderr and can't be redirected directly,
14713 # and sets the high bit in the cache file unless we assign to the vars.
14715 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14716 eval ac_val=\$$ac_var
14720 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14721 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14724 _ | IFS | as_nl) ;; #(
14725 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14726 *) { eval $ac_var=; unset $ac_var;} ;;
14732 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14733 *${as_nl}ac_space=\ *)
14734 # `set' does not quote correctly, so add quotes: double-quote
14735 # substitution turns \\\\ into \\, and sed turns \\ into \.
14738 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14741 # `set' quotes correctly as required by POSIX, so do not add quotes.
14742 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14751 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14753 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14755 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14756 if test -w "$cache_file"; then
14757 if test "x
$cache_file" != "x
/dev
/null
"; then
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14759 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14760 if test ! -f "$cache_file" || test -h "$cache_file"; then
14761 cat confcache >"$cache_file"
14763 case $cache_file in #(
14765 mv -f confcache "$cache_file"$$ &&
14766 mv -f "$cache_file"$$ "$cache_file" ;; #(
14768 mv -f confcache "$cache_file" ;;
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14774 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14779 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14780 # Let make expand exec_prefix.
14781 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14783 # Transform confdefs.h into DEFS.
14784 # Protect against shell expansion while executing Makefile rules.
14785 # Protect against Makefile macro expansion.
14787 # If the first sed substitution is executed (which looks for macros that
14788 # take arguments), then branch to the quote section. Otherwise,
14789 # look for a macro that doesn't take arguments.
14799 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14801 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14805 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14818 DEFS=`sed -n "$ac_script" confdefs.h`
14824 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14825 # 1. Remove the extension, and $U if already installed.
14826 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14827 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14828 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14829 # will be set to the directory where LIBOBJS objects are built.
14830 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14831 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14833 LIBOBJS=$ac_libobjs
14835 LTLIBOBJS=$ac_ltlibobjs
14839 : "${CONFIG_STATUS=./config.status}"
14841 ac_clean_files_save=$ac_clean_files
14842 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14844 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14846 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14848 # Generated by $as_me.
14849 # Run this file to recreate the current configuration.
14850 # Compiler output produced by configure, useful for debugging
14851 # configure, is in config.log if it exists.
14854 ac_cs_recheck=false
14857 SHELL=\${CONFIG_SHELL-$SHELL}
14860 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14861 ## -------------------- ##
14862 ## M4sh Initialization. ##
14863 ## -------------------- ##
14865 # Be more Bourne compatible
14866 DUALCASE=1; export DUALCASE # for MKS sh
14867 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14870 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14871 # is contrary to our usage. Disable this feature.
14872 alias -g '${1+"$@"}'='"$@"'
14873 setopt NO_GLOB_SUBST
14875 case `(set -o) 2>/dev/null` in #(
14887 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14888 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14889 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14890 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14891 # Prefer a ksh shell builtin over an external printf program on Solaris,
14892 # but without wasting forks for bash or zsh.
14893 if test -z "$BASH_VERSION$ZSH_VERSION" \
14894 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14895 as_echo
='print -r --'
14896 as_echo_n
='print -rn --'
14897 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14898 as_echo
='printf %s\n'
14899 as_echo_n
='printf %s'
14901 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14902 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14903 as_echo_n
='/usr/ucb/echo -n'
14905 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14906 as_echo_n_body
='eval
14910 expr "X$arg" : "X\\(.*\\)$as_nl";
14911 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14913 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14915 export as_echo_n_body
14916 as_echo_n
='sh -c $as_echo_n_body as_echo'
14918 export as_echo_body
14919 as_echo
='sh -c $as_echo_body as_echo'
14922 # The user is always right.
14923 if test "${PATH_SEPARATOR+set}" != set; then
14925 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14926 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14933 # We need space, tab and new line, in precisely that order. Quoting is
14934 # there to prevent editors from complaining about space-tab.
14935 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14936 # splitting by setting IFS to empty value.)
14939 # Find who we are. Look in the path if we contain no directory separator.
14942 *[\\/]* ) as_myself
=$0 ;;
14943 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14944 for as_dir
in $PATH
14947 test -z "$as_dir" && as_dir
=.
14948 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14954 # We did not find ourselves, most probably we were run as `sh COMMAND'
14955 # in which case we are not to be found in the path.
14956 if test "x$as_myself" = x
; then
14959 if test ! -f "$as_myself"; then
14960 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14964 # Unset variables that we do not need and which cause bugs (e.g. in
14965 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14966 # suppresses any "Segmentation fault" message there. '((' could
14967 # trigger a bug in pdksh 5.2.14.
14968 for as_var
in BASH_ENV ENV MAIL MAILPATH
14969 do eval test x\
${$as_var+set} = xset \
14970 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14983 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14986 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14987 # ----------------------------------------
14988 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14989 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14990 # script with STATUS, using 1 if that was 0.
14993 as_status
=$1; test $as_status -eq 0 && as_status
=1
14995 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14996 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14998 $as_echo "$as_me: error: $2" >&2
14999 as_fn_exit
$as_status
15003 # as_fn_set_status STATUS
15004 # -----------------------
15005 # Set $? to STATUS, without forking.
15006 as_fn_set_status
()
15009 } # as_fn_set_status
15011 # as_fn_exit STATUS
15012 # -----------------
15013 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15017 as_fn_set_status
$1
15023 # Portably unset VAR.
15026 { eval $1=; unset $1;}
15028 as_unset
=as_fn_unset
15029 # as_fn_append VAR VALUE
15030 # ----------------------
15031 # Append the text in VALUE to the end of the definition contained in VAR. Take
15032 # advantage of any shell optimizations that allow amortized linear growth over
15033 # repeated appends, instead of the typical quadratic growth present in naive
15035 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15036 eval 'as_fn_append ()
15047 # as_fn_arith ARG...
15048 # ------------------
15049 # Perform arithmetic evaluation on the ARGs, and store the result in the
15050 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15051 # must be portable across $(()) and expr.
15052 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15053 eval 'as_fn_arith ()
15060 as_val
=`expr "$@" || test $? -eq 1`
15065 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15066 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15072 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15073 as_basename
=basename
15078 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15084 as_me
=`$as_basename -- "$0" ||
15085 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15086 X"$0" : 'X\(//\)$' \| \
15087 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15089 sed '/^.*\/\([^/][^/]*\)\/*$/{
15103 # Avoid depending upon Character Ranges.
15104 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15105 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15106 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15107 as_cr_digits
='0123456789'
15108 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15110 ECHO_C
= ECHO_N
= ECHO_T
=
15111 case `echo -n x` in #(((((
15113 case `echo 'xy\c'` in
15114 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15116 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15123 rm -f conf$$ conf$$.exe conf$$.
file
15124 if test -d conf$$.dir
; then
15125 rm -f conf$$.dir
/conf$$.
file
15128 mkdir conf$$.dir
2>/dev
/null
15130 if (echo >conf$$.
file) 2>/dev
/null
; then
15131 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15133 # ... but there are two gotchas:
15134 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15135 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15136 # In both cases, we have to default to `cp -pR'.
15137 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15139 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15147 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15148 rmdir conf$$.dir
2>/dev
/null
15153 # Create "$as_dir" as a directory, including parents if necessary.
15158 -*) as_dir
=.
/$as_dir;;
15160 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15164 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15165 *) as_qdir
=$as_dir;;
15167 as_dirs
="'$as_qdir' $as_dirs"
15168 as_dir
=`$as_dirname -- "$as_dir" ||
15169 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15170 X"$as_dir" : 'X\(//\)[^/]' \| \
15171 X"$as_dir" : 'X\(//\)$' \| \
15172 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15173 $as_echo X"$as_dir" |
15174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15178 /^X\(\/\/\)[^/].*/{
15191 test -d "$as_dir" && break
15193 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15194 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15198 if mkdir
-p .
2>/dev
/null
; then
15199 as_mkdir_p
='mkdir -p "$as_dir"'
15201 test -d .
/-p && rmdir .
/-p
15206 # as_fn_executable_p FILE
15207 # -----------------------
15208 # Test if FILE is an executable regular file.
15209 as_fn_executable_p
()
15211 test -f "$1" && test -x "$1"
15212 } # as_fn_executable_p
15213 as_test_x
='test -x'
15214 as_executable_p
=as_fn_executable_p
15216 # Sed expression to map a string onto a valid CPP name.
15217 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15219 # Sed expression to map a string onto a valid variable name.
15220 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15224 ## ----------------------------------- ##
15225 ## Main body of $CONFIG_STATUS script. ##
15226 ## ----------------------------------- ##
15228 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15231 # Save the log message, to keep $0 and so on meaningful, and to
15232 # report actual input values of CONFIG_FILES etc. instead of their
15233 # values after options handling.
15235 This file was extended by $as_me, which was
15236 generated by GNU Autoconf 2.69. Invocation command line was
15238 CONFIG_FILES = $CONFIG_FILES
15239 CONFIG_HEADERS = $CONFIG_HEADERS
15240 CONFIG_LINKS = $CONFIG_LINKS
15241 CONFIG_COMMANDS = $CONFIG_COMMANDS
15244 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15249 case $ac_config_files in *"
15250 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15255 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15256 # Files that config.status was made for.
15257 config_files="$ac_config_files"
15261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15263 \`$as_me' instantiates files and other configuration actions
15264 from templates according to the current configuration. Unless the files
15265 and actions are specified as TAGs, all are instantiated by default.
15267 Usage: $0 [OPTION]... [TAG]...
15269 -h, --help print this help, then exit
15270 -V, --version print version number and configuration settings, then exit
15271 --config print configuration, then exit
15272 -q, --quiet, --silent
15273 do not print progress messages
15274 -d, --debug don't remove temporary files
15275 --recheck update $as_me by reconfiguring in the same conditions
15276 --file=FILE[:TEMPLATE]
15277 instantiate the configuration file FILE
15279 Configuration files:
15282 Report bugs to the package provider."
15285 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15286 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15289 configured by $0, generated by GNU Autoconf 2.69,
15290 with options \\"\$ac_cs_config\\"
15292 Copyright (C) 2012 Free Software Foundation, Inc.
15293 This config.status script is free software; the Free Software Foundation
15294 gives unlimited permission to copy, distribute and modify it."
15300 test -n "\$AWK" || AWK=awk
15303 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15304 # The default lists apply if the user does not specify any file.
15310 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15311 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15315 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15327 # Handling of the options.
15328 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15330 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15331 $as_echo "$ac_cs_version"; exit ;;
15332 --config |
--confi |
--conf |
--con |
--co |
--c )
15333 $as_echo "$ac_cs_config"; exit ;;
15334 --debug |
--debu |
--deb |
--de |
--d |
-d )
15336 --file |
--fil |
--fi |
--f )
15339 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15340 '') as_fn_error $?
"missing file argument" ;;
15342 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15343 ac_need_defaults
=false
;;
15344 --he |
--h |
--help |
--hel |
-h )
15345 $as_echo "$ac_cs_usage"; exit ;;
15346 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15347 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15350 # This is an error.
15351 -*) as_fn_error $?
"unrecognized option: \`$1'
15352 Try \`$0 --help' for more information." ;;
15354 *) as_fn_append ac_config_targets
" $1"
15355 ac_need_defaults
=false
;;
15361 ac_configure_extra_args
=
15363 if $ac_cs_silent; then
15365 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15370 if \$ac_cs_recheck; then
15371 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15373 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15374 CONFIG_SHELL='$SHELL'
15375 export CONFIG_SHELL
15380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15384 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15385 ## Running $as_me. ##
15391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15395 extrasub_build="$extrasub_build"
15396 extrasub_host="$extrasub_host"
15397 extrasub_target="$extrasub_target"
15401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15403 # Handling of arguments.
15404 for ac_config_target
in $ac_config_targets
15406 case $ac_config_target in
15407 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15409 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15414 # If the user did not use the arguments to specify the items to instantiate,
15415 # then the envvar interface is used. Set only those that are not.
15416 # We use the long form for the default assignment because of an extremely
15417 # bizarre bug on SunOS 4.1.3.
15418 if $ac_need_defaults; then
15419 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15422 # Have a temporary directory for convenience. Make it in the build tree
15423 # simply because there is no reason against having it here, and in addition,
15424 # creating and moving files from /tmp can sometimes cause problems.
15425 # Hook for its removal unless debugging.
15426 # Note that there is a small window in which the directory will not be cleaned:
15427 # after its creation but before its name has been assigned to `$tmp'.
15431 trap 'exit_status=$?
15432 : "${ac_tmp:=$tmp}"
15433 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15435 trap 'as_fn_exit 1' 1 2 13 15
15437 # Create a (secure) tmp directory for tmp files.
15440 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15444 tmp
=.
/conf$$
-$RANDOM
15445 (umask 077 && mkdir
"$tmp")
15446 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
15449 # Set up the scripts for CONFIG_FILES section.
15450 # No need to generate them if there are no CONFIG_FILES.
15451 # This happens for instance with `./config.status config.h'.
15452 if test -n "$CONFIG_FILES"; then
15454 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15455 ac_cs_awk_getline
=:
15456 ac_cs_awk_pipe_init
=
15457 ac_cs_awk_read_file
='
15458 while ((getline aline < (F[key])) > 0)
15461 ac_cs_awk_pipe_fini
=
15463 ac_cs_awk_getline
=false
15464 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15465 ac_cs_awk_read_file
='
15467 print "cat " F[key] " &&"
15468 '$ac_cs_awk_pipe_init
15469 # The final `:' finishes the AND list.
15470 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15472 ac_cr
=`echo X | tr X '\015'`
15473 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15474 # But we know of no other shell where ac_cr would be empty at this
15475 # point, so we can use a bashism as a fallback.
15476 if test "x$ac_cr" = x
; then
15477 eval ac_cr
=\$
\'\\r
\'
15479 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15480 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15483 ac_cs_awk_cr
=$ac_cr
15486 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15489 # Create commands to substitute file output variables.
15491 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15492 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
15493 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15496 } >conf$
$files.sh
&&
15497 . .
/conf$
$files.sh ||
15498 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
15499 rm -f conf$
$files.sh
15502 echo "cat >conf$$subs.awk <<_ACEOF" &&
15503 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15505 } >conf$$subs.sh ||
15506 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15507 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15509 for ac_last_try in false false false false false :; do
15510 . ./conf$$subs.sh ||
15511 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15513 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15514 if test $ac_delim_n = $ac_delim_num; then
15516 elif $ac_last_try; then
15517 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
15519 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15522 rm -f conf$$subs.sh
15524 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15525 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
15529 s/^/S["/; s
/!.
*/"]=/
15539 s/\(.\{148\}\)..*/\1/
15541 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15546 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15553 s/\(.\{148\}\)..*/\1/
15555 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15559 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15564 ' <conf$$subs.awk | sed '
15569 ' >>$CONFIG_STATUS || ac_write_fail=1
15570 rm -f conf$$subs.awk
15571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15573 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
15574 for (key in S) S_is_set[key] = 1
15576 \$ac_cs_awk_pipe_init
15580 nfields = split(line, field, "@
")
15582 len = length(field[1])
15583 for (i = 2; i < nfields; i++) {
15585 keylen = length(key)
15586 if (S_is_set[key]) {
15588 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15589 len += length(value) + length(field[++i])
15594 if (nfields == 3 && !substed) {
15596 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15597 \$ac_cs_awk_read_file
15603 \$ac_cs_awk_pipe_fini
15606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15607 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15608 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15611 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
15612 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
15615 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15616 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
15617 # trailing colons and then remove the whole line if VPATH becomes empty
15618 # (actually we leave an empty line to preserve line numbers).
15619 if test "x
$srcdir" = x.; then
15620 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
15638 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15639 fi # test -n "$CONFIG_FILES"
15642 eval set X " :F
$CONFIG_FILES "
15647 :[FHLC]) ac_mode=$ac_tag; continue;;
15649 case $ac_mode$ac_tag in
15651 :L* | :C*:*) as_fn_error $? "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15652 :[FH]-) ac_tag=-:-;;
15653 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15670 -) ac_f="$ac_tmp/stdin";;
15671 *) # Look for the file first in the build tree, then in the source tree
15672 # (if the path is not absolute). The absolute path cannot be DOS-style,
15673 # because $ac_f cannot contain `:'.
15677 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15679 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15681 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15682 as_fn_append ac_file_inputs " '$ac_f'"
15685 # Let's still pretend it is `configure' which instantiates (i.e., don't
15686 # use $as_me), people would be surprised to read:
15687 # /* config.h. Generated by config.status. */
15688 configure_input='Generated from '`
15689 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15691 if test x"$ac_file" != x-; then
15692 configure_input="$ac_file.
$configure_input"
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15694 $as_echo "$as_me: creating
$ac_file" >&6;}
15696 # Neutralize special characters interpreted by sed in replacement strings.
15697 case $configure_input in #(
15698 *\&* | *\|* | *\\* )
15699 ac_sed_conf_input=`$as_echo "$configure_input" |
15700 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15701 *) ac_sed_conf_input=$configure_input;;
15705 *:-:* | *:-) cat >"$ac_tmp/stdin
" \
15706 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5 ;;
15711 ac_dir=`$as_dirname -- "$ac_file" ||
15712 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15713 X"$ac_file" : 'X\(//\)[^/]' \| \
15714 X"$ac_file" : 'X\(//\)$' \| \
15715 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15716 $as_echo X"$ac_file" |
15717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15721 /^X\(\/\/\)[^/].*/{
15734 as_dir="$ac_dir"; as_fn_mkdir_p
15738 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15740 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15741 # A "..
" for each directory in $ac_dir_suffix.
15742 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15743 case $ac_top_builddir_sub in
15744 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15745 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15748 ac_abs_top_builddir=$ac_pwd
15749 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15750 # for backward compatibility:
15751 ac_top_builddir=$ac_top_build_prefix
15754 .) # We are building in place.
15756 ac_top_srcdir=$ac_top_builddir_sub
15757 ac_abs_top_srcdir=$ac_pwd ;;
15758 [\\/]* | ?:[\\/]* ) # Absolute name.
15759 ac_srcdir=$srcdir$ac_dir_suffix;
15760 ac_top_srcdir=$srcdir
15761 ac_abs_top_srcdir=$srcdir ;;
15762 *) # Relative name.
15763 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15764 ac_top_srcdir=$ac_top_build_prefix$srcdir
15765 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15767 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15777 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15778 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15783 # If the template does not know about datarootdir, expand it.
15784 # FIXME: This hack should be removed a few years after 2.60.
15785 ac_datarootdir_hack=; ac_datarootdir_seen=
15796 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15797 *datarootdir*) ac_datarootdir_seen=yes;;
15798 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15800 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15803 ac_datarootdir_hack='
15804 s&@datadir@&$datadir&g
15805 s&@docdir@&$docdir&g
15806 s&@infodir@&$infodir&g
15807 s&@localedir@&$localedir&g
15808 s&@mandir@&$mandir&g
15809 s&\\\${datarootdir}&$datarootdir&g' ;;
15813 # Neutralize VPATH when `$srcdir' = `.'.
15814 # Shell code in configure.ac might set extrasub.
15815 # FIXME: do we really want to maintain this feature?
15816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15817 ac_sed_extra="$ac_vpsub
15820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15822 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15823 s|@configure_input@|
$ac_sed_conf_input|
;t t
15824 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15825 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15826 s
&@srcdir@
&$ac_srcdir&;t t
15827 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15828 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15829 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15830 s
&@builddir@
&$ac_builddir&;t t
15831 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15832 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15833 s
&@INSTALL@
&$ac_INSTALL&;t t
15834 $ac_datarootdir_hack
15836 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15837 if $ac_cs_awk_getline; then
15838 $AWK -f "$ac_tmp/subs.
awk"
15840 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
15842 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
15844 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15845 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
15846 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15847 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15849 which seems to be undefined. Please make sure it is defined" >&5
15850 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15851 which seems to be undefined. Please make sure it is defined" >&2;}
15853 rm -f "$ac_tmp/stdin"
15855 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15856 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15858 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15866 case $ac_file$ac_mode in
15867 "Makefile":F) sed "$extrasub_build" Makefile |
15868 sed "$extrasub_host" |
15869 sed "$extrasub_target" > mf$$
15870 mv -f mf$$ Makefile ;;
15878 ac_clean_files=$ac_clean_files_save
15880 test $ac_write_fail = 0 ||
15881 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15884 # configure is writing to config.log, and then calls config.status.
15885 # config.status does its own redirection, appending to config.log.
15886 # Unfortunately, on DOS this fails, as config.log is still kept open
15887 # by configure, so config.status won't be able to
write to it
; its
15888 # output is simply discarded. So we exec the FD to /dev/null,
15889 # effectively closing config.log, so it can be properly (re)opened and
15890 # appended to by config.status. When coming back to configure, we
15891 # need to make the FD available again.
15892 if test "$no_create" != yes; then
15894 ac_config_status_args
=
15895 test "$silent" = yes &&
15896 ac_config_status_args
="$ac_config_status_args --quiet"
15898 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15900 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15901 # would make configure fail if this is the last instruction.
15902 $ac_cs_success || as_fn_exit
1
15904 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15906 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}