2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="move-if-change"
555 enable_option_checking
=no
556 ac_subst_vars
='LTLIBOBJS
563 MAINTAINER_MODE_FALSE
565 COMPILER_NM_FOR_TARGET
566 COMPILER_LD_FOR_TARGET
567 COMPILER_AS_FOR_TARGET
644 DEBUG_PREFIX_CFLAGS_FOR_TARGET
645 SYSROOT_CFLAGS_FOR_TARGET
647 extra_host_libiberty_configure_flags
655 extra_isl_gmp_configure_flags
656 extra_mpc_mpfr_configure_flags
657 extra_mpc_gmp_configure_flags
658 extra_mpfr_configure_flags
674 EXTRA_CONFIGARGS_LIBJAVA
701 TOPLEVEL_CONFIGURE_ARGUMENTS
729 program_transform_name
740 ac_subst_files
='serialization_dependencies
746 enable_option_checking
751 enable_libquadmath_support
755 enable_static_libjava
777 enable_isl_version_check
780 enable_cloog_version_check
782 enable_stage1_languages
786 with_debug_prefix_map
788 enable_serial_configure
789 enable_upc_link_script
790 with_build_time_tools
791 enable_maintainer_mode
792 enable_stage1_checking
795 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information."
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used." >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1370 as_fn_error
"path to source, $srcdir, contains spaces"
1373 ac_subdirs_all
=`cd $srcdir && echo */configure | sed 's,/configure,,g'`
1375 for ac_var
in $ac_precious_vars; do
1376 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1377 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1378 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1383 # Report the --help message.
1385 if test "$ac_init_help" = "long"; then
1386 # Omit some internal or obsolete options to make the list less imposing.
1387 # This message is too long to be a string in the A/UX 3.1 sh.
1389 \`configure' configures this package to adapt to many kinds of systems.
1391 Usage: $0 [OPTION]... [VAR=VALUE]...
1393 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1394 VAR=VALUE. See below for descriptions of some of the useful variables.
1396 Defaults for the options are specified in brackets.
1399 -h, --help display this help and exit
1400 --help=short display options specific to this package
1401 --help=recursive display the short help of all the included packages
1402 -V, --version display version information and exit
1403 -q, --quiet, --silent do not print \`checking...' messages
1404 --cache-file=FILE cache test results in FILE [disabled]
1405 -C, --config-cache alias for \`--cache-file=config.cache'
1406 -n, --no-create do not create output files
1407 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1409 Installation directories:
1410 --prefix=PREFIX install architecture-independent files in PREFIX
1411 [$ac_default_prefix]
1412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1415 By default, \`make install' will install all the files in
1416 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1417 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1418 for instance \`--prefix=\$HOME'.
1420 For better control, use the options below.
1422 Fine tuning of the installation directories:
1423 --bindir=DIR user executables [EPREFIX/bin]
1424 --sbindir=DIR system admin executables [EPREFIX/sbin]
1425 --libexecdir=DIR program executables [EPREFIX/libexec]
1426 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1427 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1428 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1429 --libdir=DIR object code libraries [EPREFIX/lib]
1430 --includedir=DIR C header files [PREFIX/include]
1431 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1432 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1433 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1434 --infodir=DIR info documentation [DATAROOTDIR/info]
1435 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1436 --mandir=DIR man documentation [DATAROOTDIR/man]
1437 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1438 --htmldir=DIR html documentation [DOCDIR]
1439 --dvidir=DIR dvi documentation [DOCDIR]
1440 --pdfdir=DIR pdf documentation [DOCDIR]
1441 --psdir=DIR ps documentation [DOCDIR]
1447 --program-prefix=PREFIX prepend PREFIX to installed program names
1448 --program-suffix=SUFFIX append SUFFIX to installed program names
1449 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1452 --build=BUILD configure
for building on BUILD
[guessed
]
1453 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1454 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1458 if test -n "$ac_init_help"; then
1463 --disable-option-checking ignore unrecognized
--enable/--with options
1464 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1465 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1466 --enable-gold[=ARG
] build gold
[ARG
={default
,yes,no
}]
1467 --enable-ld[=ARG
] build ld
[ARG
={default
,yes,no
}]
1468 --disable-libquadmath do not build libquadmath directory
1469 --disable-libquadmath-support
1470 disable libquadmath support
for Fortran
1471 --enable-libada build libada directory
1472 --enable-libssp build libssp directory
1473 --disable-libstdcxx do not build libstdc
++-v3 directory
1474 --enable-static-libjava[=ARG
]
1475 build static libjava
[default
=no
]
1476 --enable-bootstrap enable bootstrapping
[yes if native build
]
1477 --disable-isl-version-check
1478 disable check
for ISL version
1479 --disable-cloog-version-check
1480 disable check
for CLooG version
1481 --enable-lto enable link
time optimization support
1482 --enable-stage1-languages[=all
]
1483 choose additional languages to build during stage1.
1484 Mostly useful
for compiler development
1485 --enable-objc-gc enable use of Boehm
's garbage collector with the GNU
1487 --enable-serial-[{host,target,build}-]configure
1488 force sequential configuration of sub-packages for
1489 the host, target or build machine, or all
1491 --enable-upc-link-script
1492 enable UPC's use of a custom linker
script; this
1493 will define the UPC shared section as a no load
1494 section on targets where this feature is supported
1496 --enable-maintainer-mode
1497 enable make rules and dependencies not useful
(and
1498 sometimes confusing
) to the casual installer
1499 --enable-stage1-checking[=all
]
1500 choose additional checking
for stage1 of the
1502 --enable-werror enable -Werror in bootstrap stage2 and later
1505 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1506 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1507 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1508 --with-mpc=PATH specify prefix directory
for installed MPC package.
1509 Equivalent to
--with-mpc-include=PATH
/include plus
1510 --with-mpc-lib=PATH
/lib
1511 --with-mpc-include=PATH specify directory
for installed MPC include files
1512 --with-mpc-lib=PATH specify directory
for the installed MPC library
1513 --with-mpfr-dir=PATH this option has been REMOVED
1514 --with-mpfr=PATH specify prefix directory
for installed MPFR package.
1515 Equivalent to
--with-mpfr-include=PATH
/include plus
1516 --with-mpfr-lib=PATH
/lib
1517 --with-mpfr-include=PATH
1518 specify directory
for installed MPFR include files
1519 --with-mpfr-lib=PATH specify directory
for the installed MPFR library
1520 --with-gmp-dir=PATH this option has been REMOVED
1521 --with-gmp=PATH specify prefix directory
for the installed GMP
1522 package. Equivalent to
1523 --with-gmp-include=PATH
/include plus
1524 --with-gmp-lib=PATH
/lib
1525 --with-gmp-include=PATH specify directory
for installed GMP include files
1526 --with-gmp-lib=PATH specify directory
for the installed GMP library
1527 --with-host-libstdcxx=L use linker arguments L to link with libstdc
++ when
1529 --with-stage1-libs=LIBS libraries
for stage1
1530 --with-stage1-ldflags=FLAGS
1531 linker flags
for stage1
1532 --with-boot-libs=LIBS libraries
for stage2 and later
1533 --with-boot-ldflags=FLAGS
1534 linker flags
for stage2 and later
1535 --with-cloog=PATH Specify prefix directory
for the installed CLooG-ISL
1536 package. Equivalent to
1537 --with-cloog-include=PATH
/include plus
1538 --with-cloog-lib=PATH
/lib
1539 --with-isl=PATH Specify prefix directory
for the installed ISL
1540 package. Equivalent to
1541 --with-isl-include=PATH
/include plus
1542 --with-isl-lib=PATH
/lib
1543 --with-isl-include=PATH Specify directory
for installed ISL include files
1544 --with-isl-lib=PATH Specify the directory
for the installed ISL library
1545 --with-cloog-include=PATH
1546 Specify directory
for installed CLooG include files
1547 --with-cloog-lib=PATH Specify the directory
for the installed CLooG
1549 --with-upc-pts={struct
,packed
}
1550 choose the representation of a UPC pointer-to-shared
1551 --with-build-sysroot=SYSROOT
1552 use sysroot as the system root during the build
1553 --with-debug-prefix-map='A=B C=D ...'
1554 map A to B
, C to D ...
in debug information
1555 --with-build-config='NAME NAME2...'
1556 use config
/NAME.mk build configuration
1557 --with-build-time-tools=PATH
1558 use given path to
find target tools during the build
1560 Some influential environment variables
:
1561 CC C compiler
command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1564 nonstandard directory
<lib dir
>
1565 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1566 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1567 you have headers
in a nonstandard directory
<include dir
>
1568 CXX C
++ compiler
command
1569 CXXFLAGS C
++ compiler flags
1571 additional configure arguments
for build directories
1573 additional configure arguments
for host directories
1575 additional configure arguments
for target directories
1578 DLLTOOL DLLTOOL
for the
host
1580 LIPO LIPO
for the
host
1582 RANLIB RANLIB
for the
host
1583 STRIP STRIP
for the
host
1584 WINDRES WINDRES
for the
host
1585 WINDMC WINDMC
for the
host
1586 OBJCOPY OBJCOPY
for the
host
1587 OBJDUMP OBJDUMP
for the
host
1588 READELF READELF
for the
host
1598 GFORTRAN
for the target
1608 DLLTOOL
for the target
1616 OBJDUMP
for the target
1618 RANLIB
for the target
1620 READELF
for the target
1622 STRIP
for the target
1624 WINDRES
for the target
1626 WINDMC
for the target
1628 Use these variables to override the choices made by
`configure' or to help
1629 it to find libraries and programs with nonstandard names/locations.
1631 Report bugs to the package provider.
1636 if test "$ac_init_help" = "recursive"; then
1637 # If there are subdirs, report their specific --help.
1638 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1639 test -d "$ac_dir" ||
1640 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1648 # A ".." for each directory in $ac_dir_suffix.
1649 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1650 case $ac_top_builddir_sub in
1651 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1652 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1655 ac_abs_top_builddir=$ac_pwd
1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1657 # for backward compatibility:
1658 ac_top_builddir=$ac_top_build_prefix
1661 .) # We are building in place.
1663 ac_top_srcdir=$ac_top_builddir_sub
1664 ac_abs_top_srcdir=$ac_pwd ;;
1665 [\\/]* | ?:[\\/]* ) # Absolute name.
1666 ac_srcdir=$srcdir$ac_dir_suffix;
1667 ac_top_srcdir=$srcdir
1668 ac_abs_top_srcdir=$srcdir ;;
1670 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1671 ac_top_srcdir=$ac_top_build_prefix$srcdir
1672 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1676 cd "$ac_dir" || { ac_status=$?; continue; }
1677 # Check for guested configure.
1678 if test -f "$ac_srcdir/configure.gnu"; then
1680 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1681 elif test -f "$ac_srcdir/configure"; then
1683 $SHELL "$ac_srcdir/configure" --help=recursive
1685 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 cd "$ac_pwd" || { ac_status=$?; break; }
1691 test -n "$ac_init_help" && exit $ac_status
1692 if $ac_init_version; then
1695 generated by GNU Autoconf 2.64
1697 Copyright (C) 2009 Free Software Foundation, Inc.
1698 This configure script is free software; the Free Software Foundation
1699 gives unlimited permission to copy, distribute and modify it.
1704 ## ------------------------ ##
1705 ## Autoconf initialization. ##
1706 ## ------------------------ ##
1708 # ac_fn_c_try_compile LINENO
1709 # --------------------------
1710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1711 ac_fn_c_try_compile ()
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 rm -f conftest.$ac_objext
1715 if { { ac_try="$ac_compile"
1717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1718 *) ac_try_echo
=$ac_try;;
1720 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_compile") 2>conftest.err
1724 if test -s conftest.err
; then
1725 grep -v '^ *+' conftest.err
>conftest.er1
1726 cat conftest.er1
>&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest.
$ac_objext; then :
1736 $as_echo "$as_me: failed program was:" >&5
1737 sed 's/^/| /' conftest.
$ac_ext >&5
1741 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1744 } # ac_fn_c_try_compile
1746 # ac_fn_cxx_try_compile LINENO
1747 # ----------------------------
1748 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1749 ac_fn_cxx_try_compile
()
1751 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1752 rm -f conftest.
$ac_objext
1753 if { { ac_try
="$ac_compile"
1755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1756 *) ac_try_echo=$ac_try;;
1758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1759 $as_echo "$ac_try_echo"; } >&5
1760 (eval "$ac_compile") 2>conftest.err
1762 if test -s conftest.err; then
1763 grep -v '^ *+' conftest.err >conftest.er1
1764 cat conftest.er1 >&5
1765 mv -f conftest.er1 conftest.err
1767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1768 test $ac_status = 0; } && {
1769 test -z "$ac_cxx_werror_flag" ||
1770 test ! -s conftest.err
1771 } && test -s conftest.$ac_objext; then :
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1779 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782 } # ac_fn_cxx_try_compile
1784 # ac_fn_cxx_try_link LINENO
1785 # -------------------------
1786 # Try to link conftest.$ac_ext, and return whether this succeeded.
1787 ac_fn_cxx_try_link ()
1789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790 rm -f conftest.$ac_objext conftest$ac_exeext
1791 if { { ac_try="$ac_link"
1793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1794 *) ac_try_echo
=$ac_try;;
1796 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_link") 2>conftest.err
1800 if test -s conftest.err
; then
1801 grep -v '^ *+' conftest.err
>conftest.er1
1802 cat conftest.er1
>&5
1803 mv -f conftest.er1 conftest.err
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } && {
1807 test -z "$ac_cxx_werror_flag" ||
1808 test ! -s conftest.err
1809 } && test -s conftest
$ac_exeext && {
1810 test "$cross_compiling" = yes ||
1811 $as_test_x conftest
$ac_exeext
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.
$ac_ext >&5
1820 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1821 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1822 # interfere with the next link command; also delete a directory that is
1823 # left behind by Apple's compiler. We do this before executing the actions.
1824 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1825 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1828 } # ac_fn_cxx_try_link
1830 # ac_fn_c_try_link LINENO
1831 # -----------------------
1832 # Try to link conftest.$ac_ext, and return whether this succeeded.
1835 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1836 rm -f conftest.
$ac_objext conftest
$ac_exeext
1837 if { { ac_try
="$ac_link"
1839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_link") 2>conftest.err
1846 if test -s conftest.err; then
1847 grep -v '^ *+' conftest.err >conftest.er1
1848 cat conftest.er1 >&5
1849 mv -f conftest.er1 conftest.err
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; } && {
1853 test -z "$ac_c_werror_flag" ||
1854 test ! -s conftest.err
1855 } && test -s conftest$ac_exeext && {
1856 test "$cross_compiling" = yes ||
1857 $as_test_x conftest$ac_exeext
1861 $as_echo "$as_me: failed program was:" >&5
1862 sed 's/^/| /' conftest.$ac_ext >&5
1866 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1867 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1868 # interfere with the next link command; also delete a directory that is
1869 # left behind by Apple's compiler. We do this before executing the actions.
1870 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1871 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1874 } # ac_fn_c_try_link
1876 # ac_fn_c_try_run LINENO
1877 # ----------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1879 # that executables *can* be run.
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 if { { ac_try="$ac_link"
1885 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1886 *) ac_try_echo
=$ac_try;;
1888 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_link") 2>&5
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1894 { { case "(($ac_try" in
1895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1896 *) ac_try_echo=$ac_try;;
1898 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1899 $as_echo "$ac_try_echo"; } >&5
1900 (eval "$ac_try") 2>&5
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; }; }; then :
1906 $as_echo "$as_me: program exited with status $ac_status" >&5
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1910 ac_retval=$ac_status
1912 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1917 cat >config.log <<_ACEOF
1918 This file contains any messages produced by compilers while
1919 running configure, to aid debugging if configure makes a mistake.
1921 It was created by $as_me, which was
1922 generated by GNU Autoconf 2.64. Invocation command line was
1934 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1935 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1936 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1937 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1938 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1940 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1941 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1943 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1944 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1945 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1946 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1947 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1948 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1949 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir=.
1958 $as_echo "PATH: $as_dir"
1974 # Keep a trace of the command line.
1975 # Strip out --no-create and --no-recursion so they do not pile up.
1976 # Strip out --silent because we don't want to record it for future runs.
1977 # Also quote any args containing shell meta-characters.
1978 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_must_keep_next=false
1988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1990 | -silent | --silent | --silen | --sile | --sil)
1993 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1996 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1998 as_fn_append ac_configure_args1 " '$ac_arg'"
1999 if test $ac_must_keep_next = true; then
2000 ac_must_keep_next=false # Got value, back to normal.
2003 *=* | --config-cache | -C | -disable-* | --disable-* \
2004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2006 | -with-* | --with-* | -without-* | --without-* | --x)
2007 case "$ac_configure_args0 " in
2008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2011 -* ) ac_must_keep_next=true ;;
2014 as_fn_append ac_configure_args " '$ac_arg'"
2019 { ac_configure_args0=; unset ac_configure_args0;}
2020 { ac_configure_args1=; unset ac_configure_args1;}
2022 # When interrupted or exit'd, cleanup temporary files, and complete
2023 # config.log. We remove comments because anyway the quotes in there
2024 # would cause problems or look ugly.
2025 # WARNING: Use '\'' to represent an apostrophe within the trap.
2026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2027 trap 'exit_status=$?
2028 # Save into config.log some information that might help in debugging.
2033 ## ---------------- ##
2034 ## Cache variables. ##
2035 ## ---------------- ##
2038 # The following way of writing the cache mishandles newlines in values,
2040 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2041 eval ac_val=\$$ac_var
2045 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2046 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2049 _ | IFS | as_nl) ;; #(
2050 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2051 *) { eval $ac_var=; unset $ac_var;} ;;
2056 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2057 *${as_nl}ac_space=\ *)
2059 "s/'\''/'\''\\\\'\'''\''/g;
2060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2063 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2071 ## ----------------- ##
2072 ## Output variables. ##
2073 ## ----------------- ##
2076 for ac_var in $ac_subst_vars
2078 eval ac_val=\$$ac_var
2080 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2082 $as_echo "$ac_var='\''$ac_val'\''"
2086 if test -n "$ac_subst_files"; then
2088 ## ------------------- ##
2089 ## File substitutions. ##
2090 ## ------------------- ##
2093 for ac_var in $ac_subst_files
2095 eval ac_val=\$$ac_var
2097 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2099 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -s confdefs.h; then
2114 test "$ac_signal" != 0 &&
2115 $as_echo "$as_me: caught signal $ac_signal"
2116 $as_echo "$as_me: exit $exit_status"
2118 rm -f core *.core core.conftest.* &&
2119 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2122 for ac_signal in 1 2 13 15; do
2123 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2127 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2128 rm -f -r conftest* confdefs.h
2130 $as_echo "/* confdefs.h */" > confdefs.h
2132 # Predefined preprocessor variables.
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_NAME "$PACKAGE_NAME"
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_STRING "$PACKAGE_STRING"
2150 cat >>confdefs.h <<_ACEOF
2151 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2154 cat >>confdefs.h <<_ACEOF
2155 #define PACKAGE_URL "$PACKAGE_URL"
2159 # Let the site file select an alternate cache file if it wants to.
2160 # Prefer an explicitly selected file to automatically selected ones.
2163 if test -n "$CONFIG_SITE"; then
2164 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 -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
2183 if test -r "$cache_file"; then
2184 # Some versions of bash will fail to source /dev/null (special
2185 # files actually), so we avoid doing that.
2186 if test -f "$cache_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2188 $as_echo "$as_me: loading cache $cache_file" >&6;}
2190 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2191 *) . "./$cache_file";;
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2196 $as_echo "$as_me: creating cache $cache_file" >&6;}
2200 # Check that the precious variables saved in the cache have kept the same
2202 ac_cache_corrupted=false
2203 for ac_var in $ac_precious_vars; do
2204 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2205 eval ac_new_set=\$ac_env_${ac_var}_set
2206 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2207 eval ac_new_val=\$ac_env_${ac_var}_value
2208 case $ac_old_set,$ac_new_set in
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2211 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2212 ac_cache_corrupted=: ;;
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2215 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2216 ac_cache_corrupted=: ;;
2219 if test "x$ac_old_val" != "x$ac_new_val"; then
2220 # differences in whitespace do not lead to failure.
2221 ac_old_val_w=`echo x
$ac_old_val`
2222 ac_new_val_w=`echo x
$ac_new_val`
2223 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2225 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2226 ac_cache_corrupted=:
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2229 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2230 eval $ac_var=\$ac_old_val
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2233 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2235 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2238 # Pass precious variables to config.status.
2239 if test "$ac_new_set" = set; then
2241 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2242 *) ac_arg=$ac_var=$ac_new_val ;;
2244 case " $ac_configure_args " in
2245 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2246 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2250 if $ac_cache_corrupted; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2252 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2254 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2255 as_fn_error "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2257 ## -------------------- ##
2258 ## Main body of script. ##
2259 ## -------------------- ##
2262 ac_cpp='$CPP $CPPFLAGS'
2263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2276 # if PWD already has a value, it is probably wrong.
2277 if test -n "$PWD" ; then PWD=`${PWDCMD-pwd}`; fi
2279 # Export original configure arguments for use by sub-configures.
2280 # Quote arguments with shell meta charatcers.
2281 TOPLEVEL_CONFIGURE_ARGUMENTS=
2282 set -- "$progname" "$@"
2286 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\']*)
2287 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"`
2288 # if the argument is of the form -foo=baz, quote the baz part only
2289 ac_arg=`echo "'$ac_arg'" |
sed "s/^'\([-a-zA-Z0-9]*=\)/\\1'/"` ;;
2292 # Add the quoted argument to the list.
2293 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS $ac_arg"
2295 if test "$silent" = yes; then
2296 TOPLEVEL_CONFIGURE_ARGUMENTS="$TOPLEVEL_CONFIGURE_ARGUMENTS --silent"
2298 # Remove the initial space we just introduced and, as these will be
2299 # expanded by make, quote '$'.
2300 TOPLEVEL_CONFIGURE_ARGUMENTS=`echo "x$TOPLEVEL_CONFIGURE_ARGUMENTS" |
sed -e 's/^x *//' -e 's,\\$,$$,g'`
2303 # Find the build, host, and target systems.
2305 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2306 for ac_t in install-sh install.sh shtool; do
2307 if test -f "$ac_dir/$ac_t"; then
2309 ac_install_sh="$ac_aux_dir/$ac_t -c"
2314 if test -z "$ac_aux_dir"; then
2315 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2318 # These three variables are undocumented and unsupported,
2319 # and are intended to be withdrawn in a future Autoconf release.
2320 # They can cause serious problems if a builder's source tree is in a directory
2321 # whose full name contains unusual characters.
2322 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2323 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2324 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2327 # Make sure we can run config.sub.
2328 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2329 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2332 $as_echo_n "checking build system type... " >&6; }
2333 if test "${ac_cv_build+set}" = set; then :
2334 $as_echo_n "(cached) " >&6
2336 ac_build_alias=$build_alias
2337 test "x$ac_build_alias" = x &&
2338 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2339 test "x$ac_build_alias" = x &&
2340 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2341 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2342 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2346 $as_echo "$ac_cv_build" >&6; }
2347 case $ac_cv_build in
2349 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2352 ac_save_IFS=$IFS; IFS='-'
2358 # Remember, the first character of IFS is used to create $*,
2359 # except with old shells:
2362 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2365 case ${build_alias} in
2366 "") build_noncanonical=${build} ;;
2367 *) build_noncanonical=${build_alias} ;;
2372 case ${host_alias} in
2373 "") host_noncanonical=${build_noncanonical} ;;
2374 *) host_noncanonical=${host_alias} ;;
2379 case ${target_alias} in
2380 "") target_noncanonical=${host_noncanonical} ;;
2381 *) target_noncanonical=${target_alias} ;;
2387 test "$host_noncanonical" = "$target_noncanonical" &&
2388 test "$program_prefix$program_suffix$program_transform_name" = \
2390 program_transform_name=s,y,y,
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2393 $as_echo_n "checking host system type... " >&6; }
2394 if test "${ac_cv_host+set}" = set; then :
2395 $as_echo_n "(cached) " >&6
2397 if test "x$host_alias" = x; then
2398 ac_cv_host=$ac_cv_build
2400 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2401 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2406 $as_echo "$ac_cv_host" >&6; }
2409 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2412 ac_save_IFS=$IFS; IFS='-'
2418 # Remember, the first character of IFS is used to create $*,
2419 # except with old shells:
2422 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2426 $as_echo_n "checking target system type... " >&6; }
2427 if test "${ac_cv_target+set}" = set; then :
2428 $as_echo_n "(cached) " >&6
2430 if test "x$target_alias" = x; then
2431 ac_cv_target=$ac_cv_host
2433 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2434 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2439 $as_echo "$ac_cv_target" >&6; }
2440 case $ac_cv_target in
2442 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2444 target=$ac_cv_target
2445 ac_save_IFS=$IFS; IFS='-'
2451 # Remember, the first character of IFS is used to create $*,
2452 # except with old shells:
2455 case $target_os in *\ *) target_os=`echo "$target_os" |
sed 's/ /-/g'`;; esac
2458 # The aliases save the names the user supplied, while $host etc.
2459 # will get canonicalized.
2460 test -n "$target_alias" &&
2461 test "$program_prefix$program_suffix$program_transform_name" = \
2463 program_prefix=${target_alias}-
2465 test "$program_prefix" != NONE &&
2466 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2467 # Use a double $ so make ignores it.
2468 test "$program_suffix" != NONE &&
2469 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2470 # Double any \ or $.
2471 # By default was `s
,x
,x
', remove it if useless.
2472 ac_script='s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//'
2473 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2477 # Get 'install' or 'install-sh
' and its variants.
2478 # Find a good install program. We prefer a C program (faster),
2479 # so one script is as good as another. But avoid the broken or
2480 # incompatible versions:
2481 # SysV /etc/install, /usr/sbin/install
2482 # SunOS /usr/etc/install
2483 # IRIX /sbin/install
2485 # AmigaOS /C/install, which installs bootblocks on floppy discs
2486 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
2487 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2488 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2489 # OS/2's system install, which has a completely different semantic
2490 # ./install, which can be erroneously created by make from ./install.sh.
2491 # Reject install programs that cannot install multiple files.
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2493 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2494 if test -z "$INSTALL"; then
2495 if test "${ac_cv_path_install+set}" = set; then :
2496 $as_echo_n "(cached) " >&6
2498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2502 test -z "$as_dir" && as_dir
=.
2503 # Account for people who put trailing slashes in PATH elements.
2504 case $as_dir/ in #((
2505 .
/ | .
// |
/[cC
]/* | \
2506 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2507 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2510 # OSF1 and SCO ODT 3.0 have their own names for install.
2511 # Don't use installbsd from OSF since it installs stuff as root
2513 for ac_prog
in ginstall scoinst
install; do
2514 for ac_exec_ext
in '' $ac_executable_extensions; do
2515 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2516 if test $ac_prog = install &&
2517 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2518 # AIX install. It has an incompatible calling convention.
2520 elif test $ac_prog = install &&
2521 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2522 # program-specific install script used by HP pwplus--don't use.
2525 rm -rf conftest.one conftest.two conftest.dir
2526 echo one
> conftest.one
2527 echo two
> conftest.two
2529 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2530 test -s conftest.one
&& test -s conftest.two
&&
2531 test -s conftest.dir
/conftest.one
&&
2532 test -s conftest.dir
/conftest.two
2534 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2547 rm -rf conftest.one conftest.two conftest.dir
2550 if test "${ac_cv_path_install+set}" = set; then
2551 INSTALL
=$ac_cv_path_install
2553 # As a last resort, use the slow shell script. Don't cache a
2554 # value for INSTALL within a source directory, because that will
2555 # break other packages using the cache if that directory is
2556 # removed, or if the value is a relative name.
2557 INSTALL
=$ac_install_sh
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2561 $as_echo "$INSTALL" >&6; }
2563 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2564 # It thinks the first close brace ends the variable substitution.
2565 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2567 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2569 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln works" >&5
2572 $as_echo_n "checking whether ln works... " >&6; }
2573 if test "${acx_cv_prog_LN+set}" = set; then :
2574 $as_echo_n "(cached) " >&6
2576 rm -f conftestdata_t
2577 echo >conftestdata_f
2578 if ln conftestdata_f conftestdata_t
2>/dev
/null
2584 rm -f conftestdata_f conftestdata_t
2587 if test $acx_cv_prog_LN = no
; then
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN" >&5
2590 $as_echo "no, using $LN" >&6; }
2592 LN
="$acx_cv_prog_LN"
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2594 $as_echo "yes" >&6; }
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2598 $as_echo_n "checking whether ln -s works... " >&6; }
2600 if test "$LN_S" = "ln -s"; then
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2602 $as_echo "yes" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2605 $as_echo "no, using $LN_S" >&6; }
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2609 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
2610 if test "${ac_cv_path_SED+set}" = set; then :
2611 $as_echo_n "(cached) " >&6
2613 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
2614 for ac_i
in 1 2 3 4 5 6 7; do
2615 ac_script
="$ac_script$as_nl$ac_script"
2617 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
2618 { ac_script
=; unset ac_script
;}
2619 if test -z "$SED"; then
2620 ac_path_SED_found
=false
2621 # Loop through the user's path and test for each of PROGNAME-LIST
2622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2626 test -z "$as_dir" && as_dir
=.
2627 for ac_prog
in sed gsed
; do
2628 for ac_exec_ext
in '' $ac_executable_extensions; do
2629 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
2630 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } ||
continue
2631 # Check for GNU ac_path_SED and select it if it is found.
2632 # Check for GNU $ac_path_SED
2633 case `"$ac_path_SED" --version 2>&1` in
2635 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
2638 $as_echo_n 0123456789 >"conftest.in"
2641 cat "conftest.in" "conftest.in" >"conftest.tmp"
2642 mv "conftest.tmp" "conftest.in"
2643 cp "conftest.in" "conftest.nl"
2644 $as_echo '' >> "conftest.nl"
2645 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
2646 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
2647 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
2648 if test $ac_count -gt ${ac_path_SED_max-0}; then
2649 # Best one so far, save it but keep looking for a better one
2650 ac_cv_path_SED
="$ac_path_SED"
2651 ac_path_SED_max
=$ac_count
2653 # 10*(2^10) chars as input seems more than enough
2654 test $ac_count -gt 10 && break
2656 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
2659 $ac_path_SED_found && break 3
2664 if test -z "$ac_cv_path_SED"; then
2665 as_fn_error
"no acceptable sed could be found in \$PATH" "$LINENO" 5
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2673 $as_echo "$ac_cv_path_SED" >&6; }
2674 SED
="$ac_cv_path_SED"
2677 for ac_prog
in gawk mawk nawk
awk
2679 # Extract the first word of "$ac_prog", so it can be a program name with args.
2680 set dummy
$ac_prog; ac_word
=$2
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682 $as_echo_n "checking for $ac_word... " >&6; }
2683 if test "${ac_cv_prog_AWK+set}" = set; then :
2684 $as_echo_n "(cached) " >&6
2686 if test -n "$AWK"; then
2687 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2693 test -z "$as_dir" && as_dir
=.
2694 for ac_exec_ext
in '' $ac_executable_extensions; do
2695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2696 ac_cv_prog_AWK
="$ac_prog"
2697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 if test -n "$AWK"; then
2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2709 $as_echo "$AWK" >&6; }
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2716 test -n "$AWK" && break
2720 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2722 # We pass INSTALL explicitly to sub-makes. Make sure that it is not
2724 if test "$INSTALL" = "${srcdir}/install-sh -c"; then
2725 INSTALL
="${srcpwd}/install-sh -c"
2728 # Set srcdir to "." if that's what it is.
2729 # This is important for multilib support.
2731 if test "${pwd}" = "${srcpwd}" ; then
2739 ### To add a new directory to the tree, first choose whether it is a target
2740 ### or a host dependent tool. Then put it into the appropriate list
2741 ### (library or tools, host or target), doing a dependency sort.
2743 # Subdirs will be configured in the order listed in build_configdirs,
2744 # configdirs, or target_configdirs; see the serialization section below.
2746 # Dependency sorting is only needed when *configuration* must be done in
2747 # a particular order. In all cases a dependency should be specified in
2748 # the Makefile, whether or not it's implicitly specified here.
2750 # Double entries in build_configdirs, configdirs, or target_configdirs may
2751 # cause circular dependencies and break everything horribly.
2753 # these library is used by various programs built for the build
2756 build_libs
="build-libiberty"
2758 # these tools are built for the build environment
2759 build_tools
="build-texinfo build-flex build-bison build-m4 build-fixincludes"
2761 # these libraries are used by various programs built for the host environment
2763 host_libs
="intl libiberty opcodes bfd readline tcl tk itcl libgui zlib libbacktrace libcpp libdecnumber gmp mpfr mpc isl cloog libelf libiconv"
2765 # these tools are built for the host environment
2766 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
2767 # know that we are building the simulator.
2768 # binutils, gas and ld appear in that order because it makes sense to run
2769 # "make check" in that particular order.
2770 # If --enable-gold is used, "gold" may replace "ld".
2771 host_tools
="texinfo flex bison binutils gas ld fixincludes gcc cgen sid sim gdb gprof etc expect dejagnu m4 utils guile fastjar gnattools"
2773 # libgcj represents the runtime libraries only used by gcj.
2774 libgcj
="target-libffi \
2778 # these libraries are built for the target environment, and are built after
2779 # the host libraries and the host tools (which may be a cross compiler)
2780 # Note that libiberty is not a target library.
2781 target_libraries
="target-libgcc \
2782 target-libbacktrace \
2788 target-libstdc++-v3 \
2791 target-libquadmath \
2792 target-libgfortran \
2800 # these tools are built using the target libraries, and are intended to
2801 # run only in the target environment
2803 # note: any program that *uses* libraries that are in the "target_libraries"
2804 # list belongs in this list.
2806 target_tools
="target-rda"
2808 ################################################################################
2810 ## All tools belong in one of the four categories, and are assigned above
2811 ## We assign ${configdirs} this way to remove all embedded newlines. This
2812 ## is important because configure will choke if they ever get through.
2813 ## ${configdirs} is directories we build using the host tools.
2814 ## ${target_configdirs} is directories we build using the target tools.
2815 configdirs
=`echo ${host_libs} ${host_tools}`
2816 target_configdirs
=`echo ${target_libraries} ${target_tools}`
2817 build_configdirs
=`echo ${build_libs} ${build_tools}`
2821 ################################################################################
2823 srcname
="gnu development package"
2825 # This gets set non-empty for some net releases of packages.
2828 # Define is_cross_compiler to save on calls to 'test'.
2830 if test x
"${host}" = x
"${target}" ; then
2831 is_cross_compiler
=no
2833 is_cross_compiler
=yes
2836 # Find the build and target subdir names.
2838 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2839 # have matching libraries, they should use host libraries: Makefile.tpl
2840 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2841 # However, they still use the build modules, because the corresponding
2842 # host modules (e.g. bison) are only built for the host when bootstrap
2844 # - build_subdir is where we find build modules, and never changes.
2845 # - build_libsubdir is where we find build libraries, and can be overridden.
2847 # Prefix 'build-' so this never conflicts with target_subdir.
2848 build_subdir
="build-${build_noncanonical}"
2850 # Check whether --with-build-libsubdir was given.
2851 if test "${with_build_libsubdir+set}" = set; then :
2852 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2854 build_libsubdir
="$build_subdir"
2857 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2858 if ( test $srcdir = .
&& test -d gcc
) \
2859 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2860 host_subdir
="host-${host_noncanonical}"
2865 target_subdir
=${target_noncanonical}
2867 # Be sure to cover against remnants of an in-tree build.
2868 if test $srcdir != .
&& test -d $srcdir/host-
${host_noncanonical}; then
2869 as_fn_error
"building out of tree but $srcdir contains host-${host_noncanonical}.
2870 Use a pristine source tree when building in a separate tree" "$LINENO" 5
2873 # Skipdirs are removed silently.
2875 # Noconfigdirs are removed loudly.
2879 # Make sure we don't let GNU ld be added if we didn't want it.
2880 if test x
$with_gnu_ld = xno
; then
2882 noconfigdirs
="$noconfigdirs ld gold"
2886 # Make sure we don't let GNU as be added if we didn't want it.
2887 if test x
$with_gnu_as = xno
; then
2889 noconfigdirs
="$noconfigdirs gas"
2893 # Make sure we don't let ZLIB be added if we didn't want it.
2894 if test x
$with_system_zlib = xyes
; then
2895 use_included_zlib
=no
2896 noconfigdirs
="$noconfigdirs zlib"
2899 # some tools are so dependent upon X11 that if we're not building with X,
2900 # it's not even worth trying to configure, much less build, that tool.
2903 yes |
"") ;; # the default value for this tree is that X11 is available
2905 skipdirs
="${skipdirs} tk itcl libgui"
2906 # We won't be able to build gdbtk without X.
2909 *) echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
2912 # Some are only suitable for cross toolchains.
2913 # Remove these if host=target.
2914 cross_only
="target-libgloss target-newlib target-opcodes"
2916 case $is_cross_compiler in
2917 no
) skipdirs
="${skipdirs} ${cross_only}" ;;
2920 # If both --with-headers and --with-libs are specified, default to
2922 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno \
2923 && test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
2924 if test x
"${with_newlib}" = x
; then
2929 # Recognize --with-newlib/--without-newlib.
2930 case ${with_newlib} in
2931 no
) skipdirs
="${skipdirs} target-newlib" ;;
2932 yes) skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` ;;
2935 # Handle --enable-gold, --enable-ld.
2936 # --disable-gold [--enable-ld]
2937 # Build only ld. Default option.
2938 # --enable-gold [--enable-ld]
2939 # Build both gold and ld. Install gold as "ld.gold", install ld
2940 # as "ld.bfd" and "ld".
2941 # --enable-gold=default [--enable-ld]
2942 # Build both gold and ld. Install gold as "ld.gold" and "ld",
2943 # install ld as "ld.bfd".
2944 # --enable-gold[=default] --disable-ld
2945 # Build only gold, which is then installed as both "ld.gold" and "ld".
2946 # --enable-gold --enable-ld=default
2947 # Build both gold (installed as "ld.gold") and ld (installed as "ld"
2949 # In other words, ld is default
2950 # --enable-gold=default --enable-ld=default
2954 # Check whether --enable-gold was given.
2955 if test "${enable_gold+set}" = set; then :
2956 enableval
=$enable_gold; ENABLE_GOLD
=$enableval
2961 case "${ENABLE_GOLD}" in
2963 # Check for ELF target.
2966 *-*-elf* |
*-*-sysv4* |
*-*-unixware* |
*-*-eabi* | hppa
*64*-*-hpux* \
2967 |
*-*-linux* | frv-
*-uclinux* |
*-*-irix5* |
*-*-irix6* \
2968 |
*-*-netbsd* |
*-*-openbsd* |
*-*-freebsd* |
*-*-dragonfly* \
2969 |
*-*-solaris2* |
*-*-nto*)
2971 *-*-linux*aout
* |
*-*-linux*oldld
*)
2979 if test "$is_elf" = "yes"; then
2980 # Check for target supported by gold.
2982 i?
86-*-* | x86_64-
*-* | sparc
*-*-* | powerpc
*-*-* | arm
*-*-* | tilegx
*-*-*)
2983 configdirs
="$configdirs gold"
2984 if test x
${ENABLE_GOLD} = xdefault
; then
2995 as_fn_error
"invalid --enable-gold argument" "$LINENO" 5
2999 # Check whether --enable-ld was given.
3000 if test "${enable_ld+set}" = set; then :
3001 enableval
=$enable_ld; ENABLE_LD
=$enableval
3007 case "${ENABLE_LD}" in
3009 if test x
${default_ld} != x
; then
3010 as_fn_error
"either gold or ld can be the default ld" "$LINENO" 5
3016 if test x
${ENABLE_GOLD} != xyes
; then
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither ld nor gold are enabled" >&5
3018 $as_echo "$as_me: WARNING: neither ld nor gold are enabled" >&2;}
3020 configdirs
=`echo " ${configdirs} " | sed -e 's/ ld / /'`
3023 as_fn_error
"invalid --enable-ld argument" "$LINENO" 5
3027 # Configure extra directories which are host specific
3031 configdirs
="$configdirs libtermcap" ;;
3034 # A target can indicate whether a language isn't supported for some reason.
3035 # Only spaces may be used in this macro; not newlines or tabs.
3036 unsupported_languages
=
3038 # Remove more programs from consideration, based on the host or
3039 # target this usually means that a port of the program doesn't
3043 i
[3456789]86-*-msdosdjgpp*)
3044 noconfigdirs
="$noconfigdirs tcl tk itcl"
3049 # Check whether --enable-libquadmath was given.
3050 if test "${enable_libquadmath+set}" = set; then :
3051 enableval
=$enable_libquadmath; ENABLE_LIBQUADMATH
=$enableval
3053 ENABLE_LIBQUADMATH
=yes
3056 if test "${ENABLE_LIBQUADMATH}" = "no" ; then
3057 noconfigdirs
="$noconfigdirs target-libquadmath"
3061 # Check whether --enable-libquadmath-support was given.
3062 if test "${enable_libquadmath_support+set}" = set; then :
3063 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
3065 ENABLE_LIBQUADMATH_SUPPORT
=yes
3068 enable_libquadmath_support
=
3069 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
3070 enable_libquadmath_support
=no
3074 # Check whether --enable-libada was given.
3075 if test "${enable_libada+set}" = set; then :
3076 enableval
=$enable_libada; ENABLE_LIBADA
=$enableval
3081 if test "${ENABLE_LIBADA}" != "yes" ; then
3082 noconfigdirs
="$noconfigdirs gnattools"
3085 # Check whether --enable-libssp was given.
3086 if test "${enable_libssp+set}" = set; then :
3087 enableval
=$enable_libssp; ENABLE_LIBSSP
=$enableval
3093 # Check whether --enable-libstdcxx was given.
3094 if test "${enable_libstdcxx+set}" = set; then :
3095 enableval
=$enable_libstdcxx; ENABLE_LIBSTDCXX
=$enableval
3097 ENABLE_LIBSTDCXX
=default
3100 if test "${ENABLE_LIBSTDCXX}" = "no" ; then
3101 noconfigdirs
="$noconfigdirs libstdc++-v3"
3104 # Save it here so that, even in case of --enable-libgcj, if the Java
3105 # front-end isn't enabled, we still get libgcj disabled.
3106 libgcj_saved
=$libgcj
3107 case $enable_libgcj in
3109 # If we reset it here, it won't get added to noconfigdirs in the
3110 # target-specific build rules, so it will be forcibly enabled
3111 # (unless the Java language itself isn't enabled).
3115 # Make sure we get it printed in the list of not supported target libs.
3116 # Don't disable libffi, though, other languages use it.
3117 noconfigdirs
="$noconfigdirs `echo ${libgcj} | sed -e 's/target-libffi//'`"
3118 # Clear libgcj_saved so that even if java is enabled libffi won't be
3124 # Check whether --enable-static-libjava was given.
3125 if test "${enable_static_libjava+set}" = set; then :
3126 enableval
=$enable_static_libjava; ENABLE_STATIC_LIBJAVA
=$enableval
3128 ENABLE_STATIC_LIBJAVA
=no
3131 enable_static_libjava
=
3132 if test "${ENABLE_STATIC_LIBJAVA}" = "yes" ; then
3133 enable_static_libjava
=yes
3136 if test x
$enable_static_libjava != xyes
; then
3137 EXTRA_CONFIGARGS_LIBJAVA
=--disable-static
3141 # Disable libmudflap on some systems.
3142 if test x
$enable_libmudflap = x
; then
3144 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu | bfin
*-*-uclinux* |
*-*-kopensolaris*-gnu)
3145 # Enable libmudflap by default in GNU and friends.
3148 # Enable libmudflap by default in FreeBSD.
3151 # Disable it by default everywhere else.
3152 noconfigdirs
="$noconfigdirs target-libmudflap"
3157 posix_based_os
="yes"
3159 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3161 *-*-netbsd* |
*-*-freebsd* |
*-*-openbsd* |
*-*-dragonfly*)
3163 *-*-solaris2* |
*-*-hpux11*)
3165 *-*-darwin* |
*-*-aix*)
3172 # Enable libgomp by default on POSIX hosted systems.
3173 if test x
$enable_libgomp = x
-a $posix_based_os = "no" ; then
3174 # Disable libgomp on non POSIX hosted systems.
3175 noconfigdirs
="$noconfigdirs target-libgomp"
3178 # Enable libgupc by default on POSIX hosted systems.
3179 if test x
$enable_libgupc = x
-a $posix_based_os = "no" ; then
3180 # Disable libgupc on non POSIX hosted systems.
3181 noconfigdirs
="$noconfigdirs target-libgupc"
3184 # Disable libatomic on unsupported systems.
3185 if test -d ${srcdir}/libatomic
; then
3186 if test x
$enable_libatomic = x
; then
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libatomic support" >&5
3188 $as_echo_n "checking for libatomic support... " >&6; }
3189 if (srcdir
=${srcdir}/libatomic
; \
3190 .
${srcdir}/configure.tgt
; \
3191 test -n "$UNSUPPORTED")
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3194 $as_echo "no" >&6; }
3195 noconfigdirs
="$noconfigdirs target-libatomic"
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3198 $as_echo "yes" >&6; }
3203 # Disable libitm on unsupported systems.
3204 if test -d ${srcdir}/libitm
; then
3205 if test x
$enable_libitm = x
; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libitm support" >&5
3207 $as_echo_n "checking for libitm support... " >&6; }
3208 if (srcdir
=${srcdir}/libitm
; \
3209 .
${srcdir}/configure.tgt
; \
3210 test -n "$UNSUPPORTED")
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3213 $as_echo "no" >&6; }
3214 noconfigdirs
="$noconfigdirs target-libitm"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3217 $as_echo "yes" >&6; }
3222 # Disable libquadmath for some systems.
3224 # libquadmath is unused on AIX and libquadmath build process use of
3225 # LD_LIBRARY_PATH can break AIX bootstrap.
3226 powerpc-
*-aix* | rs6000-
*-aix*)
3227 noconfigdirs
="$noconfigdirs target-libquadmath"
3231 # Disable libssp for some systems.
3234 # No hosted I/O support.
3235 noconfigdirs
="$noconfigdirs target-libssp"
3237 powerpc-
*-aix* | rs6000-
*-aix*)
3238 noconfigdirs
="$noconfigdirs target-libssp"
3241 # libssp uses a misaligned load to trigger a fault, but the RL78
3242 # doesn't fault for those - instead, it gives a build-time error
3243 # for explicit misaligned loads.
3244 noconfigdirs
="$noconfigdirs target-libssp"
3248 # Disable libquadmath for some systems.
3251 noconfigdirs
="$noconfigdirs target-libquadmath"
3255 # Disable libstdc++-v3 for some systems.
3256 # Allow user to override this if they pass --enable-libstdc++-v3
3257 if test "${ENABLE_LIBSTDCXX}" = "default" ; then
3260 # VxWorks uses the Dinkumware C++ library.
3261 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3264 # the C++ libraries don't build on top of CE's C libraries
3265 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3268 noconfigdirs
="$noconfigdirs target-libstdc++-v3"
3273 # Disable Fortran for some systems.
3276 # See <http://gcc.gnu.org/ml/gcc-patches/2004-11/msg00572.html>.
3277 unsupported_languages
="$unsupported_languages fortran"
3281 # Disable Java if libffi is not supported.
3311 powerpc-
*-aix* | rs6000-
*-aix*)
3315 powerpc64-
*-freebsd*)
3319 s390-
*-* | s390x-
*-*)
3321 sh-
*-* | sh
[34]*-*-*)
3323 sh64-
*-* | sh5
*-*-*)
3330 unsupported_languages
="$unsupported_languages java"
3334 # Disable Java, libgcj or related libraries for some systems.
3338 i
[3456789]86-*-darwin*)
3340 x86_64-
*-darwin[912]*)
3343 noconfigdirs
="$noconfigdirs ${libgcj}"
3346 noconfigdirs
="$noconfigdirs ${libgcj}"
3349 noconfigdirs
="$noconfigdirs ${libgcj}"
3352 noconfigdirs
="$noconfigdirs ${libgcj}"
3355 noconfigdirs
="$noconfigdirs ${libgcj}"
3358 noconfigdirs
="$noconfigdirs ${libgcj}"
3361 noconfigdirs
="$noconfigdirs ${libgcj}"
3364 noconfigdirs
="$noconfigdirs ${libgcj}"
3367 noconfigdirs
="$noconfigdirs ${libgcj}"
3370 noconfigdirs
="$noconfigdirs target-boehm-gc"
3372 cris-
*-* | crisv32-
*-*)
3373 unsupported_languages
="$unsupported_languages java"
3377 *) # See PR46792 regarding target-libffi.
3378 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc";;
3382 # In this case, it's because the hppa64-linux target is for
3383 # the kernel only at this point and has no libc, and thus no
3384 # headers, crt*.o, etc., all of which are needed by these.
3385 unsupported_languages
="$unsupported_languages java"
3388 noconfigdirs
="$noconfigdirs ${libgcj}"
3393 # According to Alexandre Oliva <aoliva@redhat.com>, libjava won't
3394 # build on HP-UX 10.20.
3395 noconfigdirs
="$noconfigdirs ${libgcj}"
3398 noconfigdirs
="$noconfigdirs ${libgcj}"
3400 i
[3456789]86-w64-mingw*)
3401 noconfigdirs
="$noconfigdirs ${libgcj}"
3403 i
[3456789]86-*-mingw*)
3404 noconfigdirs
="$noconfigdirs ${libgcj}"
3407 noconfigdirs
="$noconfigdirs ${libgcj}"
3410 noconfigdirs
="$noconfigdirs target-libffi target-boehm-gc"
3413 # copied from rs6000-*-* entry
3414 noconfigdirs
="$noconfigdirs ${libgcj}"
3417 noconfigdirs
="$noconfigdirs ${libgcj}"
3420 noconfigdirs
="$noconfigdirs ${libgcj}"
3424 # Default libgloss CPU subdirectory.
3425 libgloss_dir
="$target_cpu"
3428 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3434 cris-
*-* | crisv32-
*-*)
3443 m68hc11-
*-*|m6811-
*-*|m68hc12-
*-*|m6812-
*-*)
3444 libgloss_dir
=m68hc11
3446 m68
*-*-* | fido-
*-*)
3460 # Disable newlib and libgloss for various target OSes.
3463 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3465 i
[3456789]86-*-linux*)
3466 # This section makes it possible to build newlib natively on linux.
3467 # If we are using a cross compiler then don't configure newlib.
3468 if test x
${is_cross_compiler} != xno
; then
3469 noconfigdirs
="$noconfigdirs target-newlib"
3471 noconfigdirs
="$noconfigdirs target-libgloss"
3472 # If we are not using a cross compiler, do configure newlib.
3473 # Note however, that newlib will only be configured in this situation
3474 # if the --with-newlib option has been given, because otherwise
3475 # 'target-newlib' will appear in skipdirs.
3477 i
[3456789]86-*-rdos*)
3478 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3480 sh
*-*-pe|mips
*-*-pe|arm-wince-pe
)
3481 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3484 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3487 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3490 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3493 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3496 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3499 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3501 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
3502 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3505 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3508 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3511 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3514 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3517 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3520 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3523 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3531 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3532 noconfigdirs
="$noconfigdirs sim target-rda"
3534 i
[3456789]86-*-darwin*)
3535 noconfigdirs
="$noconfigdirs ld gprof"
3536 noconfigdirs
="$noconfigdirs sim target-rda"
3538 x86_64-
*-darwin[912]*)
3539 noconfigdirs
="$noconfigdirs ld gas gprof"
3540 noconfigdirs
="$noconfigdirs sim target-rda"
3543 noconfigdirs
="$noconfigdirs ld gas gdb gprof"
3544 noconfigdirs
="$noconfigdirs sim target-rda"
3549 if test "x$with_gmp" = x
&& test "x$with_gmp_dir" = x \
3550 && test -f /usr
/local
/include
/gmp.h
; then
3555 # Remove unsupported stuff on all kaOS configurations.
3556 noconfigdirs
="$noconfigdirs target-libgloss"
3563 noconfigdirs
="$noconfigdirs target-libgloss"
3565 # The tpf target doesn't support gdb yet.
3567 noconfigdirs
="$noconfigdirs gdb tcl tk libgui itcl"
3570 noconfigdirs
="$noconfigdirs target-rda"
3575 # ld works, but does not support shared libraries.
3576 # gas doesn't generate exception information.
3577 noconfigdirs
="$noconfigdirs gas ld"
3580 noconfigdirs
="$noconfigdirs gdb target-newlib target-libgloss"
3583 # newlib is not 64 bit ready
3584 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3586 sh
*-*-pe|mips
*-*-pe|
*arm-wince-pe
)
3587 noconfigdirs
="$noconfigdirs tcl tk itcl libgui sim"
3590 noconfigdirs
="$noconfigdirs target-libgloss"
3593 noconfigdirs
="$noconfigdirs target-libgloss"
3596 noconfigdirs
="$noconfigdirs ld target-libgloss"
3601 if test x
${with_avrlibc} != xno
; then
3602 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3605 c4x-
*-* | tic4x-
*-*)
3606 noconfigdirs
="$noconfigdirs target-libgloss"
3609 noconfigdirs
="$noconfigdirs target-libgloss gdb"
3612 noconfigdirs
="$noconfigdirs target-libgloss"
3615 noconfigdirs
="$noconfigdirs gdb"
3618 noconfigdirs
="$noconfigdirs gdb"
3621 noconfigdirs
="$noconfigdirs gprof"
3624 noconfigdirs
="$noconfigdirs target-libgloss"
3627 noconfigdirs
="$noconfigdirs target-libgloss"
3629 hppa1.1
-*-osf* | hppa1.1
-*-bsd* )
3637 hppa
*-*-openbsd* | \
3641 noconfigdirs
="$noconfigdirs ld"
3646 noconfigdirs
="$noconfigdirs ld"
3649 noconfigdirs
="$noconfigdirs gdb"
3652 # No gdb support yet.
3653 noconfigdirs
="$noconfigdirs readline libgui itcl gdb"
3656 # No ld support yet.
3657 noconfigdirs
="$noconfigdirs libgui itcl ld"
3660 # No ld support yet.
3661 noconfigdirs
="$noconfigdirs libgui itcl ld"
3663 i
[3456789]86-w64-mingw*)
3665 i
[3456789]86-*-mingw*)
3666 target_configdirs
="$target_configdirs target-winsup"
3669 target_configdirs
="$target_configdirs target-libtermcap target-winsup"
3670 noconfigdirs
="$noconfigdirs target-libgloss"
3671 # always build newlib if winsup directory is present.
3672 if test -d "$srcdir/winsup/cygwin"; then
3673 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3674 elif test -d "$srcdir/newlib"; then
3675 echo "Warning: winsup/cygwin is missing so newlib can't be built."
3679 noconfigdirs
="$noconfigdirs target-libgloss"
3681 i
[3456789]86-*-sco3.2v5
*)
3682 # The linker does not yet know about weak symbols in COFF,
3683 # and is not configured to handle mixed ELF and COFF.
3684 noconfigdirs
="$noconfigdirs ld target-libgloss"
3686 i
[3456789]86-*-sco*)
3687 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3689 i
[3456789]86-*-solaris2* | x86_64-
*-solaris2.1
[0-9]*)
3690 noconfigdirs
="$noconfigdirs target-libgloss"
3692 i
[3456789]86-*-sysv4*)
3693 noconfigdirs
="$noconfigdirs target-libgloss"
3695 i
[3456789]86-*-beos*)
3696 noconfigdirs
="$noconfigdirs gdb"
3698 i
[3456789]86-*-rdos*)
3699 noconfigdirs
="$noconfigdirs gdb"
3702 noconfigdirs
="$noconfigdirs gdb"
3705 noconfigdirs
="$noconfigdirs sim"
3708 # copied from rs6000-*-* entry
3709 noconfigdirs
="$noconfigdirs gprof"
3711 powerpc
*-*-winnt* | powerpc
*-*-pe*)
3712 target_configdirs
="$target_configdirs target-winsup"
3713 noconfigdirs
="$noconfigdirs gdb tcl tk target-libgloss itcl"
3714 # always build newlib.
3715 skipdirs
=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
3717 # This is temporary until we can link against shared libraries
3718 powerpcle-
*-solaris*)
3719 noconfigdirs
="$noconfigdirs gdb sim tcl tk itcl"
3722 noconfigdirs
="$noconfigdirs gdb"
3725 noconfigdirs
="$noconfigdirs gprof"
3728 noconfigdirs
="$noconfigdirs gprof"
3731 noconfigdirs
="$noconfigdirs gprof"
3734 noconfigdirs
="$noconfigdirs ld binutils gprof target-libgloss"
3737 noconfigdirs
="$noconfigdirs gprof"
3739 mips
*-sde-elf* | mips
*-mti-elf*)
3740 if test x
$with_newlib = xyes
; then
3741 noconfigdirs
="$noconfigdirs gprof"
3745 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3748 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3751 noconfigdirs
="$noconfigdirs gprof target-libgloss"
3756 noconfigdirs
="$noconfigdirs gprof"
3763 noconfigdirs
="$noconfigdirs target-libgloss" ;;
3767 if test x
${is_cross_compiler} = xno
; then
3772 noconfigdirs
="$noconfigdirs sim"
3774 tilepro-
*-* | tilegx-
*-*)
3775 noconfigdirs
="$noconfigdirs sim"
3778 noconfigdirs
="$noconfigdirs bfd binutils gas gdb ld opcodes target-libgloss"
3781 noconfigdirs
="$noconfigdirs target-newlib target-libgloss"
3785 # If we aren't building newlib, then don't build libgloss, since libgloss
3786 # depends upon some newlib header files.
3787 case "${noconfigdirs}" in
3788 *target-libgloss
*) ;;
3789 *target-newlib
*) noconfigdirs
="$noconfigdirs target-libgloss" ;;
3792 # Work in distributions that contain no compiler tools, like Autoconf.
3793 host_makefile_frag
=/dev
/null
3794 if test -d ${srcdir}/config
; then
3796 i
[3456789]86-*-msdosdjgpp*)
3797 host_makefile_frag
="config/mh-djgpp"
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if cat works as expected" >&5
3802 $as_echo_n "checking to see if cat works as expected... " >&6; }
3803 echo a
>cygwin-cat-check
3804 if test `cat cygwin-cat-check` = a
; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3807 $as_echo "yes" >&6; }
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3811 $as_echo "no" >&6; }
3812 as_fn_error
"The cat command does not ignore carriage return characters.
3813 Please either mount the build directory in binary mode or run the following
3814 commands before running any configure script:
3820 host_makefile_frag
="config/mh-cygwin"
3823 host_makefile_frag
="config/mh-mingw"
3826 host_makefile_frag
="config/mh-pa-hpux10"
3829 host_makefile_frag
="config/mh-pa"
3832 host_makefile_frag
="config/mh-pa"
3835 host_makefile_frag
="config/mh-darwin"
3838 host_makefile_frag
="config/mh-ppc-aix"
3841 host_makefile_frag
="config/mh-ppc-aix"
3846 if test "${build}" != "${host}" ; then
3847 AR_FOR_BUILD
=${AR_FOR_BUILD-ar}
3848 AS_FOR_BUILD
=${AS_FOR_BUILD-as}
3849 CC_FOR_BUILD
=${CC_FOR_BUILD-gcc}
3850 CXX_FOR_BUILD
=${CXX_FOR_BUILD-g++}
3851 GCJ_FOR_BUILD
=${GCJ_FOR_BUILD-gcj}
3852 GFORTRAN_FOR_BUILD
=${GFORTRAN_FOR_BUILD-gfortran}
3853 GOC_FOR_BUILD
=${GOC_FOR_BUILD-gccgo}
3854 GUPC_FOR_BUILD
=${GUPC_FOR_BUILD-gupc}
3855 DLLTOOL_FOR_BUILD
=${DLLTOOL_FOR_BUILD-dlltool}
3856 LD_FOR_BUILD
=${LD_FOR_BUILD-ld}
3857 NM_FOR_BUILD
=${NM_FOR_BUILD-nm}
3858 RANLIB_FOR_BUILD
=${RANLIB_FOR_BUILD-ranlib}
3859 WINDRES_FOR_BUILD
=${WINDRES_FOR_BUILD-windres}
3860 WINDMC_FOR_BUILD
=${WINDMC_FOR_BUILD-windmc}
3862 AR_FOR_BUILD
="\$(AR)"
3863 AS_FOR_BUILD
="\$(AS)"
3864 CC_FOR_BUILD
="\$(CC)"
3865 CXX_FOR_BUILD
="\$(CXX)"
3866 GCJ_FOR_BUILD
="\$(GCJ)"
3867 GFORTRAN_FOR_BUILD
="\$(GFORTRAN)"
3868 GOC_FOR_BUILD
="\$(GOC)"
3869 GUPC_FOR_BUILD
="\$(GUPC)"
3870 DLLTOOL_FOR_BUILD
="\$(DLLTOOL)"
3871 LD_FOR_BUILD
="\$(LD)"
3872 NM_FOR_BUILD
="\$(NM)"
3873 RANLIB_FOR_BUILD
="\$(RANLIB)"
3874 WINDRES_FOR_BUILD
="\$(WINDRES)"
3875 WINDMC_FOR_BUILD
="\$(WINDMC)"
3879 ac_cpp
='$CPP $CPPFLAGS'
3880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3883 if test -n "$ac_tool_prefix"; then
3884 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3885 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if test "${ac_cv_prog_CC+set}" = set; then :
3889 $as_echo_n "(cached) " >&6
3891 if test -n "$CC"; then
3892 ac_cv_prog_CC
="$CC" # Let the user override the test.
3894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir
=.
3899 for ac_exec_ext
in '' $ac_executable_extensions; do
3900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3912 if test -n "$CC"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3914 $as_echo "$CC" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 if test -z "$ac_cv_prog_CC"; then
3924 # Extract the first word of "gcc", so it can be a program name with args.
3925 set dummy gcc
; ac_word
=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3929 $as_echo_n "(cached) " >&6
3931 if test -n "$ac_ct_CC"; then
3932 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir
=.
3939 for ac_exec_ext
in '' $ac_executable_extensions; do
3940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3941 ac_cv_prog_ac_ct_CC
="gcc"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3952 if test -n "$ac_ct_CC"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3954 $as_echo "$ac_ct_CC" >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3960 if test "x$ac_ct_CC" = x
; then
3963 case $cross_compiling:$ac_tool_warned in
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3967 ac_tool_warned
=yes ;;
3975 if test -z "$CC"; then
3976 if test -n "$ac_tool_prefix"; then
3977 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3978 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3980 $as_echo_n "checking for $ac_word... " >&6; }
3981 if test "${ac_cv_prog_CC+set}" = set; then :
3982 $as_echo_n "(cached) " >&6
3984 if test -n "$CC"; then
3985 ac_cv_prog_CC
="$CC" # Let the user override the test.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 if test -n "$CC"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4007 $as_echo "$CC" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4016 if test -z "$CC"; then
4017 # Extract the first word of "cc", so it can be a program name with args.
4018 set dummy cc
; ac_word
=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if test "${ac_cv_prog_CC+set}" = set; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -n "$CC"; then
4025 ac_cv_prog_CC
="$CC" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4036 ac_prog_rejected
=yes
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 if test $ac_prog_rejected = yes; then
4048 # We found a bogon in the path, so make sure we never use it.
4049 set dummy
$ac_cv_prog_CC
4051 if test $# != 0; then
4052 # We chose a different compiler from the bogus one.
4053 # However, it has the same basename, so the bogon will be chosen
4054 # first if we set CC to just the basename; use the full file name.
4056 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4062 if test -n "$CC"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4064 $as_echo "$CC" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4072 if test -z "$CC"; then
4073 if test -n "$ac_tool_prefix"; then
4074 for ac_prog
in cl.exe
4076 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4077 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if test "${ac_cv_prog_CC+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$CC"; then
4084 ac_cv_prog_CC
="$CC" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4104 if test -n "$CC"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4106 $as_echo "$CC" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$CC" && break
4116 if test -z "$CC"; then
4118 for ac_prog
in cl.exe
4120 # Extract the first word of "$ac_prog", so it can be a program name with args.
4121 set dummy
$ac_prog; 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 test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4125 $as_echo_n "(cached) " >&6
4127 if test -n "$ac_ct_CC"; then
4128 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4134 test -z "$as_dir" && as_dir
=.
4135 for ac_exec_ext
in '' $ac_executable_extensions; do
4136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4137 ac_cv_prog_ac_ct_CC
="$ac_prog"
4138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4147 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4148 if test -n "$ac_ct_CC"; then
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4150 $as_echo "$ac_ct_CC" >&6; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4153 $as_echo "no" >&6; }
4157 test -n "$ac_ct_CC" && break
4160 if test "x$ac_ct_CC" = x
; then
4163 case $cross_compiling:$ac_tool_warned in
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4166 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4167 ac_tool_warned
=yes ;;
4176 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error
"no acceptable C compiler found in \$PATH
4179 See \`config.log' for more details." "$LINENO" 5; }
4181 # Provide some information about the compiler.
4182 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4185 for ac_option
in --version -v -V -qversion; do
4186 { { ac_try
="$ac_compiler $ac_option >&5"
4188 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4189 *) ac_try_echo=$ac_try;;
4191 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4192 $as_echo "$ac_try_echo"; } >&5
4193 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4195 if test -s conftest.err; then
4197 ... rest of stderr output deleted ...
4198 10q' conftest.err >conftest.er1
4199 cat conftest.er1 >&5
4200 rm -f conftest.er1 conftest.err
4202 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4203 test $ac_status = 0; }
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4217 ac_clean_files_save=$ac_clean_files
4218 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4219 # Try to create an executable without -o first, disregard a.out.
4220 # It will help us diagnose broken compilers, and finding out an intuition
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4223 $as_echo_n "checking for C compiler default output file name... " >&6; }
4224 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4226 # The possible output files:
4227 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4230 for ac_file in $ac_files
4233 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4234 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4239 if { { ac_try="$ac_link_default"
4241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4242 *) ac_try_echo
=$ac_try;;
4244 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4245 $as_echo "$ac_try_echo"; } >&5
4246 (eval "$ac_link_default") 2>&5
4248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4249 test $ac_status = 0; }; then :
4250 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4251 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4252 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4253 # so that the user can short-circuit this test for compilers unknown to
4255 for ac_file
in $ac_files ''
4257 test -f "$ac_file" ||
continue
4259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4262 # We found the default executable, but exeext='' is most
4266 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4268 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4270 # We set ac_cv_exeext here because the later test for it is not
4271 # safe: cross compilers may not add the suffix if given an `-o'
4272 # argument, so we may need to know it at that point already.
4273 # Even if this section looks crufty: it has the advantage of
4280 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4286 $as_echo "$ac_file" >&6; }
4287 if test -z "$ac_file"; then :
4288 $as_echo "$as_me: failed program was:" >&5
4289 sed 's/^/| /' conftest.
$ac_ext >&5
4291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4293 { as_fn_set_status
77
4294 as_fn_error
"C compiler cannot create executables
4295 See \`config.log' for more details." "$LINENO" 5; }; }
4297 ac_exeext
=$ac_cv_exeext
4299 # Check that the compiler produces executables we can run. If not, either
4300 # the compiler is broken, or we cross compile.
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4302 $as_echo_n "checking whether the C compiler works... " >&6; }
4303 # If not cross compiling, check that we can run a simple program.
4304 if test "$cross_compiling" != yes; then
4305 if { ac_try
='./$ac_file'
4306 { { case "(($ac_try" in
4307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4308 *) ac_try_echo=$ac_try;;
4310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4311 $as_echo "$ac_try_echo"; } >&5
4312 (eval "$ac_try") 2>&5
4314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4315 test $ac_status = 0; }; }; then
4318 if test "$cross_compiling" = maybe; then
4321 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error "cannot run C compiled programs.
4324 If you meant to cross compile
, use \
`--host'.
4325 See \`config.log
' for more details." "$LINENO" 5; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4330 $as_echo "yes" >&6; }
4332 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4333 ac_clean_files=$ac_clean_files_save
4334 # Check that the compiler produces executables we can run. If not, either
4335 # the compiler is broken, or we cross compile.
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4337 $as_echo_n "checking whether we are cross compiling... " >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4339 $as_echo "$cross_compiling" >&6; }
4341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4342 $as_echo_n "checking for suffix of executables... " >&6; }
4343 if { { ac_try="$ac_link"
4345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4346 *) ac_try_echo=$ac_try;;
4348 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4349 $as_echo "$ac_try_echo"; } >&5
4350 (eval "$ac_link") 2>&5
4352 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4353 test $ac_status = 0; }; then :
4354 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
4355 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
4356 # work properly (i.e., refer to `conftest.exe
'), while it won't with
4358 for ac_file
in conftest.exe conftest conftest.
*; do
4359 test -f "$ac_file" ||
continue
4361 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4362 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4370 as_fn_error
"cannot compute suffix of executables: cannot compile and link
4371 See \`config.log' for more details." "$LINENO" 5; }
4373 rm -f conftest
$ac_cv_exeext
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4375 $as_echo "$ac_cv_exeext" >&6; }
4377 rm -f conftest.
$ac_ext
4378 EXEEXT
=$ac_cv_exeext
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4381 $as_echo_n "checking for suffix of object files... " >&6; }
4382 if test "${ac_cv_objext+set}" = set; then :
4383 $as_echo_n "(cached) " >&6
4385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4396 rm -f conftest.o conftest.obj
4397 if { { ac_try
="$ac_compile"
4399 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_compile") 2>&5
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }; then :
4408 for ac_file in conftest.o conftest.obj conftest.*; do
4409 test -f "$ac_file" || continue;
4411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4412 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4417 $as_echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4422 as_fn_error "cannot compute suffix of object files
: cannot compile
4423 See \
`config.log' for more details." "$LINENO" 5; }
4425 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4428 $as_echo "$ac_cv_objext" >&6; }
4429 OBJEXT=$ac_cv_objext
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4432 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4433 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4434 $as_echo_n "(cached) " >&6
4436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4437 /* end confdefs.h. */
4450 if ac_fn_c_try_compile "$LINENO"; then :
4455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4456 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4460 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4461 if test $ac_compiler_gnu = yes; then
4466 ac_test_CFLAGS=${CFLAGS+set}
4467 ac_save_CFLAGS=$CFLAGS
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4469 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4470 if test "${ac_cv_prog_cc_g+set}" = set; then :
4471 $as_echo_n "(cached) " >&6
4473 ac_save_c_werror_flag=$ac_c_werror_flag
4474 ac_c_werror_flag=yes
4477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4478 /* end confdefs.h. */
4488 if ac_fn_c_try_compile "$LINENO"; then :
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4503 if ac_fn_c_try_compile "$LINENO"; then :
4506 ac_c_werror_flag=$ac_save_c_werror_flag
4508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4509 /* end confdefs.h. */
4519 if ac_fn_c_try_compile "$LINENO"; then :
4522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4527 ac_c_werror_flag=$ac_save_c_werror_flag
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4530 $as_echo "$ac_cv_prog_cc_g" >&6; }
4531 if test "$ac_test_CFLAGS" = set; then
4532 CFLAGS=$ac_save_CFLAGS
4533 elif test $ac_cv_prog_cc_g = yes; then
4534 if test "$GCC" = yes; then
4540 if test "$GCC" = yes; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4547 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4548 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 ac_cv_prog_cc_c89=no
4553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4554 /* end confdefs.h. */
4557 #include <sys/types.h>
4558 #include <sys/stat.h>
4559 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4560 struct buf { int x; };
4561 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4562 static char *e (p, i)
4568 static char *f (char * (*g) (char **, int), char **p, ...)
4573 s = g (p, va_arg (v,int));
4578 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4579 function prototypes and stuff, but not '\xHH' hex character constants.
4580 These don't provoke an error unfortunately, instead are silently treated
4581 as 'x'. The following induces an error, until -std is added to get
4582 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4583 array size at least. It's necessary to write '\x00'==0 to get something
4584 that's true only with -std. */
4585 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4587 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4588 inside strings and character constants. */
4590 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4592 int test (int i, double x);
4593 struct s1 {int (*f) (int a);};
4594 struct s2 {int (*f) (double a);};
4595 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4601 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4606 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4607 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4609 CC="$ac_save_CC $ac_arg"
4610 if ac_fn_c_try_compile "$LINENO"; then :
4611 ac_cv_prog_cc_c89=$ac_arg
4613 rm -f core conftest.err conftest.$ac_objext
4614 test "x$ac_cv_prog_cc_c89" != "xno" && break
4616 rm -f conftest.$ac_ext
4621 case "x$ac_cv_prog_cc_c89" in
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4624 $as_echo "none needed" >&6; } ;;
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4627 $as_echo "unsupported" >&6; } ;;
4629 CC="$CC $ac_cv_prog_cc_c89"
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4631 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4633 if test "x$ac_cv_prog_cc_c89" != xno; then :
4638 ac_cpp='$CPP $CPPFLAGS'
4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4644 ac_cpp='$CXXCPP $CPPFLAGS'
4645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4648 if test -z "$CXX"; then
4649 if test -n "$CCC"; then
4652 if test -n "$ac_tool_prefix"; then
4653 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4655 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4656 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4658 $as_echo_n "checking for $ac_word... " >&6; }
4659 if test "${ac_cv_prog_CXX+set}" = set; then :
4660 $as_echo_n "(cached) " >&6
4662 if test -n "$CXX"; then
4663 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4669 test -z "$as_dir" && as_dir=.
4670 for ac_exec_ext in '' $ac_executable_extensions; do
4671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4672 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4683 if test -n "$CXX"; then
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4685 $as_echo "$CXX" >&6; }
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4688 $as_echo "no" >&6; }
4692 test -n "$CXX" && break
4695 if test -z "$CXX"; then
4697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4699 # Extract the first word of "$ac_prog", so it can be a program name with args.
4700 set dummy $ac_prog; ac_word=$2
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4702 $as_echo_n "checking for $ac_word... " >&6; }
4703 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4704 $as_echo_n "(cached) " >&6
4706 if test -n "$ac_ct_CXX"; then
4707 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4713 test -z "$as_dir" && as_dir=.
4714 for ac_exec_ext in '' $ac_executable_extensions; do
4715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4716 ac_cv_prog_ac_ct_CXX="$ac_prog"
4717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4727 if test -n "$ac_ct_CXX"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4729 $as_echo "$ac_ct_CXX" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4736 test -n "$ac_ct_CXX" && break
4739 if test "x$ac_ct_CXX" = x; then
4742 case $cross_compiling:$ac_tool_warned in
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4745 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4746 ac_tool_warned=yes ;;
4754 # Provide some information about the compiler.
4755 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4758 for ac_option in --version -v -V -qversion; do
4759 { { ac_try="$ac_compiler $ac_option >&5"
4761 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4762 *) ac_try_echo
=$ac_try;;
4764 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4765 $as_echo "$ac_try_echo"; } >&5
4766 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4768 if test -s conftest.err
; then
4770 ... rest of stderr output deleted ...
4771 10q' conftest.err
>conftest.er1
4772 cat conftest.er1
>&5
4773 rm -f conftest.er1 conftest.err
4775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4776 test $ac_status = 0; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4780 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4781 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4782 $as_echo_n "(cached) " >&6
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4798 if ac_fn_cxx_try_compile
"$LINENO"; then :
4803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4804 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4808 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4809 if test $ac_compiler_gnu = yes; then
4814 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4815 ac_save_CXXFLAGS
=$CXXFLAGS
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4817 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4818 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4819 $as_echo_n "(cached) " >&6
4821 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4822 ac_cxx_werror_flag
=yes
4825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4826 /* end confdefs.h. */
4836 if ac_fn_cxx_try_compile
"$LINENO"; then :
4837 ac_cv_prog_cxx_g
=yes
4840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4841 /* end confdefs.h. */
4851 if ac_fn_cxx_try_compile
"$LINENO"; then :
4854 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4867 if ac_fn_cxx_try_compile
"$LINENO"; then :
4868 ac_cv_prog_cxx_g
=yes
4870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4875 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4878 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4879 if test "$ac_test_CXXFLAGS" = set; then
4880 CXXFLAGS
=$ac_save_CXXFLAGS
4881 elif test $ac_cv_prog_cxx_g = yes; then
4882 if test "$GXX" = yes; then
4888 if test "$GXX" = yes; then
4895 ac_cpp
='$CPP $CPPFLAGS'
4896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4901 # We must set the default linker to the linker used by gcc for the correct
4902 # operation of libtool. If LD is not defined and we are using gcc, try to
4903 # set the LD default to the ld used by gcc.
4904 if test -z "$LD"; then
4905 if test "$GCC" = yes; then
4908 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1 | tr -d '\015'` ;;
4910 gcc_prog_ld
=`$CC -print-prog-name=ld 2>&1` ;;
4912 case $gcc_prog_ld in
4913 # Accept absolute paths.
4914 [\\/]* |
[A-Za-z
]:[\\/]*)
4915 LD
="$gcc_prog_ld" ;;
4920 # Check whether -static-libstdc++ -static-libgcc is supported.
4922 if test "$GCC" = yes; then
4923 saved_LDFLAGS
="$LDFLAGS"
4925 LDFLAGS
="$LDFLAGS -static-libstdc++ -static-libgcc"
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether g++ accepts -static-libstdc++ -static-libgcc" >&5
4927 $as_echo_n "checking whether g++ accepts -static-libstdc++ -static-libgcc... " >&6; }
4929 ac_cpp
='$CXXCPP $CPPFLAGS'
4930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4936 /* end confdefs.h. */
4938 #if (__GNUC__ < 4) || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
4939 #error -static-libstdc++ not implemented
4943 if ac_fn_cxx_try_link
"$LINENO"; then :
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4945 $as_echo "yes" >&6; }; have_static_libs
=yes
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4950 rm -f core conftest.err conftest.
$ac_objext \
4951 conftest
$ac_exeext conftest.
$ac_ext
4953 ac_cpp
='$CPP $CPPFLAGS'
4954 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4955 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4956 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4959 LDFLAGS
="$saved_LDFLAGS"
4965 if test -n "$ac_tool_prefix"; then
4966 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
4967 set dummy
${ac_tool_prefix}gnatbind
; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if test "${ac_cv_prog_GNATBIND+set}" = set; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$GNATBIND"; then
4974 ac_cv_prog_GNATBIND
="$GNATBIND" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_GNATBIND
="${ac_tool_prefix}gnatbind"
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 GNATBIND
=$ac_cv_prog_GNATBIND
4994 if test -n "$GNATBIND"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATBIND" >&5
4996 $as_echo "$GNATBIND" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5004 if test -z "$ac_cv_prog_GNATBIND"; then
5005 ac_ct_GNATBIND
=$GNATBIND
5006 # Extract the first word of "gnatbind", so it can be a program name with args.
5007 set dummy gnatbind
; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_GNATBIND+set}" = set; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$ac_ct_GNATBIND"; then
5014 ac_cv_prog_ac_ct_GNATBIND
="$ac_ct_GNATBIND" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_ac_ct_GNATBIND
="gnatbind"
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 ac_ct_GNATBIND
=$ac_cv_prog_ac_ct_GNATBIND
5034 if test -n "$ac_ct_GNATBIND"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATBIND" >&5
5036 $as_echo "$ac_ct_GNATBIND" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5042 if test "x$ac_ct_GNATBIND" = x
; then
5045 case $cross_compiling:$ac_tool_warned in
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5049 ac_tool_warned
=yes ;;
5051 GNATBIND
=$ac_ct_GNATBIND
5054 GNATBIND
="$ac_cv_prog_GNATBIND"
5057 if test -n "$ac_tool_prefix"; then
5058 # Extract the first word of "${ac_tool_prefix}gnatmake", so it can be a program name with args.
5059 set dummy
${ac_tool_prefix}gnatmake
; ac_word
=$2
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5061 $as_echo_n "checking for $ac_word... " >&6; }
5062 if test "${ac_cv_prog_GNATMAKE+set}" = set; then :
5063 $as_echo_n "(cached) " >&6
5065 if test -n "$GNATMAKE"; then
5066 ac_cv_prog_GNATMAKE
="$GNATMAKE" # Let the user override the test.
5068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5072 test -z "$as_dir" && as_dir
=.
5073 for ac_exec_ext
in '' $ac_executable_extensions; do
5074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5075 ac_cv_prog_GNATMAKE
="${ac_tool_prefix}gnatmake"
5076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5085 GNATMAKE
=$ac_cv_prog_GNATMAKE
5086 if test -n "$GNATMAKE"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNATMAKE" >&5
5088 $as_echo "$GNATMAKE" >&6; }
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5091 $as_echo "no" >&6; }
5096 if test -z "$ac_cv_prog_GNATMAKE"; then
5097 ac_ct_GNATMAKE
=$GNATMAKE
5098 # Extract the first word of "gnatmake", so it can be a program name with args.
5099 set dummy gnatmake
; ac_word
=$2
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5101 $as_echo_n "checking for $ac_word... " >&6; }
5102 if test "${ac_cv_prog_ac_ct_GNATMAKE+set}" = set; then :
5103 $as_echo_n "(cached) " >&6
5105 if test -n "$ac_ct_GNATMAKE"; then
5106 ac_cv_prog_ac_ct_GNATMAKE
="$ac_ct_GNATMAKE" # Let the user override the test.
5108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5112 test -z "$as_dir" && as_dir
=.
5113 for ac_exec_ext
in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_ac_ct_GNATMAKE
="gnatmake"
5116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 ac_ct_GNATMAKE
=$ac_cv_prog_ac_ct_GNATMAKE
5126 if test -n "$ac_ct_GNATMAKE"; then
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GNATMAKE" >&5
5128 $as_echo "$ac_ct_GNATMAKE" >&6; }
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5131 $as_echo "no" >&6; }
5134 if test "x$ac_ct_GNATMAKE" = x
; then
5137 case $cross_compiling:$ac_tool_warned in
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5141 ac_tool_warned
=yes ;;
5143 GNATMAKE
=$ac_ct_GNATMAKE
5146 GNATMAKE
="$ac_cv_prog_GNATMAKE"
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler driver understands Ada" >&5
5150 $as_echo_n "checking whether compiler driver understands Ada... " >&6; }
5151 if test "${acx_cv_cc_gcc_supports_ada+set}" = set; then :
5152 $as_echo_n "(cached) " >&6
5154 cat >conftest.adb
<<EOF
5155 procedure conftest is begin null; end conftest;
5157 acx_cv_cc_gcc_supports_ada
=no
5158 # There is a bug in old released versions of GCC which causes the
5159 # driver to exit successfully when the appropriate language module
5160 # has not been installed. This is fixed in 2.95.4, 3.0.2, and 3.1.
5161 # Therefore we must check for the error message as well as an
5162 # unsuccessful exit.
5163 # Other compilers, like HP Tru64 UNIX cc, exit successfully when
5164 # given a .adb file, but produce no object file. So we must check
5165 # if an object file was really produced to guard against this.
5166 errors
=`(${CC} -c conftest.adb) 2>&1 || echo failure`
5167 if test x
"$errors" = x
&& test -f conftest.
$ac_objext; then
5168 acx_cv_cc_gcc_supports_ada
=yes
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_cc_gcc_supports_ada" >&5
5173 $as_echo "$acx_cv_cc_gcc_supports_ada" >&6; }
5175 if test "x$GNATBIND" != xno
&& test "x$GNATMAKE" != xno
&& test x
$acx_cv_cc_gcc_supports_ada != xno
; then
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
5182 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
5183 if test "${gcc_cv_prog_cmp_skip+set}" = set; then :
5184 $as_echo_n "(cached) " >&6
5188 gcc_cv_prog_cmp_skip
='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
5189 if cmp t1 t2
2 2 > /dev
/null
2>&1; then
5190 if cmp t1 t2
1 1 > /dev
/null
2>&1; then
5193 gcc_cv_prog_cmp_skip
='cmp $$f1 $$f2 16 16'
5196 if cmp --ignore-initial=2 t1 t2
> /dev
/null
2>&1; then
5197 if cmp --ignore-initial=1 t1 t2
> /dev
/null
2>&1; then
5200 gcc_cv_prog_cmp_skip
='cmp --ignore-initial=16 $$f1 $$f2'
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
5207 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
5208 do_compare
="$gcc_cv_prog_cmp_skip"
5212 # Check whether --enable-bootstrap was given.
5213 if test "${enable_bootstrap+set}" = set; then :
5214 enableval
=$enable_bootstrap;
5216 enable_bootstrap
=default
5220 # Issue errors and warnings for invalid/strange bootstrap combinations.
5221 if test -r $srcdir/gcc
/configure
; then
5227 case "$have_compiler:$host:$target:$enable_bootstrap" in
5230 # Default behavior. Enable bootstrap if we have a compiler
5231 # and we are in a native configuration.
5232 yes:$build:$build:default
)
5233 enable_bootstrap
=yes ;;
5236 enable_bootstrap
=no
;;
5238 # We have a compiler and we are in a native configuration, bootstrap is ok
5239 yes:$build:$build:yes)
5242 # Other configurations, but we have a compiler. Assume the user knows
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: trying to bootstrap a cross compiler" >&5
5246 $as_echo "$as_me: WARNING: trying to bootstrap a cross compiler" >&2;}
5249 # No compiler: if they passed --enable-bootstrap explicitly, fail
5251 as_fn_error
"cannot bootstrap without a compiler" "$LINENO" 5 ;;
5253 # Fail if wrong command line
5255 as_fn_error
"invalid option for --enable-bootstrap" "$LINENO" 5
5259 # Used for setting $lt_cv_objdir
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
5261 $as_echo_n "checking for objdir... " >&6; }
5262 if test "${lt_cv_objdir+set}" = set; then :
5263 $as_echo_n "(cached) " >&6
5265 rm -f .libs
2>/dev
/null
5266 mkdir .libs
2>/dev
/null
5267 if test -d .libs
; then
5270 # MS-DOS does not allow filenames that begin with a dot.
5273 rmdir .libs
2>/dev
/null
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
5276 $as_echo "$lt_cv_objdir" >&6; }
5277 objdir
=$lt_cv_objdir
5283 cat >>confdefs.h
<<_ACEOF
5284 #define LT_OBJDIR "$lt_cv_objdir/"
5289 # Check for GMP, MPFR and MPC
5290 gmplibs
="-lmpc -lmpfr -lgmp"
5294 # Specify a location for mpc
5295 # check for this first so it ends up on the link line before mpfr.
5297 # Check whether --with-mpc was given.
5298 if test "${with_mpc+set}" = set; then :
5303 # Check whether --with-mpc-include was given.
5304 if test "${with_mpc_include+set}" = set; then :
5305 withval
=$with_mpc_include;
5309 # Check whether --with-mpc-lib was given.
5310 if test "${with_mpc_lib+set}" = set; then :
5311 withval
=$with_mpc_lib;
5315 if test "x$with_mpc" != x
; then
5316 gmplibs
="-L$with_mpc/lib $gmplibs"
5317 gmpinc
="-I$with_mpc/include $gmpinc"
5319 if test "x$with_mpc_include" != x
; then
5320 gmpinc
="-I$with_mpc_include $gmpinc"
5322 if test "x$with_mpc_lib" != x
; then
5323 gmplibs
="-L$with_mpc_lib $gmplibs"
5325 if test "x$with_mpc$with_mpc_include$with_mpc_lib" = x
&& test -d ${srcdir}/mpc
; then
5326 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpc/src/'"$lt_cv_objdir $gmplibs"
5327 gmpinc
='-I$$s/mpc/src '"$gmpinc"
5328 # Do not test the mpc version. Assume that it is sufficient, since
5329 # it is in the source tree, and the library has not been built yet
5330 # but it would be included on the link line in the version check below
5331 # hence making the test fail.
5335 # Specify a location for mpfr
5336 # check for this first so it ends up on the link line before gmp.
5338 # Check whether --with-mpfr-dir was given.
5339 if test "${with_mpfr_dir+set}" = set; then :
5340 withval
=$with_mpfr_dir; as_fn_error
"The --with-mpfr-dir=PATH option has been removed.
5341 Use --with-mpfr=PATH or --with-mpfr-include=PATH plus --with-mpfr-lib=PATH" "$LINENO" 5
5346 # Check whether --with-mpfr was given.
5347 if test "${with_mpfr+set}" = set; then :
5352 # Check whether --with-mpfr-include was given.
5353 if test "${with_mpfr_include+set}" = set; then :
5354 withval
=$with_mpfr_include;
5358 # Check whether --with-mpfr-lib was given.
5359 if test "${with_mpfr_lib+set}" = set; then :
5360 withval
=$with_mpfr_lib;
5364 if test "x$with_mpfr" != x
; then
5365 gmplibs
="-L$with_mpfr/lib $gmplibs"
5366 gmpinc
="-I$with_mpfr/include $gmpinc"
5368 if test "x$with_mpfr_include" != x
; then
5369 gmpinc
="-I$with_mpfr_include $gmpinc"
5371 if test "x$with_mpfr_lib" != x
; then
5372 gmplibs
="-L$with_mpfr_lib $gmplibs"
5374 if test "x$with_mpfr$with_mpfr_include$with_mpfr_lib" = x
&& test -d ${srcdir}/mpfr
; then
5375 # MPFR v3.1.0 moved the sources into a src sub-directory.
5376 if test -d ${srcdir}/mpfr
/src
; then
5377 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir $gmplibs"
5378 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr/src -I$$s/mpfr/src '"$gmpinc"
5379 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr/src --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/src/'"$lt_cv_objdir"
5381 gmplibs
='-L$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir $gmplibs"
5382 gmpinc
='-I$$r/$(HOST_SUBDIR)/mpfr -I$$s/mpfr '"$gmpinc"
5383 extra_mpc_mpfr_configure_flags
='--with-mpfr-include=$$s/mpfr --with-mpfr-lib=$$r/$(HOST_SUBDIR)/mpfr/'"$lt_cv_objdir"
5385 # Do not test the mpfr version. Assume that it is sufficient, since
5386 # it is in the source tree, and the library has not been built yet
5387 # but it would be included on the link line in the version check below
5388 # hence making the test fail.
5392 # Specify a location for gmp
5394 # Check whether --with-gmp-dir was given.
5395 if test "${with_gmp_dir+set}" = set; then :
5396 withval
=$with_gmp_dir; as_fn_error
"The --with-gmp-dir=PATH option has been removed.
5397 Use --with-gmp=PATH or --with-gmp-include=PATH plus --with-gmp-lib=PATH" "$LINENO" 5
5402 # Check whether --with-gmp was given.
5403 if test "${with_gmp+set}" = set; then :
5408 # Check whether --with-gmp-include was given.
5409 if test "${with_gmp_include+set}" = set; then :
5410 withval
=$with_gmp_include;
5414 # Check whether --with-gmp-lib was given.
5415 if test "${with_gmp_lib+set}" = set; then :
5416 withval
=$with_gmp_lib;
5421 if test "x$with_gmp" != x
; then
5422 gmplibs
="-L$with_gmp/lib $gmplibs"
5423 gmpinc
="-I$with_gmp/include $gmpinc"
5425 if test "x$with_gmp_include" != x
; then
5426 gmpinc
="-I$with_gmp_include $gmpinc"
5428 if test "x$with_gmp_lib" != x
; then
5429 gmplibs
="-L$with_gmp_lib $gmplibs"
5431 if test "x$with_gmp$with_gmp_include$with_gmp_lib" = x
&& test -d ${srcdir}/gmp
; then
5432 gmplibs
='-L$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir $gmplibs"
5433 gmpinc
='-I$$r/$(HOST_SUBDIR)/gmp -I$$s/gmp '"$gmpinc"
5434 extra_mpfr_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5435 extra_mpc_gmp_configure_flags
='--with-gmp-include=$$r/$(HOST_SUBDIR)/gmp --with-gmp-lib=$$r/$(HOST_SUBDIR)/gmp/'"$lt_cv_objdir"
5436 extra_isl_gmp_configure_flags
='--with-gmp-builddir=$$r/$(HOST_SUBDIR)/gmp'
5437 # Do not test the gmp version. Assume that it is sufficient, since
5438 # it is in the source tree, and the library has not been built yet
5439 # but it would be included on the link line in the version check below
5440 # hence making the test fail.
5444 if test -d ${srcdir}/gcc
&& test "x$have_gmp" = xno
; then
5446 saved_CFLAGS
="$CFLAGS"
5447 CFLAGS
="$CFLAGS $gmpinc"
5448 # Check for the recommended and required versions of GMP.
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of gmp.h" >&5
5450 $as_echo_n "checking for the correct version of gmp.h... " >&6; }
5452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5459 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5460 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5461 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,2,3)
5469 if ac_fn_c_try_compile
"$LINENO"; then :
5470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5471 /* end confdefs.h. */
5477 #define GCC_GMP_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
5478 #define GCC_GMP_VERSION GCC_GMP_VERSION_NUM(__GNU_MP_VERSION,__GNU_MP_VERSION_MINOR,__GNU_MP_VERSION_PATCHLEVEL)
5479 #if GCC_GMP_VERSION < GCC_GMP_VERSION_NUM(4,3,2)
5487 if ac_fn_c_try_compile
"$LINENO"; then :
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5489 $as_echo "yes" >&6; }
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5492 $as_echo "buggy but acceptable" >&6; }
5494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5497 $as_echo "no" >&6; }; have_gmp
=no
5499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5501 # If we have GMP, check the MPFR version.
5502 if test x
"$have_gmp" = xyes
; then
5503 # Check for the recommended and required versions of MPFR.
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpfr.h" >&5
5505 $as_echo_n "checking for the correct version of mpfr.h... " >&6; }
5506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5507 /* end confdefs.h. */
5514 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,0)
5522 if ac_fn_c_try_compile
"$LINENO"; then :
5523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5524 /* end confdefs.h. */
5531 #if MPFR_VERSION < MPFR_VERSION_NUM(2,4,2)
5539 if ac_fn_c_try_compile
"$LINENO"; then :
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5541 $as_echo "yes" >&6; }
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5544 $as_echo "buggy but acceptable" >&6; }
5546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549 $as_echo "no" >&6; }; have_gmp
=no
5551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5554 # Check for the MPC header version.
5555 if test x
"$have_gmp" = xyes
; then
5556 # Check for the recommended and required versions of MPC.
5557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of mpc.h" >&5
5558 $as_echo_n "checking for the correct version of mpc.h... " >&6; }
5559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5560 /* end confdefs.h. */
5566 #if MPC_VERSION < MPC_VERSION_NUM(0,8,0)
5574 if ac_fn_c_try_compile
"$LINENO"; then :
5575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5582 #if MPC_VERSION < MPC_VERSION_NUM(0,8,1)
5590 if ac_fn_c_try_compile
"$LINENO"; then :
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5592 $as_echo "yes" >&6; }
5594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy but acceptable" >&5
5595 $as_echo "buggy but acceptable" >&6; }
5597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5600 $as_echo "no" >&6; }; have_gmp
=no
5602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5605 # Now check the MPFR library.
5606 if test x
"$have_gmp" = xyes
; then
5608 LIBS
="$LIBS $gmplibs"
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the correct version of the gmp/mpfr/mpc libraries" >&5
5610 $as_echo_n "checking for the correct version of the gmp/mpfr/mpc libraries... " >&6; }
5611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5612 /* end confdefs.h. */
5624 mpfr_atan2 (n, n, x, GMP_RNDN);
5625 mpfr_erfc (n, x, GMP_RNDN);
5626 mpfr_subnormalize (x, t, GMP_RNDN);
5630 mpc_set_ui_ui (c, 1, 1, MPC_RNDNN);
5631 mpc_cosh (c, c, MPC_RNDNN);
5632 mpc_pow (c, c, c, MPC_RNDNN);
5633 mpc_acosh (c, c, MPC_RNDNN);
5640 if ac_fn_c_try_link
"$LINENO"; then :
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5642 $as_echo "yes" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5645 $as_echo "no" >&6; }; have_gmp
=no
5647 rm -f core conftest.err conftest.
$ac_objext \
5648 conftest
$ac_exeext conftest.
$ac_ext
5652 CFLAGS
="$saved_CFLAGS"
5654 # The library versions listed in the error message below should match
5655 # the HARD-minimums enforced above.
5656 if test x
$have_gmp != xyes
; then
5657 as_fn_error
"Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
5658 Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
5659 their locations. Source code for these libraries can be found at
5660 their respective hosting sites as well as at
5661 ftp://gcc.gnu.org/pub/gcc/infrastructure/. See also
5662 http://gcc.gnu.org/install/prerequisites.html for additional info. If
5663 you obtained GMP, MPFR and/or MPC from a vendor distribution package,
5664 make sure that you have installed both the libraries and the header
5665 files. They may be located in separate packages." "$LINENO" 5
5669 # Flags needed for both GMP, MPFR and/or MPC.
5677 # Allow host libstdc++ to be specified for static linking with PPL.
5679 # Check whether --with-host-libstdcxx was given.
5680 if test "${with_host_libstdcxx+set}" = set; then :
5681 withval
=$with_host_libstdcxx;
5685 case $with_host_libstdcxx in
5687 as_fn_error
"-with-host-libstdcxx needs an argument" "$LINENO" 5
5691 # Libraries to use for stage1 or when not bootstrapping.
5693 # Check whether --with-stage1-libs was given.
5694 if test "${with_stage1_libs+set}" = set; then :
5695 withval
=$with_stage1_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5698 stage1_libs
=$withval
5701 stage1_libs
=$with_host_libstdcxx
5706 # Linker flags to use for stage1 or when not bootstrapping.
5708 # Check whether --with-stage1-ldflags was given.
5709 if test "${with_stage1_ldflags+set}" = set; then :
5710 withval
=$with_stage1_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5713 stage1_ldflags
=$withval
5717 # In stage 1, default to linking libstdc++ and libgcc statically with GCC
5718 # if supported. But if the user explicitly specified the libraries to use,
5719 # trust that they are doing what they want.
5720 if test "$stage1_libs" = "" -a "$have_static_libs" = yes; then
5721 stage1_ldflags
="-static-libstdc++ -static-libgcc"
5727 # Libraries to use for stage2 and later builds. This defaults to the
5728 # argument passed to --with-host-libstdcxx.
5730 # Check whether --with-boot-libs was given.
5731 if test "${with_boot_libs+set}" = set; then :
5732 withval
=$with_boot_libs; if test "$withval" = "no" -o "$withval" = "yes"; then
5735 poststage1_libs
=$withval
5738 poststage1_libs
=$with_host_libstdcxx
5743 # Linker flags to use for stage2 and later builds.
5745 # Check whether --with-boot-ldflags was given.
5746 if test "${with_boot_ldflags+set}" = set; then :
5747 withval
=$with_boot_ldflags; if test "$withval" = "no" -o "$withval" = "yes"; then
5750 poststage1_ldflags
=$withval
5754 # In stages 2 and 3, default to linking libstdc++ and libgcc
5755 # statically. But if the user explicitly specified the libraries to
5756 # use, trust that they are doing what they want.
5757 if test "$poststage1_libs" = ""; then
5758 poststage1_ldflags
="-static-libstdc++ -static-libgcc"
5764 # GCC GRAPHITE dependences, ISL and CLOOG which in turn requires ISL.
5765 # Basic setup is inlined here, actual checks are in config/cloog.m4 and
5769 # Check whether --with-cloog was given.
5770 if test "${with_cloog+set}" = set; then :
5771 withval
=$with_cloog;
5775 # Check whether --with-isl was given.
5776 if test "${with_isl+set}" = set; then :
5781 # Treat either --without-cloog or --without-isl as a request to disable
5782 # GRAPHITE support and skip all following checks.
5783 if test "x$with_isl" != "xno" &&
5784 test "x$with_cloog" != "xno"; then
5788 # Check whether --with-isl-include was given.
5789 if test "${with_isl_include+set}" = set; then :
5790 withval
=$with_isl_include;
5794 # Check whether --with-isl-lib was given.
5795 if test "${with_isl_lib+set}" = set; then :
5796 withval
=$with_isl_lib;
5800 # Check whether --enable-isl-version-check was given.
5801 if test "${enable_isl_version_check+set}" = set; then :
5802 enableval
=$enable_isl_version_check; ENABLE_ISL_CHECK
=$enableval
5804 ENABLE_ISL_CHECK
=yes
5808 # Initialize isllibs and islinc.
5817 isllibs
="-L$with_isl/lib"
5818 islinc
="-I$with_isl/include"
5821 if test "x${with_isl_include}" != x
; then
5822 islinc
="-I$with_isl_include"
5824 if test "x${with_isl_lib}" != x
; then
5825 isllibs
="-L$with_isl_lib"
5827 if test "x${islinc}" = x
&& test "x${isllibs}" = x \
5828 && test -d ${srcdir}/isl
; then
5829 isllibs
='-L$$r/$(HOST_SUBDIR)/isl/'"$lt_cv_objdir"' '
5830 islinc
='-I$$r/$(HOST_SUBDIR)/isl/include -I$$s/isl/include'
5836 if test "${ENABLE_ISL_CHECK}" = yes ; then
5837 _isl_saved_CFLAGS
=$CFLAGS
5838 _isl_saved_LDFLAGS
=$LDFLAGS
5839 _isl_saved_LIBS
=$LIBS
5841 CFLAGS
="${_isl_saved_CFLAGS} ${islinc} ${gmpinc}"
5842 LDFLAGS
="${_isl_saved_LDFLAGS} ${isllibs}"
5843 LIBS
="${_isl_saved_LIBS} -lisl"
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.10 of ISL" >&5
5847 $as_echo_n "checking for version 0.10 of ISL... " >&6; }
5848 if test "${gcc_cv_isl+set}" = set; then :
5849 $as_echo_n "(cached) " >&6
5851 if test "$cross_compiling" = yes; then :
5854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5855 /* end confdefs.h. */
5856 #include <isl/version.h>
5861 if (strncmp (isl_version (), "isl-0.10", strlen ("isl-0.10")) != 0)
5868 if ac_fn_c_try_run
"$LINENO"; then :
5873 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5874 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_isl" >&5
5879 $as_echo "$gcc_cv_isl" >&6; }
5881 CFLAGS
=$_isl_saved_CFLAGS
5882 LDFLAGS
=$_isl_saved_LDFLAGS
5883 LIBS
=$_isl_saved_LIBS
5891 if test "x${with_isl}" = xno
; then
5892 graphite_requested
=no
5893 elif test "x${with_isl}" != x \
5894 ||
test "x${with_isl_include}" != x \
5895 ||
test "x${with_isl_lib}" != x
; then
5896 graphite_requested
=yes
5898 graphite_requested
=no
5903 if test "${gcc_cv_isl}" = no
; then
5908 if test "${graphite_requested}" = yes \
5909 && test "x${isllibs}" = x \
5910 && test "x${islinc}" = x
; then
5912 as_fn_error
"Unable to find a usable ISL. See config.log for details." "$LINENO" 5
5917 if test "x$gcc_cv_isl" != "xno"; then
5921 # Check whether --with-cloog-include was given.
5922 if test "${with_cloog_include+set}" = set; then :
5923 withval
=$with_cloog_include;
5927 # Check whether --with-cloog-lib was given.
5928 if test "${with_cloog_lib+set}" = set; then :
5929 withval
=$with_cloog_lib;
5933 # Check whether --enable-cloog-version-check was given.
5934 if test "${enable_cloog_version_check+set}" = set; then :
5935 enableval
=$enable_cloog_version_check; ENABLE_CLOOG_CHECK
=$enableval
5937 ENABLE_CLOOG_CHECK
=yes
5941 # Initialize clooglibs and clooginc.
5950 clooglibs
="-L$with_cloog/lib"
5951 clooginc
="-I$with_cloog/include"
5954 if test "x${with_cloog_include}" != x
; then
5955 clooginc
="-I$with_cloog_include"
5957 if test "x${with_cloog_lib}" != x
; then
5958 clooglibs
="-L$with_cloog_lib"
5960 if test "x${clooginc}" = x
&& test "x${clooglibs}" = x \
5961 && test -d ${srcdir}/cloog
; then
5962 clooglibs
='-L$$r/$(HOST_SUBDIR)/cloog/'"$lt_cv_objdir"' '
5963 clooginc
='-I$$r/$(HOST_SUBDIR)/cloog/include -I$$s/cloog/include -I'${srcdir}'/cloog/include '
5966 clooginc
="-DCLOOG_INT_GMP ${clooginc}"
5967 clooglibs
="${clooglibs} -lcloog-isl ${isllibs} -lisl"
5973 if test "${ENABLE_CLOOG_CHECK}" = yes ; then
5974 _cloog_saved_CFLAGS
=$CFLAGS
5975 _cloog_saved_LDFLAGS
=$LDFLAGS
5977 CFLAGS
="${_cloog_saved_CFLAGS} ${clooginc} ${islinc} ${gmpinc}"
5978 LDFLAGS
="${_cloog_saved_LDFLAGS} ${clooglibs} ${isllibs} ${gmplib}"
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for version 0.17.0 of CLooG" >&5
5981 $as_echo_n "checking for version 0.17.0 of CLooG... " >&6; }
5982 if test "${gcc_cv_cloog+set}" = set; then :
5983 $as_echo_n "(cached) " >&6
5985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5986 /* end confdefs.h. */
5987 #include "cloog/version.h"
5991 #if CLOOG_VERSION_MAJOR != 0 \
5992 || CLOOG_VERSION_MINOR != 17 \
5993 || CLOOG_VERSION_REVISION < 0
6000 if ac_fn_c_try_compile
"$LINENO"; then :
6005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_cloog" >&5
6008 $as_echo "$gcc_cv_cloog" >&6; }
6010 CFLAGS
=$_cloog_saved_CFLAGS
6011 LDFLAGS
=$_cloog_saved_LDFLAGS
6020 if test "x${with_cloog}" = xno
; then
6021 graphite_requested
=no
6022 elif test "x${with_cloog}" != x \
6023 ||
test "x${with_cloog_include}" != x \
6024 ||
test "x${with_cloog_lib}" != x
; then
6025 graphite_requested
=yes
6027 graphite_requested
=no
6032 if test "${gcc_cv_cloog}" = no
; then
6037 if test "${graphite_requested}" = yes \
6038 && test "x${clooglibs}" = x \
6039 && test "x${clooginc}" = x
; then
6041 as_fn_error
"Unable to find a usable CLooG. See config.log for details." "$LINENO" 5
6048 # If either the ISL or the CLooG check failed, disable builds of in-tree
6050 if test "x$with_isl" = xno ||
6051 test "x$with_cloog" = xno ||
6052 test "x$gcc_cv_cloog" = xno ||
6053 test "x$gcc_cv_isl" = xno
; then
6054 noconfigdirs
="$noconfigdirs cloog isl"
6065 # Check for LTO support.
6066 # Check whether --enable-lto was given.
6067 if test "${enable_lto+set}" = set; then :
6068 enableval
=$enable_lto; enable_lto
=$enableval
6070 enable_lto
=yes; default_enable_lto
=yes
6079 *-darwin* |
*-aix* |
*-cygwin* |
*-mingw* |
*-aout* |
*-*coff
* | \
6080 *-msdosdjgpp* |
*-vms* |
*-wince* |
*-*-pe* | \
6081 alpha
*-dec-osf* |
*-interix* | hppa
[12]*-*-hpux*)
6089 if test $target_elf = yes; then :
6090 # ELF platforms build the lto-plugin always.
6091 build_lto_plugin
=yes
6094 if test x
"$default_enable_lto" = x
"yes" ; then
6096 *-apple-darwin9* |
*-cygwin* |
*-mingw*) ;;
6097 # On other non-ELF platforms, LTO has yet to be validated.
6101 # Apart from ELF platforms, only Windows and Darwin support LTO so far.
6102 # It would also be nice to check the binutils support, but we don't
6103 # have gcc_GAS_CHECK_FEATURE available here. For now, we'll just
6104 # warn during gcc/ subconfigure; unless you're bootstrapping with
6105 # -flto it won't be needed until after installation anyway.
6107 *-cygwin* |
*-mingw* |
*-apple-darwin*) ;;
6108 *) if test x
"$enable_lto" = x
"yes"; then
6109 as_fn_error
"LTO support is not enabled for this target." "$LINENO" 5
6114 # Among non-ELF, only Windows platforms support the lto-plugin so far.
6115 # Build it unless LTO was explicitly disabled.
6117 *-cygwin* |
*-mingw*) build_lto_plugin
=$enable_lto ;;
6125 # By default, C and C++ are the only stage 1 languages.
6126 stage1_languages
=,c
,
6128 # Target libraries that we bootstrap.
6129 bootstrap_target_libs
=,target-libgcc
,
6131 # Figure out what language subdirectories are present.
6132 # Look if the user specified --enable-languages="..."; if not, use
6133 # the environment variable $LANGUAGES if defined. $LANGUAGES might
6135 # NB: embedded tabs in this IF block -- do not untabify
6136 if test -d ${srcdir}/gcc
; then
6137 if test x
"${enable_languages+set}" != xset
; then
6138 if test x
"${LANGUAGES+set}" = xset
; then
6139 enable_languages
="${LANGUAGES}"
6140 echo configure.
in: warning
: setting LANGUAGES is deprecated
, use
--enable-languages instead
1>&2
6142 enable_languages
=all
6145 if test x
"${enable_languages}" = x ||
6146 test x
"${enable_languages}" = xyes
;
6148 echo configure.
in: --enable-languages needs
at least one language argument
1>&2
6152 enable_languages
=`echo "${enable_languages}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'`
6154 # 'f95' is the old name for the 'fortran' language. We issue a warning
6155 # and make the substitution.
6156 case ,${enable_languages}, in
6158 echo configure.
in: warning
: 'f95' as language name is deprecated
, use
'fortran' instead
1>&2
6159 enable_languages
=`echo "${enable_languages}" | sed -e 's/f95/fortran/g'`
6163 # If bootstrapping, C++ must be enabled.
6164 case ",$enable_languages,:$enable_bootstrap" in
6167 if test -f ${srcdir}/gcc
/cp
/config-lang.
in; then
6168 enable_languages
="${enable_languages},c++"
6170 as_fn_error
"bootstrapping requires c++ sources" "$LINENO" 5
6175 # First scan to see if an enabled language requires some other language.
6176 # We assume that a given config-lang.in will list all the language
6177 # front ends it requires, even if some are required indirectly.
6178 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6179 case ${lang_frag} in
6181 # The odd quoting in the next line works around
6182 # an apparent bug in bash 1.12 on linux.
6183 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6185 # From the config-lang.in, get $language, $lang_requires, and
6186 # $lang_requires_boot_languages.
6189 lang_requires_boot_languages
=
6191 for other
in ${lang_requires} ${lang_requires_boot_languages}; do
6192 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
6207 case ,${enable_languages}, in
6209 echo " '$other' language required by '$language' in stage 1; enabling" 1>&2
6210 enable_stage1_languages
="$enable_stage1_languages,${other}"
6221 new_enable_languages
=,c
,
6223 # If LTO is enabled, add the LTO front end.
6224 extra_host_libiberty_configure_flags
=
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"
6232 extra_host_libiberty_configure_flags
=--enable-shared
6237 missing_languages
=`echo ",$enable_languages," | sed -e s/,all,/,/ -e s/,c,/,/ `
6238 potential_languages
=,c
,
6240 enabled_target_libs
=
6241 disabled_target_libs
=
6243 for lang_frag
in ${srcdir}/gcc
/*/config-lang.
in ..
; do
6244 case ${lang_frag} in
6246 # The odd quoting in the next line works around
6247 # an apparent bug in bash 1.12 on linux.
6248 ${srcdir}/gcc
/[*]/config-lang.
in) ;;
6250 # From the config-lang.in, get $language, $target_libs,
6251 # $lang_dirs, $boot_language, and $build_by_default
6257 build_by_default
=yes
6259 if test x
${language} = x
; then
6260 echo "${lang_frag} doesn't set \$language." 1>&2
6264 if test "$language" = "c++"; then
6269 case ,${enable_languages}, in
6271 # Language was explicitly selected; include it
6272 # unless it is C, which is enabled by default.
6273 if test "$language" != "c"; then
6278 # 'all' was selected, select it if it is a default language
6279 if test "$language" != "c"; then
6280 add_this_lang
=${build_by_default}
6285 # Disable languages that need other directories if these aren't available.
6286 for i
in $subdir_requires; do
6287 test -f "$srcdir/gcc/$i/config-lang.in" && continue
6288 case ,${enable_languages}, in
6290 # Specifically requested language; tell them.
6291 as_fn_error
"The gcc/$i directory contains parts of $language but is missing" "$LINENO" 5
6295 add_this_lang
=unsupported
6300 # Disable Ada if no preexisting GNAT is available.
6301 case ,${enable_languages},:${language}:${have_gnat} in
6302 *,${language},*:ada
:no
)
6303 # Specifically requested language; tell them.
6304 as_fn_error
"GNAT is required to build $language" "$LINENO" 5
6308 add_this_lang
=unsupported
6312 # Disable a language that is unsupported by the target.
6313 case " $unsupported_languages " in
6315 add_this_lang
=unsupported
6319 case $add_this_lang in
6321 # Remove language-dependent dirs.
6322 disabled_target_libs
="$disabled_target_libs $target_libs"
6323 noconfigdirs
="$noconfigdirs $lang_dirs"
6326 # Remove language-dependent dirs; still show language as supported.
6327 disabled_target_libs
="$disabled_target_libs $target_libs"
6328 noconfigdirs
="$noconfigdirs $lang_dirs"
6329 potential_languages
="${potential_languages}${language},"
6332 new_enable_languages
="${new_enable_languages}${language},"
6333 potential_languages
="${potential_languages}${language},"
6334 missing_languages
=`echo "$missing_languages" | sed "s/,$language,/,/"`
6335 enabled_target_libs
="$enabled_target_libs $target_libs"
6336 case "${boot_language}:,$enable_stage1_languages," in
6337 yes:* |
*:*,$language,* |
*:*,yes, |
*:*,all
,)
6338 # Add to (comma-separated) list of stage 1 languages.
6339 case ",$stage1_languages," in
6340 *,$language,* |
,yes, |
,all
,) ;;
6341 *) stage1_languages
="${stage1_languages}${language}," ;;
6343 # We need to bootstrap any supporting libraries.
6344 bootstrap_target_libs
="${bootstrap_target_libs}${target_libs},"
6353 # Add target libraries which are only needed for disabled languages
6355 if test -n "$disabled_target_libs"; then
6356 for dir
in $disabled_target_libs; do
6357 case " $enabled_target_libs " in
6359 *) noconfigdirs
="$noconfigdirs $dir" ;;
6364 # Check whether --enable-stage1-languages was given.
6365 if test "${enable_stage1_languages+set}" = set; then :
6366 enableval
=$enable_stage1_languages; case ,${enable_stage1_languages}, in
6368 # Set it to something that will have no effect in the loop below
6369 enable_stage1_languages
=c
;;
6371 enable_stage1_languages
=`echo $new_enable_languages | \
6372 sed -e "s/^,//" -e "s/,$//" ` ;;
6374 enable_stage1_languages
=`echo ,$enable_stage1_languages, | \
6375 sed -e "s/,all,/$new_enable_languages/" -e "s/^,//" -e "s/,$//" ` ;;
6378 # Add "good" languages from enable_stage1_languages to stage1_languages,
6379 # while "bad" languages go in missing_languages. Leave no duplicates.
6380 for i
in `echo $enable_stage1_languages | sed 's/,/ /g' `; do
6381 case $potential_languages in
6383 case $stage1_languages in
6385 *) stage1_languages
="$stage1_languages$i," ;;
6388 case $missing_languages in
6390 *) missing_languages
="$missing_languages$i," ;;
6397 # Remove leading/trailing commas that were added for simplicity
6398 potential_languages
=`echo "$potential_languages" | sed -e "s/^,//" -e "s/,$//"`
6399 missing_languages
=`echo "$missing_languages" | sed -e "s/^,//" -e "s/,$//"`
6400 stage1_languages
=`echo "$stage1_languages" | sed -e "s/^,//" -e "s/,$//"`
6401 new_enable_languages
=`echo "$new_enable_languages" | sed -e "s/^,//" -e "s/,$//"`
6403 if test "x$missing_languages" != x
; then
6405 The following requested languages could not be built: ${missing_languages}
6406 Supported languages are: ${potential_languages}" "$LINENO" 5
6408 if test "x$new_enable_languages" != "x$enable_languages"; then
6409 echo The following languages will be built
: ${new_enable_languages}
6410 enable_languages
="$new_enable_languages"
6414 ac_configure_args
=`echo " $ac_configure_args" | sed -e "s/ '--enable-languages=[^ ]*'//g" -e "s/$/ '--enable-languages="$enable_languages"'/" `
6417 # Handle --disable-<component> generically.
6418 for dir
in $configdirs $build_configdirs $target_configdirs ; do
6419 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g -e s/-/_/g`
6420 varname
=`echo $dirname | sed -e s/+/_/g`
6421 if eval test x\
${enable_${varname}} "=" xno
; then
6422 noconfigdirs
="$noconfigdirs $dir"
6426 # Check for Boehm's garbage collector
6427 # Check whether --enable-objc-gc was given.
6428 if test "${enable_objc_gc+set}" = set; then :
6429 enableval
=$enable_objc_gc; case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
6430 *,objc
,*:*:yes:*target-boehm-gc
*)
6431 as_fn_error
"Boehm's garbage collector was requested yet not supported in this configuration" "$LINENO" 5
6437 # Make sure we only build Boehm's garbage collector if required.
6438 case ,${enable_languages},:${enable_objc_gc} in
6440 # Keep target-boehm-gc if requested for Objective-C.
6443 # Otherwise remove target-boehm-gc depending on target-libjava.
6444 if echo " ${noconfigdirs} " |
grep "target-libjava" >/dev
/null
2>&1; then
6445 noconfigdirs
="$noconfigdirs target-boehm-gc"
6451 # Check whether --with-upc-pts was given.
6452 if test "${with_upc_pts+set}" = set; then :
6453 withval
=$with_upc_pts;
6454 case ,${enable_languages}, in
6461 as_fn_error
"$withval is an invalid option to --with-upc-pts" "$LINENO" 5
6466 as_fn_error
"--with-upc-pts supplied, but UPC language not enabled" "$LINENO" 5
6473 # Disable libitm if we're not building C++
6474 case ,${enable_languages}, in
6477 noconfigdirs
="$noconfigdirs target-libitm"
6481 # Remove the entries in $skipdirs and $noconfigdirs from $configdirs,
6482 # $build_configdirs and $target_configdirs.
6483 # If we have the source for $noconfigdirs entries, add them to $notsupp.
6486 for dir
in .
$skipdirs $noconfigdirs ; do
6487 dirname=`echo $dir | sed -e s/target-//g -e s/build-//g`
6488 if test $dir != .
&& echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6489 configdirs
=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
6490 if test -r $srcdir/$dirname/configure
; then
6491 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6494 notsupp
="$notsupp $dir"
6498 if test $dir != .
&& echo " ${build_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6499 build_configdirs
=`echo " ${build_configdirs} " | sed -e "s/ ${dir} / /"`
6500 if test -r $srcdir/$dirname/configure
; then
6501 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6504 notsupp
="$notsupp $dir"
6508 if test $dir != .
&& echo " ${target_configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6509 target_configdirs
=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
6510 if test -r $srcdir/$dirname/configure
; then
6511 if echo " ${skipdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6514 notsupp
="$notsupp $dir"
6520 # Quietly strip out all directories which aren't configurable in this tree.
6521 # This relies on all configurable subdirectories being autoconfiscated, which
6523 build_configdirs_all
="$build_configdirs"
6525 for i
in ${build_configdirs_all} ; do
6526 j
=`echo $i | sed -e s/build-//g`
6527 if test -f ${srcdir}/$j/configure
; then
6528 build_configdirs
="${build_configdirs} $i"
6532 configdirs_all
="$configdirs"
6534 for i
in ${configdirs_all} ; do
6535 if test -f ${srcdir}/$i/configure
; then
6536 configdirs
="${configdirs} $i"
6540 target_configdirs_all
="$target_configdirs"
6542 for i
in ${target_configdirs_all} ; do
6543 j
=`echo $i | sed -e s/target-//g`
6544 if test -f ${srcdir}/$j/configure
; then
6545 target_configdirs
="${target_configdirs} $i"
6549 # Produce a warning message for the subdirs we can't configure.
6550 # This isn't especially interesting in the Cygnus tree, but in the individual
6551 # FSF releases, it's important to let people know when their machine isn't
6552 # supported by the one or two programs in a package.
6554 if test -n "${notsupp}" && test -z "${norecursion}" ; then
6555 # If $appdirs is non-empty, at least one of those directories must still
6556 # be configured, or we error out. (E.g., if the gas release supports a
6557 # specified target in some subdirs but not the gas subdir, we shouldn't
6558 # pretend that all is well.)
6559 if test -n "$appdirs" ; then
6560 for dir
in $appdirs ; do
6561 if test -r $dir/Makefile.
in ; then
6562 if echo " ${configdirs} " |
grep " ${dir} " >/dev
/null
2>&1; then
6566 if echo " ${target_configdirs} " |
grep " target-${dir} " >/dev
/null
2>&1; then
6572 if test -n "$appdirs" ; then
6573 echo "*** This configuration is not supported by this package." 1>&2
6577 # Okay, some application will build, or we don't care to check. Still
6578 # notify of subdirs not getting built.
6579 echo "*** This configuration is not supported in the following subdirectories:" 1>&2
6580 echo " ${notsupp}" 1>&2
6581 echo " (Any other directories should still work fine.)" 1>&2
6589 # To find our prefix, in gcc_cv_tool_prefix.
6591 # The user is always right.
6592 if test "${PATH_SEPARATOR+set}" != set; then
6593 echo "#! /bin/sh" >conf$$.sh
6594 echo "exit 0" >>conf$$.sh
6596 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6606 if test "x$exec_prefix" = xNONE
; then
6607 if test "x$prefix" = xNONE
; then
6608 gcc_cv_tool_prefix
=$ac_default_prefix
6610 gcc_cv_tool_prefix
=$prefix
6613 gcc_cv_tool_prefix
=$exec_prefix
6616 # If there is no compiler in the tree, use the PATH only. In any
6617 # case, if there is no compiler in the tree nobody should use
6618 # AS_FOR_TARGET and LD_FOR_TARGET.
6619 if test x
$host = x
$build && test -f $srcdir/gcc
/BASE-VER
; then
6620 gcc_version
=`cat $srcdir/gcc/BASE-VER`
6621 gcc_cv_tool_dirs
="$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6622 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/libexec/gcc/$target_noncanonical$PATH_SEPARATOR"
6623 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6624 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs/usr/lib/gcc/$target_noncanonical$PATH_SEPARATOR"
6625 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin/$target_noncanonical/$gcc_version$PATH_SEPARATOR"
6626 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$gcc_cv_tool_prefix/$target_noncanonical/bin$PATH_SEPARATOR"
6631 if test x
$build = x
$target && test -n "$md_exec_prefix"; then
6632 gcc_cv_tool_dirs
="$gcc_cv_tool_dirs$md_exec_prefix$PATH_SEPARATOR"
6640 # Check whether --with-build-sysroot was given.
6641 if test "${with_build_sysroot+set}" = set; then :
6642 withval
=$with_build_sysroot; if test x
"$withval" != x
; then
6643 SYSROOT_CFLAGS_FOR_TARGET
="--sysroot=$withval"
6646 SYSROOT_CFLAGS_FOR_TARGET
=
6652 # Check whether --with-debug-prefix-map was given.
6653 if test "${with_debug_prefix_map+set}" = set; then :
6654 withval
=$with_debug_prefix_map; if test x
"$withval" != x
; then
6655 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6656 for debug_map
in $withval; do
6657 DEBUG_PREFIX_CFLAGS_FOR_TARGET
="$DEBUG_PREFIX_CFLAGS_FOR_TARGET -fdebug-prefix-map=$debug_map"
6661 DEBUG_PREFIX_CFLAGS_FOR_TARGET
=
6666 # During gcc bootstrap, if we use some random cc for stage1 then CFLAGS
6667 # might be empty or "-g". We don't require a C++ compiler, so CXXFLAGS
6668 # might also be empty (or "-g", if a non-GCC C++ compiler is in the path).
6669 # We want to ensure that TARGET libraries (which we know are built with
6670 # gcc) are built with "-O2 -g", so include those options when setting
6671 # CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
6672 if test "x$CFLAGS_FOR_TARGET" = x
; then
6673 CFLAGS_FOR_TARGET
=$CFLAGS
6676 *) CFLAGS_FOR_TARGET
="-O2 $CFLAGS_FOR_TARGET" ;;
6679 *" -g "* |
*" -g3 "*) ;;
6680 *) CFLAGS_FOR_TARGET
="-g $CFLAGS_FOR_TARGET" ;;
6685 if test "x$CXXFLAGS_FOR_TARGET" = x
; then
6686 CXXFLAGS_FOR_TARGET
=$CXXFLAGS
6687 case " $CXXFLAGS " in
6689 *) CXXFLAGS_FOR_TARGET
="-O2 $CXXFLAGS_FOR_TARGET" ;;
6691 case " $CXXFLAGS " in
6692 *" -g "* |
*" -g3 "*) ;;
6693 *) CXXFLAGS_FOR_TARGET
="-g $CXXFLAGS_FOR_TARGET" ;;
6700 # Handle --with-headers=XXX. If the value is not "yes", the contents of
6701 # the named directory are copied to $(tooldir)/sys-include.
6702 if test x
"${with_headers}" != x
&& test x
"${with_headers}" != xno
; then
6703 if test x
${is_cross_compiler} = xno
; then
6704 echo 1>&2 '***' --with-headers is only supported when cross compiling
6707 if test x
"${with_headers}" != xyes
; then
6708 x
=${gcc_cv_tool_prefix}
6709 copy_dirs
="${copy_dirs} ${with_headers} $x/${target_noncanonical}/sys-include"
6713 # Handle --with-libs=XXX. If the value is not "yes", the contents of
6714 # the name directories are copied to $(tooldir)/lib. Multiple directories
6716 if test x
"${with_libs}" != x
&& test x
"${with_libs}" != xno
; then
6717 if test x
${is_cross_compiler} = xno
; then
6718 echo 1>&2 '***' --with-libs is only supported when cross compiling
6721 if test x
"${with_libs}" != xyes
; then
6722 # Copy the libraries in reverse order, so that files in the first named
6723 # library override files in subsequent libraries.
6724 x
=${gcc_cv_tool_prefix}
6725 for l
in ${with_libs}; do
6726 copy_dirs
="$l $x/${target_noncanonical}/lib ${copy_dirs}"
6731 # Set with_gnu_as, with_gnu_ld, and with_system_zlib as appropriate.
6733 # This is done by determining whether or not the appropriate directory
6734 # is available, and by checking whether or not specific configurations
6735 # have requested that this magic not happen.
6737 # The command line options always override the explicit settings in
6738 # configure.in, and the settings in configure.in override this magic.
6740 # If the default for a toolchain is to use GNU as and ld, and you don't
6741 # want to do that, then you should use the --without-gnu-as and
6742 # --without-gnu-ld options for the configure script. Similarly, if
6743 # the default is to use the included zlib and you don't want to do that,
6744 # you should use the --with-system-zlib option for the configure script.
6746 if test x
${use_gnu_as} = x
&&
6747 echo " ${configdirs} " |
grep " gas " > /dev
/null
2>&1 ; then
6749 extra_host_args
="$extra_host_args --with-gnu-as"
6752 if test x
${use_gnu_ld} = x
&&
6753 echo " ${configdirs} " |
egrep " (go)?ld " > /dev
/null
2>&1 ; then
6755 extra_host_args
="$extra_host_args --with-gnu-ld"
6758 if test x
${use_included_zlib} = x
&&
6759 echo " ${configdirs} " |
grep " zlib " > /dev
/null
2>&1 ; then
6762 with_system_zlib
=yes
6763 extra_host_args
="$extra_host_args --with-system-zlib"
6766 # If using newlib, add --with-newlib to the extra_host_args so that gcc/configure
6767 # can detect this case.
6769 if test x
${with_newlib} != xno
&& echo " ${target_configdirs} " |
grep " target-newlib " > /dev
/null
2>&1 ; then
6771 extra_host_args
="$extra_host_args --with-newlib"
6774 # Handle ${copy_dirs}
6775 set fnord
${copy_dirs}
6777 while test $# != 0 ; do
6778 if test -f $2/COPIED
&& test x
"`cat $2/COPIED`" = x
"$1" ; then
6781 echo Copying
$1 to
$2
6783 # Use the install script to create the directory and all required
6784 # parent directories.
6785 if test -d $2 ; then
6789 ${srcdir}/install-sh
-c -m 644 config.temp
$2/COPIED
6792 # Copy the directory, assuming we have tar.
6793 # FIXME: Should we use B in the second tar? Not all systems support it.
6794 (cd $1; tar -cf - .
) |
(cd $2; tar -xpf -)
6796 # It is the responsibility of the user to correctly adjust all
6797 # symlinks. If somebody can figure out how to handle them correctly
6798 # here, feel free to add the code.
6805 # Determine a target-dependent exec_prefix that the installed
6806 # gcc will search in. Keep this list sorted by triplet, with
6807 # the *-*-osname triplets last.
6810 i
[34567]86-pc-msdosdjgpp*)
6811 md_exec_prefix
=/dev
/env
/DJDIR
/bin
6816 md_exec_prefix
=/usr
/ccs
/bin
6820 extra_arflags_for_target
=
6821 extra_nmflags_for_target
=
6822 extra_ranlibflags_for_target
=
6823 target_makefile_frag
=/dev
/null
6826 target_makefile_frag
="config/mt-spu"
6828 mips
*-sde-elf* | mips
*-mti-elf*)
6829 target_makefile_frag
="config/mt-sde"
6831 mipsisa
*-*-elfoabi*)
6832 target_makefile_frag
="config/mt-mips-elfoabi"
6834 mips
*-*-*linux
* | mips
*-*-gnu*)
6835 target_makefile_frag
="config/mt-mips-gnu"
6837 *-*-linux* |
*-*-gnu* |
*-*-k*bsd
*-gnu |
*-*-kopensolaris*-gnu)
6838 target_makefile_frag
="config/mt-gnu"
6840 *-*-aix4.
[3456789]* |
*-*-aix[56789].
*)
6841 # nm and ar from AIX 4.3 and above require -X32_64 flag to all ar and nm
6842 # commands to handle both 32-bit and 64-bit objects. These flags are
6843 # harmless if we're using GNU nm or ar.
6844 extra_arflags_for_target
=" -X32_64"
6845 extra_nmflags_for_target
=" -B -X32_64"
6849 alphaieee_frag
=/dev
/null
6852 # This just makes sure to use the -mieee option to build target libs.
6853 # This should probably be set individually by each library.
6854 alphaieee_frag
="config/mt-alphaieee"
6858 # If --enable-target-optspace always use -Os instead of -O2 to build
6859 # the target libraries, similarly if it is not specified, use -Os
6860 # on selected platforms.
6861 ospace_frag
=/dev
/null
6862 case "${enable_target_optspace}:${target}" in
6864 ospace_frag
="config/mt-ospace"
6867 ospace_frag
="config/mt-d30v"
6869 :m32r-
* |
:d10v-
* |
:fr30-
*)
6870 ospace_frag
="config/mt-ospace"
6875 echo "*** bad value \"${enable_target_optspace}\" for --enable-target-optspace flag; ignored" 1>&2
6879 # Some systems (e.g., one of the i386-aix systems the gas testers are
6880 # using) don't handle "\$" correctly, so don't use it here.
6881 tooldir
='${exec_prefix}'/${target_noncanonical}
6882 build_tooldir
=${tooldir}
6884 # Create a .gdbinit file which runs the one in srcdir
6885 # and tells GDB to look there for source files.
6887 if test -r ${srcdir}/.gdbinit
; then
6890 *) cat > .
/.gdbinit
<<EOF
6894 source ${srcdir}/.gdbinit
6900 # Make sure that the compiler is able to generate an executable. If it
6901 # can't, we are probably in trouble. We don't care whether we can run the
6902 # executable--we might be using a cross compiler--we only care whether it
6903 # can be created. At this point the main configure script has set CC.
6905 echo "int main () { return 0; }" > conftest.c
6906 ${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c
6907 if test $?
= 0 ; then
6908 if test -s conftest ||
test -s conftest.exe
; then
6914 echo 1>&2 "*** The command '${CC} -o conftest ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} conftest.c' failed."
6915 echo 1>&2 "*** You must set the environment variable CC to a working compiler."
6922 # Decide which environment variable is used to find dynamic libraries.
6924 *-*-hpux*) RPATH_ENVVAR
=SHLIB_PATH
;;
6925 *-*-darwin*) RPATH_ENVVAR
=DYLD_LIBRARY_PATH
;;
6926 *-*-mingw* |
*-*-cygwin ) RPATH_ENVVAR
=PATH
;;
6927 *) RPATH_ENVVAR
=LD_LIBRARY_PATH
;;
6930 # On systems where the dynamic library environment variable is PATH,
6931 # gcc/ will put dynamic libraries into a subdirectory to avoid adding
6932 # built executables to PATH.
6933 if test "$RPATH_ENVVAR" = PATH
; then
6934 GCC_SHLIB_SUBDIR
=/shlib
6939 # Record target_configdirs and the configure arguments for target and
6940 # build configuration in Makefile.
6941 target_configdirs
=`echo "${target_configdirs}" | sed -e 's/target-//g'`
6942 build_configdirs
=`echo "${build_configdirs}" | sed -e 's/build-//g'`
6944 # If we are building libgomp, bootstrap it.
6945 if echo " ${target_configdirs} " |
grep " libgomp " > /dev
/null
2>&1 ; then
6946 bootstrap_target_libs
=${bootstrap_target_libs}target-libgomp
,
6949 # Determine whether gdb needs tk/tcl or not.
6950 # Use 'maybe' since enable_gdbtk might be true even if tk isn't available
6951 # and in that case we want gdb to be built without tk. Ugh!
6952 # In fact I believe gdb is the *only* package directly dependent on tk,
6953 # so we should be able to put the 'maybe's in unconditionally and
6954 # leave out the maybe dependencies when enable_gdbtk is false. I'm not
6955 # 100% sure that that's safe though.
6957 gdb_tk
="maybe-all-tcl maybe-all-tk maybe-all-itcl maybe-all-libgui"
6958 case "$enable_gdbtk" in
6962 GDB_TK
="${gdb_tk}" ;;
6964 # Only add the dependency on gdbtk when GDBtk is part of the gdb
6965 # distro. Eventually someone will fix this and move Insight, nee
6966 # gdbtk to a separate directory.
6967 if test -d ${srcdir}/gdb
/gdbtk
; then
6974 CONFIGURE_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-configure-/g`
6975 INSTALL_GDB_TK
=`echo ${GDB_TK} | sed s/-all-/-install-/g`
6977 # Strip out unwanted targets.
6979 # While at that, we remove Makefiles if we were started for recursive
6980 # configuration, so that the top-level Makefile reconfigures them,
6981 # like we used to do when configure itself was recursive.
6983 # Loop over modules. We used to use the "$extrasub" feature from Autoconf
6984 # but now we're fixing up the Makefile ourselves with the additional
6985 # commands passed to AC_CONFIG_FILES. Use separate variables
6986 # extrasub-{build,host,target} not because there is any reason to split
6987 # the substitutions up that way, but only to remain below the limit of
6988 # 99 commands in a script, for HP-UX sed.
6989 # Do not nest @if/@endif pairs, because configure will not warn you at all.
6991 case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
6992 yes:yes:*\ gold\
*:*,c
++,*) ;;
6993 yes:yes:*\ gold\
*:*)
6994 as_fn_error
"in a combined tree, bootstrapping with --enable-gold requires c++ in stage1_languages" "$LINENO" 5
6998 # Adjust the toplevel makefile according to whether bootstrap was selected.
6999 case $enable_bootstrap in
7001 bootstrap_suffix
=bootstrap
7002 BUILD_CONFIG
=bootstrap-debug
7005 bootstrap_suffix
=no-bootstrap
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default BUILD_CONFIG" >&5
7011 $as_echo_n "checking for default BUILD_CONFIG... " >&6; }
7014 # Check whether --with-build-config was given.
7015 if test "${with_build_config+set}" = set; then :
7016 withval
=$with_build_config; case $with_build_config in
7017 yes) with_build_config
= ;;
7018 no
) with_build_config
= BUILD_CONFIG
= ;;
7023 if test "x${with_build_config}" != x
; then
7024 BUILD_CONFIG
=$with_build_config
7026 case $BUILD_CONFIG in
7028 if echo "int f (void) { return 0; }" > conftest.c
&&
7029 ${CC} -c conftest.c
&&
7030 mv conftest.o conftest.o.g0
&&
7031 ${CC} -c -g conftest.c
&&
7032 mv conftest.o conftest.o.g
&&
7033 ${srcdir}/contrib
/compare-debug conftest.o.g0 conftest.o.g
> /dev
/null
2>&1; then
7038 rm -f conftest.c conftest.o conftest.o.g0 conftest.o.g
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BUILD_CONFIG" >&5
7043 $as_echo "$BUILD_CONFIG" >&6; }
7047 for module
in ${build_configdirs} ; do
7048 if test -z "${no_recursion}" \
7049 && test -f ${build_subdir}/${module}/Makefile
; then
7050 echo 1>&2 "*** removing ${build_subdir}/${module}/Makefile to force reconfigure"
7051 rm -f ${build_subdir}/${module}/Makefile
7053 extrasub_build
="$extrasub_build
7054 /^@if build-$module\$/d
7055 /^@endif build-$module\$/d
7056 /^@if build-$module-$bootstrap_suffix\$/d
7057 /^@endif build-$module-$bootstrap_suffix\$/d"
7060 for module
in ${configdirs} ; do
7061 if test -z "${no_recursion}"; then
7062 for file in stage
*-${module}/Makefile prev-${module}/Makefile ${module}/Makefile
; do
7063 if test -f ${file}; then
7064 echo 1>&2 "*** removing ${file} to force reconfigure"
7069 extrasub_host
="$extrasub_host
7071 /^@endif $module\$/d
7072 /^@if $module-$bootstrap_suffix\$/d
7073 /^@endif $module-$bootstrap_suffix\$/d"
7076 for module
in ${target_configdirs} ; do
7077 if test -z "${no_recursion}" \
7078 && test -f ${target_subdir}/${module}/Makefile
; then
7079 echo 1>&2 "*** removing ${target_subdir}/${module}/Makefile to force reconfigure"
7080 rm -f ${target_subdir}/${module}/Makefile
7083 # We only bootstrap target libraries listed in bootstrap_target_libs.
7084 case $bootstrap_target_libs in
7085 *,target-
$module,*) target_bootstrap_suffix
=$bootstrap_suffix ;;
7086 *) target_bootstrap_suffix
=no-bootstrap
;;
7089 extrasub_target
="$extrasub_target
7090 /^@if target-$module\$/d
7091 /^@endif target-$module\$/d
7092 /^@if target-$module-$target_bootstrap_suffix\$/d
7093 /^@endif target-$module-$target_bootstrap_suffix\$/d"
7096 # Do the final fixup along with target modules.
7097 extrasub_target
="$extrasub_target
7098 /^@if /,/^@endif /d"
7100 # Create the serialization dependencies. This uses a temporary file.
7102 # Check whether --enable-serial-configure was given.
7103 if test "${enable_serial_configure+set}" = set; then :
7104 enableval
=$enable_serial_configure;
7108 case ${enable_serial_configure} in
7110 enable_serial_build_configure
=yes
7111 enable_serial_host_configure
=yes
7112 enable_serial_target_configure
=yes
7116 # These force 'configure's to be done one at a time, to avoid problems
7117 # with contention over a shared config.cache.
7119 echo '# serdep.tmp' > serdep.tmp
7121 test "x${enable_serial_build_configure}" = xyes
&&
7122 for item
in ${build_configdirs} ; do
7125 *) echo "configure-build-${item}: configure-build-${olditem}" >> serdep.tmp
;;
7130 test "x${enable_serial_host_configure}" = xyes
&&
7131 for item
in ${configdirs} ; do
7134 *) echo "configure-${item}: configure-${olditem}" >> serdep.tmp
;;
7139 test "x${enable_serial_target_configure}" = xyes
&&
7140 for item
in ${target_configdirs} ; do
7143 *) echo "configure-target-${item}: configure-target-${olditem}" >> serdep.tmp
;;
7147 serialization_dependencies
=serdep.tmp
7150 # Base args. Strip norecursion, cache-file, srcdir, host, build,
7151 # target, nonopt, and variable assignments. These are the ones we
7152 # might not want to pass down to subconfigures. The exception being
7153 # --cache-file=/dev/null, which is used to turn off the use of cache
7154 # files altogether, and which should be passed on to subconfigures.
7155 # Also strip program-prefix, program-suffix, and program-transform-name,
7156 # so that we can pass down a consistent program-transform-name.
7161 eval "set -- $ac_configure_args"
7164 if test X
"$skip_next" = X
"yes"; then
7168 if test X
"$keep_next" = X
"yes"; then
7171 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7173 baseargs
="$baseargs '$ac_arg'"
7174 tbaseargs
="$tbaseargs '$ac_arg'"
7179 # Handle separated arguments. Based on the logic generated by
7182 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
7183 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
7184 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
7185 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
7199 --with-* |
--without-*)
7200 libopt
=`echo "$ac_arg" | sed -e 's,^--[^-_]*[-_],,' -e 's,=.*$,,'`
7204 lib
=`echo "$libopt" | sed 's,[-_]include$,,'`
7207 lib
=`echo "$libopt" | sed 's,[-_]lib$,,'`
7216 mpc | mpfr | gmp | cloog
)
7217 # If we're processing --with-$lib, --with-$lib-include or
7218 # --with-$lib-lib, for one of the libs above, and target is
7219 # different from host, don't pass the current argument to any
7220 # target library's configure.
7221 if test x
$is_cross_compiler = xyes
; then
7230 --cache-file=/dev
/null | \
7231 -cache-file=/dev
/null
)
7232 # Handled here to avoid the test to skip args below.
7233 baseargs
="$baseargs '$ac_arg'"
7234 tbaseargs
="$tbaseargs '$ac_arg'"
7235 # Assert: $separate_arg should always be no.
7236 keep_next
=$separate_arg
7252 -program-prefix* | \
7253 -program-suffix* | \
7254 -program-transform-name* )
7255 skip_next
=$separate_arg
7259 # An option. Add it.
7262 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
7264 baseargs
="$baseargs '$ac_arg'"
7265 if test X
"$skip_targ" = Xno
; then
7266 tbaseargs
="$tbaseargs '$ac_arg'"
7268 keep_next
=$separate_arg
7271 # Either a variable assignment, or a nonopt (triplet). Don't
7272 # pass it down; let the Makefile handle this.
7277 # Remove the initial space we just introduced and, as these will be
7278 # expanded by make, quote '$'.
7279 baseargs
=`echo "x$baseargs" | sed -e 's/^x *//' -e 's,\\$,$$,g'`
7281 # Add in --program-transform-name, after --program-prefix and
7282 # --program-suffix have been applied to it. Autoconf has already
7283 # doubled dollar signs and backslashes in program_transform_name; we want
7284 # the backslashes un-doubled, and then the entire thing wrapped in single
7285 # quotes, because this will be expanded first by make and then by the shell.
7286 # Also, because we want to override the logic in subdir configure scripts to
7287 # choose program_transform_name, replace any s,x,x, with s,y,y,.
7288 sed -e "s,\\\\\\\\,\\\\,g; s,','\\\\'',g; s/s,x,x,/s,y,y,/" <<EOF_SED > conftestsed.out
7289 ${program_transform_name}
7291 gcc_transform_name
=`cat conftestsed.out`
7292 rm -f conftestsed.out
7293 baseargs
="$baseargs --program-transform-name='${gcc_transform_name}'"
7294 tbaseargs
="$tbaseargs --program-transform-name='${gcc_transform_name}'"
7295 if test "$silent" = yes; then
7296 baseargs
="$baseargs --silent"
7297 tbaseargs
="$tbaseargs --silent"
7299 baseargs
="$baseargs --disable-option-checking"
7300 tbaseargs
="$tbaseargs --disable-option-checking"
7302 # Record and document user additions to sub configure arguments.
7307 # For the build-side libraries, we just need to pretend we're native,
7308 # and not use the same cache file. Multilibs are neither needed nor
7310 build_configargs
="$build_configargs --cache-file=../config.cache ${baseargs}"
7312 # For host modules, accept cache file option, or specification as blank.
7313 case "${cache_file}" in
7315 cache_file_option
="" ;;
7316 /* |
[A-Za-z
]:[\\/]* ) # absolute path
7317 cache_file_option
="--cache-file=${cache_file}" ;;
7319 cache_file_option
="--cache-file=../${cache_file}" ;;
7322 # Host dirs don't like to share a cache file either, horribly enough.
7323 # This seems to be due to autoconf 2.5x stupidity.
7324 host_configargs
="$host_configargs --cache-file=./config.cache ${extra_host_args} ${baseargs}"
7326 target_configargs
="$target_configargs ${tbaseargs}"
7328 # Passing a --with-cross-host argument lets the target libraries know
7329 # whether they are being built with a cross-compiler or being built
7330 # native. However, it would be better to use other mechanisms to make the
7331 # sorts of decisions they want to make on this basis. Please consider
7332 # this option to be deprecated. FIXME.
7333 if test x
${is_cross_compiler} = xyes
; then
7334 target_configargs
="--with-cross-host=${host_noncanonical} ${target_configargs}"
7337 # Default to --enable-multilib.
7338 if test x
${enable_multilib} = x
; then
7339 target_configargs
="--enable-multilib ${target_configargs}"
7342 # Pass --with-newlib if appropriate. Note that target_configdirs has
7343 # changed from the earlier setting of with_newlib.
7344 if test x
${with_newlib} != xno && echo " ${target_configdirs} " | grep " newlib " > /dev/null 2>&1 && test -d ${srcdir}/newlib
; then
7345 target_configargs
="--with-newlib ${target_configargs}"
7348 # Different target subdirs use different values of certain variables
7349 # (notably CXX). Worse, multilibs use *lots* of different values.
7350 # Worse yet, autoconf 2.5x makes some of these 'precious', meaning that
7351 # it doesn't automatically accept command-line overrides of them.
7352 # This means it's not safe for target subdirs to share a cache file,
7353 # which is disgusting, but there you have it. Hopefully this can be
7354 # fixed in future. It's still worthwhile to use a cache file for each
7355 # directory. I think.
7357 # Pass the appropriate --build, --host, --target and --cache-file arguments.
7358 # We need to pass --target, as newer autoconf's requires consistency
7359 # for target_alias and gcc doesn't manage it consistently.
7360 target_configargs
="--cache-file=./config.cache ${target_configargs}"
7363 case " $target_configdirs " in
7365 case " $target_configargs " in
7366 *" --with-newlib "*)
7369 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -isystem $$s/winsup/cygwin/include'
7373 # If we're not building GCC, don't discard standard headers.
7374 if test -d ${srcdir}/gcc
; then
7375 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -nostdinc'
7377 if test "${build}" != "${host}"; then
7378 # On Canadian crosses, CC_FOR_TARGET will have already been set
7379 # by `configure', so we won't have an opportunity to add -Bgcc/
7380 # to it. This is right: we don't want to search that directory
7381 # for binaries, but we want the header files in there, so add
7383 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -isystem $$r/$(HOST_SUBDIR)/gcc/include -isystem $$r/$(HOST_SUBDIR)/gcc/include-fixed'
7385 # Someone might think of using the pre-installed headers on
7386 # Canadian crosses, in case the installed compiler is not fully
7387 # compatible with the compiler being built. In this case, it
7388 # would be better to flag an error than risking having
7389 # incompatible object files being constructed. We can't
7390 # guarantee that an error will be flagged, but let's hope the
7391 # compiler will do it, when presented with incompatible header
7396 case "${target}-${is_cross_compiler}" in
7397 i
[3456789]86-*-linux*-no)
7398 # Here host == target, so we don't need to build gcc,
7399 # so we don't want to discard standard headers.
7400 FLAGS_FOR_TARGET
=`echo " $FLAGS_FOR_TARGET " | sed -e 's/ -nostdinc / /'`
7403 # If we're building newlib, use its generic headers last, but search
7404 # for any libc-related directories first (so make it the last -B
7406 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/newlib/ -isystem $$r/$(TARGET_SUBDIR)/newlib/targ-include -isystem $$s/newlib/libc/include'
7408 # If we're building libgloss, find the startup file, simulator library
7409 # and linker script.
7410 case " $target_configdirs " in
7412 # Look for startup file, simulator library and maybe linker script.
7413 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -B$$r/$(TARGET_SUBDIR)/libgloss/'"$libgloss_dir"
7414 # Look for libnosys.a in case the target needs it.
7415 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/libgloss/libnosys'
7416 # Most targets have the linker script in the source directory.
7417 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L$$s/libgloss/'"$libgloss_dir"
7428 x86_64-
*mingw
* |
*-w64-mingw*)
7429 # MinGW-w64 does not use newlib, nor does it use winsup. It may,
7430 # however, use a symlink named 'mingw' in ${prefix} .
7431 FLAGS_FOR_TARGET
=$FLAGS_FOR_TARGET' -L${prefix}/${target}/lib -L${prefix}/mingw/lib -isystem ${prefix}/${target}/include -isystem ${prefix}/mingw/include'
7434 # MinGW can't be handled as Cygwin above since it does not use newlib.
7435 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'
7439 # Allow the user to override the flags for
7440 # our build compiler if desired.
7441 if test x
"${build}" = x
"${host}" ; then
7442 CFLAGS_FOR_BUILD
=${CFLAGS_FOR_BUILD-${CFLAGS}}
7443 CXXFLAGS_FOR_BUILD
=${CXXFLAGS_FOR_BUILD-${CXXFLAGS}}
7444 LDFLAGS_FOR_BUILD
=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
7447 # On Canadian crosses, we'll be searching the right directories for
7448 # the previously-installed cross compiler, so don't bother to add
7449 # flags for directories within the install tree of the compiler
7450 # being built; programs in there won't even run.
7451 if test "${build}" = "${host}" && test -d ${srcdir}/gcc; then
7452 # Search for pre-installed headers if nothing else fits.
7453 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -B$(build_tooldir)/bin/ -B$(build_tooldir)/lib/ -isystem $(build_tooldir)/include -isystem $(build_tooldir)/sys-include'
7456 if test "x
${use_gnu_ld}" = x &&
7457 echo " ${configdirs} " | grep " ld
" > /dev/null ; then
7458 # Arrange for us to find uninstalled linker scripts.
7459 FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(HOST_SUBDIR)/ld'
7462 # Search for other target-specific linker scripts and such.
7465 FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
7469 # UPC linker script check
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for UPC link
script support
" >&5
7471 $as_echo_n "checking
for UPC link
script support...
" >&6; }
7472 # Check whether --enable-upc-link-script was given.
7473 if test "${enable_upc_link_script+set}" = set; then :
7474 enableval=$enable_upc_link_script;
7478 as_fn_error "--enable-upc-link-script accepts only
yes or no.
" "$LINENO" 5
7484 if test x${use_gnu_ld} != xno ; then
7486 # disable linker script for Apple Mac OS X
7488 enable_upc_link_script=no
7491 enable_upc_link_script=yes
7495 enable_upc_link_script=no
7497 if test "$enable_upc_link_script" = yes; then
7498 target_configargs="${target_configargs} --enable-upc-link-script"
7499 host_configargs="${host_configargs} --enable-upc-link-script"
7504 if test "$enable_upc_link_script" = yes; then
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7506 $as_echo "yes" >&6; };
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7509 $as_echo "no
" >&6; };
7513 # Makefile fragments.
7514 for frag in host_makefile_frag target_makefile_frag alphaieee_frag ospace_frag;
7516 eval fragval=\$$frag
7517 if test $fragval != /dev/null; then
7518 eval $frag=${srcdir}/$fragval
7526 # Miscellanea: directories, flags, etc.
7535 # Build module lists & subconfigure args.
7539 # Host module lists & subconfigure args.
7544 # Target module lists & subconfigure args.
7567 # Generate default definitions for YACC, M4, LEX and other programs that run
7568 # on the build machine. These are used if the Makefile can't locate these
7569 # programs in objdir.
7570 MISSING=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
7572 for ac_prog in 'bison -y' byacc yacc
7574 # Extract the first word of "$ac_prog", so it can be a program name with args.
7575 set dummy $ac_prog; ac_word=$2
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7577 $as_echo_n "checking
for $ac_word...
" >&6; }
7578 if test "${ac_cv_prog_YACC+set}" = set; then :
7579 $as_echo_n "(cached
) " >&6
7581 if test -n "$YACC"; then
7582 ac_cv_prog_YACC="$YACC" # Let the user override the test.
7584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7588 test -z "$as_dir" && as_dir=.
7589 for ac_exec_ext in '' $ac_executable_extensions; do
7590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7591 ac_cv_prog_YACC="$ac_prog"
7592 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7601 YACC=$ac_cv_prog_YACC
7602 if test -n "$YACC"; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $YACC" >&5
7604 $as_echo "$YACC" >&6; }
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7607 $as_echo "no
" >&6; }
7611 test -n "$YACC" && break
7613 test -n "$YACC" || YACC="$MISSING bison
-y"
7615 case " $build_configdirs " in
7616 *" bison
"*) YACC='$$r/$(BUILD_SUBDIR)/bison/tests/bison -y' ;;
7619 for ac_prog in bison
7621 # Extract the first word of "$ac_prog", so it can be a program name with args.
7622 set dummy $ac_prog; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7624 $as_echo_n "checking
for $ac_word...
" >&6; }
7625 if test "${ac_cv_prog_BISON+set}" = set; then :
7626 $as_echo_n "(cached
) " >&6
7628 if test -n "$BISON"; then
7629 ac_cv_prog_BISON="$BISON" # Let the user override the test.
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_BISON="$ac_prog"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7648 BISON=$ac_cv_prog_BISON
7649 if test -n "$BISON"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $BISON" >&5
7651 $as_echo "$BISON" >&6; }
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7654 $as_echo "no
" >&6; }
7658 test -n "$BISON" && break
7660 test -n "$BISON" || BISON="$MISSING bison
"
7662 case " $build_configdirs " in
7663 *" bison
"*) BISON='$$r/$(BUILD_SUBDIR)/bison/tests/bison' ;;
7666 for ac_prog in gm4 gnum4 m4
7668 # Extract the first word of "$ac_prog", so it can be a program name with args.
7669 set dummy $ac_prog; ac_word=$2
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7671 $as_echo_n "checking
for $ac_word...
" >&6; }
7672 if test "${ac_cv_prog_M4+set}" = set; then :
7673 $as_echo_n "(cached
) " >&6
7675 if test -n "$M4"; then
7676 ac_cv_prog_M4="$M4" # Let the user override the test.
7678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 test -z "$as_dir" && as_dir=.
7683 for ac_exec_ext in '' $ac_executable_extensions; do
7684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7685 ac_cv_prog_M4="$ac_prog"
7686 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7696 if test -n "$M4"; then
7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $M4" >&5
7698 $as_echo "$M4" >&6; }
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7701 $as_echo "no
" >&6; }
7705 test -n "$M4" && break
7707 test -n "$M4" || M4="$MISSING m4"
7709 case " $build_configdirs " in
7710 *" m4 "*) M4='$$r/$(BUILD_SUBDIR)/m4/m4' ;;
7713 for ac_prog in flex lex
7715 # Extract the first word of "$ac_prog", so it can be a program name with args.
7716 set dummy $ac_prog; ac_word=$2
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7718 $as_echo_n "checking
for $ac_word...
" >&6; }
7719 if test "${ac_cv_prog_LEX+set}" = set; then :
7720 $as_echo_n "(cached
) " >&6
7722 if test -n "$LEX"; then
7723 ac_cv_prog_LEX="$LEX" # Let the user override the test.
7725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729 test -z "$as_dir" && as_dir=.
7730 for ac_exec_ext in '' $ac_executable_extensions; do
7731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7732 ac_cv_prog_LEX="$ac_prog"
7733 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7743 if test -n "$LEX"; then
7744 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LEX" >&5
7745 $as_echo "$LEX" >&6; }
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7748 $as_echo "no
" >&6; }
7752 test -n "$LEX" && break
7754 test -n "$LEX" || LEX="$MISSING flex
"
7756 case " $build_configdirs " in
7757 *" flex
"*) LEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7758 *" lex "*) LEX='$$r/$(BUILD_SUBDIR)/lex/lex' ;;
7763 # Extract the first word of "$ac_prog", so it can be a program name with args.
7764 set dummy $ac_prog; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7766 $as_echo_n "checking
for $ac_word...
" >&6; }
7767 if test "${ac_cv_prog_FLEX+set}" = set; then :
7768 $as_echo_n "(cached
) " >&6
7770 if test -n "$FLEX"; then
7771 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7780 ac_cv_prog_FLEX="$ac_prog"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7790 FLEX=$ac_cv_prog_FLEX
7791 if test -n "$FLEX"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $FLEX" >&5
7793 $as_echo "$FLEX" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7796 $as_echo "no
" >&6; }
7800 test -n "$FLEX" && break
7802 test -n "$FLEX" || FLEX="$MISSING flex
"
7804 case " $build_configdirs " in
7805 *" flex
"*) FLEX='$$r/$(BUILD_SUBDIR)/flex/flex' ;;
7808 for ac_prog in makeinfo
7810 # Extract the first word of "$ac_prog", so it can be a program name with args.
7811 set dummy $ac_prog; ac_word=$2
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7813 $as_echo_n "checking
for $ac_word...
" >&6; }
7814 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
7815 $as_echo_n "(cached
) " >&6
7817 if test -n "$MAKEINFO"; then
7818 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
7820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7824 test -z "$as_dir" && as_dir=.
7825 for ac_exec_ext in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_prog_MAKEINFO="$ac_prog"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7837 MAKEINFO=$ac_cv_prog_MAKEINFO
7838 if test -n "$MAKEINFO"; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MAKEINFO" >&5
7840 $as_echo "$MAKEINFO" >&6; }
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7843 $as_echo "no
" >&6; }
7847 test -n "$MAKEINFO" && break
7849 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo
"
7851 case " $build_configdirs " in
7852 *" texinfo
"*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;;
7855 # For an installed makeinfo, we require it to be from texinfo 4.7 or
7856 # higher, else we use the "missing
" dummy.
7857 if ${MAKEINFO} --version \
7858 | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
7861 MAKEINFO="$MISSING makeinfo
"
7867 # FIXME: expect and dejagnu may become build tools?
7869 for ac_prog in expect
7871 # Extract the first word of "$ac_prog", so it can be a program name with args.
7872 set dummy $ac_prog; ac_word=$2
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7874 $as_echo_n "checking
for $ac_word...
" >&6; }
7875 if test "${ac_cv_prog_EXPECT+set}" = set; then :
7876 $as_echo_n "(cached
) " >&6
7878 if test -n "$EXPECT"; then
7879 ac_cv_prog_EXPECT="$EXPECT" # Let the user override the test.
7881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7885 test -z "$as_dir" && as_dir=.
7886 for ac_exec_ext in '' $ac_executable_extensions; do
7887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7888 ac_cv_prog_EXPECT="$ac_prog"
7889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7898 EXPECT=$ac_cv_prog_EXPECT
7899 if test -n "$EXPECT"; then
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $EXPECT" >&5
7901 $as_echo "$EXPECT" >&6; }
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7904 $as_echo "no
" >&6; }
7908 test -n "$EXPECT" && break
7910 test -n "$EXPECT" || EXPECT="expect
"
7912 case " $configdirs " in
7914 test $host = $build && EXPECT='$$r/$(HOST_SUBDIR)/expect/expect'
7918 for ac_prog in runtest
7920 # Extract the first word of "$ac_prog", so it can be a program name with args.
7921 set dummy $ac_prog; ac_word=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7923 $as_echo_n "checking
for $ac_word...
" >&6; }
7924 if test "${ac_cv_prog_RUNTEST+set}" = set; then :
7925 $as_echo_n "(cached
) " >&6
7927 if test -n "$RUNTEST"; then
7928 ac_cv_prog_RUNTEST="$RUNTEST" # Let the user override the test.
7930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir=.
7935 for ac_exec_ext in '' $ac_executable_extensions; do
7936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7937 ac_cv_prog_RUNTEST="$ac_prog"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7947 RUNTEST=$ac_cv_prog_RUNTEST
7948 if test -n "$RUNTEST"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RUNTEST" >&5
7950 $as_echo "$RUNTEST" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7953 $as_echo "no
" >&6; }
7957 test -n "$RUNTEST" && break
7959 test -n "$RUNTEST" || RUNTEST="runtest
"
7961 case " $configdirs " in
7963 test $host = $build && RUNTEST='$$s/$(HOST_SUBDIR)/dejagnu/runtest'
7970 test -n "$host_alias" && ncn_tool_prefix=$host_alias-
7971 ncn_target_tool_prefix=
7972 test -n "$target_alias" && ncn_target_tool_prefix=$target_alias-
7976 if test -n "$AR"; then
7978 elif test -n "$ac_cv_prog_AR"; then
7982 if test -n "$ac_cv_prog_AR"; then
7983 for ncn_progname in ar; do
7984 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
7985 set dummy ${ncn_progname}; ac_word=$2
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7987 $as_echo_n "checking
for $ac_word...
" >&6; }
7988 if test "${ac_cv_prog_AR+set}" = set; then :
7989 $as_echo_n "(cached
) " >&6
7991 if test -n "$AR"; then
7992 ac_cv_prog_AR="$AR" # Let the user override the test.
7994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998 test -z "$as_dir" && as_dir=.
7999 for ac_exec_ext in '' $ac_executable_extensions; do
8000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8001 ac_cv_prog_AR="${ncn_progname}"
8002 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8012 if test -n "$AR"; then
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8014 $as_echo "$AR" >&6; }
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8017 $as_echo "no
" >&6; }
8024 for ncn_progname in ar; do
8025 if test -n "$ncn_tool_prefix"; then
8026 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8027 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8029 $as_echo_n "checking
for $ac_word...
" >&6; }
8030 if test "${ac_cv_prog_AR+set}" = set; then :
8031 $as_echo_n "(cached
) " >&6
8033 if test -n "$AR"; then
8034 ac_cv_prog_AR="$AR" # Let the user override the test.
8036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8040 test -z "$as_dir" && as_dir=.
8041 for ac_exec_ext in '' $ac_executable_extensions; do
8042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8043 ac_cv_prog_AR="${ncn_tool_prefix}${ncn_progname}"
8044 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8054 if test -n "$AR"; then
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8056 $as_echo "$AR" >&6; }
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8059 $as_echo "no
" >&6; }
8064 if test -z "$ac_cv_prog_AR" && test $build = $host ; then
8065 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8066 set dummy ${ncn_progname}; ac_word=$2
8067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8068 $as_echo_n "checking
for $ac_word...
" >&6; }
8069 if test "${ac_cv_prog_AR+set}" = set; then :
8070 $as_echo_n "(cached
) " >&6
8072 if test -n "$AR"; then
8073 ac_cv_prog_AR="$AR" # Let the user override the test.
8075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 test -z "$as_dir" && as_dir=.
8080 for ac_exec_ext in '' $ac_executable_extensions; do
8081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8082 ac_cv_prog_AR="${ncn_progname}"
8083 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8093 if test -n "$AR"; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
8095 $as_echo "$AR" >&6; }
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8098 $as_echo "no
" >&6; }
8103 test -n "$ac_cv_prog_AR" && break
8106 if test -z "$ac_cv_prog_AR" ; then
8108 if test $build = $host ; then
8111 AR="${ncn_tool_prefix}$2"
8117 if test -n "$AS"; then
8119 elif test -n "$ac_cv_prog_AS"; then
8123 if test -n "$ac_cv_prog_AS"; then
8124 for ncn_progname in as; do
8125 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8126 set dummy ${ncn_progname}; ac_word=$2
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8128 $as_echo_n "checking
for $ac_word...
" >&6; }
8129 if test "${ac_cv_prog_AS+set}" = set; then :
8130 $as_echo_n "(cached
) " >&6
8132 if test -n "$AS"; then
8133 ac_cv_prog_AS="$AS" # Let the user override the test.
8135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8139 test -z "$as_dir" && as_dir=.
8140 for ac_exec_ext in '' $ac_executable_extensions; do
8141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8142 ac_cv_prog_AS="${ncn_progname}"
8143 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8153 if test -n "$AS"; then
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8155 $as_echo "$AS" >&6; }
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8158 $as_echo "no
" >&6; }
8165 for ncn_progname in as; do
8166 if test -n "$ncn_tool_prefix"; then
8167 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8168 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8170 $as_echo_n "checking
for $ac_word...
" >&6; }
8171 if test "${ac_cv_prog_AS+set}" = set; then :
8172 $as_echo_n "(cached
) " >&6
8174 if test -n "$AS"; then
8175 ac_cv_prog_AS="$AS" # Let the user override the test.
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181 test -z "$as_dir" && as_dir=.
8182 for ac_exec_ext in '' $ac_executable_extensions; do
8183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8184 ac_cv_prog_AS="${ncn_tool_prefix}${ncn_progname}"
8185 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8195 if test -n "$AS"; then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8197 $as_echo "$AS" >&6; }
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8200 $as_echo "no
" >&6; }
8205 if test -z "$ac_cv_prog_AS" && test $build = $host ; then
8206 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8207 set dummy ${ncn_progname}; ac_word=$2
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8209 $as_echo_n "checking
for $ac_word...
" >&6; }
8210 if test "${ac_cv_prog_AS+set}" = set; then :
8211 $as_echo_n "(cached
) " >&6
8213 if test -n "$AS"; then
8214 ac_cv_prog_AS="$AS" # Let the user override the test.
8216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8223 ac_cv_prog_AS="${ncn_progname}"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8234 if test -n "$AS"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS" >&5
8236 $as_echo "$AS" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8239 $as_echo "no
" >&6; }
8244 test -n "$ac_cv_prog_AS" && break
8247 if test -z "$ac_cv_prog_AS" ; then
8249 if test $build = $host ; then
8252 AS="${ncn_tool_prefix}$2"
8258 if test -n "$DLLTOOL"; then
8259 ac_cv_prog_DLLTOOL=$DLLTOOL
8260 elif test -n "$ac_cv_prog_DLLTOOL"; then
8261 DLLTOOL=$ac_cv_prog_DLLTOOL
8264 if test -n "$ac_cv_prog_DLLTOOL"; then
8265 for ncn_progname in dlltool; do
8266 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8267 set dummy ${ncn_progname}; ac_word=$2
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8269 $as_echo_n "checking
for $ac_word...
" >&6; }
8270 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8271 $as_echo_n "(cached
) " >&6
8273 if test -n "$DLLTOOL"; then
8274 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280 test -z "$as_dir" && as_dir=.
8281 for ac_exec_ext in '' $ac_executable_extensions; do
8282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8283 ac_cv_prog_DLLTOOL="${ncn_progname}"
8284 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8293 DLLTOOL=$ac_cv_prog_DLLTOOL
8294 if test -n "$DLLTOOL"; then
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8296 $as_echo "$DLLTOOL" >&6; }
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8299 $as_echo "no
" >&6; }
8306 for ncn_progname in dlltool; do
8307 if test -n "$ncn_tool_prefix"; then
8308 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8309 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8311 $as_echo_n "checking
for $ac_word...
" >&6; }
8312 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8313 $as_echo_n "(cached
) " >&6
8315 if test -n "$DLLTOOL"; then
8316 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8325 ac_cv_prog_DLLTOOL="${ncn_tool_prefix}${ncn_progname}"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8335 DLLTOOL=$ac_cv_prog_DLLTOOL
8336 if test -n "$DLLTOOL"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8338 $as_echo "$DLLTOOL" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8341 $as_echo "no
" >&6; }
8346 if test -z "$ac_cv_prog_DLLTOOL" && test $build = $host ; then
8347 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8348 set dummy ${ncn_progname}; ac_word=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8350 $as_echo_n "checking
for $ac_word...
" >&6; }
8351 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
8352 $as_echo_n "(cached
) " >&6
8354 if test -n "$DLLTOOL"; then
8355 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8361 test -z "$as_dir" && as_dir=.
8362 for ac_exec_ext in '' $ac_executable_extensions; do
8363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8364 ac_cv_prog_DLLTOOL="${ncn_progname}"
8365 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8374 DLLTOOL=$ac_cv_prog_DLLTOOL
8375 if test -n "$DLLTOOL"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
8377 $as_echo "$DLLTOOL" >&6; }
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8380 $as_echo "no
" >&6; }
8385 test -n "$ac_cv_prog_DLLTOOL" && break
8388 if test -z "$ac_cv_prog_DLLTOOL" ; then
8390 if test $build = $host ; then
8393 DLLTOOL="${ncn_tool_prefix}$2"
8399 if test -n "$LD"; then
8401 elif test -n "$ac_cv_prog_LD"; then
8405 if test -n "$ac_cv_prog_LD"; then
8406 for ncn_progname in ld; do
8407 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8408 set dummy ${ncn_progname}; ac_word=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8410 $as_echo_n "checking
for $ac_word...
" >&6; }
8411 if test "${ac_cv_prog_LD+set}" = set; then :
8412 $as_echo_n "(cached
) " >&6
8414 if test -n "$LD"; then
8415 ac_cv_prog_LD="$LD" # Let the user override the test.
8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir=.
8422 for ac_exec_ext in '' $ac_executable_extensions; do
8423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8424 ac_cv_prog_LD="${ncn_progname}"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8435 if test -n "$LD"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8437 $as_echo "$LD" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8440 $as_echo "no
" >&6; }
8447 for ncn_progname in ld; do
8448 if test -n "$ncn_tool_prefix"; then
8449 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8450 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8452 $as_echo_n "checking
for $ac_word...
" >&6; }
8453 if test "${ac_cv_prog_LD+set}" = set; then :
8454 $as_echo_n "(cached
) " >&6
8456 if test -n "$LD"; then
8457 ac_cv_prog_LD="$LD" # Let the user override the test.
8459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir=.
8464 for ac_exec_ext in '' $ac_executable_extensions; do
8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8466 ac_cv_prog_LD="${ncn_tool_prefix}${ncn_progname}"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8477 if test -n "$LD"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8479 $as_echo "$LD" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8482 $as_echo "no
" >&6; }
8487 if test -z "$ac_cv_prog_LD" && test $build = $host ; then
8488 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8489 set dummy ${ncn_progname}; ac_word=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8491 $as_echo_n "checking
for $ac_word...
" >&6; }
8492 if test "${ac_cv_prog_LD+set}" = set; then :
8493 $as_echo_n "(cached
) " >&6
8495 if test -n "$LD"; then
8496 ac_cv_prog_LD="$LD" # Let the user override the test.
8498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8502 test -z "$as_dir" && as_dir=.
8503 for ac_exec_ext in '' $ac_executable_extensions; do
8504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8505 ac_cv_prog_LD="${ncn_progname}"
8506 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8516 if test -n "$LD"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
8518 $as_echo "$LD" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8521 $as_echo "no
" >&6; }
8526 test -n "$ac_cv_prog_LD" && break
8529 if test -z "$ac_cv_prog_LD" ; then
8531 if test $build = $host ; then
8534 LD="${ncn_tool_prefix}$2"
8540 if test -n "$LIPO"; then
8541 ac_cv_prog_LIPO=$LIPO
8542 elif test -n "$ac_cv_prog_LIPO"; then
8543 LIPO=$ac_cv_prog_LIPO
8546 if test -n "$ac_cv_prog_LIPO"; then
8547 for ncn_progname in lipo; do
8548 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8549 set dummy ${ncn_progname}; ac_word=$2
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8551 $as_echo_n "checking
for $ac_word...
" >&6; }
8552 if test "${ac_cv_prog_LIPO+set}" = set; then :
8553 $as_echo_n "(cached
) " >&6
8555 if test -n "$LIPO"; then
8556 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8562 test -z "$as_dir" && as_dir=.
8563 for ac_exec_ext in '' $ac_executable_extensions; do
8564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8565 ac_cv_prog_LIPO="${ncn_progname}"
8566 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8575 LIPO=$ac_cv_prog_LIPO
8576 if test -n "$LIPO"; then
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8578 $as_echo "$LIPO" >&6; }
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8581 $as_echo "no
" >&6; }
8588 for ncn_progname in lipo; do
8589 if test -n "$ncn_tool_prefix"; then
8590 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8591 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8593 $as_echo_n "checking
for $ac_word...
" >&6; }
8594 if test "${ac_cv_prog_LIPO+set}" = set; then :
8595 $as_echo_n "(cached
) " >&6
8597 if test -n "$LIPO"; then
8598 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8604 test -z "$as_dir" && as_dir=.
8605 for ac_exec_ext in '' $ac_executable_extensions; do
8606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8607 ac_cv_prog_LIPO="${ncn_tool_prefix}${ncn_progname}"
8608 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8617 LIPO=$ac_cv_prog_LIPO
8618 if test -n "$LIPO"; then
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8620 $as_echo "$LIPO" >&6; }
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8623 $as_echo "no
" >&6; }
8628 if test -z "$ac_cv_prog_LIPO" && test $build = $host ; then
8629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8630 set dummy ${ncn_progname}; ac_word=$2
8631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8632 $as_echo_n "checking
for $ac_word...
" >&6; }
8633 if test "${ac_cv_prog_LIPO+set}" = set; then :
8634 $as_echo_n "(cached
) " >&6
8636 if test -n "$LIPO"; then
8637 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8643 test -z "$as_dir" && as_dir=.
8644 for ac_exec_ext in '' $ac_executable_extensions; do
8645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8646 ac_cv_prog_LIPO="${ncn_progname}"
8647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8656 LIPO=$ac_cv_prog_LIPO
8657 if test -n "$LIPO"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8659 $as_echo "$LIPO" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8662 $as_echo "no
" >&6; }
8667 test -n "$ac_cv_prog_LIPO" && break
8670 if test -z "$ac_cv_prog_LIPO" ; then
8672 if test $build = $host ; then
8675 LIPO="${ncn_tool_prefix}$2"
8681 if test -n "$NM"; then
8683 elif test -n "$ac_cv_prog_NM"; then
8687 if test -n "$ac_cv_prog_NM"; then
8688 for ncn_progname in nm; do
8689 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8690 set dummy ${ncn_progname}; ac_word=$2
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8692 $as_echo_n "checking
for $ac_word...
" >&6; }
8693 if test "${ac_cv_prog_NM+set}" = set; then :
8694 $as_echo_n "(cached
) " >&6
8696 if test -n "$NM"; then
8697 ac_cv_prog_NM="$NM" # Let the user override the test.
8699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8703 test -z "$as_dir" && as_dir=.
8704 for ac_exec_ext in '' $ac_executable_extensions; do
8705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8706 ac_cv_prog_NM="${ncn_progname}"
8707 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8717 if test -n "$NM"; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8719 $as_echo "$NM" >&6; }
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8722 $as_echo "no
" >&6; }
8729 for ncn_progname in nm; do
8730 if test -n "$ncn_tool_prefix"; then
8731 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8732 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8734 $as_echo_n "checking
for $ac_word...
" >&6; }
8735 if test "${ac_cv_prog_NM+set}" = set; then :
8736 $as_echo_n "(cached
) " >&6
8738 if test -n "$NM"; then
8739 ac_cv_prog_NM="$NM" # Let the user override the test.
8741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 test -z "$as_dir" && as_dir=.
8746 for ac_exec_ext in '' $ac_executable_extensions; do
8747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8748 ac_cv_prog_NM="${ncn_tool_prefix}${ncn_progname}"
8749 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8759 if test -n "$NM"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8761 $as_echo "$NM" >&6; }
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8764 $as_echo "no
" >&6; }
8769 if test -z "$ac_cv_prog_NM" && test $build = $host ; then
8770 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8771 set dummy ${ncn_progname}; ac_word=$2
8772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8773 $as_echo_n "checking
for $ac_word...
" >&6; }
8774 if test "${ac_cv_prog_NM+set}" = set; then :
8775 $as_echo_n "(cached
) " >&6
8777 if test -n "$NM"; then
8778 ac_cv_prog_NM="$NM" # Let the user override the test.
8780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8784 test -z "$as_dir" && as_dir=.
8785 for ac_exec_ext in '' $ac_executable_extensions; do
8786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8787 ac_cv_prog_NM="${ncn_progname}"
8788 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8798 if test -n "$NM"; then
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM" >&5
8800 $as_echo "$NM" >&6; }
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8803 $as_echo "no
" >&6; }
8808 test -n "$ac_cv_prog_NM" && break
8811 if test -z "$ac_cv_prog_NM" ; then
8813 if test $build = $host ; then
8816 NM="${ncn_tool_prefix}$2"
8822 if test -n "$RANLIB"; then
8823 ac_cv_prog_RANLIB=$RANLIB
8824 elif test -n "$ac_cv_prog_RANLIB"; then
8825 RANLIB=$ac_cv_prog_RANLIB
8828 if test -n "$ac_cv_prog_RANLIB"; then
8829 for ncn_progname in ranlib; do
8830 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8831 set dummy ${ncn_progname}; ac_word=$2
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8833 $as_echo_n "checking
for $ac_word...
" >&6; }
8834 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8835 $as_echo_n "(cached
) " >&6
8837 if test -n "$RANLIB"; then
8838 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8844 test -z "$as_dir" && as_dir=.
8845 for ac_exec_ext in '' $ac_executable_extensions; do
8846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8847 ac_cv_prog_RANLIB="${ncn_progname}"
8848 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8857 RANLIB=$ac_cv_prog_RANLIB
8858 if test -n "$RANLIB"; then
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8860 $as_echo "$RANLIB" >&6; }
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8863 $as_echo "no
" >&6; }
8870 for ncn_progname in ranlib; do
8871 if test -n "$ncn_tool_prefix"; then
8872 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
8873 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8875 $as_echo_n "checking
for $ac_word...
" >&6; }
8876 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8877 $as_echo_n "(cached
) " >&6
8879 if test -n "$RANLIB"; then
8880 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir=.
8887 for ac_exec_ext in '' $ac_executable_extensions; do
8888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8889 ac_cv_prog_RANLIB="${ncn_tool_prefix}${ncn_progname}"
8890 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8899 RANLIB=$ac_cv_prog_RANLIB
8900 if test -n "$RANLIB"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8902 $as_echo "$RANLIB" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8905 $as_echo "no
" >&6; }
8910 if test -z "$ac_cv_prog_RANLIB" && test $build = $host ; then
8911 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8912 set dummy ${ncn_progname}; ac_word=$2
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8914 $as_echo_n "checking
for $ac_word...
" >&6; }
8915 if test "${ac_cv_prog_RANLIB+set}" = set; then :
8916 $as_echo_n "(cached
) " >&6
8918 if test -n "$RANLIB"; then
8919 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_prog_RANLIB="${ncn_progname}"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8938 RANLIB=$ac_cv_prog_RANLIB
8939 if test -n "$RANLIB"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
8941 $as_echo "$RANLIB" >&6; }
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8944 $as_echo "no
" >&6; }
8949 test -n "$ac_cv_prog_RANLIB" && break
8952 if test -z "$ac_cv_prog_RANLIB" ; then
8958 if test -n "$STRIP"; then
8959 ac_cv_prog_STRIP=$STRIP
8960 elif test -n "$ac_cv_prog_STRIP"; then
8961 STRIP=$ac_cv_prog_STRIP
8964 if test -n "$ac_cv_prog_STRIP"; then
8965 for ncn_progname in strip; do
8966 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
8967 set dummy ${ncn_progname}; ac_word=$2
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8969 $as_echo_n "checking
for $ac_word...
" >&6; }
8970 if test "${ac_cv_prog_STRIP+set}" = set; then :
8971 $as_echo_n "(cached
) " >&6
8973 if test -n "$STRIP"; then
8974 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8980 test -z "$as_dir" && as_dir=.
8981 for ac_exec_ext in '' $ac_executable_extensions; do
8982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8983 ac_cv_prog_STRIP="${ncn_progname}"
8984 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8993 STRIP=$ac_cv_prog_STRIP
8994 if test -n "$STRIP"; then
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
8996 $as_echo "$STRIP" >&6; }
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8999 $as_echo "no
" >&6; }
9006 for ncn_progname in strip; do
9007 if test -n "$ncn_tool_prefix"; then
9008 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9009 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9011 $as_echo_n "checking
for $ac_word...
" >&6; }
9012 if test "${ac_cv_prog_STRIP+set}" = set; then :
9013 $as_echo_n "(cached
) " >&6
9015 if test -n "$STRIP"; then
9016 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9022 test -z "$as_dir" && as_dir=.
9023 for ac_exec_ext in '' $ac_executable_extensions; do
9024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9025 ac_cv_prog_STRIP="${ncn_tool_prefix}${ncn_progname}"
9026 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9035 STRIP=$ac_cv_prog_STRIP
9036 if test -n "$STRIP"; then
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9038 $as_echo "$STRIP" >&6; }
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9041 $as_echo "no
" >&6; }
9046 if test -z "$ac_cv_prog_STRIP" && test $build = $host ; then
9047 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9048 set dummy ${ncn_progname}; ac_word=$2
9049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9050 $as_echo_n "checking
for $ac_word...
" >&6; }
9051 if test "${ac_cv_prog_STRIP+set}" = set; then :
9052 $as_echo_n "(cached
) " >&6
9054 if test -n "$STRIP"; then
9055 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9061 test -z "$as_dir" && as_dir=.
9062 for ac_exec_ext in '' $ac_executable_extensions; do
9063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9064 ac_cv_prog_STRIP="${ncn_progname}"
9065 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9074 STRIP=$ac_cv_prog_STRIP
9075 if test -n "$STRIP"; then
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
9077 $as_echo "$STRIP" >&6; }
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9080 $as_echo "no
" >&6; }
9085 test -n "$ac_cv_prog_STRIP" && break
9088 if test -z "$ac_cv_prog_STRIP" ; then
9094 if test -n "$WINDRES"; then
9095 ac_cv_prog_WINDRES=$WINDRES
9096 elif test -n "$ac_cv_prog_WINDRES"; then
9097 WINDRES=$ac_cv_prog_WINDRES
9100 if test -n "$ac_cv_prog_WINDRES"; then
9101 for ncn_progname in windres; do
9102 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9103 set dummy ${ncn_progname}; ac_word=$2
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9105 $as_echo_n "checking
for $ac_word...
" >&6; }
9106 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9107 $as_echo_n "(cached
) " >&6
9109 if test -n "$WINDRES"; then
9110 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9116 test -z "$as_dir" && as_dir=.
9117 for ac_exec_ext in '' $ac_executable_extensions; do
9118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9119 ac_cv_prog_WINDRES="${ncn_progname}"
9120 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9129 WINDRES=$ac_cv_prog_WINDRES
9130 if test -n "$WINDRES"; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9132 $as_echo "$WINDRES" >&6; }
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9135 $as_echo "no
" >&6; }
9142 for ncn_progname in windres; do
9143 if test -n "$ncn_tool_prefix"; then
9144 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9145 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9147 $as_echo_n "checking
for $ac_word...
" >&6; }
9148 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9149 $as_echo_n "(cached
) " >&6
9151 if test -n "$WINDRES"; then
9152 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9158 test -z "$as_dir" && as_dir=.
9159 for ac_exec_ext in '' $ac_executable_extensions; do
9160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9161 ac_cv_prog_WINDRES="${ncn_tool_prefix}${ncn_progname}"
9162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9171 WINDRES=$ac_cv_prog_WINDRES
9172 if test -n "$WINDRES"; then
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9174 $as_echo "$WINDRES" >&6; }
9176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9177 $as_echo "no
" >&6; }
9182 if test -z "$ac_cv_prog_WINDRES" && test $build = $host ; then
9183 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9184 set dummy ${ncn_progname}; ac_word=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9186 $as_echo_n "checking
for $ac_word...
" >&6; }
9187 if test "${ac_cv_prog_WINDRES+set}" = set; then :
9188 $as_echo_n "(cached
) " >&6
9190 if test -n "$WINDRES"; then
9191 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
9193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9197 test -z "$as_dir" && as_dir=.
9198 for ac_exec_ext in '' $ac_executable_extensions; do
9199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9200 ac_cv_prog_WINDRES="${ncn_progname}"
9201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9210 WINDRES=$ac_cv_prog_WINDRES
9211 if test -n "$WINDRES"; then
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES" >&5
9213 $as_echo "$WINDRES" >&6; }
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9216 $as_echo "no
" >&6; }
9221 test -n "$ac_cv_prog_WINDRES" && break
9224 if test -z "$ac_cv_prog_WINDRES" ; then
9226 if test $build = $host ; then
9229 WINDRES="${ncn_tool_prefix}$2"
9235 if test -n "$WINDMC"; then
9236 ac_cv_prog_WINDMC=$WINDMC
9237 elif test -n "$ac_cv_prog_WINDMC"; then
9238 WINDMC=$ac_cv_prog_WINDMC
9241 if test -n "$ac_cv_prog_WINDMC"; then
9242 for ncn_progname in windmc; do
9243 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9244 set dummy ${ncn_progname}; ac_word=$2
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9246 $as_echo_n "checking
for $ac_word...
" >&6; }
9247 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9248 $as_echo_n "(cached
) " >&6
9250 if test -n "$WINDMC"; then
9251 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 test -z "$as_dir" && as_dir=.
9258 for ac_exec_ext in '' $ac_executable_extensions; do
9259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9260 ac_cv_prog_WINDMC="${ncn_progname}"
9261 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9270 WINDMC=$ac_cv_prog_WINDMC
9271 if test -n "$WINDMC"; then
9272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9273 $as_echo "$WINDMC" >&6; }
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9276 $as_echo "no
" >&6; }
9283 for ncn_progname in windmc; do
9284 if test -n "$ncn_tool_prefix"; then
9285 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9286 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9288 $as_echo_n "checking
for $ac_word...
" >&6; }
9289 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9290 $as_echo_n "(cached
) " >&6
9292 if test -n "$WINDMC"; then
9293 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9299 test -z "$as_dir" && as_dir=.
9300 for ac_exec_ext in '' $ac_executable_extensions; do
9301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9302 ac_cv_prog_WINDMC="${ncn_tool_prefix}${ncn_progname}"
9303 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9312 WINDMC=$ac_cv_prog_WINDMC
9313 if test -n "$WINDMC"; then
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9315 $as_echo "$WINDMC" >&6; }
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9318 $as_echo "no
" >&6; }
9323 if test -z "$ac_cv_prog_WINDMC" && test $build = $host ; then
9324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9325 set dummy ${ncn_progname}; ac_word=$2
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9327 $as_echo_n "checking
for $ac_word...
" >&6; }
9328 if test "${ac_cv_prog_WINDMC+set}" = set; then :
9329 $as_echo_n "(cached
) " >&6
9331 if test -n "$WINDMC"; then
9332 ac_cv_prog_WINDMC="$WINDMC" # Let the user override the test.
9334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9338 test -z "$as_dir" && as_dir=.
9339 for ac_exec_ext in '' $ac_executable_extensions; do
9340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9341 ac_cv_prog_WINDMC="${ncn_progname}"
9342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9351 WINDMC=$ac_cv_prog_WINDMC
9352 if test -n "$WINDMC"; then
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC" >&5
9354 $as_echo "$WINDMC" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9357 $as_echo "no
" >&6; }
9362 test -n "$ac_cv_prog_WINDMC" && break
9365 if test -z "$ac_cv_prog_WINDMC" ; then
9367 if test $build = $host ; then
9370 WINDMC="${ncn_tool_prefix}$2"
9376 if test -n "$OBJCOPY"; then
9377 ac_cv_prog_OBJCOPY=$OBJCOPY
9378 elif test -n "$ac_cv_prog_OBJCOPY"; then
9379 OBJCOPY=$ac_cv_prog_OBJCOPY
9382 if test -n "$ac_cv_prog_OBJCOPY"; then
9383 for ncn_progname in objcopy; do
9384 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9385 set dummy ${ncn_progname}; ac_word=$2
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9387 $as_echo_n "checking
for $ac_word...
" >&6; }
9388 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9389 $as_echo_n "(cached
) " >&6
9391 if test -n "$OBJCOPY"; then
9392 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9398 test -z "$as_dir" && as_dir=.
9399 for ac_exec_ext in '' $ac_executable_extensions; do
9400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9401 ac_cv_prog_OBJCOPY="${ncn_progname}"
9402 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9411 OBJCOPY=$ac_cv_prog_OBJCOPY
9412 if test -n "$OBJCOPY"; then
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9414 $as_echo "$OBJCOPY" >&6; }
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9417 $as_echo "no
" >&6; }
9424 for ncn_progname in objcopy; do
9425 if test -n "$ncn_tool_prefix"; then
9426 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9427 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9429 $as_echo_n "checking
for $ac_word...
" >&6; }
9430 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9431 $as_echo_n "(cached
) " >&6
9433 if test -n "$OBJCOPY"; then
9434 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir=.
9441 for ac_exec_ext in '' $ac_executable_extensions; do
9442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9443 ac_cv_prog_OBJCOPY="${ncn_tool_prefix}${ncn_progname}"
9444 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9453 OBJCOPY=$ac_cv_prog_OBJCOPY
9454 if test -n "$OBJCOPY"; then
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9456 $as_echo "$OBJCOPY" >&6; }
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9459 $as_echo "no
" >&6; }
9464 if test -z "$ac_cv_prog_OBJCOPY" && test $build = $host ; then
9465 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9466 set dummy ${ncn_progname}; ac_word=$2
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9468 $as_echo_n "checking
for $ac_word...
" >&6; }
9469 if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
9470 $as_echo_n "(cached
) " >&6
9472 if test -n "$OBJCOPY"; then
9473 ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
9475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9479 test -z "$as_dir" && as_dir=.
9480 for ac_exec_ext in '' $ac_executable_extensions; do
9481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9482 ac_cv_prog_OBJCOPY="${ncn_progname}"
9483 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9492 OBJCOPY=$ac_cv_prog_OBJCOPY
9493 if test -n "$OBJCOPY"; then
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJCOPY" >&5
9495 $as_echo "$OBJCOPY" >&6; }
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9498 $as_echo "no
" >&6; }
9503 test -n "$ac_cv_prog_OBJCOPY" && break
9506 if test -z "$ac_cv_prog_OBJCOPY" ; then
9508 if test $build = $host ; then
9511 OBJCOPY="${ncn_tool_prefix}$2"
9517 if test -n "$OBJDUMP"; then
9518 ac_cv_prog_OBJDUMP=$OBJDUMP
9519 elif test -n "$ac_cv_prog_OBJDUMP"; then
9520 OBJDUMP=$ac_cv_prog_OBJDUMP
9523 if test -n "$ac_cv_prog_OBJDUMP"; then
9524 for ncn_progname in objdump; do
9525 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9526 set dummy ${ncn_progname}; ac_word=$2
9527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9528 $as_echo_n "checking
for $ac_word...
" >&6; }
9529 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9530 $as_echo_n "(cached
) " >&6
9532 if test -n "$OBJDUMP"; then
9533 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9539 test -z "$as_dir" && as_dir=.
9540 for ac_exec_ext in '' $ac_executable_extensions; do
9541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9542 ac_cv_prog_OBJDUMP="${ncn_progname}"
9543 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9552 OBJDUMP=$ac_cv_prog_OBJDUMP
9553 if test -n "$OBJDUMP"; then
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9555 $as_echo "$OBJDUMP" >&6; }
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9558 $as_echo "no
" >&6; }
9565 for ncn_progname in objdump; do
9566 if test -n "$ncn_tool_prefix"; then
9567 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9568 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9570 $as_echo_n "checking
for $ac_word...
" >&6; }
9571 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9572 $as_echo_n "(cached
) " >&6
9574 if test -n "$OBJDUMP"; then
9575 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9581 test -z "$as_dir" && as_dir=.
9582 for ac_exec_ext in '' $ac_executable_extensions; do
9583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9584 ac_cv_prog_OBJDUMP="${ncn_tool_prefix}${ncn_progname}"
9585 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9594 OBJDUMP=$ac_cv_prog_OBJDUMP
9595 if test -n "$OBJDUMP"; then
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9597 $as_echo "$OBJDUMP" >&6; }
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9600 $as_echo "no
" >&6; }
9605 if test -z "$ac_cv_prog_OBJDUMP" && test $build = $host ; then
9606 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9607 set dummy ${ncn_progname}; ac_word=$2
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9609 $as_echo_n "checking
for $ac_word...
" >&6; }
9610 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
9611 $as_echo_n "(cached
) " >&6
9613 if test -n "$OBJDUMP"; then
9614 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
9616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 test -z "$as_dir" && as_dir=.
9621 for ac_exec_ext in '' $ac_executable_extensions; do
9622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9623 ac_cv_prog_OBJDUMP="${ncn_progname}"
9624 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9633 OBJDUMP=$ac_cv_prog_OBJDUMP
9634 if test -n "$OBJDUMP"; then
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
9636 $as_echo "$OBJDUMP" >&6; }
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9639 $as_echo "no
" >&6; }
9644 test -n "$ac_cv_prog_OBJDUMP" && break
9647 if test -z "$ac_cv_prog_OBJDUMP" ; then
9649 if test $build = $host ; then
9652 OBJDUMP="${ncn_tool_prefix}$2"
9658 if test -n "$READELF"; then
9659 ac_cv_prog_READELF=$READELF
9660 elif test -n "$ac_cv_prog_READELF"; then
9661 READELF=$ac_cv_prog_READELF
9664 if test -n "$ac_cv_prog_READELF"; then
9665 for ncn_progname in readelf; do
9666 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9667 set dummy ${ncn_progname}; ac_word=$2
9668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9669 $as_echo_n "checking
for $ac_word...
" >&6; }
9670 if test "${ac_cv_prog_READELF+set}" = set; then :
9671 $as_echo_n "(cached
) " >&6
9673 if test -n "$READELF"; then
9674 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9680 test -z "$as_dir" && as_dir=.
9681 for ac_exec_ext in '' $ac_executable_extensions; do
9682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9683 ac_cv_prog_READELF="${ncn_progname}"
9684 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9693 READELF=$ac_cv_prog_READELF
9694 if test -n "$READELF"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9696 $as_echo "$READELF" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9699 $as_echo "no
" >&6; }
9706 for ncn_progname in readelf; do
9707 if test -n "$ncn_tool_prefix"; then
9708 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
9709 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9711 $as_echo_n "checking
for $ac_word...
" >&6; }
9712 if test "${ac_cv_prog_READELF+set}" = set; then :
9713 $as_echo_n "(cached
) " >&6
9715 if test -n "$READELF"; then
9716 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 test -z "$as_dir" && as_dir=.
9723 for ac_exec_ext in '' $ac_executable_extensions; do
9724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725 ac_cv_prog_READELF="${ncn_tool_prefix}${ncn_progname}"
9726 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9735 READELF=$ac_cv_prog_READELF
9736 if test -n "$READELF"; then
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9738 $as_echo "$READELF" >&6; }
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9741 $as_echo "no
" >&6; }
9746 if test -z "$ac_cv_prog_READELF" && test $build = $host ; then
9747 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9748 set dummy ${ncn_progname}; ac_word=$2
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9750 $as_echo_n "checking
for $ac_word...
" >&6; }
9751 if test "${ac_cv_prog_READELF+set}" = set; then :
9752 $as_echo_n "(cached
) " >&6
9754 if test -n "$READELF"; then
9755 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9761 test -z "$as_dir" && as_dir=.
9762 for ac_exec_ext in '' $ac_executable_extensions; do
9763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9764 ac_cv_prog_READELF="${ncn_progname}"
9765 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9774 READELF=$ac_cv_prog_READELF
9775 if test -n "$READELF"; then
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF" >&5
9777 $as_echo "$READELF" >&6; }
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9780 $as_echo "no
" >&6; }
9785 test -n "$ac_cv_prog_READELF" && break
9788 if test -z "$ac_cv_prog_READELF" ; then
9790 if test $build = $host ; then
9793 READELF="${ncn_tool_prefix}$2"
9804 # Check whether --with-build-time-tools was given.
9805 if test "${with_build_time_tools+set}" = set; then :
9806 withval=$with_build_time_tools; case x"$withval" in
9809 with_build_time_tools=
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&5
9811 $as_echo "$as_me: WARNING
: argument to
--with-build-time-tools must be an absolute path
" >&2;}
9815 with_build_time_tools=
9821 if test -n "$CC_FOR_TARGET"; then
9822 ac_cv_prog_CC_FOR_TARGET=$CC_FOR_TARGET
9823 elif test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9824 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9827 if test -n "$ac_cv_prog_CC_FOR_TARGET"; then
9828 for ncn_progname in cc gcc; do
9829 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9830 set dummy ${ncn_progname}; ac_word=$2
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9832 $as_echo_n "checking
for $ac_word...
" >&6; }
9833 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9834 $as_echo_n "(cached
) " >&6
9836 if test -n "$CC_FOR_TARGET"; then
9837 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9843 test -z "$as_dir" && as_dir=.
9844 for ac_exec_ext in '' $ac_executable_extensions; do
9845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9846 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9847 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9856 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9857 if test -n "$CC_FOR_TARGET"; then
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9859 $as_echo "$CC_FOR_TARGET" >&6; }
9861 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9862 $as_echo "no
" >&6; }
9869 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test -n "$with_build_time_tools"; then
9870 for ncn_progname in cc gcc; do
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
9872 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
9873 if test -x $with_build_time_tools/${ncn_progname}; then
9874 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
9876 $as_echo "yes" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9880 $as_echo "no
" >&6; }
9885 if test -z "$ac_cv_prog_CC_FOR_TARGET"; then
9886 for ncn_progname in cc gcc; do
9887 if test -n "$ncn_target_tool_prefix"; then
9888 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
9889 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9891 $as_echo_n "checking
for $ac_word...
" >&6; }
9892 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9893 $as_echo_n "(cached
) " >&6
9895 if test -n "$CC_FOR_TARGET"; then
9896 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9902 test -z "$as_dir" && as_dir=.
9903 for ac_exec_ext in '' $ac_executable_extensions; do
9904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9905 ac_cv_prog_CC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
9906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9915 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9916 if test -n "$CC_FOR_TARGET"; then
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9918 $as_echo "$CC_FOR_TARGET" >&6; }
9920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9921 $as_echo "no
" >&6; }
9926 if test -z "$ac_cv_prog_CC_FOR_TARGET" && test $build = $target ; then
9927 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9928 set dummy ${ncn_progname}; ac_word=$2
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9930 $as_echo_n "checking
for $ac_word...
" >&6; }
9931 if test "${ac_cv_prog_CC_FOR_TARGET+set}" = set; then :
9932 $as_echo_n "(cached
) " >&6
9934 if test -n "$CC_FOR_TARGET"; then
9935 ac_cv_prog_CC_FOR_TARGET="$CC_FOR_TARGET" # Let the user override the test.
9937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9941 test -z "$as_dir" && as_dir=.
9942 for ac_exec_ext in '' $ac_executable_extensions; do
9943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9944 ac_cv_prog_CC_FOR_TARGET="${ncn_progname}"
9945 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
9954 CC_FOR_TARGET=$ac_cv_prog_CC_FOR_TARGET
9955 if test -n "$CC_FOR_TARGET"; then
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CC_FOR_TARGET" >&5
9957 $as_echo "$CC_FOR_TARGET" >&6; }
9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
9960 $as_echo "no
" >&6; }
9965 test -n "$ac_cv_prog_CC_FOR_TARGET" && break
9969 if test -z "$ac_cv_prog_CC_FOR_TARGET" ; then
9971 if test $build = $target ; then
9974 CC_FOR_TARGET="${ncn_target_tool_prefix}$2"
9977 CC_FOR_TARGET="$ac_cv_prog_CC_FOR_TARGET"
9982 if test -n "$CXX_FOR_TARGET"; then
9983 ac_cv_prog_CXX_FOR_TARGET=$CXX_FOR_TARGET
9984 elif test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9985 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
9988 if test -n "$ac_cv_prog_CXX_FOR_TARGET"; then
9989 for ncn_progname in c++ g++ cxx gxx; do
9990 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
9991 set dummy ${ncn_progname}; ac_word=$2
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
9993 $as_echo_n "checking
for $ac_word...
" >&6; }
9994 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
9995 $as_echo_n "(cached
) " >&6
9997 if test -n "$CXX_FOR_TARGET"; then
9998 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 for as_dir in $PATH
10004 test -z "$as_dir" && as_dir=.
10005 for ac_exec_ext in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10008 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10017 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10018 if test -n "$CXX_FOR_TARGET"; then
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10020 $as_echo "$CXX_FOR_TARGET" >&6; }
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10023 $as_echo "no
" >&6; }
10030 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test -n "$with_build_time_tools"; then
10031 for ncn_progname in c++ g++ cxx gxx; do
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10033 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10034 if test -x $with_build_time_tools/${ncn_progname}; then
10035 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10037 $as_echo "yes" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10041 $as_echo "no
" >&6; }
10046 if test -z "$ac_cv_prog_CXX_FOR_TARGET"; then
10047 for ncn_progname in c++ g++ cxx gxx; do
10048 if test -n "$ncn_target_tool_prefix"; then
10049 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10050 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10052 $as_echo_n "checking
for $ac_word...
" >&6; }
10053 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10054 $as_echo_n "(cached
) " >&6
10056 if test -n "$CXX_FOR_TARGET"; then
10057 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10060 for as_dir in $PATH
10063 test -z "$as_dir" && as_dir=.
10064 for ac_exec_ext in '' $ac_executable_extensions; do
10065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10066 ac_cv_prog_CXX_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10076 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10077 if test -n "$CXX_FOR_TARGET"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10079 $as_echo "$CXX_FOR_TARGET" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10082 $as_echo "no
" >&6; }
10087 if test -z "$ac_cv_prog_CXX_FOR_TARGET" && test $build = $target ; then
10088 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10089 set dummy ${ncn_progname}; ac_word=$2
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10091 $as_echo_n "checking
for $ac_word...
" >&6; }
10092 if test "${ac_cv_prog_CXX_FOR_TARGET+set}" = set; then :
10093 $as_echo_n "(cached
) " >&6
10095 if test -n "$CXX_FOR_TARGET"; then
10096 ac_cv_prog_CXX_FOR_TARGET="$CXX_FOR_TARGET" # Let the user override the test.
10098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10099 for as_dir in $PATH
10102 test -z "$as_dir" && as_dir=.
10103 for ac_exec_ext in '' $ac_executable_extensions; do
10104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10105 ac_cv_prog_CXX_FOR_TARGET="${ncn_progname}"
10106 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10115 CXX_FOR_TARGET=$ac_cv_prog_CXX_FOR_TARGET
10116 if test -n "$CXX_FOR_TARGET"; then
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CXX_FOR_TARGET" >&5
10118 $as_echo "$CXX_FOR_TARGET" >&6; }
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10121 $as_echo "no
" >&6; }
10126 test -n "$ac_cv_prog_CXX_FOR_TARGET" && break
10130 if test -z "$ac_cv_prog_CXX_FOR_TARGET" ; then
10131 set dummy c++ g++ cxx gxx
10132 if test $build = $target ; then
10133 CXX_FOR_TARGET="$2"
10135 CXX_FOR_TARGET="${ncn_target_tool_prefix}$2"
10138 CXX_FOR_TARGET="$ac_cv_prog_CXX_FOR_TARGET"
10143 if test -n "$GCC_FOR_TARGET"; then
10144 ac_cv_prog_GCC_FOR_TARGET=$GCC_FOR_TARGET
10145 elif test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10146 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10149 if test -n "$ac_cv_prog_GCC_FOR_TARGET"; then
10150 for ncn_progname in gcc; do
10151 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10152 set dummy ${ncn_progname}; ac_word=$2
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10154 $as_echo_n "checking
for $ac_word...
" >&6; }
10155 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10156 $as_echo_n "(cached
) " >&6
10158 if test -n "$GCC_FOR_TARGET"; then
10159 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10162 for as_dir in $PATH
10165 test -z "$as_dir" && as_dir=.
10166 for ac_exec_ext in '' $ac_executable_extensions; do
10167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10168 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10169 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10178 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10179 if test -n "$GCC_FOR_TARGET"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10181 $as_echo "$GCC_FOR_TARGET" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10184 $as_echo "no
" >&6; }
10191 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10192 for ncn_progname in gcc; do
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10194 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10195 if test -x $with_build_time_tools/${ncn_progname}; then
10196 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10198 $as_echo "yes" >&6; }
10201 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10202 $as_echo "no
" >&6; }
10207 if test -z "$ac_cv_prog_GCC_FOR_TARGET"; then
10208 for ncn_progname in gcc; do
10209 if test -n "$ncn_target_tool_prefix"; then
10210 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10211 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10213 $as_echo_n "checking
for $ac_word...
" >&6; }
10214 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10215 $as_echo_n "(cached
) " >&6
10217 if test -n "$GCC_FOR_TARGET"; then
10218 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10221 for as_dir in $PATH
10224 test -z "$as_dir" && as_dir=.
10225 for ac_exec_ext in '' $ac_executable_extensions; do
10226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10227 ac_cv_prog_GCC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10228 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10237 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10238 if test -n "$GCC_FOR_TARGET"; then
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10240 $as_echo "$GCC_FOR_TARGET" >&6; }
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10243 $as_echo "no
" >&6; }
10248 if test -z "$ac_cv_prog_GCC_FOR_TARGET" && test $build = $target ; then
10249 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10250 set dummy ${ncn_progname}; ac_word=$2
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10252 $as_echo_n "checking
for $ac_word...
" >&6; }
10253 if test "${ac_cv_prog_GCC_FOR_TARGET+set}" = set; then :
10254 $as_echo_n "(cached
) " >&6
10256 if test -n "$GCC_FOR_TARGET"; then
10257 ac_cv_prog_GCC_FOR_TARGET="$GCC_FOR_TARGET" # Let the user override the test.
10259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10260 for as_dir in $PATH
10263 test -z "$as_dir" && as_dir=.
10264 for ac_exec_ext in '' $ac_executable_extensions; do
10265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10266 ac_cv_prog_GCC_FOR_TARGET="${ncn_progname}"
10267 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10276 GCC_FOR_TARGET=$ac_cv_prog_GCC_FOR_TARGET
10277 if test -n "$GCC_FOR_TARGET"; then
10278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCC_FOR_TARGET" >&5
10279 $as_echo "$GCC_FOR_TARGET" >&6; }
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10282 $as_echo "no
" >&6; }
10287 test -n "$ac_cv_prog_GCC_FOR_TARGET" && break
10291 if test -z "$ac_cv_prog_GCC_FOR_TARGET" ; then
10292 GCC_FOR_TARGET="${CC_FOR_TARGET}"
10294 GCC_FOR_TARGET="$ac_cv_prog_GCC_FOR_TARGET"
10299 if test -n "$GCJ_FOR_TARGET"; then
10300 ac_cv_prog_GCJ_FOR_TARGET=$GCJ_FOR_TARGET
10301 elif test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10302 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10305 if test -n "$ac_cv_prog_GCJ_FOR_TARGET"; then
10306 for ncn_progname in gcj; do
10307 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10308 set dummy ${ncn_progname}; ac_word=$2
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10310 $as_echo_n "checking
for $ac_word...
" >&6; }
10311 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10312 $as_echo_n "(cached
) " >&6
10314 if test -n "$GCJ_FOR_TARGET"; then
10315 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10318 for as_dir in $PATH
10321 test -z "$as_dir" && as_dir=.
10322 for ac_exec_ext in '' $ac_executable_extensions; do
10323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10324 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10325 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10334 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10335 if test -n "$GCJ_FOR_TARGET"; then
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10337 $as_echo "$GCJ_FOR_TARGET" >&6; }
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10340 $as_echo "no
" >&6; }
10347 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test -n "$with_build_time_tools"; then
10348 for ncn_progname in gcj; do
10349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10350 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10351 if test -x $with_build_time_tools/${ncn_progname}; then
10352 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10354 $as_echo "yes" >&6; }
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10358 $as_echo "no
" >&6; }
10363 if test -z "$ac_cv_prog_GCJ_FOR_TARGET"; then
10364 for ncn_progname in gcj; do
10365 if test -n "$ncn_target_tool_prefix"; then
10366 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10367 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10369 $as_echo_n "checking
for $ac_word...
" >&6; }
10370 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10371 $as_echo_n "(cached
) " >&6
10373 if test -n "$GCJ_FOR_TARGET"; then
10374 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10377 for as_dir in $PATH
10380 test -z "$as_dir" && as_dir=.
10381 for ac_exec_ext in '' $ac_executable_extensions; do
10382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10383 ac_cv_prog_GCJ_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10393 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10394 if test -n "$GCJ_FOR_TARGET"; then
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10396 $as_echo "$GCJ_FOR_TARGET" >&6; }
10398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10399 $as_echo "no
" >&6; }
10404 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" && test $build = $target ; then
10405 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10406 set dummy ${ncn_progname}; ac_word=$2
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10408 $as_echo_n "checking
for $ac_word...
" >&6; }
10409 if test "${ac_cv_prog_GCJ_FOR_TARGET+set}" = set; then :
10410 $as_echo_n "(cached
) " >&6
10412 if test -n "$GCJ_FOR_TARGET"; then
10413 ac_cv_prog_GCJ_FOR_TARGET="$GCJ_FOR_TARGET" # Let the user override the test.
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10419 test -z "$as_dir" && as_dir=.
10420 for ac_exec_ext in '' $ac_executable_extensions; do
10421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10422 ac_cv_prog_GCJ_FOR_TARGET="${ncn_progname}"
10423 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10432 GCJ_FOR_TARGET=$ac_cv_prog_GCJ_FOR_TARGET
10433 if test -n "$GCJ_FOR_TARGET"; then
10434 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GCJ_FOR_TARGET" >&5
10435 $as_echo "$GCJ_FOR_TARGET" >&6; }
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10438 $as_echo "no
" >&6; }
10443 test -n "$ac_cv_prog_GCJ_FOR_TARGET" && break
10447 if test -z "$ac_cv_prog_GCJ_FOR_TARGET" ; then
10449 if test $build = $target ; then
10450 GCJ_FOR_TARGET="$2"
10452 GCJ_FOR_TARGET="${ncn_target_tool_prefix}$2"
10455 GCJ_FOR_TARGET="$ac_cv_prog_GCJ_FOR_TARGET"
10460 if test -n "$GFORTRAN_FOR_TARGET"; then
10461 ac_cv_prog_GFORTRAN_FOR_TARGET=$GFORTRAN_FOR_TARGET
10462 elif test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10463 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10466 if test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10467 for ncn_progname in gfortran; do
10468 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10469 set dummy ${ncn_progname}; ac_word=$2
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10471 $as_echo_n "checking
for $ac_word...
" >&6; }
10472 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10473 $as_echo_n "(cached
) " >&6
10475 if test -n "$GFORTRAN_FOR_TARGET"; then
10476 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10479 for as_dir in $PATH
10482 test -z "$as_dir" && as_dir=.
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10485 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10486 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10495 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10496 if test -n "$GFORTRAN_FOR_TARGET"; then
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10498 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10500 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10501 $as_echo "no
" >&6; }
10508 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test -n "$with_build_time_tools"; then
10509 for ncn_progname in gfortran; do
10510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10511 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10512 if test -x $with_build_time_tools/${ncn_progname}; then
10513 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10515 $as_echo "yes" >&6; }
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10519 $as_echo "no
" >&6; }
10524 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET"; then
10525 for ncn_progname in gfortran; do
10526 if test -n "$ncn_target_tool_prefix"; then
10527 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10528 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10530 $as_echo_n "checking
for $ac_word...
" >&6; }
10531 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10532 $as_echo_n "(cached
) " >&6
10534 if test -n "$GFORTRAN_FOR_TARGET"; then
10535 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10541 test -z "$as_dir" && as_dir=.
10542 for ac_exec_ext in '' $ac_executable_extensions; do
10543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10544 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10545 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10554 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10555 if test -n "$GFORTRAN_FOR_TARGET"; then
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10557 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10560 $as_echo "no
" >&6; }
10565 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" && test $build = $target ; then
10566 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10567 set dummy ${ncn_progname}; ac_word=$2
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10569 $as_echo_n "checking
for $ac_word...
" >&6; }
10570 if test "${ac_cv_prog_GFORTRAN_FOR_TARGET+set}" = set; then :
10571 $as_echo_n "(cached
) " >&6
10573 if test -n "$GFORTRAN_FOR_TARGET"; then
10574 ac_cv_prog_GFORTRAN_FOR_TARGET="$GFORTRAN_FOR_TARGET" # Let the user override the test.
10576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10577 for as_dir in $PATH
10580 test -z "$as_dir" && as_dir=.
10581 for ac_exec_ext in '' $ac_executable_extensions; do
10582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10583 ac_cv_prog_GFORTRAN_FOR_TARGET="${ncn_progname}"
10584 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10593 GFORTRAN_FOR_TARGET=$ac_cv_prog_GFORTRAN_FOR_TARGET
10594 if test -n "$GFORTRAN_FOR_TARGET"; then
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GFORTRAN_FOR_TARGET" >&5
10596 $as_echo "$GFORTRAN_FOR_TARGET" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10599 $as_echo "no
" >&6; }
10604 test -n "$ac_cv_prog_GFORTRAN_FOR_TARGET" && break
10608 if test -z "$ac_cv_prog_GFORTRAN_FOR_TARGET" ; then
10610 if test $build = $target ; then
10611 GFORTRAN_FOR_TARGET="$2"
10613 GFORTRAN_FOR_TARGET="${ncn_target_tool_prefix}$2"
10616 GFORTRAN_FOR_TARGET="$ac_cv_prog_GFORTRAN_FOR_TARGET"
10621 if test -n "$GOC_FOR_TARGET"; then
10622 ac_cv_prog_GOC_FOR_TARGET=$GOC_FOR_TARGET
10623 elif test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10624 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10627 if test -n "$ac_cv_prog_GOC_FOR_TARGET"; then
10628 for ncn_progname in gccgo; do
10629 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10630 set dummy ${ncn_progname}; ac_word=$2
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10632 $as_echo_n "checking
for $ac_word...
" >&6; }
10633 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10634 $as_echo_n "(cached
) " >&6
10636 if test -n "$GOC_FOR_TARGET"; then
10637 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10640 for as_dir in $PATH
10643 test -z "$as_dir" && as_dir=.
10644 for ac_exec_ext in '' $ac_executable_extensions; do
10645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10646 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10647 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10656 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10657 if test -n "$GOC_FOR_TARGET"; then
10658 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10659 $as_echo "$GOC_FOR_TARGET" >&6; }
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10662 $as_echo "no
" >&6; }
10669 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10670 for ncn_progname in gccgo; do
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10672 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10673 if test -x $with_build_time_tools/${ncn_progname}; then
10674 ac_cv_prog_GOC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10676 $as_echo "yes" >&6; }
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10680 $as_echo "no
" >&6; }
10685 if test -z "$ac_cv_prog_GOC_FOR_TARGET"; then
10686 for ncn_progname in gccgo; do
10687 if test -n "$ncn_target_tool_prefix"; then
10688 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10689 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10691 $as_echo_n "checking
for $ac_word...
" >&6; }
10692 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10693 $as_echo_n "(cached
) " >&6
10695 if test -n "$GOC_FOR_TARGET"; then
10696 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10699 for as_dir in $PATH
10702 test -z "$as_dir" && as_dir=.
10703 for ac_exec_ext in '' $ac_executable_extensions; do
10704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10705 ac_cv_prog_GOC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10706 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10715 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10716 if test -n "$GOC_FOR_TARGET"; then
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10718 $as_echo "$GOC_FOR_TARGET" >&6; }
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10721 $as_echo "no
" >&6; }
10726 if test -z "$ac_cv_prog_GOC_FOR_TARGET" && test $build = $target ; then
10727 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10728 set dummy ${ncn_progname}; ac_word=$2
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10730 $as_echo_n "checking
for $ac_word...
" >&6; }
10731 if test "${ac_cv_prog_GOC_FOR_TARGET+set}" = set; then :
10732 $as_echo_n "(cached
) " >&6
10734 if test -n "$GOC_FOR_TARGET"; then
10735 ac_cv_prog_GOC_FOR_TARGET="$GOC_FOR_TARGET" # Let the user override the test.
10737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10738 for as_dir in $PATH
10741 test -z "$as_dir" && as_dir=.
10742 for ac_exec_ext in '' $ac_executable_extensions; do
10743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10744 ac_cv_prog_GOC_FOR_TARGET="${ncn_progname}"
10745 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10754 GOC_FOR_TARGET=$ac_cv_prog_GOC_FOR_TARGET
10755 if test -n "$GOC_FOR_TARGET"; then
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GOC_FOR_TARGET" >&5
10757 $as_echo "$GOC_FOR_TARGET" >&6; }
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10760 $as_echo "no
" >&6; }
10765 test -n "$ac_cv_prog_GOC_FOR_TARGET" && break
10769 if test -z "$ac_cv_prog_GOC_FOR_TARGET" ; then
10771 if test $build = $target ; then
10772 GOC_FOR_TARGET="$2"
10774 GOC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10777 GOC_FOR_TARGET="$ac_cv_prog_GOC_FOR_TARGET"
10782 if test -n "$GUPC_FOR_TARGET"; then
10783 ac_cv_prog_GUPC_FOR_TARGET=$GUPC_FOR_TARGET
10784 elif test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10785 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10788 if test -n "$ac_cv_prog_GUPC_FOR_TARGET"; then
10789 for ncn_progname in gupc; do
10790 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10791 set dummy ${ncn_progname}; ac_word=$2
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10793 $as_echo_n "checking
for $ac_word...
" >&6; }
10794 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10795 $as_echo_n "(cached
) " >&6
10797 if test -n "$GUPC_FOR_TARGET"; then
10798 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10801 for as_dir in $PATH
10804 test -z "$as_dir" && as_dir=.
10805 for ac_exec_ext in '' $ac_executable_extensions; do
10806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10807 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
10808 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10817 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10818 if test -n "$GUPC_FOR_TARGET"; then
10819 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10820 $as_echo "$GUPC_FOR_TARGET" >&6; }
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10823 $as_echo "no
" >&6; }
10830 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test -n "$with_build_time_tools"; then
10831 for ncn_progname in gupc; do
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
10833 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
10834 if test -x $with_build_time_tools/${ncn_progname}; then
10835 ac_cv_prog_GUPC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
10836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
10837 $as_echo "yes" >&6; }
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10841 $as_echo "no
" >&6; }
10846 if test -z "$ac_cv_prog_GUPC_FOR_TARGET"; then
10847 for ncn_progname in gupc; do
10848 if test -n "$ncn_target_tool_prefix"; then
10849 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
10850 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10852 $as_echo_n "checking
for $ac_word...
" >&6; }
10853 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10854 $as_echo_n "(cached
) " >&6
10856 if test -n "$GUPC_FOR_TARGET"; then
10857 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10860 for as_dir in $PATH
10863 test -z "$as_dir" && as_dir=.
10864 for ac_exec_ext in '' $ac_executable_extensions; do
10865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10866 ac_cv_prog_GUPC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
10867 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10876 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10877 if test -n "$GUPC_FOR_TARGET"; then
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10879 $as_echo "$GUPC_FOR_TARGET" >&6; }
10881 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10882 $as_echo "no
" >&6; }
10887 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" && test $build = $target ; then
10888 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
10889 set dummy ${ncn_progname}; ac_word=$2
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10891 $as_echo_n "checking
for $ac_word...
" >&6; }
10892 if test "${ac_cv_prog_GUPC_FOR_TARGET+set}" = set; then :
10893 $as_echo_n "(cached
) " >&6
10895 if test -n "$GUPC_FOR_TARGET"; then
10896 ac_cv_prog_GUPC_FOR_TARGET="$GUPC_FOR_TARGET" # Let the user override the test.
10898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10899 for as_dir in $PATH
10902 test -z "$as_dir" && as_dir=.
10903 for ac_exec_ext in '' $ac_executable_extensions; do
10904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10905 ac_cv_prog_GUPC_FOR_TARGET="${ncn_progname}"
10906 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
10915 GUPC_FOR_TARGET=$ac_cv_prog_GUPC_FOR_TARGET
10916 if test -n "$GUPC_FOR_TARGET"; then
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $GUPC_FOR_TARGET" >&5
10918 $as_echo "$GUPC_FOR_TARGET" >&6; }
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10921 $as_echo "no
" >&6; }
10926 test -n "$ac_cv_prog_GUPC_FOR_TARGET" && break
10930 if test -z "$ac_cv_prog_GUPC_FOR_TARGET" ; then
10932 if test $build = $target ; then
10933 GUPC_FOR_TARGET="$2"
10935 GUPC_FOR_TARGET="${ncn_target_tool_prefix}$2"
10938 GUPC_FOR_TARGET="$ac_cv_prog_GUPC_FOR_TARGET"
10943 cat > conftest.c << \EOF
10948 if ($GCC_FOR_TARGET -E conftest.c | grep gcc_yay) > /dev/null 2>&1; then
10949 have_gcc_for_target=yes
10951 GCC_FOR_TARGET=${ncn_target_tool_prefix}gcc
10952 have_gcc_for_target=no
10959 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
10960 if test -n "$with_build_time_tools"; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ar in $with_build_time_tools" >&5
10962 $as_echo_n "checking
for ar in $with_build_time_tools...
" >&6; }
10963 if test -x $with_build_time_tools/ar; then
10964 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
10965 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AR_FOR_TARGET" >&5
10967 $as_echo "$ac_cv_path_AR_FOR_TARGET" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
10970 $as_echo "no
" >&6; }
10972 elif test $build != $host && test $have_gcc_for_target = yes; then
10973 AR_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ar`
10974 test $AR_FOR_TARGET = ar && AR_FOR_TARGET=
10975 test -n "$AR_FOR_TARGET" && ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
10978 if test -z "$ac_cv_path_AR_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
10979 # Extract the first word of "ar", so it can be a program name with args.
10980 set dummy ar; ac_word=$2
10981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
10982 $as_echo_n "checking
for $ac_word...
" >&6; }
10983 if test "${ac_cv_path_AR_FOR_TARGET+set}" = set; then :
10984 $as_echo_n "(cached
) " >&6
10986 case $AR_FOR_TARGET in
10988 ac_cv_path_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test with a path.
10991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10992 for as_dir in $gcc_cv_tool_dirs
10995 test -z "$as_dir" && as_dir=.
10996 for ac_exec_ext in '' $ac_executable_extensions; do
10997 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10998 ac_cv_path_AR_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
10999 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11009 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11010 if test -n "$AR_FOR_TARGET"; then
11011 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11012 $as_echo "$AR_FOR_TARGET" >&6; }
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11015 $as_echo "no
" >&6; }
11020 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
11023 if test -n "$AR_FOR_TARGET"; then
11024 ac_cv_prog_AR_FOR_TARGET=$AR_FOR_TARGET
11025 elif test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11026 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11029 if test -n "$ac_cv_prog_AR_FOR_TARGET"; then
11030 for ncn_progname in ar; do
11031 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11032 set dummy ${ncn_progname}; ac_word=$2
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11034 $as_echo_n "checking
for $ac_word...
" >&6; }
11035 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11036 $as_echo_n "(cached
) " >&6
11038 if test -n "$AR_FOR_TARGET"; then
11039 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11048 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11049 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11058 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11059 if test -n "$AR_FOR_TARGET"; then
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11061 $as_echo "$AR_FOR_TARGET" >&6; }
11063 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11064 $as_echo "no
" >&6; }
11071 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test -n "$with_build_time_tools"; then
11072 for ncn_progname in ar; do
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11074 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11075 if test -x $with_build_time_tools/${ncn_progname}; then
11076 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11078 $as_echo "yes" >&6; }
11081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11082 $as_echo "no
" >&6; }
11087 if test -z "$ac_cv_prog_AR_FOR_TARGET"; then
11088 for ncn_progname in ar; do
11089 if test -n "$ncn_target_tool_prefix"; then
11090 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11091 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11093 $as_echo_n "checking
for $ac_word...
" >&6; }
11094 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11095 $as_echo_n "(cached
) " >&6
11097 if test -n "$AR_FOR_TARGET"; then
11098 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11101 for as_dir in $PATH
11104 test -z "$as_dir" && as_dir=.
11105 for ac_exec_ext in '' $ac_executable_extensions; do
11106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11107 ac_cv_prog_AR_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11117 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11118 if test -n "$AR_FOR_TARGET"; then
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11120 $as_echo "$AR_FOR_TARGET" >&6; }
11122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11123 $as_echo "no
" >&6; }
11128 if test -z "$ac_cv_prog_AR_FOR_TARGET" && test $build = $target ; then
11129 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11130 set dummy ${ncn_progname}; ac_word=$2
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11132 $as_echo_n "checking
for $ac_word...
" >&6; }
11133 if test "${ac_cv_prog_AR_FOR_TARGET+set}" = set; then :
11134 $as_echo_n "(cached
) " >&6
11136 if test -n "$AR_FOR_TARGET"; then
11137 ac_cv_prog_AR_FOR_TARGET="$AR_FOR_TARGET" # Let the user override the test.
11139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11140 for as_dir in $PATH
11143 test -z "$as_dir" && as_dir=.
11144 for ac_exec_ext in '' $ac_executable_extensions; do
11145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11146 ac_cv_prog_AR_FOR_TARGET="${ncn_progname}"
11147 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11156 AR_FOR_TARGET=$ac_cv_prog_AR_FOR_TARGET
11157 if test -n "$AR_FOR_TARGET"; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR_FOR_TARGET" >&5
11159 $as_echo "$AR_FOR_TARGET" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11162 $as_echo "no
" >&6; }
11167 test -n "$ac_cv_prog_AR_FOR_TARGET" && break
11171 if test -z "$ac_cv_prog_AR_FOR_TARGET" ; then
11173 if test $build = $target ; then
11176 AR_FOR_TARGET="${ncn_target_tool_prefix}$2"
11179 AR_FOR_TARGET="$ac_cv_prog_AR_FOR_TARGET"
11183 AR_FOR_TARGET=$ac_cv_path_AR_FOR_TARGET
11189 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11190 if test -n "$with_build_time_tools"; then
11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for as
in $with_build_time_tools" >&5
11192 $as_echo_n "checking
for as
in $with_build_time_tools...
" >&6; }
11193 if test -x $with_build_time_tools/as; then
11194 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
11195 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_AS_FOR_TARGET" >&5
11197 $as_echo "$ac_cv_path_AS_FOR_TARGET" >&6; }
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11200 $as_echo "no
" >&6; }
11202 elif test $build != $host && test $have_gcc_for_target = yes; then
11203 AS_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=as`
11204 test $AS_FOR_TARGET = as && AS_FOR_TARGET=
11205 test -n "$AS_FOR_TARGET" && ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
11208 if test -z "$ac_cv_path_AS_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11209 # Extract the first word of "as
", so it can be a program name with args.
11210 set dummy as; ac_word=$2
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11212 $as_echo_n "checking
for $ac_word...
" >&6; }
11213 if test "${ac_cv_path_AS_FOR_TARGET+set}" = set; then :
11214 $as_echo_n "(cached
) " >&6
11216 case $AS_FOR_TARGET in
11218 ac_cv_path_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test with a path.
11221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11222 for as_dir in $gcc_cv_tool_dirs
11225 test -z "$as_dir" && as_dir=.
11226 for ac_exec_ext in '' $ac_executable_extensions; do
11227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11228 ac_cv_path_AS_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11229 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11239 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11240 if test -n "$AS_FOR_TARGET"; then
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11242 $as_echo "$AS_FOR_TARGET" >&6; }
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11245 $as_echo "no
" >&6; }
11250 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
11253 if test -n "$AS_FOR_TARGET"; then
11254 ac_cv_prog_AS_FOR_TARGET=$AS_FOR_TARGET
11255 elif test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11256 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11259 if test -n "$ac_cv_prog_AS_FOR_TARGET"; then
11260 for ncn_progname in as; do
11261 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11262 set dummy ${ncn_progname}; ac_word=$2
11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11264 $as_echo_n "checking
for $ac_word...
" >&6; }
11265 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11266 $as_echo_n "(cached
) " >&6
11268 if test -n "$AS_FOR_TARGET"; then
11269 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11272 for as_dir in $PATH
11275 test -z "$as_dir" && as_dir=.
11276 for ac_exec_ext in '' $ac_executable_extensions; do
11277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11278 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11279 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11288 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11289 if test -n "$AS_FOR_TARGET"; then
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11291 $as_echo "$AS_FOR_TARGET" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11294 $as_echo "no
" >&6; }
11301 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test -n "$with_build_time_tools"; then
11302 for ncn_progname in as; do
11303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11304 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11305 if test -x $with_build_time_tools/${ncn_progname}; then
11306 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11308 $as_echo "yes" >&6; }
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11312 $as_echo "no
" >&6; }
11317 if test -z "$ac_cv_prog_AS_FOR_TARGET"; then
11318 for ncn_progname in as; do
11319 if test -n "$ncn_target_tool_prefix"; then
11320 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11321 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11323 $as_echo_n "checking
for $ac_word...
" >&6; }
11324 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11325 $as_echo_n "(cached
) " >&6
11327 if test -n "$AS_FOR_TARGET"; then
11328 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11331 for as_dir in $PATH
11334 test -z "$as_dir" && as_dir=.
11335 for ac_exec_ext in '' $ac_executable_extensions; do
11336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11337 ac_cv_prog_AS_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11338 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11347 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11348 if test -n "$AS_FOR_TARGET"; then
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11350 $as_echo "$AS_FOR_TARGET" >&6; }
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11353 $as_echo "no
" >&6; }
11358 if test -z "$ac_cv_prog_AS_FOR_TARGET" && test $build = $target ; then
11359 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11360 set dummy ${ncn_progname}; ac_word=$2
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11362 $as_echo_n "checking
for $ac_word...
" >&6; }
11363 if test "${ac_cv_prog_AS_FOR_TARGET+set}" = set; then :
11364 $as_echo_n "(cached
) " >&6
11366 if test -n "$AS_FOR_TARGET"; then
11367 ac_cv_prog_AS_FOR_TARGET="$AS_FOR_TARGET" # Let the user override the test.
11369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11370 for as_dir in $PATH
11373 test -z "$as_dir" && as_dir=.
11374 for ac_exec_ext in '' $ac_executable_extensions; do
11375 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11376 ac_cv_prog_AS_FOR_TARGET="${ncn_progname}"
11377 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11386 AS_FOR_TARGET=$ac_cv_prog_AS_FOR_TARGET
11387 if test -n "$AS_FOR_TARGET"; then
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AS_FOR_TARGET" >&5
11389 $as_echo "$AS_FOR_TARGET" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11392 $as_echo "no
" >&6; }
11397 test -n "$ac_cv_prog_AS_FOR_TARGET" && break
11401 if test -z "$ac_cv_prog_AS_FOR_TARGET" ; then
11403 if test $build = $target ; then
11406 AS_FOR_TARGET="${ncn_target_tool_prefix}$2"
11409 AS_FOR_TARGET="$ac_cv_prog_AS_FOR_TARGET"
11413 AS_FOR_TARGET=$ac_cv_path_AS_FOR_TARGET
11419 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11420 if test -n "$with_build_time_tools"; then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for dlltool
in $with_build_time_tools" >&5
11422 $as_echo_n "checking
for dlltool
in $with_build_time_tools...
" >&6; }
11423 if test -x $with_build_time_tools/dlltool; then
11424 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
11425 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_DLLTOOL_FOR_TARGET" >&5
11427 $as_echo "$ac_cv_path_DLLTOOL_FOR_TARGET" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11430 $as_echo "no
" >&6; }
11432 elif test $build != $host && test $have_gcc_for_target = yes; then
11433 DLLTOOL_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=dlltool`
11434 test $DLLTOOL_FOR_TARGET = dlltool && DLLTOOL_FOR_TARGET=
11435 test -n "$DLLTOOL_FOR_TARGET" && ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11438 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11439 # Extract the first word of "dlltool
", so it can be a program name with args.
11440 set dummy dlltool; ac_word=$2
11441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11442 $as_echo_n "checking
for $ac_word...
" >&6; }
11443 if test "${ac_cv_path_DLLTOOL_FOR_TARGET+set}" = set; then :
11444 $as_echo_n "(cached
) " >&6
11446 case $DLLTOOL_FOR_TARGET in
11448 ac_cv_path_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test with a path.
11451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11452 for as_dir in $gcc_cv_tool_dirs
11455 test -z "$as_dir" && as_dir=.
11456 for ac_exec_ext in '' $ac_executable_extensions; do
11457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11458 ac_cv_path_DLLTOOL_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11459 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11469 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11470 if test -n "$DLLTOOL_FOR_TARGET"; then
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11472 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11475 $as_echo "no
" >&6; }
11480 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
11483 if test -n "$DLLTOOL_FOR_TARGET"; then
11484 ac_cv_prog_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
11485 elif test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11486 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11489 if test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11490 for ncn_progname in dlltool; do
11491 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11492 set dummy ${ncn_progname}; ac_word=$2
11493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11494 $as_echo_n "checking
for $ac_word...
" >&6; }
11495 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11496 $as_echo_n "(cached
) " >&6
11498 if test -n "$DLLTOOL_FOR_TARGET"; then
11499 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11502 for as_dir in $PATH
11505 test -z "$as_dir" && as_dir=.
11506 for ac_exec_ext in '' $ac_executable_extensions; do
11507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11508 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11509 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11518 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11519 if test -n "$DLLTOOL_FOR_TARGET"; then
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11521 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11524 $as_echo "no
" >&6; }
11531 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test -n "$with_build_time_tools"; then
11532 for ncn_progname in dlltool; do
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11534 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11535 if test -x $with_build_time_tools/${ncn_progname}; then
11536 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11538 $as_echo "yes" >&6; }
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11542 $as_echo "no
" >&6; }
11547 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET"; then
11548 for ncn_progname in dlltool; do
11549 if test -n "$ncn_target_tool_prefix"; then
11550 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11551 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11553 $as_echo_n "checking
for $ac_word...
" >&6; }
11554 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11555 $as_echo_n "(cached
) " >&6
11557 if test -n "$DLLTOOL_FOR_TARGET"; then
11558 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11561 for as_dir in $PATH
11564 test -z "$as_dir" && as_dir=.
11565 for ac_exec_ext in '' $ac_executable_extensions; do
11566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11567 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11568 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11577 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11578 if test -n "$DLLTOOL_FOR_TARGET"; then
11579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11580 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11583 $as_echo "no
" >&6; }
11588 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" && test $build = $target ; then
11589 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11590 set dummy ${ncn_progname}; ac_word=$2
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11592 $as_echo_n "checking
for $ac_word...
" >&6; }
11593 if test "${ac_cv_prog_DLLTOOL_FOR_TARGET+set}" = set; then :
11594 $as_echo_n "(cached
) " >&6
11596 if test -n "$DLLTOOL_FOR_TARGET"; then
11597 ac_cv_prog_DLLTOOL_FOR_TARGET="$DLLTOOL_FOR_TARGET" # Let the user override the test.
11599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11600 for as_dir in $PATH
11603 test -z "$as_dir" && as_dir=.
11604 for ac_exec_ext in '' $ac_executable_extensions; do
11605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11606 ac_cv_prog_DLLTOOL_FOR_TARGET="${ncn_progname}"
11607 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11616 DLLTOOL_FOR_TARGET=$ac_cv_prog_DLLTOOL_FOR_TARGET
11617 if test -n "$DLLTOOL_FOR_TARGET"; then
11618 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL_FOR_TARGET" >&5
11619 $as_echo "$DLLTOOL_FOR_TARGET" >&6; }
11621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11622 $as_echo "no
" >&6; }
11627 test -n "$ac_cv_prog_DLLTOOL_FOR_TARGET" && break
11631 if test -z "$ac_cv_prog_DLLTOOL_FOR_TARGET" ; then
11633 if test $build = $target ; then
11634 DLLTOOL_FOR_TARGET="$2"
11636 DLLTOOL_FOR_TARGET="${ncn_target_tool_prefix}$2"
11639 DLLTOOL_FOR_TARGET="$ac_cv_prog_DLLTOOL_FOR_TARGET"
11643 DLLTOOL_FOR_TARGET=$ac_cv_path_DLLTOOL_FOR_TARGET
11649 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11650 if test -n "$with_build_time_tools"; then
11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld
in $with_build_time_tools" >&5
11652 $as_echo_n "checking
for ld
in $with_build_time_tools...
" >&6; }
11653 if test -x $with_build_time_tools/ld; then
11654 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
11655 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LD_FOR_TARGET" >&5
11657 $as_echo "$ac_cv_path_LD_FOR_TARGET" >&6; }
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11660 $as_echo "no
" >&6; }
11662 elif test $build != $host && test $have_gcc_for_target = yes; then
11663 LD_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ld`
11664 test $LD_FOR_TARGET = ld && LD_FOR_TARGET=
11665 test -n "$LD_FOR_TARGET" && ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
11668 if test -z "$ac_cv_path_LD_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11669 # Extract the first word of "ld
", so it can be a program name with args.
11670 set dummy ld; ac_word=$2
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11672 $as_echo_n "checking
for $ac_word...
" >&6; }
11673 if test "${ac_cv_path_LD_FOR_TARGET+set}" = set; then :
11674 $as_echo_n "(cached
) " >&6
11676 case $LD_FOR_TARGET in
11678 ac_cv_path_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test with a path.
11681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11682 for as_dir in $gcc_cv_tool_dirs
11685 test -z "$as_dir" && as_dir=.
11686 for ac_exec_ext in '' $ac_executable_extensions; do
11687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11688 ac_cv_path_LD_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11689 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11699 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11700 if test -n "$LD_FOR_TARGET"; then
11701 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11702 $as_echo "$LD_FOR_TARGET" >&6; }
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11705 $as_echo "no
" >&6; }
11710 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
11713 if test -n "$LD_FOR_TARGET"; then
11714 ac_cv_prog_LD_FOR_TARGET=$LD_FOR_TARGET
11715 elif test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11716 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11719 if test -n "$ac_cv_prog_LD_FOR_TARGET"; then
11720 for ncn_progname in ld; do
11721 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11722 set dummy ${ncn_progname}; ac_word=$2
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11724 $as_echo_n "checking
for $ac_word...
" >&6; }
11725 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11726 $as_echo_n "(cached
) " >&6
11728 if test -n "$LD_FOR_TARGET"; then
11729 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11732 for as_dir in $PATH
11735 test -z "$as_dir" && as_dir=.
11736 for ac_exec_ext in '' $ac_executable_extensions; do
11737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11738 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11739 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11748 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11749 if test -n "$LD_FOR_TARGET"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11751 $as_echo "$LD_FOR_TARGET" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11754 $as_echo "no
" >&6; }
11761 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test -n "$with_build_time_tools"; then
11762 for ncn_progname in ld; do
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11764 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11765 if test -x $with_build_time_tools/${ncn_progname}; then
11766 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11768 $as_echo "yes" >&6; }
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11772 $as_echo "no
" >&6; }
11777 if test -z "$ac_cv_prog_LD_FOR_TARGET"; then
11778 for ncn_progname in ld; do
11779 if test -n "$ncn_target_tool_prefix"; then
11780 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
11781 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11783 $as_echo_n "checking
for $ac_word...
" >&6; }
11784 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11785 $as_echo_n "(cached
) " >&6
11787 if test -n "$LD_FOR_TARGET"; then
11788 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_prog_LD_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
11798 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11807 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11808 if test -n "$LD_FOR_TARGET"; then
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11810 $as_echo "$LD_FOR_TARGET" >&6; }
11812 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11813 $as_echo "no
" >&6; }
11818 if test -z "$ac_cv_prog_LD_FOR_TARGET" && test $build = $target ; then
11819 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11820 set dummy ${ncn_progname}; ac_word=$2
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11822 $as_echo_n "checking
for $ac_word...
" >&6; }
11823 if test "${ac_cv_prog_LD_FOR_TARGET+set}" = set; then :
11824 $as_echo_n "(cached
) " >&6
11826 if test -n "$LD_FOR_TARGET"; then
11827 ac_cv_prog_LD_FOR_TARGET="$LD_FOR_TARGET" # Let the user override the test.
11829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11830 for as_dir in $PATH
11833 test -z "$as_dir" && as_dir=.
11834 for ac_exec_ext in '' $ac_executable_extensions; do
11835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11836 ac_cv_prog_LD_FOR_TARGET="${ncn_progname}"
11837 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11846 LD_FOR_TARGET=$ac_cv_prog_LD_FOR_TARGET
11847 if test -n "$LD_FOR_TARGET"; then
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD_FOR_TARGET" >&5
11849 $as_echo "$LD_FOR_TARGET" >&6; }
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11852 $as_echo "no
" >&6; }
11857 test -n "$ac_cv_prog_LD_FOR_TARGET" && break
11861 if test -z "$ac_cv_prog_LD_FOR_TARGET" ; then
11863 if test $build = $target ; then
11866 LD_FOR_TARGET="${ncn_target_tool_prefix}$2"
11869 LD_FOR_TARGET="$ac_cv_prog_LD_FOR_TARGET"
11873 LD_FOR_TARGET=$ac_cv_path_LD_FOR_TARGET
11879 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11880 if test -n "$with_build_time_tools"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for lipo
in $with_build_time_tools" >&5
11882 $as_echo_n "checking
for lipo
in $with_build_time_tools...
" >&6; }
11883 if test -x $with_build_time_tools/lipo; then
11884 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
11885 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_LIPO_FOR_TARGET" >&5
11887 $as_echo "$ac_cv_path_LIPO_FOR_TARGET" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11890 $as_echo "no
" >&6; }
11892 elif test $build != $host && test $have_gcc_for_target = yes; then
11893 LIPO_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=lipo`
11894 test $LIPO_FOR_TARGET = lipo && LIPO_FOR_TARGET=
11895 test -n "$LIPO_FOR_TARGET" && ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11898 if test -z "$ac_cv_path_LIPO_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
11899 # Extract the first word of "lipo
", so it can be a program name with args.
11900 set dummy lipo; ac_word=$2
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11902 $as_echo_n "checking
for $ac_word...
" >&6; }
11903 if test "${ac_cv_path_LIPO_FOR_TARGET+set}" = set; then :
11904 $as_echo_n "(cached
) " >&6
11906 case $LIPO_FOR_TARGET in
11908 ac_cv_path_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test with a path.
11911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11912 for as_dir in $gcc_cv_tool_dirs
11915 test -z "$as_dir" && as_dir=.
11916 for ac_exec_ext in '' $ac_executable_extensions; do
11917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11918 ac_cv_path_LIPO_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
11919 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11929 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
11930 if test -n "$LIPO_FOR_TARGET"; then
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11932 $as_echo "$LIPO_FOR_TARGET" >&6; }
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11935 $as_echo "no
" >&6; }
11940 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
11943 if test -n "$LIPO_FOR_TARGET"; then
11944 ac_cv_prog_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
11945 elif test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11946 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11949 if test -n "$ac_cv_prog_LIPO_FOR_TARGET"; then
11950 for ncn_progname in lipo; do
11951 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
11952 set dummy ${ncn_progname}; ac_word=$2
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
11954 $as_echo_n "checking
for $ac_word...
" >&6; }
11955 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
11956 $as_echo_n "(cached
) " >&6
11958 if test -n "$LIPO_FOR_TARGET"; then
11959 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
11961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11962 for as_dir in $PATH
11965 test -z "$as_dir" && as_dir=.
11966 for ac_exec_ext in '' $ac_executable_extensions; do
11967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11968 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
11969 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
11978 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
11979 if test -n "$LIPO_FOR_TARGET"; then
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
11981 $as_echo "$LIPO_FOR_TARGET" >&6; }
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
11984 $as_echo "no
" >&6; }
11991 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test -n "$with_build_time_tools"; then
11992 for ncn_progname in lipo; do
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
11994 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
11995 if test -x $with_build_time_tools/${ncn_progname}; then
11996 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
11998 $as_echo "yes" >&6; }
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12002 $as_echo "no
" >&6; }
12007 if test -z "$ac_cv_prog_LIPO_FOR_TARGET"; then
12008 for ncn_progname in lipo; do
12009 if test -n "$ncn_target_tool_prefix"; then
12010 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12011 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12013 $as_echo_n "checking
for $ac_word...
" >&6; }
12014 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12015 $as_echo_n "(cached
) " >&6
12017 if test -n "$LIPO_FOR_TARGET"; then
12018 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12021 for as_dir in $PATH
12024 test -z "$as_dir" && as_dir=.
12025 for ac_exec_ext in '' $ac_executable_extensions; do
12026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12027 ac_cv_prog_LIPO_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12028 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12037 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12038 if test -n "$LIPO_FOR_TARGET"; then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12040 $as_echo "$LIPO_FOR_TARGET" >&6; }
12042 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12043 $as_echo "no
" >&6; }
12048 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" && test $build = $target ; then
12049 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12050 set dummy ${ncn_progname}; ac_word=$2
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12052 $as_echo_n "checking
for $ac_word...
" >&6; }
12053 if test "${ac_cv_prog_LIPO_FOR_TARGET+set}" = set; then :
12054 $as_echo_n "(cached
) " >&6
12056 if test -n "$LIPO_FOR_TARGET"; then
12057 ac_cv_prog_LIPO_FOR_TARGET="$LIPO_FOR_TARGET" # Let the user override the test.
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12063 test -z "$as_dir" && as_dir=.
12064 for ac_exec_ext in '' $ac_executable_extensions; do
12065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12066 ac_cv_prog_LIPO_FOR_TARGET="${ncn_progname}"
12067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12076 LIPO_FOR_TARGET=$ac_cv_prog_LIPO_FOR_TARGET
12077 if test -n "$LIPO_FOR_TARGET"; then
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO_FOR_TARGET" >&5
12079 $as_echo "$LIPO_FOR_TARGET" >&6; }
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12082 $as_echo "no
" >&6; }
12087 test -n "$ac_cv_prog_LIPO_FOR_TARGET" && break
12091 if test -z "$ac_cv_prog_LIPO_FOR_TARGET" ; then
12093 if test $build = $target ; then
12094 LIPO_FOR_TARGET="$2"
12096 LIPO_FOR_TARGET="${ncn_target_tool_prefix}$2"
12099 LIPO_FOR_TARGET="$ac_cv_prog_LIPO_FOR_TARGET"
12103 LIPO_FOR_TARGET=$ac_cv_path_LIPO_FOR_TARGET
12109 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12110 if test -n "$with_build_time_tools"; then
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for nm
in $with_build_time_tools" >&5
12112 $as_echo_n "checking
for nm
in $with_build_time_tools...
" >&6; }
12113 if test -x $with_build_time_tools/nm; then
12114 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
12115 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_NM_FOR_TARGET" >&5
12117 $as_echo "$ac_cv_path_NM_FOR_TARGET" >&6; }
12119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12120 $as_echo "no
" >&6; }
12122 elif test $build != $host && test $have_gcc_for_target = yes; then
12123 NM_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=nm`
12124 test $NM_FOR_TARGET = nm && NM_FOR_TARGET=
12125 test -n "$NM_FOR_TARGET" && ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
12128 if test -z "$ac_cv_path_NM_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12129 # Extract the first word of "nm
", so it can be a program name with args.
12130 set dummy nm; ac_word=$2
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12132 $as_echo_n "checking
for $ac_word...
" >&6; }
12133 if test "${ac_cv_path_NM_FOR_TARGET+set}" = set; then :
12134 $as_echo_n "(cached
) " >&6
12136 case $NM_FOR_TARGET in
12138 ac_cv_path_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test with a path.
12141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12142 for as_dir in $gcc_cv_tool_dirs
12145 test -z "$as_dir" && as_dir=.
12146 for ac_exec_ext in '' $ac_executable_extensions; do
12147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12148 ac_cv_path_NM_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12149 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12159 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12160 if test -n "$NM_FOR_TARGET"; then
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12162 $as_echo "$NM_FOR_TARGET" >&6; }
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12165 $as_echo "no
" >&6; }
12170 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
12173 if test -n "$NM_FOR_TARGET"; then
12174 ac_cv_prog_NM_FOR_TARGET=$NM_FOR_TARGET
12175 elif test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12176 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12179 if test -n "$ac_cv_prog_NM_FOR_TARGET"; then
12180 for ncn_progname in nm; do
12181 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12182 set dummy ${ncn_progname}; ac_word=$2
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12184 $as_echo_n "checking
for $ac_word...
" >&6; }
12185 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12186 $as_echo_n "(cached
) " >&6
12188 if test -n "$NM_FOR_TARGET"; then
12189 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12192 for as_dir in $PATH
12195 test -z "$as_dir" && as_dir=.
12196 for ac_exec_ext in '' $ac_executable_extensions; do
12197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12198 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12208 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12209 if test -n "$NM_FOR_TARGET"; then
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12211 $as_echo "$NM_FOR_TARGET" >&6; }
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12214 $as_echo "no
" >&6; }
12221 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test -n "$with_build_time_tools"; then
12222 for ncn_progname in nm; do
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12224 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12225 if test -x $with_build_time_tools/${ncn_progname}; then
12226 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12228 $as_echo "yes" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12232 $as_echo "no
" >&6; }
12237 if test -z "$ac_cv_prog_NM_FOR_TARGET"; then
12238 for ncn_progname in nm; do
12239 if test -n "$ncn_target_tool_prefix"; then
12240 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12241 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12243 $as_echo_n "checking
for $ac_word...
" >&6; }
12244 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12245 $as_echo_n "(cached
) " >&6
12247 if test -n "$NM_FOR_TARGET"; then
12248 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12251 for as_dir in $PATH
12254 test -z "$as_dir" && as_dir=.
12255 for ac_exec_ext in '' $ac_executable_extensions; do
12256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12257 ac_cv_prog_NM_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12258 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12267 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12268 if test -n "$NM_FOR_TARGET"; then
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12270 $as_echo "$NM_FOR_TARGET" >&6; }
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12273 $as_echo "no
" >&6; }
12278 if test -z "$ac_cv_prog_NM_FOR_TARGET" && test $build = $target ; then
12279 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12280 set dummy ${ncn_progname}; ac_word=$2
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12282 $as_echo_n "checking
for $ac_word...
" >&6; }
12283 if test "${ac_cv_prog_NM_FOR_TARGET+set}" = set; then :
12284 $as_echo_n "(cached
) " >&6
12286 if test -n "$NM_FOR_TARGET"; then
12287 ac_cv_prog_NM_FOR_TARGET="$NM_FOR_TARGET" # Let the user override the test.
12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290 for as_dir in $PATH
12293 test -z "$as_dir" && as_dir=.
12294 for ac_exec_ext in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_prog_NM_FOR_TARGET="${ncn_progname}"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12306 NM_FOR_TARGET=$ac_cv_prog_NM_FOR_TARGET
12307 if test -n "$NM_FOR_TARGET"; then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NM_FOR_TARGET" >&5
12309 $as_echo "$NM_FOR_TARGET" >&6; }
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12312 $as_echo "no
" >&6; }
12317 test -n "$ac_cv_prog_NM_FOR_TARGET" && break
12321 if test -z "$ac_cv_prog_NM_FOR_TARGET" ; then
12323 if test $build = $target ; then
12326 NM_FOR_TARGET="${ncn_target_tool_prefix}$2"
12329 NM_FOR_TARGET="$ac_cv_prog_NM_FOR_TARGET"
12333 NM_FOR_TARGET=$ac_cv_path_NM_FOR_TARGET
12339 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12340 if test -n "$with_build_time_tools"; then
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for objdump
in $with_build_time_tools" >&5
12342 $as_echo_n "checking
for objdump
in $with_build_time_tools...
" >&6; }
12343 if test -x $with_build_time_tools/objdump; then
12344 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
12345 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_OBJDUMP_FOR_TARGET" >&5
12347 $as_echo "$ac_cv_path_OBJDUMP_FOR_TARGET" >&6; }
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12350 $as_echo "no
" >&6; }
12352 elif test $build != $host && test $have_gcc_for_target = yes; then
12353 OBJDUMP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=objdump`
12354 test $OBJDUMP_FOR_TARGET = objdump && OBJDUMP_FOR_TARGET=
12355 test -n "$OBJDUMP_FOR_TARGET" && ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12358 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12359 # Extract the first word of "objdump
", so it can be a program name with args.
12360 set dummy objdump; ac_word=$2
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12362 $as_echo_n "checking
for $ac_word...
" >&6; }
12363 if test "${ac_cv_path_OBJDUMP_FOR_TARGET+set}" = set; then :
12364 $as_echo_n "(cached
) " >&6
12366 case $OBJDUMP_FOR_TARGET in
12368 ac_cv_path_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test with a path.
12371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12372 for as_dir in $gcc_cv_tool_dirs
12375 test -z "$as_dir" && as_dir=.
12376 for ac_exec_ext in '' $ac_executable_extensions; do
12377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12378 ac_cv_path_OBJDUMP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12389 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12390 if test -n "$OBJDUMP_FOR_TARGET"; then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12392 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12395 $as_echo "no
" >&6; }
12400 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
12403 if test -n "$OBJDUMP_FOR_TARGET"; then
12404 ac_cv_prog_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
12405 elif test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12406 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12409 if test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12410 for ncn_progname in objdump; do
12411 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12412 set dummy ${ncn_progname}; ac_word=$2
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12414 $as_echo_n "checking
for $ac_word...
" >&6; }
12415 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12416 $as_echo_n "(cached
) " >&6
12418 if test -n "$OBJDUMP_FOR_TARGET"; then
12419 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12422 for as_dir in $PATH
12425 test -z "$as_dir" && as_dir=.
12426 for ac_exec_ext in '' $ac_executable_extensions; do
12427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12428 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12429 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12438 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12439 if test -n "$OBJDUMP_FOR_TARGET"; then
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12441 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12444 $as_echo "no
" >&6; }
12451 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test -n "$with_build_time_tools"; then
12452 for ncn_progname in objdump; do
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12454 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12455 if test -x $with_build_time_tools/${ncn_progname}; then
12456 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12458 $as_echo "yes" >&6; }
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12462 $as_echo "no
" >&6; }
12467 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET"; then
12468 for ncn_progname in objdump; do
12469 if test -n "$ncn_target_tool_prefix"; then
12470 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12471 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12473 $as_echo_n "checking
for $ac_word...
" >&6; }
12474 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12475 $as_echo_n "(cached
) " >&6
12477 if test -n "$OBJDUMP_FOR_TARGET"; then
12478 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12481 for as_dir in $PATH
12484 test -z "$as_dir" && as_dir=.
12485 for ac_exec_ext in '' $ac_executable_extensions; do
12486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12487 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12488 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12497 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12498 if test -n "$OBJDUMP_FOR_TARGET"; then
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12500 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12503 $as_echo "no
" >&6; }
12508 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" && test $build = $target ; then
12509 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12510 set dummy ${ncn_progname}; ac_word=$2
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12512 $as_echo_n "checking
for $ac_word...
" >&6; }
12513 if test "${ac_cv_prog_OBJDUMP_FOR_TARGET+set}" = set; then :
12514 $as_echo_n "(cached
) " >&6
12516 if test -n "$OBJDUMP_FOR_TARGET"; then
12517 ac_cv_prog_OBJDUMP_FOR_TARGET="$OBJDUMP_FOR_TARGET" # Let the user override the test.
12519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12520 for as_dir in $PATH
12523 test -z "$as_dir" && as_dir=.
12524 for ac_exec_ext in '' $ac_executable_extensions; do
12525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12526 ac_cv_prog_OBJDUMP_FOR_TARGET="${ncn_progname}"
12527 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12536 OBJDUMP_FOR_TARGET=$ac_cv_prog_OBJDUMP_FOR_TARGET
12537 if test -n "$OBJDUMP_FOR_TARGET"; then
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP_FOR_TARGET" >&5
12539 $as_echo "$OBJDUMP_FOR_TARGET" >&6; }
12541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12542 $as_echo "no
" >&6; }
12547 test -n "$ac_cv_prog_OBJDUMP_FOR_TARGET" && break
12551 if test -z "$ac_cv_prog_OBJDUMP_FOR_TARGET" ; then
12553 if test $build = $target ; then
12554 OBJDUMP_FOR_TARGET="$2"
12556 OBJDUMP_FOR_TARGET="${ncn_target_tool_prefix}$2"
12559 OBJDUMP_FOR_TARGET="$ac_cv_prog_OBJDUMP_FOR_TARGET"
12563 OBJDUMP_FOR_TARGET=$ac_cv_path_OBJDUMP_FOR_TARGET
12569 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12570 if test -n "$with_build_time_tools"; then
12571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ranlib
in $with_build_time_tools" >&5
12572 $as_echo_n "checking
for ranlib
in $with_build_time_tools...
" >&6; }
12573 if test -x $with_build_time_tools/ranlib; then
12574 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
12575 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_RANLIB_FOR_TARGET" >&5
12577 $as_echo "$ac_cv_path_RANLIB_FOR_TARGET" >&6; }
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12580 $as_echo "no
" >&6; }
12582 elif test $build != $host && test $have_gcc_for_target = yes; then
12583 RANLIB_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=ranlib`
12584 test $RANLIB_FOR_TARGET = ranlib && RANLIB_FOR_TARGET=
12585 test -n "$RANLIB_FOR_TARGET" && ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12588 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12589 # Extract the first word of "ranlib
", so it can be a program name with args.
12590 set dummy ranlib; ac_word=$2
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12592 $as_echo_n "checking
for $ac_word...
" >&6; }
12593 if test "${ac_cv_path_RANLIB_FOR_TARGET+set}" = set; then :
12594 $as_echo_n "(cached
) " >&6
12596 case $RANLIB_FOR_TARGET in
12598 ac_cv_path_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test with a path.
12601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12602 for as_dir in $gcc_cv_tool_dirs
12605 test -z "$as_dir" && as_dir=.
12606 for ac_exec_ext in '' $ac_executable_extensions; do
12607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12608 ac_cv_path_RANLIB_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12609 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12619 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12620 if test -n "$RANLIB_FOR_TARGET"; then
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12622 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12625 $as_echo "no
" >&6; }
12630 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
12633 if test -n "$RANLIB_FOR_TARGET"; then
12634 ac_cv_prog_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
12635 elif test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12636 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12639 if test -n "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12640 for ncn_progname in ranlib; do
12641 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12642 set dummy ${ncn_progname}; ac_word=$2
12643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12644 $as_echo_n "checking
for $ac_word...
" >&6; }
12645 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12646 $as_echo_n "(cached
) " >&6
12648 if test -n "$RANLIB_FOR_TARGET"; then
12649 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12652 for as_dir in $PATH
12655 test -z "$as_dir" && as_dir=.
12656 for ac_exec_ext in '' $ac_executable_extensions; do
12657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12658 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12659 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12668 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12669 if test -n "$RANLIB_FOR_TARGET"; then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12671 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12673 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12674 $as_echo "no
" >&6; }
12681 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test -n "$with_build_time_tools"; then
12682 for ncn_progname in ranlib; do
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12684 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12685 if test -x $with_build_time_tools/${ncn_progname}; then
12686 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12688 $as_echo "yes" >&6; }
12691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12692 $as_echo "no
" >&6; }
12697 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET"; then
12698 for ncn_progname in ranlib; do
12699 if test -n "$ncn_target_tool_prefix"; then
12700 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12701 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12703 $as_echo_n "checking
for $ac_word...
" >&6; }
12704 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12705 $as_echo_n "(cached
) " >&6
12707 if test -n "$RANLIB_FOR_TARGET"; then
12708 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12711 for as_dir in $PATH
12714 test -z "$as_dir" && as_dir=.
12715 for ac_exec_ext in '' $ac_executable_extensions; do
12716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12717 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12718 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12727 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12728 if test -n "$RANLIB_FOR_TARGET"; then
12729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12730 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12733 $as_echo "no
" >&6; }
12738 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" && test $build = $target ; then
12739 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12740 set dummy ${ncn_progname}; ac_word=$2
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12742 $as_echo_n "checking
for $ac_word...
" >&6; }
12743 if test "${ac_cv_prog_RANLIB_FOR_TARGET+set}" = set; then :
12744 $as_echo_n "(cached
) " >&6
12746 if test -n "$RANLIB_FOR_TARGET"; then
12747 ac_cv_prog_RANLIB_FOR_TARGET="$RANLIB_FOR_TARGET" # Let the user override the test.
12749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12750 for as_dir in $PATH
12753 test -z "$as_dir" && as_dir=.
12754 for ac_exec_ext in '' $ac_executable_extensions; do
12755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12756 ac_cv_prog_RANLIB_FOR_TARGET="${ncn_progname}"
12757 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12766 RANLIB_FOR_TARGET=$ac_cv_prog_RANLIB_FOR_TARGET
12767 if test -n "$RANLIB_FOR_TARGET"; then
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB_FOR_TARGET" >&5
12769 $as_echo "$RANLIB_FOR_TARGET" >&6; }
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12772 $as_echo "no
" >&6; }
12777 test -n "$ac_cv_prog_RANLIB_FOR_TARGET" && break
12781 if test -z "$ac_cv_prog_RANLIB_FOR_TARGET" ; then
12783 if test $build = $target ; then
12784 RANLIB_FOR_TARGET="$2"
12786 RANLIB_FOR_TARGET="${ncn_target_tool_prefix}$2"
12789 RANLIB_FOR_TARGET="$ac_cv_prog_RANLIB_FOR_TARGET"
12793 RANLIB_FOR_TARGET=$ac_cv_path_RANLIB_FOR_TARGET
12799 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12800 if test -n "$with_build_time_tools"; then
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for readelf
in $with_build_time_tools" >&5
12802 $as_echo_n "checking
for readelf
in $with_build_time_tools...
" >&6; }
12803 if test -x $with_build_time_tools/readelf; then
12804 READELF_FOR_TARGET=`cd $with_build_time_tools && pwd`/readelf
12805 ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_READELF_FOR_TARGET" >&5
12807 $as_echo "$ac_cv_path_READELF_FOR_TARGET" >&6; }
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12810 $as_echo "no
" >&6; }
12812 elif test $build != $host && test $have_gcc_for_target = yes; then
12813 READELF_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=readelf`
12814 test $READELF_FOR_TARGET = readelf && READELF_FOR_TARGET=
12815 test -n "$READELF_FOR_TARGET" && ac_cv_path_READELF_FOR_TARGET=$READELF_FOR_TARGET
12818 if test -z "$ac_cv_path_READELF_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
12819 # Extract the first word of "readelf
", so it can be a program name with args.
12820 set dummy readelf; ac_word=$2
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12822 $as_echo_n "checking
for $ac_word...
" >&6; }
12823 if test "${ac_cv_path_READELF_FOR_TARGET+set}" = set; then :
12824 $as_echo_n "(cached
) " >&6
12826 case $READELF_FOR_TARGET in
12828 ac_cv_path_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test with a path.
12831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12832 for as_dir in $gcc_cv_tool_dirs
12835 test -z "$as_dir" && as_dir=.
12836 for ac_exec_ext in '' $ac_executable_extensions; do
12837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12838 ac_cv_path_READELF_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
12839 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12849 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
12850 if test -n "$READELF_FOR_TARGET"; then
12851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12852 $as_echo "$READELF_FOR_TARGET" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12855 $as_echo "no
" >&6; }
12860 if test -z "$ac_cv_path_READELF_FOR_TARGET" ; then
12863 if test -n "$READELF_FOR_TARGET"; then
12864 ac_cv_prog_READELF_FOR_TARGET=$READELF_FOR_TARGET
12865 elif test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12866 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12869 if test -n "$ac_cv_prog_READELF_FOR_TARGET"; then
12870 for ncn_progname in readelf; do
12871 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12872 set dummy ${ncn_progname}; ac_word=$2
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12874 $as_echo_n "checking
for $ac_word...
" >&6; }
12875 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12876 $as_echo_n "(cached
) " >&6
12878 if test -n "$READELF_FOR_TARGET"; then
12879 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12882 for as_dir in $PATH
12885 test -z "$as_dir" && as_dir=.
12886 for ac_exec_ext in '' $ac_executable_extensions; do
12887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12888 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12889 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12898 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12899 if test -n "$READELF_FOR_TARGET"; then
12900 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12901 $as_echo "$READELF_FOR_TARGET" >&6; }
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12904 $as_echo "no
" >&6; }
12911 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test -n "$with_build_time_tools"; then
12912 for ncn_progname in readelf; do
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
12914 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
12915 if test -x $with_build_time_tools/${ncn_progname}; then
12916 ac_cv_prog_READELF_FOR_TARGET=$with_build_time_tools/${ncn_progname}
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
12918 $as_echo "yes" >&6; }
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12922 $as_echo "no
" >&6; }
12927 if test -z "$ac_cv_prog_READELF_FOR_TARGET"; then
12928 for ncn_progname in readelf; do
12929 if test -n "$ncn_target_tool_prefix"; then
12930 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
12931 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12933 $as_echo_n "checking
for $ac_word...
" >&6; }
12934 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12935 $as_echo_n "(cached
) " >&6
12937 if test -n "$READELF_FOR_TARGET"; then
12938 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12941 for as_dir in $PATH
12944 test -z "$as_dir" && as_dir=.
12945 for ac_exec_ext in '' $ac_executable_extensions; do
12946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12947 ac_cv_prog_READELF_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
12948 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12957 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12958 if test -n "$READELF_FOR_TARGET"; then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12960 $as_echo "$READELF_FOR_TARGET" >&6; }
12962 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
12963 $as_echo "no
" >&6; }
12968 if test -z "$ac_cv_prog_READELF_FOR_TARGET" && test $build = $target ; then
12969 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
12970 set dummy ${ncn_progname}; ac_word=$2
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
12972 $as_echo_n "checking
for $ac_word...
" >&6; }
12973 if test "${ac_cv_prog_READELF_FOR_TARGET+set}" = set; then :
12974 $as_echo_n "(cached
) " >&6
12976 if test -n "$READELF_FOR_TARGET"; then
12977 ac_cv_prog_READELF_FOR_TARGET="$READELF_FOR_TARGET" # Let the user override the test.
12979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12980 for as_dir in $PATH
12983 test -z "$as_dir" && as_dir=.
12984 for ac_exec_ext in '' $ac_executable_extensions; do
12985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12986 ac_cv_prog_READELF_FOR_TARGET="${ncn_progname}"
12987 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
12996 READELF_FOR_TARGET=$ac_cv_prog_READELF_FOR_TARGET
12997 if test -n "$READELF_FOR_TARGET"; then
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $READELF_FOR_TARGET" >&5
12999 $as_echo "$READELF_FOR_TARGET" >&6; }
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13002 $as_echo "no
" >&6; }
13007 test -n "$ac_cv_prog_READELF_FOR_TARGET" && break
13011 if test -z "$ac_cv_prog_READELF_FOR_TARGET" ; then
13013 if test $build = $target ; then
13014 READELF_FOR_TARGET="$2"
13016 READELF_FOR_TARGET="${ncn_target_tool_prefix}$2"
13019 READELF_FOR_TARGET="$ac_cv_prog_READELF_FOR_TARGET"
13023 READELF_FOR_TARGET=$ac_cv_path_READELF_FOR_TARGET
13029 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13030 if test -n "$with_build_time_tools"; then
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for strip
in $with_build_time_tools" >&5
13032 $as_echo_n "checking
for strip
in $with_build_time_tools...
" >&6; }
13033 if test -x $with_build_time_tools/strip; then
13034 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
13035 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_STRIP_FOR_TARGET" >&5
13037 $as_echo "$ac_cv_path_STRIP_FOR_TARGET" >&6; }
13039 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13040 $as_echo "no
" >&6; }
13042 elif test $build != $host && test $have_gcc_for_target = yes; then
13043 STRIP_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=strip`
13044 test $STRIP_FOR_TARGET = strip && STRIP_FOR_TARGET=
13045 test -n "$STRIP_FOR_TARGET" && ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13048 if test -z "$ac_cv_path_STRIP_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13049 # Extract the first word of "strip
", so it can be a program name with args.
13050 set dummy strip; ac_word=$2
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13052 $as_echo_n "checking
for $ac_word...
" >&6; }
13053 if test "${ac_cv_path_STRIP_FOR_TARGET+set}" = set; then :
13054 $as_echo_n "(cached
) " >&6
13056 case $STRIP_FOR_TARGET in
13058 ac_cv_path_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test with a path.
13061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062 for as_dir in $gcc_cv_tool_dirs
13065 test -z "$as_dir" && as_dir=.
13066 for ac_exec_ext in '' $ac_executable_extensions; do
13067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13068 ac_cv_path_STRIP_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13069 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13079 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13080 if test -n "$STRIP_FOR_TARGET"; then
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13082 $as_echo "$STRIP_FOR_TARGET" >&6; }
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13085 $as_echo "no
" >&6; }
13090 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
13093 if test -n "$STRIP_FOR_TARGET"; then
13094 ac_cv_prog_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
13095 elif test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13096 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13099 if test -n "$ac_cv_prog_STRIP_FOR_TARGET"; then
13100 for ncn_progname in strip; do
13101 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13102 set dummy ${ncn_progname}; ac_word=$2
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13104 $as_echo_n "checking
for $ac_word...
" >&6; }
13105 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13106 $as_echo_n "(cached
) " >&6
13108 if test -n "$STRIP_FOR_TARGET"; then
13109 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13112 for as_dir in $PATH
13115 test -z "$as_dir" && as_dir=.
13116 for ac_exec_ext in '' $ac_executable_extensions; do
13117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13118 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13119 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13128 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13129 if test -n "$STRIP_FOR_TARGET"; then
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13131 $as_echo "$STRIP_FOR_TARGET" >&6; }
13133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13134 $as_echo "no
" >&6; }
13141 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test -n "$with_build_time_tools"; then
13142 for ncn_progname in strip; do
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13144 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13145 if test -x $with_build_time_tools/${ncn_progname}; then
13146 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13147 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13148 $as_echo "yes" >&6; }
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13152 $as_echo "no
" >&6; }
13157 if test -z "$ac_cv_prog_STRIP_FOR_TARGET"; then
13158 for ncn_progname in strip; do
13159 if test -n "$ncn_target_tool_prefix"; then
13160 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13161 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13163 $as_echo_n "checking
for $ac_word...
" >&6; }
13164 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13165 $as_echo_n "(cached
) " >&6
13167 if test -n "$STRIP_FOR_TARGET"; then
13168 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13171 for as_dir in $PATH
13174 test -z "$as_dir" && as_dir=.
13175 for ac_exec_ext in '' $ac_executable_extensions; do
13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13177 ac_cv_prog_STRIP_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13178 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13187 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13188 if test -n "$STRIP_FOR_TARGET"; then
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13190 $as_echo "$STRIP_FOR_TARGET" >&6; }
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13193 $as_echo "no
" >&6; }
13198 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" && test $build = $target ; then
13199 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13200 set dummy ${ncn_progname}; ac_word=$2
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13202 $as_echo_n "checking
for $ac_word...
" >&6; }
13203 if test "${ac_cv_prog_STRIP_FOR_TARGET+set}" = set; then :
13204 $as_echo_n "(cached
) " >&6
13206 if test -n "$STRIP_FOR_TARGET"; then
13207 ac_cv_prog_STRIP_FOR_TARGET="$STRIP_FOR_TARGET" # Let the user override the test.
13209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13210 for as_dir in $PATH
13213 test -z "$as_dir" && as_dir=.
13214 for ac_exec_ext in '' $ac_executable_extensions; do
13215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13216 ac_cv_prog_STRIP_FOR_TARGET="${ncn_progname}"
13217 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13226 STRIP_FOR_TARGET=$ac_cv_prog_STRIP_FOR_TARGET
13227 if test -n "$STRIP_FOR_TARGET"; then
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP_FOR_TARGET" >&5
13229 $as_echo "$STRIP_FOR_TARGET" >&6; }
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13232 $as_echo "no
" >&6; }
13237 test -n "$ac_cv_prog_STRIP_FOR_TARGET" && break
13241 if test -z "$ac_cv_prog_STRIP_FOR_TARGET" ; then
13243 if test $build = $target ; then
13244 STRIP_FOR_TARGET="$2"
13246 STRIP_FOR_TARGET="${ncn_target_tool_prefix}$2"
13249 STRIP_FOR_TARGET="$ac_cv_prog_STRIP_FOR_TARGET"
13253 STRIP_FOR_TARGET=$ac_cv_path_STRIP_FOR_TARGET
13259 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13260 if test -n "$with_build_time_tools"; then
13261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windres
in $with_build_time_tools" >&5
13262 $as_echo_n "checking
for windres
in $with_build_time_tools...
" >&6; }
13263 if test -x $with_build_time_tools/windres; then
13264 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
13265 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDRES_FOR_TARGET" >&5
13267 $as_echo "$ac_cv_path_WINDRES_FOR_TARGET" >&6; }
13269 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13270 $as_echo "no
" >&6; }
13272 elif test $build != $host && test $have_gcc_for_target = yes; then
13273 WINDRES_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windres`
13274 test $WINDRES_FOR_TARGET = windres && WINDRES_FOR_TARGET=
13275 test -n "$WINDRES_FOR_TARGET" && ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13278 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13279 # Extract the first word of "windres
", so it can be a program name with args.
13280 set dummy windres; ac_word=$2
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13282 $as_echo_n "checking
for $ac_word...
" >&6; }
13283 if test "${ac_cv_path_WINDRES_FOR_TARGET+set}" = set; then :
13284 $as_echo_n "(cached
) " >&6
13286 case $WINDRES_FOR_TARGET in
13288 ac_cv_path_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test with a path.
13291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13292 for as_dir in $gcc_cv_tool_dirs
13295 test -z "$as_dir" && as_dir=.
13296 for ac_exec_ext in '' $ac_executable_extensions; do
13297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13298 ac_cv_path_WINDRES_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13299 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13309 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13310 if test -n "$WINDRES_FOR_TARGET"; then
13311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13312 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13314 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13315 $as_echo "no
" >&6; }
13320 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
13323 if test -n "$WINDRES_FOR_TARGET"; then
13324 ac_cv_prog_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
13325 elif test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13326 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13329 if test -n "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13330 for ncn_progname in windres; do
13331 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13332 set dummy ${ncn_progname}; ac_word=$2
13333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13334 $as_echo_n "checking
for $ac_word...
" >&6; }
13335 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13336 $as_echo_n "(cached
) " >&6
13338 if test -n "$WINDRES_FOR_TARGET"; then
13339 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13342 for as_dir in $PATH
13345 test -z "$as_dir" && as_dir=.
13346 for ac_exec_ext in '' $ac_executable_extensions; do
13347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13348 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13349 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13358 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13359 if test -n "$WINDRES_FOR_TARGET"; then
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13361 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13363 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13364 $as_echo "no
" >&6; }
13371 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test -n "$with_build_time_tools"; then
13372 for ncn_progname in windres; do
13373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13374 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13375 if test -x $with_build_time_tools/${ncn_progname}; then
13376 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13378 $as_echo "yes" >&6; }
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13382 $as_echo "no
" >&6; }
13387 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET"; then
13388 for ncn_progname in windres; do
13389 if test -n "$ncn_target_tool_prefix"; then
13390 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13391 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13393 $as_echo_n "checking
for $ac_word...
" >&6; }
13394 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13395 $as_echo_n "(cached
) " >&6
13397 if test -n "$WINDRES_FOR_TARGET"; then
13398 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13401 for as_dir in $PATH
13404 test -z "$as_dir" && as_dir=.
13405 for ac_exec_ext in '' $ac_executable_extensions; do
13406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13407 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13408 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13417 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13418 if test -n "$WINDRES_FOR_TARGET"; then
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13420 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13422 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13423 $as_echo "no
" >&6; }
13428 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" && test $build = $target ; then
13429 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13430 set dummy ${ncn_progname}; ac_word=$2
13431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13432 $as_echo_n "checking
for $ac_word...
" >&6; }
13433 if test "${ac_cv_prog_WINDRES_FOR_TARGET+set}" = set; then :
13434 $as_echo_n "(cached
) " >&6
13436 if test -n "$WINDRES_FOR_TARGET"; then
13437 ac_cv_prog_WINDRES_FOR_TARGET="$WINDRES_FOR_TARGET" # Let the user override the test.
13439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13440 for as_dir in $PATH
13443 test -z "$as_dir" && as_dir=.
13444 for ac_exec_ext in '' $ac_executable_extensions; do
13445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13446 ac_cv_prog_WINDRES_FOR_TARGET="${ncn_progname}"
13447 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13456 WINDRES_FOR_TARGET=$ac_cv_prog_WINDRES_FOR_TARGET
13457 if test -n "$WINDRES_FOR_TARGET"; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDRES_FOR_TARGET" >&5
13459 $as_echo "$WINDRES_FOR_TARGET" >&6; }
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13462 $as_echo "no
" >&6; }
13467 test -n "$ac_cv_prog_WINDRES_FOR_TARGET" && break
13471 if test -z "$ac_cv_prog_WINDRES_FOR_TARGET" ; then
13473 if test $build = $target ; then
13474 WINDRES_FOR_TARGET="$2"
13476 WINDRES_FOR_TARGET="${ncn_target_tool_prefix}$2"
13479 WINDRES_FOR_TARGET="$ac_cv_prog_WINDRES_FOR_TARGET"
13483 WINDRES_FOR_TARGET=$ac_cv_path_WINDRES_FOR_TARGET
13489 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13490 if test -n "$with_build_time_tools"; then
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for windmc
in $with_build_time_tools" >&5
13492 $as_echo_n "checking
for windmc
in $with_build_time_tools...
" >&6; }
13493 if test -x $with_build_time_tools/windmc; then
13494 WINDMC_FOR_TARGET=`cd $with_build_time_tools && pwd`/windmc
13495 ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_WINDMC_FOR_TARGET" >&5
13497 $as_echo "$ac_cv_path_WINDMC_FOR_TARGET" >&6; }
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13500 $as_echo "no
" >&6; }
13502 elif test $build != $host && test $have_gcc_for_target = yes; then
13503 WINDMC_FOR_TARGET=`$GCC_FOR_TARGET --print-prog-name=windmc`
13504 test $WINDMC_FOR_TARGET = windmc && WINDMC_FOR_TARGET=
13505 test -n "$WINDMC_FOR_TARGET" && ac_cv_path_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13508 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" && test -n "$gcc_cv_tool_dirs"; then
13509 # Extract the first word of "windmc
", so it can be a program name with args.
13510 set dummy windmc; ac_word=$2
13511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13512 $as_echo_n "checking
for $ac_word...
" >&6; }
13513 if test "${ac_cv_path_WINDMC_FOR_TARGET+set}" = set; then :
13514 $as_echo_n "(cached
) " >&6
13516 case $WINDMC_FOR_TARGET in
13518 ac_cv_path_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test with a path.
13521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13522 for as_dir in $gcc_cv_tool_dirs
13525 test -z "$as_dir" && as_dir=.
13526 for ac_exec_ext in '' $ac_executable_extensions; do
13527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13528 ac_cv_path_WINDMC_FOR_TARGET="$as_dir/$ac_word$ac_exec_ext"
13529 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13539 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13540 if test -n "$WINDMC_FOR_TARGET"; then
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13542 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13545 $as_echo "no
" >&6; }
13550 if test -z "$ac_cv_path_WINDMC_FOR_TARGET" ; then
13553 if test -n "$WINDMC_FOR_TARGET"; then
13554 ac_cv_prog_WINDMC_FOR_TARGET=$WINDMC_FOR_TARGET
13555 elif test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13556 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13559 if test -n "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13560 for ncn_progname in windmc; do
13561 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13562 set dummy ${ncn_progname}; ac_word=$2
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13564 $as_echo_n "checking
for $ac_word...
" >&6; }
13565 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13566 $as_echo_n "(cached
) " >&6
13568 if test -n "$WINDMC_FOR_TARGET"; then
13569 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13572 for as_dir in $PATH
13575 test -z "$as_dir" && as_dir=.
13576 for ac_exec_ext in '' $ac_executable_extensions; do
13577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13578 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13579 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13588 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13589 if test -n "$WINDMC_FOR_TARGET"; then
13590 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13591 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13593 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13594 $as_echo "no
" >&6; }
13601 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test -n "$with_build_time_tools"; then
13602 for ncn_progname in windmc; do
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ${ncn_progname} in $with_build_time_tools" >&5
13604 $as_echo_n "checking
for ${ncn_progname} in $with_build_time_tools...
" >&6; }
13605 if test -x $with_build_time_tools/${ncn_progname}; then
13606 ac_cv_prog_WINDMC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
13608 $as_echo "yes" >&6; }
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13612 $as_echo "no
" >&6; }
13617 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET"; then
13618 for ncn_progname in windmc; do
13619 if test -n "$ncn_target_tool_prefix"; then
13620 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
13621 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13623 $as_echo_n "checking
for $ac_word...
" >&6; }
13624 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13625 $as_echo_n "(cached
) " >&6
13627 if test -n "$WINDMC_FOR_TARGET"; then
13628 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13631 for as_dir in $PATH
13634 test -z "$as_dir" && as_dir=.
13635 for ac_exec_ext in '' $ac_executable_extensions; do
13636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13637 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_target_tool_prefix}${ncn_progname}"
13638 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13647 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13648 if test -n "$WINDMC_FOR_TARGET"; then
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13650 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13653 $as_echo "no
" >&6; }
13658 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" && test $build = $target ; then
13659 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
13660 set dummy ${ncn_progname}; ac_word=$2
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
13662 $as_echo_n "checking
for $ac_word...
" >&6; }
13663 if test "${ac_cv_prog_WINDMC_FOR_TARGET+set}" = set; then :
13664 $as_echo_n "(cached
) " >&6
13666 if test -n "$WINDMC_FOR_TARGET"; then
13667 ac_cv_prog_WINDMC_FOR_TARGET="$WINDMC_FOR_TARGET" # Let the user override the test.
13669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13670 for as_dir in $PATH
13673 test -z "$as_dir" && as_dir=.
13674 for ac_exec_ext in '' $ac_executable_extensions; do
13675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13676 ac_cv_prog_WINDMC_FOR_TARGET="${ncn_progname}"
13677 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
13686 WINDMC_FOR_TARGET=$ac_cv_prog_WINDMC_FOR_TARGET
13687 if test -n "$WINDMC_FOR_TARGET"; then
13688 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $WINDMC_FOR_TARGET" >&5
13689 $as_echo "$WINDMC_FOR_TARGET" >&6; }
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
13692 $as_echo "no
" >&6; }
13697 test -n "$ac_cv_prog_WINDMC_FOR_TARGET" && break
13701 if test -z "$ac_cv_prog_WINDMC_FOR_TARGET" ; then
13703 if test $build = $target ; then
13704 WINDMC_FOR_TARGET="$2"
13706 WINDMC_FOR_TARGET="${ncn_target_tool_prefix}$2"
13709 WINDMC_FOR_TARGET="$ac_cv_prog_WINDMC_FOR_TARGET"
13713 WINDMC_FOR_TARGET=$ac_cv_path_WINDMC_FOR_TARGET
13717 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
13719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target
ar" >&5
13720 $as_echo_n "checking where to
find the target
ar...
" >&6; }
13721 if test "x
${build}" != "x
${host}" ; then
13722 if expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13723 # We already found the complete path
13724 ac_dir=`dirname $AR_FOR_TARGET`
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13726 $as_echo "pre-installed
in $ac_dir" >&6; }
13728 # Canadian cross, just use what we found
13729 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13730 $as_echo "pre-installed
" >&6; }
13734 case " ${configdirs} " in
13739 if test $ok = yes; then
13740 # An in-tree tool is available and we can use it
13741 AR_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ar'
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13743 $as_echo "just compiled
" >&6; }
13744 elif expr "x
$AR_FOR_TARGET" : "x
/" > /dev/null; then
13745 # We already found the complete path
13746 ac_dir=`dirname $AR_FOR_TARGET`
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13748 $as_echo "pre-installed
in $ac_dir" >&6; }
13749 elif test "x
$target" = "x
$host"; then
13750 # We can use an host tool
13751 AR_FOR_TARGET='$(AR)'
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13753 $as_echo "host tool
" >&6; }
13755 # We need a cross tool
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13757 $as_echo "pre-installed
" >&6; }
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target as
" >&5
13762 $as_echo_n "checking where to
find the target as...
" >&6; }
13763 if test "x
${build}" != "x
${host}" ; then
13764 if expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13765 # We already found the complete path
13766 ac_dir=`dirname $AS_FOR_TARGET`
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13768 $as_echo "pre-installed
in $ac_dir" >&6; }
13770 # Canadian cross, just use what we found
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13772 $as_echo "pre-installed
" >&6; }
13776 case " ${configdirs} " in
13781 if test $ok = yes; then
13782 # An in-tree tool is available and we can use it
13783 AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gas/as-new'
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13785 $as_echo "just compiled
" >&6; }
13786 elif expr "x
$AS_FOR_TARGET" : "x
/" > /dev/null; then
13787 # We already found the complete path
13788 ac_dir=`dirname $AS_FOR_TARGET`
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13790 $as_echo "pre-installed
in $ac_dir" >&6; }
13791 elif test "x
$target" = "x
$host"; then
13792 # We can use an host tool
13793 AS_FOR_TARGET='$(AS)'
13794 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13795 $as_echo "host tool
" >&6; }
13797 # We need a cross tool
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13799 $as_echo "pre-installed
" >&6; }
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target cc
" >&5
13804 $as_echo_n "checking where to
find the target cc...
" >&6; }
13805 if test "x
${build}" != "x
${host}" ; then
13806 if expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13807 # We already found the complete path
13808 ac_dir=`dirname $CC_FOR_TARGET`
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13810 $as_echo "pre-installed
in $ac_dir" >&6; }
13812 # Canadian cross, just use what we found
13813 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13814 $as_echo "pre-installed
" >&6; }
13818 case " ${configdirs} " in
13823 if test $ok = yes; then
13824 # An in-tree tool is available and we can use it
13825 CC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13827 $as_echo "just compiled
" >&6; }
13828 elif expr "x
$CC_FOR_TARGET" : "x
/" > /dev/null; then
13829 # We already found the complete path
13830 ac_dir=`dirname $CC_FOR_TARGET`
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13832 $as_echo "pre-installed
in $ac_dir" >&6; }
13833 elif test "x
$target" = "x
$host"; then
13834 # We can use an host tool
13835 CC_FOR_TARGET='$(CC)'
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13837 $as_echo "host tool
" >&6; }
13839 # We need a cross tool
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13841 $as_echo "pre-installed
" >&6; }
13845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target c
++" >&5
13846 $as_echo_n "checking where to
find the target c
++...
" >&6; }
13847 if test "x
${build}" != "x
${host}" ; then
13848 if expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13849 # We already found the complete path
13850 ac_dir=`dirname $CXX_FOR_TARGET`
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13852 $as_echo "pre-installed
in $ac_dir" >&6; }
13854 # Canadian cross, just use what we found
13855 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13856 $as_echo "pre-installed
" >&6; }
13860 case " ${configdirs} " in
13864 case ,${enable_languages}, in
13868 if test $ok = yes; then
13869 # An in-tree tool is available and we can use it
13870 CXX_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc/ -nostdinc++ `if test -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags; then $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; else echo -funconfigured-libstdc++-v3 ; fi` -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs'
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13872 $as_echo "just compiled
" >&6; }
13873 elif expr "x
$CXX_FOR_TARGET" : "x
/" > /dev/null; then
13874 # We already found the complete path
13875 ac_dir=`dirname $CXX_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 CXX_FOR_TARGET='$(CXX)'
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
++ for libstdc
++" >&5
13891 $as_echo_n "checking where to
find the target c
++ for libstdc
++...
" >&6; }
13892 if test "x
${build}" != "x
${host}" ; then
13893 if expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13894 # We already found the complete path
13895 ac_dir=`dirname $RAW_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 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'
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13917 $as_echo "just compiled
" >&6; }
13918 elif expr "x
$RAW_CXX_FOR_TARGET" : "x
/" > /dev/null; then
13919 # We already found the complete path
13920 ac_dir=`dirname $RAW_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 RAW_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 dlltool
" >&5
13936 $as_echo_n "checking where to
find the target dlltool...
" >&6; }
13937 if test "x
${build}" != "x
${host}" ; then
13938 if expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13939 # We already found the complete path
13940 ac_dir=`dirname $DLLTOOL_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
13955 if test $ok = yes; then
13956 # An in-tree tool is available and we can use it
13957 DLLTOOL_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/dlltool'
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
13959 $as_echo "just compiled
" >&6; }
13960 elif expr "x
$DLLTOOL_FOR_TARGET" : "x
/" > /dev/null; then
13961 # We already found the complete path
13962 ac_dir=`dirname $DLLTOOL_FOR_TARGET`
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13964 $as_echo "pre-installed
in $ac_dir" >&6; }
13965 elif test "x
$target" = "x
$host"; then
13966 # We can use an host tool
13967 DLLTOOL_FOR_TARGET='$(DLLTOOL)'
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
13969 $as_echo "host tool
" >&6; }
13971 # We need a cross tool
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13973 $as_echo "pre-installed
" >&6; }
13977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcc
" >&5
13978 $as_echo_n "checking where to
find the target gcc...
" >&6; }
13979 if test "x
${build}" != "x
${host}" ; then
13980 if expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
13981 # We already found the complete path
13982 ac_dir=`dirname $GCC_FOR_TARGET`
13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
13984 $as_echo "pre-installed
in $ac_dir" >&6; }
13986 # Canadian cross, just use what we found
13987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
13988 $as_echo "pre-installed
" >&6; }
13992 case " ${configdirs} " in
13997 if test $ok = yes; then
13998 # An in-tree tool is available and we can use it
13999 GCC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/'
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14001 $as_echo "just compiled
" >&6; }
14002 elif expr "x
$GCC_FOR_TARGET" : "x
/" > /dev/null; then
14003 # We already found the complete path
14004 ac_dir=`dirname $GCC_FOR_TARGET`
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14006 $as_echo "pre-installed
in $ac_dir" >&6; }
14007 elif test "x
$target" = "x
$host"; then
14008 # We can use an host tool
14009 GCC_FOR_TARGET='$()'
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14011 $as_echo "host tool
" >&6; }
14013 # We need a cross tool
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14015 $as_echo "pre-installed
" >&6; }
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target gcj
" >&5
14020 $as_echo_n "checking where to
find the target gcj...
" >&6; }
14021 if test "x
${build}" != "x
${host}" ; then
14022 if expr "x
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14023 # We already found the complete path
14024 ac_dir=`dirname $GCJ_FOR_TARGET`
14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14026 $as_echo "pre-installed
in $ac_dir" >&6; }
14028 # Canadian cross, just use what we found
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14030 $as_echo "pre-installed
" >&6; }
14034 case " ${configdirs} " in
14038 case ,${enable_languages}, in
14042 if test $ok = yes; then
14043 # An in-tree tool is available and we can use it
14044 GCJ_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gcj -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
$GCJ_FOR_TARGET" : "x
/" > /dev/null; then
14048 # We already found the complete path
14049 ac_dir=`dirname $GCJ_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 GCJ_FOR_TARGET='$(GCJ)'
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 gupc
" >&5
14155 $as_echo_n "checking where to
find the target gupc...
" >&6; }
14156 if test "x
${build}" != "x
${host}" ; then
14157 if expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14158 # We already found the complete path
14159 ac_dir=`dirname $GUPC_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
14173 case ,${enable_languages}, in
14177 if test $ok = yes; then
14178 # An in-tree tool is available and we can use it
14179 GUPC_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/gupc -B$$r/$(HOST_SUBDIR)/gcc/'
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14181 $as_echo "just compiled
" >&6; }
14182 elif expr "x
$GUPC_FOR_TARGET" : "x
/" > /dev/null; then
14183 # We already found the complete path
14184 ac_dir=`dirname $GUPC_FOR_TARGET`
14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14186 $as_echo "pre-installed
in $ac_dir" >&6; }
14187 elif test "x
$target" = "x
$host"; then
14188 # We can use an host tool
14189 GUPC_FOR_TARGET='$(GUPC)'
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14191 $as_echo "host tool
" >&6; }
14193 # We need a cross tool
14194 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14195 $as_echo "pre-installed
" >&6; }
14199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ld
" >&5
14200 $as_echo_n "checking where to
find the target ld...
" >&6; }
14201 if test "x
${build}" != "x
${host}" ; then
14202 if expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14203 # We already found the complete path
14204 ac_dir=`dirname $LD_FOR_TARGET`
14205 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14206 $as_echo "pre-installed
in $ac_dir" >&6; }
14208 # Canadian cross, just use what we found
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14210 $as_echo "pre-installed
" >&6; }
14214 case " ${configdirs} " in
14219 if test $ok = yes; then
14220 # An in-tree tool is available and we can use it
14221 LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/ld/ld-new'
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14223 $as_echo "just compiled
" >&6; }
14224 elif expr "x
$LD_FOR_TARGET" : "x
/" > /dev/null; then
14225 # We already found the complete path
14226 ac_dir=`dirname $LD_FOR_TARGET`
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14228 $as_echo "pre-installed
in $ac_dir" >&6; }
14229 elif test "x
$target" = "x
$host"; then
14230 # We can use an host tool
14231 LD_FOR_TARGET='$(LD)'
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14233 $as_echo "host tool
" >&6; }
14235 # We need a cross tool
14236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14237 $as_echo "pre-installed
" >&6; }
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target lipo
" >&5
14242 $as_echo_n "checking where to
find the target lipo...
" >&6; }
14243 if test "x
${build}" != "x
${host}" ; then
14244 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14245 # We already found the complete path
14246 ac_dir=`dirname $LIPO_FOR_TARGET`
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14248 $as_echo "pre-installed
in $ac_dir" >&6; }
14250 # Canadian cross, just use what we found
14251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14252 $as_echo "pre-installed
" >&6; }
14255 if expr "x
$LIPO_FOR_TARGET" : "x
/" > /dev/null; then
14256 # We already found the complete path
14257 ac_dir=`dirname $LIPO_FOR_TARGET`
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14259 $as_echo "pre-installed
in $ac_dir" >&6; }
14260 elif test "x
$target" = "x
$host"; then
14261 # We can use an host tool
14262 LIPO_FOR_TARGET='$(LIPO)'
14263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14264 $as_echo "host tool
" >&6; }
14266 # We need a cross tool
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14268 $as_echo "pre-installed
" >&6; }
14272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target nm
" >&5
14273 $as_echo_n "checking where to
find the target nm...
" >&6; }
14274 if test "x
${build}" != "x
${host}" ; then
14275 if expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14276 # We already found the complete path
14277 ac_dir=`dirname $NM_FOR_TARGET`
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14279 $as_echo "pre-installed
in $ac_dir" >&6; }
14281 # Canadian cross, just use what we found
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14283 $as_echo "pre-installed
" >&6; }
14287 case " ${configdirs} " in
14292 if test $ok = yes; then
14293 # An in-tree tool is available and we can use it
14294 NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/nm-new'
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14296 $as_echo "just compiled
" >&6; }
14297 elif expr "x
$NM_FOR_TARGET" : "x
/" > /dev/null; then
14298 # We already found the complete path
14299 ac_dir=`dirname $NM_FOR_TARGET`
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14301 $as_echo "pre-installed
in $ac_dir" >&6; }
14302 elif test "x
$target" = "x
$host"; then
14303 # We can use an host tool
14304 NM_FOR_TARGET='$(NM)'
14305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14306 $as_echo "host tool
" >&6; }
14308 # We need a cross tool
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14310 $as_echo "pre-installed
" >&6; }
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target objdump
" >&5
14315 $as_echo_n "checking where to
find the target objdump...
" >&6; }
14316 if test "x
${build}" != "x
${host}" ; then
14317 if expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14318 # We already found the complete path
14319 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14321 $as_echo "pre-installed
in $ac_dir" >&6; }
14323 # Canadian cross, just use what we found
14324 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14325 $as_echo "pre-installed
" >&6; }
14329 case " ${configdirs} " in
14334 if test $ok = yes; then
14335 # An in-tree tool is available and we can use it
14336 OBJDUMP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/objdump'
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14338 $as_echo "just compiled
" >&6; }
14339 elif expr "x
$OBJDUMP_FOR_TARGET" : "x
/" > /dev/null; then
14340 # We already found the complete path
14341 ac_dir=`dirname $OBJDUMP_FOR_TARGET`
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14343 $as_echo "pre-installed
in $ac_dir" >&6; }
14344 elif test "x
$target" = "x
$host"; then
14345 # We can use an host tool
14346 OBJDUMP_FOR_TARGET='$(OBJDUMP)'
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14348 $as_echo "host tool
" >&6; }
14350 # We need a cross tool
14351 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14352 $as_echo "pre-installed
" >&6; }
14356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target ranlib
" >&5
14357 $as_echo_n "checking where to
find the target ranlib...
" >&6; }
14358 if test "x
${build}" != "x
${host}" ; then
14359 if expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14360 # We already found the complete path
14361 ac_dir=`dirname $RANLIB_FOR_TARGET`
14362 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14363 $as_echo "pre-installed
in $ac_dir" >&6; }
14365 # Canadian cross, just use what we found
14366 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14367 $as_echo "pre-installed
" >&6; }
14371 case " ${configdirs} " in
14376 if test $ok = yes; then
14377 # An in-tree tool is available and we can use it
14378 RANLIB_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/ranlib'
14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14380 $as_echo "just compiled
" >&6; }
14381 elif expr "x
$RANLIB_FOR_TARGET" : "x
/" > /dev/null; then
14382 # We already found the complete path
14383 ac_dir=`dirname $RANLIB_FOR_TARGET`
14384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14385 $as_echo "pre-installed
in $ac_dir" >&6; }
14386 elif test "x
$target" = "x
$host"; then
14387 # We can use an host tool
14388 RANLIB_FOR_TARGET='$(RANLIB)'
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14390 $as_echo "host tool
" >&6; }
14392 # We need a cross tool
14393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14394 $as_echo "pre-installed
" >&6; }
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target readelf
" >&5
14399 $as_echo_n "checking where to
find the target readelf...
" >&6; }
14400 if test "x
${build}" != "x
${host}" ; then
14401 if expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14402 # We already found the complete path
14403 ac_dir=`dirname $READELF_FOR_TARGET`
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14405 $as_echo "pre-installed
in $ac_dir" >&6; }
14407 # Canadian cross, just use what we found
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14409 $as_echo "pre-installed
" >&6; }
14413 case " ${configdirs} " in
14418 if test $ok = yes; then
14419 # An in-tree tool is available and we can use it
14420 READELF_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/readelf'
14421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14422 $as_echo "just compiled
" >&6; }
14423 elif expr "x
$READELF_FOR_TARGET" : "x
/" > /dev/null; then
14424 # We already found the complete path
14425 ac_dir=`dirname $READELF_FOR_TARGET`
14426 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14427 $as_echo "pre-installed
in $ac_dir" >&6; }
14428 elif test "x
$target" = "x
$host"; then
14429 # We can use an host tool
14430 READELF_FOR_TARGET='$(READELF)'
14431 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14432 $as_echo "host tool
" >&6; }
14434 # We need a cross tool
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14436 $as_echo "pre-installed
" >&6; }
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target strip
" >&5
14441 $as_echo_n "checking where to
find the target strip...
" >&6; }
14442 if test "x
${build}" != "x
${host}" ; then
14443 if expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14444 # We already found the complete path
14445 ac_dir=`dirname $STRIP_FOR_TARGET`
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14447 $as_echo "pre-installed
in $ac_dir" >&6; }
14449 # Canadian cross, just use what we found
14450 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14451 $as_echo "pre-installed
" >&6; }
14455 case " ${configdirs} " in
14460 if test $ok = yes; then
14461 # An in-tree tool is available and we can use it
14462 STRIP_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/strip-new'
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14464 $as_echo "just compiled
" >&6; }
14465 elif expr "x
$STRIP_FOR_TARGET" : "x
/" > /dev/null; then
14466 # We already found the complete path
14467 ac_dir=`dirname $STRIP_FOR_TARGET`
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14469 $as_echo "pre-installed
in $ac_dir" >&6; }
14470 elif test "x
$target" = "x
$host"; then
14471 # We can use an host tool
14472 STRIP_FOR_TARGET='$(STRIP)'
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14474 $as_echo "host tool
" >&6; }
14476 # We need a cross tool
14477 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14478 $as_echo "pre-installed
" >&6; }
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windres
" >&5
14483 $as_echo_n "checking where to
find the target windres...
" >&6; }
14484 if test "x
${build}" != "x
${host}" ; then
14485 if expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14486 # We already found the complete path
14487 ac_dir=`dirname $WINDRES_FOR_TARGET`
14488 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14489 $as_echo "pre-installed
in $ac_dir" >&6; }
14491 # Canadian cross, just use what we found
14492 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14493 $as_echo "pre-installed
" >&6; }
14497 case " ${configdirs} " in
14502 if test $ok = yes; then
14503 # An in-tree tool is available and we can use it
14504 WINDRES_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windres'
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14506 $as_echo "just compiled
" >&6; }
14507 elif expr "x
$WINDRES_FOR_TARGET" : "x
/" > /dev/null; then
14508 # We already found the complete path
14509 ac_dir=`dirname $WINDRES_FOR_TARGET`
14510 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14511 $as_echo "pre-installed
in $ac_dir" >&6; }
14512 elif test "x
$target" = "x
$host"; then
14513 # We can use an host tool
14514 WINDRES_FOR_TARGET='$(WINDRES)'
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14516 $as_echo "host tool
" >&6; }
14518 # We need a cross tool
14519 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14520 $as_echo "pre-installed
" >&6; }
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to
find the target windmc
" >&5
14525 $as_echo_n "checking where to
find the target windmc...
" >&6; }
14526 if test "x
${build}" != "x
${host}" ; then
14527 if expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14528 # We already found the complete path
14529 ac_dir=`dirname $WINDMC_FOR_TARGET`
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14531 $as_echo "pre-installed
in $ac_dir" >&6; }
14533 # Canadian cross, just use what we found
14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14535 $as_echo "pre-installed
" >&6; }
14539 case " ${configdirs} " in
14544 if test $ok = yes; then
14545 # An in-tree tool is available and we can use it
14546 WINDMC_FOR_TARGET='$$r/$(HOST_SUBDIR)/binutils/windmc'
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: just compiled
" >&5
14548 $as_echo "just compiled
" >&6; }
14549 elif expr "x
$WINDMC_FOR_TARGET" : "x
/" > /dev/null; then
14550 # We already found the complete path
14551 ac_dir=`dirname $WINDMC_FOR_TARGET`
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
in $ac_dir" >&5
14553 $as_echo "pre-installed
in $ac_dir" >&6; }
14554 elif test "x
$target" = "x
$host"; then
14555 # We can use an host tool
14556 WINDMC_FOR_TARGET='$(WINDMC)'
14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: host tool
" >&5
14558 $as_echo "host tool
" >&6; }
14560 # We need a cross tool
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: pre-installed
" >&5
14562 $as_echo "pre-installed
" >&6; }
14570 # Certain tools may need extra flags.
14571 AR_FOR_TARGET=${AR_FOR_TARGET}${extra_arflags_for_target}
14572 RANLIB_FOR_TARGET=${RANLIB_FOR_TARGET}${extra_ranlibflags_for_target}
14573 NM_FOR_TARGET=${NM_FOR_TARGET}${extra_nmflags_for_target}
14575 # When building target libraries, except in a Canadian cross, we use
14576 # the same toolchain as the compiler we just built.
14577 COMPILER_AS_FOR_TARGET='$(AS_FOR_TARGET)'
14578 COMPILER_LD_FOR_TARGET='$(LD_FOR_TARGET)'
14579 COMPILER_NM_FOR_TARGET='$(NM_FOR_TARGET)'
14580 if test $host = $build; then
14581 case " $configdirs " in
14583 COMPILER_AS_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/as'
14584 COMPILER_LD_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/collect-ld'
14585 COMPILER_NM_FOR_TARGET='$$r/$(HOST_SUBDIR)/gcc/nm'${extra_nmflags_for_target}
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to
enable maintainer-specific portions of Makefiles
" >&5
14595 $as_echo_n "checking whether to
enable maintainer-specific portions of Makefiles...
" >&6; }
14596 # Check whether --enable-maintainer-mode was given.
14597 if test "${enable_maintainer_mode+set}" = set; then :
14598 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
14600 USE_MAINTAINER_MODE=no
14603 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $USE_MAINTAINER_MODE" >&5
14604 $as_echo "$USE_MAINTAINER_MODE" >&6; }
14607 if test "$USE_MAINTAINER_MODE" = yes; then
14608 MAINTAINER_MODE_TRUE=
14609 MAINTAINER_MODE_FALSE='#'
14611 MAINTAINER_MODE_TRUE='#'
14612 MAINTAINER_MODE_FALSE=
14614 MAINT=$MAINTAINER_MODE_TRUE
14616 # ---------------------
14617 # GCC bootstrap support
14618 # ---------------------
14620 # Stage specific cflags for build.
14625 yes) stage1_cflags="-g -Wa,-J" ;;
14626 *) stage1_cflags="-g -J" ;;
14632 # Enable --enable-checking in stage1 of the compiler.
14633 # Check whether --enable-stage1-checking was given.
14634 if test "${enable_stage1_checking+set}" = set; then :
14635 enableval=$enable_stage1_checking; stage1_checking=--enable-checking=${enable_stage1_checking}
14637 if test "x
$enable_checking" = xno || test "x
$enable_checking" = x; then
14638 stage1_checking=--enable-checking=yes,types
14640 stage1_checking=--enable-checking=$enable_checking,types
14646 # Enable -Werror in bootstrap stage2 and later.
14647 # Check whether --enable-werror was given.
14648 if test "${enable_werror+set}" = set; then :
14649 enableval=$enable_werror;
14651 if test -d ${srcdir}/gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
14658 case ${enable_werror} in
14659 yes) stage2_werror_flag="--enable-werror-always" ;;
14660 *) stage2_werror_flag="" ;;
14664 # Specify what files to not compare during bootstrap.
14666 compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/*"
14668 hppa*64*-*-hpux*) ;;
14669 hppa*-*-hpux*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) |
*/libgcc
/lib2funcs
* | gcc
/ada
/*tools
/*" ;;
14670 powerpc*-ibm-aix*) compare_exclusions="gcc
/cc
*-checksum\$
(objext
) | gcc
/ada
/*tools
/* |
*libgomp
*\$
(objext
)" ;;
14674 ac_config_files="$ac_config_files Makefile
"
14676 cat >confcache <<\_ACEOF
14677 # This file is a shell script that caches the results of configure
14678 # tests run on this system so they can be shared between configure
14679 # scripts and configure runs, see configure's option --config-cache.
14680 # It is not useful on other systems. If it contains results you don't
14681 # want to keep, you may remove or edit it.
14683 # config.status only pays attention to the cache file if you give it
14684 # the --recheck option to rerun configure.
14686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14688 # following values.
14692 # The following way of writing the cache mishandles newlines in values,
14693 # but we know of no workaround that is simple, portable, and efficient.
14694 # So, we kill variables containing newlines.
14695 # Ultrix sh set writes to stderr and can't be redirected directly,
14696 # and sets the high bit in the cache file unless we assign to the vars.
14698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14699 eval ac_val=\$$ac_var
14703 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: cache variable
$ac_var contains a newline
" >&5
14704 $as_echo "$as_me: WARNING
: cache variable
$ac_var contains a newline
" >&2;} ;;
14707 _ | IFS | as_nl) ;; #(
14708 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14709 *) { eval $ac_var=; unset $ac_var;} ;;
14715 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14716 *${as_nl}ac_space=\ *)
14717 # `set' does not quote correctly, so add quotes: double-quote
14718 # substitution turns \\\\ into \\, and sed turns \\ into \.
14721 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
14724 # `set' quotes correctly as required by POSIX, so do not add quotes.
14725 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
14734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14736 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14738 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14739 if test -w "$cache_file"; then
14740 test "x
$cache_file" != "x
/dev
/null
" &&
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache
$cache_file" >&5
14742 $as_echo "$as_me: updating cache
$cache_file" >&6;}
14743 cat confcache >$cache_file
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache
$cache_file" >&5
14746 $as_echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
14751 test "x
$prefix" = xNONE && prefix=$ac_default_prefix
14752 # Let make expand exec_prefix.
14753 test "x
$exec_prefix" = xNONE && exec_prefix='${prefix}'
14755 # Transform confdefs.h into DEFS.
14756 # Protect against shell expansion while executing Makefile rules.
14757 # Protect against Makefile macro expansion.
14759 # If the first sed substitution is executed (which looks for macros that
14760 # take arguments), then branch to the quote section. Otherwise,
14761 # look for a macro that doesn't take arguments.
14771 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
14773 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
14777 s/[ `~#$^&*(){}\\|;'\''"<>?
]/\\&/g
14790 DEFS=`sed -n "$ac_script" confdefs.h`
14795 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14796 # 1. Remove the extension, and $U if already installed.
14797 ac_script='s
/\
$U\.
/.
/;s
/\.o$
//;s
/\.obj$
//'
14798 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14799 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14800 # will be set to the directory where LIBOBJS objects are built.
14801 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14802 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo
'
14804 LIBOBJS=$ac_libobjs
14806 LTLIBOBJS=$ac_ltlibobjs
14810 : ${CONFIG_STATUS=./config.status}
14812 ac_clean_files_save=$ac_clean_files
14813 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14815 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14817 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14819 # Generated by $as_me.
14820 # Run this file to recreate the current configuration.
14821 # Compiler output produced by configure, useful for debugging
14822 # configure, is in config.log if it exists.
14825 ac_cs_recheck=false
14828 SHELL=\${CONFIG_SHELL-$SHELL}
14831 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14832 ## -------------------- ##
14833 ## M4sh Initialization. ##
14834 ## -------------------- ##
14836 # Be more Bourne compatible
14837 DUALCASE=1; export DUALCASE # for MKS sh
14838 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14841 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14842 # is contrary to our usage. Disable this feature.
14843 alias -g '${1+"$@"}'='"$@"'
14844 setopt NO_GLOB_SUBST
14846 case `(set -o) 2>/dev/null` in #(
14858 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14859 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14860 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo
14861 as_echo
=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14862 # Prefer a ksh shell builtin over an external printf program on Solaris,
14863 # but without wasting forks for bash or zsh.
14864 if test -z "$BASH_VERSION$ZSH_VERSION" \
14865 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14866 as_echo
='print -r --'
14867 as_echo_n
='print -rn --'
14868 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev
/null
; then
14869 as_echo
='printf %s\n'
14870 as_echo_n
='printf %s'
14872 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14873 as_echo_body
='eval /usr/ucb/echo -n "$1$as_nl"'
14874 as_echo_n
='/usr/ucb/echo -n'
14876 as_echo_body
='eval expr "X$1" : "X\\(.*\\)"'
14877 as_echo_n_body
='eval
14881 expr "X$arg" : "X\\(.*\\)$as_nl";
14882 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14884 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14886 export as_echo_n_body
14887 as_echo_n
='sh -c $as_echo_n_body as_echo'
14889 export as_echo_body
14890 as_echo
='sh -c $as_echo_body as_echo'
14893 # The user is always right.
14894 if test "${PATH_SEPARATOR+set}" != set; then
14896 (PATH
='/bin;/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 && {
14897 (PATH
='/bin:/bin'; FPATH
=$PATH; sh
-c :) >/dev
/null
2>&1 ||
14904 # We need space, tab and new line, in precisely that order. Quoting is
14905 # there to prevent editors from complaining about space-tab.
14906 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14907 # splitting by setting IFS to empty value.)
14910 # Find who we are. Look in the path if we contain no directory separator.
14912 *[\\/]* ) as_myself
=$0 ;;
14913 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14914 for as_dir
in $PATH
14917 test -z "$as_dir" && as_dir
=.
14918 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
14924 # We did not find ourselves, most probably we were run as `sh COMMAND'
14925 # in which case we are not to be found in the path.
14926 if test "x$as_myself" = x
; then
14929 if test ! -f "$as_myself"; then
14930 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14934 # Unset variables that we do not need and which cause bugs (e.g. in
14935 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14936 # suppresses any "Segmentation fault" message there. '((' could
14937 # trigger a bug in pdksh 5.2.14.
14938 for as_var
in BASH_ENV ENV MAIL MAILPATH
14939 do eval test x\
${$as_var+set} = xset \
14940 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14953 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14956 # as_fn_error ERROR [LINENO LOG_FD]
14957 # ---------------------------------
14958 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14959 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14960 # script with status $?, using 1 if that was 0.
14963 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14965 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14966 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14968 $as_echo "$as_me: error: $1" >&2
14969 as_fn_exit
$as_status
14973 # as_fn_set_status STATUS
14974 # -----------------------
14975 # Set $? to STATUS, without forking.
14976 as_fn_set_status
()
14979 } # as_fn_set_status
14981 # as_fn_exit STATUS
14982 # -----------------
14983 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14987 as_fn_set_status
$1
14993 # Portably unset VAR.
14996 { eval $1=; unset $1;}
14998 as_unset
=as_fn_unset
14999 # as_fn_append VAR VALUE
15000 # ----------------------
15001 # Append the text in VALUE to the end of the definition contained in VAR. Take
15002 # advantage of any shell optimizations that allow amortized linear growth over
15003 # repeated appends, instead of the typical quadratic growth present in naive
15005 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15006 eval 'as_fn_append ()
15017 # as_fn_arith ARG...
15018 # ------------------
15019 # Perform arithmetic evaluation on the ARGs, and store the result in the
15020 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15021 # must be portable across $(()) and expr.
15022 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15023 eval 'as_fn_arith ()
15030 as_val
=`expr "$@" || test $? -eq 1`
15035 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15036 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15042 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15043 as_basename
=basename
15048 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15054 as_me
=`$as_basename -- "$0" ||
15055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15056 X"$0" : 'X\(//\)$' \| \
15057 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15059 sed '/^.*\/\([^/][^/]*\)\/*$/{
15073 # Avoid depending upon Character Ranges.
15074 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15075 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15076 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15077 as_cr_digits
='0123456789'
15078 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15080 ECHO_C
= ECHO_N
= ECHO_T
=
15081 case `echo -n x` in #(((((
15083 case `echo 'xy\c'` in
15084 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15086 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15093 rm -f conf$$ conf$$.exe conf$$.
file
15094 if test -d conf$$.dir
; then
15095 rm -f conf$$.dir
/conf$$.
file
15098 mkdir conf$$.dir
2>/dev
/null
15100 if (echo >conf$$.
file) 2>/dev
/null
; then
15101 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15103 # ... but there are two gotchas:
15104 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15105 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15106 # In both cases, we have to default to `cp -p'.
15107 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15109 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15117 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15118 rmdir conf$$.dir
2>/dev
/null
15123 # Create "$as_dir" as a directory, including parents if necessary.
15128 -*) as_dir
=.
/$as_dir;;
15130 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15134 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15135 *) as_qdir
=$as_dir;;
15137 as_dirs
="'$as_qdir' $as_dirs"
15138 as_dir
=`$as_dirname -- "$as_dir" ||
15139 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15140 X"$as_dir" : 'X\(//\)[^/]' \| \
15141 X"$as_dir" : 'X\(//\)$' \| \
15142 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15143 $as_echo X"$as_dir" |
15144 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15148 /^X\(\/\/\)[^/].*/{
15161 test -d "$as_dir" && break
15163 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15164 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15168 if mkdir
-p .
2>/dev
/null
; then
15169 as_mkdir_p
='mkdir -p "$as_dir"'
15171 test -d .
/-p && rmdir .
/-p
15175 if test -x / >/dev
/null
2>&1; then
15176 as_test_x
='test -x'
15178 if ls -dL / >/dev
/null
2>&1; then
15185 if test -d "$1"; then
15191 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15192 ???[sx]*):;;*)false;;esac;fi
15196 as_executable_p
=$as_test_x
15198 # Sed expression to map a string onto a valid CPP name.
15199 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15201 # Sed expression to map a string onto a valid variable name.
15202 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15206 ## ----------------------------------- ##
15207 ## Main body of $CONFIG_STATUS script. ##
15208 ## ----------------------------------- ##
15210 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15212 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15213 # Save the log message, to keep $0 and so on meaningful, and to
15214 # report actual input values of CONFIG_FILES etc. instead of their
15215 # values after options handling.
15217 This file was extended by $as_me, which was
15218 generated by GNU Autoconf 2.64. Invocation command line was
15220 CONFIG_FILES = $CONFIG_FILES
15221 CONFIG_HEADERS = $CONFIG_HEADERS
15222 CONFIG_LINKS = $CONFIG_LINKS
15223 CONFIG_COMMANDS = $CONFIG_COMMANDS
15226 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15231 case $ac_config_files in *"
15232 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15238 # Files that config.status was made for.
15239 config_files="$ac_config_files"
15243 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15245 \`$as_me' instantiates files and other configuration actions
15246 from templates according to the current configuration. Unless the files
15247 and actions are specified as TAGs, all are instantiated by default.
15249 Usage: $0 [OPTION]... [TAG]...
15251 -h, --help print this help, then exit
15252 -V, --version print version number and configuration settings, then exit
15253 -q, --quiet, --silent
15254 do not print progress messages
15255 -d, --debug don't remove temporary files
15256 --recheck update $as_me by reconfiguring in the same conditions
15257 --file=FILE[:TEMPLATE]
15258 instantiate the configuration file FILE
15260 Configuration files:
15263 Report bugs to the package provider."
15266 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15269 configured by $0, generated by GNU Autoconf 2.64,
15270 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
15272 Copyright (C) 2009 Free Software Foundation, Inc.
15273 This config.status script is free software; the Free Software Foundation
15274 gives unlimited permission to copy, distribute and modify it."
15280 test -n "\$AWK" || AWK=awk
15283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15284 # The default lists apply if the user does not specify any file.
15290 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15291 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15302 # Handling of the options.
15303 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15305 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15306 $as_echo "$ac_cs_version"; exit ;;
15307 --debug |
--debu |
--deb |
--de |
--d |
-d )
15309 --file |
--fil |
--fi |
--f )
15312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15314 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15315 ac_need_defaults
=false
;;
15316 --he |
--h |
--help |
--hel |
-h )
15317 $as_echo "$ac_cs_usage"; exit ;;
15318 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15319 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15322 # This is an error.
15323 -*) as_fn_error
"unrecognized option: \`$1'
15324 Try \`$0 --help' for more information." ;;
15326 *) as_fn_append ac_config_targets
" $1"
15327 ac_need_defaults
=false
;;
15333 ac_configure_extra_args
=
15335 if $ac_cs_silent; then
15337 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15342 if \$ac_cs_recheck; then
15343 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15345 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15346 CONFIG_SHELL='$SHELL'
15347 export CONFIG_SHELL
15352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15357 ## Running $as_me. ##
15363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15367 extrasub_build="$extrasub_build"
15368 extrasub_host="$extrasub_host"
15369 extrasub_target="$extrasub_target"
15373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15375 # Handling of arguments.
15376 for ac_config_target
in $ac_config_targets
15378 case $ac_config_target in
15379 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15381 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15386 # If the user did not use the arguments to specify the items to instantiate,
15387 # then the envvar interface is used. Set only those that are not.
15388 # We use the long form for the default assignment because of an extremely
15389 # bizarre bug on SunOS 4.1.3.
15390 if $ac_need_defaults; then
15391 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15394 # Have a temporary directory for convenience. Make it in the build tree
15395 # simply because there is no reason against having it here, and in addition,
15396 # creating and moving files from /tmp can sometimes cause problems.
15397 # Hook for its removal unless debugging.
15398 # Note that there is a small window in which the directory will not be cleaned:
15399 # after its creation but before its name has been assigned to `$tmp'.
15403 trap 'exit_status=$?
15404 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15406 trap 'as_fn_exit 1' 1 2 13 15
15408 # Create a (secure) tmp directory for tmp files.
15411 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15412 test -n "$tmp" && test -d "$tmp"
15415 tmp
=.
/conf$$
-$RANDOM
15416 (umask 077 && mkdir
"$tmp")
15417 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15419 # Set up the scripts for CONFIG_FILES section.
15420 # No need to generate them if there are no CONFIG_FILES.
15421 # This happens for instance with `./config.status config.h'.
15422 if test -n "$CONFIG_FILES"; then
15424 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15425 ac_cs_awk_getline
=:
15426 ac_cs_awk_pipe_init
=
15427 ac_cs_awk_read_file
='
15428 while ((getline aline < (F[key])) > 0)
15431 ac_cs_awk_pipe_fini
=
15433 ac_cs_awk_getline
=false
15434 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15435 ac_cs_awk_read_file
='
15437 print "cat " F[key] " &&"
15438 '$ac_cs_awk_pipe_init
15439 # The final `:' finishes the AND list.
15440 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15442 ac_cr
=`echo X | tr X '\015'`
15443 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15444 # But we know of no other shell where ac_cr would be empty at this
15445 # point, so we can use a bashism as a fallback.
15446 if test "x$ac_cr" = x
; then
15447 eval ac_cr
=\$
\'\\r
\'
15449 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15450 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15453 ac_cs_awk_cr
=$ac_cr
15456 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15459 # Create commands to substitute file output variables.
15461 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15462 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15463 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15466 } >conf$
$files.sh
&&
15467 . .
/conf$
$files.sh ||
15468 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15469 rm -f conf$
$files.sh
15472 echo "cat >conf$$subs.awk <<_ACEOF" &&
15473 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15475 } >conf$$subs.sh ||
15476 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15477 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15479 for ac_last_try in false false false false false :; do
15480 . ./conf$$subs.sh ||
15481 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15483 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15484 if test $ac_delim_n = $ac_delim_num; then
15486 elif $ac_last_try; then
15487 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15489 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15492 rm -f conf$$subs.sh
15494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15495 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15499 s/^/S["/; s
/!.
*/"]=/
15509 s/\(.\{148\}\).*/\1/
15511 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15516 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15523 s/\(.\{148\}\).*/\1/
15525 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15529 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15534 ' <conf$$subs.awk | sed '
15539 ' >>$CONFIG_STATUS || ac_write_fail=1
15540 rm -f conf$$subs.awk
15541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15543 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15544 for (key in S) S_is_set[key] = 1
15546 \$ac_cs_awk_pipe_init
15550 nfields = split(line, field, "@
")
15552 len = length(field[1])
15553 for (i = 2; i < nfields; i++) {
15555 keylen = length(key)
15556 if (S_is_set[key]) {
15558 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15559 len += length(value) + length(field[++i])
15564 if (nfields == 3 && !substed) {
15566 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15567 \$ac_cs_awk_read_file
15573 \$ac_cs_awk_pipe_fini
15576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15577 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15578 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15581 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15582 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15585 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15586 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15587 # trailing colons and then remove the whole line if VPATH becomes empty
15588 # (actually we leave an empty line to preserve line numbers).
15589 if test "x
$srcdir" = x.; then
15590 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15591 s/:*\$(srcdir):*/:/
15592 s/:*\${srcdir}:*/:/
15594 s/^\([^=]*=[ ]*\):*/\1/
15600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15601 fi # test -n "$CONFIG_FILES"
15604 eval set X " :F
$CONFIG_FILES "
15609 :[FHLC]) ac_mode=$ac_tag; continue;;
15611 case $ac_mode$ac_tag in
15613 :L* | :C*:*) as_fn_error "invalid tag \
`$ac_tag'" "$LINENO" 5;;
15614 :[FH]-) ac_tag=-:-;;
15615 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15632 -) ac_f="$tmp/stdin";;
15633 *) # Look for the file first in the build tree, then in the source tree
15634 # (if the path is not absolute). The absolute path cannot be DOS-style,
15635 # because $ac_f cannot contain `:'.
15639 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15641 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15643 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s
/'/'\\\\\\\\''/g
"`;; esac
15644 as_fn_append ac_file_inputs " '$ac_f'"
15647 # Let's still pretend it is `configure' which instantiates (i.e., don't
15648 # use $as_me), people would be surprised to read:
15649 # /* config.h. Generated by config.status. */
15650 configure_input='Generated from '`
15651 $as_echo "$
*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15653 if test x"$ac_file" != x-; then
15654 configure_input="$ac_file.
$configure_input"
15655 { $as_echo "$as_me:${as_lineno-$LINENO}: creating
$ac_file" >&5
15656 $as_echo "$as_me: creating
$ac_file" >&6;}
15658 # Neutralize special characters interpreted by sed in replacement strings.
15659 case $configure_input in #(
15660 *\&* | *\|* | *\\* )
15661 ac_sed_conf_input=`$as_echo "$configure_input" |
15662 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15663 *) ac_sed_conf_input=$configure_input;;
15667 *:-:* | *:-) cat >"$tmp/stdin
" \
15668 || as_fn_error "could not create
$ac_file" "$LINENO" 5 ;;
15673 ac_dir=`$as_dirname -- "$ac_file" ||
15674 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15675 X"$ac_file" : 'X\(//\)[^/]' \| \
15676 X"$ac_file" : 'X\(//\)$' \| \
15677 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15678 $as_echo X"$ac_file" |
15679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15683 /^X\(\/\/\)[^/].*/{
15696 as_dir="$ac_dir"; as_fn_mkdir_p
15700 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15702 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15703 # A "..
" for each directory in $ac_dir_suffix.
15704 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15705 case $ac_top_builddir_sub in
15706 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15707 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15710 ac_abs_top_builddir=$ac_pwd
15711 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15712 # for backward compatibility:
15713 ac_top_builddir=$ac_top_build_prefix
15716 .) # We are building in place.
15718 ac_top_srcdir=$ac_top_builddir_sub
15719 ac_abs_top_srcdir=$ac_pwd ;;
15720 [\\/]* | ?:[\\/]* ) # Absolute name.
15721 ac_srcdir=$srcdir$ac_dir_suffix;
15722 ac_top_srcdir=$srcdir
15723 ac_abs_top_srcdir=$srcdir ;;
15724 *) # Relative name.
15725 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15726 ac_top_srcdir=$ac_top_build_prefix$srcdir
15727 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15729 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15739 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15740 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15744 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15745 # If the template does not know about datarootdir, expand it.
15746 # FIXME: This hack should be removed a few years after 2.60.
15747 ac_datarootdir_hack=; ac_datarootdir_seen=
15758 case `eval "sed -n \"\
$ac_sed_dataroot\" $ac_file_inputs"` in
15759 *datarootdir*) ac_datarootdir_seen=yes;;
15760 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&5
15762 $as_echo "$as_me: WARNING
: $ac_file_inputs seems to ignore the
--datarootdir setting
" >&2;}
15764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15765 ac_datarootdir_hack='
15766 s&@datadir@&$datadir&g
15767 s&@docdir@&$docdir&g
15768 s&@infodir@&$infodir&g
15769 s&@localedir@&$localedir&g
15770 s&@mandir@&$mandir&g
15771 s&\\\${datarootdir}&$datarootdir&g' ;;
15775 # Neutralize VPATH when `$srcdir' = `.'.
15776 # Shell code in configure.ac might set extrasub.
15777 # FIXME: do we really want to maintain this feature?
15778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15779 ac_sed_extra="$ac_vpsub
15782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15784 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15785 s|@configure_input@|
$ac_sed_conf_input|
;t t
15786 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15787 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15788 s
&@srcdir@
&$ac_srcdir&;t t
15789 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15790 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15791 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15792 s
&@builddir@
&$ac_builddir&;t t
15793 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15794 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15795 s
&@INSTALL@
&$ac_INSTALL&;t t
15796 $ac_datarootdir_hack
15798 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15799 if $ac_cs_awk_getline; then
15800 $AWK -f "$tmp/subs.
awk"
15802 $AWK -f "$tmp/subs.
awk" | $SHELL
15804 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15806 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15807 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15808 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15810 which seems to be undefined. Please make sure it is defined." >&5
15811 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15812 which seems to be undefined. Please make sure it is defined." >&2;}
15816 -) cat "$tmp/out" && rm -f "$tmp/out";;
15817 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15819 || as_fn_error "could not create $ac_file" "$LINENO" 5
15827 case $ac_file$ac_mode in
15828 "Makefile":F) sed "$extrasub_build" Makefile |
15829 sed "$extrasub_host" |
15830 sed "$extrasub_target" > mf$$
15831 mv -f mf$$ Makefile ;;
15839 ac_clean_files=$ac_clean_files_save
15841 test $ac_write_fail = 0 ||
15842 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
15845 # configure is writing to config.log, and then calls config.status.
15846 # config.status does its own redirection, appending to config.log.
15847 # Unfortunately, on DOS this fails, as config.log is still kept open
15848 # by configure, so config.status won't be able to
write to it
; its
15849 # output is simply discarded. So we exec the FD to /dev/null,
15850 # effectively closing config.log, so it can be properly (re)opened and
15851 # appended to by config.status. When coming back to configure, we
15852 # need to make the FD available again.
15853 if test "$no_create" != yes; then
15855 ac_config_status_args
=
15856 test "$silent" = yes &&
15857 ac_config_status_args
="$ac_config_status_args --quiet"
15859 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
15861 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15862 # would make configure fail if this is the last instruction.
15863 $ac_cs_success || as_fn_exit $?
15865 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15867 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}